]> hackdaworld.org Git - lectures/latex.git/commitdiff
initial checkin: general.tex
authorhackbard <hackbard>
Sun, 13 Nov 2005 12:30:41 +0000 (12:30 +0000)
committerhackbard <hackbard>
Sun, 13 Nov 2005 12:30:41 +0000 (12:30 +0000)
general.tex [new file with mode: 0644]

diff --git a/general.tex b/general.tex
new file mode 100644 (file)
index 0000000..49f6872
--- /dev/null
@@ -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{}
+