From: hackbard Date: Sun, 13 Nov 2005 12:30:41 +0000 (+0000) Subject: initial checkin: general.tex X-Git-Url: https://hackdaworld.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=88c19162bb85fd51fab208121641c246048e8b38;p=lectures%2Flatex.git initial checkin: general.tex --- diff --git a/general.tex b/general.tex new file mode 100644 index 0000000..49f6872 --- /dev/null +++ b/general.tex @@ -0,0 +1,52 @@ +%% +%% general.tex -- general stuff that should always be included +%% + +%% +%% no pdf output (pdflatex) +%% +\pdfoutput=0 + +%% +%% usefull packages +%% +\usepackage[activate]{pdfcprot} +\usepackage{verbatim} +\usepackage{a4} +\usepackage{a4wide} +\usepackage[german]{babel} +\usepackage[latin1]{inputenc} +\usepackage[T1]{fontenc} +\usepackage{amsmath} +\usepackage{ae} +\usepackage{aecompl} +\usepackage[dvips]{graphicx} +\graphicspath{{./img/}} +\usepackage{color} +\usepackage{pstricks} +\usepackage{pst-node} +%\usepackage{fancyhdr} +%\pagestyle{fancy} + +%% +%% (re)new commands +%% +\newcommand{\printimg}[5]{% + \begin{figure}[#1]% + \begin{center}% + \includegraphics[#2]{#3}% + \caption{#4}% + \label{#5}% + \end{center}% + \end{figure}% +} +\addto\captionsngerman{% + \renewcommand{\figurename}{Abb.}% + \renewcommand{\tablename}{Tab.}% +} + +%% +%% hyphenations +%% +\hyphenation{} +