尝试在多列环境中在第 4 列和第 5 列之间添加一条垂直线。
\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{multicol}
\usepackage{lipsum}
%opening
\begin{document}
\begin{multicols}{5}
\lipsum
%... line_beween_forth_and_fith_column
\end{multicols}
\end{document}
答案1
\documentclass[a4paper,10pt]{article}
\usepackage[utf8]{inputenc}
\usepackage{multicol}
\usepackage{lipsum}
%opening
\makeatletter
\setlength\columnseprule{.5pt}
\def\columnseprulecolor\vrule\@width{%
\ifnum\count@=\numexpr\mult@rightbox+8\relax
\vrule\@width
\else
\kern
\fi
}
\makeatother
\begin{document}
\begin{multicols}{5}
\lipsum
%... line_beween_forth_and_fith_column
\end{multicols}
\end{document}