diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-09 00:49:07 +0000 |
commit | 007f67a693e4d031fd3d792df8e4d5f43e2cb2e7 (patch) | |
tree | 90d17e00e572ecb1e24764b6f29c80e098b08d29 /Master/texmf-dist/doc/latex/aeguill/guil-test2.tex | |
parent | 950209b26f70aa87ed07c54f82a95b6f03b7c3a0 (diff) |
doc/latex
git-svn-id: svn://tug.org/texlive/trunk@84 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/aeguill/guil-test2.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/aeguill/guil-test2.tex | 74 |
1 files changed, 74 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/aeguill/guil-test2.tex b/Master/texmf-dist/doc/latex/aeguill/guil-test2.tex new file mode 100644 index 00000000000..6d8b2b6f82f --- /dev/null +++ b/Master/texmf-dist/doc/latex/aeguill/guil-test2.tex @@ -0,0 +1,74 @@ +% This file was kindly provided by Rolf Niepraschk and shows the +% differences between the various guillemets, without using the aeguill +% package. D. Roegel, 2000/05/22. +% +% guil-test2.tex + +% Rolf Niepraschk, 2000/05/20, email: niepraschk@ptb.de +% Denis Roegel, 2003/08/02: updated for LM fonts + +% dvips -Pwww -Ppl guil-test.dvi -o guil-test.ps + +\documentclass[a4paper,11pt]{article} +\usepackage[T1,OT2,OT4]{fontenc} + +\listfiles + +\setlength{\parindent}{0pt} + +\newcommand\CyrGuillemot{% + \def\selectguillfont{\fontencoding{OT2}\fontfamily{wncyr}\selectfont} + \def\guillemotleft{\selectguillfont\symbol{60}} + \def\guillemotright{\selectguillfont\symbol{62}} +} + +\newcommand\PlGuillemot{% + \def\selectguillfont{\fontencoding{OT4}\fontfamily{cmr}\selectfont} + \def\guillemotleft{\selectguillfont\symbol{174}} + \def\guillemotright{\selectguillfont\symbol{175}} +} + +\newcommand\LaGuillemot{% + \def\selectguillfont{\fontencoding{U}\fontfamily{lasy}% + \fontseries{m}\fontshape{n}\selectfont} + \def\guillemotleft{\selectguillfont\hbox{\symbol{40}% + \kern-0.20em\symbol{40}}} + \def\guillemotright{\selectguillfont\hbox{\symbol{41}% + \kern-0.20em\symbol{41}}} +} + +\newcommand\ECGuillemot{% + \def\selectguillfont{\fontencoding{T1}\fontfamily{cmr}\selectfont} + \def\guillemotleft{\selectguillfont\symbol{19}} + \def\guillemotright{\selectguillfont\symbol{20}} +} + +\newcommand\LMGuillemot{% + \def\selectguillfont{\fontencoding{T1}\fontfamily{lmr}\selectfont} + \def\guillemotleft{\selectguillfont\symbol{19}} + \def\guillemotright{\selectguillfont\symbol{20}} +} + +\newcommand\CyrGLeft{\CyrGuillemot\guillemotleft} +\newcommand\CyrGRight{\CyrGuillemot\guillemotright} +\newcommand\PlGLeft{\PlGuillemot\guillemotleft} +\newcommand\PlGRight{\PlGuillemot\guillemotright} +\newcommand\LaGLeft{\LaGuillemot\guillemotleft} +\newcommand\LaGRight{\LaGuillemot\guillemotright} +\newcommand\ECGLeft{\ECGuillemot\guillemotleft} +\newcommand\ECGRight{\ECGuillemot\guillemotright} +\newcommand\LMGLeft{\LMGuillemot\guillemotleft} +\newcommand\LMGRight{\LMGuillemot\guillemotright} + +\begin{document} + +\begin{tabular}{l|ccccc} + & \textbf{wncyr} & \textbf{polish cmr} + & \textbf{lasy} & \textbf{ec} & \textbf{lmr} \\ \hline + \verb|\guillemotleft| & \CyrGLeft & \PlGLeft + & \LaGLeft & \ECGLeft & \LMGLeft \\ + \verb|\guillemotright| & \CyrGRight & \PlGRight + & \LaGRight & \ECGRight & \LMGRight +\end{tabular} + +\end{document} |