view DESpecs/abbreviations.tex @ 1:e295e4c94593

version 2008-09-23
author Wolfgang Schmidle <wschmidle@mpiwg-berlin.mpg.de>
date Fri, 26 Nov 2010 18:42:09 +0100
parents 106aa1285f04
children 2531dd8fe4ba
line wrap: on
line source

%!TEX TS-program = xelatex 
%!TEX encoding = UTF-8 Unicode 
%!TEX root = ../DESpecs.tex

\usepackage{xspace} \xspaceaddexceptions{”}
\usepackage{ifthen}

\newcommand{\ch}[1]		{chapter~\ref{#1}}
\newcommand{\sect}[1]		{section~\ref{#1}}
\newcommand{\fig}[1]		{figure~\vref{#1}}
\newcommand{\Fig}[1]		{Figure~\vref{#1}}
\newcommand{\tbl}[1]		{table~\vref{#1}}

\newcommand{\ie}			{i.e. }
\newcommand{\eg}			{e.g. }

\newcommand{\qq}			{\qquad}

\newcommand{\spitz}[1]		{\ensuremath{\langle}#1\ensuremath{\rangle}}

\newcommand{\mehrzeilen}[1][1]{\enlargethispage{#1\baselineskip}}


% Zeilenabstand

\usepackage{setspace} 
\newenvironment{enum}{\begin{enumerate} \singlespacing} {\end{enumerate}}
\newenvironment{items}{\begin{itemize} \singlespacing} {\end{itemize}}


% verbatim

\usepackage{alltt}
\newcommand{\klein}{\small}
\newenvironment{exakt}[1][\small]{\singlespacing#1\begin{alltt}}{\end{alltt}}

\usepackage{shortvrb}
\MakeShortVerb{\§}


%%%%%%%%%%%%%%%%

%\newenvironment{mainrule}{\textit{Rule}}{}
\newenvironment{mainrule}{}{}

%\newfontfamily{\ht}[Mapping=tex-text]{Hoefler Text} 
%\newfontfamily{\tnr}[Mapping=tex-text]{Times New Roman} 
%\newenvironment{example}{\tnr\textit{Example}}{}
%\newenvironment{example}{{\scshape Example}}{}

\newenvironment{example}{{\fontspec{Hoefler Text}{\scshape Example}}}{}
%\newenvironment{example}{{\fontspec{DejaVu Sans}{\scshape Example}}}{}



%\newenvironment{type}{\begin{alltt}}{\end{alltt}}

\newenvironment{typeLatin}{\begin{alltt}\begin{tabular}{l}}{\end{tabular}\end{alltt}}

\newcommand{\bs}{\textbackslash}
\newenvironment{typeBetacode}{\begin{alltt}\small\begin{tabular}{l}}{\end{tabular}\end{alltt}}

%\newfontfamily{\greek}[Scale=0.8]{Courier New} % [Scale=1]{Minion Pro}, [Scale=0.8]{Andale Mono} 
\newfontfamily{\greek}[Scale=0.8]{DejaVu Sans Mono} 
\newenvironment{typeGreek}{\begin{alltt}\greek\begin{tabular}{l}}{\end{tabular}\end{alltt}}

\newenvironment{exception}{\small\textit{Exception}}{}
%\newenvironment{exception}{\small}{}

%\newenvironment{clarification}{\small\textit{Clarification}}{}
\newenvironment{clarification}{\small}{}