I have a to typeset the article such that, the output should be printed on the fixed marks that are 1.36 cms apart.

In other words, printing sheet has marked lines which are 1.36 cms apart. I have to type with font 11 or 12 whcih fits into these marked lines.enter image description here Also, how can decide the maximum font size that i can fit between any two fixed lines.

2 Answers 2


Rather than use \large and friends, you want to set the font size and baseline skip "by hand"


The first size is the font size, you will just need to choose that by eye, depending on which font you are using. The second is baselineskip.

You also then want to set \parskip to a multiple of \baselineskip so it does not push you off grid at a new paragraph. That is, in your preamble go something like

 \setlength{\parskip}{0\myline}% this puts no vertical space between paragraphs
 %\setlength{\parskip}{1\myline}% uncomment this if you want exactly one blank line

If you just have text and paragraph breaks, that should be enough. If you also have (say) itemized lists you will need to similarly set spaces such as \itemsep to be a multiple of \myline so that the itemized points still end up between your lines.

  • If i use the command, its fine for the first line. What i should do for second line? Can you elaborate. I am not an expert in TeX.
    – Anil
    Feb 29, 2012 at 17:07
  • answer expanded with code fragment as requested Feb 29, 2012 at 17:16

To see what is happening use the following MWE


\vrule height1.36cm \hbox{\HUGE Test a line of texg}
\vrule height1.36cm \hbox to 1.36cm{\Huge Test a line of texg}
\vrule height1.36cm \hbox to 1.36cm{\huge Test a line of texg}


If a 0.4pt accuracy is important to you, adjust vrule by changing the lines to:

\vrule height\dimexpr1.36cm-0.4pt \hbox to 1.36cm{\HUGE Test a line of texg}

enter image description here

You can select a reasonable size after the test, or simply use:


(try and keep a ratio of 1.2-1.3).

  • You probably want to reduce the height of the vrule by 0.4pt to take account of the width of the hrule (also specifying the width of the hbox just makes the boxes over full, so I think just \hbox{... would work as well. Feb 29, 2012 at 10:32
  • @DavidCarlisle -- point taken on hbox typed in error. I did not reduce the 0.4pt in order not to over complicate the example. What I wanted to say visualize a bit, give it a try, select one of the standard sizes or just adjust the size with fontsize, but I think you said it better:) Feb 29, 2012 at 10:46
  • @YiannisLazarides, How do you remove the vertical line?
    – Anil
    Feb 29, 2012 at 17:02
  • @Anil remove the \vrule height1.36cm. Feb 29, 2012 at 17:03

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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