我无法定义垂直线的宽度。我想让图片中的这两条线连接起来:
\documentclass{article}
\begin{document}
\begin{tabular}{r|p{11cm}}
\ {Feb, 2014 - } & Master Thesis Student \\
\ {Present} & \emph{INEB, Porto}\\
& \footnotesize{"Exploring degradable Gatg Dendrimers as Nucleic Acid Vectors Targeted to the Nervous System"}\\
\multicolumn{2}{c}{} \\
\vspace{0.5em}
%------------------------------------------------
\ {Feb, 2013 - } & Intern \\
\ {Jul, 2013} & \emph{Stockholm University, Sweden}\\
& \footnotesize{Developed bachelor thesis at the Center for Biomembrane Research during an Erasmus Programme. "Production of secretory proteins in the periplasm of \textit{E. Coli}"}\\
\multicolumn{2}{c}{} \\
...
\end{tabular}
\end{document}
答案1
\vspace
在表格单元格内添加后当前行。使用可选参数来\\
增加行之间的空间:
\documentclass{article}
\begin{document}
\begin{tabular}{r|p{9cm}}
Feb, 2014 -- & Master Thesis Student \\
Present & \emph{INEB, Porto}\\
& \footnotesize
``Exploring degradable Gatg Dendrimers as Nucleic Acid Vectors Targeted
to the Nervous System''\\
\multicolumn{2}{c}{} \\[.5em]
Feb, 2013 -- & Intern \\
Jul, 2013 & \emph{Stockholm University, Sweden}\\
& \footnotesize
Developed bachelor thesis at the Center for Biomembrane Research during
an Erasmus Programme. ``Production of secretory proteins in the periplasm
of \textit{E. Coli}''\\
\multicolumn{2}{c}{} \\
\end{tabular}
\end{document}
当前版本使用虚拟空间\multicolumn
来获取没有垂直线的空间。可以通过以下方式将其替换为“纯”空间\noalign
:
... & \emph{INEB, Porto}\\
\noalign{\vspace{1.7em}}
Feb, 2013 -- & ...
如果使用了,则此空格将在分页符处被删除longtable
。例如:
\documentclass{article}
% Add frame to show the page layout and decrease height to get a page break
\usepackage[pass,showframe]{geometry}
\setlength{\textheight}{.1\textheight}
\usepackage{longtable}
\begin{document}
\begin{longtable}{r|p{9cm}}
Feb, 2014 -- & Master Thesis Student \\* % star form: no page break
Present & \emph{INEB, Porto}\\*
& \footnotesize
``Exploring degradable Gatg Dendrimers as Nucleic Acid Vectors Targeted
to the Nervous System''\\
\noalign{\vspace{1.7em}}
Feb, 2013 -- & Intern \\*
Jul, 2013 & \emph{Stockholm University, Sweden}\\*
& \footnotesize
Developed bachelor thesis at the Center for Biomembrane Research during
an Erasmus Programme. ``Production of secretory proteins in the periplasm
of \textit{E. Coli}''
\end{longtable}
\end{document}
进一步说明:
\footnotesize
是一个不带参数的字体大小命令。如果要限制其范围,可以使用本地组:{\footnotesize Smaller font} Normal font
LaTeX 中的表格单元格隐式地将内容放入一个组中,因此不需要显式的组括号。
我已经修复了引号:在英语中
``
可以''
使用。TeX 将它们转换为正确的引号。通常,短划线
--
用于表示与小连字符相对的范围-
。我已删除不清楚的
\ {...}
。