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.

Is there a way to set a constant base line position? For example, to the baseline of the first line under any circumstances (even if the lines bump each other) started with 1 cm from the top of the page, the second - from 2cm and so on.

share|improve this question
add comment

2 Answers

up vote 5 down vote accepted
\documentclass{article}
\usepackage[a4paper,top=0cm,bottom=.7cm]{geometry}
\setlength{\topskip}{1cm}
\setlength{\lineskiplimit}{-\maxdimen}

\def\bigfrac{\frac{\;\displaystyle\frac{1}{2\mathstrut}\;}
  {\;\displaystyle\frac{\mathstrut3}{4}\;}}

\def\bigroot{\sqrt{\sqrt{\sqrt{\sqrt{\bigfrac}}}}}

\usepackage{kantlipsum}

\begin{document}
\setlength{\baselineskip}{1cm}

\kant*[1] $\bigfrac$ \kant*[2] $\bigroot$ \kant[3-4]
\end{document}

The result is too ugly to be shown. :)

share|improve this answer
add comment

Just set \lineskiplimit to -\maxdimen, or -10000pt for example.

\documentclass{article}
\usepackage{lipsum}
\begin{document}

\fontsize{18}{12}\selectfont
\lineskiplimit-\maxdimen
\lipsum

\end{document}
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.