Changeset 856


Ignore:
Timestamp:
Nov 16, 2009, 9:15:32 PM (12 years ago)
Author:
Arno Wacker
Message:

PluginHowTo: Style-update (even more fancy now)

  • Replaced png-logo with eps/pdf versions
  • Still todo: the watermark-logo must be lighter, and the header/footer pngs should be replaced with eps/pdf versions
Location:
trunk/Documentation/Developer/PluginHowTo
Files:
2 added
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/Documentation/Developer/PluginHowTo/HowToDeveloper.tex

    r845 r856  
    1 \documentclass[11pt, a4paper, titlepage]{scrbook}
     1\documentclass[11pt, a4paper, titlepage]{scrreprt}
    22
    33\usepackage[latin1]{inputenc}
     
    1818
    1919
     20
    2021\geometry{a4paper, portrait, left=2cm, right=2cm, top=2cm, bottom=2cm, includefoot}
     22
    2123
    2224%\pagestyle{headings}
     
    2830\fancyhead[R]{\rightmark} %Kopfzeile rechts
    2931
    30 \fancyfoot[C]{\AddToShipoutPicture*{\BackgroundFooterPic}} %zentrierte Fußzeile
    31 \fancyfoot[EL,OR]{\thepage} %Seitennummer
    32 \fancyfoot[ER,OL]{\includegraphics[height=0.5cm]{figures/ct2Logo.png}}
     32\fancyfoot[C]{\thepage\AddToShipoutPicture*{\BackgroundFooterPic}} %zentrierte Fußzeile
     33%\fancyfoot[EL,OR]{\thepage} %Seitennummer
     34%\fancyfoot[ER,OL]{\includegraphics[height=0.3cm]{figures/ct_logo}}
    3335
    3436\renewcommand{\headrulewidth}{2pt} %obere Trennlinie
    3537\renewcommand{\footrulewidth}{2pt} %untere Trennlinie
     38
     39\newlength{\headbgwidth}
     40\setlength{\headbgwidth}{\headwidth}
     41\addtolength{\headbgwidth}{0.5mm}
     42%\addtolength{\headwidth}{\marginparwidth}
     43
    3644
    3745\renewcommand{\headrule}{{\color{orange}\hrule width\headwidth height\headrulewidth \vskip-\headrulewidth}}
     
    4250\newcommand\BackgroundHeaderPic{
    4351%\AddToShipoutPicture{%
    44     \setlength{\@tempdimb}{1.9cm}%
     52    \setlength{\@tempdimb}{1.85cm}%
    4553    \setlength{\@tempdimc}{28.4cm}%
    4654    \setlength{\unitlength}{1pt}%
    4755    \put(\strip@pt\@tempdimb,\strip@pt\@tempdimc){
    48         \parbox[b][\headheight]{\headwidth}{%
    49             \includegraphics[width=\headwidth, height=\headheight]{figures/ct2Header.png}%
    50         }
     56        \includegraphics[width=\headbgwidth, height=\headheight]{figures/ct2Header.png}%
    5157    }
    5258}
     
    5460\newcommand\BackgroundFooterPic{
    5561%\AddToShipoutPicture{%
    56     \setlength{\@tempdimb}{1.9cm}%
     62    \setlength{\@tempdimb}{1.85cm}%
    5763    \setlength{\@tempdimc}{1.8cm}%
    5864    \setlength{\unitlength}{1pt}%
    5965    \put(\strip@pt\@tempdimb,\strip@pt\@tempdimc){
    60         \parbox[b][0.8cm]{\headwidth}{%
    61             \includegraphics[width=\headwidth, height=0.8cm]{figures/ct2Footer.png}%
    62         }
     66        \includegraphics[width=\headbgwidth, height=0.7cm]{figures/ct2Footer.png}%
    6367    }
    6468}
    6569
     70\newcommand\WaterMarkPic{%
     71    \setlength{\@tempdimb}{1.85cm}%
     72    \setlength{\@tempdimc}{2.7cm}%
     73    \setlength{\unitlength}{1pt}%
     74    \put(\strip@pt\@tempdimb,\strip@pt\@tempdimc){
     75            \includegraphics[width=0.7\textwidth]{figures/ct_logo}%
     76    }
     77}
    6678\makeatother
    6779
     
    128140        \tableofcontents
    129141
     142   
     143    \AddToShipoutPicture{\WaterMarkPic}
     144
     145
     146    \begin{abstract}
     147    \textbf{Abstract.} This document is intended for plugin developers.
     148    \end{abstract}
     149
    130150        \include{part1}
    131151        \include{part2}
  • trunk/Documentation/Developer/PluginHowTo/frontpage.tex

    r845 r856  
    77    \begin{figure} [ht]
    88           \centering
    9        \includegraphics[height=4cm]{figures/ct2Logo.png}
     9       \includegraphics[height=4cm]{figures/ct_logo}
    1010    \end{figure}
    1111   
Note: See TracChangeset for help on using the changeset viewer.