[texhax] Parts per thousand with the wasysym package

Sam Albers tonightsthenight at gmail.com
Mon Jan 31 22:23:14 CET 2011


Apologies, I figured this out on my own. Sorry for the bother. I think that
this will work as i found out how the wasysym package creates the
symbol and simply copied that.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\documentclass[12pt, pdftex]{article}

\def\wasyfamily{\fontencoding{U}\fontfamily{wasy}\selectfont}
\def\permil     {\mbox{\wasyfamily\char104}}
%\usepackage{wasysym}

\begin{document}

This is the symbol I would like to use: \permil

This is a poor attempted to reproduce it: $\%_{\mathit{\circ}}$

\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


On Mon, Jan 31, 2011 at 1:05 PM, Sam Albers <tonightsthenight at gmail.com>wrote:

> Hello all,
>
> I am currently submitting an article to a journal that supports the
> submission of tex files using their .cls and .sty files. This certainly
> makes life easier for tex users. The only hitch is that they would rather
> you didn't use external packages. They provide a list packages that they use
> and would prefer if you didn't use any others. For most tasks this is fine.
> However, I would like to produce a parts per thousand symbol (‰). Normally
> I do that like this:
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
> \documentclass[12pt, pdftex]{article}
> \usepackage{wasysym}
> \begin{document}
>
> This is the symbol I would like to use and usually do: \permil
>
> This is a poor attempt to reproduce it: $\%_{\mathit{\circ}}$
> \end{document}
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> Since I am restricted from using the wasysym package I am left trying to
> figure out how to produce the parts per thousand symbol. I am allowed to
> included my own personal list of commands but I am just not sure how to
> properly create the symbol. Anyways suggestions on how to proceed with this
> would be much appreciated.
>
> I am using Ubuntu 10.10 with Emacs + AUCTeX.
> Thanks in advance,
>
> Sam
> --
> *****************************************************
> Sam Albers
> Geography Program
> University of Northern British Columbia
> 3333 University Way
> Prince George, British Columbia
> Canada, V2N 4Z9
> phone: 250 960-6777
> *****************************************************
>



-- 
*****************************************************
Sam Albers
Geography Program
University of Northern British Columbia
3333 University Way
Prince George, British Columbia
Canada, V2N 4Z9
phone: 250 960-6777
*****************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://tug.org/pipermail/texhax/attachments/20110131/55ce2496/attachment.html>


More information about the texhax mailing list