summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/gatech-thesis/julesverne/bellswhistles/textcompsym.sty
blob: 21018c4aa33af36b2772bcf1d66756f47270846a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
% Package: textcompsty
%
% Since the PostScript version of Times (Palatino, etc)
% do not contain all of the symbols used by \textcomp's
% commands, we fake a few of them, using symbols culled
% from the Adobe Symbol and Zapf Dingbats fonts.
%   This doesn't provide all of the missing symbols,
% but it does give you a few.  

% The Right Thing To Do, of course, is to create a 
% virtual symbol font for [Times, Palatino, etc 
% that provides all of the \textcomp symbols...this is 
% just a workaround.  Of course, the txfonts and pxfonts
% packages do just that -- create virtual fonts for the
% TS1 encoding.
%
% See the textcompfix package for another workaround.
%
\ProvidesPackage{textcompsym}
  [2002/08/09 textcomp with postscript fonts]
% since the symbol and dingbats fonts don't have italic or bold 
% variants, we force the selection to normal medium to avoid
% warnings.  We could fix this by going the whold virtual fonts
% route, but...
\newcommand*{\myPifont}[1]{\fontfamily{#1}\fontencoding{U}%
\fontseries{m}\fontshape{n}\selectfont}
\newcommand*{\myPisymbol}[2]{{\myPifont{#1}\char#2}}
\renewcommand*{\textleftarrow}{\myPisymbol{psy}{172}}
\renewcommand*{\textrightarrow}{\myPisymbol{psy}{174}}
\renewcommand*{\textuparrow}{\myPisymbol{psy}{173}}
\renewcommand*{\textdownarrow}{\myPisymbol{psy}{175}}
\renewcommand*{\textlangle}{\myPisymbol{psy}{225}}
\renewcommand*{\textrangle}{\myPisymbol{psy}{241}}
\renewcommand*{\textborn}{\myPisymbol{pzd}{72}}
% This would require latexsym.  If you want it, define it yourself
% and \usepackage{latexsym}
% \renewcommand*{\textmho}{\ensuremath{\mho}}
\renewcommand*{\textohm}{\myPisymbol{psy}{87}}
\renewcommand*{\textdied}{\myPisymbol{pzd}{61}}
\renewcommand*{\textopenbullet}{\myPisymbol{pzd}{109}}
\renewcommand*{\textsurd}{\myPisymbol{psy}{214}}

% Other missing symbols; some of these could be done
% as composites...
%textcircledP
%textservicemark
%textblank
%textdblhyphen
%textzerooldstyle
%textoneoldstyle
%texttwooldstyle
%textthreeoldstyle
%textfouroldstyle
%textfiveoldstyle
%textsixoldstyle
%textsevenoldstyle
%texteightoldstyle
%textnineoldstyle
%textbigcircle
%textdivorced
%textleaf
%textmarried
%textmusicalnote
%textdblhyphenchar
%textcentoldstyle
%textdollaroldstyle
%textcolonmonetary
%textwon
%textnaira
%textguarani
%textpeso
%textlira
%textrecipe
%textinterrobang
%textinterrobangdown
%textdong
%textpilcrow
%textbaht
%textnumero
%textdiscount
%textestimated
%textlquill
%textrquill
%textpertenthousand
%textcopyleft
%textreferencemark
%texteuro