Hi there,
I have a question about underline:basically I want to get the effect that make the underline span all the textwidth, is there anyway to achieve it?
I search lots of solution, no luck.
Thanks a lot.
Matt
Text Formatting ⇒ How to control underline length
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
How to control underline length
Hi Matt,
welcome to the board!
You could use
or
Stefan
welcome to the board!
You could use
\rule
Code: Select all
\newcommand{\fullrule}{\rule{\textwidth}{0.5pt}}
\underline
with \makebox
:Code: Select all
\newcommand{\fullunderline}{\underline{\makebox[\textwidth]{}}}
LaTeX.org admin