
%
% Some macros and declarations I always need
%
%	By: Gabriel Zachmann
%


%   enable proper hyphenation with words containing \"a, etc.
%\usepackage[T1]{fontenc}		% switches on EC fonts
% drawback of 'fontenc': freely available only as bitmapped fonts
\usepackage{ae}
% 'ae' is a free substitute for Type-1 CM (=EC) fonts;
% only drawbacks:
% a) Glyphs guilsinglleft, guilsinglright, guillemotleft, guillemotright
%    perthousandzero, Eng, eng, Eth, Thorn, eth, thorn are missing
%    (see 'vftovp /usr/share/texmf/fonts/vf/public/ae/aer5.vf | grep \
%    "missing glyph"')
% b) When searching in acroread, one has to search for unaccented chars.
%
% ae.sty or fontenc.sty are only needed if Computer Modern is used.
% If Times (or another "Postscript" font) is used, they don't do anything.
%
% You *must* use options -Pcmz -Pamz with dvjps to get Type-1 fonts!
%
% Optimal solution instead of ae or fontenc: buy the EM fonts from Y&Y.

% text symbols (such as \textbullet, \textcopyright, \textmusicalnote,
% \textonequarter) in the TS1 encoding.
\usepackage{textcomp}

%   LaTeX understands ä, etc.
% Must use \usepackage[ansinew]{inputenc} under Windoze?
\usepackage[utf8]{inputenc}
% Konvertieren des Source von/nach Windows mit ASCon-A:
% http://www.medienwerkstatt-online.de/reload.html?/products/ascona/ascona.html

\usepackage{xspace}


%
% Document layout
%


\newcommand{\romansectionnumbers}%
{\renewcommand{\thesection}{\Roman{section}}}





%
% Hyphenation (hyphenate in all fonts)
%

\newcommand{\origttfamily}{}
\let\origttfamily=\ttfamily
\renewcommand{\ttfamily}{\origttfamily \hyphenchar\font=`\-}




%
%              Epsf pictures in the margin
%
% Synopsis:
%           \marginepsf{file}			% will look for 'file.eps'
%
% puts the epsf picture via \marginpar in the margin
%

\newcommand{\marginepsf}[1]{\marginpar{$$\epsffile{#1.eps}$$}}


%
% Abkuerzungen
% 

\newcommand{\ie}{i.\,e.\xspace}
\newcommand{\eg}{e.\,g.\xspace}
\newcommand{\zb}{z.\,B.\xspace}

