Anzeige:
Seite 2 von 2 ErsteErste 12
Ergebnis 16 bis 20 von 20

Thema: Kopf- und Fußzeile gestalten

  1. #16
    Registrierter Benutzer
    Registriert seit
    15.01.2009
    Beiträge
    24
    Ok, hätte ich schon vorher erwähnen sollen...SORRY

    Soweit klappt jetzt auch alles ... nur hab ich noch drei kleinere Probleme:

    1. Auf den Seiten wo ein Kapitel anfängt 1. oder 2. , ... setzt er weder Kopf noch Fußzeile. Kann ich das irgendwie ändern?

    2.
    Code:
    \cfoot{\begin{tabularx}{\textwidth}{X}
    \centering\headmark\\
    \centering\pagemark
    \end{tabularx}}
    Der Zeilenumbruch erzeugt bei mir einen Fehler: "There is no line here to end" ... komische nur, dass es im Beispielprogramm von dir funktioniert?!

    3. Meine Kopfzeile sitzt nun sehr nah am am Textanfang. Wie kann ich das Bild unabhänig vom Text ein bissel nach oben schieben?

  2. #17
    Registrierter Benutzer Avatar von bobmalaria
    Registriert seit
    28.11.2006
    Ort
    Düsseldorf
    Beiträge
    4.174
    hi,

    1.
    auf seiten auf denen ein kapitel startet wird der plain pagestyle oder auch chapterpagestyle verwendet. dies soll dazu dienen, dass der leser darauf aufmerksam gemacht wird, dass ein neues kapitel beginnt. wenn du auf teufel komm raus ein logo haben moechtest reicht bei verwendung einer koma-klasse
    Code:
    \renewcommand{\chapterpagestyle}{scrheadings}
    dies ist aber explizit nicht empfohlen.

    2. hast du das paket tabularx geladen?

    3. ich vermute du musst deine kopfhoehe (\headheight) anpassen.
    schreibe an den anfang deines dokumentes

    Code:
    \the\headheight
    um die aktuelle laenge herauszufinden. justiere dann diese laenge mit

    Code:
    \setlength{\headheight}{25pt}
    wobei '25pt' eben die laenge ist fuer die du dich entscheidest, basierend auf der ausgangslaenge.
    Mein Ball ist umgefallen

  3. #18
    Registrierter Benutzer
    Registriert seit
    15.01.2009
    Beiträge
    24
    moin,

    zu 1.
    mein betreuer mag es leider so, also muss ich es so machen

    zu 2.
    ja, ich hab tabularx geladen. es funktioniert im dokument ja auch alles...nur gibt er mir eben letztens 12, heute 24 fehler raus mit "There is no line here to end". dabei springt er im dokument aber nur an zwei stellen immer hin und her.
    is also theoretisch nur eine formsache, da er in der pdf alles richtig dargestellt hat.
    nebenbei, in deinem beispielprogramm meckert er ja auch nicht, da kommt der fehler nich?!

    danke noch mal für die hilfe!!!

  4. #19
    Registrierter Benutzer
    Registriert seit
    15.01.2009
    Beiträge
    24
    keiner eine Idee woran es liegen könnte?

    Code:
    \cfoot{\begin{tabularx}{\textwidth}{X}
    \centering\headmark\\
    \centering\pagemark
    \end{tabularx}}
    wie gesagt nehm ich die \\ weg kommen keine fehler. nur dann gibts halt keine zweite zeile.

  5. #20
    pit88
    Gast

    Problem mit Kopfzeien

    Hallo, ich bin in der Endphase meiner Diplomarbeit und habe ein Problem mit den automatisch generierten Kopfzeilen. Über jeder Seite in der ganzen Diplomarbeit steht "Symbols", dabei sollte das nur dort stehen, wo auch die Symbole erklärt werden. Aus eigener schlechter Erfahrung, versuche ich lieber nicht an der Hauptdatei herumzuspielen
    Aber vielleicht weß ja jemand von euch die Lösung.
    Danke !

    %% ----------------------------------------------------------------
    %% Thesis.tex -- MAIN FILE (the one that you compile with LaTeX)
    %% ----------------------------------------------------------------

    % Set up the document
    \documentclass[a4paper, 11pt, oneside]{Thesis} % Use the "Thesis" style, based on the ECS Thesis style by Steve Gunn
    \graphicspath{{Figures/}} % Location of the graphics files (set up for graphics to be in PDF format)

    % Include any extra LaTeX packages required
    \usepackage[square, numbers, comma, sort&compress]{natbib} % Use the "Natbib" style for the references in the Bibliography
    \usepackage{verbatim} % Needed for the "comment" environment to make LaTeX comments
    \usepackage{vector} % Allows "\bvec{}" and "\buvec{}" for "blackboard" style bold vectors in maths
    \hypersetup{urlcolor=blue, colorlinks=true} % Colours hyperlinks in blue, but this can be distracting if there are many links.
    %% ----------------------------------------------------------------
    \begin{document}
    \frontmatter % Begin Roman style (i, ii, iii, iv...) page numbering

    % Set up the Title Page
    %{\title {Thesis Title}
    % \authors {\texorpdfstring
    % {\href{your web site or email address}{Author Name}}
    % {Author Name}
    % }
    % \addresses {\groupname\\\deptname\\\univname} % Do not change this here, instead these must be set in the "Thesis.cls" file, please look through it % instead
    % \date {\today}
    % \subject {}
    %\keywords {}

    % \maketitle
    \include{Chapters/Titelseite}
    %% ----------------------------------------------------------------

    \setstretch{1.3} % It is better to have smaller font and larger line spacing than the other way round

    % Define the page headers using the FancyHdr package and set up for one-sided printing
    \fancyhead{} % Clears all page headers and footers
    \rhead{\thepage} % Sets the right side header to show the page number
    \lhead{} % Clears the left side page header

    \pagestyle{fancy} % Finally, use the "fancy" page style to implement the FancyHdr headers

    %% ----------------------------------------------------------------
    % Declaration Page required for the Thesis, your institution may give you a different text to place here
    \Declaration{

    \addtocontents{toc}{\vspace{1em}} % Add a gap in the Contents, for aesthetics

    I, AUTHOR NAME, declare that this thesis titled, `THESIS TITLE' and the work presented in it are my own. I confirm that:

    \begin{itemize}
    \item[\tiny{$\blacksquare$}] This work was done wholly or mainly while in candidature for a research degree at this University.

    \item[\tiny{$\blacksquare$}] Where any part of this thesis has previously been submitted for a degree or any other qualification at this University or any other institution, this has been clearly stated.

    \item[\tiny{$\blacksquare$}] Where I have consulted the published work of others, this is always clearly attributed.

    \item[\tiny{$\blacksquare$}] Where I have quoted from the work of others, the source is always given. With the exception of such quotations, this thesis is entirely my own work.

    \item[\tiny{$\blacksquare$}] I have acknowledged all main sources of help.

    \item[\tiny{$\blacksquare$}] Where the thesis is based on work done by myself jointly with others, I have made clear exactly what was done by others and what I have contributed myself.
    \\
    \end{itemize}


    Signed:\\
    \rule[1em]{25em}{0.5pt} % This prints a line for the signature

    Date:\\
    \rule[1em]{25em}{0.5pt} % This prints a line to write the date
    }
    \clearpage % Declaration ended, now start a new page

    %% ----------------------------------------------------------------
    % The "Funny Quote Page"
    \pagestyle{empty} % No headers or footers for the following pages

    \null\vfill
    % Now comes the "Funny Quote", written in italics
    \textit{``Write a funny quote here.''}

    \begin{flushright}
    If the quote is taken from someone, their name goes here
    \end{flushright}

    \vfill\vfill\vfill\vfill\vfill\vfill\null
    \clearpage % Funny Quote page ended, start a new page
    %% ----------------------------------------------------------------

    % The Abstract Page
    \addtotoc{Abstract} % Add the "Abstract" page entry to the Contents
    \abstract{
    \addtocontents{toc}{\vspace{1em}} % Add a gap in the Contents, for aesthetics

    The Thesis Abstract is written here (and usually kept to just this page). The page is kept centered vertically so can expand into the blank space above the title too\ldots

    }

    \clearpage % Abstract ended, start a new page
    %% ----------------------------------------------------------------

    \setstretch{1.3} % Reset the line-spacing to 1.3 for body text (if it has changed)

    % The Acknowledgements page, for thanking everyone
    \acknowledgements{
    \addtocontents{toc}{\vspace{1em}} % Add a gap in the Contents, for aesthetics

    The acknowledgements and the people to thank go here, don't forget to include your project advisor\ldots

    }
    \clearpage % End of the Acknowledgements
    %% ----------------------------------------------------------------

    \pagestyle{fancy} %The page style headers have been "empty" all this time, now use the "fancy" headers as defined before to bring them back


    %% ----------------------------------------------------------------
    \lhead{\emph{Contents}} % Set the left side page header to "Contents"
    \tableofcontents % Write out the Table of Contents

    %% ----------------------------------------------------------------
    \lhead{\emph{List of Figures}} % Set the left side page header to "List if Figures"
    \listoffigures % Write out the List of Figures

    %% ----------------------------------------------------------------
    \lhead{\emph{List of Tables}} % Set the left side page header to "List of Tables"
    \listoftables % Write out the List of Tables

    %% ----------------------------------------------------------------
    \setstretch{1.5} % Set the line spacing to 1.5, this makes the following tables easier to read
    \clearpage % Start a new page
    \lhead{\emph{Abbreviations}} % Set the left side page header to "Abbreviations"
    \listofsymbols{ll} % Include a list of Abbreviations (a table of two columns)
    {
    % \textbf{Acronym} & \textbf{W}hat (it) \textbf{S}tands \textbf{F}or \\
    \textbf{LAH} & \textbf{L}ist \textbf{A}bbreviations \textbf{H}ere \\

    }

    %% ----------------------------------------------------------------
    \clearpage % Start a new page
    \lhead{\emph{Physical Constants}} % Set the left side page header to "Physical Constants"
    \listofconstants{lrcl} % Include a list of Physical Constants (a four column table)
    {
    % Constant Name & Symbol & = & Constant Value (with units) \\
    Speed of Light & $c$ & $=$ & $2.997\ 924\ 58\times10^{8}\ \mbox{ms}^{-\mbox{s}}$ (exact)\\

    }

    %% ----------------------------------------------------------------
    \clearpage %Start a new page
    \lhead{\emph{Symbols}} % Set the left side page header to "Symbols"
    \listofnomenclature{lll} % Include a list of Symbols (a three column table)
    {
    % symbol & name & unit \\
    $a$ & distance & m \\
    $P$ & power & W (Js$^{-1}$) \\
    & & \\ % Gap to separate the Roman symbols from the Greek
    $\omega$ & angular frequency & rads$^{-1}$ \\
    }
    %% ----------------------------------------------------------------
    % End of the pre-able, contents and lists of things
    % Begin the Dedication page

    \setstretch{1.3} % Return the line spacing back to 1.3

    \pagestyle{empty} % Page style needs to be empty for this page
    \dedicatory{For/Dedicated to/To my\ldots}

    \addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics


    %% ----------------------------------------------------------------
    \mainmatter % Begin normal, numeric (1,2,3...) page numbering
    \pagestyle{fancy} % Return the page headers back to the "fancy" style

    % Include the chapters of the thesis, as separate files
    % Just uncomment the lines as you write the chapters

    \input{./Chapters/Einleitung} % Introduction

    \input{./Chapters/1Theorie} % Background Theory

    \input{./Chapters/2Experiments}

    %\input{./Chapters/Chapter3} % Experimental Setup

    %\input{./Chapters/Chapter4} % Experiment 1

    %\input{./Chapters/Chapter5} % Experiment 2

    %\input{./Chapters/Chapter6} % Results and Discussion

    %\input{./Chapters/Chapter7} % Conclusion

    %% ----------------------------------------------------------------
    % Now begin the Appendices, including them as separate files

    \addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics

    \appendix % Cue to tell LaTeX that the following 'chapters' are Appendices

    \input{./Appendices/AppendixA} % Appendix Title

    %\input{./Appendices/AppendixB} % Appendix Title

    %\input{./Appendices/AppendixC} % Appendix Title

    \addtocontents{toc}{\vspace{2em}} % Add a gap in the Contents, for aesthetics
    \backmatter

    %% ----------------------------------------------------------------
    %\label{Bibliography}
    %\lhead{\emph{Bibliography}} % Change the left side page header to "Bibliography"
    %\bibliographystyle{unsrtnat} % Use the "unsrtnat" BibTeX style for formatting the Bibliography
    %\bibliography{Bibliography} % The references (bibliography) information are stored in the file named "Bibliography.bib"
    \include{Chapters/Bibliographie}
    \end{document} % The End
    %% ----------------------------------------------------------------

Stichworte

Lesezeichen

Berechtigungen

  • Neue Themen erstellen: Nein
  • Themen beantworten: Nein
  • Anhänge hochladen: Nein
  • Beiträge bearbeiten: Nein
  •