[texhax] Parts per thousand with the wasysym package

Reinhard Kotucha reinhard.kotucha at web.de
Tue Feb 1 00:03:39 CET 2011


On 31 January 2011 Sam Albers wrote:

 > 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.

Hi Sam, 
I fear that your "solution" doesn't work.  If they don't allow you to
use the wasysym package, they probably don't have the wasy fonts
installed and can't compile your document.

The problematic thing is \fontfamily{wasy}.

I recommend Phil's approach: textcomp is a standard LaTeX package.  If
you are not allowed to use it, you aren't allowed to use LaTeX.

Regards,
  Reinhard

 
 > %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 > \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
 > *****************************************************
 > 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.<div><br></div><div>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</div>
 > <div><div>\documentclass[12pt, pdftex]{article}</div><div><br></div><div>\def\wasyfamily{\fontencoding{U}\fontfamily{wasy}\selectfont}</div><div>\def\permil Ê Ê {\mbox{\wasyfamily\char104}}</div><div>%\usepackage{wasysym}</div>
 > <div><br></div><div>\begin{document}</div><div><br></div><div>This is the symbol I would like to use: \permil</div><div><br></div><div>This is a poor attempted to reproduce it: $\%_{\mathit{\circ}}$</div><div><br></div><div>
 > \end{document}</div><div><br></div><div>%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</div><div><br><br><div class="gmail_quote">On Mon, Jan 31, 2011 at 1:05 PM, Sam Albers <span dir="ltr"><<a href="mailto:tonightsthenight at gmail.com">tonightsthenight at gmail.com</a>></span> wrote:<br>
 > <blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Hello all,<div><br></div><div>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 (<span style="font-family:sans-serif;font-size:13px;line-height:19px">ä). Normally I do that like this:</span></div>
 > 
 > <div><font face="sans-serif"><span style="line-height:19px"><br></span></font></div><div><font face="sans-serif"><span style="line-height:19px">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span></font></div>
 > <div><font face="sans-serif"><span style="line-height:19px">\documentclass[12pt, pdftex]{article}</span></font></div><div><font face="sans-serif"><span style="line-height:19px">\usepackage{wasysym}</span></font></div>
 > <div><span style="font-family:sans-serif;line-height:19px">\begin{document}</span></div><div><font face="sans-serif"><span style="line-height:19px"><br>
 > </span></font></div><div><font face="sans-serif"><span style="line-height:19px">This is the symbol I would like to use and usually do: \permil</span></font></div><div><font face="sans-serif"><span style="line-height:19px"><br>
 > 
 > </span></font></div><div><font face="sans-serif"><span style="line-height:19px">This is a poor attempt to reproduce it: $\%_{\mathit{\circ}}$</span></font></div><div><span style="font-family:sans-serif;line-height:19px">\end{document}</span></div>
 > 
 > <div><span style="font-family:sans-serif;line-height:19px">%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%</span></div><div><font face="sans-serif"><span style="line-height:19px"><br>
 > </span></font></div><div><font face="sans-serif"><span style="line-height:19px">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.</span></font></div>
 > 
 > <div><font face="sans-serif"><span style="line-height:19px"><br></span></font></div><div><font face="sans-serif"><span style="line-height:19px">I am using Ubuntu 10.10 with Emacs + AUCTeX.</span></font></div>
 > <div><font face="sans-serif"><span style="line-height:19px">Thanks in advance,</span></font></div><div><font face="sans-serif"><span style="line-height:19px"><br>
 > </span></font></div><div><font face="sans-serif"><span style="line-height:19px">Sam<br></span></font>-- <br>*****************************************************<br>Sam Albers<br>
 > Geography Program<br>University of Northern British Columbia<br>3333 University Way<br>Prince George, British Columbia<br>Canada, V2N 4Z9<br>phone: 250 960-6777<br>*****************************************************<br>
 > 
 > 
 > </div>
 > </blockquote></div><br><br clear="all"><br>-- <br>*****************************************************<br>Sam Albers<br>Geography Program<br>University of Northern British Columbia<br>3333 University Way<br>Prince George, British Columbia<br>
 > Canada, V2N 4Z9<br>phone: 250 960-6777<br>*****************************************************<br>
 > </div></div>
 > _______________________________________________
 > TeX FAQ: http://www.tex.ac.uk/faq
 > Mailing list archives: http://tug.org/pipermail/texhax/
 > More links: http://tug.org/begin.html
 > 
 > Automated subscription management: http://tug.org/mailman/listinfo/texhax
 > Human mailing list managers: postmaster at tug.org
-- 
----------------------------------------------------------------------------
Reinhard Kotucha                                      Phone: +49-511-3373112
Marschnerstr. 25
D-30167 Hannover                              mailto:reinhard.kotucha at web.de
----------------------------------------------------------------------------
Microsoft isn't the answer. Microsoft is the question, and the answer is NO.
----------------------------------------------------------------------------



More information about the texhax mailing list