% mein LaTex - bitte ein beliebiges pdf als inputgrphics verwenden \documentclass[ 12pt, a4paper, listof=totoc, index=totoc ]{scrbook} \usepackage{etex} \reserveinserts{28} \KOMAoption{listof}{leveldown} \setcounter{tocdepth}{4} % tocdepth to be defined \usepackage{latexsym} \usepackage{gensymb} %ermoeglicht einfachere Symbole \celsius \usepackage[T1]{fontenc} \usepackage{textcomp} \usepackage{ae} %AE-Fonts; d.h. Type1-Fonts in PDF-Dokumenten \usepackage{microtype} %erlaubt pdflatex die Zeichenabstaende zu variieren \usepackage[pdftex]{graphicx} %eps vorher in pdf umgewandelt \usepackage{mathpazo} \usepackage{color} \usepackage[usenames,dvipsnames,svgnames,table]{xcolor} \usepackage{booktabs,colortbl,tabularx,longtable} \usepackage{framed} %---------- fuer den Test Longtable raggedright ---------------------------- \setlength{\LTleft}{0pt} \setlength\LTright\fill %-------Definitionen fuer die Tabellenumgebungen-------------------------- \definecolor{shadecolor}{gray}{0.7} \definecolor{MyBlue}{RGB}{79,129,189} %RGB Werte \setlength{\aboverulesep}{0pt} \setlength{\belowrulesep}{0pt} \setlength{\extrarowheight}{.75ex} %---------------------------------------------------------------------- \usepackage[ilines,footsepline,plainfootsepline]{scrpage2} \pagestyle{scrheadings} \setheadwidth[0pt]{textwithmarginpar} %derzeit Verschiebung 0 pt \setfootwidth[0pt]{head} \setfootsepline[text]{1pt}[\color{gray!25}] \addtokomafont{chapter}{\Large \color{white}} %Anpassung der �berschriftgr��e \addtokomafont{section}{\large} %Anpassung der �berschriftgr��e \setkomafont{pageheadfoot}{\normalsize\sffamily\bfseries} \addtokomafont{pagehead}{\color{white}} \setkomafont{pagenumber}{\normalfont\bfseries} \renewcommand*{\chapterheadstartvskip}{\vspace*{-\topskip}} \renewcommand*{\chapterheadstartvskip}{\vspace*{3,15cm}} %-------- \usepackage[top=24mm,bottom=24mm]{geometry} \usepackage[blur]{bclogo} \usepackage{tikz} % 1 \usetikzlibrary{decorations.text} % 1 \usepackage{caption} % 2 \usepackage{booktabs} % 3 \usepackage{mflogo} \usetikzlibrary{decorations.pathmorphing} \usetikzlibrary{shapes} %----------------------------------- Index --------------------------------------------------------------------- \usepackage{fix2col} \usepackage{scrindex} \makeindex \usepackage[pdftex, colorlinks=true, % pdfborder={0 0 1}, runcolor=red, runbordercolor=magenta]{hyperref} %pdfTEX nutzen, Hyperref als Letztes! %\usepackage[final]{pdfpages} \usepackage[absolute]{textpos} \setlength{\TPHorizModule}{3cm} \setlength{\TPVertModule}{\TPHorizModule} \textblockorigin{0mm}{0mm} % start in the top-left corner \setlength{\parindent}{0pt} \hypersetup{ bookmarks=true, % show bookmarks bar? pdftoolbar=true, % show Acrobat’s toolbar? pdfmenubar=true, % show Acrobat’s menu? pdffitwindow=false, % window fit to page when opened pdfstartview={FitH}, % fits the width of the page to the window pdfstartpage={8}, % die Seite auf der das File geöffnet wird pdfpagelayout={TwoPageLeft}, pdfdisplaydoctitle=true, %zeigt den Titel statt den Filenamen an! pdfhighlight={/O}, pdfauthor={author - \textcopyright EBM}, pdfcreator={XY}, pdftitle={\textcopyright EBM "Manual"}, pdfsubject={Subject}, pdfkeywords={A; B; C} pdfnewwindow=true, % links in new window % draft=false % hyperlinks an mit draft=false final=true % switch to draft for printable version } %======================================================================= \begin{document} %------------------------------------- Vorspann des Buches -- Seitenstil für Scrpage2 neu definiert ------------------- %----------------------------------------------------------------- Seitenstil PLAIN f. Kapitel auf Neutralen Stil \frontmatter \setkomafont{pagefoot}{\normalfont\sffamily \color{gray}} \ifoot[{\small EBM \hspace{1cm} Manual}]{\small EBM \hspace{1cm} Manual} \setheadwidth[0pt]{textwithmarginpar} \clearscrheadfoot \lehead[]{\makebox[\marginparwidth][r]% \hspace{\marginparsep}\headmark \begin{textblock}{7}(0,0) \includegraphics[width=21cm]{HeadstandardL} \end{textblock} } \rohead[{ \begin{textblock}{7}(0,0) \includegraphics[width=21cm]{HeadChapterNeutral} \end{textblock}} ] {\begin{textblock}{7}(0,0) \includegraphics[width=21cm]{HeadstandardR} \end{textblock} \headmark\makebox[\marginparwidth][l]% \hspace{\marginparsep} } \lefoot[{\makebox[\marginparwidth][r]{\pagemark}}] {\makebox[\marginparwidth][r]{\makebox[\marginparwidth][r]{\pagemark% ~\rule[-\dp\strutbox]{2pt}{\baselineskip}} }% } \rofoot[{\makebox[\marginparwidth][l]{\makebox[\marginparwidth][l] {\rule[-\dp\strutbox]{2pt}{\baselineskip}~\pagemark% }}}] {\makebox[\marginparwidth][l]{\makebox[\marginparwidth][l] {\rule[-\dp\strutbox]{2pt}{\baselineskip}~\pagemark% }} } \title{\vspace*{3cm} Manual} \author{EBM } \thanks{to AZ} \date{February 18 2015} \dedication{ \chapter*{One} \begin{textblock}{7}(0,0) \includegraphics[width=21cm]{HeadChapterNeutral} \end{textblock} \normalsize \raggedright The Intro \clearpage\newpage\vspace*{15cm} } \uppertitleback{upper side of the back of the titlepage} \lowertitleback{lower part of the back of the titlepage} \maketitle[-3] \tableofcontents \clearpage \newpage \vspace*{15cm} %---------------------------------------------------------Hauptteil des Buches --------------------------------------------------------- \mainmatter \clearscrheadfoot \setkomafont{pagefoot}{\normalfont\sffamily \color{gray}} \ifoot[{\small EBM \hspace{1cm} Manual}]{\small EBM \hspace{1cm} Manual} \lehead[]{\makebox[\marginparwidth][r]% \hspace{\marginparsep}\headmark \begin{textblock}{7}(0,0) \includegraphics[width=21cm]{HeadstandardL} \end{textblock} } \rohead[] {\begin{textblock}{7}(0,0) \includegraphics[width=21cm]{HeadstandardR} \end{textblock} \headmark\makebox[\marginparwidth][l]% \hspace{\marginparsep} } \lefoot[{\makebox[\marginparwidth][r]{\pagemark}}] {\makebox[\marginparwidth][r]{\makebox[\marginparwidth][r]{\pagemark% ~\rule[-\dp\strutbox]{2pt}{\baselineskip}} }% } \rofoot[{\makebox[\marginparwidth][l]{\makebox[\marginparwidth][l] {\rule[-\dp\strutbox]{2pt}{\baselineskip}~\pagemark% }}}] {\makebox[\marginparwidth][l]{\makebox[\marginparwidth][l] {\rule[-\dp\strutbox]{2pt}{\baselineskip}~\pagemark% }} } \chapter{Two} \begin{textblock}{7}(0,0) \includegraphics[width=21cm]{HeadChapterNeutral} \end{textblock} Text of chapter two. \clearpage \newpage \vspace*{15cm} \chapter{Three} \label{chap:names} \begin{textblock}{7}(0,0) \includegraphics[width=21cm]{HeadChapterThree} \end{textblock} Text of chapter three. \end{document} % Ende des Dokumentes [\code]
missing number treated as zero \maketitle und \mainmatter et Thema ist als GELÖST markiert
missing number treated as zero \maketitle und \mainmatter et
- Stefan Kottwitz
- Admin
- Beiträge: 2759
- Registriert: Di 8. Jul 2008, 00:39
- Kontaktdaten:
Der vorige Beitrag war ein Tipp durch die Blume.
Mein gleichbedeutender, ausführlicherer Tipp: führe Dich einfach so auf, wie Du es im normalen Leben tust. Zu einer Runde von LaTeX-Freunden, die anderen auf Anfrage in ihrer Zeit Hilfestellung geben, kommst Du bestimmt nicht einfach wortlos an den Tisch und legst einen Codezettel hin und gehst wieder, oder? Paar normale menschliche Worte, worum es geht und wobei es hapert, würdest Du sicher investieren. Ein "Hallo" ist uns ja noch recht egal, ohne "Teaser" lese ich mir einen langen Code auch nicht durch.
Stefan
Mein gleichbedeutender, ausführlicherer Tipp: führe Dich einfach so auf, wie Du es im normalen Leben tust. Zu einer Runde von LaTeX-Freunden, die anderen auf Anfrage in ihrer Zeit Hilfestellung geben, kommst Du bestimmt nicht einfach wortlos an den Tisch und legst einen Codezettel hin und gehst wieder, oder? Paar normale menschliche Worte, worum es geht und wobei es hapert, würdest Du sicher investieren. Ein "Hallo" ist uns ja noch recht egal, ohne "Teaser" lese ich mir einen langen Code auch nicht durch.
Stefan
Das Beispiel ist übrigens auch abgesehen von dem Fehler im Betreff nicht lauffähig. Minimal ist es vermutlich auch eher nicht. Siehe die Minimalbeispiel-Anleitung, wie man ein echtes vollständiges Minimalbeispiel erzeugt.
Außerdem enthält es diverse Absonderlichkeiten und Obsoletitäten, daher auch wieder einmal der Hinweis auf »Minimale Vorlage vs. maximale Probleme«.
Außerdem enthält es diverse Absonderlichkeiten und Obsoletitäten, daher auch wieder einmal der Hinweis auf »Minimale Vorlage vs. maximale Probleme«.