我有以下编写学术简历的脚本:
\documentclass[10pt]{article}
\usepackage[margin=3cm]{geometry}
\usepackage{array, xcolor}
\usepackage{lipsum}
\usepackage{longtable}
\definecolor{lightgray}{gray}{0.8}
\newcolumntype{L}{>{\raggedleft}p{0.14\textwidth}}
\newcolumntype{R}{p{0.8\textwidth}}
\newcommand\VRule{\color{lightgray}\vrule width 0.5pt}
\title{\bfseries\Huge Name}
\date{}
\begin{document}
\maketitle
%
%
\section*{Personal Details}
\begin{tabular}{L!{\VRule}R}
\hline
Address: & blah blah blah\\
& blah\\
& blah\vspace{5pt}\\
Phone: & +44 123 245676\vspace{5pt}\\
Email: & emailAdreSS.com
\end{tabular}
%
%
\section*{Education}
\begin{tabular}{L!{\VRule}R}
\hline\\
2011--present & PhD, Somewhere\vspace{5pt}\\
2010--2011 & MSc, Somewhere else\vspace{5pt}\\
2007--2010 & BSc, Some other place
\end{tabular}
%
%
\section*{Research Experience}
%
%
\section*{Scholarships and Awards}
\begin{tabular}{L!{\VRule}R}
\hline\\
Sept. 2007 & \\
Sept. 2010 & \\
Oct. 2011 &
\end{tabular}
%
%
\section*{Additional experience}
\begin{tabular}{L!{\VRule}R}
\hline\\
&\textbullet Driving License, Full Clean\\
\end{tabular}
%
%
\section*{Referee}
\end{document}
我遇到的唯一问题是如何撰写“研究经历”部分。为此,我需要在左栏中填写年份(即与其他部分相同),但我希望在右侧添加一段文字,以便描述所执行的任务。最好的做法是什么?请记住,该部分可能会延伸到第二页。
提前致谢。
答案1
只需替换tabular
为longtable
\section*{Scholarships and Awards}
\begin{longtable}{L!{\VRule}R}
\hline\\
Sept. 2007 & \lipsum[1] \\
Sept. 2010 & \lipsum[2] \\
Oct. 2011 & \lipsum[3]
\end{longtable}
完整的 MWE:
\documentclass[10pt]{article}
\usepackage[margin=3cm]{geometry}
\usepackage{array, xcolor}
\usepackage{lipsum}
\usepackage{longtable}
\definecolor{lightgray}{gray}{0.8}
\newcolumntype{L}{>{\raggedleft}p{0.14\textwidth}}
\newcolumntype{R}{p{0.8\textwidth}}
\newcommand\VRule{\color{lightgray}\vrule width 0.5pt}
\title{\bfseries\Huge Name}
\date{}
\begin{document}
\maketitle
%
%
\section*{Personal Details}
\begin{tabular}{L!{\VRule}R}
\hline
Address: & blah blah blah\\
& blah\\
& blah\vspace{5pt}\\
Phone: & +44 123 245676\vspace{5pt}\\
Email: & emailAdreSS.com
\end{tabular}
%
%
\section*{Education}
\begin{tabular}{L!{\VRule}R}
\hline\\
2011--present & PhD, Somewhere\vspace{5pt}\\
2010--2011 & MSc, Somewhere else\vspace{5pt}\\
2007--2010 & BSc, Some other place
\end{tabular}
%
%
\section*{Research Experience}
%
%
\section*{Scholarships and Awards}
\begin{longtable}{L!{\VRule}R}
\hline\\
Sept. 2007 & \lipsum[1] \\
Sept. 2010 & \lipsum[2] \\
Oct. 2011 & \lipsum[3]
\end{longtable}
%
%
\section*{Additional experience}
\begin{tabular}{L!{\VRule}R}
\hline\\
&\textbullet Driving License, Full Clean\\
\end{tabular}
%
%
\section*{Referee}
\end{document}