]> git.lyx.org Git - features.git/commitdiff
UserGuide.lyx:
authorUwe Stöhr <uwestoehr@web.de>
Fri, 15 Jul 2011 04:19:32 +0000 (04:19 +0000)
committerUwe Stöhr <uwestoehr@web.de>
Fri, 15 Jul 2011 04:19:32 +0000 (04:19 +0000)
- document how to define custom headers/footers
- actualize list of available paper formats
- English version: some typos fixed

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@39302 a592a061-630c-0410-9148-cb99ea01b6c8

lib/doc/UserGuide.lyx
lib/doc/de/UserGuide.lyx
lib/doc/es/UserGuide.lyx
lib/doc/fr/UserGuide.lyx
lib/doc/ja/UserGuide.lyx

index a6ccd87c7677e31542bd6dd8a227d78bb4fb4081..fc9cdb54a56dc29984f98aa8713766ad77ff2a2a 100644 (file)
@@ -1,4 +1,4 @@
-#LyX 2.1 created this file. For more info see http://www.lyx.org/
+#LyX 2.0 created this file. For more info see http://www.lyx.org/
 \lyxformat 413
 \begin_document
 \begin_header
 % macro for italic page numbers in the index
 \newcommand{\IndexDef}[1]{\textit{#1}}
 
+% for customized page headers/footers
+% only needed because they are only used in one section of the document
+\usepackage{fancyhdr}
+% change header rule width
+\renewcommand{\headrulewidth}{2pt}
+
 % workaround for a makeindex bug,
 % see sec. "Index Entry Order"
 % only uncomment this when you are using makindex
@@ -52,6 +58,9 @@
 \end_preamble
 \options intoc,bibliography=totoc,index=totoc,BCOR7.5mm,captions=tableheading
 \use_default_options false
+\begin_modules
+customHeadersFooters
+\end_modules
 \maintain_unincluded_children false
 \language english
 \language_package default
@@ -2314,13 +2323,14 @@ Alt
 
 \end_deeper
 \begin_layout Standard
-You'll learn more and more keybindings and short-cut keys as you use LyX,
+You'll learn more and more key bindings and short-cut keys as you use LyX,
  because most actions will prompt a small message in the status bar at the
  bottom of LyX's main window which describe the name of the action, you've
- just triggered, and any existing keybindings for that action.
- The LyX menus also list the defined keybindings.
- The notation for the keybindings is very similar to the notation used in
- this documentation, so you should not have any problems understanding it.
+ just triggered, and any existing key bindings for that action.
+ The LyX menus also list the defined key bindings.
+ The notation for the key bindings is very similar to the notation used
+ in this documentation, so you should not have any problems understanding
+ it.
  However, notice that Shift-modifiers are explicitly mentioned, so 
 \begin_inset Quotes eld
 \end_inset
@@ -2345,7 +2355,7 @@ A
 \end_layout
 
 \begin_layout Standard
-You can list or change the keybindings in the menu 
+You can list or change the key bindings in the menu 
 \family sans
 Tools\SpecialChar \menuseparator
 Preferences
@@ -3694,6 +3704,7 @@ Format
  The choices are
 \end_layout
 
+\begin_deeper
 \begin_layout Itemize
 
 \family sans
@@ -3703,35 +3714,31 @@ Default
 \begin_layout Itemize
 
 \family sans
-A3, A4,
-\family default
-\family sans
-A5
+A0 - A6
 \end_layout
 
 \begin_layout Itemize
 
 \family sans
-B3, B4, B5
+B0 - B6
 \end_layout
 
 \begin_layout Itemize
 
 \family sans
-US letter
+C0 - C6
 \end_layout
 
 \begin_layout Itemize
 
 \family sans
-US legal
+US letter, US legal, US executive
 \end_layout
 
 \begin_layout Itemize
 
 \family sans
-US executive
+JIS B0 - JIS B6
 \end_layout
 
 \begin_layout Itemize
@@ -3740,6 +3747,7 @@ US executive
 Custom
 \end_layout
 
+\end_deeper
 \begin_layout Labeling
 \labelwidthstring 00.00.0000
 
@@ -3823,7 +3831,7 @@ Document ! Settings
 
 \begin_layout Standard
 If you use a KOMA-Script document class, you can use the default settings.
- Because KOMA-Script calculates then the printspace automatically by taking
+ Because KOMA-Script calculates then the print space automatically by taking
  the paper format and the font size into account.
 \end_layout
 
@@ -8712,7 +8720,7 @@ arg   "depth-increment"
 \family default
 : level #2) We'll stick an encapsulated description of how we created the
  example in parentheses someplace.
- For example, the two keybindings are how we changed the depth.
+ For example, the two key bindings are how we changed the depth.
  The environment name is the name of the current environment.
  Either before or after this, we'll put in the level.
 \end_layout
@@ -9129,7 +9137,7 @@ Spaces ! Protected
 \begin_layout Standard
 The protected space: It is used to tell LyX (and LaTeX) not to break the
  line at that point.
- This may be necessary to avoid unlucky linebreaks, like in: 
+ This may be necessary to avoid unlucky line breaks, like in: 
 \end_layout
 
 \begin_layout Quote
@@ -10150,7 +10158,7 @@ phantom
 \end_inset
 
 .
- The normal phantom ouputs the width and heigth of the content as space,
+ The normal phantom outputs the width and height of the content as space,
  while the horizontal and vertical variant only outputs the corresponding
  dimension.
 \end_layout
@@ -10472,7 +10480,7 @@ name "sub:Forced-Page-Breaks"
 \end_layout
 
 \begin_layout Standard
-If you don't like the way LaTeX does the pagebreaks in your document, you
+If you don't like the way LaTeX does the page breaks in your document, you
  can force a page break where you want one.
  Normally this will not be necessary, because LaTeX is good at page breaking.
  Only if you use a lot of 
@@ -10483,7 +10491,7 @@ Floats
 \end_layout
 
 \begin_layout Standard
-We recommend not to use forced pagebreaks until the text is finished and
+We recommend not to use forced page breaks until the text is finished and
  until you have checked in the preview to see if you 
 \emph on
 really
@@ -10492,7 +10500,7 @@ really
 \end_layout
 
 \begin_layout Standard
-There are two types of pagebreaks: One that ends the page without any special
+There are two types of page breaks: One that ends the page without any special
  action.
  This can be inserted above or below a paragraph via the menu 
 \family sans
@@ -10564,7 +10572,7 @@ Page breaks ! Clear
 \end_layout
 
 \begin_layout Standard
-Rather than forced pagebreaks where the content behind the break is placed
+Rather than forced page breaks where the content behind the break is placed
  directly on the next page, you can also clear pages while breaking them.
  That means that the current paragraph is terminated and everything, including
  unprocessed floats, from the earlier part of the document are placed behind
@@ -11081,7 +11089,7 @@ status open
 Note:
 \series default
  XeTeX and especially LuaTeX, are still rather new and thus not as mature
- as traditional LaTeX or PDFLaTeX.
+ as traditional LaTeX or PDFTeX.
 \end_layout
 
 \end_inset
@@ -29542,7 +29550,961 @@ key "latexcompanion,latexguide"
 \end_inset
 
 .
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage cleardoublepage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+pagestyle{fancy}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+switches temporarily to a page style with custom header and footer line
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Left Header
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+rightmark
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+defines the header line as described below
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Center Header
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Right Header
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+leftmark
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Left Footer
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+thepage
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Center Footer
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\family sans
+\series bold
+\color red
+LyX's user guide
+\end_layout
+
+\end_inset
+
+Magic code:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Right Footer
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+Roman{page}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Customized Page Headers and Footers
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Document ! Header/Footer line
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Header/Footer line
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+To define custom page header and footer line for your document, you need
+ to set the headings style to 
+\family sans
+Fancy
+\family default
+ in the 
+\family sans
+Document\SpecialChar \menuseparator
+Settings
+\family default
+ dialog under 
+\family sans
+Page
+\begin_inset space ~
+\end_inset
+
+Layout
+\family default
+.
+ As second step add in the menu 
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Modules
+\family default
+ the module 
+\begin_inset Quotes eld
+\end_inset
+
+Custom Header/Footerlines
+\begin_inset Quotes erd
+\end_inset
+
+.
+ This module offers the 6
+\begin_inset space ~
+\end_inset
+
+styles
+\end_layout
+
+\begin_layout Description
+Left
+\begin_inset space ~
+\end_inset
+
+Header,
+\begin_inset space ~
+\end_inset
+
+Center
+\begin_inset space ~
+\end_inset
+
+Header,
+\begin_inset space ~
+\end_inset
+
+Right
+\begin_inset space ~
+\end_inset
+
+Header
+\end_layout
+
+\begin_layout Description
+Left
+\begin_inset space ~
+\end_inset
+
+Footer,
+\begin_inset space ~
+\end_inset
+
+Center
+\begin_inset space ~
+\end_inset
+
+Footer,
+\begin_inset space ~
+\end_inset
+
+Right
+\begin_inset space ~
+\end_inset
+
+Footer
+\end_layout
+
+\begin_layout Standard
+for the different positions in the header/footer.
+\end_layout
+
+\begin_layout Standard
+Normally, headers and footers are set up in the beginning of the document.
+ but you can change them anywhere you want to.
+ Figure
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:Page-layout"
+
+\end_inset
+
+ shows the page layout and where the header/footer styles will appear.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="5" columns="3">
+<features tabularvalignment="middle">
+<column alignment="left" valignment="top" width="30line%">
+<column alignment="center" valignment="top" width="30line%">
+<column alignment="right" valignment="top" width="30line%">
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Left Header
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Center Header
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Right Header
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell multicolumn="1" alignment="left" valignment="top" leftline="true" rightline="true" usebox="none" width="90line%">
+\begin_inset Text
+
+\begin_layout Plain Layout
+The normal text on the page goes here.
+ The running header is above thel text, and the footer is below (including
+ footnotes).
+ Headers/footers typically contain things like the page number, title of
+ the chapter, company logo but your can use almost anything, except of floats.
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Left Footer
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Center Footer
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Right Footer
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:Page-layout"
+
+\end_inset
+
+Page layout with custom header and footer line.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Definition
+\end_layout
+
+\begin_layout Standard
+To define your header line, add all 3
+\begin_inset space ~
+\end_inset
+
+header styles.
+ The things you add to the styles will appear on uneven pages, the things
+ in the optional arguments on even pages.
+ For single-sided documents, the optional argument will not be used and
+ can be omitted.
+ If you leave a style or its argument empty, nothing will appear in the
+ output.
+ Defining the footer line works similar.
+\end_layout
+
+\begin_layout Standard
+For the definition, you will need some LaTeX-commands that are inserted
+ as TeX-code (menu 
+\family sans
+Insert\SpecialChar \menuseparator
+Te
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\family sans
+{}
+\end_layout
+
+\end_inset
+
+X
+\begin_inset space ~
+\end_inset
+
+Code
+\family default
+):
+\end_layout
+
+\begin_layout Description
+
+\backslash
+thepage prints the current page number
+\end_layout
+
+\begin_layout Description
+
+\backslash
+Roman{page} prints the current page number with capital roman numerals
+\end_layout
+
+\begin_layout Description
+
+\backslash
+roman{page} prints the current page number with small roman numerals
+\end_layout
+
+\begin_layout Description
+
+\backslash
+leftmark prints the current section number and title.
+ In case of a book, it prints the current chapter title instead, but this
+ document is an article.
+ It is called 
+\begin_inset Quotes eld
+\end_inset
+
+leftmark
+\begin_inset Quotes prd
+\end_inset
+
+ because it usually goes in a left header.
+\end_layout
+
+\begin_layout Description
+
+\backslash
+rightmark prints the name and number of the current subsection number and
+ title.
+ If it is a book it prints the current section title.
+ It is normally used in the right header.
+\end_layout
+
+\begin_layout Subsection
+Default headers/footers
+\end_layout
+
+\begin_layout Standard
+Custom headers and footers are not empty by default.
+ The default header contains the chapter and section title and the center
+ footer has the page number.
+ In order to remove unwanted headers/footers, include the relevant header/footer
+ style in your document, but leave it blank.
+ So, if you don't want a page number in the footer, perhaps because you
+ put it int he header instead, include a blank center footer to get rid
+ of the default.
+\end_layout
+
+\begin_layout Subsection
+Appearance
+\end_layout
+
+\begin_layout Standard
+The custom headers and footers will appear on normal pages.
+ Some pages are different.
+ The title page has a style of its own, and so has any page that starts
+ a new part or chapter in your book.
+ Such pages will not have the custom headers/footers, but that is normal.
+ There is for example no need to print a header with the chapter name on
+ the chapter page where the chapter heading is in big bold letters anyway.
+\end_layout
+
+\begin_layout Subsubsection
+Header and footer decoration line
+\end_layout
+
+\begin_layout Standard
+By default, you get a 0.4
+\begin_inset space \thinspace{}
+\end_inset
+
+pt thick line below the header and no footer line.
+ This can be changed in the document preamble with the commands 
+\series bold
+
+\backslash
+headrulewidth
+\series default
+ and 
+\series bold
+
+\backslash
+footrulewidth
+\series default
+ in the following scheme:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+headrulewidth}{thickness}
+\end_layout
+
+\begin_layout Standard
+Where thickness is a size in standard units like 
+\family sans
+pt
+\family default
+ or 
+\family sans
+mm
+\family default
+.
+ If you don't want a line, set the thickness to 0
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+\end_layout
+
+\begin_layout Standard
+The lines can also be colored, but this requires more knowledge of LaTeX.
+ If you really need this, have a look in the Internet or in sec.
+\begin_inset space ~
+\end_inset
+
+4.4 of the book 
+\begin_inset CommandInset citation
+LatexCommand cite
+key "Mittelbach"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Subsubsection
+Several header/footer lines
+\end_layout
+
+\begin_layout Standard
+In case that you need more than one text line as a header/footer, you can
+ do this by adding a normal line break in the style definition.
+ However, the default height of the header/footer is only the one of one
+ text line.
+ To expand the height, redefine the LaTeX length 
+\series bold
+
+\backslash
+headheight
+\series default
+ or 
+\series bold
+
+\backslash
+footheight
+\series default
+ in this scheme in your document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+setlength{
+\backslash
+headheight}{height}
+\end_layout
+
+\begin_layout Standard
+Where height is a size in standard units.
+ If you don't know which amount of space is needed for the height, define
+ your header/footer and preview your document as PDF.
+ Then open the LaTeX logfile via the menu 
+\family sans
+Document\SpecialChar \menuseparator
+LaT
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\family sans
+{}
+\end_layout
+
+\end_inset
+
+eX Log
+\family default
+ and look via the button 
+\family sans
+Next
+\begin_inset space ~
+\end_inset
+
+Warning
+\family default
+ if you find a warning of the package 
+\series bold
+fancyhdr
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-packages ! fancyhdr
+\end_layout
+
+\end_inset
+
+.
+ If there is such a warning, it contains the space that you need at least
+ for your header/footer.
+\end_layout
+
+\begin_layout Subsection
+This example
+\end_layout
+
+\begin_layout Standard
+This example demonstrates what can be done with custom header/footers.
+ Don't use it for yor document as it is just an example.
+ This example consists of the following definition:
+\end_layout
+
+\begin_layout Description
+Left
+\begin_inset space ~
+\end_inset
+
+Header 
+\series bold
+
+\backslash
+rightmark
+\series default
+, empty optional argument
+\end_layout
+
+\begin_layout Description
+Center
+\begin_inset space ~
+\end_inset
+
+Header empty, empty optional argument
+\end_layout
+
+\begin_layout Description
+Right
+\begin_inset space ~
+\end_inset
+
+Header empty, 
+\series bold
+
+\backslash
+leftmark
+\series default
+ in the optional argument
+\end_layout
+
+\begin_layout Description
+Left
+\begin_inset space ~
+\end_inset
+
+Footer empty, 
+\series bold
+
+\backslash
+thepage
+\series default
+ in the optional argument
+\end_layout
+
+\begin_layout Description
+Center
+\begin_inset space ~
+\end_inset
+
+Footer 
+\family sans
+\series bold
+\color red
+LyX's user guide
+\family default
+\series default
+\color inherit
+, 
+\begin_inset Quotes eld
+\end_inset
+
+Magic code:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+ in the optional argument
+\end_layout
+
+\begin_layout Description
+Right
+\begin_inset space ~
+\end_inset
+
+Footer 
+\series bold
+
+\backslash
+Roman{page}
+\series default
+, empty optional argument
+\end_layout
+
+\begin_layout Description
+
+\backslash
+headrulewidth set to 2
+\begin_inset space \thinspace{}
+\end_inset
+
+pt
+\end_layout
+
+\begin_layout Standard
+In principle you can use almost everything in headers/footers, except of
+ floats.
+ For more special things like e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space ~
+\end_inset
+
+thumb-indexes, see the manual of the 
+\series bold
+fancyhdr
+\series default
+ package, 
+\begin_inset CommandInset citation
+LatexCommand cite
+key "fancyhdr"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage clearpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+pagestyle{headings}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+switches back to page style with the default headings
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Section
index 7ee2c2b018960f0fd696151a237c4647fe03f19b..34bdf96ccd55ad1326d1219c0ebeba3dc4e23127 100644 (file)
   L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
   {LyX}}
 
