Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

\underline in LaTeX

4 views
Skip to first unread message

Robin Fairbairns

unread,
May 14, 1997, 3:00:00 AM5/14/97
to

In article <3379D8C6...@rmcs.cranfield.ac.uk>,
Evan J. Hughes <hugh...@rmcs.cranfield.ac.uk> wrote:
>Does anyone know how to underline a paragraph in LaTeX?
>
>I have looked in the style files and the \underline command simply
>puts the text in a \hbox and typesets it in math mode. This has the
>nasty effect of creating one very long line of text as LaTeX will not
>break up the box and typeset the text as intended.
>
>Has anyone found a solution to this problem already?

CTAN macros/latex/contrib/other/misc/ulem.sty
--
Robin (Campaign for Real Radio 3) Fairbairns r...@cl.cam.ac.uk
U of Cambridge Computer Lab, Pembroke St, Cambridge CB2 3QG, UK
Home page: http://www.cl.cam.ac.uk/users/rf/robin.html

David Kastrup

unread,
May 14, 1997, 3:00:00 AM5/14/97
to Evan J. Hughes

"Evan J. Hughes" <hugh...@rmcs.cranfield.ac.uk> writes:

> Does anyone know how to underline a paragraph in LaTeX?
>
> I have looked in the style files and the \underline command simply
> puts the text in a \hbox and typesets it in math mode. This has the
> nasty effect of creating one very long line of text as LaTeX will not
> break up the box and typeset the text as intended.
>
> Has anyone found a solution to this problem already?

Looking in the FAQ? Looking in CTAN:/help/Catalogue/catalogue.html?
ulem.sty does what you want.


--
David Kastrup Phone: +49-234-700-5570
Email: d...@neuroinformatik.ruhr-uni-bochum.de Fax: +49-234-709-4209
Institut für Neuroinformatik, Universitätsstr. 150, 44780 Bochum, Germany

Evan J. Hughes

unread,
May 14, 1997, 3:00:00 AM5/14/97
to

Does anyone know how to underline a paragraph in LaTeX?

I have looked in the style files and the \underline command simply
puts the text in a \hbox and typesets it in math mode. This has the
nasty effect of creating one very long line of text as LaTeX will not
break up the box and typeset the text as intended.

Has anyone found a solution to this problem already?

Thanks,
Evan


--
Evan Hughes
Cranfield University
Royal Military College of Science
Shrivenham, England.

hugh...@rmcs.cranfield.ac.uk

Young U. Ryu

unread,
May 14, 1997, 3:00:00 AM5/14/97
to


Evan J. Hughes <hugh...@rmcs.cranfield.ac.uk> wrote in article
<3379D8C6...@rmcs.cranfield.ac.uk>...


> Does anyone know how to underline a paragraph in LaTeX?
>
> I have looked in the style files and the \underline command simply
> puts the text in a \hbox and typesets it in math mode. This has the
> nasty effect of creating one very long line of text as LaTeX will not
> break up the box and typeset the text as intended.
>
> Has anyone found a solution to this problem already?
>

Check ulem.sty in CTAN:

macros/latex/contrib/other/misc/ulem.sty

It provides a much better underlining mechanism, which allows
line/page breaks between words.

By the way, somewhere in TeXBook (I think), I read DEK's comments
on underlining: he said it would be a better idea to have fonts with
underlines. He also mentioned that underlining is a tradition for
typewriters, for which italic fonts are not easily accessible;
these days, with typesetters like TeX, we use italic or slant fonts
to emphasize words. (Unfortunately, still some publishers and academic
journals require underlined words instead of italic or slanted words.)

Young


Donald Arseneau

unread,
May 14, 1997, 3:00:00 AM5/14/97
to

In article <3379D8C6...@rmcs.cranfield.ac.uk>, "Evan J. Hughes" <hugh...@rmcs.cranfield.ac.uk> writes...

>Does anyone know how to underline a paragraph in LaTeX?

That's a typo right? You meant "underline IN a paragraph".

ulem.sty

If you really mean to underline a whole paragraph, then I refuse to answer.

Donald Arseneau as...@reg.triumf.ca

N. Sukumar

unread,
May 14, 1997, 3:00:00 AM5/14/97
to su...@nwu.edu

Hi,

I am using \mathbb{R}^n in the amsmath package to represent the
n-dimensional Euclidean space in my document. The "R" appears rather
ugly; its size is also disproportionately large in comparison to
other characters/symbols. Is there a fix to the above or a better
option?

