Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

How can i obtain the correct spacing of the two writings from the line? if you note the upper write is more far from the line...

\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}
share|improve this question
add comment

1 Answer

up vote 9 down vote accepted

You can use the optional argument of \rule, so that it is drawn above the baselineskip:

\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}

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.