答案1
您可以minipage
根据要求使用来生成分离:
\documentclass{article}
\usepackage[T1]{fontenc}
\begin{document}
\begin{minipage}{0.20\textwidth} %left column
Tech
\end{minipage}
%
\hfill\vline\hfill
%
\begin{minipage}{0.70\textwidth} %right column
lot more text
multi line
wonderful
\end{minipage}
\end{document}
最好的,弗兰克
答案2
可能还有其他一些标准解决方案,但快速破解方法是使用规则命令。试试这个,它可能会起作用,尽管它不是最优雅的解决方案。尝试使用宽度和高度参数。
\rule[depth]{width}{height}
干杯
答案3
看起来您正在使用res
类。使用mdframed
。在序言中输入以下内容:
\usepackage{mdframed}
\newmdenv[
topline=false,
bottomline=false,
rightline=false,
linewidth=1pt,
innerleftmargin=5pt,
leftmargin=0pt,
rightmargin=0pt,
innerrightmargin=0pt,
]{separator}
然后像这样使用:
\section*{Education}
\begin{separator}
PhD in Typesetting, LaTeX University, 2016.
\end{separator}
編輯:MWE
\documentclass[margin, 10pt,line]{res}
\setlength\parskip{5pt}
\usepackage[]{mdframed}
\newmdenv[
topline=false,
bottomline=false,
rightline=false,
linewidth=2pt,
innerleftmargin=5pt,
leftmargin=0pt,
rightmargin=0pt,
innerbottommargin=0pt
]{separator}
\begin{document}
\name{Dude Lebowski}
\begin{resume}
\section{Education}
\begin{separator}
PhD in Typesetting, LaTeX University, 2016.
MA, Abiding, Greater Los Angeles, 2011.
BA, Bowling, Los Angeles Alleys, 2009.
\end{separator}
\section{Interests}
\begin{separator}
Bowling
Abiding
White Russians
More bowling
Capers and heists
Rugs that tie the room together
\end{separator}
\end{resume}
\end{document}