[texhax] How to put space characters at the beginning of a line?

William Adams will.adams at frycomm.com
Tue Apr 27 14:05:41 CEST 2010


On Apr 27, 2010, at 7:07 AM, José Romildo Malaquias wrote:

> Note that, when this document is compiled, the letter 'S' in the last
> line aligns to the letter 'F' in the previous line. How can I get this
> 'S' aligned to the 'r' front the previous line?

Put something before the spaces which won't be discarded such as a strut:

  \documentclass[a4paper]{article}

  \begin{document}

  \ttfamily\frenchspacing\noindent
  First~line\newline
  \strut~~Second~line

  \end{document}

William

-- 
William Adams
senior graphic designer
Fry Communications
Sphinx of black quartz, judge my vow.




More information about the texhax mailing list