🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.text.tex
Article #2355

Re: Sqrt in \section, how?

#2355
From: Victor Eijkhout
Date: Tue, 08 Sep 1992 15:33
14 lines
945 bytes
In article <1992Sep8.144512.17710@daimi.aau.dk>, tange@daimi.aau.dk (Ole Tange) writes:
|> How do you include a sqrt-sign in a \section{}-line?
|> 
|> I thought that:
|> 
|> \section{$\sqrt{6}$}
|> 
|> would do, BUT IT DOESN'T!

In LaTeX, unlike in plain TeX, \sqrt is a macro with expandable
parts. Thus it breaks in section headings. Use \protect\sqrt
for best results. (Of course this is all in the manual :-)

Victor.
Technical Details
Message-ID: <laphuvINN6tc@utkcs2.cs.utk.edu>
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!utkcs2!cupid.cs.utk.edu!eijkhout
References: <1992Sep8.144512.17710@daimi.aau.dk>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!sparky!uunet!gatech!utkcs2!cupid.cs.utk.edu!eijkhout
From: eijkhout@cupid.cs.utk.edu (Victor Eijkhout)
Newsgroups: comp.text.tex
Subject: Re: Sqrt in \section, how?
Date: 8 Sep 92 15:33:51 GMT
Organization: University of Tennessee, Knoxville - Department of Computer Science
Lines: 14
Distribution: world
Message-ID: <laphuvINN6tc@utkcs2.cs.utk.edu>
References: <1992Sep8.144512.17710@daimi.aau.dk>
Reply-To: eijkhout@cupid.cs.utk.edu (Victor Eijkhout)
NNTP-Posting-Host: cupid.cs.utk.edu