% 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

% 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\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}

\begin{document}

\begin{tabular}{l|cccc}
                            & \textbf{wncyr}  & \textbf{polish cmr} 
			    & \textbf{lasy}   & \textbf{ec} \\ \hline
    \verb|\guillemotleft|   & \CyrGLeft       & \PlGLeft 
                            & \LaGLeft        & \ECGLeft  \\
    \verb|\guillemotright|  & \CyrGRight      & \PlGRight
                            & \LaGRight       & \ECGRight
\end{tabular}
  
\end{document}
