Page Layout\hrule spacing

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
casperyc
Posts: 50
Joined: Thu Oct 15, 2009 11:23 pm

\hrule spacing

Post by casperyc »

Code: Select all

\hrule
SEMESTER 1 EXAMINATION 2009/10\\[2ex]
ACTUARIAL MATHEMATICS I\\[2ex]
Duration: 180 minutes\\
\hrule
Bla Bla 
spacing before the first \hrul is too small
and
after the 2nd hrule is to small as well

How do I make them 'nicer'?

Thanks

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

\hrule spacing

Post by gmedina »

Edit: I initially misunderstood your question. You can produce a vertical skip by using a \vspace command:

Code: Select all

\documentclass{article}

\begin{document}

\hrule\vspace{5mm}
\noindent SEMESTER 1 EXAMINATION 2009/10\\[2ex]
ACTUARIAL MATHEMATICS I\\[2ex]
Duration: 180 minutes\\
\hrule\vspace{5mm}
Bla Bla 

\end{document}
Of course, instead of 5mm you can use any valid length that suits your needs.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Post Reply