Tue, Nov 02, 2004
Abbreviated \today
\newcommand{\abbrtoday}{\ifcase\month\or%
Jan.\or Feb.\or Mar.\or Apr.\or May\or Jun.\or%
Jul.\or Aug.\or Sep.\or Oct.\or Nov.\or Dec.\fi%
\space\number\day, \number\year}
Category: /computer/tex
| Permalink
Fri, Oct 22, 2004
tabbing environment example
\begin{tabbing}
xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx\= \= the longest span \kill
P. O. Box xxxx, Beijing, \>\` Phone: \>\` (xxx) xxx-xxx \\
1000xx P. R. China \>\` Email: \>\` {\tt xxx@xxx.xxx}
\end{tabbing}
Category: /computer/tex
| Permalink
Mon, Sep 13, 2004
How to install font symbols' packages (like ifsym) in teTeX?
It's so easy to generate and set up a new .sty file.
But how can we install a font/symbol package like ifsym ?
Is this a general method ?
- create a directory $TEXMF/fonts/sources/public/ifsym
- copy all the *.mf *.gen to this directory
- create a directory $TEXMF/tex/latex/ifsym
- copy all the *sty *.fd to this directory
- Add the following lines to the file:
$TEXMF/fontname/special.map
ifsym public ifsym
ifgeo public ifsym
ifwea public ifsym
ifclk public ifsym
- update the TeX file database by running texhash or whatever your Tex
imprementation provides.
- create a document:
\documentclass{article}
\usepackage[geometry]{ifsym}
\begin{document}
\Circle
\SquareShadowA
\end{document}
- Run LaTeX, if everything is fine, you should see a dvi that has a big
circle and a big square shaded with a simple line at bottom and right of the
square.
(See: http://www.tug.org/pipermail/tugindia/2001-August/000056.html)
Category: /computer/tex
| Permalink