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

Promille-sign in LaTeX ??

2,447 views
Skip to first unread message

Holger Schuett

unread,
Oct 20, 1995, 3:00:00 AM10/20/95
to
Hi,

i am looking for a possibility to express a "Promille"-sign (looks like a "%"
but with two zeros under the slash) with LaTeX with in a {equation}. If there
is any font or macro that makes it please send it to me via email.

Thanks


email: sch...@wpos4.physik.uni-wuppertal.de


Alain Kessi

unread,
Oct 23, 1995, 3:00:00 AM10/23/95
to sch...@wpos4.physik.uni-wuppertal.de
Holger Schuett <schuett> wrote:
>i am looking for a possibility to express a "Promille"-sign (looks like a "%"
>but with two zeros under the slash) with LaTeX with in a {equation}. If there
>is any font or macro that makes it please send it to me via email.

There is a \permil command defined in the wasysym package, which takes the
permil character from the wasy font.

Alternatively, you can hack one yourself with something like

\newcommand{\permil}{\raise.1ex\hbox{\raise.45ex\hbox{\scriptsize 0}%
\kern-.18em\lower.28ex\hbox{\u{}}\kern-.61em\hbox{\footnotesize\mynot}%
\kern-.22em\lower.33ex\hbox{\scriptsize 0\kern-.01em0}}}

You'll need to modify the kernings slightly if you print in different sizes.

P.S.: You may want to change your e-mail adress in the header of your
posts, so people can use the reply command.

--
Alain Kessi (alain...@psi.ch)
at Paul Scherrer Institut, Zuerich, Switzerland


Lars Engebretsen

unread,
Oct 24, 1995, 3:00:00 AM10/24/95
to
On 23 Oct 1995, Alain Kessi wrote:

> Holger Schuett <schuett> wrote:
> >i am looking for a possibility to express a "Promille"-sign (looks like a "%"
> >but with two zeros under the slash) with LaTeX with in a {equation}. If there
> >is any font or macro that makes it please send it to me via email.
>
> There is a \permil command defined in the wasysym package, which takes the
> permil character from the wasy font.
>
> Alternatively, you can hack one yourself with something like
>
> \newcommand{\permil}{\raise.1ex\hbox{\raise.45ex\hbox{\scriptsize 0}%
> \kern-.18em\lower.28ex\hbox{\u{}}\kern-.61em\hbox{\footnotesize\mynot}%
> \kern-.22em\lower.33ex\hbox{\scriptsize 0\kern-.01em0}}}
>
> You'll need to modify the kernings slightly if you print in different sizes.

The T1 fonts seem to contain a small zero that is supposed to be
used to construct promille signs. It doesnt seem to be a predefined
name in LaTeX, but you sould be able to do something like:

\DeclareTextCommand{\permil}{T1}{\%\char24}

and then use \promille (provided that you have \usepackage[T1]{fontenc}
in the preamble of your document).


------------------------------------------------
Lars Engebretsen, Dr-95, Fm-90, en...@nada.kth.se

0 new messages