]> git.lyx.org Git - lyx.git/blobdiff - lib/doc/es/UserGuide.lyx
UserGuide.lyx:
[lyx.git] / lib / doc / es / UserGuide.lyx
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