这相当于这个问题,但我使用的是 Plain Tex 而不是 LaTeX。例如,我想仅\exper{}
在以下块中的行之前允许分页符,假设我有多个这样的块。
\exper{Stanford Computer Science, Operating Systems}{January 2016 -- March 2016}
\jtitle{Course Assistant}
\sub{
Held office hours to answer student questions
}
\sub{
Graded assignments for coding style and correctness.
}
以上所有命令都是我为简历定义的简单格式化命令。
答案1
如果将语法更改为
\exper{Stanford Computer Science, Operating Systems}{January 2016 -- March 2016}{%
\jtitle{Course Assistant}
\sub{
Held office hours to answer student questions
}
\sub{
Graded assignments for coding style and correctness.
}
}
然后你可以安排将#4
其\exper
放置在a中\vbox{...#4...}
并且它不会破裂。