summaryrefslogtreecommitdiff
path: root/info/symbols/text/textcomptst.tex
blob: fee09cc71f8d28846f325139608aae2353ac9111 (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
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137

%\documentclass[german]{scrartcl}
%\usepackage{german,textcomp,longtable}

\documentclass[draft]{article}
%\usepackage[T1]{fontenc}
\usepackage{german,textcomp,longtable,array,ifthen}

\addtolength{\textwidth}{1cm}
\addtolength{\oddsidemargin}{-0.5cm}
\addtolength{\evensidemargin}{-0.5cm}

\makeatletter
\newcommand{\tabitem}[2]{%
  \texttt{\symbol{`\\}#1} & \@nameuse{#1} & \bfseries\@nameuse{#1}&
  \itshape\@nameuse{#1}
  \ifthenelse{\equal{#2}{}}
  {}
  {& \texttt{\symbol{`\\}#2} & \@nameuse{#2} & \bfseries\@nameuse{#2}
    & \itshape\@nameuse{#2} \\}
}
\makeatother

\begin{document}
\noindent\begin{minipage}{0.47\linewidth}
  \section*{Symbols in textcomp}

  To use the symbols provided by the package \verb|textcomp| include
  this line:
  \begin{verbatim}
    \usepackage{textcomp}
  \end{verbatim}
  The symbols are used by calling them by their name. E.g. \textleaf:
  \verb|\textleaf|.
  
  In mathematics the package \verb|mathcomp| works. Then the prefix
  \verb|text| is replaced by \verb|tc|, for \emph{t}ext\emph{c}omp:
  \begin{verbatim}
    \usepackage{mathcomp}
    ...
    $\tcleaf$
  \end{verbatim}
\end{minipage}%
\hfill%
\begin{minipage}{0.47\linewidth}
  \section*{Symbole in textcomp}

  Die Symbole des Paketes \verb|textcomp| werden folgenderma"sen verwendet:
  \begin{verbatim}
    \usepackage{textcomp}
  \end{verbatim}
  Dann die Symbole mit ihren Namen aufrufen: Zum Beispiel f"ur 
  \textleaf: \verb|\textleaf|.
  
  Im Mathematikmodus funktioniert das Paket mathcomp. Dann wird der
  Prefix \verb|text| durch \verb|tc| f"ur \emph{t}ext\emph{c}omp ersetzt:
  
  \begin{verbatim}
    \usepackage{mathcomp}
    ...
    $\tcleaf$
  \end{verbatim}
\end{minipage}

\noindent\begin{tabular}{@{}l}
2000-08-28\\
Harald Harders\\
h.harders@tu-bs.de
\end{tabular}

\setlength{\LTleft}{0pt}%
\setlength{\LTright}{0pt}
\noindent
\begin{longtable}{%
    @{}ll@{}l@{}l@{\extracolsep{\fill}}l!{\extracolsep{0pt}}l@{}l@{}l@{}}
  \multicolumn{4}{c}{\textbf{Symbol}} & 
  \multicolumn{4}{c}{\textbf{Symbol}} \\ \hline
\endhead

%  \tabitem{textcapitalcompwordmark}{textascendercompwordmark}
  \tabitem{textquotestraightbase}{textquotestraightdblbase}
  \tabitem{texttwelveudash}{textthreequartersemdash}
  \tabitem{textleftarrow}{textrightarrow}
  \tabitem{textblank}{textdollar}
  \tabitem{textquotesingle}{textasteriskcentered}
  \tabitem{textdblhyphen}{textfractionsolidus}
  \tabitem{textzerooldstyle}{textoneoldstyle}
  \tabitem{texttwooldstyle}{textthreeoldstyle}
  \tabitem{textfouroldstyle}{textfiveoldstyle}
  \tabitem{textsixoldstyle}{textsevenoldstyle}
  \tabitem{texteightoldstyle}{textnineoldstyle}
  \tabitem{textlangle}{textminus}
  \tabitem{textrangle}{textmho}
  \tabitem{textbigcircle}{textohm}
  \tabitem{textlbrackdbl}{textrbrackdbl}
  \tabitem{textuparrow}{textdownarrow}
  \tabitem{textasciigrave}{textborn}
  \tabitem{textdivorced}{textdied}
  \tabitem{textleaf}{textmarried}
  \tabitem{textmusicalnote}{texttildelow}
  \tabitem{textdblhyphenchar}{textasciibreve}
  \tabitem{textasciicaron}{textgravedbl}
  \tabitem{textacutedbl}{textdagger}
  \tabitem{textdaggerdbl}{textbardbl}
  \tabitem{textperthousand}{textbullet}
  \tabitem{textcelsius}{textdollaroldstyle}
  \tabitem{textcentoldstyle}{textflorin}
  \tabitem{textcolonmonetary}{textwon}
  \tabitem{textnaira}{textguarani}
  \tabitem{textpeso}{textlira}
  \tabitem{textrecipe}{textinterrobang}
  \tabitem{textinterrobangdown}{textdong}
  \tabitem{texttrademark}{textpertenthousand}
  \tabitem{textpilcrow}{textbaht}
  \tabitem{textnumero}{textdiscount}
  \tabitem{textestimated}{textopenbullet}
  \tabitem{textservicemark}{textlquill}
  \tabitem{textrquill}{textcent}
  \tabitem{textsterling}{textcurrency}
  \tabitem{textyen}{textbrokenbar}
  \tabitem{textsection}{textasciidieresis}
  \tabitem{textcopyright}{textordfeminine}
  \tabitem{textcopyleft}{textlnot}
  \tabitem{textcircledP}{textregistered}
  \tabitem{textasciimacron}{textdegree}
  \tabitem{textpm}{texttwosuperior}
  \tabitem{textthreesuperior}{textasciiacute}
  \tabitem{textmu}{textparagraph}
  \tabitem{textperiodcentered}{textreferencemark}
  \tabitem{textonesuperior}{textordmasculine}
  \tabitem{textsurd}{textonequarter}
  \tabitem{textonehalf}{textthreequarters}
  \tabitem{texteuro}{texttimes}
  \tabitem{textdiv}{}

\end{longtable}
\end{document}