我如何才能获得两条线之间正确的间距?如果您注意到上面的文字离线更远……
\documentclass[a4paper]{memoir}
\RequirePackage[babel=true,tracking=true]{microtype}
\RequirePackage{fixltx2e}
\newcommand{\ThinRule}{\rule{0.5\textwidth}{0.4pt}}
% Tracking (font spacing)
\newcommand{\textlslarge}[1]{\textls[100]{#1}}
\begin{document}
\begin{center}
\begin{minipage}{\textwidth}
\centering
\fontsize{22pt}{24.85pt}\selectfont
\vfill
\textsc{\textlslarge{Di \\ Isaac Newton}} \\
% \vspace{-0.4cm}
\ThinRule \\
\textsc{\textlslarge{Londra, MMXII}}
\end{minipage}
\end{center}
\end{document}
答案1
您可以使用可选参数\rule
,以便它被绘制在基线跳跃之上:
\documentclass[a4paper]{memoir}
\RequirePackage[babel=true,tracking=true]{microtype}
\RequirePackage{fixltx2e}
\newcommand{\ThinRule}{\rule[0.5ex]{0.5\textwidth}{0.4pt}}
% Tracking (font spacing)
\newcommand{\textlslarge}[1]{\textls[100]{#1}}
\begin{document}
\begin{center}
\begin{minipage}{\textwidth}
\centering
\fontsize{22pt}{24.85pt}\selectfont
\textsc{\textlslarge{Di \\ Isaac Newton}} \\
\ThinRule \\
\textsc{\textlslarge{Londra, MMXII}}
\end{minipage}
\end{center}
\end{document}