我正在为会议论文制作一个模板。这是一篇两栏文章,第一栏顶部有版权声明,下方紧接着一条水平线。这是一个最小的工作示例:
\documentclass[letterpaper,twocolumn,twoside,10pt]{article}
\title{Some sort of title}
\author{My name}
\date{}
\begin{document}
\maketitle
{\scriptsize
Copyright 2018, held by some organization with a long name that will
invariably break over a single line.\hfill\break
This paper was prepared for presentation at the foo
59\textsuperscript{th} Annual Bar Baz Symposium held in London, UK, June
20-26, 2018.\par}\rule{\linewidth}{0.5pt}
\section{Abstract}
More text that says something useful.
\end{document}
\par
如果在较小的脚本块中没有,版权块中的行间距就会太大。如果使用\par
,版权文本和规则下方就会多出一行间距。
据推测我应该能够覆盖版权块中段落后的间距,但我不确定如何做到这一点。
答案1
\documentclass[letterpaper,twocolumn,twoside,10pt]{article}
\title{Some sort of title}
\author{My name}
\date{}
\usepackage{calc}
\begin{document}
\maketitle
{\scriptsize
Copyright 2018, held by some organization with a long name that will
invariably break over a single line.\hfill\break
This paper was prepared for presentation at the foo
59\textsuperscript{th} Annual Bar Baz Symposium held in London, UK, June
20-26, 2018.\par}\vspace*{-.75\baselineskip}\noindent\rule{\linewidth}{0.5pt}
\section{Abstract}
More text that says something useful.
\end{document}
答案2
和tabularx
:
\documentclass[letterpaper,twocolumn,twoside,10pt]{article}
\usepackage{tabularx, booktabs}
\title{Some sort of title}
\author{My name}
\date{}
\begin{document}
\maketitle
\noindent \begin{tabularx}{\linewidth}{@{}>{\scriptsize\arraybackslash}X@{}}%\scriptsize
Copyright 2018, held by some organization with a long name that will
invariably break over a single line. \\%%\hfill\break
This paper was prepared for presentation at the foo
59\textsuperscript{th} Annual Bar Baz Symposium held in London, UK, June
20-26, 2018.\\
\midrule
\end{tabularx}%
\section{Abstract}
More text that says something useful.
\end{document}