Page Layout\Hrule

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
tdcpina
Posts: 39
Joined: Wed Apr 15, 2009 4:22 pm

\Hrule

Post by tdcpina »

Hi guys,

I'm trying to make a multiple Horizontal Rule, with one of the rules "fatter" than the other.

Code: Select all

\documentclass[12pt,a4paper]{report}

\usepackage{graphicx}		% to insert PostScript figures	
\usepackage[strict]{changepage}


\setlength\parskip{0cm}

\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}
\newcommand{\HRulegrossa}{\rule{\linewidth}{1.2mm}}

\begin{document}

\begin{titlepage}

\begin{center}

\HRulegrossa \\
\HRule \\[0.3cm]

{\huge \bfseries Lager brewing techniques}\\[0.4cm]

\HRule \\[1.5cm]

\end{center}

\end{titlepage}

\end{document}
My target is reducing the gap between the two side of the rule (two rules).

Thanks a lot in advance,
Tiago

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Stefan Kottwitz
Site Admin
Posts: 10290
Joined: Mon Mar 10, 2008 9:44 pm

\Hrule

Post by Stefan Kottwitz »

Hi Tiago,

use \vspace with negative value, also \\[-length] is possible:

Code: Select all

\HRulegrossa \\[-0.3cm]
\HRule \\[0.3cm]
...
Stefan
LaTeX.org admin
Post Reply