我是 LaTeX 的初学者,正在使用 TeXworks。如果有人能告诉我下面的代码有什么问题,那将非常有帮助。
\textsc{
{\large Report submitted in the partial fullfilment of dual degree in\\}
{\bfseries Agricultural and Food Engineering\\}
\ with specialization in\\
{\bfseries {Agricultural Systems and Management}
}
答案1
正如 Heiko Oberdiek 在他的评论中所说,您的花括号不平衡。除此之外,您还有两次不必要的操作\bfseries
,并且换行命令最好放在分组文本之外(使用 ){}
。因此您的文本可以简化为:
\textsc{
{\large Report submitted in the partial fulfilment of dual degree in} \\
{\bfseries Agricultural and Food Engineering\\
with specialization in\\
Agricultural Systems and Management}
}
编辑:
Barbara Beeton 在他的评论中警告我,这两个\bfseries
是故意的。我很抱歉我读问题太肤浅了。考虑到这一点,原帖可以如下:
\textsc{
{\large Report submitted in the partial fulfillment of dual degree in} \\
\textbf{Agricultural and Food Engineering}\\
with specialization in\\
\textbf{Agricultural Systems and Management}
}