Text Formattingunderline length

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
nosabicu
Posts: 1
Joined: Fri Oct 30, 2020 8:38 am

underline length

Post by nosabicu »

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.

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
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

underline length

Post by Ijon Tichy »

Underline of what? Usually \underline{foo} underlines foo. So if foo spans the textwidth, the underline would span the textwidth. But perhaps you are searching for something completely different, e.g., how to underline the page head or how to have a horizontal line in a tabular or …

So please, explain what you really try to achieve. And please try to illustrate that problem with a Infominimal working example, that can be used to reproduce your problem. Helpers usually need such a Infominimal working example also to experiment and show a suggestion.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Post Reply