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

LaTeX endnotes, degree symbol

2,331 views
Skip to first unread message

susan chacko

unread,
Sep 6, 1990, 4:18:11 PM9/6/90
to
Hi. I'm a novice LaTeX user with a couple of (probably very simple)
problems. Hope someone can help.
1) The journal I'm submitting a paper to requires 'endnotes' rather than
footnotes. How can I change the footnotes in Latex to be collected and
printed all together at the end?
2) How do I get the 'degree' symbol (i.e the small circle above and to
the right of the #). The Latex manual says I should use $\deg$, but this
just produces the letters 'deg' in Roman type.
ALl info will be deeply appreciated. Email or post if you think anyone
else will be interested.
Susan (su...@crysiris.rice.edu)

KC Border

unread,
Sep 6, 1990, 7:44:24 PM9/6/90
to
In article <1990Sep6.2...@rice.edu> su...@crysiris.rice.edu (susan chacko) writes:
>1) The journal I'm submitting a paper to requires 'endnotes' rather than
>footnotes. How can I change the footnotes in Latex to be collected and
>printed all together at the end?

I use the following, admittedly not perfect style option. I would like
to see a better one.
****************************************************************************
% endnotes.sty
% *************** Footnotes into Endnotes ***************
% Kim C. Border, Sep 4 1990
% k...@hss.caltech.edu
%
% This file may be freely copied, modified, and distributed.
%
% Many journals in the humanities and social sciences require endnotes
% rather than footnotes. This style option reads the contents of
% a \footnote command verbatim into a file \jobname.end, whence
% they may be retrieved by an \endnotes command.
%
% It is a \documenstyle option, e.g., \documentstyle[endnotes]{article}.
% Place the command \endnotes where you want the notes to appear:
% after the last footnote, usually right before the bibliography.
% The \endnotes command creates a new page.
%
% The option works by redefining LaTeX's private \@footnotetext command,
% and is modeled after DEK's \answer macro in the TeXbook.
% It is always a bit dicey to redefine commands that you only
% vaguely understand, but I have tested it on my own manuscripts
% under LaTeX 2.09 and it seems to work. I do not consider myself an expert
% and would be glad to receive a more elegant version.
%
% ***************** THERE IS ONE KNOWN (NONFATAL) PROBLEM: **************
% Since \ is catcoded to 12 for verbatim copying, if your footnote's text
% contains an unequal number of \{'s and \}'s, (for intance, if you
% have a \left\{ balanced by a \right.), then TeX believes
% you have unmatched braces and does not figure out where the
% argument of the \footnote command ends. The CURE is to use \lbrace
% and \rbrace instead.
%
% If anyone has a better solution, please let me know:
% k...@hss.caltech.edu
%
\typeout{endnotes.sty-- Sep 4, 1990 -- k...@hss.caltech.edu}
%
%
\newwrite\n@tefile
\immediate\openout\n@tefile=\jobname.end
\immediate\write\n@tefile{\relax}

% redefine footnotes _after_ title
\let\@maketitle@\maketitle
\def\maketitle{\@maketitle@
\long\gdef\@footnotetext{\immediate\write\n@tefile{}
\begingroup\@mysetupcopy\@mycopynote}
\let\@maketitle@\relax}

\def\@mysetupcopy{\@sanitize}% for verbatim copying

\long\gdef\@mycopynote#1{%
\immediate\write\n@tefile{\@thefnmark\hskip 1em }
\immediate\write\n@tefile{#1}\endgroup}

\def\endnotes{\immediate\closeout\n@tefile
\clearpage
\section*{Notes}
\input\jobname.end}
% **************************************************************************


Kim C. Border Division of the Humanities and Social Sciences
k...@hss.caltech.edu 228-77
California Institute of Technology
Pasadena, California 91125

Hosek, Donald A.

unread,
Sep 6, 1990, 7:17:01 PM9/6/90
to
In article <1990Sep6.2...@rice.edu>, su...@crysiris.rice.edu (susan chacko) writes...

>2) How do I get the 'degree' symbol (i.e the small circle above and to
>the right of the #). The Latex manual says I should use $\deg$, but this
>just produces the letters 'deg' in Roman type.

$90^\circ$ will give the appropriate response. I once had a
moment of panic in a class I taught which had a former co-worker
in it who claimed she got the degrees sign typing \degrees... I
was greatly perplexed by this and went digging through the
TeXbook to see how I might have missed this. Later that day she
indicated that it was a macro in a file I'd given her once upon a
time. (sigh)

-dh

---
Don Hosek TeX, LaTeX, and Metafont support, consulting
dho...@ymir.claremont.edu installation and production work.
dho...@ymir.bitnet Free Estimates.
uunet!jarthur!ymir Phone: 714-625-0147
finger dho...@ymir.claremont.edu for more info

Steve Willner, OIR

unread,
Sep 11, 1990, 11:00:05 AM9/11/90
to
From article <1990Sep6.2...@rice.edu>, by su...@crysiris.rice.edu
(susan chacko):

> 2) How do I get the 'degree' symbol (i.e the small circle above and to
> the right of the #).

This may not be exactly what you wanted, but perhaps it will help
somebody. When specifying an angle as a decimal fraction, astronomers,
and perhaps others, like to put the angle symbol (degrees, minutes,
or seconds) over the decimal point, e.g. 7.'5 for an angle of 7.5
arcminutes. Here's how:

% angle symbol over decimal point; use e.g. 7\arcmin5
\newcommand{\arcsec}{\(\stackrel{\:''}{\textstyle.}\)}
\newcommand{\arcmin}{\(\stackrel{\:'}{\textstyle.}\)}
\newcommand{\arcdeg}{\(\stackrel{\:\circ}{\textstyle.\rule{0pt}{0.65ex}}\)}

These work for 12pt roman, but they ought to be pretty close in other
sizes.
-------------------------------------------------------------------------
Steve Willner Phone 617-495-7123 Bitnet: willner@cfa
Cambridge, MA 02138 USA Internet: wil...@cfa.harvard.edu

Laurence G. Yaffe

unread,
Sep 11, 1990, 1:26:30 PM9/11/90
to
wil...@cfa.HARVARD.EDU (Steve Willner, OIR) writes:

- From article <1990Sep6.2...@rice.edu>, by su...@crysiris.rice.edu
- (susan chacko):
- > 2) How do I get the 'degree' symbol (i.e the small circle above and to
- > the right of the #).

- This may not be exactly what you wanted, but perhaps it will help
- somebody. When specifying an angle as a decimal fraction, astronomers,
- and perhaps others, like to put the angle symbol (degrees, minutes,
- or seconds) over the decimal point, e.g. 7.'5 for an angle of 7.5
- arcminutes.

I thought this was totally archaic. Is this style really in common use?

--
--------------------------------------------------------------------------
Laurence G. Yaffe Internet: l...@newton.phys.washington.edu
University of Washington Bitnet: ya...@uwaphast.bitnet

bjor...@gmail.com

unread,
Mar 19, 2013, 11:10:02 AM3/19/13
to
> 2) How do I get the 'degree' symbol

$10\,^{\circ}\mathrm{C}$

Relaxation

unread,
Sep 14, 2020, 4:24:10 AM9/14/20
to
On Tuesday, 19 March 2013 at 20:40:02 UTC+5:30, bjor...@gmail.com wrote:
> > 2) How do I get the 'degree' symbol
> $10\,^{\circ}\mathrm{C}$


<a href=" https://degreessymbolsign.com ">latex degree symbol</a>

\ documentclass [10pt, a4paper] { article }
\ usepackage [utf8] { inputenc }

\ usepackage [francais] { babel }

\ usepackage [T1] { fontenc }

\ usepackage { textcomp }

\ usepackage { amssymb }

\ DeclareTextSymbol { \ deg } { T1 } { 6 }

\ DeclareTextSymbol { \ deg } { OT1 } { 23 }

\ usepackage[left = 4cm, right = 4cm, top = 4cm, bottom = 4cm] { geometry }

\ begin { document }

\ degre C et \ degres C et \ deg C

\ end { document }

Peter Flynn

unread,
Sep 14, 2020, 9:28:45 AM9/14/20
to
On 14/09/2020 09:24, Relaxation wrote:
> On Tuesday, 19 March 2013 at 20:40:02 UTC+5:30, bjor...@gmail.com wrote:
>>> 2) How do I get the 'degree' symbol
>> $10\,^{\circ}\mathrm{C}$

If you're using XeLaTeX and fontspec, just type 10°C.

Otherwise (eg pdflatex) use the textcomp package and type
10\textdegree C.

The use of math mode for non-math expressions (because that used to be
the only way to get a symbol and raise it many years ago) in not
necessary using today's software and fonts.

Additional space before and after the symbol is a stylistic matter. I
think it's unnecessary in this case (that is, it looks wrong), but some
people will disagree, and they are at liberty to do so :-)

Peter

jfh

unread,
Sep 14, 2020, 6:00:34 PM9/14/20
to
https://physics.nist.gov/cuu/Units/units.html suggests a space after the number but not between the degree symbol and C, e.g. 0~$^\circ$C~$=273.15$~K, which achieves the desired result with the fewest keystrokes (for those of us who don't use XeLaTeX and fontspec), and it prevents = or K starting a new line. I would use $0\,^\circ$C~$=273.15$~K myself because it puts a little less space before the C. But I am not a member of the SI thought police.

Dr Engelbert Buxbaum

unread,
Sep 19, 2020, 5:13:56 AM9/19/20
to
In article <71ed6fd4-319b-4e6d...@googlegroups.com>,
harp...@gmail.com says...

> https://physics.nist.gov/cuu/Units/units.html suggests a space after
> the number but not between the degree symbol and C, e.g. 0~$^\circ$C~
> $=273.15$~K, which achieves the desired result with the fewest
> keystrokes (for those of us who don't use XeLaTeX and fontspec), and
> it prevents = or K starting a new line. I would use $0\,^\circ$C~$=
> 273.15 ~K myself because it puts a little less space before the C. But
> I am not a member of the SI thought police.

Perhaps not the fewest keystrokes, but readable and guaranteed to follow
the rules is \SI{0}{\celsius}, using the siunitx-package.

0 new messages