Any and all suggestions are most welcome. A sample output [if
anyone has] of R^n in a ps file that one can check out via the
Web would be great!

Thanks in advance.
-suku.

--
N. Sukumar Home Phone: (847)491-1522
Theoretical & Applied Mechanics Work Phone: (847)467-3154
Northwestern U, Evanston IL 60208 E-mail: n-su...@nwu.edu
WWW: <A HREF="http://pubweb.acns.nwu.edu/~suku/home.html"> *GO BLAZERS*

Russ Allbery

unread,
May 14, 1997, 3:00:00 AM5/14/97
to

Young U Ryu <ryo...@utdallas.edu> writes:

> He also mentioned that underlining is a tradition for typewriters, for
> which italic fonts are not easily accessible; these days, with
> typesetters like TeX, we use italic or slant fonts to emphasize words.
> (Unfortunately, still some publishers and academic journals require
> underlined words instead of italic or slanted words.)

I've been told that this, along with the request for double spacing and
non-proportional fonts, is due to publishers having read so many
manuscripts in that format that their eyes have become accustomed to it
and they can't easily scan proportional fonts, italics, and the like.
Double spacing makes sense for editing marks, I don't mind underlining
*too* much, but non-proportional fonts are just evil.

There are also times when you *want* underlining because it means
something different than italics. Some technical writing applications,
for example.

--
Russ Allbery (r...@stanford.edu) <URL:http://www.eyrie.org/~eagle/>

enkeled

unread,
May 15, 1997, 3:00:00 AM5/15/97
to N. Sukumar

N. Sukumar wrote:
>
> Hi,
>
> I am using \mathbb{R}^n in the amsmath package to represent the
> n-dimensional Euclidean space in my document. The "R" appears rather
> ugly; its size is also disproportionately large in comparison to
> other characters/symbols. Is there a fix to the above or a better
> option?
>
> Any and all suggestions are most welcome. A sample output [if
> anyone has] of R^n in a ps file that one can check out via the
> Web would be great!
>
> Thanks in advance.
> -suku.

I am using myself a little trick. Just try instead I\!\!R^n. It seems
somewhat better.

Enkelejd Hashorva

************************************
Institute of mathematical Statistic and Actuarial Sciences
University of Bern
Switzerland

email:enke...@math-stat.unibe.ch

Hans-Georg Eßer

unread,
May 15, 1997, 3:00:00 AM5/15/97
to

N. Sukumar wrote:
>
> Hi,
>
> I am using \mathbb{R}^n in the amsmath package to represent the
> n-dimensional Euclidean space in my document. The "R" appears rather

Try

\usepackage{amssymb} %
\usepackage{mathsymb} % Symbols for N,R,C,Z,Q

then you can do \N, \R, \C etc. for the correct symbols

H.G.Esser

--
Hans-Georg Eßer - RWTH Aachen (University of Technology, Aachen)

mailto:es...@i2.informatik.rwth-aachen.de
WWW: http://www-i2.informatik.rwth-aachen.de/~esser/

All men are mortal. Socrates was mortal. Therefore, all men are
Socrates. -- Woody Allen

J%org Knappen

unread,
May 15, 1997, 3:00:00 AM5/15/97
to

> I am using \mathbb{R}^n in the amsmath package to represent the
> n-dimensional Euclidean space in my document. The "R" appears rather
> ugly; its size is also disproportionately large in comparison to
> other characters/symbols. Is there a fix to the above or a better
> option?

My personal preference is the package mathbbol, which loads the bbold fonts
designed by Alan Jeffrey. The markup is the same, \mathbb{R}, but the
letter looks quite different.

Another solution is to us ethe bbm fonts.

--J"org Knappen

N. Sukumar

unread,
May 15, 1997, 3:00:00 AM5/15/97
to

N. Sukumar wrote:
>
> Hi,

>
> I am using \mathbb{R}^n in the amsmath package to represent the
> n-dimensional Euclidean space in my document. The "R" appears rather
> ugly; its size is also disproportionately large in comparison to
> other characters/symbols. Is there a fix to the above or a better
> option?
> ...

Thanks to all those who sent me e-mail/posted. I downloaded the font
package bbm from CTAN -> the blackboard symbols look great!

-suku.

Bjoern Sonntag

unread,
May 16, 1997, 3:00:00 AM5/16/97
to

you can also use the BBM - Packet which is in LATEX2e

Good Luck
Bjoern

0 new messages