README.txt 5.18 KB
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183
Copyright (C) nemadesign GbR
$Rev: 80 $   
$Date: 2014-09-08 21:22:10 +0200 (Mo, 08. Sep 2014) $





Things to consider
==================
In case of a wrong linf for the 'Bilbiography' 
entry, add this before the '\addcontentsline{toc}{...}{...}:

Example:
-------- BEGIN ---------
\cleardoublepage
\phantomsection
% generate TOC
\addcontentsline{toc}{chapter}{Bibliography}
--------- END ----------

New macros
==========
\chapterpictopnum{_TEXT_}{_PIC_}{_WIDTH_}{_LABEL_}
\chapterpictopnonum{_TEXT_}{_PIC_}{_WIDTH_}{_LABEL_}

Add picture above chapter title

_TEXT_  : title for the chapter
_PIC_   : image file 
_WIDTH_ : relative width of text (1.0 equals text width)
_LABEL_ : name for the label of the chapter

Examples:
\chapterpicnum{Das Kapitel}{gfx/siemens-logo-wallpaper-1024x597.jpg}{0.5}
\chapterpicnonum{text text text}{gfx/siemens-logo-wallpaper-1024x597.jpg}{0.3}
______________________________________________________________________________________

\chapterpicrightnum{_TEXT_}{_PIC_}{_WIDTH_}{_LABEL_}
\chapterpicrightnonum{_TEXT_}{_PIC_}{_WIDTH_}{_LABEL_}

Add picture right to chapter title

_TEXT_  : title for the chapter
_PIC_   : image file 
_WIDTH_ : relative width of text (1.0 equals text width)
_LABEL_ : name for the label of the chapter

Examples:
\chapterpicrightnum{Chapter with Picture}{gfx/siemens-logo-wallpaper-1024x597.jpg}{0.5}
\chapterpicrightnonum{Chapter* with Picture}{gfx/siemens-logo-wallpaper-1024x597.jpg}{0.4}

______________________________________________________________________________________


\chapterpicteasernum{_TEXT_}{_PIC_}{_WIDTH_}{_LABEL_}{_TEASE_}
\chapterpicteasernonum{_TEXT_}{_PIC_}{_WIDTH_}{_LABEL_}{_TEASE_}

Chapter title with picture and teaser text.

In single column layout: white teaser text in grey box.
In double column layout: grey teaser text in white box.

_TEXT_  : title for the chapter
_PIC_   : image file 
_WIDTH_ : relative width of text (1.0 equals text width)
_LABEL_ : name for the label of the chapter
_TEASE_ : teaser text
Examples:
\chapterpicteasernum{Chapter \& Picture \& Teaser}{gfx/siemens-logo-wallpaper-1024x597.jpg}{0.5}{Text}
\chapterpicteasernonum{Chapter* \& Picture \& Teaser}{gfx/siemens-logo-wallpaper-1024x597.jpg}{0.4}{Text}

______________________________________________________________________________________

\tableofcontentspic{_TEXT_}{_PIC_}{_WIDTH_}
Add table of contents with picture

_TEXT_  : title for the chapter
_PIC_   : tmage file 
_WIDTH_ : relative width of text (1.0 equals text width)

Example:
\tableofcontentspic{Contents}{gfx/siemens-logo-wallpaper-1024x597.jpg}{0.5}

______________________________________________________________________________________

\gentitlepage{_PIC_}{_TEXT1_}{_TEXT2_}
Generate a titlepage

_PIC_    : image file (must be of square dimensions!)
_TEXT1_  : text above title
_TEXT2_  : text for title

Example:
\gentitlepage{gfx/Infineon-Baseband-Chip-X618.jpg}{Some text here}{Very long title for this Document Over Two Lines}
______________________________________________________________________________________

\gentitlepagenopic{_TEXT1_}{_TEXT2_}
Generate a titlepage without a picture

_TEXT1_  : text above title
_TEXT2_  : text for title

Example:
\gentitlepagenopic{Some text here}{Very long title for this Document Over Two Lines}
______________________________________________________________________________________

\genbackpage{_TEXT_}
Generate a backpage

_TEXT_  : white text

Example:
\genbackpage{Siemens AG}

______________________________________________________________________________________

\renewcommand{\shorttitle}{_TEXT_}
Set short title in header

_TEXT_  : text for short title

Example:
\renewcommand{\shorttitle}{Short title for paper}
______________________________________________________________________________________

\renewcommand{\shortdate}{_TEXT_}
Set date in short title

_TEXT_  : text for date in short title, default is \today

Example:
\renewcommand{\shortdate}{\today}
\renewcommand{\shortdate}{11.09.2011}
______________________________________________________________________________________

\renewcommand{\copyrightdate}{_TEXT_}
Set date in short title

_TEXT_  : text for date in copyright line on last page ,default is \today

Example:
\renewcommand{\copyrightdate}{\today}
\renewcommand{\copyrightdate}{11.09.2011}
______________________________________________________________________________________


Used LaTeX packages
===================
\usepackage[colorlinks=true, bookmarks=false]{hyperref}
\usepackage[scaled]{uarial}
\usepackage[T1]{fontenc}
%\usepackage[ngerman]{babel}
\usepackage[english]{babel}
\usepackage{amsmath}
\usepackage[pdftex]{graphicx}
\usepackage{multirow} 
\usepackage{subfigure} 
\usepackage{listings} 
\usepackage{courier}
\usepackage{titlesec}
\usepackage{scrpage2}
\usepackage{chngcntr}
\usepackage[table,usenames,dvipsnames]{xcolor}
\usepackage{booktabs}
\usepackage{color}
\usepackage{longtable}
\usepackage{colortbl}
\usepackage{fp}
\usepackage{eso-pic,picture}
\usepackage[absolute]{textpos}
\usepackage{multicol}
\usepackage{titletoc}
\usepackage{moresize}
\usepackage{printlen}
\usepackage{setspace}
\usepackage[colorlinks=true, bookmarks=false]{hyperref}

These packages are only used in the demo documents:
\usepackage{layout}
\usepackage{lipsum}