von LatexTyp » Sa 18. Jan 2014, 19:34
Für meine Kopfzeile habe ich das Usepackage "fancyheadings" genutzt. In der linken Bildhälfte soll das Kapitel stehen, in der rechten die Seitenanzahl.
Code:
%
\documentclass[12pt]{report}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{anysize}
\usepackage{fancyheadings}
\usepackage{titletoc}
\usepackage[ngerman]{babel}
\marginsize{10mm}{10mm}{10mm}{10mm}
\usepackage[pdftex]{graphicx}
\usepackage{geometry}
\geometry{a4paper,top=25mm,left=17mm,right=18mm,bottom=30mm}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markright{Kapitel \chapter}}
\lhead[\bfseries\rightmark] {\bfseries\rightmark}
\rhead[\bfseries Seite:\thepage] {\bfseries Seite:\thepage}
...
Einmal hat es damit funktioniert. Nun erhalte ich die Fehlermeldung:
"line 1"
"! Incomplete \iffalse; all text was ignored after line 60.<inserted text>\fi<> tutorial1.texThe file ended while I was skipping conditional text.This kind of error happens when you say `\if...' and forgetthe matching `\fi'. I've inserted a `\fi'; this might work.! Emergency stop.<> tutorial1.tex (job aborted, no legal \end found)Here is how much of TeX's memory you used:3584 strings out of 49392144436 string characters out of 3147291107145 words of memory out of 30000006828 multiletter control sequences out of 15000+20000028722 words of font info for 24 fonts, out of 3000000 for 9000841 hyphenation exceptions out of 819128i,10n,45p,2137b,265s stack positions out of 5000i,500n,10000p,200000b,50000s! ==> Fatal error occurred, no output PDF file produced!"
Für meine Kopfzeile habe ich das Usepackage "fancyheadings" genutzt. In der linken Bildhälfte soll das Kapitel stehen, in der rechten die Seitenanzahl.
Code:
[code]%
\documentclass[12pt]{report}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[T1]{fontenc}
\usepackage{anysize}
\usepackage{fancyheadings}
\usepackage{titletoc}
\usepackage[ngerman]{babel}
\marginsize{10mm}{10mm}{10mm}{10mm}
\usepackage[pdftex]{graphicx}
\usepackage{geometry}
\geometry{a4paper,top=25mm,left=17mm,right=18mm,bottom=30mm}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{\markright{Kapitel \chapter}}
\lhead[\bfseries\rightmark] {\bfseries\rightmark}
\rhead[\bfseries Seite:\thepage] {\bfseries Seite:\thepage}
...
[/code]
Einmal hat es damit funktioniert. Nun erhalte ich die Fehlermeldung:
"line 1"
"! Incomplete \iffalse; all text was ignored after line 60.<inserted text>\fi<> tutorial1.texThe file ended while I was skipping conditional text.This kind of error happens when you say `\if...' and forgetthe matching `\fi'. I've inserted a `\fi'; this might work.! Emergency stop.<> tutorial1.tex (job aborted, no legal \end found)Here is how much of TeX's memory you used:3584 strings out of 49392144436 string characters out of 3147291107145 words of memory out of 30000006828 multiletter control sequences out of 15000+20000028722 words of font info for 24 fonts, out of 3000000 for 9000841 hyphenation exceptions out of 819128i,10n,45p,2137b,265s stack positions out of 5000i,500n,10000p,200000b,50000s! ==> Fatal error occurred, no output PDF file produced!"