Skip to content
Snippets Groups Projects
Commit 33a38ea1 authored by dietmarw's avatar dietmarw
Browse files

1. repaired option 'print' (see documentation of that option)

2. added automatic generation of pdf document properties (i.e. pdftitle, pdfsubject, pdfauthor, pdfcreator)
3. updated documentation for option 'print'

git-svn-id: https://svn.mdt.tu-berlin.de/Verwaltung/LaTeX@84 25a4be7b-f1fc-0310-ab71-aec12a0be8aa
parent c54c0bee
No related branches found
No related tags found
No related merge requests found
......@@ -48,7 +48,7 @@
\@printfalse
\DeclareOption{print}{%
\@printtrue%
\renewcommand{\extraBookmark}[2]{}%
% \renewcommand{\extraBookmark}[2]{}% deactivated since we have references to some bookmarks!
}%
% index-option
......@@ -84,12 +84,14 @@
\newcommand{\TUlogo}{\includegraphics[height=2cm]{TU-logo_gruen}}
\ifpdfoutput{
\if@print
% nothing
\RequirePackage[pdftex,plainpages=false,pdfpagelabels,hyperfootnotes=false]{hyperref}
\renewcommand{\TUlogo}{\includegraphics[height=2cm]{TU-logo_sw}}
\else
\RequirePackage[pdftex,colorlinks=true,linkcolor=blue,urlcolor=blue,plainpages=false,pdfpagelabels,hyperfootnotes=false]{hyperref}
\fi
}{%\else
\RequirePackage[dvips]{hyperref}
\if@print\renewcommand{\TUlogo}{\includegraphics[height=2cm]{TU-logo_sw}}\else\fi
}%\fi
\ifpdfoutput{}{%
\IfFileExists{logos/MDT-logo.eps}%
......@@ -197,6 +199,13 @@
% #5 Abgabedatum
% #6 Betreuer
\newcommand{\titelseite}[6]{%
% pdf document settings:
\hypersetup{%
pdftitle = {#3},%
pdfsubject = {#4},%
pdfauthor = {#1},%
pdfcreator = {\LaTeX\ with package \flqq hyperref\frqq}%
}%
\extraBookmark{Titelseite}{titleanc}%
\thispagestyle{empty}%
\begin{titlepage}%
......
No preview for this file type
%%**************************************************************
%**************************************************************
%% Version: filename rev date time last modified by
%% $Id$
%%**************************************************************
......@@ -17,7 +17,7 @@
%numberfirstline,%
breaklines=true,%
breakatwhitespace=true,%
%linewidth=0.9\textwidth,% ´´
%linewidth=0.9\textwidth,%
%xleftmargin=0.05\textwidth,%
frame=tlrb,%
captionpos=b%
......@@ -114,7 +114,7 @@ Alle aufgef
Die Option \option{nologo} schaltet die Verwendung der Logos auf der Titelseite ab.
Die Stellen der Logos bleiben jetzt leer.
\subsection{print}
Die Option \option{print} verändert eine Reihe von Einstellungen in der Art, daß das erzeugte Dokument sich optimal für den Ausdruck eignet.
Die Option \option{print} verändert eine Reihe von Einstellungen in der Art, daß das erzeugte Dokument sich optimal für den Ausdruck eignet (z.B. keine farbigen Verknüpfungen und TU-Logo in Schwarz-Weiß).
\subsection{onlytoc}
Wird keine Seite mit Formelzeichen verwendet, sollte die Option \option{onlytoc} eingesetzt werden.
Sie korrigiert in diesem Fall die nicht ganz richtige Formatierung der dem Inhaltsverzeichnis folgenden leeren Seite.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment