From: Uwe Stöhr Date: Sun, 14 Jan 2007 16:41:42 +0000 (+0000) Subject: - new documentation X-Git-Tag: 1.6.10~11201 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=f41eedd7ee9d6d4652f6609d9655a378eaaa0b24;p=features.git - new documentation - images used in the new documentation git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@16676 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/development/scons/scons_manifest.py b/development/scons/scons_manifest.py index 63dfe50b7c..0d277448e7 100644 --- a/development/scons/scons_manifest.py +++ b/development/scons/scons_manifest.py @@ -1324,8 +1324,6 @@ lib_bind_files = Split(''' aqua.bind ''') -lib_clipart_files = ['platypus.eps'] - lib_examples_files = Split(''' Foils.lyx @@ -2272,6 +2270,7 @@ lib_doc_files = Split(''' eu_Intro.lyx eu_Tutorial.lyx eu_UserGuide.lyx + Extended-Insets.lyx Extended.lyx FAQ.lyx fr_Customization.lyx @@ -2316,6 +2315,38 @@ lib_doc_files = Split(''' platypus.eps ''') + +lib_clipart_files = Split(''' + Abstract.lyx + Abstract.pdf + BoxInsetDefaultQt4.png + buffer-export_pdf2.png + buffer-view_dvi.png + ComentNotaImagen.png + CommentNoteImageQt4.png + CuadroMinipag.png + endnotes.pdf + escher-lsd.pdf + etiqueta.png + floatQt4.png + flotante.png + footnoteQt4.png + GreyedOutNoteImageQt4.png + GrisNotaImagen.png + labelQt4.png + LyXNoteImageQt4.png + mobius.pdf + NotaLyXImagen.png + notapie.png + platypus.eps + platypus.pdf + referenceQt4.png + referencia2.png + with_fntright.pdf + without_fntright.pdf +''') + + lib_lyx2lyx_files = Split(''' lyx2lyx lyx2lyx_lang.py @@ -2339,6 +2370,7 @@ lib_lyx2lyx_files = Split(''' test_parser_tools.py ''') + win32_bakoma_fonts = Split(''' Readme.txt Licence.txt diff --git a/lib/clipart/Abstract.lyx b/lib/clipart/Abstract.lyx new file mode 100644 index 0000000000..1da3f24314 --- /dev/null +++ b/lib/clipart/Abstract.lyx @@ -0,0 +1,61 @@ +#LyX 1.3 created this file. For more info see http://www.lyx.org/ +\lyxformat 221 +\textclass article +\language english +\inputencoding auto +\fontscheme default +\graphics default +\paperfontsize 12 +\spacing single +\papersize a5paper +\paperpackage a4 +\use_geometry 0 +\use_amsmath 0 +\use_natbib 0 +\use_numerical_citations 0 +\paperorientation portrait +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation skip +\defskip medskip +\quotes_language english +\quotes_times 2 +\papercolumns 1 +\papersides 1 +\paperpagestyle empty +\bullet 1 + 1 + 34 + -1 +\end_bullet +\bullet 2 + 2 + 35 + -1 +\end_bullet +\bullet 3 + 2 + 7 + -1 +\end_bullet + +\layout Abstract + +This is an abstract. + As you can see, ist is printed in a smaller font size than the other paragraph + types. +\layout Abstract + +Also several paragraphs are possible in the abstract. +\layout Standard + +This is a +\begin_inset Quotes eld +\end_inset + +Standard +\begin_inset Quotes erd +\end_inset + + paragraph to visualize the differences in the font size. +\the_end diff --git a/lib/clipart/Abstract.pdf b/lib/clipart/Abstract.pdf new file mode 100644 index 0000000000..9668e39d90 Binary files /dev/null and b/lib/clipart/Abstract.pdf differ diff --git a/lib/clipart/BoxInsetDefaultQt4.png b/lib/clipart/BoxInsetDefaultQt4.png new file mode 100644 index 0000000000..7ef32ecd22 Binary files /dev/null and b/lib/clipart/BoxInsetDefaultQt4.png differ diff --git a/lib/clipart/ComentNotaImagen.png b/lib/clipart/ComentNotaImagen.png new file mode 100644 index 0000000000..46d2753946 Binary files /dev/null and b/lib/clipart/ComentNotaImagen.png differ diff --git a/lib/clipart/CommentNoteImageQt4.png b/lib/clipart/CommentNoteImageQt4.png new file mode 100644 index 0000000000..7fe1fa4a05 Binary files /dev/null and b/lib/clipart/CommentNoteImageQt4.png differ diff --git a/lib/clipart/CuadroMinipag.png b/lib/clipart/CuadroMinipag.png new file mode 100644 index 0000000000..bc394fc576 Binary files /dev/null and b/lib/clipart/CuadroMinipag.png differ diff --git a/lib/clipart/GreyedOutNoteImageQt4.png b/lib/clipart/GreyedOutNoteImageQt4.png new file mode 100644 index 0000000000..64cf607d4f Binary files /dev/null and b/lib/clipart/GreyedOutNoteImageQt4.png differ diff --git a/lib/clipart/GrisNotaImagen.png b/lib/clipart/GrisNotaImagen.png new file mode 100644 index 0000000000..674e733bbb Binary files /dev/null and b/lib/clipart/GrisNotaImagen.png differ diff --git a/lib/clipart/LyXNoteImageQt4.png b/lib/clipart/LyXNoteImageQt4.png new file mode 100644 index 0000000000..79afcd4f77 Binary files /dev/null and b/lib/clipart/LyXNoteImageQt4.png differ diff --git a/lib/clipart/NotaLyXImagen.png b/lib/clipart/NotaLyXImagen.png new file mode 100644 index 0000000000..5052894606 Binary files /dev/null and b/lib/clipart/NotaLyXImagen.png differ diff --git a/lib/clipart/buffer-export_pdf2.png b/lib/clipart/buffer-export_pdf2.png new file mode 100644 index 0000000000..f3a9d3a74c Binary files /dev/null and b/lib/clipart/buffer-export_pdf2.png differ diff --git a/lib/clipart/buffer-view_dvi.png b/lib/clipart/buffer-view_dvi.png new file mode 100644 index 0000000000..24c2e528e4 Binary files /dev/null and b/lib/clipart/buffer-view_dvi.png differ diff --git a/lib/clipart/endnotes.pdf b/lib/clipart/endnotes.pdf new file mode 100644 index 0000000000..d1654feb69 Binary files /dev/null and b/lib/clipart/endnotes.pdf differ diff --git a/lib/clipart/escher-lsd.pdf b/lib/clipart/escher-lsd.pdf new file mode 100644 index 0000000000..2901947c5c Binary files /dev/null and b/lib/clipart/escher-lsd.pdf differ diff --git a/lib/clipart/etiqueta.png b/lib/clipart/etiqueta.png new file mode 100644 index 0000000000..c1d6d4b493 Binary files /dev/null and b/lib/clipart/etiqueta.png differ diff --git a/lib/clipart/floatQt4.png b/lib/clipart/floatQt4.png new file mode 100644 index 0000000000..abcb4d42b2 Binary files /dev/null and b/lib/clipart/floatQt4.png differ diff --git a/lib/clipart/flotante.png b/lib/clipart/flotante.png new file mode 100644 index 0000000000..3adeff4178 Binary files /dev/null and b/lib/clipart/flotante.png differ diff --git a/lib/clipart/footnoteQt4.png b/lib/clipart/footnoteQt4.png new file mode 100644 index 0000000000..e56ee0f4f0 Binary files /dev/null and b/lib/clipart/footnoteQt4.png differ diff --git a/lib/clipart/labelQt4.png b/lib/clipart/labelQt4.png new file mode 100644 index 0000000000..63e2dc7e5b Binary files /dev/null and b/lib/clipart/labelQt4.png differ diff --git a/lib/clipart/mobius.pdf b/lib/clipart/mobius.pdf new file mode 100644 index 0000000000..d933580d99 Binary files /dev/null and b/lib/clipart/mobius.pdf differ diff --git a/lib/clipart/notapie.png b/lib/clipart/notapie.png new file mode 100644 index 0000000000..7f44ea30f7 Binary files /dev/null and b/lib/clipart/notapie.png differ diff --git a/lib/clipart/platypus.pdf b/lib/clipart/platypus.pdf new file mode 100644 index 0000000000..ca4fec40a0 Binary files /dev/null and b/lib/clipart/platypus.pdf differ diff --git a/lib/clipart/referenceQt4.png b/lib/clipart/referenceQt4.png new file mode 100644 index 0000000000..0e4e1a5463 Binary files /dev/null and b/lib/clipart/referenceQt4.png differ diff --git a/lib/clipart/referencia2.png b/lib/clipart/referencia2.png new file mode 100644 index 0000000000..6ab304ad1f Binary files /dev/null and b/lib/clipart/referencia2.png differ diff --git a/lib/clipart/with_fntright.pdf b/lib/clipart/with_fntright.pdf new file mode 100644 index 0000000000..da31b4ee68 Binary files /dev/null and b/lib/clipart/with_fntright.pdf differ diff --git a/lib/clipart/without_fntright.pdf b/lib/clipart/without_fntright.pdf new file mode 100644 index 0000000000..539a1ca96e Binary files /dev/null and b/lib/clipart/without_fntright.pdf differ diff --git a/lib/doc/Extended-Insets.lyx b/lib/doc/Extended-Insets.lyx new file mode 100644 index 0000000000..c67d1bf90c --- /dev/null +++ b/lib/doc/Extended-Insets.lyx @@ -0,0 +1,27950 @@ +#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/ +\lyxformat 256 +\begin_document +\begin_header +\textclass scrbook +\begin_preamble +% provides missing characters, +\usepackage{textcomp} + +% provides caption formatting +\usepackage[labelfont={bf,sf}, tableposition=top]{caption} + +% provides commands to set caption +% beside tables/images +\usepackage{sidecap} + +\newcommand{\TabBesBeg}{% + \let\MyTable\table + \let\MyEndtable\endtable + \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}} + +\newcommand{\TabBesEnd}{% + \let\table\MyTable + \let\endtable\MyEndtable} + +\newcommand{\FigBesBeg}{% + \let\MyFigure\figure + \let\MyEndfigure\endfigure + \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}} + +\newcommand{\FigBesEnd}{% + \let\figure\MyFigure + \let\endfigure\MyEndfigure} + +% use the marginnote package for margin notes +\usepackage{marginnote} +\let\marginpar\marginnote + +% enables calculation of values, +\usepackage{calc} + +% provides special table cell alignments +\usepackage{dcolumn} + +% increase the bottom float placement fraction +\renewcommand{\bottomfraction}{0.5} + +% avoids that floats are placed before their +% corresponding section starts +\let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection} + +% speed up the longtable calculation +\setcounter{LTchunksize}{100} + +% define a new reference format +\newrefformat{fig} + {Figure~float~\ref{#1} printed on page~\pageref{#1}} + +% if pdflatex is used +\usepackage{ifpdf} +\ifpdf + +% set fonts for nicer pdf view +\IfFileExists{lmodern.sty} + {\usepackage{lmodern}} % if it exists + {% if it exists not + \usepackage[scaled=0.92]{helvet} + \usepackage{mathptmx} + \usepackage{courier} + } % end if it exists not + +% link all cross references and URLs +% in pdf output + \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1, + linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, + pdfpagelayout=OneColumn, pdfnewwindow=true, + pdfstartview=XYZ, plainpages=false, pdfpagelabels, + pdfauthor={LyX Team}, pdftex, + pdftitle={LyX's Table Manual}, + pdfsubject={LyX-documentation about tables}, + pdfkeywords={LyX}]{hyperref} + +\else % if dvi or ps is produced + + % link all cross references and URLs in DVI output + \usepackage[ps2pdf, colorlinks=true, + linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref} + +\fi % end if pdflatex is used + +% that links to image floats jumps +% to the beginning of the float and +% not to its caption +\usepackage[figure]{hypcap} + +% used for colored tables +\@ifundefined{textcolor} + {\usepackage{color}}{} +\usepackage{colortbl} +\definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5} +\definecolor{lightgrey}{gray}{0.8} + +% used for tables with dashed lines +\usepackage{arydshln} + +% used for multirows +\usepackage{multirow} +%\renewcommand{\multirowsetup}{\centering} + +% used for book-style tables +\usepackage{booktabs} + +% used to have extra space in table cells, +\setlength{\extrarowheight}{2pt} + +% used for customized tables +% --- +\newcolumntype{M}[1] + {>{\centering\hspace{0pt}}m{#1}} + +\newcolumntype{S}[2] + {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}} + +\newcolumntype{K}[1] + {>{\columncolor{#1}\hspace{0pt}}c} + +\newcolumntype{V}{!{\vrule width 1.5pt}} + +\newcolumntype{W}{!{\color{green}\vline}} +% --- + +% To be able to enter the characters ° , · and × directly in LyX +\DeclareInputText{177}{\ifmmode\pm\else\textpm\fi} +\DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi} +\DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi} +\DeclareInputText{215}{\ifmmode\times\else\texttimes\fi} + +% the pages of the TOC are numbered roman +% and a PDF-bookmark for the TOC is added +\pagenumbering{roman} +\let\myTOC\tableofcontents +\renewcommand{\tableofcontents}{% + \pdfbookmark[1]{Contents}{} + \myTOC} + \clearpage + \pagenumbering{arabic} + +% increase link area for cross-references +% and autoname them +%\AtBeginDocument{\renewcommand{\ref}[1] +% {\mbox{\autoref{#1}}}} +%\newlength{\abc} +%\settowidth{\abc}{\space} +%\renewcommand{\equationautorefname} +% {\hspace{-\abc}} + +% insert additional vertical space of +% 1.5 mm between footnotes +\let\myFoot\footnote +\renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}} + +% enable algorithm floats to be referenced +\newfloat{Xalgorithm}{tbp}{loa} +\floatname{Xalgorithm}{Algorithm} +\newcommand{\theHalgorithm}{\theHXalgorithm} +\renewenvironment{algorithm}[1][tbp] + {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}} + +% number algorithm floats within chapters +\numberwithin{Xalgorithm}{chapter} + +% redefine the greyed out note +\renewenvironment{lyxgreyedout} + {\textcolor{blue}\bgroup}{\egroup} +\end_preamble +\options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage +\language english +\inputencoding auto +\font_roman default +\font_sans default +\font_typewriter default +\font_default_family default +\font_sc false +\font_osf false +\font_sf_scale 100 +\font_tt_scale 100 +\graphics default +\paperfontsize 12 +\spacing single +\papersize default +\use_geometry false +\use_amsmath 2 +\use_esint 0 +\cite_engine basic +\use_bibtopic false +\paperorientation portrait +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation skip +\defskip medskip +\quotes_language english +\papercolumns 1 +\papersides 2 +\paperpagestyle default +\bullet 1 1 34 -1 +\bullet 2 2 35 -1 +\bullet 3 2 7 -1 +\tracking_changes false +\output_changes true +\author "usti" +\end_header + +\begin_body + +\begin_layout Title +LyX's detailed Boxes, Figure, Floats, Notes, and Table manual +\end_layout + +\begin_layout Author +by the LyX Team +\begin_inset Foot +status collapsed + +\begin_layout Standard +\noindent +If you have comments or error corrections, please send them to the LyX Documenta +tion mailing list: +\family typewriter + +\begin_inset ERT +status open + +\begin_layout Standard + + +\backslash +href{mailto:lyx-docs@lists.lyx.org?subject=LyX's Extended-Insets manual}{ +\end_layout + +\end_inset + +lyx-docs@lists.lyx.org +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Standard +original author: Uwe Stöhr +\end_layout + +\end_inset + + +\newline + +\newline + +\family sans +Version 1.5.0- +\family default +1 +\end_layout + +\begin_layout Standard +\begin_inset LatexCommand tableofcontents + +\end_inset + + +\end_layout + +\begin_layout Chapter +Figures +\begin_inset LatexCommand label +name "cha:Figures" + +\end_inset + + +\begin_inset LatexCommand index +name "Figure" + +\end_inset + + +\end_layout + +\begin_layout Section +Graphics Dialog +\begin_inset LatexCommand index +name "Figure ! Graphics Dialog" + +\end_inset + + +\end_layout + +\begin_layout Standard +To insert an image into your document, place the cursor at the text position + you want and click on the toolbar icon +\begin_inset Graphics + filename ../images/dialog-show-new-inset_graphics.xpm + scale 85 + +\end_inset + + or use the menu +\family sans +Insert\SpecialChar \menuseparator +Graphics +\family default +. + Then a dialog will appear to choose the file to load. + The image will appear in the output exactly at the position where it is + in the text. +\end_layout + +\begin_layout Standard +The graphics dialog can be called at any time by right-clicking on an image. + This dialog has three tabs: +\end_layout + +\begin_layout Description + +\family sans +Graphics +\family default + Here you can choose an image file and adjust its appearance in the output. + The available units for the image size are explained in appendix\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "cha:Units-available-in" + +\end_inset + +. +\newline +You can rotate images counter-clockwise by setting a rotation angle and + a rotation origin. + The image will also be rotated inside LyX. +\end_layout + +\begin_layout Description + +\family sans +Clipping +\family default + Alternatively to the usage of scaling units it is possible to set image + coordinates to adjust the height and width of the image in the output. + The coordinates can also be calculated automatically by pressing the button + +\family sans +Get\InsetSpace ~ +from\InsetSpace ~ +File +\family default +. + The option +\family sans +Clip\InsetSpace ~ +to\InsetSpace ~ +bounding\InsetSpace ~ +box +\family default + will only print the image region within the given coordinates. + Normally you don't need to take care about image coordinates and can ignore + this tab. +\end_layout + +\begin_layout Description + +\family sans +Extra\InsetSpace ~ +options +\family default + In this tab you can modify the appearance of the image within LyX and set + the image to be a subfigure of a figure float with an own caption. + Subfigures are explained in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Figure-Floats" + +\end_inset + +. +\newline + LaTeX experts can also specify on this tab additional LaTeX options. +\newline + The + option +\family sans +Draft\InsetSpace ~ +mode +\family default + makes the image appear in the output only as a frame with the size of the + image. +\newline +The +\family sans +Don't\InsetSpace ~ +unzip\InsetSpace ~ +on\InsetSpace ~ +export +\family default + option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{} +g.\InsetSpace ~ + +\emph on +x.eps.gz +\emph default +. + When the option is used the images will not be unzipped on export, since + LaTeX can handle them as they are. +\newline +Zipped EPS-graphics are useful to save + disk space when you choose PostScript as output format, see appendix\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:PostScript" + +\end_inset + +. + To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows + console: +\newline + +\series bold +gzip x.eps +\series default + +\newline + +\series bold +zgrep %%Bounding x.eps.gz > x.eps.bb +\series default + +\newline +The second command creates the bounding box file +\begin_inset Quotes eld +\end_inset + +x.eps.bb +\begin_inset Quotes erd +\end_inset + + that is needed by LaTeX for zipped graphics. +\end_layout + +\begin_layout Standard + +\newpage +This is an example image in PDF format +\begin_inset Foot +status open + +\begin_layout Standard +The PDF format is explained in appendix\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:PDF" + +\end_inset + +. +\end_layout + +\end_inset + + within a separate, horizontally centered paragraph: +\end_layout + +\begin_layout Standard +\align center +\begin_inset Graphics + filename ../clipart/mobius.pdf + display color + scale 70 + rotateOrigin center + +\end_inset + + +\end_layout + +\begin_layout Standard +This is the same image like the one above but in draft mode: +\end_layout + +\begin_layout Standard +\align center +\begin_inset Graphics + filename ../clipart/mobius.pdf + display color + scale 70 + draft + rotateOrigin center + +\end_inset + + +\end_layout + +\begin_layout Section +Figure Floats +\begin_inset LatexCommand label +name "sec:Figure-Floats" + +\end_inset + + +\begin_inset LatexCommand index +name "Floats ! Figure Floats" + +\end_inset + + +\begin_inset LatexCommand index +name "Figure ! Floats" + +\end_inset + + +\end_layout + +\begin_layout Standard +For general explanations about floats, have a look at section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:FloatIntroduction" + +\end_inset + +. +\end_layout + +\begin_layout Standard +The toolbar button +\begin_inset Graphics + filename ../images/float-insert_figure.xpm + scale 85 + +\end_inset + + and the menu +\family sans +Insert\SpecialChar \menuseparator +Float\SpecialChar \menuseparator +Figure +\family default +inserts a float with the label +\begin_inset Quotes eld +\end_inset + + +\series bold +Figure\InsetSpace ~ +#: +\series default + +\begin_inset Quotes erd +\end_inset + +. + Set the cursor behind this label, press Enter and insert the image as described + above to get the caption printed below the image. + This was done for Figure\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:kill-plat" + +\end_inset + +. + If you want the caption to be above the image, set the cursor at the end + of the caption, press enter and insert the image. + This was done in Figure\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:escher" + +\end_inset + +. + More about the caption placement is described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Caption-Placement" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Float figure +wide false +sideways false +status open + +\begin_layout Standard +\align center +\begin_inset Graphics + filename ../clipart/platypus.pdf + display color + width 50col% + rotateOrigin center + +\end_inset + + +\end_layout + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:kill-plat" + +\end_inset + +A severely distorted platypus in a float. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float figure +wide false +sideways false +status collapsed + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:escher" + +\end_inset + +M.C. + Escher on acid. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Graphics + filename ../clipart/escher-lsd.pdf + display color + scale 80 + rotateOrigin center + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset LatexCommand index +name "References ! to Figures" + +\end_inset + +Figure\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:kill-plat" + +\end_inset + + and +\begin_inset LatexCommand ref +reference "fig:escher" + +\end_inset + + are an example of cross-referenced figures. + Figures can be cross-referenced in the text by referencing their label. + To do this insert a label in the caption using the menu +\family sans +Insert\SpecialChar \menuseparator +Label +\family default + or the toolbar button +\begin_inset Graphics + filename ../images/label-insert.xpm + scale 85 + +\end_inset + +. + You can now refer to the label using the menu +\family sans +Insert\SpecialChar \menuseparator +Cross\InsetSpace ~ +reference +\family default + or the toolbar button +\begin_inset Graphics + filename ../images/dialog-show-new-inset_ref.xpm + scale 85 + +\end_inset + +. + It is important to use references to floats, rather than using vague references + like +\begin_inset Quotes eld +\end_inset + +the figure above +\begin_inset Quotes erd +\end_inset + +, because as LaTeX will reposition the floats in the final document, it + might not be +\begin_inset Quotes eld +\end_inset + +above +\begin_inset Quotes erd +\end_inset + + at all. +\end_layout + +\begin_layout Standard +Normally only one image is inserted to a figure float, but sometimes you + might want to use two images with separate subcaptions. + This can be set in the tab +\family sans + Extra\InsetSpace ~ +options +\family default + of the graphics dialog. + Choose there the option +\family sans +Subfigure +\family default + and enter the subcaption for the image in the caption field. + Note that only the main caption of the float is added to the List of Figures. +\end_layout + +\begin_layout Standard +Figure\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:Two-distorted-images" + +\end_inset + + is an example of a figure float with two images set side by side. + You can also set the images one below the other. +\end_layout + +\begin_layout Standard +\begin_inset Float figure +wide false +sideways false +status open + +\begin_layout Standard + +\hfill + +\begin_inset Graphics + filename ../clipart/escher-lsd.pdf + width 45col% + subcaption + subcaptionText "Undefinable structure" + +\end_inset + + +\hfill + +\begin_inset Graphics + filename ../clipart/platypus.pdf + lyxscale 60 + width 45col% + subcaption + subcaptionText "Platypus" + +\end_inset + + +\hfill + +\end_layout + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:Two-distorted-images" + +\end_inset + +Two distorted images. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Image Formats +\begin_inset LatexCommand label +name "sec:Image-Formats" + +\end_inset + + +\begin_inset LatexCommand index +name "Image Formats" + +\end_inset + + +\begin_inset LatexCommand index +name "Figure ! Image Formats" + +\end_inset + + +\end_layout + +\begin_layout Standard +You can insert images in any known file format. + But as explained in appendix\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "cha:Output-File-Formats" + +\end_inset + +, every output document format allows only a few image formats. + LyX uses therefore the program +\family typewriter +Imagemagick +\family default + in the background to convert the images to the right format. + To increase your work flow by avoiding these conversions in the background, + you can use only the image formats that can directly be embedded in the + output file format. + The output file formats are explained in appendix\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "cha:Output-File-Formats" + +\end_inset + +. +\end_layout + +\begin_layout Standard +Similar to fonts there are two types of image formats: +\end_layout + +\begin_layout Description +Bitmap\InsetSpace ~ +images consist of pixel values, often in a compressed form. + They are therefore not fully scalable and look pixeled in large zooms. + Well-known bitmap image formats are +\begin_inset Quotes eld +\end_inset + +Graphics Interchange Format +\begin_inset Quotes erd +\end_inset + + (GIF, file extension +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.gif +\family default + +\begin_inset Quotes erd +\end_inset + +) +\begin_inset LatexCommand index +name "GIF|see{Image formats}" + +\end_inset + +, +\begin_inset Quotes eld +\end_inset + +Portable Network Graphics +\begin_inset Quotes erd +\end_inset + + (PNG, file extension +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.png +\family default + +\begin_inset Quotes erd +\end_inset + +) +\begin_inset LatexCommand index +name "PNG|see{Image formats}" + +\end_inset + +, and +\begin_inset Quotes eld +\end_inset + +Joint Photographic Experts Group +\begin_inset Quotes erd +\end_inset + + (JPG, file extension +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.jpg +\family default + +\begin_inset Quotes erd +\end_inset + + or +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.jpeg +\family default + +\begin_inset Quotes erd +\end_inset + +) +\begin_inset LatexCommand index +name "JPG|see{Image formats}" + +\end_inset + +. +\end_layout + +\begin_layout Description +Vector\InsetSpace ~ +images consist of vectors and can therefore be scaled to any size + without data loss. + The scaling ability is necessary if you want to create presentations, because + presentations are always scaled by the video projector. + Scaling is also useful for online documents to let the user zoom into diagrams. +\newline +S +calable image formats can be +\begin_inset Quotes eld +\end_inset + +Scalable Vector Graphics +\begin_inset Quotes erd +\end_inset + + (SVG, file extension +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.svg +\family default + +\begin_inset Quotes erd +\end_inset + +) +\begin_inset LatexCommand index +name "SVG|see{Image formats}" + +\end_inset + +, +\begin_inset Quotes eld +\end_inset + +Encapsulated PostScript +\begin_inset Quotes erd +\end_inset + + (EPS, file extension +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.eps +\family default + +\begin_inset Quotes erd +\end_inset + +) +\begin_inset LatexCommand index +name "EPS|see{Image formats}" + +\end_inset + +, +\begin_inset Quotes eld +\end_inset + +Portable Document Format +\begin_inset Quotes erd +\end_inset + + (PDF, file extension +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.pdf +\family default + +\begin_inset Quotes erd +\end_inset + +) +\begin_inset LatexCommand index +name "PDF" + +\end_inset + +, and +\begin_inset Quotes eld +\end_inset + +Windows Metafile +\begin_inset Quotes erd +\end_inset + + (WMF, file extension +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.wmf +\family default + +\begin_inset Quotes erd +\end_inset + +) +\begin_inset LatexCommand index +name "SVG|see{Image formats}" + +\end_inset + +. + We wrote +\begin_inset Quotes eld +\end_inset + +can be +\begin_inset Quotes erd +\end_inset + +, because you can convert any bitmap image to a PDF or EPS-image and the + result will still be a bitmap image. + In this cases only a header with the image properties is added to the original + image +\begin_inset Foot +status open + +\begin_layout Standard +In the case of PDF, the original image is additionally compressed. +\end_layout + +\end_inset + +. + The PDF-files generated by +\family typewriter +Adobe Photoshop +\family default + are for example bitmap images. +\end_layout + +\begin_layout Standard +Normally it is not possible to convert a bitmap image into a scalable one, + only vice versa. + Only the image formats PDF and EPS can directly be embedded to PDF and + PostScript output files, respectively. + SVG and WMF-images are currently recalculated to bitmaps when the output + file is generated because there is currently no adequate WMF/SVG +\begin_inset Formula $\to$ +\end_inset + +PDF/EPS converter available. +\end_layout + +\begin_layout Chapter +Tables +\begin_inset LatexCommand label +name "cha:Tables" + +\end_inset + + +\begin_inset LatexCommand index +name "Table" + +\end_inset + + +\end_layout + +\begin_layout Section +Introduction +\begin_inset LatexCommand index +name "Table ! Introduction" + +\end_inset + + +\end_layout + +\begin_layout Standard +You can insert a table using either the toolbar button +\begin_inset Graphics + filename ../images/tabular-insert.xpm + scale 85 + +\end_inset + + or the menu +\family sans +Insert\SpecialChar \menuseparator +Table +\family default +. + The toolbar button offers you a graphical selection: Move the mouse to + set the column/row number of the table that should be created and then + press a mouse button. + When you use the menu to create a table, a dialog will appear, asking you + for the number of rows and columns. +\newline + The default table has lines around any + cell and the first row appears separated from the rest of the table. + This separation occurs due to a double line: The cells of the first row + have a line below them and the cells of the second row have a line above + them. + Here is an example table: +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +A +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +B +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +C +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Section +Table Dialog +\begin_inset LatexCommand index +name "Table ! Dialog" + +\end_inset + + +\end_layout + +\begin_layout Standard +You can alter a table by clicking on it with the right mouse button, which + brings up the table dialog. + Here you can adjust the settings of that cell and row/column respectively + where the cursor is currently placed. + Most of the dialog options also work on selections. + This means if you select more cells, columns or rows, the action is done + for the whole selection. + Note that there is a difference between selecting the +\emph on +contents +\emph default + of the cell, and the cell itself. + You can alter tables with the following tabs of the table dialog: +\end_layout + +\begin_layout Description + +\family sans +Table\InsetSpace ~ +Settings +\family default + Here you can set the horizontal alignment for the current row and the width + of the current column. + When you have set a width you can also adjust the vertical alignment of + the current column. + A given width will allow the cell to have line breaks and multiple paragraphs + of text, see section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Multiple-Lines-in" + +\end_inset + +. + If you set no width, the column is as wide as their widest cell content + is. +\newline +Furthermore, you can mark one or multiple cells of one row as a multicolumn + cell, see section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Multicolumns" + +\end_inset + +. +\newline +The rotate check boxes rotates the current cell, a selection, or the whole + table counter-clockwise by 90°. + The rotation is not shown within LyX, only in the output. +\newline + +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + Not all DVI-viewers are able to display rotations. +\end_layout + +\end_inset + + +\newline +It is also possible to enter a LaTeX-argument which is needed for special + table formattings, see section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Multicolumn-Calculations" + +\end_inset + + and +\begin_inset LatexCommand ref +reference "sec:Colored-Tables" + +\end_inset + +. +\end_layout + +\begin_layout Description + +\family sans +Borders +\family default + In this tab you can add and delete border lines for the current row/column. + Using the style option Formal will convert the table into a booktabs-table + as described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "alg:Example-Algorithm-float" + +\end_inset + +. +\end_layout + +\begin_layout Description + +\family sans +Longtable +\family default + This tab is to make a table a so called +\begin_inset Quotes eld +\end_inset + + +\emph on +longtable +\emph default + +\begin_inset Quotes erd +\end_inset + + that can run over several pages. + Section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Longtables" + +\end_inset + + describes the longtable feature in detail. +\end_layout + +\begin_layout Standard +When the table toolbar is opened, you can move the cursor with the arrow + keys from cell to cell and the property of the current cell will immediately + be displayed in the dialog. +\end_layout + +\begin_layout Section +Table Toolbar +\begin_inset LatexCommand index +name "Table ! Toolbar" + +\end_inset + + +\end_layout + +\begin_layout Standard +The table toolbar is an alternative to the table dialog to be able to alter + tables faster. + It should normally appear at the bottom of LyX's main window when the cursor + is inside a table. + You can alternatively switch it on to appear always, by right-clicking + in LyX's main menu bar. +\end_layout + +\begin_layout Standard +The toolbar has the following icons: +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_append-row.xpm + +\end_inset + + adds a row below the current cell or selection +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_append-column.xpm + +\end_inset + + adds a column right beside the current cell or selection +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_delete-row.xpm + +\end_inset + + deletes the current row or selection +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_delete-column.xpm + +\end_inset + + deletes the current column or selection +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_toggle-line-top.xpm + +\end_inset + + adds a line at the top of the current cell / row or of a selection +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_toggle-line-bottom.xpm + +\end_inset + + adds a line at the bottom of the current cell / row or of a selection +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_toggle-line-left.xpm + +\end_inset + + adds a line at the left side of the current cell / row or of a selection +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_toggle-line-right.xpm + +\end_inset + + adds a line at the right side of the current cell / row or of a selection +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_set-all-lines.xpm + +\end_inset + + adds lines around the current or selected cells - if the current cell no + multicolumn this also affects the current row and column +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_unset-all-lines.xpm + +\end_inset + + deletes all lines of the current or selected cells - if the current cell + no multicolumn this also affects the current row and column +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_align-left.xpm + +\end_inset + + left-aligns the content of the current cell / column +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_align-center.xpm + +\end_inset + + centers the content of the current cell / column horizontally +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_align-right.xpm + +\end_inset + + right-aligns the content of the current cell / column +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_valign-top.xpm + +\end_inset + + aligns the content of the current cell vertically to the top +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_valign-middle.xpm + +\end_inset + + centers the content of the current cell vertically +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_valign-bottom.xpm + +\end_inset + + aligns the content of the current cell vertically to the bottom +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_set-rotate-cell.xpm + +\end_inset + + rotates the current cell or selection counter-clockwise by 90° +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_set-rotate-tabular.xpm + +\end_inset + + rotates the whole table counter-clockwise by 90° +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_multicolumn.xpm + +\end_inset + + sets the current cell or selection as a multicolumn +\end_layout + +\begin_layout Section +Edit Table Menu +\begin_inset LatexCommand index +name "Table ! Edit Menu" + +\end_inset + + +\end_layout + +\begin_layout Standard +Additionally to the table dialog and toolbar, the menu Edit +\family sans +\SpecialChar \menuseparator + +\family default +Table allows you to add and delete border lines for the current row/column + and to set the current selection as multicolumn. + The menu is only available when the cursor is inside a table. +\end_layout + +\begin_layout Section +Table Floats +\begin_inset LatexCommand label +name "sec:Table-Floats" + +\end_inset + + +\begin_inset LatexCommand index +name "Floats ! Tables" + +\end_inset + + +\begin_inset LatexCommand index +name "Table ! Floats" + +\end_inset + + +\end_layout + +\begin_layout Standard +For general explanations about floats, have a look at section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:FloatIntroduction" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement h +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:a table float" + +\end_inset + +A table float. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +3 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +Joe +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +Mary +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +Ted +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +\begin_inset Formula $\int x^{2}dx$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +\begin_inset Formula $\left[\begin{array}{cc} +a & b\\ +c & d\end{array}\right]$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +\begin_inset Formula $1+1=2$ +\end_inset + + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Table floats can be inserted using the menu +\family sans +Insert\SpecialChar \menuseparator +Float\SpecialChar \menuseparator +Table +\family default + or the toolbar button +\begin_inset Graphics + filename ../images/float-insert_table.xpm + scale 85 + +\end_inset + +. +\end_layout + +\begin_layout Standard +The float appears as a collapsible box with the label +\begin_inset Quotes eld +\end_inset + + +\series bold +Table\InsetSpace ~ +#: +\series default + +\begin_inset Quotes erd +\end_inset + + inside it. + The text following the label is the caption of the table. + To insert a table to the the float set the cursor at the end of the caption + text, press enter and insert the table. + The caption is now printed above the table. +\end_layout + +\begin_layout Standard +Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:a table float" + +\end_inset + + is an example table within a table float. +\end_layout + +\begin_layout Standard +Having the caption above the table is the common rule that is unfortunately + not supported in LaTeX's standard classes. + That means if you are using the document classes +\family sans +article +\family default +, +\family sans +book +\family default +, +\family sans +letter +\family default +, or +\family sans +report +\family default + there will be no space between the caption and the table. + To insert the needed space, add the following option to the load command + of the LaTeX-package +\series bold +caption +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! caption" + +\end_inset + + in your document preamble +\begin_inset Foot +status collapsed + +\begin_layout Standard +For more information have a look at section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Caption-Placement" + +\end_inset + +. +\end_layout + +\end_inset + +: +\end_layout + +\begin_layout Standard + +\series bold +tableposition=top +\end_layout + +\begin_layout Standard +The package +\series bold +caption +\series default +, which is described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Caption-Formatting" + +\end_inset + +, is used to adjust the caption format. +\end_layout + +\begin_layout Standard +\begin_inset LatexCommand index +name "References ! to Tables" + +\end_inset + +Tables can be cross-referenced in the text by referencing their label. + To do this insert a label in the caption using the menu +\family sans +Insert\SpecialChar \menuseparator +Label +\family default + or the toolbar button +\begin_inset Graphics + filename ../images/label-insert.xpm + scale 85 + +\end_inset + +. + You can now refer to the label using the menu +\family sans +Insert\SpecialChar \menuseparator +Cross\InsetSpace ~ +reference +\family default + or the toolbar button +\begin_inset Graphics + filename ../images/dialog-show-new-inset_ref.xpm + scale 85 + +\end_inset + +. +\end_layout + +\begin_layout Standard + +\end_layout + +\begin_layout Section +Longtables +\begin_inset LatexCommand label +name "sec:Longtables" + +\end_inset + + +\begin_inset LatexCommand index +name "Longtables" + +\end_inset + + +\begin_inset LatexCommand index +name "Table ! Longtables" + +\end_inset + + +\end_layout + +\begin_layout Standard +If the table is too long to fit on one page, you can use the option +\family sans +Use\InsetSpace ~ +long\InsetSpace ~ +table +\family default + in the tab +\family sans +Longtable +\family default + of the table dialog to split the table automatically over more pages. + Doing this enables some check boxes and you can now define: +\end_layout + +\begin_layout Description + +\family sans +Header +\family default +: The current row and all rows above, that don't have any special options + defined, are defined to be the header rows of all pages of the longtable; + except for the first page, if +\family sans +First\InsetSpace ~ +header +\family default + is defined. + This therefore called the main header. +\end_layout + +\begin_layout Description + +\family sans +First\InsetSpace ~ +header +\family default +: The current row and all rows above, that don't have any special options + defined, are defined to be the header rows of the first page of the longtable. +\end_layout + +\begin_layout Description + +\family sans +Footer +\family default +: The current row and all rows below, that don't have any special options + defined, are defined to be the footer rows of all pages of the longtable; + except for the last page, if +\family sans +Last\InsetSpace ~ +footer +\family default + is defined. +\end_layout + +\begin_layout Description + +\family sans +Last\InsetSpace ~ +footer +\family default +: The current row and all rows below, that don't have any special options + defined, are defined to be the footer rows of the last page of the longtable. +\end_layout + +\begin_layout Standard +You can also specify a row where the table is splitted. + If you set more than one option in the same table row, you should be aware + of the fact that only the first one is used in the given table row. + The others will then be defined as +\emph on +empty +\emph default +. + In this context, first means first in this order: +\family sans +Footer, Last\InsetSpace ~ +footer, +\family default + +\family sans +Header, +\family default + +\family sans +First\InsetSpace ~ +header. + +\family default +\emph on + +\emph default +See the following longtable to see how it works: +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Example Phone List (ignore the names) +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +NAME +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\series bold +TEL. +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Example Phone List +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +NAME +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\series bold +TEL. +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + continued on next page +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Annovi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Silvia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bertoli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Stefano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bozzi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Walter +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maurizio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cinquemani +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giusi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Colin +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Bernard +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Concli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Gianfranco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dal Bosco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Carolina +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dalpiaz +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Annamaria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Feliciello +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Domenico +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Focarelli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paola +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Galletti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Oreste +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Gasparini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Franca +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Rizzardi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paola +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Lassini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giancarlo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Luciano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Valeriano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Meneguzzo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Mezzadra +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Pirpamer +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Erich +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Pochiesa +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paolo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111, 222 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Radina +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Claudio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Stuffer +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Oskar +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Tacchelli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Ugo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Tezzele +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Margit +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Unterkalmsteiner +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Frieda +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Vieider +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Hilde +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Vigna +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Jürgen +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Weber +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maurizio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Winkler +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Franz +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Annovi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Silvia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bertoli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Stefano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bozzi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Walter +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maurizio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cinquemani +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giusi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Colin +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Bernard +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Concli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Gianfranco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dal Bosco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Carolina +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dalpiaz +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Annamaria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Feliciello +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Domenico +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Focarelli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paola +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Galletti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Oreste +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Gasparini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Franca +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Rizzardi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paola +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Lassini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giancarlo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Luciano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Valeriano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Meneguzzo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Mezzadra +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Pirpamer +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Erich +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Pochiesa +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paolo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555, 222 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Radina +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Claudio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Stuffer +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Oskar +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Tacchelli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Ugo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Tezzele +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Margit +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Unterkalmsteiner +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Frieda +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Vieider +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Hilde +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Vigna +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Jürgen +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +999 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Weber +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maurizio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Winkler +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Franz +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +end +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Subsection +Footnotes in Longtables +\begin_inset LatexCommand label +name "sub:Footnotes-in-Longtables" + +\end_inset + + +\begin_inset LatexCommand index +name "Longtables ! Footnotes" + +\end_inset + + +\end_layout + +\begin_layout Standard +Footnotes can be inserted to every longtable cell. + They appear at the bottom of the page where the table cell with the footnote + appears. + Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:DiffCaptions" + +\end_inset + + has for example a footnote. +\end_layout + +\begin_layout Subsection +Longtable Captions +\begin_inset LatexCommand index +name "Longtables ! Captions" + +\end_inset + + +\end_layout + +\begin_layout Standard +A longtable cannot be put into a table float because floats can only be + on one page. + Therefore the caption layout cannot be used for longtables. +\end_layout + +\begin_layout Standard +To add a caption, a dirty hack is needed: +\end_layout + +\begin_layout Enumerate +Create a longtable +\end_layout + +\begin_layout Enumerate +Mark the first row an disable its upper line +\end_layout + +\begin_layout Enumerate +Insert the following command as ERT into the first table cell: +\newline + +\series bold + +\backslash +caption[short title]{full title} +\backslash + +\backslash +% +\end_layout + +\begin_layout Enumerate +Insert a +\begin_inset Quotes eld +\end_inset + + +\series bold +% +\series default + +\begin_inset Quotes erd +\end_inset + + as ERT into every cell of the first row +\end_layout + +\begin_layout Standard +The +\series bold + +\backslash +caption +\series default + command is used like for normal captions, the short title that will appear + in the LOT instead of the full title is optional. + The +\series bold +% +\series default + in the table cells omits the vertical line between the the cells. + The first table row is now only a dummy row for the caption, the actual + table starts with the second row. +\end_layout + +\begin_layout Standard +Here is a short longtable to see how it works: +\end_layout + +\begin_layout Standard +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +caption[Longtable]{Longtable with caption} +\backslash + +\backslash +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +4 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + + +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + If you are using the LaTeX-package +\series bold +hyperref +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! hyperref" + +\end_inset + + to link cross-references, the link to a longtable caption will always point + to the beginning of the document. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsubsection +References to Longtables +\begin_inset LatexCommand index +name "Longtables ! References" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +caption{Referenced longtable +\end_layout + +\end_inset + + +\begin_inset LatexCommand label +name "tab:RefExample" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\backslash + +\backslash +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +4 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sad +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Standard +To reference a longtable, insert a label into the +\series bold + +\backslash +caption +\series default + command. + This is done by splitting the ERT of the caption command. + The part of the caption command before the last closing brace +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +caption[short title]{full title +\end_layout + +\begin_layout Standard +is in the first ERT box, the label is inserted behind it. + Note that you have to add the label prefix +\begin_inset Quotes eld +\end_inset + + +\emph on +tab: +\emph default + +\begin_inset Quotes eld +\end_inset + + manually in the label field. + The second ERT box contains the rest of the +\backslash +caption command +\end_layout + +\begin_layout Standard + +\series bold +} +\backslash + +\backslash +% +\end_layout + +\begin_layout Standard +and is inserted behind the label box, see Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:RefExample" + +\end_inset + +. +\end_layout + +\begin_layout Standard +The caption layout can be set together with all other caption of your document + using the LaTeX-package +\series bold +caption +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! caption" + +\end_inset + +, see section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Caption-Formatting" + +\end_inset + +. +\end_layout + +\begin_layout Subsubsection +Caption Width +\begin_inset LatexCommand index +name "Longtables ! Caption Width" + +\end_inset + + +\end_layout + +\begin_layout Standard +The maximal width of of caption lines is defined by the length +\series bold + +\backslash +LTcapwidth +\series default +. + It default value is 4\InsetSpace \thinspace{} +in. + To change it add the following command to your document preamble or as + ERT into your document before the longtable that should be affected +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +setlength{ +\backslash +LTcapwidth}{width} +\end_layout + +\begin_layout Standard +where the width could have one of the units listed in appendix\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "cha:Units-available-in" + +\end_inset + +. +\end_layout + +\begin_layout Standard +The following tables show the difference: +\end_layout + +\begin_layout Standard +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +caption[caption with default width]{long full title with default width +\end_layout + +\begin_layout Standard + +long full title with default width long full title with default width} +\backslash + +\backslash +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +4 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sad +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +LTcapwidth}{5cm} +\end_layout + +\end_inset + + +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +caption[caption with width +\backslash +,= +\backslash +,15 +\backslash +,cm]{long full title with width set to 5 +\backslash +,cm +\end_layout + +\begin_layout Standard + +long full title with width set to 15 +\backslash +,cm long full title with width set to 5 +\backslash +,cm} +\backslash + +\backslash +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +4 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sad +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +LTcapwidth}{4in} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\end_layout + +\begin_layout Subsubsection +Different Captions for Table Pages +\begin_inset LatexCommand index +name "Longtables ! Different Captions for Pages" + +\end_inset + + +\end_layout + +\begin_layout Standard +When the other captions should differ from the one of the first table page, + insert the +\series bold + +\backslash +caption +\series default + command with a non-empty short title in a dummy caption row marked as first + header. + The caption used for the other table pages is inserted as +\series bold + +\backslash +caption +\series default + command without a short title in a dummy caption row that is marked as + main header. + When this caption shouldn't include the table number, use the command +\series bold + +\backslash +caption* +\series default + instead of +\series bold + +\backslash +caption +\series default +. + The label to reference the table is inserted into the caption of the first + header. + Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:DiffCaptions" + +\end_inset + + is an example for a longtable with different heading where the second caption + doesn't include the table number. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +caption[Example Phone List]{Example Phone List +\end_layout + +\end_inset + + +\begin_inset LatexCommand label +name "tab:DiffCaptions" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\backslash + +\backslash +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Example Phone List (ignore the names) +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +NAME +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\series bold +TEL. +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +caption*{Continued Example Phone List} +\backslash + +\backslash +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Example Phone List +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +NAME +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\series bold +TEL. +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +continued on next page +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Annovi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Silvia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bertoli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Stefano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bozzi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Walter +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maurizio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cinquemani +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giusi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Colin +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Bernard +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Concli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Gianfranco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dal Bosco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Carolina +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dalpiaz +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Annamaria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Feliciello +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Domenico +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Focarelli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paola +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Galletti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Oreste +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Gasparini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Franca +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Rizzardi +\series default + +\begin_inset Foot +status collapsed + +\begin_layout Standard +Example footnote +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paola +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Lassini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giancarlo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Luciano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Valeriano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Meneguzzo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Mezzadra +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Pirpamer +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Erich +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Pochiesa +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paolo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111, 222 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Radina +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Claudio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Stuffer +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Oskar +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Tacchelli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Ugo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Tezzele +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Margit +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Unterkalmsteiner +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Frieda +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Vieider +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Hilde +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Vigna +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Jürgen +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Weber +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maurizio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Winkler +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Franz +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Annovi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Silvia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bertoli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Stefano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bozzi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Walter +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maurizio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cinquemani +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giusi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Colin +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Bernard +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Concli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Gianfranco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dal Bosco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Carolina +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dalpiaz +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Annamaria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Feliciello +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Domenico +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Focarelli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paola +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Galletti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Oreste +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Gasparini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Franca +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Rizzardi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paola +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Lassini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giancarlo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Luciano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Valeriano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Meneguzzo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Mezzadra +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Section +Special Longtable Issues +\end_layout + +\begin_layout Subsection +Longtable Calculation +\begin_inset LatexCommand index +name "Longtables ! Calculation" + +\end_inset + + +\end_layout + +\begin_layout Standard +LaTeX calculates the height of table pages and their page breaks using so + called chunks. + Chunks are pieces of the tables that are at once in LaTeX's memory. + The default value is historically set to only 20 table rows. + If you are using longtables with many pages this may slow down the creation + of your document. + You can safely increase the chunk size to values of 100-1000 by adding + this command line to your document preamble: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +setcounter{LTchunksize}{100} +\end_layout + +\begin_layout Subsection +Floats and Longtables +\begin_inset LatexCommand index +name "Longtables ! Floats" + +\end_inset + + +\end_layout + +\begin_layout Standard +There might be problems when a float appears on the same page where a longtable + starts. + To avoid such situation, add the command +\series bold + +\backslash +clearpage +\series default + as ERT before your longtable. +\end_layout + +\begin_layout Subsection +Forced Page Breaks +\begin_inset LatexCommand index +name "Longtables ! Forced Page Breaks" + +\end_inset + + +\end_layout + +\begin_layout Standard +By default tables are only broken between rows. + If you have a cell with multiples lines and want to have a page break within + the cell, insert the new line command +\begin_inset Quotes eld +\end_inset + + +\series bold + +\backslash + +\backslash + +\series default + +\begin_inset Quotes erd +\end_inset + + as ERT at this point of the cell where it should be broken. + Before the +\series bold + +\backslash + +\backslash + +\series default + command you have to insert in ERT so many +\begin_inset Quotes eld +\end_inset + + +\series bold +& +\series default + +\begin_inset Quotes erd +\end_inset + + characters like the number of the following table columns. + The +\series bold +& +\series default + is the character to separate table cells. + Write in ERT after each +\series bold +& +\series default + the content of the corresponding following cell and delete the content + of these cells. +\newline +Behind the the +\series bold + +\backslash + +\backslash + +\series default + command, insert so many +\series bold +& +\series default + characters like the number of table columns before the current column. + In Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:ForcedPagebreak" + +\end_inset + + the cell that should be broken is in the second column followed by another + column. + Therefore the following command was inserted in the cell as ERT behind + +\begin_inset Quotes eld +\end_inset + + +\emph on +Castelchiodato, +\emph default + +\begin_inset Quotes erd +\end_inset + +: +\end_layout + +\begin_layout Standard + +\series bold +& 111 +\backslash + +\backslash + +\newline +& +\end_layout + +\begin_layout Standard +The +\begin_inset Quotes eld +\end_inset + +111 +\begin_inset Quotes erd +\end_inset + + in the third columns of the row was deleted. + If your footer row of the longtable has for a certain reason no upper line + but you would have a horizontal line where the cell is broken, use this + command instead: +\end_layout + +\begin_layout Standard + +\series bold +& 111 +\backslash + +\backslash + +\newline + +\backslash +hline & +\end_layout + +\begin_layout Standard +When the cell to be broken is in the last column, the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +setlength{ +\backslash +parfillskip}{0pt} +\end_layout + +\begin_layout Standard +must be inserted as ERT at the beginning of the cell. + This assures that the part of the cell that will be displayed on the new + page appears with the full width. + +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +caption[Table with forced page break in table cell]{Table with forced page + break in table cell +\end_layout + +\end_inset + + +\begin_inset LatexCommand label +name "tab:ForcedPagebreak" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\backslash + +\backslash +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Example Phone List (ignore the names) +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +NAME +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\series bold +TEL. +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +caption{Continued table with forced page break in table cell} +\backslash + +\backslash +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold + Example Phone List +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +NAME +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\series bold +TEL. +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +continued on next page +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Annovi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Silvia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bertoli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Stefano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bozzi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Walter +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maurizio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cinquemani +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giusi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Colin +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Bernard +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Concli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Gianfranco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dal Bosco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Carolina +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dalpiaz +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Annamaria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Feliciello +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Domenico +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Focarelli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paola +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Galletti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Oreste +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Gasparini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Franca +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Lassini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giancarlo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Luciano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Valeriano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Meneguzzo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Mezzadra +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Pirpamer +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Erich +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Pochiesa +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paolo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111, 222 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Radina +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Claudio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Rizzardi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paolo, 11. + Fürst von Montecompatri, 11. + Fürst von Sulmona und Vivaro, 10. + Fürst von Rossano, 5. + Herzog von Canemorte, 11. + Herzog von Palombara, 5. + Herzog von Castelchiodato, +\begin_inset ERT +status collapsed + +\begin_layout Standard + +& 111 +\backslash + +\backslash + +\end_layout + +\begin_layout Standard + +& +\end_layout + +\end_inset + + 11. + Herzog von Poggionativo, 11. + Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11. + Graf von Valinfreda, 11. + Baron von Cropalati, 11. + Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Stuffer +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Oskar +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Tacchelli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Ugo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Tezzele +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Margit +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Unterkalmsteiner +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Frieda +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Vieider +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Hilde +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Vigna +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Jürgen +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Weber +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maurizio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Winkler +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Franz +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Section +Multiple Lines Columns and Rows +\end_layout + +\begin_layout Subsection +Multiple Lines in Table Cells +\begin_inset LatexCommand label +name "sub:Multiple-Lines-in" + +\end_inset + + +\begin_inset LatexCommand index +name "Multiple Lines in Table Cells" + +\end_inset + + +\begin_inset LatexCommand index +name "Table ! Linebreaks" + +\end_inset + + +\end_layout + +\begin_layout Standard +\align center +\begin_inset Float table +placement H +wide false +sideways false +status collapsed + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Table-with-multiple" + +\end_inset + +Table with multiple lines in cells +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +multiple +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +linebreak +\end_layout + +\end_inset + + lines +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Adjusting a fixed width for a column, enables to enter text as a paragraph + with multiple lines and hyphenations. +\end_layout + +\begin_layout Standard +To produce Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Table-with-multiple" + +\end_inset + +, create a 3×3 table, mark the first cell and right-click on it. + In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{} +cm and choose centered + for the vertical and horizontal alignment. + As our text is smaller than than 2.5\InsetSpace \thinspace{} +cm, only one line will appear. + To get two lines, we add a line break with the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +linebreak +\end_layout + +\begin_layout Standard +in ERT. + If the text is wider than the set cell width it will automatically be broken + to several lines. +\end_layout + +\begin_layout Standard +To center the text inside the two other cells of the first row vertically, + right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{} +cm and choose + centered alignments. + Then do the same for the third cell of the row. +\end_layout + +\begin_layout Standard +If you have a long word in a cell with a fixed width, it cannot be hyphenated + by LaTeX if it is the first entry. + Therefore you need to insert something, to make the word not being the + first entry: Add the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +hspace{0pt} +\end_layout + +\begin_layout Standard +in ERT before the word. + As the space is zero, it doesn't change the output. + Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Table-with-and" + +\end_inset + + shows the effect. +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Table-with-and" + +\end_inset + +Table with and without hyphenation +\end_layout + +\begin_layout Standard + +\hfill + +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +verylongtablecellword +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + + + +\end_inset + + +\hfill + +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hspace{0pt} +\end_layout + +\end_inset + +verylongtablecellword +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + + + +\end_inset + + +\hfill + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\newpage + +\end_layout + +\begin_layout Subsection +Multicolumns +\begin_inset LatexCommand label +name "sub:Multicolumns" + +\end_inset + + +\begin_inset LatexCommand index +name "Multicolumns" + +\end_inset + + +\begin_inset LatexCommand index +name "Table ! Multicolumns" + +\end_inset + + +\end_layout + +\begin_layout Subsubsection +Multicolumn Basics +\end_layout + +\begin_layout Standard +To span a cell over multiple columns, mark as much cells within a line that + should be one spanned cell and use either the table-toolbar button +\begin_inset Graphics + filename ../images/tabular-feature_multicolumn.xpm + scale 85 + +\end_inset + +, or the menu +\family sans +Edit\SpecialChar \menuseparator +Table\SpecialChar \menuseparator +Multicolumn +\family default +, or right click on the marked cells and choose multicolumn in the appearing + table dialog under the tab +\family sans +Table Settings +\family default +. +\end_layout + +\begin_layout Standard +Multicolumns have there own cell settings. + That means changing cell borders, cell alignment, and the width only affects + the multicolumn. + Here is an example table with a multicolumn cell in the first row and one + in the last row without the upper border: +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + +\begin_inset Text + +\begin_layout Standard +abc +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +def +\lang ngerman + +\lang english +ghi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +jkl +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +A +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +B +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +C +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +D +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +4 +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Subsubsection +Multicolumn Calculations +\begin_inset LatexCommand label +name "sub:Multicolumn-Calculations" + +\end_inset + + +\begin_inset LatexCommand index +name "Multicolumns ! Calculations" + +\end_inset + + +\end_layout + +\begin_layout Standard +LyX supports multicolumns directly, but we have to take notice of the cell + width of the columns spanned by the multicolumn cell. +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Table-with-centered" + +\end_inset + +Table with centered multicolumn text above two columns that have exactly + half the width of the multicolumn cell +\begin_inset OptArg +status collapsed + +\begin_layout Standard +Perfect multicolumn table +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +multiple lines multicolumn +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +To create for example Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Table-with-centered" + +\end_inset + +, mark the first two cells in the first row a 3×3 table and right-click + on them. + Now choose for this cell +\emph on +multicolumn +\emph default +, +\emph on +centered alignment +\emph default + and a width of 2.5\InsetSpace \thinspace{} +cm in the table dialog. + The spanned columns should have exactly half the width of the multicolumn + cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{} +cm for the first column. + The second column has then automatically a width of 1.25\InsetSpace \thinspace{} +cm (multicolumn + width - width of first column). + This was done for Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Table-without-half" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Table-without-half" + +\end_inset + +Table where the spanned table columns have not exactly half the width of + the multicolumn cell +\begin_inset OptArg +status collapsed + +\begin_layout Standard +Imperfect multicolumn table +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +multiple lines multicolumn +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +You can see that the first column has not the half width of the multicolumn + cell, it is a bit bigger. + The reason is that the given width of a cell +\begin_inset Formula $W_{g}$ +\end_inset + + is not its total width +\begin_inset Formula $W_{\mathrm{tot}}$ +\end_inset + + because a cell is always a bit larger than its given width. + Appendix\InsetSpace ~ + +\begin_inset LatexCommand eqref +reference "cha:Explanation-of-Equation" + +\end_inset + + explains it in detail. +\end_layout + +\begin_layout Standard +The needed given width +\begin_inset Formula $W_{g\, n}$ +\end_inset + + when +\emph on +n +\emph default + columns are spanned columns can be calculated, so that each column has + a total width of +\begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$ +\end_inset + +: +\begin_inset Formula \begin{equation} +W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation} + +\end_inset + + +\end_layout + +\begin_layout Standard +In our case we have +\begin_inset Formula $n=2$ +\end_inset + +, +\begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$ +\end_inset + +cm and the default values for the lengths, so that equation +\begin_inset LatexCommand ref +reference "eq:Wgn" + +\end_inset + + becomes +\begin_inset Formula \begin{equation} +W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation} + +\end_inset + + +\end_layout + +\begin_layout Standard +To enable calculations in LaTeX, the LaTeX-package +\series bold +calc +\series default + must be loaded with the document preamble line +\begin_inset LatexCommand index +name "LaTeX-packages ! calc" + +\end_inset + + +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage{calc} +\end_layout + +\begin_layout Standard +LyX does not allow to calculate lengths in the width-field of the table + dialog. + Therefore you have to format the column by inserting a LaTeX-argument in + the dialog. + Here is an overview about the arguments: +\end_layout + +\begin_layout Itemize + +\series bold +p{width} +\series default + creates cell with a fixed width, its text is vertically top-aligned +\end_layout + +\begin_layout Itemize + +\series bold +m{width} +\series default + creates cell with a fixed width, its text is vertically centered +\end_layout + +\begin_layout Itemize + +\series bold +b{width} +\series default + creates cell with a fixed width, its text is vertically bottom-aligned +\end_layout + +\begin_layout Standard +By entering a LaTeX-argument, all cell properties set in the table dialog + are overwritten. + +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + Due to a bug, LyX shows the overwritten properties anyway. +\end_layout + +\end_inset + + As the text should be horizontally centered, the command +\series bold + +\backslash +centering +\series default + is added. + You can now enter the following LaTeX-argument for the first spanned column: +\end_layout + +\begin_layout Standard + +\series bold +|>{ +\backslash +centering}m{1.25cm-6.2pt} +\end_layout + +\begin_layout Standard +The bar +\begin_inset Quotes eld +\end_inset + + +\series bold +| +\series default + +\begin_inset Quotes erd +\end_inset + + at the beginning draws the border line and the command +\series bold +>{ } +\series default + means, that the commands inside the braces are applied before the cell + is created. +\end_layout + +\begin_layout Standard +Although we have chosen centered alignment for the text of the multicolumn + cell, it is still left aligned. + This is because LyX only applies the alignment to single columns. + So we have to use for the multicolumn the LaTeX-argument +\end_layout + +\begin_layout Standard + +\series bold +|>{ +\backslash +centering}m{2.5cm}| +\end_layout + +\begin_layout Subsection +Multirows +\begin_inset LatexCommand index +name "Multirows" + +\end_inset + + +\begin_inset LatexCommand index +name "Table ! Multirows" + +\end_inset + + +\begin_inset LatexCommand index +name "LaTeX-packages ! multirow" + +\end_inset + + +\end_layout + +\begin_layout Standard +In contrary to multicolumns multirows are not yet supported by LyX so a + bit of ERT needs to be used. + To use multirows load the LaTeX-package +\series bold +multirow +\series default + in your document preamble with the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage{multirow} +\end_layout + +\begin_layout Standard +Multirows are created with the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +multirow{number of rows}{cell width}{cell entry} +\end_layout + +\begin_layout Standard +To create the following table: +\end_layout + +\begin_layout Standard +\align center +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +multirowsetup}{ +\backslash +centering} +\end_layout + +\end_inset + + +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +multirow{2}{2.5cm}{ +\end_layout + +\end_inset + +multirow entry +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + + + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +multirowsetup}{ +\backslash +raggedright} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +create a 3×3 table. + To get rid of the line above the last cell in the first column, the cell + is marked as multicolumn and the upper border is unset. + The multirow is now created in the second row of the first column by inserting + there the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +multirow{2}{2.5cm}{ +\end_layout + +\begin_layout Standard +as ERT. + According to the command parameters the multirow spans now two rows and + has a width of 2.5\InsetSpace \thinspace{} +cm. + The content of the multirow cell follows outside the ERT box and the command + is finished with a right brace +\series bold +} +\series default + in another ERT-box behind the text. +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +multirow +\series default + left-aligns its content by default. + To override the default, renew the command +\series bold + +\backslash +multirowsetup +\series default + with the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewcommand{ +\backslash +multirowsetup}{ +\backslash +centering} +\end_layout + +\begin_layout Standard +in ERT in the document preamble. + Then all entries of multirow cells in the document are centered. + If centering is only needed for several tables, you can renew the command + in an ERT box just before the table instead of the preamble. + If the text should be right-aligned, replace +\series bold + +\backslash +centering +\series default + by +\series bold + +\backslash +raggedleft +\series default +. + To return to left-alignment +\series bold + +\backslash +raggedright +\series default + is used. +\end_layout + +\begin_layout Section +Booktabs +\begin_inset LatexCommand label +name "sec:Booktabs" + +\end_inset + + +\begin_inset LatexCommand index +name "Booktabs" + +\end_inset + + +\begin_inset LatexCommand index +name "LaTeX-packages ! booktabs" + +\end_inset + + +\end_layout + +\begin_layout Standard +Tables are often typeset in books similar to Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Example-booktabs-table" + +\end_inset + +. + They are therefore called +\begin_inset Quotes eld +\end_inset + + +\emph on +booktabs +\emph default + +\begin_inset Quotes erd +\end_inset + +. + To make a table a booktabs-table use the option +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement h +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Example-booktabs-table" + +\end_inset + +Example booktabs-table +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +toprule +\end_layout + +\end_inset + +System +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Medipix +\begin_inset Formula $\,$ +\end_inset + +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Medipix +\begin_inset Formula $\,$ +\end_inset + +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cmidrule(r){2-2} +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cmidrule(l){3-4} +\end_layout + +\end_inset + +Detector thickness [ +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +textmu m +\end_layout + +\end_inset + +] +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +300 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +300 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +700 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +midrule +\end_layout + +\end_inset + +Edge angle [°] +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3.55 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2.71 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +7.99 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +addlinespace +\end_layout + +\end_inset + +Spatial resolution [ +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +textmu m +\end_layout + +\end_inset + +] +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +4.26 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +10.17 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +10.56 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +addlinespace +\end_layout + +\end_inset + +MTF at +\begin_inset Formula $f_{\mathrm{max}}$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +0.53 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +0.37 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +0.39 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +addlinespace +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cmidrule(l{10pt}){1-1} +\end_layout + +\end_inset + +LSF-spatial resolution +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +in +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +textmu m +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +129.7 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +52.75 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +50.78 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +in % of pixel size +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +76.3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +95.9 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +92.3 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +bottomrule +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +This chapter describes how to create booktabs tables in LyX\InsetSpace ~ +1.4. +\end_layout + +\begin_layout Subsection +Basic Commands +\begin_inset LatexCommand index +name "Booktabs ! Basic Commands" + +\end_inset + + +\end_layout + +\begin_layout Standard +To be able to use booktabs the LaTeX-package +\series bold +booktabs +\series default + must be loaded in the document preamble with the line +\begin_inset LatexCommand index +name "LaTeX-packages ! booktabs" + +\end_inset + + +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage{booktabs} +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\begin_layout Standard +The first line of a booktabs table is created with the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +toprule[width] +\end_layout + +\begin_layout Standard +that is inserted into the first table cell in ERT as first cell entry. + The optional width specifies the thickness of the line; its default is + 0.08\InsetSpace \thinspace{} +em. + You can use all units listed in appendix\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "cha:Units-available-in" + +\end_inset + + to set the width. +\newline +Note that all commands in ERT must end with a space when + text follows the ERT-box! +\end_layout + +\begin_layout Standard +The last line of a booktabs table is created with the ERT command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +bottomrule[width] +\end_layout + +\begin_layout Standard +in the first cell of the last row. + The last row is only for this command and could not have any other content. + The default for the width is the same as for +\series bold + +\backslash +toprule +\series default +. +\end_layout + +\begin_layout Standard +Horizontal lines that span over all columns are created with the ERT command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +midrule[width] +\end_layout + +\begin_layout Standard +The default for the width is 0.05\InsetSpace \thinspace{} +em. +\end_layout + +\begin_layout Standard +Lines that don't span over all table columns are created with the ERT command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cmidrule[width](trim){startcol-endcol} +\end_layout + +\begin_layout Standard +The default for the width is 0.03\InsetSpace \thinspace{} +em. + Startcol is the number of the column where the line starts and endcol is + the column number where the line ends. + The endcol always needs to be specified also when the line should span + only one column. + The optional parameter trim could be either +\emph on +l{trimwidth} +\emph default +, or +\emph on +r{trimwidth} +\emph default + where the trimwidth is also optional. + Using for example the parameter +\emph on +l{2pt} +\emph default + means that the line is trimmed from its left end by 2pt. + If you don't specify the trimwidth the lines are trimmed by the default + of 0.5\InsetSpace \thinspace{} +em. +\end_layout + +\begin_layout Standard +The +\series bold + +\backslash +cmidrule +\series default + and +\series bold + +\backslash +midrule +\series default + commands must be inserted as first cell entry of the first cell of a row. + The lines are created above the row. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Example-booktabs-table" + +\end_inset + + was created using the commands +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cmidrule(r){2-2} +\backslash +cmidrule(l){3-4} +\end_layout + +\begin_layout Standard +in the second row, +\series bold + +\backslash +midrule +\series default + in the third row, and +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cmidrule(l{10pt}){1-1} +\end_layout + +\begin_layout Standard +in the sixth row. +\end_layout + +\begin_layout Subsection +Special Commands +\begin_inset LatexCommand index +name "Booktabs ! Special Commands" + +\end_inset + + +\end_layout + +\begin_layout Standard +To separate rows vertically the following ERT command can be used +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +addlinespace[width] +\end_layout + +\begin_layout Standard +The default width is 0.5 em. + In Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Example-booktabs-table" + +\end_inset + + +\series bold + +\backslash +addlinespace +\series default + was inserted to the first cell of some rows. + The space is created above the rows where the command is inserted +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\begin_layout Standard +You might want to have overlapping +\series bold + +\backslash +cmidrule +\series default +s like in Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Special-booktabs-table" + +\end_inset + +. + This can be achieved with the ERT command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +moremidrule +\series default +s +\end_layout + +\begin_layout Standard +The command that was used for the second row of Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Special-booktabs-table" + +\end_inset + + is +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cmidrule(r){2-2} +\backslash +cmidrule(l){3-4} +\backslash +moremidrules +\backslash +cmidrule{2-4} +\end_layout + +\begin_layout Standard +The command for the sixth row is +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +midrule +\backslash +moremidrules +\backslash +cmidrule{3-4} +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +The surrounding space of each line in a booktabs table can be specified + and changed in the document preamble. + For more informations about this, we refer to the manual of the booktabs + package +\begin_inset LatexCommand cite +key "booktabs" + +\end_inset + +. + If you are anyway not satisfied with the spacing, you can use the following + command to produce lines that span over all table columns +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +specialrule{width}{space above}{space below} +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement h +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Special-booktabs-table" + +\end_inset + +Special booktabs-table +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + +\begin_inset Text + +\begin_layout Standard +System +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Medipix\InsetSpace \thinspace{} +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Medipix\InsetSpace \thinspace{} +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cmidrule(r){2-2} +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cmidrule(l){3-4} +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +morecmidrules +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cmidrule{2-4} +\end_layout + +\end_inset + +Detector thickness [ +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +textmu m +\end_layout + +\end_inset + +] +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +300 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +300 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +700 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +Edge angle [°] +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3.55 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2.71 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +7.99 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +Spatial resolution [ +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +textmu m +\end_layout + +\end_inset + +] +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +4.26 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +10.17 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +10.56 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +MTF at +\begin_inset Formula $f_{\mathrm{max}}$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +0.53 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +0.37 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +0.39 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +morecmidrules +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cmidrule{3-4} +\end_layout + +\end_inset + +LSF-spatial resolution +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +in +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +textmu m +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +129.7 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +52.75 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +50.78 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +in % of pixel size +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +76.3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +95.9 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +92.3 +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Vertical Table Alignment +\begin_inset LatexCommand index +name "Table ! Alignment" + +\end_inset + + +\end_layout + +\begin_layout Standard +To align tables vertically in a text line the table must be inside a box. + The box can then be vertically aligned as described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Box-Dialog" + +\end_inset + +. +\end_layout + +\begin_layout Standard +In the following example the tables are inside a minipage +\begin_inset Foot +status collapsed + +\begin_layout Standard +Minipages are described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Minipages" + +\end_inset + +. +\end_layout + +\end_inset + + box that has a width of 15\InsetSpace \thinspace{} +col%: +\end_layout + +\begin_layout Itemize +test +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "15col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + test +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +raisebox{0.85 +\backslash +baselineskip}{ +\end_layout + +\end_inset + + +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "15col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Itemize +test +\begin_inset Box Frameless +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "15col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Itemize +test +\begin_inset Box Frameless +position "b" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "15col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + test +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +raisebox{-0.32 +\backslash +baselineskip}{ +\end_layout + +\end_inset + + +\begin_inset Box Frameless +position "b" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "15col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +As you can see, the content of the first and last table row is not correctly + aligned with the text line where the table is in. + To get this alignment, the minipage box must be set into a raisebox +\begin_inset Foot +status collapsed + +\begin_layout Standard +Raiseboxes are described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Vertical-Alignment" + +\end_inset + +. +\end_layout + +\end_inset + +. + In the example above the second table in the first item is aligned using + the ERT-command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +raisebox{0.85 +\backslash +baselineskip}{ +\end_layout + +\begin_layout Standard +before the box. + Behind the box the closing brace +\series bold +} +\series default + is inserted as ERT. + For the second table in the last item the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +raisebox{-0.32 +\backslash +baselineskip}{ +\end_layout + +\begin_layout Standard +is used. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default +The alignment of the table row content to the surrounding text line is not + exact. + The needed factor of the +\series bold + +\backslash +raisebox +\series default + command for this alignment depends on the document font, the font size, + and the table line thickness. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Colored Tables +\begin_inset LatexCommand label +name "sec:Colored-Tables" + +\end_inset + + +\begin_inset LatexCommand index +name "Table ! Color" + +\end_inset + + +\end_layout + +\begin_layout Subsection +Colored Cells +\begin_inset LatexCommand index +name "Table Color ! for Cells" + +\end_inset + + +\begin_inset LatexCommand index +name "Color ! for Table Cells" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement h +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Table-colored-without" + +\end_inset + +Table colored without using the package +\series bold +colortbl +\series default + +\begin_inset OptArg +status collapsed + +\begin_layout Standard +Table without colortbl +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard + +\color green +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color red +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color red +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\color green +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color blue +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color blue +f +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\color green +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color blue +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color blue +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +If you only need colored text, mark the cells and choose a color in the + menu +\family sans +Edit\SpecialChar \menuseparator +Text\InsetSpace ~ +Style +\family default +. + This was used to create Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Table-colored-without" + +\end_inset + +. + In any other case you have to use the LaTeX-package +\series bold +colortbl +\series default +. +\begin_inset LatexCommand index +name "LaTeX-packages ! colortbl" + +\end_inset + + +\end_layout + +\begin_layout Standard +To create colored tables, +\series bold +colortbl +\series default + must be loaded in the preamble with the line +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage{colortbl} +\end_layout + +\begin_layout Standard +The color of a column is adjusted with the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +columncolor{name of color} +\end_layout + +\begin_layout Standard +inside the command +\series bold +>{ } +\series default +. + More about the command +\series bold +>{} +\series default + is described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Multicolumn-Calculations" + +\end_inset + +. +\end_layout + +\begin_layout Standard +The following color names are predefined: +\end_layout + +\begin_layout Standard + +\family sans +red +\family default +, +\family sans +green +\family default +, +\family sans +yellow +\family default +, +\family sans +blue +\family default +, +\family sans +cyan +\family default +, +\family sans +magenta +\family default +, +\family sans +black +\family default + and +\family sans +white +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\begin_layout Standard +You can also define your own color with the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +definecolor{color name}{color model}{color values} +\end_layout + +\begin_layout Standard +The color model can be +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +cmyk: cyan, magenta, yellow, black +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +rgb: red, green blue +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +gray gray +\end_layout + +\begin_layout Standard +and the color values are comma separated numbers between 0 and 1 describing + the factor for the corresponding color of the color model. +\end_layout + +\begin_layout Standard +You can e.\InsetSpace \thinspace{} +g.\InsetSpace ~ +define the color " +\emph on +darkgreen +\emph default +" in the preamble with +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5} +\end_layout + +\begin_layout Standard +and the color " +\emph on +lightgray +\emph default +" with +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +definecolor{lightgray}{gray}{0.8} +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\begin_layout Standard +Lines are colored with the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +rowcolor{name of color} +\end_layout + +\begin_layout Standard +and cells are colored with the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cellcolor{name of color} +\end_layout + +\begin_layout Standard +Both commands are inserted at the beginning of a cell as ERT. +\end_layout + +\begin_layout Standard +To color characters in the table, mark the cells and use the LyX menu +\family sans +Edit\SpecialChar \menuseparator +Text\InsetSpace ~ +Style +\family default +. + If a cell contains ERT mark only the characters, otherwise the colored + ERT will cause LaTeX-errors. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +To create Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Table-colored-using" + +\end_inset + + do the following: The color of the first column should be +\emph on +darkgreen +\emph default +. + So insert +\end_layout + +\begin_layout Standard + +\series bold +>{ +\backslash +columncolor{darkgreen} +\backslash +centering}c +\end_layout + +\begin_layout Standard +as LaTeX-argument for this column. + The first row should be blue, therefore the ERT command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +rowcolow{cyan} +\end_layout + +\begin_layout Standard +is inserted to the first cell of this row. + Note that this overwrites the column color for the first cell. + The last cell of the last row is colored magenta by inserting the ERT command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cellcolor{magenta} +\end_layout + +\begin_layout Standard +The characters could now be colored using the menu +\family sans +Edit\SpecialChar \menuseparator +Text\InsetSpace ~ +Style +\family default +. +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement h +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Table-colored-using" + +\end_inset + +Table colored using the package +\series bold +colortbl +\series default + +\begin_inset OptArg +status collapsed + +\begin_layout Standard +Table with colortbl +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +rowcolor{cyan} +\end_layout + +\end_inset + + +\color magenta +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color red +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color red +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\color yellow +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color blue +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color blue +f +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\color yellow +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color blue +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cellcolor{magenta} +\end_layout + +\end_inset + + +\color green +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Colored Lines +\begin_inset LatexCommand index +name "Table Color ! for Lines" + +\end_inset + + +\begin_inset LatexCommand index +name "Color ! for Table Lines" + +\end_inset + + +\end_layout + +\begin_layout Standard +As described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Line-Thickness" + +\end_inset + +, the line thickness for all lines in a table can be adjusted with the length + +\series bold + +\backslash +arrayrulewidth +\series default +. + It is set to 1.5\InsetSpace \thinspace{} +pt for all tables of this section. +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +arrayrulewidth}{1.5pt} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +To color vertical lines for example with green, create the following column + format in the document preamble, according to the description in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Customized-Format" + +\end_inset + +: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcolumntype{W}{!{ +\backslash +color{green} +\backslash +vline}} +\end_layout + +\begin_layout Standard +For Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Table-with-vertical-colored" + +\end_inset + + the LaTeX-argument +\end_layout + +\begin_layout Standard + +\series bold +WcW +\end_layout + +\begin_layout Standard +was used for the last column and +\end_layout + +\begin_layout Standard + +\series bold +Wc +\end_layout + +\begin_layout Standard +for the other columns. +\end_layout + +\begin_layout Standard +If you want to have several colors, define more column formats. +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Table-with-vertical-colored" + +\end_inset + +Table with colored vertical lines +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +To color horizontal lines for example with red, like in Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Table-with-horizontal-colored" + +\end_inset + +, insert these commands in ERT before the table or table float: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +let +\backslash +myHlineC +\backslash +hline +\newline + +\backslash +renewcommand{ +\backslash +hline}{ +\backslash +arrayrulecolor{red} +\backslash +myHlineC +\backslash +arrayrulecolor{black}} +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +let +\backslash +myHlineC +\backslash +hline +\end_layout + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +hline}{ +\backslash +arrayrulecolor{red} +\backslash +myHlineC +\backslash +arrayrulecolor{black}} +\end_layout + +\end_inset + + +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Table-with-horizontal-colored" + +\end_inset + +Table with colored horizontal lines +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +pagebreak +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +To return to the default line color black, insert this command in ERT behind + the table or table float: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewcommand{ +\backslash +hline}{ +\backslash +myHlineC} +\end_layout + +\begin_layout Standard +Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Table-with-colored" + +\end_inset + + is an example with colored vertical and horizontal lines. +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Table-with-colored" + +\end_inset + +Table with colored lines +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +hline}{ +\backslash +myHlineC} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +arrayrulewidth}{0.4pt} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Table Customization +\begin_inset LatexCommand index +name "Table Customization" + +\end_inset + + +\begin_inset LatexCommand index +name "Table ! Customization" + +\end_inset + + +\end_layout + +\begin_layout Subsection +Extra Row Height +\begin_inset LatexCommand label +name "sub:Extra-Row-Height" + +\end_inset + + +\begin_inset LatexCommand index +name "Table Customization ! Extra Row Height" + +\end_inset + + +\end_layout + +\begin_layout Standard +Large letters or those with a bigger height like +\emph on +b +\emph default + and +\emph on +d +\emph default + often have not enough space between under the upper cell border. + With the preamble line +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +setlength{ +\backslash +extrarowheight}{2pt} +\end_layout + +\begin_layout Standard +you can add 2\InsetSpace \thinspace{} +pt extra height to all cells of all tables. + Although this often looks better, it has the disadvantage that the cell + texts are no longer exactly vertically centered. +\end_layout + +\begin_layout Standard +An alternative method for extra row height is described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Vertical-Alignment" + +\end_inset + +. +\end_layout + +\begin_layout Subsection +Special Cell Alignment +\begin_inset LatexCommand index +name "Table Customization ! Special Cell Alignment" + +\end_inset + + +\end_layout + +\begin_layout Standard +Sometimes it looks better when the cell entries of a column are aligned + with a special character, e.\InsetSpace \thinspace{} +g.\InsetSpace ~ +with the decimal separator as in Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Table-cells-of" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Table-cells-of" + +\end_inset + +Table cells of a column aligned with the decimal separator. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Standard +heading +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +12. +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +6 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +0. +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +68 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +-123. +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +0 +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +This table was created with a 4×2 table. + The heading is a centered multicolumn. + The first column is right-aligned and contains the digits before the decimal + point and the decimal point. + The second column is left aligned and contains the digits after the decimal + point. + To omit the space that is normally between two table columns, use the following + LaTeX-argument for the second column: +\end_layout + +\begin_layout Standard + +\series bold +@{}l +\end_layout + +\begin_layout Standard +If you need a vertical line right beside the second column, use this LaTeX-argum +ent instead: +\series bold +@{}l| +\end_layout + +\begin_layout Standard +Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Several-table-cell" + +\end_inset + + shows some example alignments. + For the alignment with the relation sign, you must add the second smallest + math-space at the beginning of the last column to get the correct space + surrounding the relation sign. +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Several-table-cell" + +\end_inset + +Several table cell alignments. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + + + +\begin_inset Text + +\begin_layout Standard +units +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +exponents +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +relations +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +12× +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +24\InsetSpace \thinspace{} +bottles +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $10\cdot$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $10^{\mbox{-}17}$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $\Gamma(t)\propto$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $\:\Upsilon(t)$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +1024× +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +768\InsetSpace \thinspace{} +Pixels +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $5.78\cdot$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $10^{7}$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $A\ne$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $\: B_{\mathrm{red}}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +32× +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +6\InsetSpace \thinspace{} +cm +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +- +\begin_inset Formula $33.5\cdot$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $10^{4}$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $\sin(\alpha)\ge$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $\:\sin(\beta)$ +\end_inset + + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +There is also the LaTeX-package +\series bold +dcolumn +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! dcolumn" + +\end_inset + + that provides table cell alignments. + But this unfortunately treats the cell entries as math and doesn't allow + formulas in table cells: The first column of Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Several-table-cell" + +\end_inset + + will look with +\series bold +dcolumn +\series default + like the first column in Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Alignments-when" + +\end_inset + + and only with some tricks like the expected. + The alignment of the second and third column of Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Several-table-cell" + +\end_inset + + is not possible with +\series bold +dcolumn +\series default +. +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement h +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Alignments-when" + +\end_inset + +Alignments when LaTeX-package dcolumn is used. + For the second and third alignment some tricks were used. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +units +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +units +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +units +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +12×24\InsetSpace \thinspace{} +bottles +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +12×24\InsetSpace \thinspace{} + +\begin_inset Formula $\mbox{bottles}$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +12×24~ +\begin_inset Formula $\mbox{bottles}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +1024×768\InsetSpace \thinspace{} +Pixels +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +1024×768\InsetSpace \thinspace{} + +\begin_inset Formula $\mbox{Pixels}$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +1024×768~ +\begin_inset Formula $\mbox{Pixels}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +32×6\InsetSpace \thinspace{} +cm +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +32×6\InsetSpace \thinspace{} + +\begin_inset Formula $\mbox{cm}$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +32×6~ +\begin_inset Formula $\mbox{cm}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Customized Cell/Column Format +\begin_inset LatexCommand label +name "sub:Customized-Format" + +\end_inset + + +\begin_inset LatexCommand index +name "Table Customization ! Cell/Column Format" + +\end_inset + + +\end_layout + +\begin_layout Standard +Calculating the needed width for spanned columns like in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Multicolumn-Calculations" + +\end_inset + + is very annoying if you have several tables with multicolumn cells. + To make life easier, you can define a cell/column format in the preamble, + so that it can be used in all tables of the document. + The format is defined with the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcolumntype{name of format}[number of arguments]{commands} +\end_layout + +\begin_layout Standard +The format name may only consist of one letter. + The letters +\emph on +b +\emph default +, +\emph on +c +\emph default +, +\emph on +l +\emph default +, +\emph on +m +\emph default +, +\emph on +p +\emph default + and +\emph on +r +\emph default + are predefined and cannot be used. + But all letters are allowed as capitals. +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\begin_layout Standard +For vertically and horizontally centered multicolumn cells with a fixed + width you can define the cell format +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcolumntype{M}[1]{>{ +\backslash +centering +\backslash +hspace{0pt}}m{#1}} +\end_layout + +\begin_layout Standard +where +\series bold + +\backslash +hspace{0pt} +\series default + avoids the problem of hyphenating the first word, as described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Multiple-Lines-in" + +\end_inset + +. + Now you can simply enter +\end_layout + +\begin_layout Standard + +\series bold +|M{width} +\end_layout + +\begin_layout Standard +as LaTeX-argument in the table dialog to create a multicolumn. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +For cells spanned by a multicolumn cell, you can define the format +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcolumntype{S}[2]{>{ +\backslash +centering +\backslash +hspace{0pt}} +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +phantom{ +\end_layout + +\end_inset + + +\backslash +newcolumntype{S}[2] +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + +m{(#1+(2 +\backslash +tabcolsep+ +\backslash +arrayrulewidth)*(1-#2))/#2}} +\end_layout + +\begin_layout Standard +This format uses equation +\begin_inset LatexCommand eqref +reference "eq:Wgn" + +\end_inset + + to calculate the needed width so that each spanned cell has the same width. +\end_layout + +\begin_layout Standard +You can now enter +\end_layout + +\begin_layout Standard + +\series bold +|S{width of multicolumn cell}{number of spanned columns} +\end_layout + +\begin_layout Standard +as LaTeX-argument of the column. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +For colored columns, you can define +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcolumntype{K}[1]{>{ +\backslash +columncolor{#1} +\backslash +hspace{0pt}}c} +\end_layout + +\begin_layout Standard +The +\begin_inset Quotes eld +\end_inset + +c +\begin_inset Quotes erd +\end_inset + + at the end creates a column with a flexible width whose text is horizontally + centered. + You can now enter +\end_layout + +\begin_layout Standard + +\series bold +K{color name} +\end_layout + +\begin_layout Standard +as LaTeX-argument. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +To create Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Table-using-user-defined" + +\end_inset + + use the LaTeX-arguments +\end_layout + +\begin_layout Standard + +\series bold +|M{2.5cm} +\end_layout + +\begin_layout Standard +for the first column and the multicolumn, +\end_layout + +\begin_layout Standard + +\series bold +|K{red}| +\end_layout + +\begin_layout Standard +for the the last column, and +\end_layout + +\begin_layout Standard + +\series bold +|S{2.5cm}{2} +\end_layout + +\begin_layout Standard +for the cells in the second column. +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement h +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Table-using-user-defined" + +\end_inset + +Table using user-defined table formats +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + +\begin_inset Text + +\begin_layout Standard +verylongtablecellword +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +multiple lines multicolumn +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +j +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +k +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Line Thickness +\begin_inset LatexCommand label +name "sub:Line-Thickness" + +\end_inset + + +\begin_inset LatexCommand index +name "Table Customization ! Line Thickness" + +\end_inset + + +\end_layout + +\begin_layout Standard +The line thickness for all lines in a table can be adjusted with the length + +\series bold + +\backslash +arrayrulewidth +\series default +. + To set for example a line thickness of 1.5\InsetSpace \thinspace{} +pt, like in Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Table-with-1.5" + +\end_inset + +, insert the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +setlength{ +\backslash +arrayrulewidth}{1.5pt} +\end_layout + +\begin_layout Standard +in ERT before the table or table float. + The changed thickness is valid for all following tables. + To use the default value again, set +\series bold + +\backslash +arrayrulewidth +\series default + to 0.4\InsetSpace \thinspace{} +pt in ERT behind the table or table float. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +arrayrulewidth}{1.5pt} +\end_layout + +\end_inset + + +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Table-with-1.5" + +\end_inset + +Table with 1.5\InsetSpace \thinspace{} +pt thick lines +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +arrayrulewidth}{0.4pt} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +To set the line thickness to 1.5\InsetSpace \thinspace{} +pt only for horizontal lines, like in Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Table-with-horizontal" + +\end_inset + +, insert these commands in ERT before the table or table float: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +let +\backslash +myHline +\backslash +hline +\newline + +\backslash +renewcommand{ +\backslash +hline} +\newline + { +\backslash +noalign{ +\backslash +global +\backslash +arrayrulewidth 1.5pt} +\newline + +\backslash +myHline +\backslash +noalign{ +\backslash +global +\backslash +arrayrulewidth 0.4pt}} +\end_layout + +\begin_layout Standard +To return to the default line thickness, insert this command in ERT behind + the table or table float: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewcommand{ +\backslash +hline}{ +\backslash +myHline} +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +let +\backslash +myHline +\backslash +hline +\end_layout + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +hline} +\end_layout + +\begin_layout Standard + + { +\backslash +noalign{ +\backslash +global +\backslash +arrayrulewidth 1.5pt} +\end_layout + +\begin_layout Standard + + +\backslash +myHline +\backslash +noalign{ +\backslash +global +\backslash +arrayrulewidth 0.4pt}} +\end_layout + +\end_inset + + +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Table-with-horizontal" + +\end_inset + +Table with 1.5\InsetSpace \thinspace{} +pt thick horizontal lines +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +hline}{ +\backslash +myHline} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +To set the line thickness to 1.5\InsetSpace \thinspace{} +pt only for vertical lines, create the following + column format in the document preamble, according to the description in + section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Customized-Format" + +\end_inset + +: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcolumntype{V}{!{ +\backslash +vrule width 1.5pt}} +\end_layout + +\begin_layout Standard +For Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Table-with-vertical" + +\end_inset + + the LaTeX-argument +\end_layout + +\begin_layout Standard + +\series bold +VcV +\end_layout + +\begin_layout Standard +was used for the last column and +\end_layout + +\begin_layout Standard + +\series bold +Vc +\end_layout + +\begin_layout Standard +for the other columns. +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Table-with-vertical" + +\end_inset + +Table with 1.5\InsetSpace \thinspace{} +pt thick vertical lines +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Dashed Lines +\begin_inset LatexCommand index +name "Table Customization ! Dashed Lines" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement H +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Table-with-dashed" + +\end_inset + +Table with dashed lines +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Standard +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +j +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hdashline +\end_layout + +\end_inset + +k +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +l +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +m +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +n +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +o +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cdashline{4-5} +\end_layout + +\end_inset + +p +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +q +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +r +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +t +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +u +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +v +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +w +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +x +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +LyX doesn't natively support dashed lines, so you have to use ERT. + As prerequisite the LaTeX-package +\series bold +arydshln +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! arydshln" + +\end_inset + + must be loaded in the document preamble with the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage{arydshln} +\end_layout + +\begin_layout Standard +To make a vertical line dashed, enter the colon +\begin_inset Quotes eld +\end_inset + +: +\begin_inset Quotes erd +\end_inset + + together with the character for the horizontal alignment as LaTeX-argument + in the table cell dialog. +\end_layout + +\begin_layout Standard +For a horizontal dashed line add the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +hdashline +\end_layout + +\begin_layout Standard +in ERT as first element of the first cell in the table row. +\end_layout + +\begin_layout Standard +For dashed multicolumn lines use the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cdashline{line number +\series default +} +\end_layout + +\begin_layout Standard +in ERT as first element of the first cell in the table row. + If you have for example a multicolumn spanning over columns 2 to 4 and + you want to have a dashed line above, add the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cdashline{2-4} +\end_layout + +\begin_layout Standard +as first element of the first cell in the row of the multicolumn. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Table-with-dashed" + +\end_inset + + was created using +\begin_inset Quotes eld +\end_inset + + +\series bold +:c +\series default + +\begin_inset Quotes erd +\end_inset + + as LaTeX-argument of the third column. + The ERT command +\series bold + +\backslash +hdashline +\series default + was inserted to the first cell of the third row and the the ERT command +\newline + + +\series bold + +\backslash +cdashline{4-5} +\series default + was inserted to the first cell of the fourth row. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + The used LaTeX-package +\series bold +arydshln +\series default + is apparently not compatible with the LaTeX-package +\series bold +colortbl +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! colortbl" + +\end_inset + + that is used for colored tables in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Colored-Tables" + +\end_inset + +. + That means colored tables cannot have dashed lines. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Chapter +Floats +\begin_inset LatexCommand index +name "Floats" + +\end_inset + + +\begin_inset LatexCommand label +name "cha:Floats" + +\end_inset + + +\end_layout + +\begin_layout Section +Introduction +\begin_inset LatexCommand label +name "sec:FloatIntroduction" + +\end_inset + + +\begin_inset LatexCommand index +name "Floats ! Introduction" + +\end_inset + + +\end_layout + +\begin_layout Standard +A float is a block of text associated with some sort of label, which doesn't + have a fixed location. + It can +\begin_inset Quotes eld +\end_inset + +float +\begin_inset Quotes erd +\end_inset + + forward or backward a page or two, to wherever it fits best. + +\family sans +Footnotes +\family default + and +\family sans +Margin\InsetSpace ~ +Notes +\family default + are also floats, because they can float to the next page when there are + too many notes at the page. +\end_layout + +\begin_layout Standard +Floats allow a high quality layout. + Images and tables can evenly be spread to the pages to avoid white space + and pages without text. + As the floating often destroys the context between the text and the image/table +, every float can be referenced in the text. + Floats are therefore numbered. + Referencing is described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Referencing-Floats" + +\end_inset + +. +\end_layout + +\begin_layout Standard +To insert a float, use the menu +\family sans +Insert\SpecialChar \menuseparator +Floats +\family default +. + This inserts a box with a label in the +\family sans +Caption +\family default + environment +\begin_inset Foot +status collapsed + +\begin_layout Standard +The +\family sans +Caption +\family default + environment is described in LyX's +\emph on +Userguide +\emph default +. +\end_layout + +\end_inset + + into your document. + Every label ends with the character +\begin_inset Quotes eld +\end_inset + +# +\begin_inset Quotes erd +\end_inset + + as placeholder for the float number in the output. + The label will automatically be translated to the document language in + the output. + Behind the label you can insert the caption text. + The image or table is inserted above or below the caption in a separate + paragraph within the float. + More about the caption placement is described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Caption-Placement" + +\end_inset + +. + To keep your LyX-document readable, you can open and close the float box + by left-clicking on the box label. + A closed float box looks like this: +\begin_inset Graphics + filename ../clipart/floatQt4.png + scale 70 + +\end_inset + + -- a gray button with a red label. +\end_layout + +\begin_layout Standard +It is recommended to insert floats as a separate paragraph to avoid possible + LaTeX-errors that can occur when the surrounding text is specially formatted. +\end_layout + +\begin_layout Standard +Existing figures or tables can be put into a float by marking them and then + pressing the corresponding toolbar button for a new float. +\end_layout + +\begin_layout Section +Float Types +\end_layout + +\begin_layout Standard +Besides figure and table floats that are described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Figure-Floats" + +\end_inset + + and +\begin_inset LatexCommand ref +reference "sec:Table-Floats" + +\end_inset + +, respectively, LyX offers the float types +\series bold +Algorithm +\series default + and +\series bold +Text\InsetSpace ~ +Wrap\InsetSpace ~ +Float +\series default +. +\end_layout + +\begin_layout Subsection +Algorithm Floats +\begin_inset LatexCommand index +name "Floats ! Algorithm Floats" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float algorithm +placement h +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "alg:Example-Algorithm-float" + +\end_inset + +Example Algorithm float +\end_layout + +\begin_layout LyX-Code +for I in 1..N loop +\newline + Sum:= Sum + A(I); /*senseless comment*/ +\newline +end loop +\begin_inset VSpace -4mm +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +This float type is inserted with the menu +\family sans +Insert\SpecialChar \menuseparator +Floats\SpecialChar \menuseparator +Algorithm +\family default +. + It is used for program codes and descriptions of algorithms. + A possible environment for algorithms is the +\family sans +LyX-Code +\family default +, described in LyX's +\emph on +Userguide +\emph default +. + Algorithm\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "alg:Example-Algorithm-float" + +\end_inset + + is an example of an algorithm float where -4\InsetSpace \thinspace{} +mm vertical space was added + at the end of the float to have the bottom rule exactly below the last + text line. +\end_layout + +\begin_layout Standard +The float label is not automatically translated into the document language. + If your document is not in English, you have to do this manually by adding + the following line +\series bold + +\series default +to the document preamble +\series bold +: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +floatname{algorithm}{your\InsetSpace ~ +name} +\end_layout + +\begin_layout Standard + +\family sans +your\InsetSpace ~ +name +\family default + is the word +\begin_inset Quotes eld +\end_inset + + +\emph on +algorithm +\emph default + +\begin_inset Quotes erd +\end_inset + + in your language. +\end_layout + +\begin_layout Description + +\series bold +Note: +\series default + When the LaTeX-package +\series bold +hyperref +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! hyperref" + +\end_inset + + is used to link cross-references to floats in the PDF-output, it must be + loaded in the document preamble before the definition of floats to be able + to reference floats. + As LyX sets the float definition for algorithm floats automatically before + the user editable part of the document preamble, you need to insert the + following preamble lines +\emph on +after +\emph default + the loading command of +\series bold +hyperref +\series default +: +\series bold + +\begin_inset VSpace defskip +\end_inset + + +\newline + +\backslash +newfloat{Xalgorithm}{tbp}{loa} +\newline + +\backslash +floatname{Xalgorithm}{your\InsetSpace ~ +name} +\newline + +\backslash +newcommand{ +\backslash +theHalgorithm}{ +\backslash +theHXalgorithm} +\newline + +\backslash +renewenvironment{algorithm}[1][tbp] +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + +{ +\backslash +begin{Xalgorithm}[#1]}{ +\backslash +end{Xalgorithm}} +\begin_inset VSpace defskip +\end_inset + + +\series default + +\newline +Where +\family sans +your\InsetSpace ~ +name +\family default + is the word +\begin_inset Quotes eld +\end_inset + + +\emph on +algorithm +\emph default + +\begin_inset Quotes erd +\end_inset + + in your language. +\end_layout + +\begin_layout Standard +Algorithm floats are not by default numbered in the scheme +\begin_inset Quotes eld +\end_inset + +chapter.algorithm +\begin_inset Quotes erd +\end_inset + + like it is the case for table and figure floats in many document-classes. + To number algorithm floats in the same scheme, add this command to your + document preamble: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +numberwithin{algorithm}{chapter} +\end_layout + +\begin_layout Standard +If you use the LaTeX-package +\series bold +hyperref +\series default +, add this line instead +\emph on +after +\emph default + the definition of +\family sans +Xalgorithm +\family default + (the commands from above) to the preamble: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +numberwithin{Xalgorithm}{chapter} +\end_layout + +\begin_layout Standard +To be able to use the command +\series bold + +\backslash +numberwithin +\series default +, set in the tab +\family sans +Math\InsetSpace ~ +Options +\family default + in the document settings the option +\family sans +Use\InsetSpace ~ +AMS\InsetSpace ~ +math\InsetSpace ~ +package +\family default +. +\end_layout + +\begin_layout Subsection +Text Wrap Floats +\begin_inset LatexCommand index +name "Floats ! Text Wrap Floats" + +\end_inset + + +\begin_inset LatexCommand label +name "sub:floatflt-wrap-float" + +\end_inset + + +\end_layout + +\begin_layout Standard +This float type is used if you want to +\begin_inset Quotes eld +\end_inset + +wrap +\begin_inset Quotes erd +\end_inset + + text around a figure so that it only occupies some fraction of the column + width. + It can be inserted using the menu +\begin_inset Wrap figure +placement l +width "40col%" +status open + +\begin_layout Standard +\begin_inset Graphics + filename ../clipart/mobius.pdf + display color + width 40col% + rotateOrigin center + +\end_inset + + +\end_layout + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:This-is-a" + +\end_inset + +This is a wrapped figure, and this is the brilliant caption that describes + it. +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\end_inset + + +\family sans +Insert\SpecialChar \menuseparator +Floats\SpecialChar \menuseparator +Text\InsetSpace ~ +Wrap\InsetSpace ~ +Float +\family default + if the LaTeX-package +\series bold +floatflt +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! floatflt" + +\end_inset + + is installed. +\begin_inset Foot +status collapsed + +\begin_layout Standard +Installing a LaTeX-package is explained it in the +\emph on +LaTeX\InsetSpace ~ +Configuration +\emph default + manual. +\end_layout + +\end_inset + + The width and placement of the float is adjusted by right-clicking on the + float box. + Figure\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:This-is-a" + +\end_inset + + is an example text wrap float with a width of 40 +\begin_inset Formula $\,$ +\end_inset + +col%. +\begin_inset Foot +status collapsed + +\begin_layout Standard +Available units are explained in +\begin_inset LatexCommand ref +reference "cha:Units-available-in" + +\end_inset + +. +\end_layout + +\end_inset + + Some space was added under the caption to separate it better from the surroundi +ng text. +\end_layout + +\begin_layout Standard +The LaTeX-package +\series bold +floatflt +\series default + also supports table wrap floats, but they are not yet supported by LyX. + If you need this, read the documentation of +\series bold +floatflt +\series default + +\begin_inset LatexCommand cite +key "floatflt" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + Text\InsetSpace ~ +wrap float floats are fragile! E.\InsetSpace \thinspace{} +g.\InsetSpace ~ +having a figure too close to the bottom + of the page can mess things up in the way that the float doesn't appear + in the output or that it is placed over some other text. +\begin_inset Foot +status open + +\begin_layout Standard +The better solution is to use the LaTeX-package +\series bold +wrapfig +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! wrapfig\\vspace{4mm}" + +\end_inset + + instead of +\series bold +floatflt +\series default +, but it is currently not supported by LyX. +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +In general: +\end_layout + +\begin_layout Itemize +Wrap floats should not be placed in paragraphs that run over a page break. + That means that wrap floats should better be inserted to the exact place + when the document is nearly ready and you are able to estimate where page + breaks will appear. +\end_layout + +\begin_layout Itemize +Wrap floats should either be placed in an own paragraph before the paragraph + where they should wrap into or within a paragraph. +\end_layout + +\begin_layout Itemize +Wrap floats in consecutive paragraphs may cause troubles, so assure that + there is a text paragraph between them as separator. +\end_layout + +\begin_layout Itemize +Wrap floats are not allowed in section headings or tables. +\end_layout + +\begin_layout Section +Referencing Floats +\begin_inset LatexCommand label +name "sec:Referencing-Floats" + +\end_inset + + +\begin_inset LatexCommand index +name "Floats ! References" + +\end_inset + + +\begin_inset LatexCommand index +name "References" + +\end_inset + + +\end_layout + +\begin_layout Standard +To reference a float, insert a label into its caption using the menu +\family sans +Insert\SpecialChar \menuseparator +Label +\family default + or the toolbar button +\begin_inset Graphics + filename ../images/label-insert.xpm + scale 85 + +\end_inset + +. + A grey label box like this one: +\begin_inset Graphics + filename ../clipart/labelQt4.png + scale 85 + +\end_inset + + will be inserted and the label window pops up asking for the label text. + LyX offers as text the first words of the caption with a prefix. + The prefix depends on the float type, e.\InsetSpace \thinspace{} +g.\InsetSpace ~ +for figure floats the prefix will + be " +\family sans +fig: +\family default +". +\end_layout + +\begin_layout Standard +The label is used as anchor and name for the reference. + You can refer to the label using the menu +\family sans +Insert\SpecialChar \menuseparator +Cross-reference +\family default + or the toolbar button +\begin_inset Graphics + filename ../images/dialog-show-new-inset_ref.xpm + scale 85 + +\end_inset + +. + A grey cross-reference box like this one: +\begin_inset Graphics + filename ../clipart/referenceQt4.png + scale 85 + +\end_inset + + will be inserted and the cross-reference window appear showing all labels + of the document. + If you have multiple LyX-documents opened, choose the one you are working + on from the drop-list at the top of the dialog. + You can now sort the labels alphabetically and then choose one. + At the position of the cross-reference box the float number will appear + in the output. +\end_layout + +\begin_layout Standard +It is recommended to use a protected space between the cross-reference name + and its number to avoid line breaks between them. + If a cross-reference refers to a non-existing label, you will see two question + marks in the output instead of the reference. +\end_layout + +\begin_layout Standard +You can change labels at any time by clicking on the label box. + References to the changed label will automatically change its link to the + new label text, so that you don't need to take care about this. +\end_layout + +\begin_layout Standard +The button +\family sans +Go\InsetSpace ~ +to\InsetSpace ~ +Label +\family default + in the cross-reference window sets the cursor before the referred label. + The button text changes then to Go\InsetSpace ~ +Back and you can use it to set the cursor + back to the cross-reference. + Right-clicking on a cross-reference box also sets the cursor before the + referenced label but without a possibility to go back. +\end_layout + +\begin_layout Subsection +Cross-reference formats +\begin_inset LatexCommand label +name "sub:Cross-reference-formats" + +\end_inset + + +\begin_inset LatexCommand index +name "References ! Formats" + +\end_inset + + +\end_layout + +\begin_layout Standard +There are six varieties of cross-references: +\end_layout + +\begin_layout Description +: prints the float number, this is the default: +\begin_inset LatexCommand ref +reference "fig:Two-distorted-images" + +\end_inset + + +\end_layout + +\begin_layout Description +(): prints the float number within two parentheses, this is the + style normally used to reference formulas, especially when the reference + name +\begin_inset Quotes eld +\end_inset + +Equation +\begin_inset Quotes erd +\end_inset + + is omitted: +\begin_inset LatexCommand eqref +reference "eq:Wgn" + +\end_inset + + +\end_layout + +\begin_layout Description +: prints the page number: Page\InsetSpace ~ + +\begin_inset LatexCommand pageref +reference "fig:Two-distorted-images" + +\end_inset + + +\end_layout + +\begin_layout Description +on\InsetSpace ~ +page\InsetSpace ~ +: prints the text "on page" and the page number: +\begin_inset LatexCommand vpageref +reference "fig:Two-distorted-images" + +\end_inset + + +\end_layout + +\begin_layout Description +\InsetSpace ~ +on\InsetSpace ~ +page\InsetSpace ~ +: prints the float number, the text "on page", and + the page number: +\begin_inset LatexCommand vref +reference "fig:Two-distorted-images" + +\end_inset + + +\end_layout + +\begin_layout Description +Formatted\InsetSpace ~ +reference: prints a self defined cross-reference format: +\newline + +\begin_inset LatexCommand prettyref +reference "fig:Two-distorted-images" + +\end_inset + + +\end_layout + +\begin_layout Standard +Note that the style won't print the page number if the label is on + the previous, the same, or the next page. + You will e.\InsetSpace \thinspace{} +g.\InsetSpace ~ +see the text +\begin_inset Quotes eld +\end_inset + + +\family sans +on this page +\family default + +\begin_inset Quotes erd +\end_inset + + instead. +\end_layout + +\begin_layout Standard +The number and current page of the referred document part in the output, + is automatically calculated by LaTeX. + The varieties are adjusted in the field +\family sans +Format +\family default + of the cross-reference window, that appear when you click on the cross-referenc +e box. +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +To define a format for the +\family sans +Formatted\InsetSpace ~ +reference +\family default + style, you have to use the following command in the document preamble: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newrefformat{prefix}{text} +\end_layout + +\begin_layout Standard +This formatting command affects all references to labels with the same prefix. + To get the format of the +\family sans +Formatted\InsetSpace ~ +reference +\family default + example above, this command was used: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newrefformat{fig} +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + +{Figure~float~ +\backslash +ref{#1} printed on page~ +\backslash +pageref{#1}} +\end_layout + +\begin_layout Standard +The tilde "~" is the LaTeX equivalent for the protected space. + The command +\series bold + +\backslash +ref{#1} +\series default + refers to the float number, the command +\series bold + +\backslash +pageref{#1} +\series default + to the page number. +\end_layout + +\begin_layout Subsection +Automatic Reference Naming +\begin_inset LatexCommand index +name "References ! Automatic Reference Naming" + +\end_inset + + +\end_layout + +\begin_layout Standard +The LaTeX-package +\series bold +hyperref +\series default + provides a very useful feature that cross-references automatically include + the name of the referenced floats (or text parts like sections). + You save to write e.\InsetSpace \thinspace{} +g.\InsetSpace ~ +the name +\begin_inset Quotes eld +\end_inset + +Figure +\begin_inset Quotes erd +\end_inset + + before every reference box. + To get this automatic reference naming, you have to load the LaTeX-package + +\series bold +hyperref +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! hyperref" + +\end_inset + + in the document preamble with +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage[pdfborder={0 0 0}]{hyperref} +\newline + +\backslash +AtBeginDocument{ +\backslash +renewcommand{ +\backslash +ref}[1]{ +\backslash +mbox{ +\backslash +autoref{#1}}}} +\end_layout + +\begin_layout Standard + +\series bold +hyperref +\series default + is used to link cross-references in the DVI- and PDF-output, this means + that the reader of your document will be able to click on a table of content + (TOC) entry or on a reference and he will be shown the referenced document + part. + +\series bold +hyperref +\series default + also creates PDF-bookmarks for every section of your document to make it + easier for readers to navigate through the document. + This is also used in this document but when you have a look in the document + preamble you will find various options in the load command of +\series bold +hyperref +\series default +. + To learn more about the +\series bold +hyperref +\series default + package, we refer to its documentation +\begin_inset LatexCommand cite +key "hyperref" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + Automatic reference naming cannot be used when you use cross-references + in the +\family sans +Formatted\InsetSpace ~ +reference +\family default + style, described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Cross-reference-formats" + +\end_inset + +. + That is the reason why it is not used in this document. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Reference Position +\begin_inset LatexCommand label +name "sub:Reference-Position" + +\end_inset + + +\begin_inset LatexCommand index +name "References ! Reference Position" + +\end_inset + + +\end_layout + +\begin_layout Standard +If you use +\series bold +hyperref +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! hyperref" + +\end_inset + + to link cross-references in the output, you will see that clicking on an + image float reference jumps to the image label. + The caption will be the first text part on the screen, so that you cannot + see the image without scrolling. + This is because the reference link anchor is placed at the position of + the label. + With the use of the package +\series bold +hypcap +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! hypcap" + +\end_inset + +, which is part of the LaTeX-package +\series bold +oberdiek +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! oberdiek" + +\end_inset + +, the link anchor is placed at the beginning of a float. + To use this feature for figure floats, load +\series bold +hypcap +\series default + in the document preamble with the line +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage[figure]{hypcap} +\end_layout + +\begin_layout Standard +You can also use +\series bold +hypcap +\series default + for all floats but this isn't recommended for stability reasons. + For more informations, have a look at +\series bold +hypcap +\series default +'s manual +\begin_inset LatexCommand cite +key "hypcap" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + +\series bold +hypcap +\series default + must be loaded after +\series bold +hyperref +\series default + in the document preamble. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Float Placement +\begin_inset LatexCommand label +name "sec:Float-Placement" + +\end_inset + + +\begin_inset LatexCommand index +name "Floats ! Placement" + +\end_inset + + +\end_layout + +\begin_layout Standard +Right-clicking on a float-box opens a dialog where you can alter the placement + options that LaTeX uses for positioning the float. +\newline +The option +\family sans +Span\InsetSpace ~ +columns +\family default + is only useful for two-column documents: If you select it, the float will + span across both columns on the page instead of being confined to just + one. +\newline +The option +\family sans +Rotate\InsetSpace ~ +sideways +\family default + is used to rotate floats, see section +\begin_inset LatexCommand ref +reference "sec:Rotated-Floats" + +\end_inset + +. +\end_layout + +\begin_layout Standard +You can use one ore more of the following options in the float dialog to + set the placement for a particular float when you uncheck the option +\family sans +Use\InsetSpace ~ +default\InsetSpace ~ +placement +\family default +: +\end_layout + +\begin_layout Description +Here\InsetSpace ~ +if\InsetSpace ~ +possible: try to place the float on the position where it is inserted +\end_layout + +\begin_layout Description +Top\InsetSpace ~ +of\InsetSpace ~ +page: try to place the float on the top of the current page +\end_layout + +\begin_layout Description +Bottom\InsetSpace ~ +of\InsetSpace ~ +page: try to place the float on the bottom of the current page +\end_layout + +\begin_layout Description +Page\InsetSpace ~ +of\InsetSpace ~ +floats: try to place the float on an own page +\end_layout + +\begin_layout Standard +The order of the above option is +\emph on +always +\emph default + used by LaTeX. + That means, if you use the default placement, LaTeX will first try out + +\family sans +Here\InsetSpace ~ +if\InsetSpace ~ +possible +\family default +, then +\family sans +Top\InsetSpace ~ +of\InsetSpace ~ +page +\family default +, and then the others. + If you don't use the default, LaTeX will try only the checked options but + in the same order. + If none of the 4 placements are possible the procedure is internally repeated + but it is tried to put the float on the following page. +\end_layout + +\begin_layout Standard +By default, each options has its own rules: +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 + +\family sans +Top\InsetSpace ~ +of\InsetSpace ~ +page +\family default + only floats occupying less than 70\InsetSpace \thinspace{} +% of the page can be placed at the top + of a page ( +\series bold + +\backslash +topfraction +\series default +) +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 + +\family sans +Bottom\InsetSpace ~ +of\InsetSpace ~ +page +\family default +: only floats occupying less than 30\InsetSpace \thinspace{} +% of the page can be placed at the bottom + of a page. + ( +\series bold + +\backslash +bottomfraction +\series default +) +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 + +\family sans +Page\InsetSpace ~ +of\InsetSpace ~ +floats +\family default +: only if more than 50\InsetSpace \thinspace{} +% of the page are occupied by floats, several floats + can be set together on a page. + ( +\series bold + +\backslash +floatpagefraction +\series default +) +\end_layout + +\begin_layout Standard +If you don't like these rules, you can ignore them by using the additional + option +\family sans +Ignore\InsetSpace ~ +LaTeX\InsetSpace ~ +rules +\family default +. +\newline +You can also redefine the rules with LaTeX-commands that are given in parenthese +s behind the rules description above. + To increase for example the often too small default of the bottom-rule + to 50\InsetSpace \thinspace{} +% of the page, add this line to your document preamble: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewcommand{ +\backslash +bottomfraction}{0.5} +\end_layout + +\begin_layout Standard +Sometimes you might need, under all circumstances, a float to be placed + exactly at the position where it is inserted. + For this case you can use the option +\family sans +Here\InsetSpace ~ +definitely +\family default +. + Use this option very rarely and only if the document is nearly ready to + be printed. + Because the float is then no longer able to +\begin_inset Quotes eld +\end_inset + +float +\begin_inset Quotes erd +\end_inset + + when you change your document and this will often destroy the page layout. +\end_layout + +\begin_layout Standard +There are no placement options for text wrap floats, because they are always + surrounded by the text of a certain paragraph. +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +Sometimes you have the problem that a float is placed at the top of a page + while its corresponding section starts at the middle of the page, so that + the reader could think the float is part of the previous section. + To avoid this the LaTeX-command +\series bold + +\backslash +suppressfloats +\series default + can be used. + It suppresses a given float placement for the page where it is inserted + and can therefore be used to avoid that floats could be set before a section + starts. + To get this, add these commands to your document preamble: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +let +\backslash +mySection +\backslash +section +\newline + +\backslash +renewcommand{ +\backslash +section}{ +\backslash +suppressfloats[t] +\backslash +mySection} +\end_layout + +\begin_layout Standard +You can define the same for all section headings, like chapters and subsections. + This definition is not recommended to be used for small text parts like + subsubsections because LaTeX may then have problems to find a suitable + placement. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +In some cases it is required to have all figures/tables at the end of the + document. + For this purpose the LaTeX-package +\series bold +endfloat +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! endfloat" + +\end_inset + + was developed. + It puts all figure and table floats at the end of the document into own + sections. + At the original float position a text hint like +\begin_inset Quotes eld +\end_inset + + +\family sans +[Figure\InsetSpace ~ +3.2 about here.] +\family default + +\begin_inset Quotes erd +\end_inset + + is inserted. + The endfloat-package is loaded in the preamble with the line +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage[options]{endfloat} +\end_layout + +\begin_layout Standard +There are various package options to format the created figure/table sections. + For more information we refer to the +\series bold +endfloat +\series default + documentation +\begin_inset LatexCommand cite +key "endfloat" + +\end_inset + +. +\newline + +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: endfloat +\series default + doesn't provide an automatic translation for the text hint, you have to + do this manually, see section\InsetSpace ~ +4 in +\begin_inset LatexCommand cite +key "endfloat" + +\end_inset + +. +\end_layout + +\end_inset + + +\newline + +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + There is currently a bug in +\series bold +endfloat +\series default + when the caption contains a German +\begin_inset Quotes eld +\end_inset + +ß +\begin_inset Quotes erd +\end_inset + +. + Use in this case the command +\begin_inset Quotes eld +\end_inset + + +\series bold + +\backslash +ss +\series default + +\begin_inset Quotes erd +\end_inset + + in ERT instead of +\begin_inset Quotes eld +\end_inset + +ß +\begin_inset Quotes erd +\end_inset + +. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +For more details about float placements, have a look at LaTeX books, +\begin_inset LatexCommand cite +key "latexcompanion,latexguide,latexbook" + +\end_inset + +. +\end_layout + +\begin_layout Section +Rotated Floats +\begin_inset LatexCommand label +name "sec:Rotated-Floats" + +\end_inset + + +\begin_inset LatexCommand index +name "Floats ! Rotating" + +\end_inset + + +\end_layout + +\begin_layout Standard +Especially for wide tables you might have floats rotated. + To rotate a whole float including the caption, right-click on the float-box + and use the option +\family sans +Rotate\InsetSpace ~ +sideways +\family default +. +\end_layout + +\begin_layout Standard +Rotated floats are always placed on its own page (or column, when you have + a two-column document). + They are normally rotated so that you can read them from the outside margin + -- to the left on even pages, to the right on odd pages. +\end_layout + +\begin_layout Standard +Referencing rotated floats is the same like for normal floats, the caption + format is also the same: Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Rotated-table" + +\end_inset + + is an example of a rotated table float. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + Not all DVI-viewers are able to display rotated floats. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways true +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Rotated-table" + +\end_inset + + Rotated table +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Standard +test +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Caption Formatting +\begin_inset LatexCommand index +name "Caption ! Formatting" + +\end_inset + + +\begin_inset LatexCommand index +name "Floats ! Caption Formatting" + +\end_inset + + +\begin_inset LatexCommand index +name "LaTeX-packages ! caption" + +\end_inset + + +\begin_inset LatexCommand label +name "sec:Caption-Formatting" + +\end_inset + + +\end_layout + +\begin_layout Standard +The +\family sans +Caption +\family default + environment is the default paragraph environment for +\family sans +Floats +\family default +. + On the LyX screen captions appear as label, e.\InsetSpace \thinspace{} +g.\InsetSpace ~ + +\begin_inset Quotes eld +\end_inset + + +\family sans +Figure #: +\family default + +\begin_inset Quotes erd +\end_inset + + followed by the caption text. + The number sign +\begin_inset Quotes eld +\end_inset + +# +\begin_inset Quotes erd +\end_inset + + is substituted in the printed output by the actual reference number. + By default the label and the number are in the same font as the caption + text and a colon follows the number to divide then label from the text. + This caption format is not suitable for all document formats. + +\end_layout + +\begin_layout Standard +To change the default caption format, load the LaTeX-package +\series bold +caption +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! caption" + +\end_inset + + in the document preamble with this line: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage[format definition]{caption} +\end_layout + +\begin_layout Standard +To have for example the label and the number in sans-serif bold font and + the table captions always above the table like in this document, use the + following command: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage[labelfont={bf,sf}, tableposition=top]{caption} +\end_layout + +\begin_layout Standard +You can also define different caption formats for the different float types. + In this case load the +\series bold +caption +\series default + package without format specific options and define the different formats + with the help of the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +captionsetup[float type]{format definition} +\end_layout + +\begin_layout Standard +in the document preamble. + For example the caption formats of Figure\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:This-is-an-fig" + +\end_inset + + and Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:This-is-an-tab" + +\end_inset + + can be created using these commands in the document preamble: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage[tableposition=top]{caption} +\series default + +\newline + +\series bold + +\backslash +captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,% +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ +\backslash + +\backslash +captionsetup[figure] +\backslash +{} +\end_layout + +\end_inset + + labelsep=period} +\newline + +\backslash +captionsetup[table]{labelfont={bf,sf}} +\end_layout + +\begin_layout Standard +For more information about the package +\series bold +caption +\series default + we refer to its documentation +\begin_inset LatexCommand cite +key "caption,caption-de" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +If you are using a +\series bold +koma-script +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! koma-script" + +\end_inset + + document class ( +\family sans +article (koma-script) +\family default +, +\family sans +book (koma-script) +\family default +, +\family sans +letter (koma-script) +\family default +, or +\family sans +report (koma-script) +\family default +\InsetSpace \thinspace{} +), you can alternatively to the +\series bold +caption +\series default + package use +\series bold +koma-script +\series default +'s built-in command +\series bold + +\backslash +setkomafont +\series default +. + For example, to have the caption label in bold, add this command to your + document preamble: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +setkomafont{captionlabel}{ +\backslash +bfseries} +\end_layout + +\begin_layout Standard +For more information about +\series bold + +\backslash +setkomafont +\series default + we refer to the +\series bold +koma-script +\series default + documentation +\begin_inset LatexCommand cite +key "koma-script,koma-script-de" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period +} +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Standard +The caption format is changed only for this example. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float figure +placement !p +wide false +sideways false +status open + +\begin_layout Standard +\align center +\begin_inset Graphics + filename ../clipart/mobius.pdf + lyxscale 50 + scale 50 + +\end_inset + + +\end_layout + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:This-is-an-fig" + +\end_inset + +This is an example figure caption that is longer than one line to show the + different caption format. + Here a self-defined caption format is used. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col +on} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement !p +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:This-is-an-tab" + +\end_inset + +This is an example table caption that is longer than one line to show the + different caption format. + Here the standard caption format for tables in this document is used. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Standard +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Caption Placement +\begin_inset LatexCommand index +name "Caption ! Placement" + +\end_inset + + +\begin_inset LatexCommand index +name "Floats ! Caption Placement" + +\end_inset + + +\begin_inset LatexCommand label +name "sec:Caption-Placement" + +\end_inset + + +\end_layout + +\begin_layout Standard +The common caption placement rule is: +\end_layout + +\begin_layout Description +Figure: Caption is set below the figure +\end_layout + +\begin_layout Description +Table: Caption is set above the table +\end_layout + +\begin_layout Standard +Having the caption above the table is unfortunately not supported in LaTeX's + standard classes. + That means if you are using the document classes +\family sans +article +\family default +, +\family sans +book +\family default +, +\family sans +letter +\family default +, or +\family sans +report +\family default + there will be no space between the caption and the table. + To insert the needed space, add the following option to the load command + of the LaTeX-package +\series bold +caption +\series default + in your document preamble +\begin_inset Foot +status collapsed + +\begin_layout Standard +See section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Caption-Formatting" + +\end_inset + + for more information of the package +\series bold +caption +\series default +. +\end_layout + +\end_inset + +: +\end_layout + +\begin_layout Standard + +\series bold +tableposition=top +\end_layout + +\begin_layout Standard +If you are using a +\series bold +koma-script +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! koma-script" + +\end_inset + + document class ( +\family sans +article (koma-script) +\family default +, +\family sans +book (koma-script) +\family default +, +\family sans +letter (koma-script) +\family default +, or +\family sans +report (koma-script) +\family default +\InsetSpace \thinspace{} +), you can alternatively to the +\series bold +caption +\series default + package set the document class option +\series bold +tablecaptionabove +\series default +, or you can use the environment +\family sans +caption\InsetSpace ~ +above +\family default + instead of the +\family sans +caption +\family default + environment. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +It is also possible to set the caption beside a figure or table. + To get this the LaTeX-package +\series bold +sidecap +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! sidecap" + +\end_inset + + has to be loaded in the document preamble with the line +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage[option]{sidecap} +\end_layout + +\begin_layout Standard +If you set no option, the caption is placed on the side of the outer page + margin -- to the right on odd pages, to the left on even pages. + You can change the placement to inner margin with the option +\series bold +innercaption +\series default +. + To force the placement always to the right or left, use the option +\series bold +rightcaption +\series default + or +\series bold +leftcaption +\series default +, respectively. +\end_layout + +\begin_layout Standard +To place in LyX the caption of a float on the side, it is necessary to add + these commands to the document preamble: +\end_layout + +\begin_layout Standard + +\lyxline + +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcommand{ +\backslash +TabBesBeg}{% +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +let +\backslash +MyTable +\backslash +table +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +let +\backslash +MyEndtable +\backslash +endtable +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +renewenvironment{table}{ +\backslash +begin{SCtable}}{ +\backslash +end{SCtable}}} +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcommand{ +\backslash +TabBesEnd}{% +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +let +\backslash +table +\backslash +MyTable +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +let +\backslash +endtable +\backslash +MyEndtable +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcommand{ +\backslash +FigBesBeg}{% +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +let +\backslash +MyFigure +\backslash +figure +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +let +\backslash +MyEndfigure +\backslash +endfigure +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +renewenvironment{figure}{ +\backslash +begin{SCfigure}}{ +\backslash +end{SCfigure}}} +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcommand{ +\backslash +FigBesEnd}{% +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +let +\backslash +figure +\backslash +MyFigure +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +let +\backslash +endfigure +\backslash +MyEndfigure} +\end_layout + +\begin_layout Standard + +\lyxline + +\end_layout + +\begin_layout Standard +The commands allow you to redefine the floats so that the caption is set + on the side. + For figure floats use the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +FigBesBeg +\end_layout + +\begin_layout Standard +in ERT before the float. + Behind the float insert the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +FigBesEnd +\end_layout + +\begin_layout Standard +in ERT to get back to the original float definition. +\end_layout + +\begin_layout Standard +For table floats use the corresponding commands +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +TabBesBeg +\series default + and +\series bold + +\backslash +TabBesEnd +\end_layout + +\begin_layout Standard +Figure\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:cap-beside-fig" + +\end_inset + + and Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:cap-beside-tab" + +\end_inset + + are examples where the caption is set beside. +\end_layout + +\begin_layout Standard +You can see in the examples that the caption text appears at the top of + the floats for table floats and at the bottom for figure floats. + To change this, you can use the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +sidecaptionvpos{float type}{placement} +\end_layout + +\begin_layout Standard +in the document preamble or in ERT before the float. + The float type is either +\family sans +figure +\family default + or +\family sans +table +\family default +, the placement can be +\begin_inset Quotes eld +\end_inset + + +\family sans +t +\family default + +\begin_inset Quotes erd +\end_inset + + for top, +\begin_inset Quotes eld +\end_inset + + +\family sans +c +\family default + +\begin_inset Quotes erd +\end_inset + + for center, or +\begin_inset Quotes eld +\end_inset + + +\family sans +b +\family default + +\begin_inset Quotes erd +\end_inset + + for bottom. + To have for example the caption of figure floats vertically centered, use + the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +sidecaptionvpos{figure}{c} +\end_layout + +\begin_layout Standard +This was used for Figure\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:cap-beside-fig-2" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset VSpace defskip +\end_inset + +For more information about the package +\series bold +sidecap +\series default + we refer to its documentation +\begin_inset LatexCommand cite +key "sidecap" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + The LaTeX-package +\series bold +hypcap +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! hypcap" + +\end_inset + +, described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Reference-Position" + +\end_inset + +, has no effect on floats with the caption set beside. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +FigBesBeg +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float figure +wide false +sideways false +status open + +\begin_layout Standard +\begin_inset Graphics + filename ../clipart/escher-lsd.pdf + scale 75 + +\end_inset + + +\end_layout + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:cap-beside-fig" + +\end_inset + +This is a caption beside a figure. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +TabBesBeg +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:cap-beside-tab" + +\end_inset + +This is a caption beside a table. +\end_layout + +\begin_layout Standard +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Standard +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +j +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +TabBesEnd +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +sidecaptionvpos{figure}{c} +\end_layout + +\end_inset + + +\begin_inset Float figure +wide false +sideways false +status open + +\begin_layout Standard +\begin_inset Graphics + filename ../clipart/escher-lsd.pdf + scale 75 + +\end_inset + + +\end_layout + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:cap-beside-fig-2" + +\end_inset + +This is a vertically centered caption beside a figure. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +FigBesEnd +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Listings of Floats +\begin_inset LatexCommand label +name "sec:Listings-of-Floats" + +\end_inset + + +\begin_inset LatexCommand index +name "Floats ! Listings" + +\end_inset + + +\end_layout + +\begin_layout Standard +Similar to the the table of contents where the sections of the document + are listed, there are listings for all float types, like the figures of + the documents. + You can insert them via the +\family sans +Insert\SpecialChar \menuseparator +List\InsetSpace ~ +/\InsetSpace ~ +TOC +\family default + sub menus. +\end_layout + +\begin_layout Standard +The list entries are the float captions or its short title, the float number, + and the page number where they appear in the document. +\end_layout + +\begin_layout Standard +You can find the list of figures and tables at the end of this document. +\end_layout + +\begin_layout Chapter +Notes +\end_layout + +\begin_layout Section +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +texorpdfstring{ +\end_layout + +\end_inset + +LyX +\begin_inset ERT +status collapsed + +\begin_layout Standard + +}{LyX} +\end_layout + +\end_inset + + Notes +\begin_inset LatexCommand label +name "sec:LyX-Notes" + +\end_inset + + +\begin_inset LatexCommand index +name "Notes ! LyX Notes" + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Standard +The command +\backslash +texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures + are displayed wrongly in PDF-bookmarks. + For more information about this, have a look at +\begin_inset LatexCommand cite +key "hyperref" + +\end_inset + +. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Notes are inserted with the toolbar button +\begin_inset Graphics + filename ../images/note-insert.xpm + scale 85 + +\end_inset + + or the menu +\family sans +Insert\SpecialChar \menuseparator +Note +\family default +. + There are three types of notes: +\end_layout + +\begin_layout Description +LyX\InsetSpace ~ +Note This note type is for internal notes that won't appear in the output: + Its note-box looks like this: +\newline + +\newline + +\begin_inset Graphics + filename ../clipart/LyXNoteImageQt4.png + display none + scale 85 + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Standard +This is text in a note box that doesn't appear in the output. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Description +Comment This note also doesn't appear in the output but it appears as LaTeX-comm +ent, when you export the document to LaTeX via the menu +\family sans +File\SpecialChar \menuseparator +Export\SpecialChar \menuseparator +LaTeX (pdflatex) / LaTeX (plain) +\family default +. + Its note-box looks like this: +\newline + +\newline + +\begin_inset Graphics + filename ../clipart/CommentNoteImageQt4.png + display none + scale 85 + +\end_inset + + +\begin_inset Note Comment +status open + +\begin_layout Standard +This is text in a note box that only appears as comment in LaTeX-files. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Description +Greyed\InsetSpace ~ +Out This note will appear in the output as grey text: Its note-box + looks like this: +\newline + +\newline + +\begin_inset Graphics + filename ../clipart/GreyedOutNoteImageQt4.png + display none + scale 85 + +\end_inset + + +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewenvironment{lyxgreyedout} +\end_layout + +\begin_layout Standard + +{ +\backslash +textcolor[gray]{0.8} +\backslash +bgroup}{ +\backslash +egroup} +\end_layout + +\end_inset + + +\begin_inset Note Greyedout +status open + +\begin_layout Standard +This is text +\begin_inset Foot +status open + +\begin_layout Standard +This is an example footnote within a greyed out note. +\end_layout + +\end_inset + + of a comment that appears in the output as grey text. +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewenvironment{lyxgreyedout} +\end_layout + +\begin_layout Standard + +{ +\backslash +textcolor{blue} +\backslash +bgroup}{ +\backslash +egroup} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +When you use the toolbar button to insert notes, a +\family sans +LyX\InsetSpace ~ +Note +\family default + is inserted. + You can switch between the three note types by right-clicking on the note-box. + +\family roman +\series medium +\bar no +If you want to turn existing text into a note, mark it and click on the + note +\family default +\series default +\bar default +toolbar +\family roman +\series medium +\bar no +button +\family default +\series default +\bar default +. +\end_layout + +\begin_layout Standard +As you can see in the example above: The first line of greyed out notes + is a bit indented and greyed out notes can have footnotes. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +You can change the color of the greyed out notes in the preamble with the + following command: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewenvironment{lyxgreyedout} +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + +{ +\backslash +textcolor{color} +\backslash +bgroup}{ +\backslash +egroup} +\end_layout + +\begin_layout Standard +The available colors and the method to define own colors is explained in + section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Colored-Tables" + +\end_inset + +. +\end_layout + +\begin_layout Standard +Notes that appear in blue in this document are set using greyed out notes + with blue text. +\end_layout + +\begin_layout Section +Footnotes +\begin_inset LatexCommand label +name "sec:Footnotes" + +\end_inset + + +\begin_inset LatexCommand index +name "Notes ! Footnotes" + +\end_inset + + +\begin_inset LatexCommand index +name "Footnotes" + +\end_inset + + +\end_layout + +\begin_layout Standard +Footnotes can be inserted using the toolbar button +\begin_inset Graphics + filename ../images/footnote-insert.xpm + scale 85 + +\end_inset + + or the menu +\family sans +Insert\SpecialChar \menuseparator +Footnote +\family default +. + +\family roman +\series medium +\bar no +You'll see +\family default +\series default +\bar default +then the following footnote-box: +\begin_inset Graphics + filename ../clipart/footnoteQt4.png + scale 80 + +\end_inset + + +\family roman +\series medium +\bar no + where you can enter the footnote text. + If you want to turn existing text into a footnote, mark it and click on + the footnote +\family default +\series default +\bar default +toolbar +\family roman +\series medium +\bar no +button +\family default +\series default +\bar default +. +\end_layout + +\begin_layout Standard +Here is an example footnote: +\family roman +\series medium +\bar no + +\begin_inset Foot +status open + +\begin_layout Standard +\begin_inset LatexCommand label +name "foot:This-is-an" + +\end_inset + +This is an example footnote. +\end_layout + +\end_inset + + +\family default +\series default +\bar default + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +newcounter{MyRepeatFoot} +\end_layout + +\begin_layout Standard + + +\backslash +setcounter{MyRepeatFoot}{ +\backslash +thefootnote} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +The footnote will appear in the output as a superscript number at the text + position where the footnote box is placed. + The footnote text is placed at the bottom of the current page. + The footnote number is calculated by LaTeX, the numbers are consecutive. + It depends on your document-class, if the footnote number is reset for + every chapter. +\end_layout + +\begin_layout Standard +Footnotes can be referenced like floats: Insert a label into the footnote + and cross-reference this label in the text as described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Referencing-Floats" + +\end_inset + +. +\newline +This is a cross-reference of Footnote\InsetSpace ~ + +\begin_inset LatexCommand prettyref +reference "foot:This-is-an" + +\end_inset + +. +\newline + +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + LyX doesn't provide a prefix for labels in footnotes, so you have to insert + e.\InsetSpace \thinspace{} +g.\InsetSpace ~ +the prefix +\family sans + +\begin_inset Quotes eld +\end_inset + +foot: +\family default + +\begin_inset Quotes erd +\end_inset + + manually when you want to use the reference style +\family sans +Formatted\InsetSpace ~ +reference +\family default +. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace defskip +\end_inset + +To use footnotes within tables, you have to use minipages, see section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Minipages" + +\end_inset + +. + Footnotes within longtables are described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Footnotes-in-Longtables" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset VSpace defskip +\end_inset + +To create only a mark for a footnote, use the command +\series bold + +\backslash +footnotemark[number] +\series default + in ERT. + This is used when you have the same annotation several times in a text + but doesn't want to print the footnote text every time. +\newline +As you don't know + the number of the repeating footnote while you are writing the text, you + have to store its number. + For the following footnote mark example, these commands were inserted in + ERT behind Footnote\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "foot:This-is-an" + +\end_inset + + to store the footnote number: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcounter{MyRepeatFoot} +\newline + +\backslash +setcounter{MyRepeatFoot}{ +\backslash +thefootnote} +\end_layout + +\begin_layout Standard +The footnote mark was then created with this command: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +footnotemark[ +\backslash +theMyRepeatFoot] +\end_layout + +\begin_layout Standard +Here is an example footnote mark: +\family roman +\series medium +\bar no + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +footnotemark[ +\backslash +theMyRepeatFoot] +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Footnote Numbering +\begin_inset LatexCommand label +name "sub:Footnote-Numbering" + +\end_inset + + +\begin_inset LatexCommand index +name "Footnotes ! Numbering" + +\end_inset + + +\end_layout + +\begin_layout Standard +If you want to have footnotes numbered in the scheme +\begin_inset Quotes eld +\end_inset + +chapter.footnote +\begin_inset Quotes erd +\end_inset + +, add the following command to your document preamble: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +numberwithin{footnote}{chapter} +\end_layout + +\begin_layout Standard +To be able to use the command +\series bold + +\backslash +numberwithin +\series default +, set in the tab +\family sans +Math\InsetSpace ~ +Options +\family default + in the document settings the option +\family sans +Use\InsetSpace ~ +AMS\InsetSpace ~ +math\InsetSpace ~ +package +\family default +. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +numberwithin{footnote}{chapter} +\end_layout + +\end_inset + +This is another example footnote: +\series bold + +\begin_inset Foot +status open + +\begin_layout Standard +This is a footnote numbered in the scheme +\begin_inset Quotes eld +\end_inset + +chapter.footnote +\begin_inset Quotes erd +\end_inset + +. +\end_layout + +\end_inset + + +\series default + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +numberwithin{footnote}{part} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +To reset the footnote number back to 1 after each section +\family roman +, add this command to your document preamble: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +@addtoreset{footnote}{section} +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +The following preamble command changes the footnote numbering style to small + roman numerals: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewcommand{ +\backslash +thefootnote}{ +\backslash +roman{footnote}} +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +thefootnote}{ +\backslash +roman{footnote}} +\end_layout + +\end_inset + + This is a footnote with roman numbering: +\begin_inset Foot +status open + +\begin_layout Standard +This is an example footnote with roman numbering. +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +thefootnote}{ +\backslash +arabic{footnote}} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +To change the numbering style to capital roman numerals replace in the command + above +\series bold + +\backslash +roman +\series default + by +\series bold + +\backslash +Roman +\series default +. + To +\begin_inset Quotes eld +\end_inset + +number +\begin_inset Quotes erd +\end_inset + + footnotes with capital or small Latin letters use +\series bold + +\backslash +Alph +\series default + or +\series bold + +\backslash +alph +\series default +, respectively. + To +\begin_inset Quotes eld +\end_inset + +number +\begin_inset Quotes erd +\end_inset + + footnotes with symbols use +\series bold + +\backslash +fnsymbol +\series default +. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series medium + +\series default +You can only number 26 footnotes with Latin letters, because this numbering + is limited to single letters. +\end_layout + +\end_inset + + +\newline + +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + You can only number 9 footnotes with symbols. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +To return to the default numbering style when you changed to another one, + use +\series bold + +\backslash +arabic +\series default + instead of +\series bold + +\backslash +roman +\series default + in the command above. +\end_layout + +\begin_layout Subsection +Footnote Placement +\begin_inset LatexCommand index +name "Footnotes ! Placement" + +\end_inset + + +\end_layout + +\begin_layout Standard +If you have several footnotes in one page, they appear without vertical + space between them at the bottom of the page. + To make them better readable you can e.\InsetSpace \thinspace{} +g.\InsetSpace ~ +add 1.5\InsetSpace \thinspace{} +mm space with the following + preamble command: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +let +\backslash +myFoot +\backslash +footnote +\newline + +\backslash +renewcommand{ +\backslash +footnote}[1]{ +\backslash +myFoot{#1 +\backslash +vspace{1.5mm}}} +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +In a two-column document the footnotes appear at the bottom of every column, + see Figure\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:Standard-footnote-placement" + +\end_inset + +. + If the footnotes should only appear at the bottom of the right column, + as in Figure\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:Footnote-placement-in" + +\end_inset + +, use the LaTeX-package +\series bold +ftnright +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! ftnright" + +\end_inset + + with this command in the document preamble: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage{ftnright} +\end_layout + +\begin_layout Standard +\begin_inset Float figure +placement !h +wide false +sideways false +status open + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +framebox{ +\end_layout + +\end_inset + + +\begin_inset Graphics + filename ../clipart/without_fntright.pdf + width 100col% + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:Standard-footnote-placement" + +\end_inset + +Standard footnote placement in two-column documents. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float figure +placement !h +wide false +sideways false +status open + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +framebox{ +\end_layout + +\end_inset + + +\begin_inset Graphics + filename ../clipart/with_fntright.pdf + width 100col% + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:Footnote-placement-in" + +\end_inset + +Footnote placement in two-column documents when the LaTeX-package +\series bold +ftnright +\series default + is used. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +In some scientific literature it is usual to collect the footnotes and print + them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:Endnotes----footnotes" + +\end_inset + +. + They are then so called +\begin_inset Quotes eld +\end_inset + +endnotes +\begin_inset Quotes erd +\end_inset + +. + To use endnotes instead of footnotes in your document, load the LaTeX-package + +\series bold +endnotes +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! endnotes" + +\end_inset + + with the document preamble lines +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage{endnotes} +\newline + +\backslash +let +\backslash +footnote +\backslash +endnote +\end_layout + +\begin_layout Standard +To insert the collected footnotes, insert the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +theendnotes +\end_layout + +\begin_layout Standard +in ERT at the the end of a section or chapter. +\end_layout + +\begin_layout Standard +\begin_inset Float figure +wide false +sideways false +status open + +\begin_layout Standard +\align center +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +framebox{ +\end_layout + +\end_inset + + +\begin_inset Graphics + filename ../clipart/endnotes.pdf + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:Endnotes----footnotes" + +\end_inset + +Endnotes -- footnotes are printed in a separate paragraph at the end of + sections or chapters. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace defskip +\end_inset + +The paragraph heading for the endnotes isn't automatically translated into + the document language, this must be done manually. + The following preamble command translate the default English name +\begin_inset Quotes eld +\end_inset + +Notes +\begin_inset Quotes erd +\end_inset + + to the German translation +\begin_inset Quotes eld +\end_inset + +Anmerkungen +\begin_inset Quotes erd +\end_inset + +: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewcommand{ +\backslash +notesname}{Anmerkungen} +\end_layout + +\begin_layout Standard +\begin_inset VSpace defskip +\end_inset + +The numbering of endnotes can be changed like the footnote numbering as + described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Footnote-Numbering" + +\end_inset + +; just replace the command +\series bold + +\backslash +thefootnote +\series default + by +\series bold + +\backslash +theendnote +\series default +. + To reset the endnote number use the command +\series bold + +\backslash +@addtoreset +\series default +as described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Footnote-Numbering" + +\end_inset + + and replace the command parameter +\series bold +footnote +\series default + by +\series bold +endnote +\series default +. +\end_layout + +\begin_layout Standard +To create only a mark for an endnote, use the command +\series bold + +\backslash +endnotemark[number] +\series default + similar to the command +\series bold + +\backslash +footnotemark +\series default +, described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Footnotes" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Footnotes can also be placed in the page margin and the footnote text alignment + can be changed, see the LaTeX-package +\series bold +footmisc +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! footmisc" + +\end_inset + +, +\begin_inset LatexCommand cite +key "footmisc" + +\end_inset + + for more information about this. +\end_layout + +\begin_layout Standard +For various further footnote formatting issues have a look at LaTeX-books, + +\begin_inset LatexCommand cite +key "latexcompanion,latexguide,latexbook" + +\end_inset + +. +\end_layout + +\begin_layout Section +Margin Notes +\begin_inset LatexCommand index +name "Notes ! Margin Notes" + +\end_inset + + +\end_layout + +\begin_layout Standard +Margin notes look and behave in LyX like footnotes. + They are inserted via the menu +\family sans +Insert\SpecialChar \menuseparator +Marginal\InsetSpace ~ +Note +\family default + or the toolbar button +\begin_inset Graphics + filename ../images/marginalnote-insert.xpm + scale 85 + +\end_inset + +. + A +\family roman +\series medium + +\family default +\series default +grey +\family roman +\series medium + box with the +\family default +\series default +red +\family roman +\series medium +label +\begin_inset Quotes eld +\end_inset + +margin +\begin_inset Quotes erd +\end_inset + + appears where you can enter the text of the margin note. +\end_layout + +\begin_layout Standard +At the side is an example margin note. +\family roman +\series medium + +\begin_inset Marginal +status open + +\begin_layout Standard +This is a margin note. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Margin notes appear at the right side in single-sided documents. + In double-sided documents they appear in the outer margin -- left on even + pages, right on odd pages. + The text of margin notes is aligned opposite to the outer margin -- right-align +ed when the note appears in the left margin. + The first line of the margin note is placed at the position of the text + line where it is inserted in the document. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +To place the margin note in the inner margin, add the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +reversemarginpar +\end_layout + +\begin_layout Standard +in ERT before a margin note. + The new placement is valid for all following margin notes. +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +reversemarginpar +\end_layout + +\end_inset + + +\begin_inset Marginal +status open + +\begin_layout Standard +This is a margin note in the inner margin. +\end_layout + +\end_inset + + +\series bold + +\newline + +\series default + +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + There is often not enough space in the inner margin so that the notes are + not correctly displayed in the output. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +normalmarginpar +\end_layout + +\end_inset + +To return to the default placement insert the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +normalmarginpar +\end_layout + +\begin_layout Standard +in ERT. + +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + The command is ignored when it is within a paragraph where also the command + +\series bold + +\backslash +reversemarginpar +\series default + is inserted. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\family roman +\series medium + +\begin_inset Marginal +status open + +\begin_layout Standard +AVeryLongMarginParWord that isn't hyphenated. +\end_layout + +\end_inset + + +\family default +\series default +Similar to the case described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Multiple-Lines-in" + +\end_inset + +, long words cannot be hyphenated when they are the first word in a margin + note. + To avoid this, insert the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +hspace{0pt} +\end_layout + +\begin_layout Standard +in ERT before the word +\family roman +\series medium +. +\begin_inset Marginal +status open + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hspace{0pt} +\end_layout + +\end_inset + +AVeryLongMarginParWord that is hyphenated. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + Margin notes can normally not be used inside tables, floats, and footnotes. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +This restriction can be evaded by using the LaTeX-package +\series bold +marginnote +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! marginnote" + +\end_inset + +. + By adding these two lines to your document preamble, the command used by + LyX for margin notes is redefined to use the command provided by the +\series bold +marginnote +\series default +-package: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage{marginnote} +\newline + +\backslash +let +\backslash +marginpar +\backslash +marginnote +\end_layout + +\begin_layout Standard +This is also used in this document because +\series bold +marginnote +\series default + has another useful feature: You can set a vertical offset for the note. + This is often needed when too many margin notes are too close together + or for a better page layout. + The offset is set in LyX as ERT directly behind the margin note in the + scheme +\end_layout + +\begin_layout Standard + +\series bold +[offset] +\end_layout + +\begin_layout Standard +where the offset is a length with one of the units listed in Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Units" + +\end_inset + +. + A negative value shifts the note up, a positive value shifts it down. + +\family roman +\series medium + For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{} +cm with + the ERT-command +\begin_inset Quotes eld +\end_inset + + +\family default +\series bold +[-1.5cm] +\family roman +\series medium + +\begin_inset Quotes erd +\end_inset + + +\begin_inset Marginal +status open + +\begin_layout Standard +This margin note is shifted up 1.5\InsetSpace \thinspace{} +cm from its original position. +\end_layout + +\end_inset + + +\family default +\series default + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +[-1.5cm] +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace defskip +\end_inset + +With +\series bold +marginnote +\series default + you can also change the alignment of the text in the margin note. + For example the commands +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewcommand*{ +\backslash +raggedleftmarginnote}{ +\backslash +centering} +\newline + +\backslash +renewcommand*{ +\backslash +raggedrightmarginnote}{ +\backslash +centering} +\end_layout + +\begin_layout Standard +set the alignment to centered. + +\series bold + +\backslash +raggedleftmarginnote +\series default + denotes margin notes that appear at the left side. +\family roman +\series medium + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewcommand*{ +\backslash +raggedleftmarginnote}{ +\backslash +centering} +\end_layout + +\begin_layout Standard + + +\backslash +renewcommand*{ +\backslash +raggedrightmarginnote}{ +\backslash +centering} +\end_layout + +\end_inset + + +\begin_inset Marginal +status open + +\begin_layout Standard +The text of this margin note is centered. +\end_layout + +\end_inset + + +\family default +\series default +The default is +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewcommand*{ +\backslash +raggedleftmarginnote}{ +\backslash +raggedleft} +\newline + +\backslash +renewcommand*{ +\backslash +raggedrightmarginnote}{ +\backslash +raggedright} +\family roman +\series medium + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewcommand*{ +\backslash +raggedleftmarginnote}{ +\backslash +raggedleft} +\end_layout + +\begin_layout Standard + + +\backslash +renewcommand*{ +\backslash +raggedrightmarginnote}{ +\backslash +raggedright} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace defskip +\end_inset + +For the other features of +\series bold +marginnote +\series default + we refer to its documentation +\begin_inset LatexCommand cite +key "marginnote" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +You can change the layout of margin notes by redefining its definition. + To create for example a header for all margin notes with the underlined, + sans-serif, and bold header text +\begin_inset Quotes eld +\end_inset + + +\family sans +\series bold +\bar under +Attention! +\family default +\series default +\bar default + +\begin_inset Quotes erd +\end_inset + +, add this to your document preamble: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +let +\backslash +myMarginpar +\backslash +marginpar +\newline + +\backslash +renewcommand{ +\backslash +marginpar}[1]{ +\backslash +myMarginpar{% +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +hspace{0pt} +\backslash +textsf{ +\backslash +textbf{ +\backslash +underbar{Attention!}}}% +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +vspace{1.5mm} +\backslash + +\backslash +#1}} +\end_layout + +\begin_layout Standard + +\family roman +\series medium +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +let +\backslash +myMarginpar +\backslash +marginpar +\end_layout + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +marginpar}[1]{ +\backslash +myMarginpar{% +\end_layout + +\begin_layout Standard + + +\backslash +textsf{ +\backslash +textbf{ +\backslash +underbar{Attention!}}}% +\end_layout + +\begin_layout Standard + + +\backslash +vspace{1.5mm} +\backslash + +\backslash +#1}} +\end_layout + +\end_inset + + +\begin_inset Marginal +status open + +\begin_layout Standard +This is a margin note with a defined heading. +\end_layout + +\end_inset + + +\family default +\series default + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +[-1.5cm] +\end_layout + +\end_inset + + +\family roman +\series medium + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +marginpar}[1]{ +\backslash +myMarginpar{#1}} +\end_layout + +\end_inset + + +\family default +\series default + +\begin_inset Note Note +status open + +\begin_layout Standard +The margin note format is changed only for this example. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Chapter +Boxes +\end_layout + +\begin_layout Section +Introduction +\begin_inset LatexCommand index +name "Boxes ! Introduction" + +\end_inset + + +\end_layout + +\begin_layout Standard +Boxes are used to format a block of text. + Boxes can be used to write documents with multiple languages, see section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Minipages" + +\end_inset + +, to frame texts, see section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Framed-Boxes" + +\end_inset + +, to prevent words to be hyphenated, see section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Prevent-Hyphenation" + +\end_inset + +, to align text, see section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Vertical-Alignment" + +\end_inset + +, or to set the background color of texts, see section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Colored-Boxes" + +\end_inset + +. +\end_layout + +\begin_layout Standard +Boxes can be inserted with the menu Insert\SpecialChar \menuseparator +Box. + A grey box with the label +\family sans +Box (Minipage) +\family default +: +\begin_inset Graphics + filename D:/LyXSVN/lyx-devel/lib/clipart/BoxInsetDefaultQt4.png + scale 85 + +\end_inset + +, will be inserted. + The box type can be specified by right-clicking on the box. + The appearing box dialog offers the +\family sans +Inner\InsetSpace ~ +Box +\family default + types +\family sans +Parbox +\family default + and +\family sans +Minipage +\family default +. + The type +\family sans +Minipage +\family default + is the default for new boxes and is explained in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Minipages" + +\end_inset + +; the type +\family sans +Parbox +\family default + is described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Parboxes" + +\end_inset + +. +\end_layout + +\begin_layout Standard +Boxes aren't numbered and can therefore not be referenced like floats or + footnotes. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + Due to a bug in LyX you have to insert a protected space behind a box when + you want to separate in a line the box from the following text with a space. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + Boxes must not be the item in an +\family sans +Itemize +\family default + or +\family sans +Description +\family default + environment. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + For an unknown reason you can only set the +\family sans +Inner\InsetSpace ~ +Box +\family default + type to +\family sans +None +\family default + when you use a framed box. + Boxes without an +\family sans +Inner\InsetSpace ~ +Box +\family default + type and without frames are explained in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Prevent-Hyphenation" + +\end_inset + +. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Box Dialog +\begin_inset LatexCommand label +name "sec:Box-Dialog" + +\end_inset + + +\begin_inset LatexCommand index +name "Boxes ! Box Dialog" + +\end_inset + + +\begin_inset LatexCommand index +name "Boxes ! Alignment" + +\end_inset + + +\end_layout + +\begin_layout Standard +In the box dialog you can adjust the box geometry in the fields +\family sans +Width +\family default + and +\family sans +Height +\family default +. + The available units for the geometry are explained in Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Units" + +\end_inset + +. + The field +\family sans +Heigth +\family default + offers the following additional sizes: +\end_layout + +\begin_layout Description +Depth This is the plain text +\begin_inset Quotes eld +\end_inset + +height +\begin_inset Quotes erd +\end_inset + +. + It ignores the total depth when there are multiple text lines in the box: +\newline + +\newline + +\newline + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "12col%" +special "none" +height "1in" +height_special "depth" +status collapsed + +\begin_layout Standard +\align center +Box height set to 1\InsetSpace \thinspace{} +Depth +\end_layout + +\end_inset + + +\newline + +\newline + +\end_layout + +\begin_layout Description +Height This is the heigth of the text that is inside the box. + A value of e.\InsetSpace \thinspace{} +g.\InsetSpace ~ +2 for this size will set the box heigth to 2 times the text + height: +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "20col%" +special "none" +height "2in" +height_special "height" +status collapsed + +\begin_layout Standard +\align center +Box height set to 2\InsetSpace \thinspace{} +Height +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Description +Total\InsetSpace ~ +Height This is the Height\InsetSpace \thinspace{} ++\InsetSpace \thinspace{} +Depth: +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "20col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\align center +Box height set to 1\InsetSpace \thinspace{} +Total\InsetSpace ~ +Height +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Description +Width This set the width of the box as heigth: +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "12col%" +special "none" +height "1in" +height_special "width" +status collapsed + +\begin_layout Standard +\align center +Box height set to 1\InsetSpace \thinspace{} +Width +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +When you have chosen an +\family sans +Inner\InsetSpace ~ +Box +\family default +, the vertical box alignment can be: +\end_layout + +\begin_layout Description +Top This is an example text line. + +\begin_inset Box Boxed +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "12col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\align center +This box is top-aligned. +\end_layout + +\end_inset + +\InsetSpace ~ +This is an example text line. +\end_layout + +\begin_layout Description +Middle This is an example text line. + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "12col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\align center +This box is middle-aligned. +\end_layout + +\end_inset + +\InsetSpace ~ +This is an example text line. +\end_layout + +\begin_layout Description +Bottom This is an example text line. + +\begin_inset Box Boxed +position "b" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "12col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\align center +This box is bottom-aligned. +\end_layout + +\end_inset + +\InsetSpace ~ +This is an example text line. +\end_layout + +\begin_layout Standard +The horizontal box alignment can be set via LyX's paragraph dialog when + you set the box into its own paragraph. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +When you have chosen an +\family sans +Inner\InsetSpace ~ +Box +\family default +, the box content can be vertical aligned to: +\end_layout + +\begin_layout Description +top This is an example text line. + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "t" +use_parbox 0 +width "12col%" +special "none" +height "1.5in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\align center +This box text is top-aligned. +\end_layout + +\end_inset + +\InsetSpace ~ +This is an example text line. +\end_layout + +\begin_layout Description +middle This is an example text line. + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "12col%" +special "none" +height "1.5in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\align center +This box text is middle-aligned. +\end_layout + +\end_inset + +\InsetSpace ~ +This is an example text line. +\end_layout + +\begin_layout Description +bottom This is an example text line. + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "b" +use_parbox 0 +width "12col%" +special "none" +height "1.5in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\align center +This box text is bottom-aligned. +\end_layout + +\end_inset + +\InsetSpace ~ +This is an example text line. +\end_layout + +\begin_layout Description +stretch This is an example text line. + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "s" +use_parbox 0 +width "12col%" +special "none" +height "1.5in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\align center +This box +\end_layout + +\begin_layout Standard +\align center +text is +\end_layout + +\begin_layout Standard +\align center +stretched. +\end_layout + +\end_inset + +\InsetSpace ~ +This is an example text line. +\end_layout + +\begin_layout Standard +To stretch the box content, it must consist of more than one paragraph. + In the example above every text line is in an own paragraph. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +To align the box content horizontally use LyX's paragraph dialog when If + you have chosen an +\family sans +Inner\InsetSpace ~ +Box +\family default +. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "s" +use_parbox 0 +width "15col%" +special "none" +height "1.25in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\align left +This box +\end_layout + +\begin_layout Standard +\align center +text is +\end_layout + +\begin_layout Standard +\align right +stretched. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +If you haven't set an +\family sans +Inner\InsetSpace ~ +Box +\family default +, you can align the box content horizontally in the box dialog. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Box Boxed +position "c" +hor_pos "s" +has_inner_box 0 +inner_pos "s" +use_parbox 0 +width "90col%" +special "none" +height "1.25in" +height_special "totalheight" +status open + +\begin_layout Standard +\align left +This box text is horizontally stretched. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Framed Boxes +\begin_inset LatexCommand label +name "sec:Framed-Boxes" + +\end_inset + + +\begin_inset LatexCommand index +name "Boxes ! Frames" + +\end_inset + + +\end_layout + +\begin_layout Standard +The frame style of the box can be specified in the box-dialog in the drop-down + list +\family sans +Type +\family default +. + The following frame types are possible: +\end_layout + +\begin_layout Description +Rectangular\InsetSpace ~ +box This draws a rectangle frame around the box. + The frame line thickness has the size of +\series bold + +\backslash +fboxrule +\series default +. + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "20col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\align center +Rectangular box +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Description +Oval\InsetSpace ~ +box,\InsetSpace ~ +thin This draws an oval frame around the box. + The frame line thickness has the size 0.4\InsetSpace \thinspace{} +pt. + +\begin_inset Box ovalbox +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "20col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\align center +Oval box, thin +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Description +Oval\InsetSpace ~ +box,\InsetSpace ~ +thick This draws an oval frame around the box. + The frame line thickness has the size 0.8\InsetSpace \thinspace{} +pt. + +\begin_inset Box Ovalbox +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "20col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\align center +Oval box, thick +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Description +Shadow\InsetSpace ~ +box This draws a rectangle frame with a shadow around the box. + The frame line thickness has the size of +\series bold + +\backslash +fboxrule +\series default +, the shadow has a width of 4\InsetSpace \thinspace{} +pt. + +\begin_inset Box Shadowbox +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "20col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\align center +Shadow box +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Description +Double\InsetSpace ~ +box This draws a double-line rectangle frame around the box. + The line thickness of the inner frame is 0.75\InsetSpace \thinspace{} + +\series bold + +\backslash +fboxrule +\series default +, the thickness of the outer frame is 1.5\InsetSpace \thinspace{} + +\series bold + +\backslash +fboxrule +\series default +. + The distance between the lines is 1.5\InsetSpace \thinspace{} + +\series bold + +\backslash +fboxrule +\series default +\InsetSpace \thinspace{} ++\InsetSpace \thinspace{} +0.5\InsetSpace \thinspace{} +pt. + +\begin_inset Box Doublebox +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "20col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\align center +Double box +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +LyX's box label will change to the used frame style when you set a frame. + To be able to use the different frame styles, the LaTeX-package +\series bold +fancybox +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! fancybox" + +\end_inset + + must be installed. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +The default value for the size +\series bold + +\backslash +fboxrule +\series default + is 0.4\InsetSpace \thinspace{} +pt. + It can be changed with the following command in ERT to e.\InsetSpace \thinspace{} +g.\InsetSpace ~ +2\InsetSpace \thinspace{} +pt: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +setlength{ +\backslash +fboxrule}{2pt} +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +fboxrule}{2pt} +\end_layout + +\end_inset + + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "25col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\align center +Rectangular box with +\series bold + +\backslash +fboxrule +\series default +\InsetSpace \thinspace{} +=\InsetSpace \thinspace{} +2\InsetSpace \thinspace{} +pt +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +fboxrule}{0.4pt} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +The space between the frame and the box content is for all frame styles + by default 3\InsetSpace \thinspace{} +pt. + You can change it by setting the length +\series bold + +\backslash +fboxsep +\series default + to another value. + For example the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +setlength{ +\backslash +fboxsep}{10pt} +\end_layout + +\begin_layout Standard +sets the value to 10\InsetSpace \thinspace{} +pt, like for the following box: +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +fboxsep}{10pt} +\end_layout + +\end_inset + + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "25col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\align center +Rectangular box with +\series bold + +\backslash +fboxsep +\series default +\InsetSpace \thinspace{} +=\InsetSpace \thinspace{} +10\InsetSpace \thinspace{} +pt +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +fboxsep}{3pt} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +The diameter of the round corners of the oval boxes can be set with the + command +\series bold + +\backslash +cornersize +\series default +. + The command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cornersize*{1cm} +\end_layout + +\begin_layout Standard +sets the diameter to 1\InsetSpace \thinspace{} +cm. + The command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cornersize{num} +\end_layout + +\begin_layout Standard +sets the diameter to +\family sans +num\InsetSpace \thinspace{} +×\InsetSpace \thinspace{} +minimum(width and heigth of box) +\family default +. + The default is +\series bold + +\backslash +cornersize{0.5} +\series default +. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cornersize*{1.5cm} +\end_layout + +\end_inset + + +\begin_inset Box Ovalbox +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "25col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\align center +Oval box with +\series bold + +\backslash +cornersize +\series default +\InsetSpace \thinspace{} +=\InsetSpace \thinspace{} +1.5\InsetSpace \thinspace{} +cm +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cornersize{0.5} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +The size of the shadow can be adjusted by changing the length +\series bold + +\backslash +shadowsize +\series default +. + It it set to 2\InsetSpace \thinspace{} +pt for the following box by this command: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +setlength{ +\backslash +shadowsize}{2pt} +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +shadowsize}{2pt} +\end_layout + +\end_inset + + +\begin_inset Box Shadowbox +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "25col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\align center +Shadow box with +\series bold + +\backslash +shadowsize +\series default +\InsetSpace \thinspace{} +=\InsetSpace \thinspace{} +2\InsetSpace \thinspace{} +pt +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +shadowsize}{4pt} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Changed lengths and widths are valid for all boxes following the commands + that change them. +\end_layout + +\begin_layout Section +Minipages +\begin_inset LatexCommand label +name "sec:Minipages" + +\end_inset + + +\begin_inset LatexCommand index +name "Boxes ! Minipages" + +\end_inset + + +\end_layout + +\begin_layout Standard +Minipages are treated by LaTeX as pages within pages and can therefore for + example have their own footnotes. +\end_layout + +\begin_layout Standard +Minipages are useful when you write documents with different languages. +\end_layout + +\begin_layout Standard +Below are two example minipages side by side. + Their width is set to 45\InsetSpace \thinspace{} +col% and they are separated by a horizontal fill, + that was inserted via the menu +\family sans +Insert\SpecialChar \menuseparator +Special\InsetSpace ~ +Formatting\SpecialChar \menuseparator +Horizontal\InsetSpace ~ +Fill +\family default +. +\end_layout + +\begin_layout Standard +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "45col%" +special "none" +height "1in" +height_special "totalheight" +status open + +\begin_layout Standard + +\lang german +Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text +\begin_inset Foot +status collapsed + +\begin_layout Standard + +\lang german +Dies ist eine deutsche Fußnote. +\end_layout + +\end_inset + +. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. +\end_layout + +\end_inset + + +\hfill + +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "45col%" +special "none" +height "1in" +height_special "totalheight" +status open + +\begin_layout Standard +This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. +\begin_inset Foot +status collapsed + +\begin_layout Standard +This is an English footnote. +\end_layout + +\end_inset + + This is an English Text. + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Another application for minipages are footnotes within tables. + Due to a LaTeX restriction footnotes within tables doesn't appear at the + bottom of the current page. + But when you put the table with the footnote to a minipage, the footnote + will appear at its bottom, numbered with Latin letters. + The footnote number is reset to 1 in every minipage but not outside the + minipages. +\end_layout + +\begin_layout Standard +The footnote of this table doesn't appear: +\begin_inset Tabular + + + + + + + + +\begin_inset Text + +\begin_layout Standard +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3 +\begin_inset Foot +status collapsed + +\begin_layout Standard +This is a footnote within a table. +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +4 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Standard +\align center +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "30col%" +special "none" +height "1in" +height_special "totalheight" +status open + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + +\begin_inset Text + +\begin_layout Standard +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3 +\begin_inset Foot +status collapsed + +\begin_layout Standard +This is a footnote within a table. +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +4 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +The document-wide paragraph settings are ignored within minipages. + That means that there will be no space between paragraphs in minipages + although you set it to e.\InsetSpace \thinspace{} +g.\InsetSpace ~ + +\family sans +MedSkip +\family default + in the document settings. +\end_layout + +\begin_layout Standard +Minipages can also be used to set a background color for text parts, see + section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Color-for-Paragraphs" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + You cannot have floats or margin notes inside minipages but minipages can + be used inside tables, floats, and other boxes. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Parboxes +\begin_inset LatexCommand label +name "sec:Parboxes" + +\end_inset + + +\begin_inset LatexCommand index +name "Boxes ! Parboxes" + +\end_inset + + +\end_layout + +\begin_layout Standard +Parboxes are very similar to minipages with the difference that they cannot + have footnotes. + The main difference to minipages is that minipages are in contrary to parboxes + no real boxes but LaTeX-environments. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "t" +use_parbox 1 +width "33col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +This a text within a parbox. + This a text within a parbox. +\end_layout + +\begin_layout Standard +This footnote won't appear: +\begin_inset Foot +status collapsed + +\begin_layout Standard +This footnote is inside a parbox and will therefore not appear. +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Boxes for Words and Characters +\begin_inset LatexCommand index +name "Boxes ! for Characters" + +\end_inset + + +\end_layout + +\begin_layout Subsection +Prevent Hyphenation +\begin_inset LatexCommand label +name "sec:Prevent-Hyphenation" + +\end_inset + + +\begin_inset LatexCommand index +name "Boxes ! to Prevent Hyphenation" + +\end_inset + + +\end_layout + +\begin_layout Standard +You can use a special kind of boxes to prevent words or text to be hyphenated. +\newline +Her +e is an example text: +\end_layout + +\begin_layout Standard +This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{} +g.\InsetSpace ~ +veryver +ylongwords. +\end_layout + +\begin_layout Standard +To prevent the hyphenation of the word +\begin_inset Quotes eld +\end_inset + +veryverylongwords +\begin_inset Quotes erd +\end_inset + +, add the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +mbox{ +\end_layout + +\begin_layout Standard +in ERT before the word. + Behind the word insert a closing brace +\begin_inset Quotes eld +\end_inset + + +\series bold +} +\series default + +\begin_inset Quotes erd +\end_inset + + in ERT. +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +pagebreak +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +This is the result: +\end_layout + +\begin_layout Standard +This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{} +g.\InsetSpace ~ + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +mbox{ +\end_layout + +\end_inset + +veryverylongwords. +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Of course the word now protrudes over the side margin. + To avoid this, add via the menu +\family sans +Insert\SpecialChar \menuseparator +Special\InsetSpace ~ +Formatting\SpecialChar \menuseparator +Line\InsetSpace ~ +Break +\family default + (shortcut +\series bold +Ctrl-Return +\series default +) a line break before the word: +\end_layout + +\begin_layout Standard +This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{} +g.\InsetSpace ~ + +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +mbox{ +\end_layout + +\end_inset + +veryverylongwords. +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Vertical Alignment +\begin_inset LatexCommand label +name "sub:Vertical-Alignment" + +\end_inset + + +\begin_inset LatexCommand index +name "Boxes ! for Vertical Alignment" + +\end_inset + + +\begin_inset LatexCommand index +name "Boxes ! Raiseboxes" + +\end_inset + + +\end_layout + +\begin_layout Standard +With the help of the command +\series bold + +\backslash +raisebox +\series default + you can align words, characters or other boxes vertically to the surrounding + text. + +\series bold + +\backslash +raisebox +\series default + is used with the following scheme: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +raisebox{lift}[height][depth]{box content} +\end_layout + +\begin_layout Standard +The lift can be a positive value to raise the box or a negative value to + lower the box. +\end_layout + +\begin_layout Standard +To align for example the word +\begin_inset Quotes eld +\end_inset + +preventing +\begin_inset Quotes erd +\end_inset + + so that the bottom of the +\begin_inset Quotes eld +\end_inset + +deepest +\begin_inset Quotes erd +\end_inset + + character +\begin_inset Quotes eld +\end_inset + +p +\begin_inset Quotes erd +\end_inset + + is at the baseline, insert the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +raisebox{ +\backslash +depth}{ +\end_layout + +\begin_layout Standard +in ERT before the word. + Behind the word insert a closing brace +\begin_inset Quotes eld +\end_inset + + +\series bold +} +\series default + +\begin_inset Quotes erd +\end_inset + + in ERT. +\newline +This is the result: +\end_layout + +\begin_layout Standard +This is a text line with the word +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +raisebox{ +\backslash +depth}{ +\end_layout + +\end_inset + + +\begin_inset Quotes eld +\end_inset + +preventing +\begin_inset Quotes erd +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + as raised word. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +When you raise or lower characters in a line, the line distance will be + spread: +\end_layout + +\begin_layout Standard +This is a text line with the word +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +raisebox{- +\backslash +depth}{ +\end_layout + +\end_inset + + +\begin_inset Quotes eld +\end_inset + +preventing +\begin_inset Quotes erd +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + as lowered word. +\newline +This is a text line with the word +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +raisebox{0.5cm}{ +\end_layout + +\end_inset + + +\begin_inset Quotes eld +\end_inset + +testing +\begin_inset Quotes erd +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + as raised word. +\end_layout + +\begin_layout Standard +If you want to prevent this for a certain reason, set the box height to + a zero value. + For example use +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +raisebox{- +\backslash +depth}[0pt]{ +\end_layout + +\begin_layout Standard +This is a text line with the word +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +raisebox{- +\backslash +depth}[0pt]{ +\end_layout + +\end_inset + + +\begin_inset Quotes eld +\end_inset + +preventing +\begin_inset Quotes erd +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + as lowered word. +\newline +This is a text line with the word +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +raisebox{0.5cm}[0pt]{ +\end_layout + +\end_inset + + +\begin_inset Quotes eld +\end_inset + +testing +\begin_inset Quotes erd +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + as raised word. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +The +\series bold + +\backslash +raisebox +\series default + command is useful when you want to insert some extra vertical space for + certain table rows so that the row content is better separated from the + surrounding lines. + In Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Two-tables-showing" + +\end_inset + + the table rows with the sub- and superscripts got extra space by raising + an empty box: The command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +raisebox{5mm}{} +\end_layout + +\begin_layout Standard +was inserted to the table rows. +\end_layout + +\begin_layout Standard +To add extra vertical space for all rows of all tables, the method described + in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Extra-Row-Height" + +\end_inset + + might be more convenient. +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status collapsed + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Two-tables-showing" + +\end_inset + +Two tables showing the effect of extra vertical space using +\backslash + +\series bold +raisebox +\end_layout + +\begin_layout Standard + +\hfill + +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Standard +without +\series bold + +\backslash +raisebox +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +Command +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Result +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +B_V +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $B_{V}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +B^V +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $B^{V}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +B^ +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +textvisiblespace +\end_layout + +\end_inset + +A +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $B^{A}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hspace{2pt} +\end_layout + +\end_inset + + +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Standard +with +\series bold + +\backslash +raisebox +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +Command +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Result +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +B_V +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $B_{V}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +B^V +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $\raisebox{5mm}{}B^{V}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +B^ +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +textvisiblespace +\end_layout + +\end_inset + +A +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $\raisebox{5mm}{}B^{A}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\end_inset + + +\hfill + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Colored Boxes +\begin_inset LatexCommand label +name "sec:Colored-Boxes" + +\end_inset + + +\begin_inset LatexCommand index +name "Boxes ! Color" + +\end_inset + + +\end_layout + +\begin_layout Subsection +Color for Text +\begin_inset LatexCommand index +name "Color ! for Text" + +\end_inset + + +\end_layout + +\begin_layout Standard +To color the background of text the text must be put into a so called colorbox. + This requires that the LaTeX-package +\series bold +color +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! color" + +\end_inset + + is loaded in the document preamble with the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +@ifundefined{textcolor} +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + +{ +\backslash +usepackage{color}}{} +\end_layout + +\begin_layout Standard +The package +\series bold +color +\series default + will be loaded automatically by LyX when you color text +\begin_inset Foot +status collapsed + +\begin_layout Standard +To avoid that it is loaded twice the command +\series bold + +\backslash +@ifundefined +\series default + is used. +\end_layout + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + +Colorboxes are created with the command +\series bold + +\backslash +colorbox +\series default +. + This will be used with the following scheme: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +colorbox{color}{box content} +\end_layout + +\begin_layout Standard +The box content can also be a box and colorboxes can also be within other + boxes. +\end_layout + +\begin_layout Standard +The following colors are predefined: +\newline + +\family sans +black +\family default +, +\family sans +blue +\family default +, +\family sans +cyan +\family default +\series bold +, +\family sans +\series default +green +\family default +, +\family sans +magenta +\family default +, +\family sans +red +\family default +, +\family sans +white +\family default +, and +\family sans +yellow +\family default +. +\newline +You can also define your own color as described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Colored-Tables" + +\end_inset + +. +\end_layout + +\begin_layout Standard +To have e.\InsetSpace \thinspace{} +g.\InsetSpace ~ +a red background for a word, insert the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +colorbox{red}{ +\end_layout + +\begin_layout Standard +before the word in ERT. + Behind the word insert a closing brace +\begin_inset Quotes eld +\end_inset + + +\series bold +} +\series default + +\begin_inset Quotes erd +\end_inset + + in ERT. +\newline +This is the result: +\end_layout + +\begin_layout Standard +This is a line where the word +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +colorbox{red}{ +\end_layout + +\end_inset + + +\begin_inset Quotes eld +\end_inset + +Attention! +\begin_inset Quotes erd +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + has a red background. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +If you would have the box frame in a different color, you can use the command + +\series bold + +\backslash +fcolorbox +\series default + with the following scheme: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +fcolorbox{frame color}{box color}{box content} +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +fcolorbox +\series default + is an extension to +\series bold + +\backslash +colorbox +\series default +. + The frame thickness and the space between the frame and the box content + can be adjusted with the lengths +\series bold + +\backslash +fboxrule +\series default + and +\series bold + +\backslash +fboxsep +\series default +, respectively, as described in section\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Framed-Boxes" + +\end_inset + +. +\end_layout + +\begin_layout Standard +For the following example the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +fcolorbox{cyan}{magenta}{ +\end_layout + +\begin_layout Standard +was used. +\end_layout + +\begin_layout Standard +Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{} +mm: +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +fboxrule 1mm +\backslash +fboxsep 1mm +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +fcolorbox{cyan}{magenta}{ +\end_layout + +\end_inset + +This is text within a colored, framed box. +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Of course you can also have colored text inside a colorbox: +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +fcolorbox{cyan}{magenta}{ +\end_layout + +\end_inset + + +\color yellow +This is colored text within a colored, framed box. +\color none + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +fboxrule 0.4pt +\backslash +fboxsep 3pt +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\series bold +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + Text in colorboxes cannot have line breaks. + To color multiple text lines or paragraphs, use a box inside a colorbox + as described in the following. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Color for Paragraphs +\begin_inset LatexCommand label +name "sub:Color-for-Paragraphs" + +\end_inset + + +\begin_inset LatexCommand index +name "Color ! for Paragraphs" + +\end_inset + + +\end_layout + +\begin_layout Standard +To set the background color for more than one text line, put the text into + a minipage. + Before the minipage insert the +\series bold + +\backslash +colorbox +\series default + command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +colorbox{color}{ +\end_layout + +\begin_layout Standard +in ERT. + Behind the minipage insert a closing brace +\begin_inset Quotes eld +\end_inset + + +\series bold +} +\series default + +\begin_inset Quotes erd +\end_inset + + in ERT. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +colorbox{lightgrey}{ +\end_layout + +\end_inset + + +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "t" +use_parbox 0 +width "100col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +This is text with background color. + This is text with background color. +\end_layout + +\begin_layout Standard +\begin_inset VSpace defskip +\end_inset + +The text can have footnotes +\begin_inset Foot +status collapsed + +\begin_layout Standard +Another example footnote +\end_layout + +\end_inset + + and can include tables and figures. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +! +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +< +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b2 +\begin_inset Quotes erd +\end_inset + +| +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +> +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +§ +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +URLs (Uniform Resource Locators) +\begin_inset LatexCommand index +name "URLs" + +\end_inset + + +\end_layout + +\begin_layout Standard +Links to web pages or email addresses can be inserted via the menu +\family sans +Insert\SpecialChar \menuseparator +URL +\family default +. + The appearing URL dialog has two fields; the +\family sans +URL +\family default + field and the +\family sans +Name +\family default + field for the URL description, which will be typeset as plain text immediately + before the URL. +\end_layout + +\begin_layout Standard +Here is an example URL: +\begin_inset LatexCommand url +name "LyX's homepage" +target "http://www.lyx.org" + +\end_inset + + +\end_layout + +\begin_layout Standard +The option +\family sans +Generate\InsetSpace ~ +hyperlink +\family default + in the URL dialog has only an affect when you export your document to the + format +\begin_inset Quotes eld +\end_inset + + +\family sans +LinuxDoc +\family default + +\begin_inset Quotes erd +\end_inset + +. +\end_layout + +\begin_layout Standard +You cannot change the style of the link text. + The text of the +\family sans +Name +\family default + field will have the default text style of the document while the text of + the +\family sans +URL +\family default + field will have the style +\begin_inset Quotes eld +\end_inset + + +\family sans +Typewriter +\family default + +\begin_inset Quotes erd +\end_inset + +. +\end_layout + +\begin_layout Standard +When you use the LaTeX-package +\series bold +hyperref +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! hyperref" + +\end_inset + + to link cross-references in the output, URLs will automatically become + clickable hyperlinks in DVI and PDF-output. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default +When you use the following characters: "%", "#", "^", you have to write + them with a preceding backslash, e.\InsetSpace \thinspace{} +g.\InsetSpace ~ + +\begin_inset Quotes eld +\end_inset + + +\backslash +# +\begin_inset Quotes erd +\end_inset + +. + URLs must not end with a backslash. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +To create real hyperlinks without the force to write the link location to + the text, you can use the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +href{link location}{link text} +\end_layout + +\begin_layout Standard +in ERT. + To get for example a link to LyX's web page, write the command +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +href{http://www.lyx.org}{ +\end_layout + +\begin_layout Standard +in ERT. + Insert after the command the link text +\begin_inset Quotes eld +\end_inset + +LyX's homepage +\begin_inset Quotes erd +\end_inset + + followed by a brace that is inside an ERT-box. + This is the result: +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{http://www.lyx.org}{ +\end_layout + +\end_inset + +LyX's homepage +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +To link to email addresses, add the prefix +\begin_inset Quotes eld +\end_inset + + +\family sans +mailto: +\family default + +\begin_inset Quotes erd +\end_inset + + to the link location: +\newline +Email to +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{ +\end_layout + +\end_inset + +lyx-docs mailing list +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + +. +\end_layout + +\begin_layout Standard +Using +\series bold + +\backslash +href +\series default + instead of LyX's URL box has the advantage that you can specify the text + style of the link text for all other text parts and that you are able to + change the text style for all URLs in your document with an option in +\series bold +hyperref +\series default +'s load command. + Furthermore the restrictions mentioned above doesn't apply for +\series bold + +\backslash +href +\series default +. + +\end_layout + +\begin_layout Standard + +\end_layout + +\begin_layout Standard + +\newpage + +\end_layout + +\begin_layout Chapter +\start_of_appendix +Units available in +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +texorpdfstring{ +\end_layout + +\end_inset + +LyX +\begin_inset ERT +status collapsed + +\begin_layout Standard + +}{LyX} +\end_layout + +\end_inset + + +\begin_inset LatexCommand index +name "Units" + +\end_inset + + +\begin_inset LatexCommand label +name "cha:Units-available-in" + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Standard +The command +\backslash +texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures + are displayed wrongly in PDF-bookmarks. + For more information about this, have a look at +\begin_inset LatexCommand cite +key "hyperref" + +\end_inset + +. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +To understand the units described in this documentation, Table\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Units" + +\end_inset + + explains all units available in LyX. +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement h +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Units" + +\end_inset + +Units +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Standard +unit +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +name/description +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +mm +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +millimeter +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +cm +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +centimeter +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +in +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +inch +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +pt +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +point (72.27\InsetSpace \thinspace{} +pt = 1\InsetSpace \thinspace{} +in) +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +pc +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +pica (1\InsetSpace \thinspace{} +pc = 12\InsetSpace \thinspace{} +pt) +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +sp +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +scaled point (65536\InsetSpace \thinspace{} +sp = 1\InsetSpace \thinspace{} +pt) +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +bp +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +big point (72\InsetSpace \thinspace{} +bp = 1\InsetSpace \thinspace{} +in) +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +dd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +didot (72\InsetSpace \thinspace{} +dd +\begin_inset Formula $\approx$ +\end_inset + + 37.6\InsetSpace \thinspace{} +mm) +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +cc +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +cicero (1\InsetSpace \thinspace{} +cc = 12\InsetSpace \thinspace{} +dd) +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +Scale% +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +% of original image width +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +text% +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +% of text width +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +col% +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +% of column width +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +page% +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +% of paper width +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +line% +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +% of line width +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +theight% +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +% of text height +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +pheight% +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +% of paper height +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +ex +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +height of letter +\emph on +x +\emph default + in current font +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +em +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +width of letter +\emph on +M +\emph default + in current font +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +mu +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +math unit (1\InsetSpace \thinspace{} +mu = 1/18\InsetSpace \thinspace{} +em) +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Chapter +Output File Formats with Graphics +\begin_inset LatexCommand label +name "cha:Output-File-Formats" + +\end_inset + + +\end_layout + +\begin_layout Section +DVI +\begin_inset LatexCommand index +name "File Formats ! DVI" + +\end_inset + + +\begin_inset LatexCommand index +name "DVI|see{File Formats}" + +\end_inset + + +\end_layout + +\begin_layout Standard +This file type has the extension +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.dvi +\family default + +\begin_inset Quotes erd +\end_inset + +. + It is called +\begin_inset Quotes eld +\end_inset + +device-independent +\begin_inset Quotes erd +\end_inset + + (DVI), because it is completely portable; you can move them from one machine + to another without needing to do any sort of conversion. + At the time when this file-format was developed, this was no matter of + course. + DVIs are used for quick previews and as pre-stage for other output formats, + like PostScript. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Note: +\series default + DVI-files doesn't contain images, they will only be a linked. +\end_layout + +\end_inset + + So don't forget this, if you move your +\family typewriter +.dvi +\family default + file to another computer. + This property can also slow down your computer when you view the DVI. + Because the DVI-viewer has to convert the image in the background to make + it visible when you scroll in the DVI. + So we recommend to use PDF for files with many images. +\end_layout + +\begin_layout Standard +You can export your document to DVI by using the menu +\family sans +File\SpecialChar \menuseparator +Export\SpecialChar \menuseparator +DVI +\family default + or the toolbar button +\begin_inset Graphics + filename ../clipart/buffer-view_dvi.png + scale 85 + +\end_inset + +. +\end_layout + +\begin_layout Section +PostScript +\begin_inset LatexCommand label +name "sec:PostScript" + +\end_inset + + +\begin_inset LatexCommand index +name "File Formats ! PostScript\\protect\\pagebreak" + +\end_inset + + +\begin_inset LatexCommand index +name "PostScript|see{File Formats}" + +\end_inset + + +\end_layout + +\begin_layout Standard +This file type has the extension +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.ps +\family default + +\begin_inset Quotes erd +\end_inset + +. + PostScript was developed by the company +\family typewriter +Adobe +\family default + as printer language. + The file contains therefore commands that the printer uses to print the + file. + PostScript can be seen as +\begin_inset Quotes eld +\end_inset + +programming language +\begin_inset Quotes erd +\end_inset + +; you can calculate with it and draw diagrams and images +\begin_inset Foot +status collapsed + +\begin_layout Standard +If you are interested to learn more about this, have a look at the LaTeX-package + +\series bold +PSTricks +\series default + +\begin_inset LatexCommand cite +key "pstricks" + +\end_inset + +. +\end_layout + +\end_inset + +. + Due to this ability, the files are often bigger than PDFs. +\end_layout + +\begin_layout Standard +PostScript can only contain images in the format +\begin_inset Quotes eld +\end_inset + +Encapsulated PostScript +\begin_inset Quotes erd +\end_inset + + (EPS, file extension +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.eps +\family default + +\begin_inset Quotes erd +\end_inset + +). + As LyX allows you to use any known image format in your document, it has + to convert images in the background to EPS. + If you have e.g 50 images in your document, LyX has to do 50 conversions + whenever you view or export your document. + This will slow down your work flow with LyX drastically. + So if you plan to use PostScript, you can insert your images directly as + EPS to avoid this problem. +\end_layout + +\begin_layout Standard +You can export your document to PostScript using the menu +\family sans +File\SpecialChar \menuseparator +Export\SpecialChar \menuseparator +Postscript +\family default +. +\end_layout + +\begin_layout Section +PDF +\begin_inset LatexCommand label +name "sec:PDF" + +\end_inset + + +\begin_inset LatexCommand index +name "File Formats ! PDF" + +\end_inset + + +\begin_inset LatexCommand index +name "PDF" + +\end_inset + + +\end_layout + +\begin_layout Standard +This file type has the extension +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.pdf +\family default + +\begin_inset Quotes erd +\end_inset + +. + The +\begin_inset Quotes eld +\end_inset + +Portable Document Format +\begin_inset Quotes erd +\end_inset + + (PDF) is developed by +\family typewriter +Adobe +\family default + as derivative from PostScript. + It is more compressed and it uses much less commands than PostScript. + As the name +\begin_inset Quotes eld +\end_inset + +portable +\begin_inset Quotes erd +\end_inset + + implies, it can be processed at any computer system and the printed output + looks exactly the same. +\end_layout + +\begin_layout Standard +PDF can contain images in its own PDF format, in the format +\begin_inset Quotes eld +\end_inset + +Joint Photographic Experts Group +\begin_inset Quotes erd +\end_inset + + (JPG, file extension +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.jpg +\family default + +\begin_inset Quotes erd +\end_inset + + or +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.jpeg +\family default + +\begin_inset Quotes erd +\end_inset + +), and in the format +\begin_inset Quotes eld +\end_inset + +Portable Network Graphics +\begin_inset Quotes erd +\end_inset + + (PNG, file extension +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.png +\family default + +\begin_inset Quotes erd +\end_inset + +). + You can although use any other image format, because LyX converts them + in the background to one of these formats. + But as described in the section about PostScript, the image conversion + will slow down your work flow. + So it is recommended to use images in one of the three mentioned formats. +\end_layout + +\begin_layout Standard +You can export your document to PDF via the menu +\family sans +File\SpecialChar \menuseparator +Export +\family default + in three different ways: +\end_layout + +\begin_layout Description +PDF This uses the program +\family typewriter +ps2pdf +\family default + that creates a PDF from a PostScript-version of your file. + The PostScript-version is produced by the program +\family typewriter +dvips +\family default + which uses a DVI-version as intermediate step. + So this export variant consist of three conversions. +\end_layout + +\begin_layout Description +PDF\InsetSpace ~ +(dvipdfm) This uses the program +\family typewriter +dvipdfm +\family default + that converts your file in the background to DVI and in a second step to + PDF. +\end_layout + +\begin_layout Description +PDF\InsetSpace ~ +(pdflatex) This uses the program +\family typewriter +pdftex +\family default + that converts your file directly to PDF. + You can alternatively use the toolbar button +\begin_inset Graphics + filename ../clipart/buffer-export_pdf2.png + scale 85 + +\end_inset + +. +\end_layout + +\begin_layout Standard +It is recommended to use +\family sans +PDF\InsetSpace ~ +(pdflatex) +\family default + because +\family typewriter +pdftex +\family default + supports all features of actual PDF-versions, is quick and works stable + without problems. + The program +\family typewriter +dvipdfm +\family default + is not under development and therefore a bit outdated. +\end_layout + +\begin_layout Chapter +Explanation of Equation\InsetSpace ~ + +\begin_inset LatexCommand eqref +reference "eq:Wgn" + +\end_inset + + +\begin_inset LatexCommand label +name "cha:Explanation-of-Equation" + +\end_inset + + +\end_layout + +\begin_layout Standard +The total width of +\emph on +n +\emph default + table cells +\begin_inset Formula $W_{\mathrm{tot\, n}}$ +\end_inset + + can be calculated to +\end_layout + +\begin_layout Standard +\begin_inset Formula \begin{equation} +W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation} + +\end_inset + + +\end_layout + +\begin_layout Standard +Where +\begin_inset Formula $W_{g\, n}$ +\end_inset + + is the given width of all cells. + +\series bold + +\backslash +tabcolsep +\series default + is the LaTeX-length between the cell text and the cell border, its default + value is 6\InsetSpace \thinspace{} +pt. + +\series bold + +\backslash +arrayrulewidth +\series default + is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{} +pt. +\end_layout + +\begin_layout Standard +Following equation\InsetSpace ~ + +\begin_inset LatexCommand eqref +reference "eq:Wtot_n" + +\end_inset + +, the total width of a multicolumn +\begin_inset Formula $W_{\mathrm{tot\, mult}}$ +\end_inset + + is +\end_layout + +\begin_layout Standard +\begin_inset Formula \begin{equation} +W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation} + +\end_inset + + +\end_layout + +\begin_layout Standard +By setting equation\InsetSpace ~ + +\begin_inset LatexCommand eqref +reference "eq:Wtot_n" + +\end_inset + + and +\begin_inset LatexCommand eqref +reference "eq:Wtot_mult" + +\end_inset + + equal we can calculate the needed given width +\begin_inset Formula $W_{g\, n}$ +\end_inset + + when +\emph on +n +\emph default + columns are spanned, so that each column has a total width of +\begin_inset Formula $W_{\mathrm{tot\, mult}}/n$ +\end_inset + +: +\end_layout + +\begin_layout Standard +\begin_inset Formula \begin{equation} +W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation} + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "latexcompanion" + +\end_inset + +Frank Mittelbach and Michel Goossens: +\emph on +The LaTeX Companion Second Edition. + +\emph default +Addison-Wesley, 2004 +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "latexguide" + +\end_inset + +Helmut Kopka and Patrick W. + Daly: +\emph on +A Guide to LaTeX Fourth Edition. + +\emph default +Addison-Wesley, 2003 +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "latexbook" + +\end_inset + +Leslie Lamport: +\emph on +LaTeX: A Document Preparation System. + +\emph default +Addison-Wesley, second edition, 1994 +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "booktabs" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf} +{ +\end_layout + +\end_inset + +Documentation +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + of the LaTeX-package +\series bold +booktabs +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! booktabs" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "caption" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{ +\end_layout + +\end_inset + +Documentation +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + of the LaTeX-package +\series bold +caption +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! caption" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "caption-de" + +\end_inset + +German +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf} +{ +\end_layout + +\end_inset + +documentation +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + of the LaTeX-package +\series bold +caption +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "endfloat" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf} +{ +\end_layout + +\end_inset + +Documentation +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + of the LaTeX-package +\series bold +endfloat +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! endfloat" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "floatflt" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf} +{ +\end_layout + +\end_inset + +Documentation +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + of the LaTeX-package +\series bold +floatflt +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! floatflt" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "footmisc" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf} +{ +\end_layout + +\end_inset + +Documentation +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + of the LaTeX-package +\series bold +footmisc +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! footmisc" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "hypcap" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{ +\end_layout + +\end_inset + +Documentation +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + of the LaTeX-package +\series bold +hypcap +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! hyperref" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "hyperref" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf} +{ +\end_layout + +\end_inset + +Documentation +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + of the LaTeX-package +\series bold +hyperref +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! hyperref" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "koma-script" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p +df}{ +\end_layout + +\end_inset + +Documentation +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + of the LaTeX-package +\series bold +koma-script +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! koma-script" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "koma-script-de" + +\end_inset + +German +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p +df}{ +\end_layout + +\end_inset + +documentation +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + of the LaTeX-package +\series bold +koma-script +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! koma-script" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "marginnote" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote. +pdf}{ +\end_layout + +\end_inset + +Documentation +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + of the LaTeX-package +\series bold +marginnote +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! marginnote" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "pstricks" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{http://tug.org/PSTricks/main.cgi/}{ +\end_layout + +\end_inset + +Web page +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + of the LaTeX-package +\series bold +PSTricks +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! PSTricks" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "sidecap" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{ +\end_layout + +\end_inset + +Documentation +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + of the LaTeX-package +\series bold +sidecap +\series default + +\begin_inset LatexCommand index +name "LaTeX-packages ! sidecap" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "NewInLyX15" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{http://wiki.lyx.org/LyX/NewInLyX15}{ +\end_layout + +\end_inset + +Wiki page +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + about new LyX-features planned for the release +\family sans +LyX 1.5 +\family default +. +\end_layout + +\begin_layout Standard +\begin_inset LatexCommand printindex + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset FloatList figure + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset FloatList table + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/lib/doc/Makefile.am b/lib/doc/Makefile.am index bd6fe22b77..ea028f63e5 100644 --- a/lib/doc/Makefile.am +++ b/lib/doc/Makefile.am @@ -15,6 +15,7 @@ docfiles = \ de_Tutorial.lyx \ de_UserGuide.lyx \ DocStyle.lyx \ + es_Extended-Insets.lyx \ es_Intro.lyx \ es_Tutorial.lyx \ eu_Customization.lyx \ @@ -23,6 +24,7 @@ docfiles = \ eu_Intro.lyx \ eu_Tutorial.lyx \ eu_UserGuide.lyx \ + Extended-Insets.lyx \ Extended.lyx \ FAQ.lyx \ fr_Customization.lyx \ diff --git a/lib/doc/depend.py b/lib/doc/depend.py index bc7739a713..ec74c35494 100644 --- a/lib/doc/depend.py +++ b/lib/doc/depend.py @@ -28,7 +28,7 @@ import os import re from glob import glob -possible_documents = ("Intro", "FAQ", "Tutorial", "UserGuide", "Extended", "Customization") +possible_documents = ("Intro", "FAQ", "Tutorial", "UserGuide", "Extended-Insets", "Extended", "Customization") lang_pattern = re.compile('^([a-z]{2})_') def documents(srcdir, prefix): diff --git a/lib/doc/es_Extended-Insets.lyx b/lib/doc/es_Extended-Insets.lyx new file mode 100644 index 0000000000..4631d963ec --- /dev/null +++ b/lib/doc/es_Extended-Insets.lyx @@ -0,0 +1,27048 @@ +#LyX 1.5.0svn created this file. For more info see http://www.lyx.org/ +\lyxformat 256 +\begin_document +\begin_header +\textclass scrbook +\begin_preamble +% provides missing characters, +\usepackage{textcomp} + +% provides caption formatting +\usepackage[labelfont={bf,sf}, tableposition=top]{caption} + +% provides commands to set caption +% beside tables/images +\usepackage{sidecap} + +\newcommand{\TabBesBeg}{% + \let\MyTable\table + \let\MyEndtable\endtable + \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}} + +\newcommand{\TabBesEnd}{% + \let\table\MyTable + \let\endtable\MyEndtable} + +\newcommand{\FigBesBeg}{% + \let\MyFigure\figure + \let\MyEndfigure\endfigure + \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}} + +\newcommand{\FigBesEnd}{% + \let\figure\MyFigure + \let\endfigure\MyEndfigure} + +% use the marginnote package for margin notes +\usepackage{marginnote} +\let\marginpar\marginnote + +% enables calculation of values, +\usepackage{calc} + +% provides special table cell alignments +\usepackage{dcolumn} + +% increase the bottom float placement fraction +\renewcommand{\bottomfraction}{0.5} + +% avoids that floats are placed before their +% corresponding section starts +\let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection} + +% speed up the longtable calculation +\setcounter{LTchunksize}{100} + +% define a new reference format +\newrefformat{fig} + % {Figure~float~\ref{#1} printed on page~\pageref{#1}} + % en español: + {Figura~flotante~\ref{#1} impresa en página~\pageref{#1}} + +% if pdflatex is used +\usepackage{ifpdf} +\ifpdf + +% set fonts for nicer pdf view +\IfFileExists{lmodern.sty} + {\usepackage{lmodern}} % if it exists + {% if it exists not + \usepackage[scaled=0.92]{helvet} + \usepackage{mathptmx} + \usepackage{courier} + } % end if it exists not + +% link all cross references and URLs +% in pdf output + \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=2, + linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, + pdfpagelayout=OneColumn, pdfnewwindow=true, + pdfstartview=XYZ, plainpages=false, pdfpagelabels, + pdfauthor={LyX Team}, pdftex, + pdftitle={LyX's Table Manual}, + pdfsubject={LyX-documentation about tables}, + pdfkeywords={LyX}]{hyperref} + +\else % if dvi or ps is produced + + % link all cross references and URLs in DVI output + \usepackage[ps2pdf, colorlinks=true, + linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref} + +\fi % end if pdflatex is used + +% that links to image floats jumps +% to the beginning of the float and +% not to its caption +\usepackage[figure]{hypcap} + +% used for colored tables +\@ifundefined{textcolor} + {\usepackage{color}}{} +\usepackage{colortbl} +%\definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5} +%\definecolor{lightgrey}{gray}{0.8} +\definecolor{verdeoscuro}{cmyk}{0.5, 0, 1, 0.5} %español +\definecolor{grisclaro}{gray}{0.8} %español + +% used for tables with dashed lines +\usepackage{arydshln} + +% used for multirows +\usepackage{multirow} +%\renewcommand{\multirowsetup}{\centering} + +% used for book-style tables +\usepackage{booktabs} + +% used to have extra space in table cells, +\setlength{\extrarowheight}{2pt} + +% used for customized tables +% --- +\newcolumntype{M}[1] + {>{\centering\hspace{0pt}}m{#1}} + +\newcolumntype{S}[2] + {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}} + +\newcolumntype{K}[1] + {>{\columncolor{#1}\hspace{0pt}}c} + +\newcolumntype{V}{!{\vrule width 1.5pt}} + +\newcolumntype{W}{!{\color{green}\vline}} +% --- + +% To be able to enter the characters ° , · and × directly in LyX +\DeclareInputText{177}{\ifmmode\pm\else\textpm\fi} +\DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi} +\DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi} +\DeclareInputText{215}{\ifmmode\times\else\texttimes\fi} + +% the pages of the TOC are numbered roman +% and a PDF-bookmark for the TOC is added +\pagenumbering{roman} +\let\myTOC\tableofcontents +\renewcommand{\tableofcontents}{% +% \pdfbookmark[1]{Contents}{} + \pdfbookmark[1]{Contenidos}{} %en español + \myTOC} + \clearpage + \pagenumbering{arabic} + +% increase link area for cross-references +% and autoname them +%\AtBeginDocument{\renewcommand{\ref}[1] +% {\mbox{\autoref{#1}}}} +%\newlength{\abc} +%\settowidth{\abc}{\space} +%\renewcommand{\equationautorefname} +% {\hspace{-\abc}} + +% insert additional vertical space of +% 1.5 mm between footnotes +\let\myFoot\footnote +\renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}} + +% enable algorithm floats to be referenced +\newfloat{Xalgorithm}{tbp}{loa} +%\floatname{Xalgorithm}{Algorithm} +\floatname{Xalgorithm}{Algoritmo} %en español +\newcommand{\theHalgorithm}{\theHXalgorithm} +\renewenvironment{algorithm}[1][tbp] + {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}} + +% number algorithm floats within chapters +\numberwithin{Xalgorithm}{chapter} + +% redefine the greyed out note +\renewenvironment{lyxgreyedout} + {\textcolor{blue}\bgroup}{\egroup} +\end_preamble +\options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage +\language spanish +\inputencoding auto +\font_roman default +\font_sans default +\font_typewriter default +\font_default_family default +\font_sc false +\font_osf false +\font_sf_scale 100 +\font_tt_scale 100 +\graphics default +\paperfontsize 12 +\spacing single +\papersize default +\use_geometry false +\use_amsmath 2 +\use_esint 0 +\cite_engine basic +\use_bibtopic false +\paperorientation portrait +\secnumdepth 3 +\tocdepth 3 +\paragraph_separation skip +\defskip medskip +\quotes_language english +\papercolumns 1 +\papersides 2 +\paperpagestyle default +\bullet 1 1 34 -1 +\bullet 2 2 35 -1 +\bullet 3 2 7 -1 +\tracking_changes false +\output_changes true +\author "usti" +\end_header + +\begin_body + +\begin_layout Title +Manual de Cuadros, Figuras, Flotantes, Notas y Tablas en LyX +\end_layout + +\begin_layout Author +por el Equipo LyX +\begin_inset Foot +status collapsed + +\begin_layout Standard +\noindent +Si tienes comentarios o correcciones, por favor, envíalo a la lista de correo + de Documentación de LyX: +\family typewriter + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{mailto:lyx-docs@lists.lyx.org?subject=LyX's es-Extended-Insets manual}{ +\end_layout + +\end_inset + +lyx-docs@lists.lyx.org +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Standard +autor original: Uwe Stöhr +\end_layout + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Standard +Traducción de: Ignacio García +\end_layout + +\end_inset + + +\newline + +\newline + +\family sans +Versión 1.4.3-5 +\end_layout + +\begin_layout Standard +\begin_inset LatexCommand tableofcontents + +\end_inset + + +\end_layout + +\begin_layout Chapter +Figuras +\begin_inset LatexCommand label +name "cha:Figuras" + +\end_inset + + +\begin_inset LatexCommand index +name "Figuras" + +\end_inset + + +\end_layout + +\begin_layout Section +Diálogo Gráficos +\begin_inset LatexCommand index +name "Figuras ! Diálogo Gráficos" + +\end_inset + + +\end_layout + +\begin_layout Standard +Para insertar una imagen en un documento, sitúa el cursor en el lugar del + texto que desees y haz click en el icono +\begin_inset Graphics + filename ../images/dialog-show-new-inset_graphics.xpm + scale 85 + +\end_inset + + o en el menú +\family sans +Insertar\SpecialChar \menuseparator +Imagen\SpecialChar \ldots{} + +\family default + Aparecerá un diálogo para escoger el archivo a cargar. + La imagen aparecerá en el archivo de salida exactamente en la misma posición + en la que la has colocado. +\end_layout + +\begin_layout Standard +El diálogo Gráficos puede lanzarse en cualquier momento haciendo click-derecha + sobre una imagen. + Este diálogo tiene tres pestañas: +\end_layout + +\begin_layout Description +Gráficos Aquí puedes elegir tu archivo gráfico y ajustar separadamente su + presentación en LyX y en la salida. + En el apéndice\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "cha:Unidades-disponibles-en" + +\end_inset + + se detallan las unidades disponibles para el tamaño del gráfico. +\newline +Puedes girar + los gráficos en el sentido de las agujas de reloj estableciendo un ángulo + y un origen de rotación. + La imagen también gira en LyX. +\end_layout + +\begin_layout Description +Recorte Alternativamente al escalado, es posible establacer las coordenadas + de la imagen para ajustar su altura y anchura en la salida. + Además, las coordenadas se pueden calcular automáticamente pinchando el + botón +\family sans +Obtener\InsetSpace ~ +de\InsetSpace ~ +archivo +\family default +. + El botón +\family sans +Recortar\InsetSpace ~ +al\InsetSpace ~ +cuadro\InsetSpace ~ +delimitador +\family default + imprimirá sólo la región de la imagen comprendida en las coordenadas introducid +as. + Normalmente no necesitarás preocuparte por esto y puedes ignorar esta pestaña. +\end_layout + +\begin_layout Description +Opciones\InsetSpace ~ +extra Aquí puedes poner una imagen como subfigura de una figura + flotante que tiene su propio título. + Las subfiguras se explican en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Figuras-Flotantes" + +\end_inset + +. +\newline +Los expertos en LaTeX pueden especificar aquí opciones LaTeX adicionales. +\newline +La + opción +\family sans +Modo\InsetSpace ~ +borrador +\family default + hace que en la salida se muestre sólo un marco con el tamaño de la imagen. +\newline +La + opción +\family sans +No\InsetSpace ~ +descomprimir\InsetSpace ~ +al\InsetSpace ~ +exportar +\family default + sólo afecta a los gráficos EPS comprimidos, p.\InsetSpace \thinspace{} +e.\InsetSpace ~ + +\emph on +x.eps.gz +\emph default +. + Si se usa esta opción, las imágenes no serán descomprimidas al exportar, + puesto que LaTeX puede manejarlas como están. +\newline +Los gráficos EPS comprimidos + sirven para ahorrar espacio de disco si se utiliza PostScript como formato + de salida, ver apéndice\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:PostScript" + +\end_inset + +. + Para comprimir gráficos EPS, use los siguientes comandos en un UNIX-shell + o en consola de Windows: +\newline + +\series bold +gzip x.eps +\series default + +\newline + +\series bold +zgrep %%Bounding x.eps.gz > x.eps.bb +\series default + +\newline +El segundo comando crea un archivo de cuadro delimitador +\begin_inset Quotes eld +\end_inset + +x.eps.bb +\begin_inset Quotes erd +\end_inset + + que necesita LaTeX para gráficos comprimidos. +\end_layout + +\begin_layout Standard + +\newpage + +\end_layout + +\begin_layout Standard +Esto es un ejemplo de imagen en formato PDF +\begin_inset Foot +status open + +\begin_layout Standard +El formato PDF se explica en el apéndice\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:PDF" + +\end_inset + +. +\end_layout + +\end_inset + + en un párrafo separado centrado horizontalmente: +\end_layout + +\begin_layout Standard +\align center +\begin_inset Graphics + filename ../clipart/mobius.pdf + display color + scale 70 + rotateOrigin center + +\end_inset + + +\end_layout + +\begin_layout Standard +Esta es la misma imagen pero en modo borrador: +\end_layout + +\begin_layout Standard +\align center +\begin_inset Graphics + filename ../clipart/mobius.pdf + display color + scale 70 + draft + rotateOrigin center + +\end_inset + + +\end_layout + +\begin_layout Section +Figuras Flotantes +\begin_inset LatexCommand label +name "sec:Figuras-Flotantes" + +\end_inset + + +\begin_inset LatexCommand index +name "Flotantes ! Figuras Flotantes" + +\end_inset + + +\begin_inset LatexCommand index +name "Figuras ! Flotantes" + +\end_inset + + +\end_layout + +\begin_layout Standard +Para información general sobre flotantes, echa una ojeada a la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:IntroducciónFlotantes" + +\end_inset + +. +\end_layout + +\begin_layout Standard +El botón +\begin_inset Graphics + filename ../images/float-insert_figure.xpm + scale 85 + +\end_inset + + y el menú +\family sans +Insertar\SpecialChar \menuseparator +Flotante\SpecialChar \menuseparator +Figura +\family default + insertan un flotante con la etiqueta " +\series bold +Figura #: +\series default +". + Tras ella escribe el título que quieras para la figura. + Para insertar una imagen sobre su título sitúa el cursor delante de dicho + título, presiona Enter e inserta la imagen como se describe arriba. + Esto se hace para la Figura\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:kill-plat" + +\end_inset + +. + Si quieres que la imagen esté bajo su título, sitúa el cursor detrás del + mismo, presiona Enter e inserta la imagen. + Esto se hace para la Figura\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:escher" + +\end_inset + +. + Más sobre ubicación de títulos se describe en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Colocación-de-Encabezados" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Float figure +wide false +sideways false +status open + +\begin_layout Standard +\align center +\begin_inset Graphics + filename ../clipart/platypus.pdf + display color + width 50col% + rotateOrigin center + +\end_inset + + +\end_layout + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:kill-plat" + +\end_inset + +Un platypus muy distorsionado en un flotante. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float figure +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:escher" + +\end_inset + +M.C. + Escher en ácido. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Graphics + filename ../clipart/escher-lsd.pdf + display color + scale 80 + rotateOrigin center + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset LatexCommand index +name "Referencias ! a Figuras" + +\end_inset + +Las figuras\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:kill-plat" + +\end_inset + + y +\begin_inset LatexCommand ref +reference "fig:escher" + +\end_inset + + son un ejemplo de figuras con referencias cruzadas. + Las figuras pueden tener referencias cruzadas en el texto mediante referencia + a su etiqueta. + Para hacerlo inserta una etiqueta en el título usando el menú +\family sans +Insertar\SpecialChar \menuseparator +Etiqueta +\family default + o el botón +\begin_inset Graphics + filename ../images/label-insert.xpm + scale 85 + +\end_inset + +. + Ahora puedes referirte a la etiqueta usando el menú +\family sans +Insertar\SpecialChar \menuseparator +Referencia\InsetSpace ~ +cruzada +\family default + o el botón +\begin_inset Graphics + filename ../images/dialog-show-new-inset_ref.xpm + scale 85 + +\end_inset + +. + Es importante emplear referencias a flotantes, mejor que alusiones vagas + como "la figura de arriba", porque como LaTeX recolocará los flotantes + en el documento final, podría no quedar "arriba" precisamente. +\end_layout + +\begin_layout Standard +Normalmente sólo se inserta una imagen en un flotante, pero a veces podríamos + querer poner dos imágenes con subtítulos separados. + Esto es posible mediante la pestaña +\family sans +Opciones\InsetSpace ~ +extra +\family default + del diálogo gráficos. + Elije la opción +\family sans +Subfigura +\family default + e introduce el subtítulo en la casilla +\family sans +Descripción +\family default +. + Observa que sólo el título principal del flotante se añade a la Lista de + Figuras. +\end_layout + +\begin_layout Standard +La figura\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:Dos-imágenes-distorsionadas" + +\end_inset + + es un ejemplo de figura flotante con dos imágenes una junto a otra. + también se pueden poner una sobre otra. +\end_layout + +\begin_layout Standard +\begin_inset Float figure +wide false +sideways false +status open + +\begin_layout Standard + +\hfill + +\begin_inset Graphics + filename ../clipart/escher-lsd.pdf + width 45col% + subcaption + subcaptionText "Estructura indefinible" + +\end_inset + + +\hfill + +\begin_inset Graphics + filename ../clipart/platypus.pdf + lyxscale 60 + width 45col% + subcaption + subcaptionText "Platypus" + +\end_inset + + +\hfill + +\end_layout + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:Dos-imágenes-distorsionadas" + +\end_inset + +Dos imágenes distorsionadas. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Formatos de Imagen +\begin_inset LatexCommand label +name "sec:Formatos-de-imagen" + +\end_inset + + +\begin_inset LatexCommand index +name "Formatos de Imagen" + +\end_inset + + +\begin_inset LatexCommand index +name "Figuras ! Formatos de Imagen" + +\end_inset + + +\end_layout + +\begin_layout Standard +Puedes insertar imágenes en cualquier formato. + Pero como se explica en el apéndice \InsetSpace ~ + +\begin_inset LatexCommand ref +reference "cha:Formatos-de-Archivos-de-Salida" + +\end_inset + +, cada formato de archivo del documento de salida permite solo ciertos formatos + de archivo de imagen. + Por eso LyX usa el programa +\family sans +Imagemagick +\family default + en segundo plano para convertir imágenes al formato adecuado. + Para aumentar el rendimiento evitando estas conversiones, puedes usar sólo + los formatos de imagen admitidos en el formato de archivo de salida. + Los formatos de salida se explican en el apéndice \InsetSpace ~ + +\begin_inset LatexCommand ref +reference "cha:Formatos-de-Archivos-de-Salida" + +\end_inset + +. +\end_layout + +\begin_layout Standard +Igual que para las fuentes, hay dos tipos de archivos de imagen: +\end_layout + +\begin_layout Description +Imágenes\InsetSpace ~ +Mapa\InsetSpace ~ +de\InsetSpace ~ +bits (Bitmap) consiste en valores de píxel, generalmente comprimid +os. + Por tanto no son totalmente escalables y se ven pixeladas a valores altos + de zoom. + Formatos de imágenes en bitmap bien conocidos son "Graphics Interchange + Format" (GIF, extensión ".gif") +\begin_inset LatexCommand index +name "GIF|see{Formatos de Imagen}" + +\end_inset + +, "Portable Network Graphics" (PNG, extensión ".png") +\begin_inset LatexCommand index +name "PNG|see{Formatos de Imagen}" + +\end_inset + +, y "Joint Photographic Experts Group" (JPG, extensión ".jpg" o ".jpeg") +\begin_inset LatexCommand index +name "JPG|see{Formatos de Imagen}" + +\end_inset + +. +\end_layout + +\begin_layout Description +Imágenes\InsetSpace ~ +vectoriales consisten en vectores y por tanto pueden escalarse a + cualquier tamaño sin pérdidas. + La posibilidad de escalado hace falta para crear presentaciones, porque + éstas siempre son escaladas por el proyector. + El escalado también es útil en los documentoos en línea para permitir el + zoom en diagramas. +\newline +Formatos de imagen escalables pueden ser "Scalable Vector + Graphics" (SVG, extensión ".svg") +\begin_inset LatexCommand index +name "SVG|see{Formatos de Imagen}" + +\end_inset + +, "Encapsulated PostScript" (EPS, extensión ".eps") +\begin_inset LatexCommand index +name "EPS|see{Formatos de Imagen}" + +\end_inset + +, "Portabla Document Format" (PDF, extensión ".pdf") +\begin_inset LatexCommand index +name "PDF|see{Formatos de Imagen}" + +\end_inset + +, y "Windows Metafile" (WMF, extensión ".wmf") +\begin_inset LatexCommand index +name "WMF|see{Formatos de Imagen}" + +\end_inset + +. + Escribimos "pueden ser", porque se puede convertir cualquier imagen bitmap + a PDF o EPS y el resultado será todavía una imagen bitmap. + En estos casos sólo se añade una cabecera con las propiedades de la imagen + a la imagen original +\begin_inset Foot +status open + +\begin_layout Standard +En el caso de PDF, además se comprime la imagen original. +\end_layout + +\end_inset + +. + Por ejemplo, los archivos PDF generados por +\family sans +Adobe Photoshop +\family default + son imágenes bitmap. +\end_layout + +\begin_layout Standard +Normalmente no es posible convertir una imagen bitmap a escalable, sólo + viceversa. + Sólo los formatos de imagen PDF y EPS pueden empotrarse directamente en + archivos de salida PDF y PostScript, respectivamente. + Las imágenes SVG y WMF son recalculadas a bitmaps cuando se genera el archivo + de salida porque actualmente no hay convertidores adecuados WMF/SVG +\begin_inset Formula $\to$ +\end_inset + + PDF/EPS. +\end_layout + +\begin_layout Chapter +Tablas +\begin_inset LatexCommand label +name "cha:Tablas" + +\end_inset + + +\begin_inset LatexCommand index +name "Tablas" + +\end_inset + + +\end_layout + +\begin_layout Section +Introducción +\begin_inset LatexCommand index +name "Tablas ! Introducción" + +\end_inset + + +\end_layout + +\begin_layout Standard +Puede insertarse una tabla mediante el botón +\begin_inset Graphics + filename ../images/tabular-insert.xpm + scale 85 + +\end_inset + + o el menú +\family sans +Insertar\SpecialChar \menuseparator +Tabla +\family default +. + Aparece un diálogo en el que se pide el número de filas y columnas. + Por defecto, la tabla tiene líneas que enmarcan cada celda y la primera + fila aparece separada por una línea doble: la línea inferior de la primera + fila y la línea superior de la segunda fila. + Ejemplo de tabla: +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +A +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +B +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +C +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Section +Diálogo Tablas +\begin_inset LatexCommand index +name "Tablas ! Diálogo" + +\end_inset + + +\end_layout + +\begin_layout Standard +Una tabla se puede cambiar mediante el cuadro de diálogo que aparece al + pinchar sobre ella con el botón derecho del ratón. + Se pueden ajustar los parámetros de la celda y fila/columna en la que se + encuentra el cursor. + La mayoría de opciones también trabajan sobre una selección de celdas, + de filas o de columnas. + Observa que hay que diferenciar entre seleccionar una celda o seleccionar + su +\emph on +contenido +\emph default +. + En el cuadro de diálogo aparecen las siguientes pestañas: +\end_layout + +\begin_layout Description + +\family sans +Configuración\InsetSpace ~ +de\InsetSpace ~ +Tabla +\family default + Aquí puedes establacer la alineación horizontal para la fila actual y la + anchura de la columna actual. + Una vez puesta la anchura puedes ajustar también el alineamiento vertical. + Una anchura determinada permite tener saltos de línea y distintos párrafos + de texto, ver sección \InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Líneas-Múltiples-en" + +\end_inset + +. + Si no establaces anchura, la columna será tan ancha como el contenido de + la celda más ancha. +\newline +Además, puedes marcar una o más celdas de una fila como + una celda multicolumna, ver sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Multicolumnas" + +\end_inset + +. +\newline +Las casillas de giro rotan la celda actual, una selección o toda la tabla + 90º en el sentido de las agujas del reloj. + La rotación no se muestra en LyX, sólo en la salida. +\newline + +\begin_inset Note Greyedout +status collapsed + +\begin_layout Standard + +\series bold +Nota: +\series default +No todos los visores DVI pueden mostrar rotaciones. +\end_layout + +\end_inset + + +\newline +Tambien es posible introducir argumentos LaTeX necesarios para formatos + especiales, ver sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Cálculos-en-Multicolumnas" + +\end_inset + + y +\begin_inset LatexCommand ref +reference "sec:Tablas-Coloreadas" + +\end_inset + +. +\end_layout + +\begin_layout Description + +\family sans +Bordes +\family default + En esta pestaña puedes añadir y quitar bordes para la fila/columna actual. +\end_layout + +\begin_layout Description + +\family sans +Tabla\InsetSpace ~ +Larga +\family default + Para hacer " +\emph on +tablas largas +\emph default +" que pueden extenderse por varias páginas. + La sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Tablas-Largas" + +\end_inset + + describe su uso en detalle. +\end_layout + +\begin_layout Standard +Si la barra de herramientas de tabla está abierta, puedes mover el cursor + con las teclas de flecha de celda en celda y la propiedad de la celda actual + aparecerá inmediatamente en el diálogo. +\end_layout + +\begin_layout Section +Barra de Herramientas de Tablas +\begin_inset LatexCommand index +name "Tablas ! Barra de Herramientas" + +\end_inset + + +\end_layout + +\begin_layout Standard +La barra de herramientas de tabla es una alternativa al cuadro de diálogo + para cambiar las tablas de manera más rápida. + Normalmente debería aparecer en la parte inferior de la ventana principal + de LyX cuando el cursor está dentro de una tabla. + En cualquier momento se puede presentar esta barra pinchando con el botón + derecho del ratón en cualquier punto de la barra principal de menú. +\end_layout + +\begin_layout Standard +La barra de herramientas tiene los siguientes iconos: +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_append-row.xpm + +\end_inset + + añade una fila bajo la celda actual o selección +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_append-column.xpm + +\end_inset + + añade una columna a la derecha de la celda actual o selección +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_delete-row.xpm + +\end_inset + + borra la fila actual o selección +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_delete-column.xpm + +\end_inset + + borra la columna actual o selección +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_toggle-line-top.xpm + +\end_inset + + añade una línea sobre la celda/fila actual o la selección +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_toggle-line-bottom.xpm + +\end_inset + + añade una línea bajo la celda/fila actual o la selección +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_toggle-line-left.xpm + +\end_inset + + añade una línea a la izquierda de la celda/fila actual o la selección +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_toggle-line-right.xpm + +\end_inset + + añade una línea a la derecha de la celda/fila actual o la selección +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_set-all-lines.xpm + +\end_inset + + añade líneas alrededor de la celda actual o seleccionadas - si la celda + actual no es multicolumna esto afecta también a la fila y columna actuales +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_unset-all-lines.xpm + +\end_inset + + borra todas las líneas de la celda o celdas seleccionadas - si la celda + actual no es multicolumna esto afecta también a la fila y columna actuales +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_align-left.xpm + +\end_inset + + alinea a la izquierda el contenido de la celda / columna +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_align-center.xpm + +\end_inset + + centra el contenido de la celda / columna horizontalmente +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_align-right.xpm + +\end_inset + + alinea a la derecha el contenido de la celda / columna +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_valign-top.xpm + +\end_inset + + alinea arriba el contenido de la celda +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_valign-middle.xpm + +\end_inset + + centra verticalmente el contenido de la celda +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_valign-bottom.xpm + +\end_inset + + alinea abajo el contenido de la celda +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_set-rotate-cell.xpm + +\end_inset + + gira la celda o selección 90° como las agujas de reloj +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_set-rotate-tabular.xpm + +\end_inset + + gira toda la tabla 90° como agujas del reloj +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +\begin_inset Graphics + filename ../images/tabular-feature_multicolumn.xpm + +\end_inset + + establace la celda actual o selección como multicolumna +\end_layout + +\begin_layout Section +Menú Editar Tabla +\begin_inset LatexCommand index +name "Tablas ! Menú Editar" + +\end_inset + + +\end_layout + +\begin_layout Standard +Además del diálogo y la barra de herramientas, el menú +\family sans +Editar \SpecialChar \menuseparator +Tabla +\family default + permite añadir y borrar bordes para la fila/columna actual y establacer + la selección como multicolumna. + El menú sólo está disponibla si el cursor está en la tabla. +\end_layout + +\begin_layout Section +Tablas Flotantes +\begin_inset LatexCommand label +name "sec:Tablas-Flotantes" + +\end_inset + + +\begin_inset LatexCommand index +name "Flotantes ! Tablas" + +\end_inset + + +\begin_inset LatexCommand index +name "Tablas ! Flotantes" + +\end_inset + + +\end_layout + +\begin_layout Standard +Para una explicación general sobre flotantes, echa un vistazo a la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:IntroducciónFlotantes" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement h +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:una tabla flotante" + +\end_inset + +Una tabla flotante. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +3 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +Pepe +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +Mari +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +Teo +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +\begin_inset Formula $\int x^{2}dx$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +\begin_inset Formula $\left[\begin{array}{cc} +a & b\\ +c & d\end{array}\right]$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +\begin_inset Formula $1+1=2$ +\end_inset + + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Las tablas flotantes pueden insertarse con el menú +\family sans +Insertar\SpecialChar \menuseparator +Flotante\SpecialChar \menuseparator +Tabla +\family default + o el botón +\begin_inset Graphics + filename ../images/float-insert_table.xpm + scale 85 + +\end_inset + +. +\end_layout + +\begin_layout Standard +El flotante se muestra como un cuadro expandible con la etiqueta " +\series bold +Tabla\InsetSpace ~ +#: +\series default +" en su interior. + El texto que sigue a dicha etiqueta es el encabezado de tabla. + Para insertar una tabla en el flotante se sitúa el cursor al final del + texto de encabezado y se pulsa Enter. + El encabezado se imprime sobre la tabla. +\end_layout + +\begin_layout Standard +La tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:una tabla flotante" + +\end_inset + + es un ejemplo de tabla flotante. +\end_layout + +\begin_layout Standard +Lo habitual es poner el encabezado de tabla sobre ella, lo que desafortunadament +e no es soportado en las clases estándar de LaTeX. + Esto significa que si está usando las clases de documento +\family sans +article +\family default +, +\family sans +book +\family default +, +\family sans +letter +\family default +, o +\family sans +report +\family default + no habrá espacio entre el encabezado y la tabla. + Para añadir el espacio faltante hay que poner en el preámbulo LaTeX del + documento la siguiente opción al comando del paquete de LaTeX +\series bold +caption +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! caption" + +\end_inset + + +\begin_inset Foot +status open + +\begin_layout Standard +Para más información ve a la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Colocación-de-Encabezados" + +\end_inset + +. +\end_layout + +\end_inset + +: +\end_layout + +\begin_layout Standard + +\series bold +tableposition=top +\end_layout + +\begin_layout Standard +El encabezado puede formatearse mediante el paquete de LaTeX +\series bold +caption +\series default + como se describe en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Formato-de-Encabezados" + +\end_inset + +. + +\end_layout + +\begin_layout Standard +\begin_inset LatexCommand index +name "Referencias ! a Tablas" + +\end_inset + +Las tablas pueden tener referencias cruzadas en el texto referenciando su + etiqueta. + Para hacerlo inserta una etiqueta en el encabezado con el menú +\family sans +Insertar\SpecialChar \menuseparator +Etiqueta +\family default + o el botón +\begin_inset Graphics + filename ../images/label-insert.xpm + scale 85 + +\end_inset + +. + Ahora puedes referirte a la etiqueta con el menú +\family sans +Insertar\SpecialChar \menuseparator +Referencia\InsetSpace ~ +cruzada +\family default + o el botón +\begin_inset Graphics + filename ../images/dialog-show-new-inset_ref.xpm + scale 85 + +\end_inset + +. +\end_layout + +\begin_layout Section +Tablas Largas +\begin_inset LatexCommand label +name "sec:Tablas-Largas" + +\end_inset + + +\begin_inset LatexCommand index +name "Tablas Largas" + +\end_inset + + +\begin_inset LatexCommand index +name "Tablas ! Largas" + +\end_inset + + +\end_layout + +\begin_layout Standard +Si la tabla es demasiado larga para una página, puedes usar la opción +\family sans +Usar\InsetSpace ~ +tabla\InsetSpace ~ +larga +\family default + en la pestaña +\family sans +Tabla\InsetSpace ~ +larga +\family default + del diálogo para repartir automáticamente la tabla entre varias páginas. + Al hacer esto se habilitan diversos botones opcionales en los que puede + definirse: +\end_layout + +\begin_layout Description + +\family sans +Encabezado: +\family default +La fila actual y todas las de arriba, que no tienen ninguna opción especial + definida, se definen como filas de encabezado para todas las páginas de + la tabla, excepto para la primera página +\family sans + +\family default +si +\family sans + Primer\InsetSpace ~ +encabezado +\family default +está definido. + Este se denomina encabezado principal. +\end_layout + +\begin_layout Description + +\family sans +Primer\InsetSpace ~ +encabezado: +\family default +La fila actual y superiores, que no tienen ninguna opción especial definida, + se definen como filas cabeceras de la primera página de la tabla. +\end_layout + +\begin_layout Description + +\family sans +Pie: +\family default +La fila actual y todas las siguientes, que no tienen ninguna opción especial + definida, se definen como filas de pie de todas las páginas de la tabla, + excepto para la última página si se define +\family sans + Último\InsetSpace ~ +pie. +\end_layout + +\begin_layout Description + +\family sans +Último\InsetSpace ~ +pie: L +\family default +a fila actual y siguientes, que no tienen ninguna opción especial definida, + se definen como filas de pie de la última página de la tabla. +\end_layout + +\begin_layout Standard +también se puede especificar una fila en la que se dividirá la tabla. + Si se establace más de una opción en la misma fila, habría que tener en + cuenta que sólo la primera de ellas se usa en la fila dada. + Las otras quedarán definidas como +\emph on +vacías +\emph default +. + En este contexto, primera significa primero en este orden: +\family sans +Pie, Último\InsetSpace ~ +pie, Encabezado, Primer\InsetSpace ~ +encabezado +\family default +. + La siguiente tabla muestra cómo funciona: +\end_layout + +\begin_layout Standard + +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Ejemplo de lista telefónica (ignore los nombres) +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +NOMBRE +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\series bold +TEL. +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Ejemplo de lista telefónica +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +NOMBRE +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\series bold +TEL. +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + continúa en la página siguiente +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Annovi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Silvia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bertoli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Stefano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bozzi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Walter +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maurizio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cinquemani +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giusi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Colin +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Bernard +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Concli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Gianfranco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dal Bosco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Carolina +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dalpiaz +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Annamaria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Feliciello +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Domenico +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Focarelli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paola +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Galletti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Oreste +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Gasparini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Franca +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Rizzardi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paola +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Lassini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giancarlo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Luciano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Valeriano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Meneguzzo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Mezzadra +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Pirpamer +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Erich +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Pochiesa +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paolo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111, 222 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Radina +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Claudio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Stuffer +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Oskar +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Tacchelli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Ugo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Tezzele +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Margit +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Unterkalmsteiner +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Frieda +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Vieider +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Hilde +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Vigna +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Jürgen +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Weber +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maurizio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Winkler +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Franz +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Annovi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Silvia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bertoli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Stefano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bozzi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Walter +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maurizio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cinquemani +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giusi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Colin +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Bernard +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Concli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Gianfranco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dal Bosco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Carolina +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dalpiaz +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Annamaria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Feliciello +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Domenico +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Focarelli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paola +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Galletti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Oreste +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Gasparini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Franca +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Rizzardi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paola +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Lassini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giancarlo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Luciano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Valeriano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Meneguzzo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Mezzadra +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Pirpamer +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Erich +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Pochiesa +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paolo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555, 222 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Radina +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Claudio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Stuffer +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Oskar +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Tacchelli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Ugo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Tezzele +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Margit +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Unterkalmsteiner +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Frieda +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Vieider +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Hilde +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Vigna +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Jürgen +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +999 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Weber +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maurizio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Winkler +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Franz +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +fin +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Subsection +Notas al pie en Tablas Largas +\begin_inset LatexCommand label +name "sub:Notas-al-pie-en-Tablas-Largas" + +\end_inset + + +\begin_inset LatexCommand index +name "Tablas Largas ! Notas al pie" + +\end_inset + + +\end_layout + +\begin_layout Standard +Se pueden insertar notas al pie en cada celda de tabla larga. + Aparecen abajo en la página donde esté la celda con la nota. + La tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:DifEncabezados" + +\end_inset + + tiene un ejemplo de nota al pie. +\end_layout + +\begin_layout Subsection +Encabezados en Tablas Largas +\begin_inset LatexCommand index +name "Tablas Largas ! Encabezados" + +\end_inset + + +\end_layout + +\begin_layout Standard +Una tabla larga no se puede poner flotante porque los flotantes solo pueden + estar en una página. + Por esto no se puede emplear el formato de encabezado en las tablas largas. +\end_layout + +\begin_layout Standard +Para añadir un encabezado se necesita un sucio truco: +\end_layout + +\begin_layout Enumerate +Crear una tabla larga +\end_layout + +\begin_layout Enumerate +Marcar la primera fila y deshabilitar su línea superior +\end_layout + +\begin_layout Enumerate +Insertar el siguiente comando como ERT en la primera celda: +\newline + +\series bold + +\backslash +caption[título corto]{título completo} +\backslash + +\backslash +% +\end_layout + +\begin_layout Enumerate +Insertar un "%" como ERT en cada celda de la primera fila +\end_layout + +\begin_layout Standard +El comando +\series bold + +\backslash +caption +\series default + se usa como para los encabezados normales, el título corto que aparecerá + en la Lista de Tablas en vez del título completo es opcional. + El +\series bold +% +\series default + en las celdas omite la línea vertical entre ellas. + Ahora, la primera fila de la tabla es sólo una fila postiza para el encabezado, + la tabla real comienza en la segunda fila. +\end_layout + +\begin_layout Standard +He aquí una pequeña tabla larga para mostrar cómo funciona: +\end_layout + +\begin_layout Standard +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +caption[Tabla larga]{Tabla larga con encabezado} +\backslash + +\backslash +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +4 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + + +\begin_inset Note Greyedout +status collapsed + +\begin_layout Standard + +\series bold +Nota: +\series default +Si utilizas el paquete de LaTeX +\series bold +hyperref +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! hyperref" + +\end_inset + + para enlazar referencias cruzadas, el enlace al encabezado de una tabla + larga apuntará siempre al comienzo. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsubsection +Referencias a Tablas Largas +\begin_inset LatexCommand index +name "Tablas Largas ! Referencias a" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +caption{Tabla larga referenciada +\end_layout + +\end_inset + + +\begin_inset LatexCommand label +name "tab:RefEjemplo" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\backslash + +\backslash +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +4 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sad +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Standard +Para hacer referencia a una tabla larga, inserta una etiqueta en el comando + +\series bold + +\backslash +caption +\series default +. + Esto se hace dividiendo el ERT del comando +\series bold + +\backslash +caption +\series default +. + La parte del comando antes de la última llave "}" +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +caption[título corto]{título completo +\end_layout + +\begin_layout Standard +está en el primer cuadro ERT, la etiqueta se inserta tras ella. + Observa que tienes que añadir el prefijo " +\emph on +tab +\emph default +:" manualmente en el campo de etiqueta. + El segundo cuadro ERT contiene el resto del comando +\end_layout + +\begin_layout Standard + +\series bold +} +\backslash + +\backslash +% +\end_layout + +\begin_layout Standard +y se inserta detrás del cuadro de etiqueta, véase Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:RefEjemplo" + +\end_inset + +. +\end_layout + +\begin_layout Standard +El formato del encabezado puede configurarse junto con todos los demás encabezad +os del documento mediante el paquete LaTeX +\series bold + caption +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! caption" + +\end_inset + +, ver sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Formato-de-Encabezados" + +\end_inset + +. +\end_layout + +\begin_layout Subsubsection +Anchura de Encabezado +\begin_inset LatexCommand index +name "Tablas Largas ! Anchura de Encabezados" + +\end_inset + + +\end_layout + +\begin_layout Standard +La anchura máxima se define por la longitud +\series bold + +\backslash +LTcapwidth +\series default +. + Por defecto es 4\InsetSpace \thinspace{} +in. + Para cambiarla añade el siguiente comando al preámbulo o como ERT en el + documento antes de la tabla larga a la que afecta +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +setlength{ +\backslash +LTcapwidth}{ancho} +\end_layout + +\begin_layout Standard +donde el ancho puede ser una de las unidades listadas en el apéndice\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "cha:Unidades-disponibles-en" + +\end_inset + +. +\end_layout + +\begin_layout Standard +Las tablas siguientes muestran la diferencia: +\end_layout + +\begin_layout Standard +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +caption[Encabezado con ancho predeterminado]{Encabezado completo con ancho + predeterminado +\end_layout + +\begin_layout Standard + +encabezado completo con ancho predeterminado encabezado completo con ancho + predeterminado} +\backslash + +\backslash +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +4 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sad +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +LTcapwidth}{5cm} +\end_layout + +\end_inset + + +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +caption[Encabezado con anchura +\backslash +,= +\backslash +,5 +\backslash +,cm]{Encabezado completo con ancho de 5 +\backslash +,cm +\end_layout + +\begin_layout Standard + +encabezado completo con ancho de 5 +\backslash +,cm encabezado completo con ancho de 5 +\backslash +,cm} +\backslash + +\backslash +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +4 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +5 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sad +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +asd +\end_layout + +\end_inset + + + + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +LTcapwidth}{4in} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsubsection +Encabezados Diferentes para cada Página de una Tabla Larga +\begin_inset LatexCommand index +name "Tablas Largas ! Encabezados Diferentes para cada Página" + +\end_inset + + +\end_layout + +\begin_layout Standard +Si los otros encabezados debieran ser diferentes del de la primera página, + inserta el comando +\series bold + +\backslash +caption +\series default +con un título corto no vacío en una fila postiza de encabezado marcado como + primer encabezado. + El encabezado para las restantes páginas se inserta con el comando +\series bold + +\backslash +caption +\series default + sin título corto en una fila postiza de encabezado marcado como primer + encabezado. + Si este encabezado no ha de incluir el número de tabla, usa el comando + +\series bold + +\backslash +caption* +\series default + en vez de +\series bold + +\backslash +caption +\series default +. + La etiqueta para referenciar la tabla se inserta en el primer encabezado. + La tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:DifEncabezados" + +\end_inset + + es un ejemplo de tabla larga con encabezados distintos donde el segundo + no incluye número de tabla. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +caption[Ejemplo de lista telefónica]{Ejemplo de lista telefónica +\end_layout + +\end_inset + + +\begin_inset LatexCommand label +name "tab:DifEncabezados" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\backslash + +\backslash +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Ejemplo de lista telefónica (ignore los nombres) +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +NOMBRE +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\series bold +TEL. +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +caption*{Continúa Ejemplo de lista telefónica} +\backslash + +\backslash +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Ejemplo de lista telefónica +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +NOMBRE +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\series bold +TEL. +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +continúa en página siguiente +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Annovi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Silvia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bertoli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Stefano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bozzi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Walter +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maurizio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cinquemani +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giusi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Colin +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Bernard +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Concli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Gianfranco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dal Bosco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Carolina +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dalpiaz +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Annamaria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Feliciello +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Domenico +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Focarelli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paola +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Galletti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Oreste +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Gasparini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Franca +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Rizzardi +\series default + +\begin_inset Foot +status open + +\begin_layout Standard +Ejemplo de nota al pie +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paola +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Lassini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giancarlo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Luciano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Valeriano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Meneguzzo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Mezzadra +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Pirpamer +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Erich +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Pochiesa +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paolo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111, 222 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Radina +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Claudio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Stuffer +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Oskar +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Tacchelli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Ugo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Tezzele +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Margit +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Unterkalmsteiner +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Frieda +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Vieider +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Hilde +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Vigna +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Jürgen +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Weber +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maurizio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Winkler +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Franz +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Annovi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Silvia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bertoli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Stefano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bozzi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Walter +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maurizio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cinquemani +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giusi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Colin +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Bernard +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Concli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Gianfranco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dal Bosco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Carolina +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dalpiaz +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Annamaria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Feliciello +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Domenico +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Focarelli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paola +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Galletti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Oreste +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Gasparini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Franca +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Rizzardi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paola +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Lassini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giancarlo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Luciano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Valeriano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Meneguzzo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Mezzadra +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +555 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Section +Particularidades de las Tablas Largas +\end_layout + +\begin_layout Subsection +Cálculo +\begin_inset LatexCommand index +name "Tablas Largas ! Cálculo" + +\end_inset + + +\end_layout + +\begin_layout Standard +LaTeX calcula la altura de las páginas con tabla y sus saltos de página + utilizando los denominados "trozos", que son partes de la tabla presentes + en la memoria de LaTeX. + El valor predeterminado está establacido a solo 20 filas. + Si estás usando tablas largas con muchas páginas, la generación del documento + puede hacerse muy lenta. + No hay problema en aumentar el tamaño de los trozos hasta 100-1000 añadiendo + el siguiente comando en el preámbulo del documento: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +setcounter{LTchunksize}{100} +\end_layout + +\begin_layout Subsection +Flotantes y Tablas Largas +\begin_inset LatexCommand index +name "Tablas Largas ! Flotantes" + +\end_inset + + +\end_layout + +\begin_layout Standard +Podría haber problemas si un flotante aparece en la misma página donde comienza + una tabla larga. + Para evitarlo, añade el comando +\series bold + +\backslash +clearpage +\series default + como ERT antes de la tabla. +\end_layout + +\begin_layout Subsection +Saltos de Página Forzados +\begin_inset LatexCommand index +name "Tablas Largas ! Saltos de Página Forzados" + +\end_inset + + +\end_layout + +\begin_layout Standard +Por defecto, las tablas sólo se cortan entre filas. + Si tienes una celda con líneas múltiples y necesitas un salto de página + dentro de la celda, inserta el comando de nueva línea " +\series bold + +\backslash + +\backslash + +\series default +" como ERT en el punto en que quieras cortar. + Antes del comando " +\series bold + +\backslash + +\backslash + +\series default +" debes insertar en ERT tantos caracteres " +\series bold +& +\series default +" como columnas siguientes de la tabla. + +\series bold +& +\series default + es el caracter para separar celdas. + Escribe en ERT después de cada +\series bold +& +\series default + el contenido de la celda siguiente correspondiente y borra el contenido + de esas celdas. +\newline +Detrás del comando +\series bold + +\backslash + +\backslash + +\series default +, inserta tantos +\series bold +& +\series default + como columnas haya delante de la actual. + En la tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Saltos de Página Forzados" + +\end_inset + + la celda que debería cortarse está en la segunda columna seguida de otra + columna. + Por eso el siguiente comando se inserta en la celda como ERT detrás de + " +\emph on +Castelchiodato, +\emph default +": +\end_layout + +\begin_layout Standard + +\series bold +& 111 +\backslash + +\backslash + +\newline +& +\end_layout + +\begin_layout Standard +El "111" en la tercera columna de la fila se ha borrado. + Si la fila más baja de la tabla larga no tiene, por alguna razón, línea + superior pero quisieras una línea horizontal donde se corta la celda, usa + este comando alternativo: +\end_layout + +\begin_layout Standard + +\series bold +& 111 +\backslash + +\backslash + +\newline + +\backslash +hline & +\end_layout + +\begin_layout Standard +Cuando la celda a cortar está en la última columna, el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +setlength{ +\backslash +parfillskip}{0pt} +\end_layout + +\begin_layout Standard +debe insertarse como ERT al principio de la celda. + Esto garantiza que la parte de la celda que será mostrada en la nueva página + aparecerá con toda su anchura. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +caption[Tabla con salto de página forzado en celda]{Tabla con salto de página + forzado en celda +\end_layout + +\end_inset + + +\begin_inset LatexCommand label +name "tab:Saltos de Página Forzados" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\backslash + +\backslash +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Ejemplo de lista telefónica (ignore los nombres) +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +NOMBRE +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\series bold +TEL. +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +caption{Continúa tabla con salto de página forzado en celda} +\backslash + +\backslash +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + +% +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold + Ejemplo de lista telefónica +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +NOMBRE +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\series bold +TEL. +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +continúa en página siguiente +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Annovi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Silvia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bertoli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Stefano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Bozzi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Walter +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cachia +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maurizio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Cinquemani +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giusi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Colin +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Bernard +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Concli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Gianfranco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dal Bosco +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Carolina +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Dalpiaz +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Annamaria +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Feliciello +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Domenico +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Focarelli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paola +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Galletti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Oreste +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Gasparini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Franca +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Lassini +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Giancarlo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Luciano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Malfatti +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Valeriano +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Meneguzzo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Mezzadra +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Roberto +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Pirpamer +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Erich +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Pochiesa +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paolo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111, 222 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Radina +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Claudio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Rizzardi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Paolo, 11. + Fürst von Montecompatri, 11. + Fürst von Sulmona und Vivaro, 10. + Fürst von Rossano, 5. + Herzog von Canemorte, 11. + Herzog von Palombara, 5. + Herzog von Castelchiodato, +\begin_inset ERT +status collapsed + +\begin_layout Standard + +& 111 +\backslash + +\backslash + +\end_layout + +\begin_layout Standard + +& +\end_layout + +\end_inset + + 11. + Herzog von Poggionativo, 11. + Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11. + Graf von Valinfreda, 11. + Baron von Cropalati, 11. + Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Stuffer +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Oskar +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Tacchelli +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Ugo +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Tezzele +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Margit +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Unterkalmsteiner +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Frieda +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Vieider +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Hilde +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Vigna +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Jürgen +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Weber +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Maurizio +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\series bold +Winkler +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Franz +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +111 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Section +Líneas Múltiples en Columnas y Filas +\end_layout + +\begin_layout Subsection +Líneas Múltiples en Celdas +\begin_inset LatexCommand label +name "sub:Líneas-Múltiples-en" + +\end_inset + + +\begin_inset LatexCommand index +name "Líneas Múltiples en Celdas" + +\end_inset + + +\begin_inset LatexCommand index +name "Tablas ! Saltos de Línea" + +\end_inset + + +\end_layout + +\begin_layout Standard +\align center +\begin_inset Float table +placement H +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Tabla-con-múltiples" + +\end_inset + +Tabla con líneas múltiples en celda +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +líneas +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +linebreak +\end_layout + +\end_inset + +múltiples +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Al ajustar anchura fija en una columna se habilita la entrada de texto como + párrafos con varias líneas y guionado. +\end_layout + +\begin_layout Standard +Para generar la tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Tabla-con-múltiples" + +\end_inset + +, crea una tabla 3×3, marca la primera celda y click-derecha sobre ella. + En el diálogo que surge establace una anchura de 2.5\InsetSpace \thinspace{} +cm y escoge centro en + alineación vertical y horizontal. + Como nuestro texto es menor de 2.5\InsetSpace \thinspace{} +cm, solo aparece una línea. + Para poner dos añadimos un salto de línea con el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +linebreak +\end_layout + +\begin_layout Standard +en ERT. + Si el texto es más ancho que la celda será automáticamente dividido en + líneas. +\end_layout + +\begin_layout Standard +Para centrar verticalmente el texto en las otras dos celdas de la primera + fila, haz click-derecha en la segunda celda, ajusta una anchura de 0.5\InsetSpace \thinspace{} +cm + y marca alineaciones centrales. + Haz lo mismo con la tercera celda de la fila. +\end_layout + +\begin_layout Standard +Si hay una palabra larga en una celda con anchura fija, LaTeX no puede cortarla + con guión si es la primera entrada. + Por eso hay que insertar algo para que dicha palabra no sea la primera + entrada: Añade el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +hspace{0pt} +\end_layout + +\begin_layout Standard +en ERT antes de la palabra. + Como el espacio es 0 la salida no cambia. + La tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Tabla-con-y" + +\end_inset + + muestra el efecto. +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Tabla-con-y" + +\end_inset + +Tablas con y sin guionado +\end_layout + +\begin_layout Standard + +\hfill + +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +celdaconpalabramuylarga +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + + + +\end_inset + + +\hfill + +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hspace{0pt} +\end_layout + +\end_inset + +celdaconpalabramuylarga +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + + + +\end_inset + + +\hfill + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\newpage + +\end_layout + +\begin_layout Subsection +Multicolumnas +\begin_inset LatexCommand label +name "sub:Multicolumnas" + +\end_inset + + +\begin_inset LatexCommand index +name "Multicolumnas" + +\end_inset + + +\begin_inset LatexCommand index +name "Tablas ! Multicolumnas" + +\end_inset + + +\end_layout + +\begin_layout Subsubsection +Fundamentos de Multicolumna +\end_layout + +\begin_layout Standard +Para extender una celda sobre varias columnas, se marcan las celdas que + se desee combinar y se usa el botón +\begin_inset Graphics + filename ../images/tabular-feature_multicolumn.xpm + scale 85 + +\end_inset + +, o el menú +\family sans +Editar\SpecialChar \menuseparator +Tabla\SpecialChar \menuseparator +Multicolumn +\family default +a, o click-derecha sobre las celdas marcadas y se selecciona en el diálogo, + bajo la pestaña +\family sans +Configuración +\family default +, la casilla Multicolumna. +\end_layout + +\begin_layout Standard +Las multicolumnas tienen su propia configuración de celdas. + Esto es, los cambios de bordes, alineación y anchura solo afectan a la + multicolumna. + Aquí hay un ejemplo de tabla con una multicolumna en la primera fila y + otra en la última fila sin borde superior: +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + +\begin_inset Text + +\begin_layout Standard +abc +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +def +\lang ngerman + +\lang spanish +ghi +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +jkl +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\family roman +\series medium +\shape up +\size normal +\emph off +\bar no +\noun off +\color none +A +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +B +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +C +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +D +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +4 +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Subsubsection +Cálculos en Multicolumnas +\begin_inset LatexCommand label +name "sub:Cálculos-en-Multicolumnas" + +\end_inset + + +\begin_inset LatexCommand index +name "Multicolumnas ! Cálculos" + +\end_inset + + +\end_layout + +\begin_layout Standard +LyX soporta multicolumnas directamente, pero hay que prestar atención a + la anchura de celda de las columnas combinadas en la celda multicolumna. +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Tabla-con-centrado" + +\end_inset + +Tabla con texto centrado en multicolumna sobre dos columnas que tienen exactamen +te la mitad de anchura que la celda multicolumna +\begin_inset OptArg +status collapsed + +\begin_layout Standard +Tabla multicolumna perfecta +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +multicolumna línea múltiple +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Por ejemplo, para crear la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Tabla-con-centrado" + +\end_inset + +, marca las dos primeras celdas en la primera fila de una tabla 3×3 y haz + click-derecha. + En el diálogo marca +\emph on +multicolumna +\emph default +, +\emph on +alineación centro +\emph default + y una anchura de 2.5\InsetSpace \thinspace{} +cm. + Las columnas combinadas deberían tener exactamente la mitad de la anchura + de la celda multicolumna, así que deberías ajustar 1.25\InsetSpace \thinspace{} +cm para la primera + columna. + La segunda columna tendrá entonces automáticamente 1.25\InsetSpace \thinspace{} +cm de anchura. + Para la Tabla +\begin_inset LatexCommand ref +reference "tab:Tabla-sin-mitad" + +\end_inset + + se ha procedido de la siguiente manera: +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Tabla-sin-mitad" + +\end_inset + +Tabla en la que las columnas combinadas no tienen exactamente la mitad de + anchura que la celda multicolumna +\begin_inset OptArg +status collapsed + +\begin_layout Standard +Tabla multicolumna imperfecta +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +multicolumna línea múltiple +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Se ve que la primera columna no tiene la mitad de ancho que la celda multicolumn +a, es un poco mayor. + La razón es que la anchura dada para una celda +\begin_inset Formula $W_{g}$ +\end_inset + + no es su anchura total +\begin_inset Formula $W_{\mathrm{tot}}$ +\end_inset + + porque una celda es siempre algo mayor que la anchura dada. + El Apéndice\InsetSpace ~ + +\begin_inset LatexCommand eqref +reference "cha:Explicación-de-la-Ecuación" + +\end_inset + + lo explica con detalle. +\end_layout + +\begin_layout Standard +La anchura dada necesaria, +\begin_inset Formula $W_{g\, n}$ +\end_inset + + para combinar +\emph on +n +\emph default + columnas puede calcularse de manera que cada columna tenga una anchura + total de +\begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$ +\end_inset + +: +\begin_inset Formula \begin{equation} +W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation} + +\end_inset + + +\end_layout + +\begin_layout Standard +En nuestro caso tenemos +\begin_inset Formula $n=2$ +\end_inset + +, +\begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$ +\end_inset + +\InsetSpace \thinspace{} +cm y los valores predeterminados para longitudes, así la ecuación\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "eq:Wgn" + +\end_inset + + queda +\begin_inset Formula \begin{equation} +W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation} + +\end_inset + + +\end_layout + +\begin_layout Standard +Para habilitar cálculos en LaTeX, debe cargarse en el preámbulo el paquete + +\series bold +calc +\series default + con la línea +\begin_inset LatexCommand index +name "LaTeX-paquetes ! calc" + +\end_inset + + +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage{calc} +\end_layout + +\begin_layout Standard +LyX no permite calcular longitudes en el campo Ancho del cuadro de diálogo. + Por tanto hay que insertar un argumento LaTeX en el diálogo. + He aquí un repaso de los argumentos: +\end_layout + +\begin_layout Itemize + +\series bold +p{ancho} +\series default + crea celdas con anchura fija, el texto alineado arriba +\end_layout + +\begin_layout Itemize + +\series bold +m{ancho} +\series default + crea celdas con anchura fija, el texto con alineación vertical centrada + +\end_layout + +\begin_layout Itemize + +\series bold +b{ancho} +\series default + crea celdas con anchura fija, el texto alineado abajo +\end_layout + +\begin_layout Standard +Al introducir un argumento LaTeX, todas las propiedades de celda puestas + en el diálogo se ignoran. + +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Nota: +\series default + Debido a un error, LyX muestra de todas formas estas propiedades. +\end_layout + +\end_inset + + El comando +\series bold + +\backslash +centering +\series default + se añade para centrar horizontalmente el texto. + Puedes entonces introducir el siguiente argumento de LaTeX para la primera + columna extendida: +\end_layout + +\begin_layout Standard + +\series bold +|>{ +\backslash +centering}m{1.25cm-6.2pt} +\end_layout + +\begin_layout Standard +La barra " +\series bold +| +\series default +" al principio dibuja el borde y el comando +\series bold + >{ } +\series default + significa que los comandos entre llaves se aplican antes de crear la celda. +\end_layout + +\begin_layout Standard +Aunque hemos escogido alineación centrada para el texto de la celda multicolumna +, aún está alineado a la izquierda. + Esto se debe a que LyX solo aplica alineado a columnas simples. + Así que para multicolumnas hemos de usar el argumento de LaTeX +\end_layout + +\begin_layout Standard + +\series bold +|>{ +\backslash +centering}m{2.5cm}| +\end_layout + +\begin_layout Subsection +Multifilas +\begin_inset LatexCommand index +name "Multifilas" + +\end_inset + + +\begin_inset LatexCommand index +name "Tablas ! Multifilas" + +\end_inset + + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! multirow" + +\end_inset + + +\end_layout + +\begin_layout Standard +A diferencia de multicolumnas, LyX aún no soporta multifilas por lo que + hace falta un poco de ERT. + Hay que cargar el paquete de LaTeX +\series bold +multirow +\series default + en el preámbulo del documento con el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage{multirow} +\end_layout + +\begin_layout Standard +Las multifilas se crean con el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +multirow{número de filas}{ancho de celda}{entrada de celda} +\end_layout + +\begin_layout Standard +Para crear la siguiente tabla: +\end_layout + +\begin_layout Standard +\align center +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +multirowsetup}{ +\backslash +centering} +\end_layout + +\end_inset + + +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +multirow{2}{2.5cm}{ +\end_layout + +\end_inset + +entrada multifila +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + + + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +multirowsetup}{ +\backslash +raggedright} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +crea una tabla 3×3. + Para quitar la línea sobre la última celda en la primera columna, se marca + la celda como multicolumna y se quita el borde superior. + Ahora se crea la multifila en la segunda fila de la primera columna insertando + ahí el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +multirow{2}{2.5cm}{ +\end_layout + +\begin_layout Standard +como ERT. + Según los parámetros del comando la multifila se expande a dos filas y + tiene de ancho 2.5\InsetSpace \thinspace{} +cm. + El contenido de la celda multifila sigue fuera del cuadro ERT y el comando + finaliza con llave derecha +\series bold +} +\series default + en otro cuadro ERT tras el texto. +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +multirow +\series default + alinea su contenido a la izquierda por defecto. + Para cambiarlo renombra el comando +\series bold + +\backslash +multirowsetup +\series default + con el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewcommand{ +\backslash +multirowsetup}{ +\backslash +centering} +\end_layout + +\begin_layout Standard +en ERT en el preámbulo del documento. + Entonces se centran todas las entradas de celdas multifila en el documento. + Si solo queremos centrar en algunas tablas, se puede renombrar el comando + en ERT justo antes de la tabla en lugar de en el preámbulo. + Si el texto debe estar alineado a la derecha, reemplaza +\series bold + +\backslash +centering +\series default + por +\series bold + +\backslash +raggedleft +\series default +. + Para volver a alineado a la izquierda usa +\series bold + +\backslash +raggedright +\series default +. +\end_layout + +\begin_layout Section +Booktabs +\begin_inset LatexCommand index +name "Booktabs" + +\end_inset + + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! booktabs" + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Standard + +\family roman +\series medium +\size footnotesize +N. + del t. + A la espera de la traducción que se le asigne en LyX 1.5, he dejado el original + en inglés +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +En los libros, las tablas se suelen presentar como en la Tabla \InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Ejemplo-tabla-booktabs" + +\end_inset + +. + En inglés se denominan " +\emph on +booktabs +\emph default +". + La próxima versión de LyX, LyX\InsetSpace ~ +1.5, tendrá soporte para "booktabs", véase + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{http://wiki.lyx.org/LyX/NewInLyX15}{ +\end_layout + +\end_inset + +What's new in LyX\InsetSpace ~ +1.5 +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement h +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Ejemplo-tabla-booktabs" + +\end_inset + +Ejemplo de tabla booktabs +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +toprule +\end_layout + +\end_inset + +System +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Medipix +\begin_inset Formula $\,$ +\end_inset + +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Medipix +\begin_inset Formula $\,$ +\end_inset + +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cmidrule(r){2-2} +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cmidrule(l){3-4} +\end_layout + +\end_inset + +Detector thickness [ +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +textmu m +\end_layout + +\end_inset + +] +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +300 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +300 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +700 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +midrule +\end_layout + +\end_inset + +Edge angle [°] +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3.55 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2.71 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +7.99 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +addlinespace +\end_layout + +\end_inset + +Spatial resolution [ +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +textmu m +\end_layout + +\end_inset + +] +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +4.26 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +10.17 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +10.56 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +addlinespace +\end_layout + +\end_inset + +MTF at +\begin_inset Formula $f_{\mathrm{max}}$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +0.53 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +0.37 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +0.39 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +addlinespace +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cmidrule(l{10pt}){1-1} +\end_layout + +\end_inset + +LSF-spatial resolution +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +in +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +textmu m +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +129.7 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +52.75 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +50.78 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +in % of pixel size +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +76.3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +95.9 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +92.3 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +bottomrule +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Este capítulo describe la creación de tablas "booktabs" en LyX\InsetSpace ~ +1.4. +\end_layout + +\begin_layout Subsection +Comandos Fundamentales +\begin_inset LatexCommand index +name "Booktabs ! Comandos Fundamentales" + +\end_inset + + +\end_layout + +\begin_layout Standard +Para poder usar "booktabs" hay que cargar el paquete de LaTeX +\series bold +booktabs +\series default + en el preámbulo del documento con la línea +\begin_inset LatexCommand index +name "LaTeX-paquetes ! booktabs" + +\end_inset + + +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage{booktabs} +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\begin_layout Standard +La primera línea de una tabla booktabs se crea con el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +toprule[ancho] +\end_layout + +\begin_layout Standard +que se inserta como ERT en la primera celda como primera entrada. + La anchura opcional especifica el grosor de línea; la predeterminada es + 0.08\InsetSpace \thinspace{} +em. + Puedes usar todas las unidades listadas en el apéndice \InsetSpace ~ + +\begin_inset LatexCommand ref +reference "cha:Unidades-disponibles-en" + +\end_inset + + para fijar el ancho. +\newline +¡Observa que todos los comandos ERT deben acabar con + un espacio si les sigue texto! +\end_layout + +\begin_layout Standard +La última línea de una tabla booktabs se crea con el comando ERT +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +bottomrule[ancho] +\end_layout + +\begin_layout Standard +en la primera celda de la última fila. + La última fila es solo para este comoando y no debería tener ningún otro + contenido. + La anchura predeterminada es la misma que para +\series bold + +\backslash +toprule +\series default +. +\end_layout + +\begin_layout Standard +Las líneas horizontales que se extienden sobre todas las columnas se crean + con el comando ERT +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +midrule[ancho] +\end_layout + +\begin_layout Standard +La anchura predeterminada es 0.05\InsetSpace \thinspace{} +em. +\end_layout + +\begin_layout Standard +Las líneas que no se extienden a todas las columnas se crean con el comando + ERT +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cmidrule[ancho](recorte){inicol-fincol} +\end_layout + +\begin_layout Standard +El grosor predeterminado es 0.03\InsetSpace \thinspace{} +em; inicol es el número de columna donde + empieza la línea y fincol el número de columna donde acaba; fincol debe + ser siempre especificado incluso cuando la línea se extiende solo una columna. + El parámetro opcional recorte debe ser +\emph on +l{recorte} +\emph default + o +\emph on +r{recorte} +\emph default +, donde recorte también es opcional. + Por ejemplo, el parámetro +\emph on +l{2pt} +\emph default + significa que la línea se recorta 2 pt por su izquierda. + Si no se especifica el tamaño del recorte, las líneas se recortan por defecto + en 0.5\InsetSpace \thinspace{} +em. +\end_layout + +\begin_layout Standard +Los comandos +\series bold + +\backslash +cmidrule +\series default + y +\series bold + +\backslash +midrule +\series default + deben insertarse como primera entrada de la primera celda de una fila . + Las líneas se crean sobre la fila. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +La Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Ejemplo-tabla-booktabs" + +\end_inset + + se ha creado con los comandos +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cmidrule(r){2-2} +\backslash +cmidrule(l){3-4} +\end_layout + +\begin_layout Standard +en la segunda fila, +\series bold + +\backslash +midrule +\series default + en la tercera, y +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cmidrule(l{10pt}){1-1} +\end_layout + +\begin_layout Standard +en la sexta fila. +\end_layout + +\begin_layout Subsection +Comandos Especiales +\begin_inset LatexCommand index +name "Booktabs ! Comandos Especiales" + +\end_inset + + +\end_layout + +\begin_layout Standard +Para separar filas verticalmente se puede emplear el siguiente comando ERT +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +addlinespace[ancho] +\end_layout + +\begin_layout Standard +El ancho predeterminado es 0.5\InsetSpace \thinspace{} +em. + En la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Ejemplo-tabla-booktabs" + +\end_inset + + se ha insertado +\series bold + +\backslash +addlinespace +\series default + en la primera celda de algunas filas. + El espacio se crea sobre las filas en las que se inserta el comando. +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\begin_layout Standard +Quizá quieras superponer líneas +\series bold + +\backslash +cmidrules +\series default + como en la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Tabla-booktabs-especial" + +\end_inset + +. + Esto se consigue con el comando ERT +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +moremidrule +\series default +s +\end_layout + +\begin_layout Standard +El comando que se ha utilizado para la segunda fila de la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Tabla-booktabs-especial" + +\end_inset + + es +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cmidrule(r){2-2} +\backslash +cmidrule(l){3-4} +\backslash +moremidrules +\backslash +cmidrule{2-4} +\end_layout + +\begin_layout Standard +El comando para la sexta fila es +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +midrule +\backslash +moremidrules +\backslash +cmidrule{3-4} +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +El espacio alrededor de cada línea en una tabla "booktabs" puede especificarse + en el preámbulo del documento. + Para más información al respecto, véase el manual del paquete +\begin_inset LatexCommand cite +key "booktabs" + +\end_inset + +. + Si de todas formas no te satisface el espaciado, puedes usar el siguiente + comando para dibujar líneas que se extienden sobre todas las columnas +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +specialrule{anchura}{espacio superior}{espacio inferior} +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement h +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Tabla-booktabs-especial" + +\end_inset + +Tabla booktabs especial +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +toprule +\end_layout + +\end_inset + +System +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Medipix +\begin_inset Formula $\,$ +\end_inset + +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Medipix +\begin_inset Formula $\,$ +\end_inset + +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cmidrule(r){2-2} +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cmidrule(l){3-4} +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +morecmidrules +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cmidrule{2-4} +\end_layout + +\end_inset + +Detector thickness [ +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +textmu m +\end_layout + +\end_inset + +] +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +300 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +300 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +700 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +midrule +\end_layout + +\end_inset + +Edge angle [°] +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3.55 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2.71 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +7.99 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +addlinespace +\end_layout + +\end_inset + +Spatial resolution [ +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +textmu m +\end_layout + +\end_inset + +] +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +4.26 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +10.17 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +10.56 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +addlinespace +\end_layout + +\end_inset + +MTF at +\begin_inset Formula $f_{\mathrm{max}}$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +0.53 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +0.37 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +0.39 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +midrule +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +morecmidrules +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cmidrule{3-4} +\end_layout + +\end_inset + +LSF-spatial resolution +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +in +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +textmu m +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +129.7 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +52.75 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +50.78 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +in % of pixel size +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +76.3 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +95.9 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +92.3 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +bottomrule +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Tablas Coloreadas +\begin_inset LatexCommand label +name "sec:Tablas-Coloreadas" + +\end_inset + + +\begin_inset LatexCommand index +name "Tablas ! Coloreadas" + +\end_inset + + +\end_layout + +\begin_layout Subsection +Celdas Coloreadas +\begin_inset LatexCommand index +name "Tablas Coloreadas ! Celdas" + +\end_inset + + +\begin_inset LatexCommand index +name "Color ! en Celdas de Tablas" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement h +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Tabla-coloreada-sin" + +\end_inset + +Tabla coloreada sin usar el paquete +\series bold +colortbl +\series default + +\begin_inset OptArg +status collapsed + +\begin_layout Standard +Tabla sin colortbl +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard + +\color green +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color red +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color red +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\color green +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color blue +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color blue +f +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\color green +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color blue +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color blue +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Si solo necesitas color en el texto, marca las celdas y elige un color en + el menú +\family sans +Editar\SpecialChar \menuseparator +Estilo\InsetSpace ~ +del\InsetSpace ~ +Texto +\family default +. + Esto se ha hecho en la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Tabla-coloreada-sin" + +\end_inset + +. + En cualquier otro caso hay que usar el paquete LaTeX +\series bold +colortbl +\series default +. +\begin_inset LatexCommand index +name "LaTeX-paquetes ! colortbl" + +\end_inset + + +\end_layout + +\begin_layout Standard +Para crear tablas coloreadas, +\series bold +colortbl +\series default + debe cargarse en el preámbulo con la línea +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage{colortbl} +\end_layout + +\begin_layout Standard +El color de una columna se define con el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +columncolor{nombre del color} +\end_layout + +\begin_layout Standard +dentro del comando +\series bold +>{ } +\series default +. + Más sobre el comando +\series bold +>{} +\series default + se explica en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Cálculos-en-Multicolumnas" + +\end_inset + +. +\end_layout + +\begin_layout Standard +Los siguientes nombres de color están predefinidos: +\end_layout + +\begin_layout Standard + +\family sans +red +\family default +, +\family sans +green +\family default +, +\family sans + yellow, blue +\family default +, +\family sans + cyan +\family default +\series bold +, +\family sans +\series default + magenta, black +\family default +, +\family sans + white +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\begin_layout Standard +Puedes definir tus propios colores con el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +definecolor{nombre del color}{modelo de color}{valores de color} +\end_layout + +\begin_layout Standard +El modelo de color puede ser +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +cmyk: cyan, magenta, yellow, black +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +rgb: red, green, blue +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 +gray gray +\end_layout + +\begin_layout Standard +y los valores de color son números separados por comas entre 0 y 1 que describen + el factor para el color correspondiente del modelo de color. +\end_layout + +\begin_layout Standard +Por ejemplo, puedes definir el color " +\emph on +verde oscuro +\emph default +" en el preámbulo con +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +definecolor{verdeoscuro}{cmyk}{0.5, 0, 1, 0.5} +\end_layout + +\begin_layout Standard +y el color " +\emph on +gris claro +\emph default +" con +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +definecolor{grisclaro}{gray}{0.8} +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\begin_layout Standard +Las líneas se colorean con el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +rowcolor{nombre del color} +\end_layout + +\begin_layout Standard +y las celdas se colorean con el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cellcolor{nombre del color} +\end_layout + +\begin_layout Standard +Ambos comandos se insertan al principio de una celda como ERT. +\end_layout + +\begin_layout Standard +Para colorear caracteres en la tabla marca las celdas y usa el menú +\family sans +Editar\SpecialChar \menuseparator +Estilo\InsetSpace ~ +del\InsetSpace ~ +Texto +\family default +. + Si una celda contiene ERT marca solo los caracteres, si no el ERT con color + puede ocasionar errores de LaTeX. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +Para crear la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Tabla-coloreada-con" + +\end_inset + + haz lo siguiente: El color de la primera columna debería ser +\emph on +verde oscuro +\emph default +. + Así pues +\end_layout + +\begin_layout Standard + +\series bold +>{ +\backslash +columncolor{verdeoscuro} +\backslash +centering}c +\end_layout + +\begin_layout Standard +como argumento LaTeX para esta columna. + La primera fila debería ser azul, por tanto el comando ERT +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +rowcolow{cyan} +\end_layout + +\begin_layout Standard +se inserta en la primera celda de esta fila. + Observa que esto sobreescribe el color de la columna para la primera celda. + La última celda de la última fila se colorea magenta insertando el comando + ERT +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cellcolor{magenta} +\end_layout + +\begin_layout Standard +Ahora podrían colorearse los caracteres usando el menú +\family sans +Editar\SpecialChar \menuseparator +Estilo\InsetSpace ~ +del\InsetSpace ~ +Texto +\family default +. +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement h +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Tabla-coloreada-con" + +\end_inset + +Tabla coloreada usando el paquete +\series bold +colortbl +\series default + +\begin_inset OptArg +status collapsed + +\begin_layout Standard +Tabla con colortbl +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +rowcolor{cyan} +\end_layout + +\end_inset + + +\color magenta +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color red +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color red +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\color yellow +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color blue +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color blue +f +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\color yellow +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\color blue +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cellcolor{magenta} +\end_layout + +\end_inset + + +\color green +i +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Líneas coloreadas +\begin_inset LatexCommand index +name "Tablas Coloreadas ! Líneas" + +\end_inset + + +\begin_inset LatexCommand index +name "Color ! en Líneas de Tabla" + +\end_inset + + +\end_layout + +\begin_layout Standard +Como se describe en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Grosor-de-Líneas" + +\end_inset + +, el grosor para todas las líneas en una tabla puede ajustarse con el comando + +\series bold + +\backslash +arrayrulewidth +\series default +. + Se ha puesto 1.5\InsetSpace \thinspace{} +pt para todas las tablas de esta sección. +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +arrayrulewidth}{1.5pt} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Por ejemplo, para colorear todas las líneas verticales en verde, crea en + el preámbulo del documento el siguiente formato de columna, de acuerdo + a lo descrito en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Formato-Personalizado" + +\end_inset + +: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcolumntype{W}{!{ +\backslash +color{green} +\backslash +vline}} +\end_layout + +\begin_layout Standard +Para la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Tabla-con-verticales-coloreadas" + +\end_inset + + se usó el argumento LaTeX +\end_layout + +\begin_layout Standard + +\series bold +WcW +\end_layout + +\begin_layout Standard +para la última columna y +\end_layout + +\begin_layout Standard + +\series bold +Wc +\end_layout + +\begin_layout Standard +para las demás. +\end_layout + +\begin_layout Standard +Si quieres tener varios colores, define más formatos de columna. +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status collapsed + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Tabla-con-verticales-coloreadas" + +\end_inset + +Tabla con líneas vertcales coloreadas +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Para colorear líneas horizontales, por ejemplo en rojo, como en la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Tabla-con-horizontales-coloreadas" + +\end_inset + +, inserta estos comandos en ERT antes de la tabla o del flotante: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +let +\backslash +myHlineC +\backslash +hline +\newline + +\backslash +renewcommand{ +\backslash +hline}{ +\backslash +arrayrulecolor{red} +\backslash +myHlineC +\backslash +arrayrulecolor{black}} +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +let +\backslash +myHlineC +\backslash +hline +\end_layout + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +hline}{ +\backslash +arrayrulecolor{red} +\backslash +myHlineC +\backslash +arrayrulecolor{black}} +\end_layout + +\end_inset + + +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Tabla-con-horizontales-coloreadas" + +\end_inset + +Tabla con líneas horizontales coloreadas +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +pagebreak +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Para volver al color de línea negro predeterminado inserta este comando + en ERT detrás de la tabla o el flotante: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewcommand{ +\backslash +hline}{ +\backslash +myHlineC} +\end_layout + +\begin_layout Standard +La Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Tabla-con-líneas-coloreadas" + +\end_inset + + es un ejemplo con líneas verticales y horizontales coloreadas. +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Tabla-con-líneas-coloreadas" + +\end_inset + +Tabla con líneas coloreadas +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +hline}{ +\backslash +myHlineC} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +arrayrulewidth}{0.4pt} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Personalización de Tablas +\begin_inset LatexCommand index +name "Personalización de Tablas" + +\end_inset + + +\begin_inset LatexCommand index +name "Tablas ! Personalización" + +\end_inset + + +\end_layout + +\begin_layout Subsection +Altura Extra de Fila +\begin_inset LatexCommand label +name "sub:Altura-Extra-de-Fila" + +\end_inset + + +\begin_inset LatexCommand index +name "Personalización de Tablas ! Altura Extra de Filas" + +\end_inset + + +\end_layout + +\begin_layout Standard +A veces las letras grandes o altas como +\emph on +b +\emph default + y +\emph on +d +\emph default + no tienen bastante espacio entre los bordes superior e inferior de una + celda. + Con la línea en el preámbulo +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +setlength{ +\backslash +extrarowheight}{2pt} +\end_layout + +\begin_layout Standard +se añaden 2\InsetSpace \thinspace{} +pt de altura extra a todas las celdas de todas las tablas. + Aunque esto suele mejorar la apariencia, tiene el inconveniente de que + el texto no sale exactamente centrado verticalmente. +\end_layout + +\begin_layout Standard +Un método alternativo para altura extra de fila se describe en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Alineación-Vertical" + +\end_inset + +. +\end_layout + +\begin_layout Subsection +Alineación Especial de Celdas +\begin_inset LatexCommand index +name "Personalización de Tablas ! Alineación Especial de Celdas" + +\end_inset + + +\end_layout + +\begin_layout Standard +A veces mejora la presentación las entradas en las celdas de una columna + se alinean con un caracter determinado, p.\InsetSpace \thinspace{} +e. + el separador decimal, como en la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Tabla-con-celdas-de" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Tabla-con-celdas-de" + +\end_inset + +Tabla con celdas alineadas con el separador decimal. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Standard +encabezado +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +12. +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +6 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +0. +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +68 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +-123. +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +0 +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Esta es una tabla 4×2. + El encabezado es una multicolumna centrada. + La primera columna está alineada a la derecha y contiene el punto decimal + y los dígitos anteriores. + La segunda columna está alineada a la izquierda y contiene los dígitos + posteriores al punto decimal. + Para omitir el espacio que hay normalmente entre dos columnas usa el siguiente + argumento LaTeX para la segunda columna: +\end_layout + +\begin_layout Standard + +\series bold +@{}l +\end_layout + +\begin_layout Standard +Si quieres una línea vertical a la derecha de la segunda columna, usa en + su lugar el argumento LaTeX: +\series bold +@{}l| +\end_layout + +\begin_layout Standard +La Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Varias-alineaciones" + +\end_inset + + muestra varios ejemplos de alineación. + Para alinear con el signo de relación debes añadir el segundo espacio matemátic +o más pequeño al comienzo de la última columna para conseguir el espacio + adecuado alrededor del signo. +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Varias-alineaciones" + +\end_inset + +Tabla con varias alineaciones. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + + + +\begin_inset Text + +\begin_layout Standard +unidades +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +exponentes +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +relaciones +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +12× +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +24\InsetSpace \thinspace{} +bottles +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $10\cdot$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $10^{\mbox{-}17}$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $\Gamma(t)\propto$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $\:\Upsilon(t)$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +1024× +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +768\InsetSpace \thinspace{} +Pixels +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $5.78\cdot$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $10^{7}$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $A\ne$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $\: B_{\mathrm{red}}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +32× +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +6\InsetSpace \thinspace{} +cm +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +- +\begin_inset Formula $33.5\cdot$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $10^{4}$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $\sin(\alpha)\ge$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $\:\sin(\beta)$ +\end_inset + + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +también hay un paquete LaTeX, +\series bold +dcolumn +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! dcolumn" + +\end_inset + +, que provee alineación de celdas. + Pero desgraciadamente trata las entradas de celda en modo matemático y + no permite fórmulas en celdas: La primera columna de la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Varias-alineaciones" + +\end_inset + + se verá con +\series bold +dcolumn +\series default + como la primera columna en la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Alineaciones-con-el" + +\end_inset + + y solo con algunos trucos se consigue lo que se espera. + La lineación de la segunda y tercera columnas de la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Varias-alineaciones" + +\end_inset + + no es posible con +\series bold +dcolumn +\series default +. +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement h +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Alineaciones-con-el" + +\end_inset + +Alineaciones con el paquete LaTeX dcolumn. + Para la segunda y tercera alineaciones se han hecho algunos trucos. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +units +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +units +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +units +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +12×24\InsetSpace \thinspace{} +bottles +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +12×24\InsetSpace \thinspace{} + +\begin_inset Formula $\mbox{bottles}$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +12×24~ +\begin_inset Formula $\mbox{bottles}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +1024×768\InsetSpace \thinspace{} +Pixels +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +1024×768\InsetSpace \thinspace{} + +\begin_inset Formula $\mbox{Pixels}$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +1024×768~ +\begin_inset Formula $\mbox{Pixels}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +32×6\InsetSpace \thinspace{} +cm +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +32×6\InsetSpace \thinspace{} + +\begin_inset Formula $\mbox{cm}$ +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +32×6~ +\begin_inset Formula $\mbox{cm}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Formato Personalizado de Celda/Columna +\begin_inset LatexCommand label +name "sub:Formato-Personalizado" + +\end_inset + + +\begin_inset LatexCommand index +name "Personalización de Tablas ! Formato de Celda/Columna" + +\end_inset + + +\end_layout + +\begin_layout Standard +El cálculo de la anchura nesesaria para columnas extendidas descrito en + la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Cálculos-en-Multicolumnas" + +\end_inset + + es muy pesado si tienes varias tablas con multicolumnas. + Para hacerlo más fácil, puedes definir en el preámbulo un formato de celda/colu +mna aplicable a todas las tablas del documento. + El formato se define con el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcolumntype{nombre del formato}[número de argumentos]{comandos} +\end_layout + +\begin_layout Standard +El nombre de formato puede ser una sola letra. + Las letras +\emph on +b, c, l, m, p +\emph default +y +\emph on + r +\emph default + están predefinidas y no pueden usarse. + Pero se permiten todas las mayúsculas. +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\begin_layout Standard +Para celdas multicolumna vertical y horizontalmente centradas con una anchura + fija puedes definir el formato de celda +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcolumntype{M}[1]{>{ +\backslash +centering +\backslash +hspace{0pt}}m{#1}} +\end_layout + +\begin_layout Standard +donde +\series bold + +\backslash +hspace{0pt} +\series default + evita el problema de partir con guión la primera palabra, como se describe + en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Líneas-Múltiples-en" + +\end_inset + +. + Ahora puedes introducir simplemente +\end_layout + +\begin_layout Standard + +\series bold +|M{ancho} +\end_layout + +\begin_layout Standard +como argumento LaTeX en el diálogo de tabla para crear una multicolumna. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +Para celdas extendidas en una celda multicolumna, puedes definir el formato +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcolumntype{S}[2]{>{ +\backslash +centering +\backslash +hspace{0pt}} +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +phantom{ +\end_layout + +\end_inset + + +\backslash +newcolumntype{S}[2] +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + +m{(#1+(2 +\backslash +tabcolsep+ +\backslash +arrayrulewidth)*(1-#2))/#2}} +\end_layout + +\begin_layout Standard +Este formato usa la ecuación +\begin_inset LatexCommand eqref +reference "eq:Wgn" + +\end_inset + + para calcular la anchura necesaria para que cada celda extendida tenga + la misma anchura. +\end_layout + +\begin_layout Standard +Ahora puedes introducir +\end_layout + +\begin_layout Standard + +\series bold +|S{ancho de la celda multicolumna}{número de columnas extendidas} +\end_layout + +\begin_layout Standard +como argumento LaTeX de la columna. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +Para columnas coloreadas puedes definir +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcolumntype{K}[1]{>{ +\backslash +columncolor{#1} +\backslash +hspace{0pt}}c} +\end_layout + +\begin_layout Standard +La "c" al final crea una columna con anchura flexible cuyo texto está centrado + horizontalmente. + Ahora puedes introducir +\end_layout + +\begin_layout Standard + +\series bold +K{nombre del color} +\end_layout + +\begin_layout Standard +como argumento LaTeX. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +Para crear la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Tabla-con-formatos-definidos-por" + +\end_inset + + usa los argumentos LaTeX +\end_layout + +\begin_layout Standard + +\series bold +|M{2.5cm} +\end_layout + +\begin_layout Standard +para la primera columna y la multicolumna, +\end_layout + +\begin_layout Standard + +\series bold +|K{red}| +\end_layout + +\begin_layout Standard +para la última columna y +\end_layout + +\begin_layout Standard + +\series bold +|S{2.5cm}{2} +\end_layout + +\begin_layout Standard +para las celdas en la segunda columna. +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement h +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Tabla-con-formatos-definidos-por" + +\end_inset + +Tabla con formatos definidos por el usuario +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + +\begin_inset Text + +\begin_layout Standard +palabramuylargaenceldadetabla +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +multicolumna línea múltiple +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +j +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +k +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Grosor de Líneas +\begin_inset LatexCommand label +name "sub:Grosor-de-Líneas" + +\end_inset + + +\begin_inset LatexCommand index +name "Personalización de Tablas ! Grosor de Línea" + +\end_inset + + +\end_layout + +\begin_layout Standard +El grosor para todas las líneas de una tabla puede ajustarse con la longitud + +\series bold + +\backslash +arrayrulewidth +\series default +. + Por ejemplo, para poner un grosor de línea de 1.5\InsetSpace \thinspace{} +pt, como en la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Tabla-con-líneas" + +\end_inset + +, inserta el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +setlength{ +\backslash +arrayrulewidth}{1.5pt} +\end_layout + +\begin_layout Standard +en ERT antes de la tabla o flotante. + Este cambio es válido para todas las siguientes tablas. + Para volver al valor predeterminado, define +\series bold + +\backslash +arrayrulewidth +\series default + a 0.4\InsetSpace \thinspace{} +pt en ERT detrás de la tabla o flotante. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +arrayrulewidth}{1.5pt} +\end_layout + +\end_inset + + +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Tabla-con-líneas" + +\end_inset + +Tabla con líneas de grosor 1.5\InsetSpace \thinspace{} +pt +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +arrayrulewidth}{0.4pt} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Para definir un grosor de 1.5\InsetSpace \thinspace{} +pt sólo para líneas horizontales, como en la + Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Tabla-con-horizontales" + +\end_inset + +, inserta estos comandos en ERT antes de la tabla o flotante: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +let +\backslash +myHline +\backslash +hline +\newline + +\backslash +renewcommand{ +\backslash +hline} +\newline + { +\backslash +noalign{ +\backslash +global +\backslash +arrayrulewidth 1.5pt} +\newline + +\backslash +myHline +\backslash +noalign{ +\backslash +global +\backslash +arrayrulewidth 0.4pt}} +\end_layout + +\begin_layout Standard +Para volver al grosor predeterminado, inserta este comando en ERT detrás + de la tabla o flotante: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewcommand{ +\backslash +hline}{ +\backslash +myHline} +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +let +\backslash +myHline +\backslash +hline +\end_layout + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +hline} +\end_layout + +\begin_layout Standard + + { +\backslash +noalign{ +\backslash +global +\backslash +arrayrulewidth 1.5pt} +\end_layout + +\begin_layout Standard + + +\backslash +myHline +\backslash +noalign{ +\backslash +global +\backslash +arrayrulewidth 0.4pt}} +\end_layout + +\end_inset + + +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Tabla-con-horizontales" + +\end_inset + +Tabla con líneas horizontales de 1.5\InsetSpace \thinspace{} +pt +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +hline}{ +\backslash +myHline} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Para establacer grosor de 1.5 pt sólo para líneas verticales, crea el siguiente + formato de columna en el preámbulo del documento, de acuerdo con lo descrito + en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Formato-Personalizado" + +\end_inset + +: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcolumntype{V}{!{ +\backslash +vrule width 1.5pt}} +\end_layout + +\begin_layout Standard +Para la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Tabla-con-verticales" + +\end_inset + + se usó el argumento LaTeX +\end_layout + +\begin_layout Standard + +\series bold +VcV +\end_layout + +\begin_layout Standard +para la última columna y +\end_layout + +\begin_layout Standard + +\series bold +Vc +\end_layout + +\begin_layout Standard +para las otras. +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Tabla-con-verticales" + +\end_inset + +Tabla con líneas verticales de 1.5\InsetSpace \thinspace{} +pt de grosor +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +sd +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Líneas de Trazos +\begin_inset LatexCommand index +name "Personalización de Tablas ! Líneas de Trazos" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement H +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Tabla-con-trazos" + +\end_inset + +Tabla con líneas de trazos +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Standard +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +j +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hdashline +\end_layout + +\end_inset + +k +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +l +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +m +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +n +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +o +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cdashline{4-5} +\end_layout + +\end_inset + +p +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +q +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +r +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +s +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +t +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +u +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +v +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +w +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +x +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +En principio LyX no soporta líneas de trazos, hay que usar ERT. + Hay que cargar antes en el preámbulo del documento el paquete LaTeX +\series bold +arydshln +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! arydshln" + +\end_inset + + +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage{arydshln} +\end_layout + +\begin_layout Standard +Para hacer una línea vertical a trazos, introduce dos puntos ":" junto con + el caracter para alineación horizontal como argumento LaTeX en el diálogo + de celda de tabla. +\end_layout + +\begin_layout Standard +Para una línea de trazos horizontal añade el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +hdashline +\end_layout + +\begin_layout Standard +en ERT como primer elemento de la primera celda en la fila. +\end_layout + +\begin_layout Standard +Para líneas de trazos en multicolumna usa el comandoi +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cdashline{line number +\series default +} +\end_layout + +\begin_layout Standard +en ERT como primer elemento de la primera celda en la fila. + Si por ejemplo tienes una multicolumna extendida sobre las columnas 2 a + 4 y quieres una línea de trazos por encima, añade el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cdashline{2-4} +\end_layout + +\begin_layout Standard +como primer elemento de la primera celda en la fila de la multicolumna. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +La Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Tabla-con-trazos" + +\end_inset + + se ha hecho usando " +\series bold +:c +\series default +" como argumento LaTeX de la tercera columna. + El comando ERT +\series bold + +\backslash +hdashline +\series default + se ha insertado en la primera celda de la tercera fila y el comando ERT +\newline + +\series bold + +\backslash +cdashline{4-5} +\series default + en la primera celda de la cuarta fila. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Nota: +\series default +Aparentemente el paquete LaTeX +\series bold +arydshln +\series default + no es compatible con el paquete LaTeX +\series bold +colortbl +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! colortbl" + +\end_inset + + que se usa para tablas coloreadas en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Tablas-Coloreadas" + +\end_inset + +. + Esto implica que las tablas coloreadas no pueden tener líneas de trazos. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Chapter +Flotantes +\begin_inset LatexCommand label +name "cha:Floats" + +\end_inset + + +\begin_inset LatexCommand index +name "Flotantes" + +\end_inset + + +\end_layout + +\begin_layout Section +Introducción +\begin_inset LatexCommand label +name "sec:IntroducciónFlotantes" + +\end_inset + + +\begin_inset LatexCommand index +name "Flotantes ! Introducción" + +\end_inset + + +\end_layout + +\begin_layout Standard +Un flotante es un bloque de texto asociado con alguna especie de etiqueta + que no tiene posición fija. + Puede "flotar" adelante o atrás una o dos páginas, donde encaje mejor. + Las +\family sans +Notas\InsetSpace ~ +al\InsetSpace ~ +pie +\family default + y +\family sans +Notas\InsetSpace ~ +al\InsetSpace ~ +margen +\family default + también son flotantes, porque pueden flotar a la página siguiente cuando + hay demasiadas notas en la página. +\end_layout + +\begin_layout Standard +Los flotantes hacen posible composiciones de alta calidad. + Imágenes y tablas se pueden distribuir equitativamente en las páginas para + impedir espacios en blanco y páginas sin texto. + Como el flotante destruye a menudo el contexto entre texto e imagen/tabla, + cada flotante puede estar referido en el texto. + Por lo tanto los flotantes están numerados. + Las referencias se describen en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Referencias-a-Flotantes" + +\end_inset + + . +\end_layout + +\begin_layout Standard +Para insertar un flotante, usa el menú +\family sans +Insertar\SpecialChar \menuseparator +Flotante +\family default +. + En el documento se inserta un cuadro con etiqueta en el entorno +\family sans +Encabezado +\begin_inset Foot +status collapsed + +\begin_layout Standard +El entorno +\family sans +Encabezado +\family default + se describe en +\emph on +Guía\InsetSpace ~ +del\InsetSpace ~ +Usuario +\emph default +de LyX. +\end_layout + +\end_inset + +. + +\family default + Cada etiqueta acaba con el caracter "#" como receptáculo para el número + de flotante en la salida. + La etiqueta será traducida automáticamente al lenguaje del documento. + Tras la etiqueta se puede insertar el texto de encabezado. + La imagen o tabla se inserta encima o debajo del encabezado en un párrafo + separado dentro del flotante. + Más sobre colocación de encabezados se describe en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Colocación-de-Encabezados" + +\end_inset + +. + Para mantener legible el documento LyX, puedes abrir y cerrar el cuadro + del flotante haciendo click-izquierda sobre ella. + Un cuadro cerrado se muestra así: +\begin_inset Graphics + filename ../clipart/flotante.png + scale 70 + +\end_inset + + -- un cuadro gris con etiqueta en rojo. +\end_layout + +\begin_layout Standard +Se recomienda insertar flotantes como párrafos separados para evitar posibles + errores de LaTeX si el texto circundante se formatea de modo especial. +\end_layout + +\begin_layout Standard +Figuras o tablas ya existentes pueden ponerse en un flotante marcándolas + y pinchando el botón correspondiente de la barra de herramientas para un + flotante nuevo. +\end_layout + +\begin_layout Section +Tipos de Flotantes +\end_layout + +\begin_layout Standard +Además de los flotantes de imagen y de tabla que se describen en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Figuras-Flotantes" + +\end_inset + + y +\begin_inset LatexCommand ref +reference "sec:Tablas-Flotantes" + +\end_inset + +, respectivamente, LyX ofrece los tipos +\series bold +Algoritmo +\series default + y +\series bold +Ajustado\InsetSpace ~ +al\InsetSpace ~ +Texto +\series default +. +\end_layout + +\begin_layout Subsection +Algoritmos Flotantes +\begin_inset LatexCommand index +name "Flotantes ! Algoritmos Flotantes" + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float algorithm +placement h +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "alg:Ejemplo-de-Algoritmo-flotante" + +\end_inset + +Ejemplo de Algoritmo flotante +\end_layout + +\begin_layout LyX-Code +for I in 1..N loop +\newline + Sum:= Sum + A(I); /*senseless comment*/ +\newline +end loop +\begin_inset VSpace -4mm +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Este tipo de flotante se inserta con el menú +\family sans +Insertar\SpecialChar \menuseparator +Flotante\SpecialChar \menuseparator +Algoritmo +\family default +. + Se usa para códigos y descripciones de algoritmos. + Un posible entorno para algoritmos es +\family sans +Código-LyX +\family default +, descrito en +\emph on +Guía del Usuario +\emph default + de LyX. + El algoritmo\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "alg:Ejemplo-de-Algoritmo-flotante" + +\end_inset + + es un ejemplo de algoritmo flotante en el que se ha añadido un espacio + vertical de -4\InsetSpace \thinspace{} +mm al final para tener la línea inferior exactamente bajo + la última línea de texto. +\end_layout + +\begin_layout Standard +La etiqueta de flotante no se traduce automáticamente al lenguaje del documento. + Si tu documento no es en Inglés, tienes que hacerlo manualmente añadiendo + la siguiente línea al preámbulo del documento +\series bold +: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +floatname{algorithm}{nombre} +\end_layout + +\begin_layout Standard + +\family sans +nombre +\family default + es la palabra +\begin_inset Quotes eld +\end_inset + + +\emph on +algorithm +\emph default + +\begin_inset Quotes erd +\end_inset + + en el lenguaje deseado. +\end_layout + +\begin_layout Description + +\series bold +Nota: +\series default +Si se emplea el paquete LaTeX +\series bold +hyperref +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! hyperref" + +\end_inset + + para enlazar referencias cruzadas a flotantes en la salida PDF, debe cargarse + en el preámbulo LaTeX antes de la definición de flotantes para poder referirse + a ellos. + LyX establace la definición de algoritmos flotantes automáticamente antes + que la parte del preámbulo editabla por el usuario, así que hay que insertar + las siguientes líneas +\emph on +después +\emph default + de cargar el comando +\series bold + hyperref: +\begin_inset VSpace defskip +\end_inset + + +\newline + +\backslash +newfloat{Xalgorithm}{tbp}{loa} +\newline + +\backslash +floatname{Xalgorithm}{nombre} +\newline + +\backslash +newcommand{ +\backslash +theHalgorithm}{ +\backslash +theHXalgorithm} +\newline + +\backslash +renewenvironment{algorithm}[1][tbp] +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + +{ +\backslash +begin{Xalgorithm}[#1]}{ +\backslash +end{Xalgorithm}} +\begin_inset VSpace defskip +\end_inset + + +\series default + +\newline +Donde +\family sans +nombre +\family default + es la palabra " +\emph on +algorithm +\emph default +" en el lenguaje deseado. +\end_layout + +\begin_layout Standard +Los algoritmos flotantes no se numeran por defecto en el esquema "capítulo.algori +tmo" como es el caso para tablas e imágenes flotantes en muchas clases de + documento. + Para numerar algoritmos flotantes en el mismo esquema, añade este comando + en el preámbulo del documento: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +numberwithin{algorithm}{chapter} +\end_layout + +\begin_layout Standard +Si usas el paquete LaTeX +\series bold +hyperref +\series default +, añade en su lugar esta línea +\emph on +después +\emph default + de la definición de +\family sans +Xalgorithm +\family default + (los comandos de arriba) en el preámbulo: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +numberwithin{Xalgorithm}{chapter} +\end_layout + +\begin_layout Standard +Para poder usar el comando +\series bold + +\backslash +numberwithin +\series default +, marca en el menú +\newline + +\family sans +Documento\SpecialChar \menuseparator +Configuración\SpecialChar \menuseparator +Ecuaciones +\family default + la opción +\family sans +Usar\InsetSpace ~ +el\InsetSpace ~ +paquete\InsetSpace ~ +AMS +\family default +. +\end_layout + +\begin_layout Subsection +Flotantes Ajustados a Texto +\begin_inset LatexCommand index +name "Flotantes ! Ajustados a Texto" + +\end_inset + + +\begin_inset LatexCommand label +name "sub:floatflt-flotante-ajustado" + +\end_inset + + +\end_layout + +\begin_layout Standard +Este tipo de flotante se usa cuando quieres envolver una figura en el texto, + de manera que ocupe solo una parte del ancho de columna. + Puede insertarse usando el menú +\begin_inset Wrap figure +placement l +width "40col%" +status open + +\begin_layout Standard +\begin_inset Graphics + filename ../clipart/mobius.pdf + display color + width 40col% + rotateOrigin center + +\end_inset + + +\end_layout + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:Esto-es-una" + +\end_inset + +Esto es una figura envuelta, y esto la genial cabecera que la describe. +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\end_inset + + +\family sans +Insertar\SpecialChar \menuseparator +Flotante\SpecialChar \menuseparator +Flotante\InsetSpace ~ +de\InsetSpace ~ +ajuste\InsetSpace ~ +de\InsetSpace ~ +texto +\family default + si está instalado el paquete LaTeX +\series bold +floatflt +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! floatflt" + +\end_inset + +. +\begin_inset Foot +status collapsed + +\begin_layout Standard +La instalación de paquetes LaTeX se explica en el manual +\emph on +Configuration de LaTeX +\emph default +. +\end_layout + +\end_inset + + La anchura y posición del flotante se ajusta con click-derecha sobre el + cuadro del flotante. + La Figura \InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:Esto-es-una" + +\end_inset + + es un ejemplo de flotante ajustado a texto con una anchura del 40\InsetSpace \thinspace{} +col%. +\begin_inset Foot +status collapsed + +\begin_layout Standard +Ver unidades disponibles en\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "cha:Unidades-disponibles-en" + +\end_inset + +. +\end_layout + +\end_inset + + Se ha añadido algún espacio bajo el encabezado para separarlo mejor del + texto envolvente. +\end_layout + +\begin_layout Standard +El paquete LaTeX +\series bold +floatflt +\series default + también soporta tablas ajustadas a texto pero aún no es soportado por LyX. + Si lo necesitas, consulta la documentoación de +\series bold +floatflt +\series default + +\begin_inset LatexCommand cite +key "floatflt" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Nota: +\series default + ¡Los flotantes ajustados a texto son frágiles! P. + e. + si una figura está demasiado cerca de la parte inferior de la página se + pueden perder cosas en el camino de salida, el flotante puede no aparecer + o situarse junto a otro texto. +\begin_inset Foot +status collapsed + +\begin_layout Standard +La mejor solución es usar el paquete LaTeX +\series bold +wrapfig +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! wrapfig\\vspace{4mm}" + +\end_inset + + en vez de +\series bold +floatflt +\series default + pero actualmente no es soportado por LyX. +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +En general: +\end_layout + +\begin_layout Itemize +Los flotantes ajustados no deberían situarse en párrafos que van sobre un + salto de página. + Esto implica que lo mejor es insertarlos en el sitio exacto cuando el documento + esté casi listo y puedas prever los saltos de página. +\end_layout + +\begin_layout Itemize +Los flotantes ajustados deberían situarse, bien en un párrafo propio antes + del párrafo donde deben ajustarse, o bien dentro de un párrafo. +\end_layout + +\begin_layout Itemize +Los flotantes ajustados en párrafos consecutivos pueden dar problemas, así + que asegura que hay un párrafo de texto entre ellos. +\end_layout + +\begin_layout Itemize +Los flotantes ajustados no están permitidos en cabeceras de sección o tablas. +\end_layout + +\begin_layout Section +Referencias a Flotantes +\begin_inset LatexCommand label +name "sec:Referencias-a-Flotantes" + +\end_inset + + +\begin_inset LatexCommand index +name "Flotantes ! Referencias" + +\end_inset + + +\begin_inset LatexCommand index +name "Referencias" + +\end_inset + + +\end_layout + +\begin_layout Standard +Para referirse a un flotante, inserta una etiqueta en su encabezado con + el menú +\family sans +Insertar\SpecialChar \menuseparator +Etiqueta +\family default + o el botón +\begin_inset Graphics + filename ../images/label-insert.xpm + scale 85 + +\end_inset + +. + Aparece una ventana esperando la introducción del texto de la etiqueta + y se inserta un cuadro gris como este: +\begin_inset Graphics + filename ../clipart/etiqueta.png + scale 85 + +\end_inset + +. + LyX ofrece como texto las primeras palabras del encabezado con un prefijo. + El prefijo depende del tipo de flotante, p.\InsetSpace \thinspace{} +e. + para figuras el prefijo será " +\family sans +fig: +\family default +". +\end_layout + +\begin_layout Standard +La etiqueta se usa como ancla y el nombre para la referencia. + Puedes referir a la etiqueta usando el menú +\family sans +Insertar\SpecialChar \menuseparator +Referencia +\family default +\InsetSpace ~ + +\family sans +cruzada +\family default + o el botón +\begin_inset Graphics + filename ../images/dialog-show-new-inset_ref.xpm + scale 85 + +\end_inset + +. + Aparece una ventana de referencia cruzada con todas las etiquetas del documento. + Si tienes abiertos varios documentos LyX, escoge el que estás trabajando + de la lista desplegable de la parte superior del diálogo. + Puedes ordenar las etiquetas alfabéticamente y elegir una. + Se inserta un cuadro gris como este: +\begin_inset Graphics + filename ../clipart/referencia2.png + scale 85 + +\end_inset + +. + En la salida, en lugar de este cuadro aparecerá el número de la referencia. +\end_layout + +\begin_layout Standard +Se recomienda poner un espacio protegido entre el nombre de la referencia + cruzada y su número para evitar saltos de línea entre ellos. + Si una referencia cruzada corresponde a una etiqueta inexistente verás + dos interrogaciones en la salida. +\end_layout + +\begin_layout Standard +En cualquier momento puedes cambiar etiquetas haciendo click sobre el cuadro. + Las referencias a las etiquetas cambiadas cambian automáticamente su enlace + al texto de la etiqueta nueva, no te ocupes por eso. +\end_layout + +\begin_layout Standard +El botón +\family sans +Ir\InsetSpace ~ +a\InsetSpace ~ +la\InsetSpace ~ +etiqueta +\family default + en la ventana de referencia cruzada lleva el cursor hasta dicha etiqueta, + y el texto del botón cambia a +\family sans +Volver +\family default + con el que se puede retornar a la referencia. + Click-derecha sobre el cuadro de la referencia también lleva el cursor + hasta la etiqueta pero sin opción de volver. +\end_layout + +\begin_layout Subsection +Formatos de Referencia Cruzada +\begin_inset LatexCommand label +name "sub:Formatos-referencia-cruzada" + +\end_inset + + +\begin_inset LatexCommand index +name "Referencias ! Formatos" + +\end_inset + + +\end_layout + +\begin_layout Standard +Hay seis variedades de referencias cruzadas: +\end_layout + +\begin_layout Description +: imprime el número flotante, esta es la opción predeterminada: + +\begin_inset LatexCommand ref +reference "fig:Dos-imágenes-distorsionadas" + +\end_inset + + +\end_layout + +\begin_layout Description +(): imprime el número flotante entre paréntesis, es el estilo + habitual para referirse a fórmulas, especialmente si se omite el nombre + "Ecuación": +\begin_inset LatexCommand eqref +reference "eq:Wgn" + +\end_inset + + +\end_layout + +\begin_layout Description +: imprime el número de página: Página\InsetSpace ~ + +\begin_inset LatexCommand pageref +reference "fig:Dos-imágenes-distorsionadas" + +\end_inset + + +\end_layout + +\begin_layout Description +en\InsetSpace ~ +página\InsetSpace ~ +: imprime el texto "en la página" y el número de página: + +\begin_inset LatexCommand vpageref +reference "fig:Dos-imágenes-distorsionadas" + +\end_inset + + +\end_layout + +\begin_layout Description +\InsetSpace ~ +en\InsetSpace ~ +página\InsetSpace ~ +: imprime el número flotante, el texto "en la + página" y el número de página: +\begin_inset LatexCommand vref +reference "fig:Dos-imágenes-distorsionadas" + +\end_inset + + +\end_layout + +\begin_layout Description +Referencia\InsetSpace ~ +con\InsetSpace ~ +formato: imprime un formato autodefinido: +\newline + +\begin_inset LatexCommand prettyref +reference "fig:Dos-imágenes-distorsionadas" + +\end_inset + + +\end_layout + +\begin_layout Standard +Ten en cuenta que el estilo no imprime el número si la etiqueta + está en la misma página, en la anterior o en la siguiente. + En su lugar verás p.\InsetSpace \thinspace{} +e. + el texto " +\family sans +en esta página +\family default +". +\end_layout + +\begin_layout Standard +El número y página actual de la parte del documento referida es automáticamente + calculado por LaTeX en la salida. + Las variedades se ajustan en el campo +\family sans +Formato +\family default + de la ventana de referencia cruzada, que aparece al pinchar sobre el cuadro. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +Para definir un formato en el estilo +\family sans +Referencia\InsetSpace ~ +con\InsetSpace ~ +formato +\family default +, puedes usar el siguiente comando en el preámbulo del documento: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newrefformat{prefijo}{texto} +\end_layout + +\begin_layout Standard +Este comando afecta a todas las referencias a etiquetas con el mismo prefijo. + Para dar el formato de la +\family sans +Referencia\InsetSpace ~ +con\InsetSpace ~ +formato +\family default + del ejemplo anterior se usó el comando: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newrefformat{fig} +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + +{Figura~flotante~ +\backslash +ref{#1} impresa en página~ +\backslash +pageref{#1}} +\end_layout + +\begin_layout Standard +La tilde "~" es el equivalente en LaTeX al espacio protegido. + El comando +\series bold + +\backslash +ref{#1} +\series default + se refiere al número flotante, el comando +\series bold + +\backslash +pageref{#1} +\series default + al número de página. +\end_layout + +\begin_layout Subsection +Designación Automática de Referencias +\begin_inset LatexCommand index +name "Referencias ! Designación Automática" + +\end_inset + + +\end_layout + +\begin_layout Standard +El paquete LaTeX +\series bold +hyperref +\series default + dispone de una característica muy útil que permite incluir automáticamente + en las referencias cruzadas el nombre de los flotantes referidos (o partes + de texto como secciones). + Quieres p.\InsetSpace \thinspace{} +e. + escribir la palabra "Figura" antes de cada cuadro de referencia. + Para conseguirlo debes cargar el paquete LaTeX +\series bold +hyperref +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! hyperref" + +\end_inset + + en el preámbulo del documento con +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage[pdfborder={0 0 0}]{hyperref} +\newline + +\backslash +AtBeginDocument{ +\backslash +renewcommand{ +\backslash +ref}[1]{ +\backslash +mbox{ +\backslash +autoref{#1}}}} +\end_layout + +\begin_layout Standard + +\series bold +hyperref +\series default +se utiliza para enlazar referencias cruzadas en las salidas DVI y PDF, esto + significa que el lector del documento podrá pinchar sobre una entrada de + Índice o una referencia y será inmediatamente dirigido a esa parte del + documento. + +\series bold +hyperref +\series default + también crea marcadores PDF para cada sección para facilitar al lector + la navegación por el documento. + Esto también se ha usado en este documento pero si echas una ojeada al + preámbulo encontrarás varias opciones en la carga de +\series bold +hyperref +\series default +. + Para aprender más sobre ello acude a la documentoación del paquete +\begin_inset LatexCommand cite +key "hyperref" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Nota: +\series default + La designación automática de referencias no puede usarse en el estilo +\family sans +Referencia\InsetSpace ~ +con\InsetSpace ~ +formato +\family default +, descrita en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Formatos-referencia-cruzada" + +\end_inset + +. + Por esto no se ha usado en este documento. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Colocación de Referencias +\begin_inset LatexCommand label +name "sub:Colocación-de-Referencias" + +\end_inset + + +\begin_inset LatexCommand index +name "Referencias ! Colocación" + +\end_inset + + +\end_layout + +\begin_layout Standard +Si usas +\series bold +hyperref +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! hyperref" + +\end_inset + + para enlazar referencias cruzadas en la salida, verás que al pinchar sobre + la referencia de una imagen flotante te lleva hasta la etiqueta de la imagen. + El encabezado será la primera parte de texto en pantalla, de forma que + para ver la imagen debes deslizar. + Se debe a que el ancla de enlace de la referencia se sitúa en la etiqueta. + Usando el paquete +\series bold +hypcap +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! hypcap" + +\end_inset + +, que forma parte del paquete LaTeX +\series bold +oberdiek +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! oberdiek" + +\end_inset + +, el ancla de enlace se sitúa al comienzo de un flotante. + Para usar esta característica para figuras flotantes carga +\series bold +hypcap +\series default + en el preámbulo con +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage[figure]{hypcap} +\end_layout + +\begin_layout Standard +Puedes usar +\series bold +hypcap +\series default + para todos los flotantes aunque no se recomienda por razones de estabilidad. + Más información en el manual de +\series bold +hypcap +\series default + +\begin_inset LatexCommand cite +key "hypcap" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Nota: hypcap +\series default +debe cargarse después de +\series bold + hyperref +\series default +en el preámbulo +\series bold +. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Colocación de Flotantes +\begin_inset LatexCommand label +name "sec:Colocación-de-Flotantes" + +\end_inset + + +\begin_inset LatexCommand index +name "Flotantes ! Colocación" + +\end_inset + + +\end_layout + +\begin_layout Standard +Click-derecha sobre un cuadro de flotante abre un diálogo en el que pueden + cambiarse las opciones de LaTeX para situar los flotantes. +\newline +La opción +\family sans +Extender\InsetSpace ~ +columnas +\family default + solo es aplicable a documentoos de dos columnas: Si lo seleccionas, el + flotante abarcará ambas columnas en lugar de una sola. + La opción +\family sans +Girar\InsetSpace ~ +a\InsetSpace ~ +un\InsetSpace ~ +lado +\family default + sirve para girar flotantes, ver sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Rotación-de-Flotantes" + +\end_inset + +. + +\end_layout + +\begin_layout Standard +Puedes usar una o más de las siguientes opciones en el diálogo para establacer + la posición de un flotante si desmarcas la opción +\family sans +Usar\InsetSpace ~ +ubicación\InsetSpace ~ +predeterminada +\family default +: +\end_layout + +\begin_layout Standard + +\family sans +\series bold +Aquí\InsetSpace ~ +si\InsetSpace ~ +es\InsetSpace ~ +posible: +\family default +\series default + intenta situar el flotante en la posición en la que se inserta +\end_layout + +\begin_layout Standard + +\family sans +\series bold +Principio\InsetSpace ~ +de\InsetSpace ~ +página: +\family default +\series default + intenta situar el flotante al principio de la página actual +\end_layout + +\begin_layout Standard + +\family sans +\series bold +Fin\InsetSpace ~ +de\InsetSpace ~ +página: +\family default +\series default + intenta situar el flotante al final de la página actual +\end_layout + +\begin_layout Standard + +\family sans +\series bold +Página\InsetSpace ~ +de\InsetSpace ~ +flotantes: +\family default +\series default + intenta situar el flotante en una página propia +\end_layout + +\begin_layout Standard +LaTeX usa +\emph on +siempre +\emph default + ese orden de opciones. + Significa que si usas la colocación predeterminada, LaTeX probará en primer + lugar +\family sans +Aquí\InsetSpace ~ +si\InsetSpace ~ +es\InsetSpace ~ +posible +\family default +, luego +\family sans +Principio\InsetSpace ~ +de\InsetSpace ~ +página +\family default +, y después las otras. + Si no usas la predeterminada, LaTeX solo probará las opciones marcadas + pero en dicho orden. + Si no es posible ninguna de las 4 ubicaciones el proceso se repite internamente + pero intenta poner el flotante en la página siguiente. +\end_layout + +\begin_layout Standard +De forma predeterminada cada una de las opciones tiene sus propias reglas: +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 + +\family sans +Principio\InsetSpace ~ +de\InsetSpace ~ +página: +\family default +solo si el flotante ocupa menos del 70\InsetSpace \thinspace{} +% de la página puede ubicarse al principio + de página ( +\series bold + +\backslash +topfraction +\series default +) +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 + +\family sans +Fin\InsetSpace ~ +de\InsetSpace ~ +página: +\family default +solo si el flotante ocupa menos del 30\InsetSpace \thinspace{} +% de la página puede ubicarse al fin + de página. + ( +\series bold + +\backslash +bottomfraction +\series default +) +\end_layout + +\begin_layout Labeling +\labelwidthstring 00.00.0000 + +\family sans +Página\InsetSpace ~ +de\InsetSpace ~ +flotantes: +\family default +solo si más del 50\InsetSpace \thinspace{} +% de la página se ocupa por flotantes puede haber varios + juntos en la misma página. + ( +\series bold + +\backslash +floatpáginafraction +\series default +) +\end_layout + +\begin_layout Standard +Si no te agradan estas reglas puedes ignorarlas marcando la opción adicional + +\family sans +Ignorar\InsetSpace ~ +reglas\InsetSpace ~ +de\InsetSpace ~ +LaTeX +\family default +. +\newline +También puedes redefinir las reglas con comandos LaTeX que van entre paréntesis + tras la descripción de reglas anteriores. + Por ejemplo, para aumentar el valor predeterminado, quizás pequeño, de + la regla +\family sans +Fin +\family default +\InsetSpace ~ + +\family sans +de +\family default +\InsetSpace ~ + +\family sans +página +\family default +al 50\InsetSpace \thinspace{} +%, añade esta línea en el preámbulo: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewcommand{ +\backslash +bottomfraction}{0.5} +\end_layout + +\begin_layout Standard +En determinados casos podrías necesitar ubicar un flotante exactamente en + la posición en la que se inserta. + Para esto puedes usar la opción +\family sans +Aquí\InsetSpace ~ +definitivamente +\family default +. + Usa esta opción esporádicamente y solo cuando el documento esté casi listo, + porque el flotante ya no podrá "flotar" y si haces cambios al documento + se podría estropear el diseño de la página. +\end_layout + +\begin_layout Standard +No hay opciones de ubicación para flotantes ajustados a texto porque siempre + están rodeados por texto de un párrafo determinado. +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +A veces surge el problema de que un flotante se sitúa al principio de la + página mientras que su sección correspondiente empieza en mitad de la página, + así que el lector podría creer que el flotante forma parte de la sección + anterior. + Para evitarlo puede emplearse el comando LaTeX +\series bold + +\backslash +suppressfloats +\series default +, que suprime la ubicación de un flotante dado en la página donde se inserta + y además puede servir para evitar que el flotante se coloque antes del + inicio de sección. + Para ello, añade estos comandos al préambulo: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +let +\backslash +mySection +\backslash +section +\newline + +\backslash +renewcommand{ +\backslash +section}{ +\backslash +suppressfloats[t] +\backslash +mySection} +\end_layout + +\begin_layout Standard +Se puede hacer lo mismo para todas las cabeceras de sección, capítulos y + subsecciones. + No es recomendable para partes pequeñas de texto como subsubsecciones porque + LaTeX podría tener problemas para encontrar una ubicación adecuada. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +En ciertos casos se quieren tener todas las figuras/tablas al final del + documento. + Para estos casos está el paquete LaTeX +\series bold +endfloat +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! endfloat" + +\end_inset + +. + Pone todas las figuras y tablas flotantes al final del documento en secciones + propias. + En la posición original del flotante se inserta una indicación como +\begin_inset Quotes eld +\end_inset + + +\family sans +[Figura\InsetSpace ~ +3.2 por aquí.] +\family default + +\begin_inset Quotes erd +\end_inset + +. + El paquete +\series bold +endfloat +\series default + se carga en el preámbulo con la línea +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage[options]{endfloat} +\end_layout + +\begin_layout Standard +Hay varias opciones para diseñar las secciones figura/tabla creadas. + Para más información ver la documentación de +\begin_inset LatexCommand cite +key "endfloat" + +\end_inset + +. +\newline + +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Nota: endfloat +\series default + no traduce automáticamente la indicación, hay que hacerlo manualmente, + ver sección\InsetSpace ~ +4 en +\begin_inset LatexCommand cite +key "endfloat" + +\end_inset + +. +\end_layout + +\end_inset + + +\newline + +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Nota: +\series default + Actualmente hay un error en +\series bold +endfloat +\series default + cuando el encabezado contiene el caracter alemán +\begin_inset Quotes eld +\end_inset + +ß +\begin_inset Quotes erd +\end_inset + +. + Usa en ese caso el comando +\begin_inset Quotes eld +\end_inset + + +\series bold + +\backslash +ss +\series default + +\begin_inset Quotes erd +\end_inset + + en ERT en vez de +\begin_inset Quotes eld +\end_inset + +ß +\begin_inset Quotes erd +\end_inset + +. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Más detalles sobre ubicación de flotantes en libros sobre LaTeX como +\begin_inset LatexCommand cite +key "latexcompanion,latexguide,latexbook" + +\end_inset + +. +\end_layout + +\begin_layout Section +Rotación de Flotantes +\begin_inset LatexCommand label +name "sec:Rotación-de-Flotantes" + +\end_inset + + +\begin_inset LatexCommand index +name "Flotantes ! Rotación" + +\end_inset + + +\end_layout + +\begin_layout Standard +Podrías necesitar girar flotantes, especialmente en tablas grandes. + Para girar todo el flotante y su encabezado, pincha sobre su cuadro y marca + la opción +\family sans +Girar\InsetSpace ~ +a\InsetSpace ~ +un\InsetSpace ~ +lado +\family default +. +\end_layout + +\begin_layout Standard +Los flotantes girados son puestos siempre en su propia página (o columna + si el documento es de dos columnas). + Normalmente se rotan de forma que puedes leerlos desde el margen externo + -- a la izquierda en páginas pares, a la derecha en impares. +\end_layout + +\begin_layout Standard +Los flotantes girados se refieren igual que los normales, y el formato de + encabezado también es el mismo: Un ejemplo es la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Tabla-girada" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Nota: +\series default + No todos los visores DVI pueden mostrar tablas giradas. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways true +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Tabla-girada" + +\end_inset + + Tabla girada +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Standard +test +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Formato de Encabezados +\begin_inset LatexCommand index +name "Encabezados ! Formato" + +\end_inset + + +\begin_inset LatexCommand index +name "Flotantes ! Formato de Encabezados" + +\end_inset + + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! caption" + +\end_inset + + +\begin_inset LatexCommand label +name "sec:Formato-de-Encabezados" + +\end_inset + + +\end_layout + +\begin_layout Standard +El entorno +\family sans +Encabezado +\family default + es el predeterminado para los +\family sans +Flotantes +\family default +. + En LyX los encabezados se muestran como etiqueta, p.\InsetSpace \thinspace{} +e.\InsetSpace ~ +" +\family sans +Figura # +\family default +:" seguida por el texto. + El símbolo de número +\begin_inset Quotes eld +\end_inset + +# +\begin_inset Quotes erd +\end_inset + + es sustituido en la salida impresa por el número de referencia real. + Por defecto la etiqueta y el número usan la misma fuente que el texto del + encabezado y el signo dos puntos sigue al número para separar la etiqueta + del texto. + El formato de encabezado no es apropiado para todos los formatos de documento. + +\end_layout + +\begin_layout Standard +Para cambiar el formato predeterminado carga el paquete LaTeX +\series bold +caption +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! caption" + +\end_inset + + en el preámbulo del documento con la línea: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage[definición de formato]{caption} +\end_layout + +\begin_layout Standard +Para poner, por ejemplo, la etiqueta y el número en sans-serif negrita y + los encabezados de tabla siempre sobre ella como en este documento, usa + el comando: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage[labelfont={bf,sf}, tableposition=top]{caption} +\end_layout + +\begin_layout Standard +También puedes definir distintos formatos de encabezado para los distintos + tipos de flotantes. + En ese caso carga el paquete +\series bold +caption +\series default + sin opciones específicas y define los distintos formatos con ayuda del + comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +captionsetup[tipo de flotante]{definición de formato} +\end_layout + +\begin_layout Standard +en el preámbulo del documento. + Por ejemplo los encabezados de la Figura\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:Esto-es-una-fig" + +\end_inset + + y la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Esto-es-una-tab" + +\end_inset + + pueden crearse usando los siguientes comandos en el preámbulo: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage[tableposition=top]{caption} +\series default + +\newline + +\series bold + +\backslash +captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,% +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ +\backslash + +\backslash +captionsetup[figure] +\backslash +{} +\end_layout + +\end_inset + + labelsep=period} +\newline + +\backslash +captionsetup[table]{labelfont={bf,sf}} +\end_layout + +\begin_layout Standard +Para más información sobre el paquete +\series bold +caption +\series default + acude a su documentación +\begin_inset LatexCommand cite +key "caption,caption-de" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Si estás usando la clase de documento +\series bold +koma-script +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! koma-script" + +\end_inset + + ( +\family sans +article (koma-script) +\family default +, +\family sans +book (koma-script) +\family default +, +\family sans +letter (koma-script) +\family default +, o +\family sans +report (koma-script) +\family default +\InsetSpace \thinspace{} +), puedes emplear en vez del paquete +\series bold +caption +\series default + el comando +\series bold + +\backslash +setkomafont +\series default + incluido en +\series bold +koma-script +\series default +. + Por ejemplo, para poner en negrita la etiqueta del encabezado añade este + comando en el preámbulo del documento: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +setkomafont{captionlabel}{ +\backslash +bfseries} +\end_layout + +\begin_layout Standard +Más información sobre +\series bold + +\backslash +setkomafont +\series default + en la documentación de +\series bold +koma-script +\series default + +\begin_inset LatexCommand cite +key "koma-script,koma-script-de" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period +} +\end_layout + +\end_inset + + +\begin_inset Note Note +status open + +\begin_layout Standard +El formato de encabezado se ha cambiado sólo para este ejemplo. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float figure +placement !p +wide false +sideways false +status open + +\begin_layout Standard +\align center +\begin_inset Graphics + filename ../clipart/mobius.pdf + lyxscale 50 + scale 50 + +\end_inset + + +\end_layout + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:Esto-es-una-fig" + +\end_inset + +Este es un ejemplo de encabezado de figura que es mayor de una línea para + mostrar el formato diferente. + Aquí se usa un encabezado autodefinido. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col +on} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement !p +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Esto-es-una-tab" + +\end_inset + +Este es un ejemplo de encabezado de tabla mayor que una línea para mostrar + el formato diferente. + Aquí se usa el formato de encabezado standard para tablas de este documento. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Standard +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Colocación de Encabezados +\begin_inset LatexCommand index +name "Encabezados ! Colocación" + +\end_inset + + +\begin_inset LatexCommand index +name "Flotantes ! Colocación de Encabezados" + +\end_inset + + +\begin_inset LatexCommand label +name "sec:Colocación-de-Encabezados" + +\end_inset + + +\end_layout + +\begin_layout Standard +La norma habitual para colocar encabezados es: +\end_layout + +\begin_layout Description +Figura: El encabezado bajo la figura +\end_layout + +\begin_layout Description +Tabla: El encabezado sobre la tabla +\end_layout + +\begin_layout Standard +Desafortunadamente, las clases standard de LaTeX no soportan encabezados + sobre la tabla. + Esto implica que si usas las clases de documento +\family sans +article +\family default +, +\family sans +book +\family default +, +\family sans +letter +\family default +, o +\family sans +report +\family default + no habrá espacio entre el encabezado y la tabla. + Para insertar el espacio adecuado añade la siguiente opción al comando + del paquete LaTeX +\series bold +caption +\series default + en el preámbulo del documento +\begin_inset Foot +status collapsed + +\begin_layout Standard +Ver la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Formato-de-Encabezados" + +\end_inset + + para más información sobre el paquete +\series bold +caption +\series default +. +\end_layout + +\end_inset + +: +\end_layout + +\begin_layout Standard + +\series bold +tableposition=top +\end_layout + +\begin_layout Standard +Si estás usando la clase +\series bold +koma-script +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! koma-script" + +\end_inset + + ( +\family sans +article (koma-script) +\family default +, +\family sans +book (koma-script) +\family default +, +\family sans +letter (koma-script) +\family default +, o +\family sans +report (koma-script) +\family default +\InsetSpace \thinspace{} +), en vez de +\series bold +caption +\series default + puedes poner la opción +\series bold +tablecaptionabove +\series default + de la clase de documento, o usar el entorno +\family sans +Encabezado +\family default +\InsetSpace ~ + +\family sans +Arriba +\family default + en vez del entorno +\family sans +Encabezado +\family default +. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +También es posible poner el encabezado junto a una figura o tabla. + Para conseguirlo hay que cargar el paquete LaTeX +\series bold +sidecap +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! sidecap" + +\end_inset + + añadiendo en el preámbulo del documento la línea +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage[option]{sidecap} +\end_layout + +\begin_layout Standard +Si no se especifica opción, el encabezado se ubica del lado del margen externo + de la página -- a la derecha en páginas impares, a la izquierda en las + pares. + Puedes cambiar la colocación al margen interno con la opción +\series bold +innercaption +\series default +. + Para forzar la ubicación siempre a la derecha o a la izquierda, usa las + opciones +\series bold +rightcaption +\series default + o +\series bold +leftcaption +\series default +, respectivamente. +\end_layout + +\begin_layout Standard +Para situar en LyX el encabezado de un flotante al lado, es necesario añadir + estos comandos al preámbulo del documento: +\end_layout + +\begin_layout Standard + +\lyxline + +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcommand{ +\backslash +TabBesBeg}{% +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +let +\backslash +MyTable +\backslash +table +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +let +\backslash +MyEndtable +\backslash +endtable +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +renewenvironment{table}{ +\backslash +begin{SCtable}}{ +\backslash +end{SCtable}}} +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcommand{ +\backslash +TabBesEnd}{% +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +let +\backslash +table +\backslash +MyTable +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +let +\backslash +endtable +\backslash +MyEndtable +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcommand{ +\backslash +FigBesBeg}{% +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +let +\backslash +MyFigure +\backslash +figure +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +let +\backslash +MyEndfigure +\backslash +endfigure +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +renewenvironment{figure}{ +\backslash +begin{SCfigure}}{ +\backslash +end{SCfigure}}} +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcommand{ +\backslash +FigBesEnd}{% +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +let +\backslash +figure +\backslash +MyFigure +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +let +\backslash +endfigure +\backslash +MyEndfigure} +\end_layout + +\begin_layout Standard + +\lyxline + +\end_layout + +\begin_layout Standard +Estos comandos permiten redefinir los flotantes de modo que el encabezado + aparezca en un lado. + Para figuras flotantes usa el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +FigBesBeg +\end_layout + +\begin_layout Standard +en ERT antes del flotante. + Detrás del flotante inserta +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +FigBesEnd +\end_layout + +\begin_layout Standard +en ERT para volver a la definición original de flotantes. +\end_layout + +\begin_layout Standard +Para tablas flotantes usa los comandos correspondientes +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +TabBesBeg +\series default + y +\series bold + +\backslash +TabBesEnd +\end_layout + +\begin_layout Standard +La Figura\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:encab-al-lado" + +\end_inset + + y la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:encab-al-lado" + +\end_inset + + son ejemplos en los que el encabezado se sitúa al lado. +\end_layout + +\begin_layout Standard +En los ejemplos puedes ver que el texto del encabezado aparece encima del + flotante en tablas flotantes y debajo en las figuras flotantes. + Para cambiarlo, puedes usar el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +sidecaptionvpos{tipo de flotante}{colocación} +\end_layout + +\begin_layout Standard +en el preámbulo o en ERT antes del flotante. + El tipo de flotante es +\family sans +figure +\family default + o +\family sans +table +\family default +, la colocación puede ser +\begin_inset Quotes eld +\end_inset + + +\family sans +t +\family default + +\begin_inset Quotes erd +\end_inset + + por +\begin_inset Quotes eld +\end_inset + +top +\begin_inset Quotes erd +\end_inset + + (arriba), +\begin_inset Quotes eld +\end_inset + + +\family sans +c +\family default + +\begin_inset Quotes erd +\end_inset + + por +\begin_inset Quotes eld +\end_inset + +center +\begin_inset Quotes erd +\end_inset + + (centro), o +\begin_inset Quotes eld +\end_inset + + +\family sans +b +\family default + +\begin_inset Quotes erd +\end_inset + + por +\begin_inset Quotes eld +\end_inset + +bottom +\begin_inset Quotes erd +\end_inset + + (abajo). + Para tener, por ejemplo, el encabezado de figuras flotantes verticalmente + centrado, usa el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +sidecaptionvpos{figure}{c} +\end_layout + +\begin_layout Standard +Esto se ha hecho en la Figura\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:encab-al-lado-de-fig" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset VSpace defskip +\end_inset + +Más información sobre el paquete +\series bold +sidecap +\series default + en su documentación +\begin_inset LatexCommand cite +key "sidecap" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status collapsed + +\begin_layout Standard + +\series bold +Nota: +\series default + El paquete LaTeX +\series bold +hypcap +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! hypcap" + +\end_inset + +, descrito en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Colocación-de-Referencias" + +\end_inset + +, no afecta a flotantes con el encabezado al lado. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +FigBesBeg +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float figure +wide false +sideways false +status open + +\begin_layout Standard +\begin_inset Graphics + filename ../clipart/escher-lsd.pdf + scale 75 + +\end_inset + + +\end_layout + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:encab-al-lado" + +\end_inset + +Encabezado al lado de una figura. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +TabBesBeg +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:encab-al-lado" + +\end_inset + +Encabezado al lado de una tabla. +\end_layout + +\begin_layout Standard +\begin_inset Tabular + + + + + + + + + +\begin_inset Text + +\begin_layout Standard +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +i +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +j +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +TabBesEnd +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +sidecaptionvpos{figure}{c} +\end_layout + +\end_inset + + +\begin_inset Float figure +wide false +sideways false +status open + +\begin_layout Standard +\begin_inset Graphics + filename ../clipart/escher-lsd.pdf + scale 75 + +\end_inset + + +\end_layout + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:encab-al-lado-de-fig" + +\end_inset + +Encabezado junto a una figura centrado verticalmente. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +FigBesEnd +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Lista de Flotantes +\begin_inset LatexCommand label +name "sec:Lista-de-Flotantes" + +\end_inset + + +\begin_inset LatexCommand index +name "Flotantes ! Lista" + +\end_inset + + +\end_layout + +\begin_layout Standard +Igual que en el índice general se listan las secciones del documento, hay + listas para todos los tipos de flotantes, como las figuras. + Se pueden insertar mediante los submenús +\family sans +Insertar\SpecialChar \menuseparator +Lista / IG +\family default +. +\end_layout + +\begin_layout Standard +Las entradas de la lista son los encabezados del flotante o su título corto, + el número, y el número de página del documento en la que aparecen. +\end_layout + +\begin_layout Standard +Puedes encontrar las listas de figuras y tablas al final de este documento. +\end_layout + +\begin_layout Chapter +Notas +\end_layout + +\begin_layout Section +Notas en +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +texorpdfstring{ +\end_layout + +\end_inset + +LyX +\begin_inset ERT +status collapsed + +\begin_layout Standard + +}{LyX} +\end_layout + +\end_inset + + +\begin_inset LatexCommand label +name "sec:Notas-en-LyX" + +\end_inset + + +\begin_inset LatexCommand index +name "Notas ! Notas en LyX" + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Standard +El comando +\backslash +texorpdfstring es suministrado por el paquete LaTeX hyperref para evitar + que los enlaces se muestren erróneamente en los marcadores PDF. + Para más información sobre esto mira en +\begin_inset LatexCommand cite +key "hyperref" + +\end_inset + +. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Las notas se insertan con el botón +\begin_inset Graphics + filename ../images/note-insert.xpm + scale 85 + +\end_inset + + o el menú +\family sans +Insertar\SpecialChar \menuseparator +Nota +\family default +. + Hay tres tipos de notas: +\end_layout + +\begin_layout Description +Nota\InsetSpace ~ +LyX Este tipo es para notas internas que no han de aparecer en la salida: + Su cuadro se muestra como este: +\newline + +\newline + +\begin_inset Graphics + filename ../clipart/NotaLyXImagen.png + display none + scale 85 + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Standard +Este es un texto en un recuadro que no se muestra en la salida. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Description +Comentario Esta nota tampoco se muestra en la salida pero aparece como un + comentario de LaTeX, cuando exportas el documento a LaTeX via el menú +\family sans +Archivo\SpecialChar \menuseparator +Exportar\SpecialChar \menuseparator +LaTeX (pdflatex) / LaTeX (plain) +\family default +. + Su recuadro se ve así: +\newline + +\newline + +\begin_inset Graphics + filename ../clipart/ComentNotaImagen.png + display none + scale 85 + +\end_inset + + +\begin_inset Note Comment +status collapsed + +\begin_layout Standard +Texto de una nota comentario que solo aparece como comentario en archivos + LaTeX. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Description +Resaltado\InsetSpace ~ +en\InsetSpace ~ +gris Esta nota aparece en la salida como texto resaltado en gris. + Su recuadro se parece a este: +\newline + +\newline + +\begin_inset Graphics + filename ../clipart/GrisNotaImagen.png + display none + scale 85 + +\end_inset + + +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewenvironment{lyxgreyedout} +\end_layout + +\begin_layout Standard + +{ +\backslash +textcolor[gray]{0.8} +\backslash +bgroup}{ +\backslash +egroup} +\end_layout + +\end_inset + + +\begin_inset Note Greyedout +status open + +\begin_layout Standard +Este es el texto +\begin_inset Foot +status open + +\begin_layout Standard +Esto es un ejemplo de nota al pie en una nota resaltada en gris. +\end_layout + +\end_inset + + de un comentario que se muestra resaltado en gris. +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewenvironment{lyxgreyedout} +\end_layout + +\begin_layout Standard + +{ +\backslash +textcolor{blue} +\backslash +bgroup}{ +\backslash +egroup} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Si usas el botón de la barra de herramientas para insertar notas, se inserta + una +\family sans +Nota\InsetSpace ~ +LyX +\family default +. + Puedes cambiar entre los tres tipos de nota con click-derecha sobre el + recuadro. + +\family roman +\series medium +\bar no +Si quieres convertir un texto presente a nota, márcalo y pincha sobre el + botón de herramienta nota +\family default +\series default +\bar default +. +\end_layout + +\begin_layout Standard +Como se ve en el ejemplo anterior: La primera línea de notas resaltadas + en gris está un poco sangrada y puede tener notas al pie. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Se puede cambiar el color del resaltado en gris poniendo en el preámbulo + el comando: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewenvironment{lyxgreyedout} +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + +{ +\backslash +textcolor{color} +\backslash +bgroup}{ +\backslash +egroup} +\end_layout + +\begin_layout Standard +Los colores disponibles y el método para definir nuestros propios colores + se explica en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Tablas-Coloreadas" + +\end_inset + +. +\end_layout + +\begin_layout Standard +Las notas en azul en este documento se han hecho con notas resaltado en + gris definiendo el color del texto en azul. +\end_layout + +\begin_layout Section +Notas al pie +\begin_inset LatexCommand label +name "sec:Notas-al-pie" + +\end_inset + + +\begin_inset LatexCommand index +name "Notas ! al Pie" + +\end_inset + + +\begin_inset LatexCommand index +name "Notas al Pie" + +\end_inset + + +\end_layout + +\begin_layout Standard +Las notas al pie se insertan con el botón +\begin_inset Graphics + filename ../images/footnote-insert.xpm + scale 85 + +\end_inset + + o el menú +\family sans +Insertar\SpecialChar \menuseparator +Nota\InsetSpace ~ +al\InsetSpace ~ +pie +\family default +. + +\family roman +\series medium +\bar no +Aparece un recuadro como este: +\family default +\series default +\bar default + +\begin_inset Graphics + filename ../clipart/notapie.png + scale 80 + +\end_inset + + +\family roman +\series medium +\bar no + donde puedes introducir el texto. + Si quieres convertir un texto existente en nota al pie, márcalo y pincha + sobre el +\family default +\series default +\bar default + +\family roman +\series medium +\bar no +botón +\family default +\series default +\bar default +. +\end_layout + +\begin_layout Standard +Aquí hay un ejemplo de nota al pie: +\family roman +\series medium +\bar no + +\begin_inset Foot +status open + +\begin_layout Standard +\begin_inset LatexCommand label +name "pie:Esto-es-una" + +\end_inset + +Ejemplo de nota al pie. +\end_layout + +\end_inset + + +\family default +\series default +\bar default + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +newcounter{MyRepeatFoot} +\end_layout + +\begin_layout Standard + + +\backslash +setcounter{MyRepeatFoot}{ +\backslash +thefootnote} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +En la salida, el pie se muestra como número exponente en el lugar del texto + donde se coloca el recuadro. + El texto se coloca al final de la página actual. + Los números de las notas son calculados por LaTeX, y son consecutivos. + Si comienza o no el recuento en cada capítulo depende de la clase de documento. +\end_layout + +\begin_layout Standard +Las notas al pie pueden referenciarse como flotantes: Inserta una etiqueta + en la nota y pon una referencia cruzada a esta etiqueta en el texto como + se describe en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Referencias-a-Flotantes" + +\end_inset + +. +\newline +Esto es una referencia cruzada a la Nota al pie\InsetSpace ~ + +\begin_inset LatexCommand prettyref +reference "pie:Esto-es-una" + +\end_inset + +. +\newline + +\begin_inset Note Greyedout +status collapsed + +\begin_layout Standard + +\series bold +Nota: +\series default + LyX no suministra prefijos para etiquetas en notas al pie, así que has + de insertar un prefijo, p.\InsetSpace \thinspace{} +e.\InsetSpace ~ + +\family sans + +\begin_inset Quotes eld +\end_inset + +pie: +\family default + +\begin_inset Quotes erd +\end_inset + + manualmente cuando quieras usar el estilo +\family sans +Referencia\InsetSpace ~ +con\InsetSpace ~ +formato +\family default +. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace defskip +\end_inset + +Para poner notas al pie en tablas, tienes que usar minipáginas, ver sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Minipáginas" + +\end_inset + +. + Los pies en tablas largas en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Notas-al-pie-en-Tablas-Largas" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset VSpace defskip +\end_inset + +Para crear solo una marca para una nota al pie, usa el comando +\series bold + +\backslash +footnotemark[número] +\series default + en ERT. + Esto se emplea si tienes la misma anotación varias veces en el texto pero + no quieres imprimir el pie cada vez. +\newline +Como no sabes el número del pie que + se repite mientras escribes el texto, tienes que guardarlo. + Para el siguiente ejemplo de marca de pie, se han insertado estos comandos + en ERT detrás de Nota\InsetSpace ~ +al\InsetSpace ~ +pie\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "pie:Esto-es-una" + +\end_inset + + para guardar el número de pie: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +newcounter{MyRepeatFoot} +\newline + +\backslash +setcounter{MyRepeatFoot}{ +\backslash +thefootnote} +\end_layout + +\begin_layout Standard +La marca de pie se crea entonces con el comando: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +footnotemark[ +\backslash +theMyRepeatFoot] +\end_layout + +\begin_layout Standard +Aquí hay un ejemplo de marca de pie: +\family roman +\series medium +\bar no + +\begin_inset ERT +status open + +\begin_layout Standard + + +\backslash +footnotemark[ +\backslash +theMyRepeatFoot] +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Numeración de Notas al Pie +\begin_inset LatexCommand label +name "sub:Numeración-de-Notas-al-Pie" + +\end_inset + + +\begin_inset LatexCommand index +name "Notas al Pie ! Numeración" + +\end_inset + + +\end_layout + +\begin_layout Standard +Si quieres numerar notas al pie en el esquema +\begin_inset Quotes eld +\end_inset + +capítulo.nota +\begin_inset Quotes erd +\end_inset + +, añade el siguiente comando al preámbulo del documento: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +numberwithin{footnote}{chapter} +\end_layout + +\begin_layout Standard +Para poder usar el comando +\series bold + +\backslash +numberwithin +\series default +, marca la opción +\family sans +Usar +\family default +\InsetSpace ~ + +\family sans +el +\family default +\InsetSpace ~ + +\family sans +paquete +\family default +\InsetSpace ~ + +\family sans +AMS +\family default +en la pestaña +\family sans +Ecuaciones +\family default + de la configuración del documento. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +numberwithin{footnote}{chapter} +\end_layout + +\end_inset + +Esto es otro ejemplo de nota al pie: +\series bold + +\begin_inset Foot +status open + +\begin_layout Standard +Nota al pie numerada en el esquema +\begin_inset Quotes eld +\end_inset + +capítulo.nota +\begin_inset Quotes erd +\end_inset + +. +\end_layout + +\end_inset + + +\series default + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +numberwithin{footnote}{part} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +Para reestablecer el número de pie a 1 en cada sección añade este +\family roman + comando en el preámbulo: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +@addtoreset{footnote}{section} +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +El siguiente comando en el preámbulo cambia el estilo de numeración del + pie a números romanos pequeños: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewcommand{ +\backslash +thefootnote}{ +\backslash +roman{footnote}} +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +thefootnote}{ +\backslash +roman{footnote}} +\end_layout + +\end_inset + + Nota al pie en números romanos: +\begin_inset Foot +status open + +\begin_layout Standard +Ejemplo de nota al pie en números romanos. +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +thefootnote}{ +\backslash +arabic{footnote}} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Para cambiar el estilo de número a romanos en mayúscula cambia el comando + +\series bold + +\backslash +roman +\series default + por +\series bold + +\backslash +Roman +\series default +. + Para +\begin_inset Quotes eld +\end_inset + +numerar +\begin_inset Quotes erd +\end_inset + + notas al pie con letras mayúsculas o minúsculas usa +\series bold + +\backslash +Alph +\series default + o +\series bold + +\backslash +alph +\series default +, respectivamente. + Para +\begin_inset Quotes eld +\end_inset + +numerar +\begin_inset Quotes erd +\end_inset + + notas al pie con símbolos usa +\series bold + +\backslash +fnsymbol +\series default +. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Nota: +\series medium + +\series default +Solo puedes numerar hasta 26 pies con letras, porque esta numeración está + limitada a letras simples. +\end_layout + +\end_inset + + +\newline + +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Nota: +\series default + Solo puedes numerar 9 pies con símbolos. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Para volver al estilo de numeración predeterminado cuando has cambiado a + otro estilo, usa +\series bold + +\backslash +arabic +\series default + en vez de +\series bold + +\backslash +roman +\series default + en el comando anterior. +\end_layout + +\begin_layout Subsection +Colocación de Notas al Pie +\begin_inset LatexCommand index +name "Notas al Pie ! Colocación" + +\end_inset + + +\end_layout + +\begin_layout Standard +Si tienes varias notas al pie de una página, se muestran sin espacio vertical + entre ellas al final de la página. + Para hacerlas más legibles puedes añadir p.\InsetSpace \thinspace{} +e. + 1.5\InsetSpace \thinspace{} +mm con el comando siguiente en el preámbulo: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +let +\backslash +myFoot +\backslash +footnote +\newline + +\backslash +renewcommand{ +\backslash +footnote}[1]{ +\backslash +myFoot{#1 +\backslash +vspace{1.5mm}}} +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +En documentos a dos columnas la nota al pie aparece al final de cada columna, + ver la Figura\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:Colocación-standard-del-pie" + +\end_inset + +. + Si las notas debieran mostrarse sólo al final de la columna derecha, como + en la Figura\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:Colocación-del-pie-en" + +\end_inset + +, usa el paquete LaTeX +\series bold +ftnright +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! ftnright" + +\end_inset + + con este comando en el preámbulo: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage{ftnright} +\end_layout + +\begin_layout Standard +\begin_inset Float figure +placement !h +wide false +sideways false +status open + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +framebox{ +\end_layout + +\end_inset + + +\begin_inset Graphics + filename ../clipart/without_fntright.pdf + width 100col% + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:Colocación-standard-del-pie" + +\end_inset + +Colocación standard de notas al pie en documentos a dos columnas. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Float figure +placement !h +wide false +sideways false +status open + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +framebox{ +\end_layout + +\end_inset + + +\begin_inset Graphics + filename ../clipart/with_fntright.pdf + width 100col% + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:Colocación-del-pie-en" + +\end_inset + +Colocación del pie en documentos a dos columnas cuando se usa el paquete + LaTeX +\series bold +ftnright +\series default +. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +En alguna literatura científica se acostumbra reunir las notas e imprimirlas + en un párrafo separado al final de la sección, como en la Figura\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "fig:Notas-al-final----notas-al-pie" + +\end_inset + +. + Para usar notas finales en vez de notas al pie , carga el paquete LaTeX + +\series bold +endnotes +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! endnotes" + +\end_inset + + con las siguientes líneas en el preámbulo de tu documento: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage{endnotes} +\newline + +\backslash +let +\backslash +footnote +\backslash +endnote +\end_layout + +\begin_layout Standard +Para insertar la colección de notas, escribe el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +theendnotes +\end_layout + +\begin_layout Standard +en ERT al final de una sección o capítulo. +\end_layout + +\begin_layout Standard +\begin_inset Float figure +wide false +sideways false +status open + +\begin_layout Standard +\align center +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +framebox{ +\end_layout + +\end_inset + + +\begin_inset Graphics + filename ../clipart/endnotes.pdf + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Caption +\begin_inset LatexCommand label +name "fig:Notas-al-final----notas-al-pie" + +\end_inset + +Notas al final -- notas al pie impresas en párrafo separado al final de + la sección o del capítulo. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace defskip +\end_inset + +La cabecera de párrafo para las notas finales no se traduce automáticamente + al lenguaje del documento, hay que hacerlo manualmente. + El siguiente comando de preámbulo traduce el nombre en inglés +\begin_inset Quotes eld +\end_inset + +Notes +\begin_inset Quotes erd +\end_inset + + al español +\begin_inset Quotes eld +\end_inset + +Notas +\begin_inset Quotes erd +\end_inset + +: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewcommand{ +\backslash +notesname}{Notas} +\end_layout + +\begin_layout Standard +\begin_inset VSpace defskip +\end_inset + +La numeración de notas finales puede cambiarse como la de las notas al pie, + como se describe en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Numeración-de-Notas-al-Pie" + +\end_inset + +; sólo hay que reemplazar el comando +\series bold + +\backslash +thefootnote +\series default + por +\series bold + +\backslash +theendnote +\series default +. + Para restablecer la numeración usa el comando +\series bold + +\backslash +@addtoreset +\series default +como se describe en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Numeración-de-Notas-al-Pie" + +\end_inset + + y sustituye el parámetro de comando +\series bold +footnote +\series default + por +\series bold +endnote +\series default +. +\end_layout + +\begin_layout Standard +Para crear solo una marca para una nota final, usa el comando +\series bold + +\backslash +endnotemark[número] +\series default + similar al comando +\series bold + +\backslash +footnotemark +\series default +, descrito en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Notas-al-pie" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Las notas al pie también pueden colocarse al margen de la página y la alineación + del texto del pie también puede cambiarse, ver el paquete LaTeX +\series bold +footmisc +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! footmisc" + +\end_inset + +, +\begin_inset LatexCommand cite +key "footmisc" + +\end_inset + + para más información. +\end_layout + +\begin_layout Standard +Para otras posibilidades de diseño de notas al pie mira en libros de LaTeX, + +\begin_inset LatexCommand cite +key "latexcompanion,latexguide,latexbook" + +\end_inset + +. +\end_layout + +\begin_layout Section +Notas al Margen +\begin_inset LatexCommand index +name "Notas ! al Margen" + +\end_inset + + +\end_layout + +\begin_layout Standard +Las notas al margen se ven y se comportan en LyX como notas al pie. + Se insertan con el menú +\family sans +Insertar\SpecialChar \menuseparator +Nota\InsetSpace ~ +al\InsetSpace ~ +margen +\family default + o el botón +\begin_inset Graphics + filename ../images/marginalnote-insert.xpm + scale 85 + +\end_inset + +. + Aparece un cuadro gris con la etiqueta en rojo +\family roman +\series medium + +\begin_inset Quotes eld +\end_inset + +margen +\begin_inset Quotes erd +\end_inset + + en el que puedes escribir el texto de la nota. +\end_layout + +\begin_layout Standard +Al lado hay un ejemplo de nota al margen. +\family roman +\series medium + +\begin_inset Marginal +status open + +\begin_layout Standard +Esto es una nota al margen. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Estas notas salen en el margen derecho en documentos a una cara. + En documentos a doble cara se muestran en el margen externo -- izquierdo + en páginas pares, derecho en páginas impares. + El texto de las notas se alinea en la parte opuesta al margen -- se alinea + a la derecha si la nota aparece en el margen izquierdo. + La primera línea de la nota se sitúa en la posición de la línea del texto + en la que se inserta en el documento. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Para colocar la nota en el margen interno añade el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +reversemarginpar +\end_layout + +\begin_layout Standard +en ERT antes de la nota. + La nueva colocación es válida para todas las siguientes notas al margen. +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +reversemarginpar +\end_layout + +\end_inset + + +\begin_inset Marginal +status open + +\begin_layout Standard +Esto es una nota en el margen interno. +\end_layout + +\end_inset + + +\series bold + +\newline + +\series default + +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Nota: +\series default + A veces no hay espacio suficiente en el margen interno, por lo que la nota + no se mostrará correctamente en la salida. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +normalmarginpar +\end_layout + +\end_inset + +Para volver a la ubicación predeterminada inserta el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +normalmarginpar +\end_layout + +\begin_layout Standard +en ERT. +\newline + +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Nota: +\series default + El comando se ignora si en el mismo párrafo está también presente el comando + +\series bold + +\backslash +reversemarginpar +\series default +. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\family roman +\series medium + +\begin_inset Marginal +status open + +\begin_layout Standard +PalabraMuyLargaAlMargen no partida con guión. +\end_layout + +\end_inset + + +\family default +\series default +Como en el caso descrito en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Líneas-Múltiples-en" + +\end_inset + +, una palabra larga no puede partirse con guión cuando es la primera en + la nota al margen. + Para evitar esto, inserta el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +hspace{0pt} +\end_layout + +\begin_layout Standard +en ERT antes de la palabra +\family roman +\series medium +. +\begin_inset Marginal +status open + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hspace{0pt} +\end_layout + +\end_inset + +PalabraMuyLargaAlMargen partida con guión. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Nota: +\series default + Normalmente no pueden utilizarse notas al margen en tablas, flotantes, + y notas al pie. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Esta restricción se puede salvar con el paquete LaTeX +\series bold +marginnote +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! marginnote" + +\end_inset + +. + Poniendo estas dos líneas en el preámbulo, el comando usado por LyX para + notas al margen es redefinido para usar el comando provisto por el paquete + +\series bold +marginnote +\series default +: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +usepackage{marginnote} +\newline + +\backslash +let +\backslash +marginpar +\backslash +marginnote +\end_layout + +\begin_layout Standard +Esto se ha utilizado en el presente documento porque +\series bold +marginnote +\series default + tiene una característica adicional útil: Puedes imponer un offset vertical + a la nota. + A veces esto hace falta si hay demasiadas notas juntas o para mejorar el + diseño de la página. + El offset se determina en LyX como ERT directamente tras la nota al margen + en el esquema +\end_layout + +\begin_layout Standard + +\series bold +[offset] +\end_layout + +\begin_layout Standard +donde offset es una longitud en una de las unidades listadas en la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Unidades" + +\end_inset + +. + Un valor negativo desplaza la nota hacia arriba, un valor positivo hacia + abajo. + +\family roman +\series medium + Por ejemplo la nota adjunta a esta línea de texto está desplazada 1.5\InsetSpace \thinspace{} +cm + arriba con el comando ERT +\begin_inset Quotes eld +\end_inset + + +\family default +\series bold +[-1.5cm] +\family roman +\series medium + +\begin_inset Quotes erd +\end_inset + + +\begin_inset Marginal +status collapsed + +\begin_layout Standard +Esta nota está 1.5\InsetSpace \thinspace{} +cm por encima de su posición original. +\end_layout + +\end_inset + + +\family default +\series default + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +[-1.5cm] +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace defskip +\end_inset + +Con +\series bold +marginnote +\series default + también puedes cambiar la alineación del texto en el margen. + Por ejemplo los comandos +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewcommand*{ +\backslash +raggedleftmarginnote}{ +\backslash +centering} +\newline + +\backslash +renewcommand*{ +\backslash +raggedrightmarginnote}{ +\backslash +centering} +\end_layout + +\begin_layout Standard +producen alineación centrada. + +\series bold + +\backslash +raggedleftmarginnote +\series default + identifica las notas que aparecen al lado izquierdo. +\family roman +\series medium + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewcommand*{ +\backslash +raggedleftmarginnote}{ +\backslash +centering} +\end_layout + +\begin_layout Standard + + +\backslash +renewcommand*{ +\backslash +raggedrightmarginnote}{ +\backslash +centering} +\end_layout + +\end_inset + + +\begin_inset Marginal +status open + +\begin_layout Standard +El texto de esta nota está centrado. +\end_layout + +\end_inset + + +\family default +\series default +El valor predeterminado es +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +renewcommand*{ +\backslash +raggedleftmarginnote}{ +\backslash +raggedleft} +\newline + +\backslash +renewcommand*{ +\backslash +raggedrightmarginnote}{ +\backslash +raggedright} +\family roman +\series medium + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewcommand*{ +\backslash +raggedleftmarginnote}{ +\backslash +raggedleft} +\end_layout + +\begin_layout Standard + + +\backslash +renewcommand*{ +\backslash +raggedrightmarginnote}{ +\backslash +raggedright} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace defskip +\end_inset + +Para otras características de +\series bold +marginnote +\series default + mira en su documentación +\begin_inset LatexCommand cite +key "marginnote" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +El diseño de las notas al margen puede ser redefinido. + Por ejemplo, para crear una cabecera para todas las notas con el texto + +\begin_inset Quotes erd +\end_inset + + +\family sans +\series bold +\bar under +Atención +\family default +\series default +\bar default + +\begin_inset Quotes eld +\end_inset + +, subrayado, sans-serif en negrita, añade lo siguiente en el preámbulo: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +let +\backslash +myMarginpar +\backslash +marginpar +\newline + +\backslash +renewcommand{ +\backslash +marginpar}[1]{ +\backslash +myMarginpar{% +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +hspace{0pt} +\backslash +textsf{ +\backslash +textbf{ +\backslash +underbar{¡Atención!}}}% +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + + +\backslash +vspace{1.5mm} +\backslash + +\backslash +#1}} +\end_layout + +\begin_layout Standard + +\family roman +\series medium +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +let +\backslash +myMarginpar +\backslash +marginpar +\end_layout + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +marginpar}[1]{ +\backslash +myMarginpar{% +\end_layout + +\begin_layout Standard + + +\backslash +textsf{ +\backslash +textbf{ +\backslash +underbar{¡Atención!}}}% +\end_layout + +\begin_layout Standard + + +\backslash +vspace{1.5mm} +\backslash + +\backslash +#1}} +\end_layout + +\end_inset + + +\begin_inset Marginal +status open + +\begin_layout Standard +Esta es una nota con una cabecera definida. +\end_layout + +\end_inset + + +\family default +\series default + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +[-1.5cm] +\end_layout + +\end_inset + + +\family roman +\series medium + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +renewcommand{ +\backslash +marginpar}[1]{ +\backslash +myMarginpar{#1}} +\end_layout + +\end_inset + + +\family default +\series default + +\begin_inset Note Note +status collapsed + +\begin_layout Standard +El formato de la nota al margen se ha cambiado solo para este ejemplo. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Chapter +Cuadros +\end_layout + +\begin_layout Section +Introducción +\begin_inset LatexCommand index +name "Cuadros ! Introducción" + +\end_inset + + +\end_layout + +\begin_layout Standard +Los cuadros se emplean para dar formato a bloques de texto. + Se pueden usar para escribir documentos con varios lenguajes, ver sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Minipáginas" + +\end_inset + +, enmarcar textos, ver sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Cuadros-Enmarcados" + +\end_inset + +, evitar la división de palabras, ver sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Prevención-de-la-Partición-con-Guiones" + +\end_inset + +, alinear texto, ver sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Alineación-Vertical" + +\end_inset + +, o para poner color de fondo a un texto, ver sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Cuadros-Coloreados" + +\end_inset + +. +\end_layout + +\begin_layout Standard +Se insertan con el menú Insertar\SpecialChar \menuseparator +Cuadro. + Surge un recuadro gris con la etiqueta +\family sans +Cuadro (Minipágina) +\family default +: +\begin_inset Graphics + filename ../clipart/CuadroMinipag.png + scale 75 + keepAspectRatio + +\end_inset + +. + El tipo de cuadro se puede elegir al hacer click-derecho sobre él. + Sale un diálogo en el que +\family sans +Cuadro +\family default +\InsetSpace ~ + +\family sans +interior +\family default + permite escoger los tipos +\family sans +Parbox ( +\family default + +\begin_inset Quotes eld +\end_inset + + +\family sans +Párrafo +\family default + +\begin_inset Quotes erd +\end_inset + + +\family sans +) +\family default + y +\family sans +Minipágina +\family default +. + El +\family sans +Minipágina +\family default + es el predeterminado para nuevos cuadros y se explica en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Minipáginas" + +\end_inset + +; el tipo +\family sans +Parbox +\family default + se describe en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Cuadros-de-Párrafo" + +\end_inset + +. +\end_layout + +\begin_layout Standard +Los cuadros no se numeran y por tanto no se pueden referenciar como los + flotantes o las notas al pie. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Nota: +\series default + Debido a un error en LyX hay que insertar un espacio protegido detrás de + un cuadro si se desea separar con un espacio el cuadro y el texto siguiente. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Nota: +\series default + Los cuadros no deben ser el item en un entorno +\family sans +Enumeración +\family default + o +\family sans +Descripción +\family default +. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Nota: +\series default + Por razones desconocidas solo se puede poner el tipo +\family sans +Cuadro\InsetSpace ~ +interior +\family default + en +\family sans +Ninguno +\family default + cuando se emplea un cuadro enmarcado. + Los cuadros sin ningún tipo de +\family sans +Cuadro\InsetSpace ~ +interior +\family default + y sin marcos se explican en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Prevención-de-la-Partición-con-Guiones" + +\end_inset + +. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Diálogo Cuadros +\begin_inset LatexCommand index +name "Cuadros ! Diálogo" + +\end_inset + + +\begin_inset LatexCommand index +name "Cuadros ! Alineación" + +\end_inset + + +\end_layout + +\begin_layout Standard +En el diálogo puedes ajustar la geometría del cuadro en los campos +\family sans +Ancho +\family default + y +\family sans +Alto +\family default +. + Las unidades disponibles para la geometría se explican en la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Unidades" + +\end_inset + +. + El campo +\family sans +Alto +\family default + ofrece los siguientes tamaños adicionales: +\end_layout + +\begin_layout Description +Profundidad Este es el texto plano +\begin_inset Quotes eld +\end_inset + +alto +\begin_inset Quotes erd +\end_inset + +. + Ignora la profundidad total cuando hay mútiples líneas de texto en el cuadro: +\newline + +\newline + +\newline + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "12col%" +special "none" +height "1in" +height_special "depth" +status open + +\begin_layout Standard +\align center +Cuadro con altura establecida en 1\InsetSpace \thinspace{} +Profundidad +\end_layout + +\end_inset + + +\newline + +\newline + +\end_layout + +\begin_layout Description +Alto Es la altura del texto que está dentro del cuadro. + Un valor de, p.\InsetSpace \thinspace{} +e.\InsetSpace ~ +2 para este tamaño fijará la altura del cuadro a 2 veces + la altura del texto: +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "20col%" +special "none" +height "2in" +height_special "height" +status open + +\begin_layout Standard +\align center +Cuadro con altura puesta en 2\InsetSpace \thinspace{} +Alto +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Description +Alto\InsetSpace ~ +Total Esto es el Alto\InsetSpace \thinspace{} ++\InsetSpace \thinspace{} +Profundidad: +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "20col%" +special "none" +height "1in" +height_special "totalheight" +status open + +\begin_layout Standard +\align center +Cuadro con altura puesta a 1\InsetSpace \thinspace{} +Alto\InsetSpace ~ +total +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Description +Ancho Esto determina al ancho del cuadro como altura: +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "12col%" +special "none" +height "1in" +height_special "width" +status open + +\begin_layout Standard +\align center +Cuadro con altura puesta en 1\InsetSpace \thinspace{} +Ancho +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Si has elegido un +\family sans +Cuadro\InsetSpace ~ +interior +\family default +, la alineación vertical del cuadro puede ser: +\end_layout + +\begin_layout Description +Superior Ejemplo de línea de texto. + +\begin_inset Box Boxed +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "12col%" +special "none" +height "1in" +height_special "totalheight" +status open + +\begin_layout Standard +\align center +Cuadro alineado arriba. +\end_layout + +\end_inset + +\InsetSpace ~ +Ejemplo de línea de texto. +\end_layout + +\begin_layout Description +Medio Ejemplo de línea de texto. + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "12col%" +special "none" +height "1in" +height_special "totalheight" +status open + +\begin_layout Standard +\align center +Cuadro alineado enmedio. +\end_layout + +\end_inset + +\InsetSpace ~ +Ejemplo de línea de texto. +\end_layout + +\begin_layout Description +Inferior Ejemplo de línea de texto. + +\begin_inset Box Boxed +position "b" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "12col%" +special "none" +height "1in" +height_special "totalheight" +status open + +\begin_layout Standard +\align center +Cuadro alineado abajo. +\end_layout + +\end_inset + +\InsetSpace ~ +Ejemplo de línea de texto. +\end_layout + +\begin_layout Standard +La alineación horizontal del cuadro puede establecerse en el diálogo de + configuración de párrafo de LyX si colocas el cuadro en su propio párrafo. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Cuando has escogido un +\family sans +Cuadro\InsetSpace ~ +interior +\family default +, el contenido puede alinearse verticalmente a: +\end_layout + +\begin_layout Description +Superior Ejemplo de línea de texto. + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "t" +use_parbox 0 +width "12col%" +special "none" +height "1.5in" +height_special "totalheight" +status open + +\begin_layout Standard +\align center +Cuadro con texto alineado arriba. +\end_layout + +\end_inset + +\InsetSpace ~ +Ejemplo de línea de texto. +\end_layout + +\begin_layout Description +Medio Ejemplo de línea de texto. + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "12col%" +special "none" +height "1.5in" +height_special "totalheight" +status open + +\begin_layout Standard +\align center +Cuadro con texto alineado enmedio. +\end_layout + +\end_inset + +\InsetSpace ~ +Ejemplo de línea de texto. +\end_layout + +\begin_layout Description +Inferior Ejemplo de línea de texto. + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "b" +use_parbox 0 +width "12col%" +special "none" +height "1.5in" +height_special "totalheight" +status open + +\begin_layout Standard +\align center +Cuadro con texto alineado abajo. +\end_layout + +\end_inset + +\InsetSpace ~ +Ejemplo de línea de texto. +\end_layout + +\begin_layout Description +Estirado Ejemplo de línea de texto. + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "s" +use_parbox 0 +width "12col%" +special "none" +height "1.5in" +height_special "totalheight" +status open + +\begin_layout Standard +\align center +Este texto +\end_layout + +\begin_layout Standard +\align center +está +\end_layout + +\begin_layout Standard +\align center +estirado. +\end_layout + +\end_inset + +\InsetSpace ~ +Ejemplo de línea de texto. +\end_layout + +\begin_layout Standard +Para estirar el contenido debe tener más de un párrafo. + En el ejemplo anterior cada línea de texto está en un párrafo propio. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Para estirar horizontalmente el contenido usa el diálogo de párrafos de + LyX cuando hayas escogido un +\family sans +Cuadro\InsetSpace ~ +interior +\family default +. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "s" +use_parbox 0 +width "15col%" +special "none" +height "1.25in" +height_special "totalheight" +status open + +\begin_layout Standard +\align left +Cuadro +\end_layout + +\begin_layout Standard +\align center +con texto +\end_layout + +\begin_layout Standard +\align right +estirado +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Si no has estabecido un +\family sans +Cuadro\InsetSpace ~ +interior +\family default +, puedes alinear horizontalmente el contenido del cuadro en el diálogo de + cuadro. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Box Boxed +position "c" +hor_pos "s" +has_inner_box 0 +inner_pos "s" +use_parbox 0 +width "90col%" +special "none" +height "1.25in" +height_special "totalheight" +status open + +\begin_layout Standard +\align left +Texto estirado horizontalmente. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Cuadros Enmarcados +\begin_inset LatexCommand label +name "sec:Cuadros-Enmarcados" + +\end_inset + + +\begin_inset LatexCommand index +name "Cuadros ! Marcos" + +\end_inset + + +\end_layout + +\begin_layout Standard +El estilo de marco del cuadro se puede determinar en la lista desplegable + +\family sans +Tipo +\family default + del diálogo de cuadros. + Son posibles los siguientes marcos: +\end_layout + +\begin_layout Description +Marco\InsetSpace ~ +rectangular Dibuja un marco rectangular alrededor del cuadro. + El grosor del marco depende de +\series bold + +\backslash +fboxrule +\series default +. + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "20col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +\align center +Cuadro rectangular +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Description +Marco\InsetSpace ~ +ovalado,\InsetSpace ~ +fino Dibuja un marco ovalado cuya línea tiene un grosor de + 0.4\InsetSpace \thinspace{} +pt. + +\begin_inset Box ovalbox +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "20col%" +special "none" +height "1in" +height_special "totalheight" +status open + +\begin_layout Standard +\align center +Marco ovalado, fino +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Description +Marco\InsetSpace ~ +ovalado,\InsetSpace ~ +grueso Dibuja un marco ovalado cuya línea tiene un grosor de + 0.8\InsetSpace \thinspace{} +pt. + +\begin_inset Box Ovalbox +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "20col%" +special "none" +height "1in" +height_special "totalheight" +status open + +\begin_layout Standard +\align center +Cuadro ovalado, grueso +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Description +Marco\InsetSpace ~ +con\InsetSpace ~ +sombra Dibuja un cuadro rectangular con sombra alrededor del cuadro. + El grosor de la línea tiene el tamaño dado por +\series bold + +\backslash +fboxrule +\series default +, la sombra tiene una anchura de 4\InsetSpace \thinspace{} +pt. + +\begin_inset Box Shadowbox +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "20col%" +special "none" +height "1in" +height_special "totalheight" +status open + +\begin_layout Standard +\align center +Marco sombrado +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Description +Marco\InsetSpace ~ +doble Dibuja un rectángulo de línea doble alrededor del cuadro. + El grosor de la línea interior es 0.75\InsetSpace \thinspace{} + +\series bold + +\backslash +fboxrule +\series default +, el de la línea exterior es 1.5\InsetSpace \thinspace{} + +\series bold + +\backslash +fboxrule +\series default +. + La distancia entre líneas es 1.5\InsetSpace \thinspace{} + +\series bold + +\backslash +fboxrule +\series default +\InsetSpace \thinspace{} ++\InsetSpace \thinspace{} +0.5\InsetSpace \thinspace{} +pt. + +\begin_inset Box Doublebox +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "20col%" +special "none" +height "1in" +height_special "totalheight" +status open + +\begin_layout Standard +\align center +Marco doble +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +La etiqueta del recuadro en LyX cambiará según el estilo de marco elegido. + Para poder utilizar los distintos marcos, debe estar instalado el paquete + LaTeX +\series bold +fancybox +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! fancybox" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +El valor predeterminado por +\series bold + +\backslash +fboxrule +\series default + es 0.4\InsetSpace \thinspace{} +pt. + Puede cambiarse con el siguiente comando en ERT, p.\InsetSpace \thinspace{} +e.\InsetSpace ~ +a\InsetSpace ~ +2\InsetSpace \thinspace{} +pt: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +setlength{ +\backslash +fboxrule}{2pt} +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +fboxrule}{2pt} +\end_layout + +\end_inset + + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "25col%" +special "none" +height "1in" +height_special "totalheight" +status open + +\begin_layout Standard +\align center +Cuadro rectangular con +\series bold + +\backslash +fboxrule +\series default +\InsetSpace \thinspace{} +=\InsetSpace \thinspace{} +2\InsetSpace \thinspace{} +pt +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +fboxrule}{0.4pt} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +El espacio entre el marco y el contenido del cuadro es 3\InsetSpace \thinspace{} +pt por defecto para + todos los estilos. + Se puede cambiar mediante la longitud +\series bold + +\backslash +fboxsep +\series default +. + Por ejemplo el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +setlength{ +\backslash +fboxsep}{10pt} +\end_layout + +\begin_layout Standard +determina un valor de 10\InsetSpace \thinspace{} +pt, como en el siguiente cuadro: +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +fboxsep}{10pt} +\end_layout + +\end_inset + + +\begin_inset Box Boxed +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "25col%" +special "none" +height "1in" +height_special "totalheight" +status open + +\begin_layout Standard +\align center +Cuadro rectangular con +\series bold + +\backslash +fboxsep +\series default +\InsetSpace \thinspace{} +=\InsetSpace \thinspace{} +10\InsetSpace \thinspace{} +pt +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +fboxsep}{3pt} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +El diámetro de las esquinas de los cuadros ovalados se puede modificar con + el comando +\series bold + +\backslash +cornersize +\series default +. + El comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cornersize*{1cm} +\end_layout + +\begin_layout Standard +establece un diámetro de 1\InsetSpace \thinspace{} +cm. + El comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +cornersize{num} +\end_layout + +\begin_layout Standard +fija el diámetro en +\family sans +num\InsetSpace \thinspace{} +×\InsetSpace \thinspace{} +minimo(ancho y alto del cuadro) +\family default +. + Por defecto es +\series bold + +\backslash +cornersize{0.5} +\series default +. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cornersize*{1.5cm} +\end_layout + +\end_inset + + +\begin_inset Box Ovalbox +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "25col%" +special "none" +height "1in" +height_special "totalheight" +status open + +\begin_layout Standard +\align center +Cuadro ovalado con +\series bold + +\backslash +cornersize +\series default +\InsetSpace \thinspace{} +=\InsetSpace \thinspace{} +1.5\InsetSpace \thinspace{} +cm +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +cornersize{0.5} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +El tamaño de la sombra se puede ajustar cambiando la longitud +\series bold + +\backslash +shadowsize +\series default +. + Este comando la ajusta a 2\InsetSpace \thinspace{} +pt en el cuadro siguiente: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +setlength{ +\backslash +shadowsize}{2pt} +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +shadowsize}{2pt} +\end_layout + +\end_inset + + +\begin_inset Box Shadowbox +position "c" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "25col%" +special "none" +height "1in" +height_special "totalheight" +status open + +\begin_layout Standard +\align center +Cuadro sombreado con +\series bold + +\backslash +shadowsize +\series default +\InsetSpace \thinspace{} +=\InsetSpace \thinspace{} +2\InsetSpace \thinspace{} +pt +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +setlength{ +\backslash +shadowsize}{4pt} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Los cambios en las dimensiones son válidos para todos los cuadros que siguen + a los comandos. +\end_layout + +\begin_layout Section +Minipáginas +\begin_inset LatexCommand label +name "sec:Minipáginas" + +\end_inset + + +\begin_inset LatexCommand index +name "Cuadros ! Minipáginas" + +\end_inset + + +\end_layout + +\begin_layout Standard +Las minipáginas son tratadas por LaTeX como páginas dentro de páginas y + por tanto pueden tener, por ejemplo, sus propias notas al pie. +\end_layout + +\begin_layout Standard +Las minipáginas son útiles para escribir documentos con distintos lenguajes. +\end_layout + +\begin_layout Standard +A continuación hay dos ejemplos de minipáginas adosadas. + Su anchura está puesta en 45\InsetSpace \thinspace{} +col% y separadas por un relleno horizontal, + insertado via el menú +\family sans +Insertar\SpecialChar \menuseparator +Formato\InsetSpace ~ + +\family default +es +\family sans +pecial\InsetSpace ~ +\SpecialChar \menuseparator +Relleno\InsetSpace ~ +horizontal +\family default +. +\end_layout + +\begin_layout Standard +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "45col%" +special "none" +height "1in" +height_special "totalheight" +status open + +\begin_layout Standard + +\lang german +Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text +\begin_inset Foot +status collapsed + +\begin_layout Standard + +\lang german +Dies ist eine deutsche Fußnote. +\end_layout + +\end_inset + +. + Dies ist ein deutscher Text. + Dies ist ein deutscher Text. +\end_layout + +\end_inset + + +\hfill + +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "45col%" +special "none" +height "1in" +height_special "totalheight" +status open + +\begin_layout Standard +This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. + This is an English Text. +\begin_inset Foot +status collapsed + +\begin_layout Standard +This is an English footnote. +\end_layout + +\end_inset + + This is an English Text. + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Otra aplicación de los cuadros son las notas a pie en tablas. + Debido a una restricción de LaTeX las notas a pie en tablas no aparecen + al final de la página actual. + Pero si pones la tabla con notas al pie en una minipágina, las notas aparecen + en la parte inferior, ordenadas con letras. + La ordenación de las notas al pie se restablece en cada minipágina pero + no fuera de las minipáginas. +\end_layout + +\begin_layout Standard +La nota al pie en esta tabla no aparece: +\begin_inset Tabular + + + + + + + + +\begin_inset Text + +\begin_layout Standard +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3 +\begin_inset Foot +status open + +\begin_layout Standard +Nota al pie en una tabla. +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +4 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\begin_layout Standard +\align center +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "c" +use_parbox 0 +width "30col%" +special "none" +height "1in" +height_special "totalheight" +status open + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + + +\begin_inset Text + +\begin_layout Standard +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +2 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3 +\begin_inset Foot +status open + +\begin_layout Standard +Nota al pie en una tabla.. +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +4 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +d +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +e +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +f +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +g +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +h +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +La configuración global de párrafos se ignora en las minipáginas. + Esto significa que en las mismas no habrá espacio entre párrafos aunque + pongas p.\InsetSpace \thinspace{} +e.\InsetSpace ~ + +\family sans +Salto\InsetSpace ~ +medio +\family default + en la configuración del documento. +\end_layout + +\begin_layout Standard +Las minipáginas también sirven para poner un color de fondo para partes + de texto, ver sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Color-en-Párrafos" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status collapsed + +\begin_layout Standard + +\series bold +Nota: +\series default + No puedes tener flotantes o notas al margen en minipáginas pero sí puedes + tener minipáginas en tablas, flotantes, y otros cuadros. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Cuadros de Párrafo (Parbox) +\begin_inset LatexCommand label +name "sec:Cuadros-de-Párrafo" + +\end_inset + + +\begin_inset LatexCommand index +name "Cuadros ! de Párrafo" + +\end_inset + + +\end_layout + +\begin_layout Standard +Los cuadros de párrafo son similares a las minipáginas con la diferencia + de que no pueden contener notas al pie. + La diferencia principal es que las minipáginas no son verdaderos cuadros + sino entornos de LaTeX. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "t" +use_parbox 1 +width "33col%" +special "none" +height "1in" +height_special "totalheight" +status collapsed + +\begin_layout Standard +Texto en un cuadro de párrafo. + Texto en un cuadro de párrafo. + Esta nota no aparece: +\begin_inset Foot +status open + +\begin_layout Standard +Esta es una nota en cuadro de párrafo y por eso no aparecerá. +\end_layout + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Cuadros para Palabras y Caracteres +\begin_inset LatexCommand index +name "Cuadros ! para Palabras y Caracteres" + +\end_inset + + +\end_layout + +\begin_layout Subsection +Prevención de la Partición con Guiones +\begin_inset LatexCommand label +name "sec:Prevención-de-la-Partición-con-Guiones" + +\end_inset + + +\begin_inset LatexCommand index +name "Cuadros ! Prevenir Partición con Guiones" + +\end_inset + + +\end_layout + +\begin_layout Standard +Hay un tipo especial de cuadro para impedir que una palabra sea partida + con guión. +\newline +He aquí un ejemplo: +\end_layout + +\begin_layout Standard +Esta línea es un ejemplo para mostrar cómo prevenir la división de p.\InsetSpace \thinspace{} +e.\InsetSpace ~ +estalarguís +imapalabra. +\end_layout + +\begin_layout Standard +Para evitar su división usa el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +mbox{ +\end_layout + +\begin_layout Standard +en ERT antes de la palabra. + Tras ella inserta una llave de cierre +\begin_inset Quotes eld +\end_inset + + +\series bold +} +\series default + +\begin_inset Quotes erd +\end_inset + + en ERT. +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +pagebreak +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Este es el resultado: +\end_layout + +\begin_layout Standard +Esta línea es un ejemplo para mostrar cómo prevenir la división de p.\InsetSpace \thinspace{} +e.\InsetSpace ~ + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +mbox{ +\end_layout + +\end_inset + +estalarguísimapalabra. +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Por supuesto, la palabra sobresale del margen. + Para evitarlo, añade via el menú +\family sans +Insertar\SpecialChar \menuseparator +Formato\InsetSpace ~ +especial\InsetSpace ~ +\SpecialChar \menuseparator +Salto\InsetSpace ~ +de\InsetSpace ~ + +\family default +línea (atajo +\series bold +Ctrl-Return +\series default +) un salto de línea antes de la palabra: +\end_layout + +\begin_layout Standard +Esta línea es un ejemplo para mostrar cómo prevenir la división de p.\InsetSpace \thinspace{} +e.\InsetSpace ~ + +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +mbox{ +\end_layout + +\end_inset + +estalarguísimapalabra. +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Alineación Vertical +\begin_inset LatexCommand label +name "sub:Alineación-Vertical" + +\end_inset + + +\begin_inset LatexCommand index +name "Cuadros ! para Alineación Vertical" + +\end_inset + + +\end_layout + +\begin_layout Standard +Con ayuda del comando +\series bold + +\backslash +raisebox +\series default + puedes alinear verticalmente con el texto circundante palabras o caracteres. + +\series bold + +\backslash +raisebox +\series default + se utiliza según el esquema: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +raisebox{elevación}[altura][profundidad]{contenido del cuadro} +\end_layout + +\begin_layout Standard +La elevación puede ser un valor positivo para subir el cuadro o negativo + para bajarlo. +\end_layout + +\begin_layout Standard +Para alinear una palabra, p.\InsetSpace \thinspace{} +e\InsetSpace ~ + +\begin_inset Quotes eld +\end_inset + +prevención +\begin_inset Quotes erd +\end_inset + + para que la parte inferior de la letra más +\begin_inset Quotes eld +\end_inset + +profunda +\begin_inset Quotes erd +\end_inset + + +\begin_inset Quotes eld +\end_inset + +p +\begin_inset Quotes erd +\end_inset + + esté en la línea de base, inserta el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +raisebox{ +\backslash +depth}{ +\end_layout + +\begin_layout Standard +en ERT antes de la palabra. + Detrás de la palabra inserta una llave de cierre +\begin_inset Quotes eld +\end_inset + + +\series bold +} +\series default + +\begin_inset Quotes erd +\end_inset + + en ERT. +\newline +Este es el resultado: +\end_layout + +\begin_layout Standard +Esto es una línea de texto con la palabra +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +raisebox{ +\backslash +depth}{ +\end_layout + +\end_inset + + +\begin_inset Quotes eld +\end_inset + +prevención +\begin_inset Quotes erd +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + elevada. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Cuando eleves o bajes caracteres en una línea, se modifica el espacio entre + líneas: +\end_layout + +\begin_layout Standard +Esto es una línea de texto con la palabra +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +raisebox{- +\backslash +depth}{ +\end_layout + +\end_inset + + +\begin_inset Quotes eld +\end_inset + +prevención +\begin_inset Quotes erd +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + como palabra más baja. +\newline +Esto es una línea de texto con la palabra +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +raisebox{0.5cm}{ +\end_layout + +\end_inset + + +\begin_inset Quotes eld +\end_inset + +testigo +\begin_inset Quotes erd +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + como palabra más alta. +\end_layout + +\begin_layout Standard +Si por alguna razón quieres impedir esto, pon la altura de cuadro a cero. + Por ejemplo +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +raisebox{- +\backslash +depth}[0pt]{ +\end_layout + +\begin_layout Standard +Esto es una línea de texto con la palabra +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +raisebox{- +\backslash +depth}[0pt]{ +\end_layout + +\end_inset + + +\begin_inset Quotes eld +\end_inset + +prevención +\begin_inset Quotes erd +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + como palabra más baja. +\newline +Esto es una línea de texto con la palabra +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +raisebox{0.5cm}[0pt]{ +\end_layout + +\end_inset + + +\begin_inset Quotes eld +\end_inset + +testigo +\begin_inset Quotes erd +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + como palabra más alta. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +El comando +\series bold + +\backslash +raisebox +\series default + es útil para insertar espacio vertical extra para ciertas filas de tabla + de modo que su contenido esté más separado de las líneas circundantes. + En la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Dos-tablas-que" + +\end_inset + + las filas con subíndice y exponente obtienen espacio extra al elevarlas + con un cuadro vacío: El comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +raisebox{5mm}{} +\end_layout + +\begin_layout Standard +se ha insertado en las filas de la tabla. +\end_layout + +\begin_layout Standard +Para añadir espacio extra vertical a todas las filas de todas las tablas, + sería más conveniente el método descrito en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sub:Altura-Extra-de-Fila" + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset Float table +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Dos-tablas-que" + +\end_inset + +Dos tablas que muestran el efecto de espacio vertical extra con +\backslash + +\series bold +raisebox +\end_layout + +\begin_layout Standard + +\hfill + +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Standard +sin +\series bold + +\backslash +raisebox +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +Commando +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Resultado +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +B_V +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $B_{V}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +B^V +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $B^{V}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +B^ +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +textvisiblespace +\end_layout + +\end_inset + +A +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $B^{A}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hspace{2pt} +\end_layout + +\end_inset + + +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Standard +sin +\series bold + +\backslash +raisebox +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +Comando +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +Resultado +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +B_V +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $B_{V}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +B^V +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $\raisebox{5mm}{}B^{V}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +B^ +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +textvisiblespace +\end_layout + +\end_inset + +A +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +\begin_inset Formula $\raisebox{5mm}{}B^{A}$ +\end_inset + + +\end_layout + +\end_inset + + + + +\end_inset + + +\hfill + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +Cuadros Coloreados +\begin_inset LatexCommand label +name "sec:Cuadros-Coloreados" + +\end_inset + + +\begin_inset LatexCommand index +name "Cuadros ! Color" + +\end_inset + + +\end_layout + +\begin_layout Subsection +Color en Texto +\begin_inset LatexCommand index +name "Color ! en Texto" + +\end_inset + + +\end_layout + +\begin_layout Standard +Para colorear el fondo de un texto, éste debe ponerse en un cuadro coloreado. + Esto requiere cargar el paquete LaTeX +\series bold +color +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! color" + +\end_inset + + en el preámbulo del documento con +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +@ifundefined{textcolor} +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +hphantom{ } +\end_layout + +\end_inset + +{ +\backslash +usepackage{color}}{} +\end_layout + +\begin_layout Standard +LyX cargará automáticamente el paquete +\series bold +color +\series default + cuando colorees texto +\begin_inset Foot +status open + +\begin_layout Standard +Para evitar cargarlo dos veces se usa el comando +\series bold + +\backslash +@ifundefined +\series default +. +\end_layout + +\end_inset + +. +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + +Los cuadros coloreados se crean con el comando +\series bold + +\backslash +colorbox +\series default +, de acuerdo con el siguiente esquema: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +colorbox{color}{contenido del cuadro} +\end_layout + +\begin_layout Standard +El contenido también puede ser un cuadro y los cuadros coloreados también + pueden estar en otros cuadros. +\end_layout + +\begin_layout Standard +Los siguientes colores están predefinidos: +\newline + +\family sans +black +\family default +, +\family sans +blue +\family default +, +\family sans +cyan +\family default +\series bold +, +\family sans +\series default +green +\family default +, +\family sans +magenta +\family default +, +\family sans +red +\family default +, +\family sans +white +\family default +, +\family sans +yellow +\family default +. +\newline +También puedes definir tus propios colores según se explica en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Tablas-Coloreadas" + +\end_inset + +. +\end_layout + +\begin_layout Standard +Por ejemplo, para poner fondo rojo a una palabra, inserta el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +colorbox{red}{ +\end_layout + +\begin_layout Standard +en ERT antes de la palabra. + Tras la palabra inserta una llave de cierre +\begin_inset Quotes eld +\end_inset + + +\series bold +} +\series default + +\begin_inset Quotes erd +\end_inset + + en ERT. +\newline +Este es el resultado: +\end_layout + +\begin_layout Standard +Línea en la que la palabra +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +colorbox{red}{ +\end_layout + +\end_inset + + +\begin_inset Quotes eld +\end_inset + +¡Atención! +\begin_inset Quotes erd +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + tiene fondo rojo. +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Si quieres un marco de distinto color, puedes emplear el comando +\series bold + +\backslash +fcolorbox +\series default + con el esquema siguiente: +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +fcolorbox{color del marco}{color del cuadro}{contenido del cuadro} +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +fcolorbox +\series default + es una extensión de +\series bold + +\backslash +colorbox +\series default +. + El grosor del marco y el espacio entre él y el contenido se puede ajustar + con las longitudes +\series bold + +\backslash +fboxrule +\series default + y +\series bold + +\backslash +fboxsep +\series default +, respectivamente, como se describe en la sección\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "sec:Cuadros-Enmarcados" + +\end_inset + +. +\end_layout + +\begin_layout Standard +Para el ejemplo siguiente se ha utilizado el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +fcolorbox{cyan}{magenta}{ +\end_layout + +\begin_layout Standard +Este es un ejemplo en el que se ha puesto un grosor de 1\InsetSpace \thinspace{} +mm para la línea + del marco: +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +fboxrule 1mm +\backslash +fboxsep 1mm +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +fcolorbox{cyan}{magenta}{ +\end_layout + +\end_inset + +Texto en un marco coloreado y enmarcado. +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Por supuesto también puedes colorear el texto en un marco coloreado: +\newline + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +fcolorbox{cyan}{magenta}{ +\end_layout + +\end_inset + + +\color yellow +Texto coloreado en un marco sombreado y coloreado. +\color none + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +fboxrule 0.4pt +\backslash +fboxsep 3pt +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard + +\series bold +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Nota: +\series default + El texto en cuadros coloreados no puede tener saltos de línea. + Para colorear líneas o párrafos múltiples, usa un cuadro dentro de un cuadro + coloreado como se describe a continuación. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Subsection +Color en Párrafos +\begin_inset LatexCommand label +name "sub:Color-en-Párrafos" + +\end_inset + + +\begin_inset LatexCommand index +name "Color ! en Párrafos" + +\end_inset + + +\end_layout + +\begin_layout Standard +Para poner color de fondo en más de una línea, pon el texto en una minipágina. + Antes de la minipágina inserta el comando +\series bold + +\backslash +colorbox +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +colorbox{color}{ +\end_layout + +\begin_layout Standard +en ERT. + Detrás de la minipágina inserta una llave de cierre +\begin_inset Quotes eld +\end_inset + + +\series bold +} +\series default + +\begin_inset Quotes erd +\end_inset + + en ERT. +\end_layout + +\begin_layout Standard +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +colorbox{grisclaro}{ +\end_layout + +\end_inset + + +\begin_inset Box Frameless +position "t" +hor_pos "c" +has_inner_box 1 +inner_pos "t" +use_parbox 0 +width "100col%" +special "none" +height "1in" +height_special "totalheight" +status open + +\begin_layout Standard +Texto con color de fondo. + Texto con color de fondo. +\end_layout + +\begin_layout Standard +\begin_inset VSpace defskip +\end_inset + +El texto puede tener notas al pie +\begin_inset Foot +status open + +\begin_layout Standard +Otro ejemplo de nota +\end_layout + +\end_inset + + y puede incluir tablas y figuras. +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + + +\begin_inset Text + +\begin_layout Standard +a +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +! +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +3 +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +< +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +b2 +\begin_inset Quotes erd +\end_inset + +| +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +> +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +1 +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +§ +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +c +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +URLs (Localizador Universal de Recursos) +\begin_inset LatexCommand index +name "URLs" + +\end_inset + + +\end_layout + +\begin_layout Standard +Los enlaces a páginas web o direcciones de correo se insertan con el menú + +\family sans +Insertar\SpecialChar \menuseparator +URL +\family default +. + Surge un diálogo con dos campos; el campo +\family sans +URL +\family default + y el campo +\family sans +Nombre +\family default + para la descripción del URL, que saldrá impreso como texto normal inmediatament +e antes del URL. +\end_layout + +\begin_layout Standard +He aquí un ejemplo de URL: +\begin_inset LatexCommand url +name "Página de LyX" +target "http://www.lyx.org" + +\end_inset + + +\end_layout + +\begin_layout Standard +La opción +\family sans +Generar\InsetSpace ~ +hiperenlace +\family default + en el diálogo URL sólo tiene efecto al exportar el documento al formato + +\begin_inset Quotes eld +\end_inset + + +\family sans +LinuxDoc +\family default + +\begin_inset Quotes erd +\end_inset + +. +\end_layout + +\begin_layout Standard +No se puede cambiar el estilo del texto del enlace. + El texto del campo +\family sans +Nombre +\family default + tendrá el estilo de texto predeterminado para el documento mientras que + el texto del campo +\family sans +URL +\family default + tendrá el estilo +\begin_inset Quotes eld +\end_inset + + +\family sans +Typewriter +\family default + +\begin_inset Quotes erd +\end_inset + +. +\end_layout + +\begin_layout Standard +Cuando usas el paquete LaTeX +\series bold +hyperref +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! hyperref" + +\end_inset + + para enlazar referencias cruzadas, en las salidas DVI y PDF los URLs se + convierten automáticamente en hiperenlaces pinchables. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status open + +\begin_layout Standard + +\series bold +Nota: +\series default +Cuando utilices los caracteres: "%", "#", "^", debes escribirlos precedidos + por una barra invertida, p.\InsetSpace \thinspace{} +e.\InsetSpace ~ + +\begin_inset Quotes eld +\end_inset + + +\backslash +# +\begin_inset Quotes erd +\end_inset + +. + Los URLs no deben finalizar con una barra invertida. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset VSpace bigskip +\end_inset + +Para crear hiperenlaces reales sin tener que escribir la dirección del enlace + en el texto, puedes usar el comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +href{dirección del enlace}{texto del enlace} +\end_layout + +\begin_layout Standard +en ERT. + Por ejemplo, para conseguir un enlace a la página web de LyX, escribe el + comando +\end_layout + +\begin_layout Standard + +\series bold + +\backslash +href{http://www.lyx.org}{ +\end_layout + +\begin_layout Standard +en ERT. + Inserta después del comando el texto del enlace +\begin_inset Quotes eld +\end_inset + +Página de LyX +\begin_inset Quotes erd +\end_inset + + seguido por una llave en ERT. + Este es el resultado: +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{http://www.lyx.org}{ +\end_layout + +\end_inset + +Página de LyX +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Para enlazar a direcciones de correo, añade el prefijo +\begin_inset Quotes eld +\end_inset + + +\family sans +mailto: +\family default + +\begin_inset Quotes erd +\end_inset + + a la dirección del enlace: +\newline +Correo para +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{ +\end_layout + +\end_inset + +la lista de correo de documentación de LyX (lyx-docs) +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + +. +\end_layout + +\begin_layout Standard +Emplear +\series bold + +\backslash +href +\series default + en vez del cuadro URL de LyX tiene la ventaja de que puedes especificar + el estilo de texto del enlace para todas las demás partes del texto y que + puedes cambiar el estilo de texto para todos los URLs en el documento con + una opción en el comando de carga de +\series bold +hyperref +\series default +. + Además las restricciones mencionadas antes no se aplican a +\series bold + +\backslash +href +\series default +. + +\end_layout + +\begin_layout Standard + +\end_layout + +\begin_layout Standard + +\newpage + +\end_layout + +\begin_layout Chapter +\start_of_appendix +Unidades disponibles en +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +texorpdfstring{ +\end_layout + +\end_inset + +LyX +\begin_inset ERT +status collapsed + +\begin_layout Standard + +}{LyX} +\end_layout + +\end_inset + + +\begin_inset LatexCommand index +name "Unidades" + +\end_inset + + +\begin_inset LatexCommand label +name "cha:Unidades-disponibles-en" + +\end_inset + + +\begin_inset Note Note +status collapsed + +\begin_layout Standard +El comando +\backslash +texorpdfstring suministrado por el paquete LaTeX hyperref impide que los + enlaces se muestren erróneamente en los marcadores PDF. + Más información en +\begin_inset LatexCommand cite +key "hyperref" + +\end_inset + +. +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Para comprender las unidades descritas en este manual, la Tabla\InsetSpace ~ + +\begin_inset LatexCommand ref +reference "tab:Unidades" + +\end_inset + + describe todas las unidades disponibles en LyX. +\end_layout + +\begin_layout Standard +\begin_inset Float table +placement h +wide false +sideways false +status open + +\begin_layout Caption +\begin_inset LatexCommand label +name "tab:Unidades" + +\end_inset + +Unidades +\end_layout + +\begin_layout Standard +\begin_inset VSpace medskip +\end_inset + + +\end_layout + +\begin_layout Standard +\align center +\begin_inset Tabular + + + + + + +\begin_inset Text + +\begin_layout Standard +unidad +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +nombre/descripción +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +mm +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +milímetro +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +cm +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +centímetro +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +in +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +pulgada +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +pt +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +punto (72.27\InsetSpace \thinspace{} +pt = 1\InsetSpace \thinspace{} +in) +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +pc +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +pica (1\InsetSpace \thinspace{} +pc = 12\InsetSpace \thinspace{} +pt) +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +sp +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +punto escalado (65536\InsetSpace \thinspace{} +sp = 1\InsetSpace \thinspace{} +pt) +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +bp +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +punto grande (72\InsetSpace \thinspace{} +bp = 1\InsetSpace \thinspace{} +in) +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +dd +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +didot (72\InsetSpace \thinspace{} +dd +\begin_inset Formula $\approx$ +\end_inset + + 37.6\InsetSpace \thinspace{} +mm) +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +cc +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +cicero (1\InsetSpace \thinspace{} +cc = 12\InsetSpace \thinspace{} +dd) +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +Escala% +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +% de anchura original de la imagen +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +text% +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +% de anchura de texto +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +col% +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +% de anchura de columna +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +page% +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +% de anchura de página +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +line% +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +% de anchura de línea +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +theight% +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +% de altura de texto +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +pheight% +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +% de altura de página +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +ex +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +altura de la letra +\emph on +x +\emph default + en la fuente actual +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +em +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +anchura de la letra +\emph on +M +\emph default + en la fuente actual +\end_layout + +\end_inset + + + + +\begin_inset Text + +\begin_layout Standard +mu +\end_layout + +\end_inset + + +\begin_inset Text + +\begin_layout Standard +unidad matemática (1\InsetSpace \thinspace{} +mu = 1/18\InsetSpace \thinspace{} +em) +\end_layout + +\end_inset + + + + +\end_inset + + +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Chapter +Formatos de Archivos de Salida con Gráficos +\begin_inset LatexCommand label +name "cha:Formatos-de-Archivos-de-Salida" + +\end_inset + + +\end_layout + +\begin_layout Section +DVI +\begin_inset LatexCommand index +name "Formatos de Archivo ! DVI" + +\end_inset + + +\begin_inset LatexCommand index +name "DVI|see{Formatos de Archivo}" + +\end_inset + + +\end_layout + +\begin_layout Standard +Este tipo de archivo tiene la extensión +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.dvi +\family default + +\begin_inset Quotes erd +\end_inset + +. + Se denomina +\begin_inset Quotes eld +\end_inset + +device-independent +\begin_inset Quotes erd +\end_inset + + (DVI), porque es completamente portable; se pueden mover de una máquina + a otra sin necesidad de conversión alguna. + En la época en que se desarrolló este formato, esto no era un asunto baladí. + DVIs se usan para previsualizaciones rápidas y preparación para otros formatos + de salida como PostScript. +\end_layout + +\begin_layout Standard +\begin_inset Note Greyedout +status collapsed + +\begin_layout Standard + +\series bold +Nota: +\series default + Los archivos DVI no contienen imágenes, sino enlaces a ellas. +\end_layout + +\end_inset + + Por tanto no debes olvidar esto si mueves archivos +\family typewriter +.dvi +\family default + a otro ordenador. + Esta característica también puede retardar la visualización del archivo, + porque el visor DVI tiene que convertir la imagen en segundo plano para + hacerla visible al deslizar el visor. + Así pues recomendamos usar PDF para archivos con muchas imágenes. +\end_layout + +\begin_layout Standard +Un documento se exporta a DVI con el menú +\family sans +Archivo\SpecialChar \menuseparator +Exportar\SpecialChar \menuseparator +DVI +\family default + o el botón +\begin_inset Graphics + filename ../clipart/buffer-view_dvi.png + scale 85 + +\end_inset + +. +\begin_inset Note Note +status collapsed + +\begin_layout Standard +N. + del t. + Yo no veo este botón ¿? +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Section +PostScript +\begin_inset LatexCommand label +name "sec:PostScript" + +\end_inset + + +\begin_inset LatexCommand index +name "Formatos de Archivo ! PostScript" + +\end_inset + + +\begin_inset LatexCommand index +name "PostScript|see{Formatos de Archivo}" + +\end_inset + + +\end_layout + +\begin_layout Standard +Este tipo de archivo tiene la extensión +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.ps +\family default + +\begin_inset Quotes erd +\end_inset + +. + PostScript fue desarrollado por la compañía +\family typewriter +Adobe +\family default + como lenguaje para impresoras. + Por eso estos archivos contienen comandos que usa la impresora para imprimirlos. + PostScript puede considerarse como un +\begin_inset Quotes eld +\end_inset + +lenguaje de programación +\begin_inset Quotes erd +\end_inset + +; con él puedes calcular y dibujar imágenes y diagramas +\begin_inset Foot +status collapsed + +\begin_layout Standard +Si estás interesado en este tema acude al paquete LaTeX +\series bold +PSTricks +\series default + +\begin_inset LatexCommand cite +key "pstricks" + +\end_inset + +. +\end_layout + +\end_inset + +. + Por esto los archivos suelen ser más grandes que los PDFs. +\end_layout + +\begin_layout Standard +Los archivos PostScript solo pueden contener imágenes en el formato +\begin_inset Quotes eld +\end_inset + +Encapsulated PostScript +\begin_inset Quotes erd +\end_inset + + (EPS, extensión +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.eps +\family default + +\begin_inset Quotes erd +\end_inset + +). + Como LyX permite usar cualquier formato de imagen conocido, tiene que trabajar + en segundo plano para convertir las imágenes a EPS. + Si por ejemplo, el documento tiene 50 imágenes, LyX ha de hacer 50 conversiones + cada vez que veas o exportes el documento. + Esto ralentizará mucho el trabajo, así que si piensas usar PostScript, + puedes evitar el problema insertando las imágenes directamente en EPS. +\end_layout + +\begin_layout Standard +El documento se puede exportar a PostScript con el menú +\family sans +Archivo\SpecialChar \menuseparator +Exportar\SpecialChar \menuseparator +Postscript +\family default +. +\end_layout + +\begin_layout Section +PDF +\begin_inset LatexCommand label +name "sec:PDF" + +\end_inset + + +\begin_inset LatexCommand index +name "Formatos de Archivo ! PDF" + +\end_inset + + +\begin_inset LatexCommand index +name "PDF" + +\end_inset + + +\end_layout + +\begin_layout Standard +Este tipo de archivo tiene la extensión +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.pdf +\family default + +\begin_inset Quotes erd +\end_inset + +. + El formato +\begin_inset Quotes eld +\end_inset + +Portable Document Format +\begin_inset Quotes erd +\end_inset + + (PDF) fue desarrollado por +\family typewriter +Adobe +\family default + como derivado de PostScript. + Es más comprimido y utiliza muchos menos comandos que PostScript. + Como su nombre +\begin_inset Quotes eld +\end_inset + +portable +\begin_inset Quotes erd +\end_inset + + indica, puede ser procesado por cualquier sistema operativo y la salida + impresa se muestra exactamente igual. +\end_layout + +\begin_layout Standard +PDF puede contener imágenes en su propio formato PDF, en el formato +\begin_inset Quotes eld +\end_inset + +Joint Photographic Experts Group +\begin_inset Quotes erd +\end_inset + + (JPG, extensión +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.jpg +\family default + +\begin_inset Quotes erd +\end_inset + + o +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.jpeg +\family default + +\begin_inset Quotes erd +\end_inset + +), y en el formato +\begin_inset Quotes eld +\end_inset + +Portable Network Graphics +\begin_inset Quotes erd +\end_inset + + (PNG, extensión +\begin_inset Quotes eld +\end_inset + + +\family typewriter +.png +\family default + +\begin_inset Quotes erd +\end_inset + +). + Aunque puedes poner cualquier otro formato de imagen, porque LyX los convierte + en segundo plano a alguno de los anteriores. + Pero como se ha comentado en la sección sobre PostScript, la conversión + de gráficos ralentiza el trabajo. + Por tanto se recomienda utilizar alguno de los tres formatos de imagen + mencionados. +\end_layout + +\begin_layout Standard +Un documento se puede exportar a PDF via el menú +\family sans +Archivo\SpecialChar \menuseparator +Exportar +\family default + en tres modos diferentes: +\end_layout + +\begin_layout Description +PDF Este utiliza el programa +\family typewriter +ps2pdf +\family default + que crea un PDF a partir de una versión PostScript del archivo. + La versión PostScript es producida por el programa +\family typewriter +dvips +\family default + que usa una versión DVI como paso intermedio. + Así que este modo de exportación consta de tres conversiones. +\end_layout + +\begin_layout Description +PDF\InsetSpace ~ +(dvipdfm) Este utiliza el programa +\family typewriter +dvipdfm +\family default + que convierte el archivo a DVI en segundo plano y en un segundo paso a + PDF. +\end_layout + +\begin_layout Description +PDF\InsetSpace ~ +(pdflatex) Este utiliza el programa +\family typewriter +pdftex +\family default + que convierte directamente el archivo a PDF. + Alternativamente se puede usar el botón +\begin_inset Graphics + filename ../clipart/buffer-export_pdf2.png + scale 85 + +\end_inset + +. +\begin_inset Note Note +status collapsed + +\begin_layout Standard +N. + del t. + Yo no veo este botón ¿? +\end_layout + +\end_inset + + +\end_layout + +\begin_layout Standard +Se recomienda usar +\family sans +PDF\InsetSpace ~ +(pdflatex) +\family default + porque +\family typewriter +pdftex +\family default + soporta todas las características de las versiones actuales de PDF, es + rápido y estable. + El programa +\family typewriter +dvipdfm +\family default + ya no se desarrolla y está un poco obsoleto. +\end_layout + +\begin_layout Chapter +Explicación de la Ecuación\InsetSpace ~ + +\begin_inset LatexCommand eqref +reference "eq:Wgn" + +\end_inset + + +\begin_inset LatexCommand label +name "cha:Explicación-de-la-Ecuación" + +\end_inset + + +\end_layout + +\begin_layout Standard +La anchura total de +\emph on +n +\emph default + celdas de una tabla +\begin_inset Formula $W_{\mathrm{tot\, n}}$ +\end_inset + + puede calcularse con +\end_layout + +\begin_layout Standard +\begin_inset Formula \begin{equation} +W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation} + +\end_inset + + +\end_layout + +\begin_layout Standard +donde +\begin_inset Formula $W_{g\, n}$ +\end_inset + + es el ancho dado de todas las celdas. + +\series bold + +\backslash +tabcolsep +\series default + es la longitud LaTeX entre el texto y el borde de la celda, 6\InsetSpace \thinspace{} +pt por defecto. + +\series bold + +\backslash +arrayrulewidth +\series default + es el grosor de línea del borde, 0.4\InsetSpace \thinspace{} +pt por defecto. +\end_layout + +\begin_layout Standard +Procediendo como en la ecuación\InsetSpace ~ + +\begin_inset LatexCommand eqref +reference "eq:Wtot_n" + +\end_inset + +, el ancho total de una multicolumna, +\begin_inset Formula $W_{\mathrm{tot\, mult}}$ +\end_inset + + es +\end_layout + +\begin_layout Standard +\begin_inset Formula \begin{equation} +W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation} + +\end_inset + + +\end_layout + +\begin_layout Standard +Igualando las ecuaciones\InsetSpace ~ + +\begin_inset LatexCommand eqref +reference "eq:Wtot_n" + +\end_inset + + y +\begin_inset LatexCommand eqref +reference "eq:Wtot_mult" + +\end_inset + + podemos calcular el ancho dado necesario +\begin_inset Formula $W_{g\, n}$ +\end_inset + + cuando se expanden +\emph on +n +\emph default + columnas, de forma que cada una de ellas tiene una anchura total +\begin_inset Formula $W_{\mathrm{tot\, mult}}/n$ +\end_inset + +: +\end_layout + +\begin_layout Standard +\begin_inset Formula \begin{equation} +W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation} + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "latexcompanion" + +\end_inset + +Frank Mittelbach and Michel Goossens: +\emph on +The LaTeX Companion Second Edition. + +\emph default +Addison-Wesley, 2004 +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "latexguide" + +\end_inset + +Helmut Kopka and Patrick W. + Daly: +\emph on +A Guide to LaTeX Fourth Edition. + +\emph default +Addison-Wesley, 2003 +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "latexbook" + +\end_inset + +Leslie Lamport: +\emph on +LaTeX: A Document Preparation System. + +\emph default +Addison-Wesley, second edition, 1994 +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "booktabs" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf} +{ +\end_layout + +\end_inset + +Documentación +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + del paquete LaTeX +\series bold +booktabs +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! booktabs" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "caption" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{ +\end_layout + +\end_inset + +Documentación +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + del paquete LaTeX +\series bold +caption +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! caption" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "caption-de" + +\end_inset + +(En Alemán) +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf} +{ +\end_layout + +\end_inset + +Documentación +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + del paquete LaTeX +\series bold +caption +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "endfloat" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf} +{ +\end_layout + +\end_inset + +Documentación +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + del paquete LaTeX +\series bold +endfloat +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! endfloat" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "floatflt" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf} +{ +\end_layout + +\end_inset + +Documentación +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + del paquete LaTeX +\series bold +floatflt +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! floatflt" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "footmisc" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf} +{ +\end_layout + +\end_inset + +Documentación +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + del paquete LaTeX +\series bold +footmisc +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! footmisc" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "hypcap" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{ +\end_layout + +\end_inset + +Documentación +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + del paquete LaTeX +\series bold +hypcap +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! hyperref" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "hyperref" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf} +{ +\end_layout + +\end_inset + +Documentación +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + del paquete LaTeX +\series bold +hyperref +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! hyperref" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "koma-script" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p +df}{ +\end_layout + +\end_inset + +Documentación +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + del paquete LaTeX +\series bold +koma-script +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! koma-script" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "koma-script-de" + +\end_inset + +(En Alemán) +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p +df}{ +\end_layout + +\end_inset + +Documentación +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + del paquete LaTeX +\series bold +koma-script +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! koma-script" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "marginnote" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote. +pdf}{ +\end_layout + +\end_inset + +Documentación +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + del paquete LaTeX +\series bold +marginnote +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! marginnote" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "pstricks" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{http://tug.org/PSTricks/main.cgi/}{ +\end_layout + +\end_inset + +Página Web +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + del paquete LaTeX +\series bold +PSTricks +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! PSTricks" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "sidecap" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{ +\end_layout + +\end_inset + +Documentación +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + del paquete LaTeX +\series bold +sidecap +\series default + +\begin_inset LatexCommand index +name "LaTeX-paquetes ! sidecap" + +\end_inset + + +\end_layout + +\begin_layout Bibliography +\begin_inset LatexCommand bibitem +key "NewInLyX15" + +\end_inset + + +\begin_inset ERT +status collapsed + +\begin_layout Standard + + +\backslash +href{http://wiki.lyx.org/LyX/NewInLyX15}{ +\end_layout + +\end_inset + +Wiki página +\begin_inset ERT +status collapsed + +\begin_layout Standard + +} +\end_layout + +\end_inset + + sobre características nuevas previstas para la versión +\family sans +LyX\InsetSpace ~ +1.5 +\family default +. +\end_layout + +\begin_layout Standard +\begin_inset LatexCommand printindex + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset FloatList figure + +\end_inset + + +\end_layout + +\begin_layout Standard +\begin_inset FloatList table + +\end_inset + + +\end_layout + +\end_body +\end_document diff --git a/lib/ui/stdmenus.inc b/lib/ui/stdmenus.inc index 5c04632f47..0d8dbb621d 100644 --- a/lib/ui/stdmenus.inc +++ b/lib/ui/stdmenus.inc @@ -464,6 +464,7 @@ Menuset Item "Introduction|I" "help-open Intro" Item "Tutorial|T" "help-open Tutorial" Item "User's Guide|U" "help-open UserGuide" + Item "Extended-Insets|n" "help-open Extended-Insets" Item "Extended Features|E" "help-open Extended" Item "Customization|C" "help-open Customization" Item "FAQ|F" "help-open FAQ"