如何在Latex中的课堂文章中添加字幕?
我正在用Latex写报告,我的文档类必须是article。我想在我的标题下添加一些额外的文本,但我找不到任何与副标题命令对应的内容。有人有什么建议吗如何在Latex中的课堂文章中添加字幕?,latex,subtitle,article,document-class,Latex,Subtitle,Article,Document Class,我正在用Latex写报告,我的文档类必须是article。我想在我的标题下添加一些额外的文本,但我找不到任何与副标题命令对应的内容。有人有什么建议吗 \documentclass[11pt,a4paper]{article} \title {Title} \author{Name} 希望我能找到一个简单快捷的解决方案: \documentclass[11pt,a4paper]{article} \标题{title\\[1ex]\大字幕} \作者{Name} \开始{document} \mak
\documentclass[11pt,a4paper]{article}
\title {Title}
\author{Name}
希望我能找到一个简单快捷的解决方案:
\documentclass[11pt,a4paper]{article}
\标题{title\\[1ex]\大字幕}
\作者{Name}
\开始{document}
\maketitle
文本。
\结束{document}
希望我能找到一个简单快捷的解决方案:
\documentclass[11pt,a4paper]{article}
\标题{title\\[1ex]\大字幕}
\作者{Name}
\开始{document}
\maketitle
文本。
\结束{document}
请制作一个可编译的请制作一个可编译的如果与hyperref结合使用,这会弄乱pdf元数据,如果没有段落,行距将是错误的。@samcarter_is_at_topanswers.xyz谢谢。顺便说一句,对你的[latex]银色徽章有很多赞美,这里那里有很多贡献和帮助,这很好:)如果与hyperref结合使用,这会弄乱pdf元数据,如果没有段落,行距将是错误的。@samcarter_is_at_topanswers.xyz谢谢。顺便说一句,对你的[乳胶]银质徽章的许多赞美,这里那里的许多贡献和帮助,太好了:)
\documentclass[11pt,a4paper]{article}
\title {Title}
\author{Name}
\makeatletter
\def\@maketitle{%
\newpage
\null
\vskip 2em%
\begin{center}%
\let \footnote \thanks
{\LARGE \@title \par}%
\vskip 1em%
{\Large Whatever Subtitle you want\par}%
\vskip 1.5em%
{\large
\lineskip .5em%
\begin{tabular}[t]{c}%
\@author
\end{tabular}\par}%
\vskip 1em%
{\large \@date}%
\end{center}%
\par
\vskip 1.5em}
\makeatother
\begin{document}
\maketitle
test
\end{document}