Anzeige:
Ergebnis 1 bis 15 von 20

Thema: Kopf- und Fußzeile gestalten

Hybrid-Darstellung

Vorheriger Beitrag Vorheriger Beitrag   Nächster Beitrag Nächster Beitrag
  1. #1
    Registrierter Benutzer
    Registriert seit
    15.01.2009
    Beiträge
    24

    Kopf- und Fußzeile gestalten

    Hallo,

    ich hab da noch ein Problem mit der Gestaltung meiner Kopf- und Fußzeile. Laut Vorgabe soll das so aussehen:

    Kopfzeile:
    http://tmp.mandrine.de/?view=./Kopfzeile.png

    Fußzeile:
    http://tmp.mandrine.de/?view=./Fusszeile.png

    Die Frage ist jetzt wie bekomm ich das so hin? Ich hab mir schon das Paket scrpage2 eingebunden. Nur in der PDF dazu (KMOA-Script) find ich beispielsweise keine Eintrag zum Einbinden von Grafiken.

    Könnte mir da evt. jemand weiterhelfen, wie ich oben gezeigte Kopf- und Fußzeile so hinbekomme?

    Danke

    PS: Er zeigt nur leider meine beiden Bilder ich an, hab mal die url so reingestellt??!!
    Geändert von n4s3 (18-03-2009 um 13:02 Uhr)

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

    hier habe ich beschrieben wie man einen eigenen pagestyle erstellen kann bei dem neben der linie ein bild eingefuegt wird.

    http://www.mrunix.de/forums/showthread.php?t=63526

    das bild ueber der linie sollte auch kein problem sein. in der anleitung findest du nichts speziell zu bildern da man eben innerhalb des kopfzeilenbefehls fast alles verwenden kann was auch sonst in LaTeX geht (bilder, tabellen, tikz-diagramme, ...)

    irgendwann mach ich da mal ein paket draus ^^

    die fusszeile sieht ganz einfach aus. sie enthaelt wohl nur \headmark und etwas tiefer die seitenzahl \pagemark

    schau dir mal an ob du die definition eines seitenstils verstehst und ob du das adaptieren kannst.

    gruss
    Mein Ball ist umgefallen

  3. #3
    Registrierter Benutzer
    Registriert seit
    15.01.2009
    Beiträge
    24
    tut mir echt leid, aber ich verstehe da nur bahnhof

    - mit welchen paket, befehl kann ich überhaupt meine kopf- fußzeile selbst gestalten?
    - wo muss, kann ich die grafik einbinden?
    - wie bekomm ich \pagemark unter \headmark?

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

    dann musst du bis heute abend warten oder auf andere einfaelle die besser sind als meine
    ich habe gerade keine testmoeglichkeiten
    Mein Ball ist umgefallen

  5. #5
    Registrierter Benutzer
    Registriert seit
    15.01.2009
    Beiträge
    24
    Och, nur keinen Stress wegen mir.
    Heut abend reicht völlig ...

  6. #6
    Registrierter Benutzer
    Registriert seit
    16.02.2009
    Beiträge
    22
    Bevor ich einen neuen Thread aufmache, klinke ich mich mal schnell hier ein:

    Ich kriege auf einer Seite, auf der ich die abstract-Umgebung verwende, keine Kopfzeile hin!

    Minimalbeispiel:
    Code:
    \documentclass[abstracton,openany,titlepage,nochapterprefix,tocindent]{scrreprt}
    \usepackage[automark]{scrpage2}
    \usepackage[notindex,nottoc]{tocbibind}
    
    \setkomafont{pagehead}{\scshape}
    \renewcommand*{\chapterpagestyle}{scrheadings}
    \pagestyle{scrheadings}
    
    \begin{document}
    \ohead{\pagemark} \ihead{\headmark} \chead[]{} \cfoot[]{}
    \setheadsepline{1pt} \clearpage \pagenumbering{Roman}
    \linespread{1.2} \typearea[current]{last}
    
    \markright{Zusammenfassung}
    \renewcommand{\abstractname}{Zusammenfassung}
    \begin{abstract}
    Blablabla
    \end{abstract}
    
    \newpage
    
    \markright{Erklärung}
    \renewcommand{\abstractname}{Erklärung}
    \begin{abstract}
    Blablabla
    \end{abstract}
    
    \end{document}
    Wie kriege ich jetzt die Bezeichnungen "Zusammenfassung" bzw. "Erklärung" in den linken Teil der Kopfzeile, die arabische Seitenzahl in die rechte? Hatte das vorher (leider nicht sehr schick) mit \section* gelöst, da ging's problemlos.

  7. #7
    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
  •