+% macro for italic page numbers in the index
+\newcommand{\IndexDef}[1]{\textit{#1}}
+
+% for customized page headers/footers
+% only needed because they are only used in one section of the document
+\usepackage{fancyhdr}
+% change header rule width
+\renewcommand{\headrulewidth}{2pt}
+
 % workaround for a makeindex bug, 
 % see sec. "Index Entry Order"
 % only uncomment this when you are using makindex
@@ -49,6 +58,9 @@
 \end_preamble
 \options bibliography=totoc,index=totoc,BCOR7.5mm,captions=tableheading
 \use_default_options false
+\begin_modules
+customHeadersFooters
+\end_modules
 \maintain_unincluded_children false
 \language ngerman
 \language_package default
@@ -33733,8 +33745,7 @@ LaTeX-Paket ! caption
  Um es benutzen zu können, müssen Sie in 
 \family sans
 Dokument\SpecialChar \menuseparator
-Einstellungen\SpecialChar \ldots{}
-\SpecialChar \menuseparator
+Einstellungen\SpecialChar \menuseparator
 LaTe
 \begin_inset ERT
 status collapsed
@@ -33846,7 +33857,1005 @@ key "latex-einführung,latex-praxisbuch,latexcompanion,latexguide"
 \end_inset
 
 .
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage cleardoublepage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+pagestyle{fancy}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+wechselt temporär auf den Stil mit benutzerdefinierten Kopf/Fußzeilen
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Left Header
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+rightmark
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+definiert die Kopfzeile wie unten beschrieben
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Center Header
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Right Header
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+leftmark
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Left Footer
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+thepage
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Center Footer
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\family sans
+\series bold
+\color red
+LyXs Benutherhandbuch
+\end_layout
+
+\end_inset
+
+Magischer Code:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Right Footer
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+Roman{page}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+Benutzerdefinierte Kopf/Fußzeilen
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Dokument ! Kopf/Fußzeilen
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Kopf/Fußzeile
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+To define custom page header and footer line for your Dokument, you need
+ to set the headings style to 
+\family sans
+Fancy
+\family default
+ in the 
+\family sans
+Dokument\SpecialChar \menuseparator
+Einstellungen
+\family default
+ Dialog unter 
+\family sans
+Page
+\begin_inset space ~
+\end_inset
+
+Layout
+\family default
+.
+ Als zweiten Schritt add in the menu 
+\family sans
+Dokument\SpecialChar \menuseparator
+Einstellungen\SpecialChar \menuseparator
+Module
+\family default
+ das Modul 
+\begin_inset Quotes eld
+\end_inset
+
+Custom Header/Footerlines
+\begin_inset Quotes erd
+\end_inset
+
+
+\lang ngerman
+.
+ Dieses Modul bietet die 6
+\begin_inset space ~
+\end_inset
+
+Stile
+\end_layout
+
+\begin_layout Description
+Kopfzeile
+\begin_inset space ~
+\end_inset
+
+links,
+\begin_inset space ~
+\end_inset
+
+Kopfzeile
+\begin_inset space ~
+\end_inset
+
+mitte,
+\begin_inset space ~
+\end_inset
+
+Kopfzeile
+\begin_inset space ~
+\end_inset
+
+rechts
+\end_layout
+
+\begin_layout Description
+Fußzeile
+\begin_inset space ~
+\end_inset
+
+links,
+\begin_inset space ~
+\end_inset
+
+Fußzeile
+\begin_inset space ~
+\end_inset
+
+mitte,
+\begin_inset space ~
+\end_inset
+
+Fußzeile
+\begin_inset space ~
+\end_inset
+
+rechts
+\end_layout
+
+\begin_layout Standard
+für die verschiedenen Positionen in der Kopf/Fußzeile an.
+\end_layout
+
+\begin_layout Standard
+Normalerweise werden Kopf/Fußzeilen am Anfang eines Dokuments definiert,
+ aber man kann sie an jeder Stellen im Dokument ändern.
+ Abbildung
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:Page-layout"
+
+\end_inset
+
+ zeigt 
+\lang english
+the page layout
+\lang ngerman
+ und wo die Kopf/Fußzeilen Stile erscheinen.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="5" columns="3">
+<features tabularvalignment="middle">
+<column alignment="left" valignment="top" width="30line%">
+<column alignment="center" valignment="top" width="30line%">
+<column alignment="right" valignment="top" width="30line%">
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Kopfzeile links
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Kopfzeile mitte
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Kopfzeile rechts
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell multicolumn="1" alignment="left" valignment="top" leftline="true" rightline="true" usebox="none" width="90line%">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Der normale Text kommt hierhin.
+ Die Kopfzeile ist über dem Text, die Fußzeile darunter (inklusive Fußnooten).
+ Kopf/Fußzeilen enthalten typischer Weise Dinge wie die Seitenzahl, Titel
+ des Kapitels, Firmenlogo aber man kann eigentlich alles außer Gleitumgebungen
+ verwenden.
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Fußzeile links
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Fußzeile mitte
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Fußzeile rechts
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:Page-layout"
+
+\end_inset
+
+Page layout with custom header and footer line.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+Definition
+\end_layout
+
+\begin_layout Standard
+Um eine Kopfzeile zu definieren, fügt man alle 3
+\begin_inset space ~
+\end_inset
+
+Kopfzeilen-Stile ins Dokument ein.
+\lang english
+The things you add to the styles will appear on uneven pages, the things
+ in the optional arguments on even pages.
+ For single-sided documents, the optional argument will not be used and
+ can be omitted.
+ If you leave a style or its argument empty, nothing will appear in the
+ output.
+ Defining the footer line works similar.
+\end_layout
+
+\begin_layout Standard
+Für die Definition benötigt man einige LaTeX-Befehle die als TeX-Code (Menü
+\family sans
+Einfügen\SpecialChar \menuseparator
+Te
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\family sans
+{}
+\end_layout
+
+\end_inset
+
+X-Code
+\family default
+) eingefügt werden:
+\end_layout
+
+\begin_layout Description
+
+\backslash
+thepage
+\lang english
+ prints the current page number
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+Roman{page} prints the current page number with capital roman numerals
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+roman{page} prints the current page number with small roman numerals
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+leftmark prints the current section number and title.
+ In case of a book, it prints the current chapter title instead, but this
+ document is an article.
+ It is called 
+\lang ngerman
+
+\begin_inset Quotes pld
+\end_inset
+
+leftmark
+\begin_inset Quotes prd
+\end_inset
+
+\lang english
+because it usually goes in a left header.
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+rightmark prints the name and number of the current subsection number and
+ title.
+ If it is a book it prints the current section title.
+ It is normally used in the right header.
+\end_layout
+
+\begin_layout Subsection
+Voreingestellte Kopf/Fußzeilen
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Custom headers and footers are not empty by default.
+ The default header contains the chapter and section title and the center
+ footer has the page number.
+ In order to remove unwanted headers/footers, include the relevant header/footer
+ style in your document, but leave it blank.
+ So, if you don't want a page number in the footer, perhaps because you
+ put it int he header instead, include a blank center footer to get rid
+ of the default.
+\end_layout
+
+\begin_layout Subsection
+Erscheinungsbild
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The custom headers and footers will appear on normal pages.
+ Some pages are different.
+ The title page has a style of its own, and so has any page that starts
+ a new part or chapter in your book.
+ Such pages will not have the custom headers/footers, but that is normal.
+ There is for example no need to print a header with the chapter name on
+ the chapter page where the chapter heading is in big bold letters anyway.
+\end_layout
+
+\begin_layout Subsubsection
+Kopf/Fußzeilen Dekorationslinie
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+By default, you get a 0.4
+\begin_inset space \thinspace{}
+\end_inset
+
+pt thick line below the header and no footer line.
+ This can be changed in the document preamble with the commands
+\lang ngerman
+\series bold
+
+\backslash
+headrulewidth
+\series default
+ und 
+\series bold
+
+\backslash
+footrulewidth
+\series default
+\lang english
+in the following scheme:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+renewcommand{
+\backslash
+headrulewidth}{Dicke}
+\end_layout
+
+\begin_layout Standard
+Wobei Dicke eine Größe in Standard-Einheiten wie 
+\family sans
+pt
+\family default
+ oder 
+\family sans
+mm
+\family default
+ ist.
+\lang english
+If you don't want a line, set the thickness to 0
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The lines can also be colored, but this requires more knowledge of LaTeX.
+ If you really need this, have a look in the Internet or in sec.
+\begin_inset space ~
+\end_inset
+
+4.4 of the book
+\lang ngerman
+\begin_inset CommandInset citation
+LatexCommand cite
+key "Mittelbach"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Subsubsection
+Mehrere Kopf/Fußzeilen
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+In case that you need more than one text line as a header/footer, you can
+ do this by adding a normal line break in the style definition.
+ However, the default height of the header/footer is only the one of one
+ text line.
+ To expand the height, redefine the LaTeX length
+\lang ngerman
+\series bold
+
+\backslash
+headheight
+\series default
+ oder 
+\series bold
+
+\backslash
+footheight
+\series default
+\lang english
+in this scheme in your document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+
+\backslash
+setlength{
+\backslash
+headheight}{Höhe}
+\end_layout
+
+\begin_layout Standard
+Wobei Höhe eine Größe in Standard-Einheiten ist.
+ Weiß man nicht welche Höhe man benötigt, definiert man die Kopf/Fußzeilen
+ und schaut das Dokument als PDF an.
+ Anschließend öffet man das LaTeX-Protokoll über das Menü 
+\family sans
+Dokument\SpecialChar \menuseparator
+LaT
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\family sans
+{}
+\end_layout
+
+\end_inset
+
+eX-Protokoll 
+\family default
+und schaut mit Hilfe des Knopfes
+\lang english
  
+\family sans
+Next
+\begin_inset space ~
+\end_inset
+
+Warning
+\family default
+\lang ngerman
+ ob man eine Warnung des Pakets 
+\series bold
+fancyhdr
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX-Paket ! fancyhdr
+\end_layout
+
+\end_inset
+
+ findet.
+\lang english
+If there is such a warning, it contains the space that you need at least
+ for your header/footer.
+\end_layout
+
+\begin_layout Subsection
+Dieses Beispiel
+\end_layout
+
+\begin_layout Standard
+Dieses Beispiel demonstriert was man in Kopf/Fußzeilen machen kann.
+ Verwenden Sie es nicht für ihr Dokument, denn es ist ein nicht sehr sinnvolles
+ Beispiel.
+ Es besteht aus der folgenden Definition:
+\end_layout
+
+\begin_layout Description
+Kopfzeile
+\begin_inset space ~
+\end_inset
+
+links 
+\series bold
+
+\backslash
+rightmark
+\series default
+, leeres optionales Argument
+\end_layout
+
+\begin_layout Description
+Kopfzeile
+\begin_inset space ~
+\end_inset
+
+mitte leer, leeres optionales Argument
+\end_layout
+
+\begin_layout Description
+Kopfzeile
+\begin_inset space ~
+\end_inset
+
+rechts leer, 
+\series bold
+
+\backslash
+leftmark
+\series default
+ im optionalen Argument
+\end_layout
+
+\begin_layout Description
+Fußzeile
+\begin_inset space ~
+\end_inset
+
+links leer, 
+\series bold
+
+\backslash
+thepage
+\series default
+ im optionalen Argument
+\end_layout
+
+\begin_layout Description
+Fußzeile
+\begin_inset space ~
+\end_inset
+
+mitte 
+\family sans
+\series bold
+\color red
+LyXs Benutherhandbuch
+\family default
+\series default
+\color inherit
+, 
+\begin_inset Quotes eld
+\end_inset
+
+Magischer Code:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+ im optionalen Argument
+\end_layout
+
+\begin_layout Description
+Fußzeile
+\begin_inset space ~
+\end_inset
+
+rechts 
+\series bold
+
+\backslash
+Roman{page}
+\series default
+, leeres optionales Argument
+\end_layout
+
+\begin_layout Description
+
+\backslash
+headrulewidth auf 2
+\begin_inset space \thinspace{}
+\end_inset
+
+pt gesetzt
+\end_layout
+
+\begin_layout Standard
+Im Prinzip kann man in Kopf/Fußzeilen alles verwenden, außer Gleitumgebungen.
+ Für weitere spezielle Dinge wie z.
+\begin_inset space \thinspace{}
+\end_inset
+
+B.
+ Daumenregister, siehe das Handbuch des Pakets 
+\series bold
+fancyhdr
+\series default
+, 
+\begin_inset CommandInset citation
+LatexCommand cite
+key "fancyhdr"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage clearpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+pagestyle{headings}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+wechselt zurück zum Stil mit den Standard-Kopf/fußzeilen
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Section
index 195faabad41ae4681da90113c16c00db3e5cb1c3..3b7bb4446b8d3e604ba15cdb96ce8d9f51e53848 100644 (file)
 % macro for italic page numbers in the index
 \newcommand{\IndexDef}[1]{\textit{#1}}
 
+% for customized page headers/footers
+% only needed because they are only used in one section of the document
+\usepackage{fancyhdr}
+% change header rule width
+\renewcommand{\headrulewidth}{2pt}
+
 % workaround for a makeindex bug, 
 % see sec. "Index Entry Order"
 % only uncomment this when you are using makindex
@@ -52,6 +58,9 @@
 \end_preamble
 \options intoc,bibliography=totoc,index=totoc,BCOR7.5mm,captions=tableheading
 \use_default_options false
+\begin_modules
+customHeadersFooters
+\end_modules
 \maintain_unincluded_children false
 \language spanish
 \language_package default
@@ -3555,6 +3564,7 @@ papel
  Elección del tamaño de impresión del papel:
 \end_layout
 
+\begin_deeper
 \begin_layout Itemize
 
 \family sans
@@ -3564,35 +3574,31 @@ Predeterminado
 \begin_layout Itemize
 
 \family sans
-A3, A4,
-\family default
-\family sans
-A5
+A0 - A6
 \end_layout
 
 \begin_layout Itemize
 
 \family sans
-B3, B4, B5
+B0 - B6
 \end_layout
 
 \begin_layout Itemize
 
 \family sans
-Carta US
+C0 - C6
 \end_layout
 
 \begin_layout Itemize
 
 \family sans
-Oficio US
+Carta US, Oficio US, Ejecutivo US
 \end_layout
 
 \begin_layout Itemize
 
 \family sans
-Ejecutivo US
+JIS B0 - JIS B6
 \end_layout
 
 \begin_layout Itemize
@@ -3601,6 +3607,7 @@ Ejecutivo US
 Personalizado
 \end_layout
 
+\end_deeper
 \begin_layout Labeling
 \labelwidthstring 00.00.0000
 
@@ -30029,6 +30036,1056 @@ key "latexcompanion,latexguide"
 .
 \end_layout
 
+\begin_layout Standard
+\begin_inset Newpage cleardoublepage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+pagestyle{fancy}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+switches temporarily to a page style with custom header and footer line
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Left Header
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+rightmark
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+
+\lang english
+defines the header line as described below
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Center Header
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Right Header
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+leftmark
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Left Footer
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+thepage
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Center Footer
+
+\lang english
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\family sans
+\series bold
+\color red
+\lang english
+LyX's user guide
+\end_layout
+
+\end_inset
+
+Magic code
+\lang spanish
+:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Right Footer
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+Roman{page}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+
+\lang english
+Customized Page Headers and Footers
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+Documentos ! Header/Footer line
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+Header/Footer line
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+To define custom page header and footer line for your document, you need
+ to set the headings style to 
+\family sans
+Fancy
+\family default
+ in the 
+\family sans
+Document\SpecialChar \menuseparator
+Settings
+\family default
+ dialog under 
+\family sans
+Page
+\begin_inset space ~
+\end_inset
+
+Layout
+\family default
+.
+ As second step add in the menu 
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Modules
+\family default
+ the module 
+\begin_inset Quotes eld
+\end_inset
+
+Custom Header/Footerlines
+\begin_inset Quotes erd
+\end_inset
+
+.
+ This module offers the 6
+\begin_inset space ~
+\end_inset
+
+styles
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Left
+\begin_inset space ~
+\end_inset
+
+Header,
+\begin_inset space ~
+\end_inset
+
+Center
+\begin_inset space ~
+\end_inset
+
+Header,
+\begin_inset space ~
+\end_inset
+
+Right
+\begin_inset space ~
+\end_inset
+
+Header
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Left
+\begin_inset space ~
+\end_inset
+
+Footer,
+\begin_inset space ~
+\end_inset
+
+Center
+\begin_inset space ~
+\end_inset
+
+Footer,
+\begin_inset space ~
+\end_inset
+
+Right
+\begin_inset space ~
+\end_inset
+
+Footer
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+for the different positions in the header/footer.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Normally, headers and footers are set up in the beginning of the document.
+ but you can change them anywhere you want to.
+ Figure
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:Page-layout"
+
+\end_inset
+
+ shows the page layout and where the header/footer styles will appear.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="5" columns="3">
+<features tabularvalignment="middle">
+<column alignment="left" valignment="top" width="30line%">
+<column alignment="center" valignment="top" width="30line%">
+<column alignment="right" valignment="top" width="30line%">
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Left Header
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Center Header
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Right Header
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell multicolumn="1" alignment="left" valignment="top" leftline="true" rightline="true" usebox="none" width="90line%">
+\begin_inset Text
+
+\begin_layout Plain Layout
+The normal text on the page goes here.
+ The running header is above thel text, and the footer is below (including
+ footnotes).
+ Headers/footers typically contain things like the page number, title of
+ the chapter, company logo but your can use almost anything, except of floats.
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Left Footer
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Center Footer
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Right Footer
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:Page-layout"
+
+\end_inset
+
+Page layout with custom header and footer line.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Definition
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+To define your header line, add all 3
+\begin_inset space ~
+\end_inset
+
+header styles.
+ The things you add to the styles will appear on uneven pages, the things
+ in the optional arguments on even pages.
+ For single-sided documents, the optional argument will not be used and
+ can be omitted.
+ If you leave a style or its argument empty, nothing will appear in the
+ output.
+ Defining the footer line works similar.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+For the definition, you will need some LaTeX-commands that are inserted
+ as TeX-code (menu 
+\family sans
+Insert\SpecialChar \menuseparator
+Te
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\family sans
+{}
+\end_layout
+
+\end_inset
+
+X
+\begin_inset space ~
+\end_inset
+
+Code
+\family default
+):
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+thepage prints the current page number
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+Roman{page} prints the current page number with capital roman numerals
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+roman{page} prints the current page number with small roman numerals
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+leftmark prints the current section number and title.
+ In case of a book, it prints the current chapter title instead, but this
+ document is an article.
+ It is called 
+\begin_inset Quotes fld
+\end_inset
+
+leftmark
+\begin_inset Quotes frd
+\end_inset
+
+ because it usually goes in a left header.
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+rightmark prints the name and number of the current subsection number and
+ title.
+ If it is a book it prints the current section title.
+ It is normally used in the right header.
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Default headers/footers
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Custom headers and footers are not empty by default.
+ The default header contains the chapter and section title and the center
+ footer has the page number.
+ In order to remove unwanted headers/footers, include the relevant header/footer
+ style in your document, but leave it blank.
+ So, if you don't want a page number in the footer, perhaps because you
+ put it int he header instead, include a blank center footer to get rid
+ of the default.
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Appearance
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The custom headers and footers will appear on normal pages.
+ Some pages are different.
+ The title page has a style of its own, and so has any page that starts
+ a new part or chapter in your book.
+ Such pages will not have the custom headers/footers, but that is normal.
+ There is for example no need to print a header with the chapter name on
+ the chapter page where the chapter heading is in big bold letters anyway.
+\end_layout
+
+\begin_layout Subsubsection
+
+\lang english
+Header and footer decoration line
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+By default, you get a 0.4
+\begin_inset space \thinspace{}
+\end_inset
+
+pt thick line below the header and no footer line.
+ This can be changed in the document preamble with the commands 
+\series bold
+
+\backslash
+headrulewidth
+\series default
+ and 
+\series bold
+
+\backslash
+footrulewidth
+\series default
+ in the following scheme:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+
+\backslash
+renewcommand{
+\backslash
+headrulewidth}{thickness}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Where thickness is a size in standard units like 
+\family sans
+pt
+\family default
+ or 
+\family sans
+mm
+\family default
+.
+ If you don't want a line, set the thickness to 0
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The lines can also be colored, but this requires more knowledge of LaTeX.
+ If you really need this, have a look in the Internet or in sec.
+\begin_inset space ~
+\end_inset
+
+4.4 of the book
+\lang spanish
+\begin_inset CommandInset citation
+LatexCommand cite
+key "Mittelbach"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Subsubsection
+
+\lang english
+Several header/footer lines
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+In case that you need more than one text line as a header/footer, you can
+ do this by adding a normal line break in the style definition.
+ However, the default height of the header/footer is only the one of one
+ text line.
+ To expand the height, redefine the LaTeX length 
+\series bold
+
+\backslash
+headheight
+\series default
+ or 
+\series bold
+
+\backslash
+footheight
+\series default
+ in this scheme in your document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+
+\backslash
+setlength{
+\backslash
+headheight}{height}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Where height is a size in standard units.
+ If you don't know which amount of space is needed for the height, define
+ your header/footer and preview your document as PDF.
+ Then open the LaTeX logfile via the menu 
+\family sans
+Document\SpecialChar \menuseparator
+LaT
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\family sans
+{}
+\end_layout
+
+\end_inset
+
+eX Log
+\family default
+ and look via the button 
+\family sans
+Next
+\begin_inset space ~
+\end_inset
+
+Warning
+\family default
+ if you find a warning of the package
+\lang spanish
+\series bold
+fancyhdr
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+LaTeX, paquetes ! fancyhdr
+\end_layout
+
+\end_inset
+
+.
+\lang english
+If there is such a warning, it contains the space that you need at least
+ for your header/footer.
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+This example
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+This example demonstrates what can be done with custom header/footers.
+ Don't use it for yor document as it is just an example.
+ This example consists of the following definition:
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Left
+\begin_inset space ~
+\end_inset
+
+Header 
+\series bold
+
+\backslash
+rightmark
+\series default
+, empty optional argument
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Center
+\begin_inset space ~
+\end_inset
+
+Header empty, empty optional argument
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Right
+\begin_inset space ~
+\end_inset
+
+Header empty, 
+\series bold
+
+\backslash
+leftmark
+\series default
+ in the optional argument
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Left
+\begin_inset space ~
+\end_inset
+
+Footer empty, 
+\series bold
+
+\backslash
+thepage
+\series default
+ in the optional argument
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Center
+\begin_inset space ~
+\end_inset
+
+Footer 
+\family sans
+\series bold
+\color red
+LyX's user guide
+\family default
+\series default
+\color inherit
+, 
+\begin_inset Quotes eld
+\end_inset
+
+Magic code:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+ in the optional argument
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Right
+\begin_inset space ~
+\end_inset
+
+Footer 
+\series bold
+
+\backslash
+Roman{page}
+\series default
+, empty optional argument
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+headrulewidth set to 2
+\begin_inset space \thinspace{}
+\end_inset
+
+pt
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+In principle you can use almost everything in headers/footers, except of
+ floats.
+ For more special things like e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space ~
+\end_inset
+
+thumb-indexes, see the manual of the 
+\series bold
+fancyhdr
+\series default
+ package
+\lang spanish
+, 
+\begin_inset CommandInset citation
+LatexCommand cite
+key "fancyhdr"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage clearpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+pagestyle{headings}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+switches back to page style with the default headings
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
 \begin_layout Section
 Vista preliminar inmediata
 \begin_inset CommandInset label
index 9f85fe00767912c0068eebd98094e4ce2543a476..c1445ad76b698705171d5fdf9ae99ddd491b8141 100644 (file)
 % macro for italic page numbers in the index
 \newcommand{\IndexDef}[1]{\textit{#1}}
 
+% for customized page headers/footers
+% only needed because they are only used in one section of the document
+\usepackage{fancyhdr}
+% change header rule width
+\renewcommand{\headrulewidth}{2pt}
+
 % workaround for a makeindex bug, 
 % see sec. "Index Entry Order"
 % only uncomment this when you are using makindex
@@ -55,6 +61,9 @@
 \end_preamble
 \options intoc,bibliography=totoc,index=totoc,BCOR7.5mm,captions=tableheading
 \use_default_options false
+\begin_modules
+customHeadersFooters
+\end_modules
 \maintain_unincluded_children false
 \language french
 \language_package default
@@ -3576,31 +3585,31 @@ Défaut
 \begin_layout Itemize
 
 \family sans
-A3, A4, A5
+A0 - A6
 \end_layout
 
 \begin_layout Itemize
 
 \family sans
-B3, B4, B5
+B0 - B6
 \end_layout
 
 \begin_layout Itemize
 
 \family sans
-Lettre US
+C0 - C6
 \end_layout
 
 \begin_layout Itemize
 
 \family sans
-Légal US
+Lettre US, Légal US, Executive US
 \end_layout
 
 \begin_layout Itemize
 
 \family sans
-Executive US
+JIS B0 - JIS B6
 \end_layout
 
 \begin_layout Itemize
@@ -29704,7 +29713,7 @@ Question: Qui a été le premier prix Nobel de physique ?
 
 \begin_layout Standard
 \begin_inset Branch Réponses
-status open
+status collapsed
 
 \begin_layout Standard
 Réponse: Wilhelm Conrad Röntgen
@@ -30531,7 +30540,1056 @@ key "latexcompanion,latexguide"
 \end_inset
 
 .
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage cleardoublepage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+pagestyle{fancy}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+switches temporarily to a page style with custom header and footer line
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Left Header
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+rightmark
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+
+\lang english
+defines the header line as described below
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Center Header
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Right Header
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+leftmark
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Left Footer
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+thepage
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Center Footer
+
+\lang english
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\family sans
+\series bold
+\color red
+\lang english
+LyX's user guide
+\end_layout
+
+\end_inset
+
+Magic code
+\lang french
+:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Right Footer
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+Roman{page}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+
+\lang english
+Customized Page Headers and Footers
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+Document ! Header/Footer line
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+Header/Footer line
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+To define custom page header and footer line for your document, you need
+ to set the headings style to 
+\family sans
+Fancy
+\family default
+ in the 
+\family sans
+Document\SpecialChar \menuseparator
+Settings
+\family default
+ dialog under 
+\family sans
+Page
+\begin_inset space ~
+\end_inset
+
+Layout
+\family default
+.
+ As second step add in the menu 
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Modules
+\family default
+ the module 
+\begin_inset Quotes eld
+\end_inset
+
+Custom Header/Footerlines
+\begin_inset Quotes erd
+\end_inset
+
+.
+ This module offers the 6
+\begin_inset space ~
+\end_inset
+
+styles
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Left
+\begin_inset space ~
+\end_inset
+
+Header,
+\begin_inset space ~
+\end_inset
+
+Center
+\begin_inset space ~
+\end_inset
+
+Header,
+\begin_inset space ~
+\end_inset
+
+Right
+\begin_inset space ~
+\end_inset
+
+Header
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Left
+\begin_inset space ~
+\end_inset
+
+Footer,
+\begin_inset space ~
+\end_inset
+
+Center
+\begin_inset space ~
+\end_inset
+
+Footer,
+\begin_inset space ~
+\end_inset
+
+Right
+\begin_inset space ~
+\end_inset
+
+Footer
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+for the different positions in the header/footer.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Normally, headers and footers are set up in the beginning of the document.
+ but you can change them anywhere you want to.
+ Figure
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:Page-layout"
+
+\end_inset
+
+ shows the page layout and where the header/footer styles will appear.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="5" columns="3">
+<features tabularvalignment="middle">
+<column alignment="left" valignment="top" width="30line%">
+<column alignment="center" valignment="top" width="30line%">
+<column alignment="right" valignment="top" width="30line%">
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Left Header
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Center Header
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Right Header
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell multicolumn="1" alignment="left" valignment="top" leftline="true" rightline="true" usebox="none" width="90line%">
+\begin_inset Text
+
+\begin_layout Plain Layout
+The normal text on the page goes here.
+ The running header is above thel text, and the footer is below (including
+ footnotes).
+ Headers/footers typically contain things like the page number, title of
+ the chapter, company logo but your can use almost anything, except of floats.
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Left Footer
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Center Footer
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Right Footer
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:Page-layout"
+
+\end_inset
+
+Page layout with custom header and footer line.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Definition
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+To define your header line, add all 3
+\begin_inset space ~
+\end_inset
+
+header styles.
+ The things you add to the styles will appear on uneven pages, the things
+ in the optional arguments on even pages.
+ For single-sided documents, the optional argument will not be used and
+ can be omitted.
+ If you leave a style or its argument empty, nothing will appear in the
+ output.
+ Defining the footer line works similar.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+For the definition, you will need some LaTeX-commands that are inserted
+ as TeX-code (menu 
+\family sans
+Insert\SpecialChar \menuseparator
+Te
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\family sans
+{}
+\end_layout
+
+\end_inset
+
+X
+\begin_inset space ~
+\end_inset
+
+Code
+\family default
+):
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+thepage prints the current page number
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+Roman{page} prints the current page number with capital roman numerals
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+roman{page} prints the current page number with small roman numerals
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+leftmark prints the current section number and title.
+ In case of a book, it prints the current chapter title instead, but this
+ document is an article.
+ It is called 
+\begin_inset Quotes fld
+\end_inset
+
+leftmark
+\begin_inset Quotes frd
+\end_inset
+
+ because it usually goes in a left header.
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+rightmark prints the name and number of the current subsection number and
+ title.
+ If it is a book it prints the current section title.
+ It is normally used in the right header.
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Default headers/footers
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Custom headers and footers are not empty by default.
+ The default header contains the chapter and section title and the center
+ footer has the page number.
+ In order to remove unwanted headers/footers, include the relevant header/footer
+ style in your document, but leave it blank.
+ So, if you don't want a page number in the footer, perhaps because you
+ put it int he header instead, include a blank center footer to get rid
+ of the default.
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Appearance
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The custom headers and footers will appear on normal pages.
+ Some pages are different.
+ The title page has a style of its own, and so has any page that starts
+ a new part or chapter in your book.
+ Such pages will not have the custom headers/footers, but that is normal.
+ There is for example no need to print a header with the chapter name on
+ the chapter page where the chapter heading is in big bold letters anyway.
+\end_layout
+
+\begin_layout Subsubsection
+
+\lang english
+Header and footer decoration line
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+By default, you get a 0.4
+\begin_inset space \thinspace{}
+\end_inset
+
+pt thick line below the header and no footer line.
+ This can be changed in the document preamble with the commands 
+\series bold
+
+\backslash
+headrulewidth
+\series default
+ and 
+\series bold
+
+\backslash
+footrulewidth
+\series default
+ in the following scheme:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+
+\backslash
+renewcommand{
+\backslash
+headrulewidth}{thickness}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Where thickness is a size in standard units like 
+\family sans
+pt
+\family default
+ or 
+\family sans
+mm
+\family default
+.
+ If you don't want a line, set the thickness to 0
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The lines can also be colored, but this requires more knowledge of LaTeX.
+ If you really need this, have a look in the Internet or in sec.
+\begin_inset space ~
+\end_inset
+
+4.4 of the book
+\lang french
+\begin_inset CommandInset citation
+LatexCommand cite
+key "Mittelbach"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Subsubsection
+Several
+\lang english
+ header/footer lines
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+In case that you need more than one text line as a header/footer, you can
+ do this by adding a normal line break in the style definition.
+ However, the default height of the header/footer is only the one of one
+ text line.
+ To expand the height, redefine the LaTeX length 
+\series bold
+
+\backslash
+headheight
+\series default
+ or 
+\series bold
+
+\backslash
+footheight
+\series default
+ in this scheme in your document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+
+\backslash
+setlength{
+\backslash
+headheight}{height}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Where height is a size in standard units.
+ If you don't know which amount of space is needed for the height, define
+ your header/footer and preview your document as PDF.
+ Then open the LaTeX logfile via the menu 
+\family sans
+Document\SpecialChar \menuseparator
+LaT
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\family sans
+{}
+\end_layout
+
+\end_inset
+
+eX Log
+\family default
+ and look via the button 
+\family sans
+Next
+\begin_inset space ~
+\end_inset
+
+Warning
+\family default
+ if you find a warning of the package
+\lang french
+\series bold
+fancyhdr
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Paquetages LaTeX ! fancyhdr
+\end_layout
+
+\end_inset
+
+.
+\lang english
+If there is such a warning, it contains the space that you need at least
+ for your header/footer.
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+This example
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+This example demonstrates what can be done with custom header/footers.
+ Don't use it for yor document as it is just an example.
+ This example consists of the following definition:
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Left
+\begin_inset space ~
+\end_inset
+
+Header 
+\series bold
+
+\backslash
+rightmark
+\series default
+, empty optional argument
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Center
+\begin_inset space ~
+\end_inset
+
+Header empty, empty optional argument
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Right
+\begin_inset space ~
+\end_inset
+
+Header empty, 
+\series bold
+
+\backslash
+leftmark
+\series default
+ in the optional argument
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Left
+\begin_inset space ~
+\end_inset
+
+Footer empty, 
+\series bold
+
+\backslash
+thepage
+\series default
+ in the optional argument
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Center
+\begin_inset space ~
+\end_inset
+
+Footer 
+\family sans
+\series bold
+\color red
+LyX's user guide
+\family default
+\series default
+\color inherit
+, 
+\begin_inset Quotes eld
+\end_inset
+
+Magic code:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+ in the optional argument
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Right
+\begin_inset space ~
+\end_inset
+
+Footer 
+\series bold
+
+\backslash
+Roman{page}
+\series default
+, empty optional argument
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+headrulewidth set to 2
+\begin_inset space \thinspace{}
+\end_inset
+
+pt
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+In principle you can use almost everything in headers/footers, except of
+ floats.
+ For more special things like e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space ~
+\end_inset
+
+thumb-indexes, see the manual of the 
+\series bold
+fancyhdr
+\series default
+ package
+\lang french
+, 
+\begin_inset CommandInset citation
+LatexCommand cite
+key "fancyhdr"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage clearpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+pagestyle{headings}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+switches back to page style with the default headings
+\end_layout
+
+\end_inset
+
+
 \end_layout
 
 \begin_layout Section
index 77e7164ecc6c0001ed6dd94eac8dc77cbd58c0c3..0fe02ee2c25ff05c1a70cadca9086a31d080f427 100644 (file)
 % macro for italic page numbers in the index
 \newcommand{\IndexDef}[1]{\textit{#1}}
 
+% for customized page headers/footers
+% only needed because they are only used in one section of the document
+\usepackage{fancyhdr}
+% change header rule width
+\renewcommand{\headrulewidth}{2pt}
+
 \usepackage{t1enc}
 \renewcommand{\seename}{→}
 
@@ -65,6 +71,9 @@
 \end_preamble
 \options intoc,bibliography=totoc,index=totoc,BCOR7.5mm,captions=tableheading
 \use_default_options false
+\begin_modules
+customHeadersFooters
+\end_modules
 \maintain_unincluded_children false
 \language japanese
 \language_package default
@@ -4700,6 +4709,7 @@ status collapsed
 印刷する用紙寸法を選びます。選べるのは、次のサイズです。
 \end_layout
 
+\begin_deeper
 \begin_layout Itemize
 
 \family sans
@@ -4709,35 +4719,31 @@ status collapsed
 \begin_layout Itemize
 
 \family sans
-A3, A4,
-\family default
-\family sans
-A5
+A0 - A6
 \end_layout
 
 \begin_layout Itemize
 
 \family sans
-B3, B4, B5
+B0 - B6
 \end_layout
 
 \begin_layout Itemize
 
 \family sans
-USレター
+C0 - C6
 \end_layout
 
 \begin_layout Itemize
 
 \family sans
-USã\83ªã\83¼ã\82¬ã\83«
+USã\83¬ã\82¿ã\83¼, USã\83ªã\83¼ã\82¬ã\83«, USã\82¨ã\82°ã\82¼ã\82¯ã\83\86ã\82£ã\83\96
 \end_layout
 
 \begin_layout Itemize
 
 \family sans
-USエグゼクティブ
+JIS B0 - JIS B6
 \end_layout
 
 \begin_layout Itemize
@@ -4746,6 +4752,7 @@ USエグゼクティブ
 任意設定
 \end_layout
 
+\end_deeper
 \begin_layout Labeling
 \labelwidthstring 00.00.0000
 
@@ -36756,6 +36763,1056 @@ key "latexcompanion,latexguide"
 を参照してください。
 \end_layout
 
+\begin_layout Standard
+\begin_inset Newpage cleardoublepage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+pagestyle{fancy}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+switches temporarily to a page style with custom header and footer line
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Left Header
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+rightmark
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status open
+
+\begin_layout Plain Layout
+
+\lang english
+defines the header line as described below
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Center Header
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Right Header
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+leftmark
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Left Footer
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+thepage
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Center Footer
+
+\lang english
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\family sans
+\series bold
+\color red
+\lang english
+LyX's user guide
+\end_layout
+
+\end_inset
+
+Magic code
+\lang japanese
+:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
+\end_inset
+
+
+\end_layout
+
+\begin_layout Right Footer
+\begin_inset Argument
+status open
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+
+
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+Roman{page}
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Section
+
+\lang english
+Customized Page Headers and Footers
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+Document ! Header/Footer line
+\end_layout
+
+\end_inset
+
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+Header/Footer line
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+To define custom page header and footer line for your document, you need
+ to set the headings style to 
+\family sans
+Fancy
+\family default
+ in the 
+\family sans
+Document\SpecialChar \menuseparator
+Settings
+\family default
+ dialog under 
+\family sans
+Page
+\begin_inset space ~
+\end_inset
+
+Layout
+\family default
+.
+ As second step add in the menu 
+\family sans
+Document\SpecialChar \menuseparator
+Settings\SpecialChar \menuseparator
+Modules
+\family default
+ the module 
+\begin_inset Quotes eld
+\end_inset
+
+Custom Header/Footerlines
+\begin_inset Quotes erd
+\end_inset
+
+.
+ This module offers the 6
+\begin_inset space ~
+\end_inset
+
+styles
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Left
+\begin_inset space ~
+\end_inset
+
+Header,
+\begin_inset space ~
+\end_inset
+
+Center
+\begin_inset space ~
+\end_inset
+
+Header,
+\begin_inset space ~
+\end_inset
+
+Right
+\begin_inset space ~
+\end_inset
+
+Header
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Left
+\begin_inset space ~
+\end_inset
+
+Footer,
+\begin_inset space ~
+\end_inset
+
+Center
+\begin_inset space ~
+\end_inset
+
+Footer,
+\begin_inset space ~
+\end_inset
+
+Right
+\begin_inset space ~
+\end_inset
+
+Footer
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+for the different positions in the header/footer.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Normally, headers and footers are set up in the beginning of the document.
+ but you can change them anywhere you want to.
+ Figure
+\begin_inset space ~
+\end_inset
+
+
+\begin_inset CommandInset ref
+LatexCommand ref
+reference "fig:Page-layout"
+
+\end_inset
+
+ shows the page layout and where the header/footer styles will appear.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Float figure
+placement h
+wide false
+sideways false
+status open
+
+\begin_layout Plain Layout
+\noindent
+\align center
+\begin_inset Tabular
+<lyxtabular version="3" rows="5" columns="3">
+<features tabularvalignment="middle">
+<column alignment="left" valignment="top" width="30line%">
+<column alignment="center" valignment="top" width="30line%">
+<column alignment="right" valignment="top" width="30line%">
+<row>
+<cell alignment="left" valignment="top" topline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Left Header
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" topline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Center Header
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" topline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Right Header
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell multicolumn="1" alignment="left" valignment="top" leftline="true" rightline="true" usebox="none" width="90line%">
+\begin_inset Text
+
+\begin_layout Plain Layout
+The normal text on the page goes here.
+ The running header is above thel text, and the footer is below (including
+ footnotes).
+ Headers/footers typically contain things like the page number, title of
+ the chapter, company logo but your can use almost anything, except of floats.
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+
+\end_layout
+
+\end_inset
+</cell>
+</row>
+<row>
+<cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Left Footer
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="center" valignment="top" bottomline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Center Footer
+\end_layout
+
+\end_inset
+</cell>
+<cell alignment="right" valignment="top" bottomline="true" rightline="true" usebox="none">
+\begin_inset Text
+
+\begin_layout Plain Layout
+Right Footer
+\end_layout
+
+\end_inset
+</cell>
+</row>
+</lyxtabular>
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Plain Layout
+\begin_inset Caption
+
+\begin_layout Plain Layout
+\begin_inset CommandInset label
+LatexCommand label
+name "fig:Page-layout"
+
+\end_inset
+
+Page layout with custom header and footer line.
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Definition
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+To define your header line, add all 3
+\begin_inset space ~
+\end_inset
+
+header styles.
+ The things you add to the styles will appear on uneven pages, the things
+ in the optional arguments on even pages.
+ For single-sided documents, the optional argument will not be used and
+ can be omitted.
+ If you leave a style or its argument empty, nothing will appear in the
+ output.
+ Defining the footer line works similar.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+For the definition, you will need some LaTeX-commands that are inserted
+ as TeX-code (menu 
+\family sans
+Insert\SpecialChar \menuseparator
+Te
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\family sans
+{}
+\end_layout
+
+\end_inset
+
+X
+\begin_inset space ~
+\end_inset
+
+Code
+\family default
+):
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+thepage prints the current page number
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+Roman{page} prints the current page number with capital roman numerals
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+roman{page} prints the current page number with small roman numerals
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+leftmark prints the current section number and title.
+ In case of a book, it prints the current chapter title instead, but this
+ document is an article.
+ It is called 
+\begin_inset Quotes eld
+\end_inset
+
+leftmark
+\begin_inset Quotes prd
+\end_inset
+
+ because it usually goes in a left header.
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+rightmark prints the name and number of the current subsection number and
+ title.
+ If it is a book it prints the current section title.
+ It is normally used in the right header.
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Default headers/footers
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Custom headers and footers are not empty by default.
+ The default header contains the chapter and section title and the center
+ footer has the page number.
+ In order to remove unwanted headers/footers, include the relevant header/footer
+ style in your document, but leave it blank.
+ So, if you don't want a page number in the footer, perhaps because you
+ put it int he header instead, include a blank center footer to get rid
+ of the default.
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+Appearance
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The custom headers and footers will appear on normal pages.
+ Some pages are different.
+ The title page has a style of its own, and so has any page that starts
+ a new part or chapter in your book.
+ Such pages will not have the custom headers/footers, but that is normal.
+ There is for example no need to print a header with the chapter name on
+ the chapter page where the chapter heading is in big bold letters anyway.
+\end_layout
+
+\begin_layout Subsubsection
+
+\lang english
+Header and footer decoration line
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+By default, you get a 0.4
+\begin_inset space \thinspace{}
+\end_inset
+
+pt thick line below the header and no footer line.
+ This can be changed in the document preamble with the commands 
+\series bold
+
+\backslash
+headrulewidth
+\series default
+ and 
+\series bold
+
+\backslash
+footrulewidth
+\series default
+ in the following scheme:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+
+\backslash
+renewcommand{
+\backslash
+headrulewidth}{thickness}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Where thickness is a size in standard units like 
+\family sans
+pt
+\family default
+ or 
+\family sans
+mm
+\family default
+.
+ If you don't want a line, set the thickness to 0
+\begin_inset space \thinspace{}
+\end_inset
+
+pt.
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+The lines can also be colored, but this requires more knowledge of LaTeX.
+ If you really need this, have a look in the Internet or in sec.
+\begin_inset space ~
+\end_inset
+
+4.4 of the book
+\lang japanese
+\begin_inset CommandInset citation
+LatexCommand cite
+key "Mittelbach"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Subsubsection
+
+\lang english
+Several header/footer lines
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+In case that you need more than one text line as a header/footer, you can
+ do this by adding a normal line break in the style definition.
+ However, the default height of the header/footer is only the one of one
+ text line.
+ To expand the height, redefine the LaTeX length 
+\series bold
+
+\backslash
+headheight
+\series default
+ or 
+\series bold
+
+\backslash
+footheight
+\series default
+ in this scheme in your document preamble:
+\end_layout
+
+\begin_layout Standard
+
+\series bold
+\lang english
+
+\backslash
+setlength{
+\backslash
+headheight}{height}
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+Where height is a size in standard units.
+ If you don't know which amount of space is needed for the height, define
+ your header/footer and preview your document as PDF.
+ Then open the LaTeX logfile via the menu 
+\family sans
+Document\SpecialChar \menuseparator
+LaT
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+\family sans
+{}
+\end_layout
+
+\end_inset
+
+eX Log
+\family default
+ and look via the button 
+\family sans
+Next
+\begin_inset space ~
+\end_inset
+
+Warning
+\family default
+ if you find a warning of the package
+\lang japanese
+\series bold
+fancyhdr
+\series default
+
+\begin_inset Index idx
+status collapsed
+
+\begin_layout Plain Layout
+Latexぱっけーじ@LaTeXパッケージ ! fancyhdr
+\end_layout
+
+\end_inset
+
+.
+\lang english
+If there is such a warning, it contains the space that you need at least
+ for your header/footer.
+\end_layout
+
+\begin_layout Subsection
+
+\lang english
+This example
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+This example demonstrates what can be done with custom header/footers.
+ Don't use it for yor document as it is just an example.
+ This example consists of the following definition:
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Left
+\begin_inset space ~
+\end_inset
+
+Header 
+\series bold
+
+\backslash
+rightmark
+\series default
+, empty optional argument
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Center
+\begin_inset space ~
+\end_inset
+
+Header empty, empty optional argument
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Right
+\begin_inset space ~
+\end_inset
+
+Header empty, 
+\series bold
+
+\backslash
+leftmark
+\series default
+ in the optional argument
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Left
+\begin_inset space ~
+\end_inset
+
+Footer empty, 
+\series bold
+
+\backslash
+thepage
+\series default
+ in the optional argument
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Center
+\begin_inset space ~
+\end_inset
+
+Footer 
+\family sans
+\series bold
+\color red
+LyX's user guide
+\family default
+\series default
+\color inherit
+, 
+\begin_inset Quotes eld
+\end_inset
+
+Magic code:
+\begin_inset Newline newline
+\end_inset
+
+
+\begin_inset Formula $\Upsilon=\frac{\sqrt[3]{\aleph}}{\spadesuit}$
+\end_inset
+
+
+\begin_inset Quotes erd
+\end_inset
+
+ in the optional argument
+\end_layout
+
+\begin_layout Description
+
+\lang english
+Right
+\begin_inset space ~
+\end_inset
+
+Footer 
+\series bold
+
+\backslash
+Roman{page}
+\series default
+, empty optional argument
+\end_layout
+
+\begin_layout Description
+
+\lang english
+
+\backslash
+headrulewidth set to 2
+\begin_inset space \thinspace{}
+\end_inset
+
+pt
+\end_layout
+
+\begin_layout Standard
+
+\lang english
+In principle you can use almost everything in headers/footers, except of
+ floats.
+ For more special things like e.
+\begin_inset space \thinspace{}
+\end_inset
+
+g.
+\begin_inset space ~
+\end_inset
+
+thumb-indexes, see the manual of the 
+\series bold
+fancyhdr
+\series default
+ package
+\lang japanese
+, 
+\begin_inset CommandInset citation
+LatexCommand cite
+key "fancyhdr"
+
+\end_inset
+
+.
+\end_layout
+
+\begin_layout Standard
+\begin_inset Newpage clearpage
+\end_inset
+
+
+\end_layout
+
+\begin_layout Standard
+\begin_inset ERT
+status collapsed
+
+\begin_layout Plain Layout
+
+
+\backslash
+pagestyle{headings}
+\end_layout
+
+\end_inset
+
+
+\begin_inset Note Note
+status collapsed
+
+\begin_layout Plain Layout
+
+\lang english
+switches back to page style with the default headings
+\end_layout
+
+\end_inset
+
+
+\end_layout
+
 \begin_layout Section
 文書の断片プレビュー
 \begin_inset CommandInset label