summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/gatech-thesis/julesverne/bellswhistles/textcompfix.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-05-25 23:48:32 +0000
committerKarl Berry <karl@freefriends.org>2006-05-25 23:48:32 +0000
commit595900eb11650c10452ce044faf23b3312127dd1 (patch)
tree97ffe93a2ee52bb32dfb2ac8082a805018c6e9d8 /Master/texmf-dist/doc/latex/gatech-thesis/julesverne/bellswhistles/textcompfix.sty
parent0a2ec794f03837e374b38c4952e23aa352461cf9 (diff)
gatech-thesis update (most files now in doc)
git-svn-id: svn://tug.org/texlive/trunk@1595 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/gatech-thesis/julesverne/bellswhistles/textcompfix.sty')
-rw-r--r--Master/texmf-dist/doc/latex/gatech-thesis/julesverne/bellswhistles/textcompfix.sty86
1 files changed, 86 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/gatech-thesis/julesverne/bellswhistles/textcompfix.sty b/Master/texmf-dist/doc/latex/gatech-thesis/julesverne/bellswhistles/textcompfix.sty
new file mode 100644
index 00000000000..b0d828486c7
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/gatech-thesis/julesverne/bellswhistles/textcompfix.sty
@@ -0,0 +1,86 @@
+% Package: textcompfix
+%
+% Since the PostScript version of Times (Palatino, etc)
+% do not contain all of the symbols used by \textcomp's
+% commands, we create new commands for each of the
+% `missing' symbols. So, for instance, instead of using
+% \textleftarrow
+% you use
+% \FIXtextleftarrow
+% This switches the current font to Computer Modern,
+% calls \textleftarrow, and switches back.
+%
+% The Right Thing To Do, of course, is to create a
+% virtual font that provides the \textcomp symbols
+% for [Times, Palatino, etc]...this is just a workaround.
+% Of course, that's what the txfonts (and pxfonts)
+% packages DO: create virtual fonts for the TS1 encoding.
+%
+% See the textcompsym style for a different workaround.
+%
+\ProvidesPackage{textcompfix}
+ [2002/08/09 textcomp with postscript fonts]
+\RequirePackage{textcomp}
+
+\newcommand*{\tcfixfont}[1]{%
+ {\fontfamily{cmr}\fontencoding{TS1}\selectfont#1}}
+\newcommand*{\textcompfixup}[1]{%
+ \expandafter\expandafter\expandafter\gdef\expandafter\csname FIX#1\endcsname{%
+ \tcfixfont{\csname #1\endcsname}}
+}
+\textcompfixup{textleftarrow}
+\textcompfixup{textrightarrow}
+\textcompfixup{textblank}
+\textcompfixup{textdblhyphen}
+\textcompfixup{textzerooldstyle}
+\textcompfixup{textoneoldstyle}
+\textcompfixup{texttwooldstyle}
+\textcompfixup{textthreeoldstyle}
+\textcompfixup{textfouroldstyle}
+\textcompfixup{textfiveoldstyle}
+\textcompfixup{textsixoldstyle}
+\textcompfixup{textsevenoldstyle}
+\textcompfixup{texteightoldstyle}
+\textcompfixup{textnineoldstyle}
+\textcompfixup{textlangle}
+\textcompfixup{textborn}
+\textcompfixup{textrangle}
+\textcompfixup{textmho}
+\textcompfixup{textbigcircle}
+\textcompfixup{textohm}
+\textcompfixup{textuparrow}
+\textcompfixup{textdownarrow}
+\textcompfixup{textdivorced}
+\textcompfixup{textdied}
+\textcompfixup{textleaf}
+\textcompfixup{textmarried}
+\textcompfixup{textmusicalnote}
+\textcompfixup{textdblhyphenchar}
+\textcompfixup{textcentoldstyle}
+\textcompfixup{textdollaroldstyle}
+\textcompfixup{textcolonmonetary}
+\textcompfixup{textwon}
+\textcompfixup{textnaira}
+\textcompfixup{textguarani}
+\textcompfixup{textpeso}
+\textcompfixup{textlira}
+\textcompfixup{textrecipe}
+\textcompfixup{textinterrobang}
+\textcompfixup{textinterrobangdown}
+\textcompfixup{textdong}
+\textcompfixup{textpilcrow}
+\textcompfixup{textbaht}
+\textcompfixup{textnumero}
+\textcompfixup{textdiscount}
+\textcompfixup{textestimated}
+\textcompfixup{textopenbullet}
+\textcompfixup{textservicemark}
+\textcompfixup{textlquill}
+\textcompfixup{textrquill}
+\textcompfixup{textpertenthousand}
+\textcompfixup{textcopyleft}
+\textcompfixup{textcircledP}
+\textcompfixup{textsurd}
+\textcompfixup{textreferencemark}
+\textcompfixup{texteuro}
+