1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/
9 % that links to image floats jumps
10 % to the beginning of the float and
12 \usepackage[figure]{hypcap}
14 % the pages of the TOC are numbered roman
15 % and a PDF-bookmark for the TOC is added
16 \let\myTOC\tableofcontents
17 \renewcommand\tableofcontents{%
19 \pdfbookmark[1]{\contentsname}{}
23 % provides caption formatting
24 \usepackage[labelfont={bf,sf}]{caption}[2004/07/16]
26 % provides commands to set caption
27 % beside tables/images
28 \newcommand{\TabBesBeg}[1][1.0]{%
30 \let\MyEndtable\endtable
31 \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}}
33 \newcommand{\TabBesEnd}{%
35 \let\endtable\MyEndtable}
37 \newcommand{\FigBesBeg}[1][1.0]{%
39 \let\MyEndfigure\endfigure
40 \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}
42 \newcommand{\FigBesEnd}{%
44 \let\endfigure\MyEndfigure}
46 % enables calculation of values,
49 % increase the bottom float placement fraction
50 \renewcommand{\bottomfraction}{0.5}
52 % avoids that floats are placed before their
53 % corresponding section starts
54 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
56 % speed up the longtable calculation
57 \setcounter{LTchunksize}{100}
59 % used for colored tables
60 \@ifundefined{textcolor}
61 {\usepackage{color}}{}
62 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
63 \definecolor{lightgrey}{gray}{0.8}
65 % check for package colortbl
66 % used for colored table cells
68 \IfFileExists{colortbl.sty}
69 {\usepackage{colortbl}
70 \setboolean{colortbl}{true}}
71 {\setboolean{colortbl}{false}}
73 % used to have extra space in table cells
74 \@ifundefined{extrarowheight}
75 {\usepackage{array}}{}
76 \setlength{\extrarowheight}{2pt}
78 % used for customized tables
81 {>{\centering\hspace{0pt}}m{#1}}
84 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
87 {>{\columncolor{#1}\hspace{0pt}}c}
89 \newcolumntype{V}{!{\vrule width 1.5pt}}
91 \newcolumntype{W}{!{\color{green}\vline}}
94 % insert additional vertical space of
95 % 1.5 mm between footnotes
97 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
99 % number algorithm floats within chapters
100 \numberwithin{algorithm}{chapter}
102 % ------------------------------------
103 % used to check for needed LaTeX packages
106 % check for package arydshln
107 % used for tables with dashed lines
108 \newboolean{arydshln}
109 \IfFileExists{arydshln.sty}
110 {\usepackage{arydshln}
111 \setboolean{arydshln}{true}}
112 {\setboolean{arydshln}{false}}
114 % check for package marginnote
115 % used for margin notes
116 \newboolean{marginnote}
117 \IfFileExists{marginnote.sty}
118 {\usepackage{marginnote}
119 \let\marginpar\marginnote
120 \setboolean{marginnote}{true}}
121 {\setboolean{marginnote}{false}}
123 % check for package sidecap
124 % used for captions on the side
126 \IfFileExists{sidecap.sty}
127 {\usepackage{sidecap}
128 \setboolean{sidecap}{true}}
129 {\setboolean{sidecap}{false}}
132 % used for surrounded fixed objects
133 \newboolean{picinpar}
134 \IfFileExists{picinpar.sty}
135 {\usepackage{picinpar}
136 \setboolean{picinpar}{true}}
137 {\setboolean{picinpar}{false}}
140 \newboolean{lettrine}
141 \IfFileExists{lettrine.sty}
142 {\usepackage{lettrine}
143 \setboolean{lettrine}{true}}
144 {\setboolean{lettrine}{false}}
148 \IfFileExists{diagbox.sty}
149 {\usepackage{diagbox}
150 \setboolean{diagbox}{true}}
151 {\setboolean{diagbox}{false}}
153 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,dvipsnames,table
154 \use_default_options false
160 \maintain_unincluded_children no
162 \language_package default
165 \font_roman "lmodern" "default"
166 \font_sans "lmss" "default"
167 \font_typewriter "lmtt" "default"
168 \font_math "auto" "auto"
169 \font_default_family default
170 \use_non_tex_fonts false
172 \font_roman_osf false
174 \font_typewriter_osf false
175 \font_sf_scale 100 100
176 \font_tt_scale 100 100
178 \use_dash_ligatures true
180 \default_output_format pdf2
182 \bibtex_command default
183 \index_command makeindex
187 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
188 \pdf_author "LyX Team, Uwe Stöhr"
189 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
190 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
192 \pdf_bookmarksnumbered true
193 \pdf_bookmarksopen true
194 \pdf_bookmarksopenlevel 1
195 \pdf_breaklinks false
199 \pdf_pdfusetitle false
200 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
203 \use_package amsmath 1
204 \use_package amssymb 1
205 \use_package cancel 1
207 \use_package mathdots 1
208 \use_package mathtools 1
209 \use_package mhchem 1
210 \use_package stackrel 1
211 \use_package stmaryrd 1
212 \use_package undertilde 1
214 \cite_engine_type default
218 \paperorientation portrait
224 \notefontcolor #0000ff
231 \paragraph_separation skip
234 \math_numbering_side default
235 \quotes_style english
239 \paperpagestyle default
241 \tracking_changes true
242 \output_changes false
244 \postpone_fragile_content false
247 \html_be_strict false
248 \author -712698321 "Jürgen Spitzmüller"
255 's detailed Figure, Table, Floats, Notes, Boxes and External Material manual
259 by the \SpecialChar LyX
264 \begin_layout Plain Layout
266 If you have comments or error corrections, please send them to the \SpecialChar LyX
269 \begin_inset CommandInset href
271 name "lyx-docs@lists.lyx.org"
272 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
284 \begin_inset Note Note
287 \begin_layout Plain Layout
294 \begin_inset Newline newline
298 \begin_inset Newline newline
306 \begin_layout Standard
307 \begin_inset CommandInset toc
308 LatexCommand tableofcontents
315 \begin_layout Standard
316 \begin_inset Note Note
319 \begin_layout Plain Layout
320 To export all parts of this document to PDF, PS, or DVI the \SpecialChar LaTeX
331 diagbox, lettrine, marginnote, picinpar
338 If they are not installed you can export the document anyway but the sections
339 where the packages are required won't appear in the output.
342 \begin_layout Plain Layout
343 The latest PDF-version of this document can be found here:
344 \begin_inset Newline newline
349 https://wiki.lyx.org/LyX/Manuals#EmbeddedObjects
357 \begin_layout Chapter
359 \begin_inset Index idx
362 \begin_layout Plain Layout
369 \begin_inset Index idx
372 \begin_layout Plain Layout
377 \begin_layout Plain Layout
388 \begin_layout Plain Layout
403 \begin_layout Section
405 \begin_inset Index idx
408 \begin_layout Plain Layout
409 Figures ! Graphics Dialog
415 \begin_inset CommandInset label
417 name "sec:Graphics-Dialog"
424 \begin_layout Standard
425 To insert an image into your document, place the cursor at the text position
426 you want and click on the toolbar icon
429 arg "dialog-show-new-inset graphics"
434 Insert\SpecialChar menuseparator
438 Then a dialog will appear to choose the file to load.
439 The image will appear in the output exactly at the position where it is
443 \begin_layout Standard
444 The graphics dialog can be called at any time by clicking on an image.
445 This dialog has three tabs:
448 \begin_layout Description
453 Here you can choose an image file and adjust its appearance in the output.
454 The available units for the image size are explained in appendix
459 \begin_inset CommandInset ref
461 reference "cha:Units-available-in"
466 \begin_inset Newline newline
470 \begin_inset Index idx
473 \begin_layout Plain Layout
479 You can rotate images counter-clockwise by setting a rotation angle and
481 The image will also be rotated inside \SpecialChar LyX
483 \begin_inset Newline newline
487 \begin_inset Index idx
490 \begin_layout Plain Layout
496 Images can be scaled by using a percentage value or by setting the width
497 and height explicitly.
498 If you set only the width or only the height, the other size will be determined
500 If you set both, then the image will be transformed to the given size,
501 possibly distorting it.
502 To prevent the image from distortion, use the option
504 Maintain aspect ratio
507 The image will then be scaled so that its width and height don't exceed
508 the specified dimensions.
509 \begin_inset Newline newline
512 Images can be opened in a program of your choice by right-clicking on it
513 and choosing the entry
522 The program can be set for every image format in the file format settings
527 \begin_layout Description
532 Alternatively to the usage of scaling units it is possible to set image
533 coordinates to adjust the height and width of the image in the output.
534 The coordinates can also be calculated automatically by pressing the button
564 will only print the image region within the given coordinates.
565 Normally you don't need to worry about image coordinates and can ignore
569 \begin_layout Description
586 In this tab you can modify the appearance of the image within \SpecialChar LyX
587 and \SpecialChar LaTeX
589 can specify additional \SpecialChar LaTeX
591 \begin_inset Newline newline
602 makes the image appear in the output only as a frame with the size of the
604 \begin_inset Newline newline
615 you can define or join an image settings group.
616 \begin_inset Index idx
619 \begin_layout Plain Layout
620 Figures ! Settings grouping
625 Images within such a group share their settings, so adjusting one image
626 of the group automatically also adjusts all other images of the group in
628 So you can for example change the size for a bunch of images without the
629 need to manually change each of them.
630 Joining an existing group can also be done using the context menu of the
631 image by checking the name of the desired group.
634 \begin_layout Standard
635 \begin_inset VSpace bigskip
641 \begin_layout Standard
642 This is an example image in PDF format
646 \begin_layout Plain Layout
647 Image formats are explained in section
652 \begin_inset CommandInset ref
654 reference "sec:Image-Formats"
663 within a separate, horizontally centered paragraph:
666 \begin_layout Standard
668 \begin_inset Graphics
669 filename clipart/2D-intensity-plot.pdf
678 \begin_layout Standard
679 This is the same image like the one above but in draft mode:
682 \begin_layout Standard
684 \begin_inset Graphics
685 filename clipart/2D-intensity-plot.pdf
695 \begin_layout Standard
696 \begin_inset Newpage newpage
702 \begin_layout Section
704 \begin_inset CommandInset label
706 name "sec:Figure-Floats"
711 \begin_inset Index idx
714 \begin_layout Plain Layout
721 \begin_inset Index idx
724 \begin_layout Plain Layout
733 \begin_layout Standard
734 For general explanations about floats, have a look at section
739 \begin_inset CommandInset ref
741 reference "sec:FloatIntroduction"
748 \begin_layout Standard
752 arg "float-insert figure"
757 Insert\SpecialChar menuseparator
758 Float\SpecialChar menuseparator
761 inserts a float with a caption that has the label
762 \begin_inset Quotes eld
770 \begin_inset Quotes erd
773 (# is the actual number).
774 You can insert the image above the caption, like in Figure
779 \begin_inset CommandInset ref
781 reference "fig:A-star-in"
785 or below the caption, like in Figure
790 \begin_inset CommandInset ref
792 reference "fig:A-3D-object"
797 More about caption placement is described in section
802 \begin_inset CommandInset ref
804 reference "sec:Caption-Placement"
811 \begin_layout Standard
812 \begin_inset Float figure
819 \begin_layout Plain Layout
821 \begin_inset Graphics
822 filename clipart/Star-structure.pdf
833 \begin_layout Plain Layout
834 \begin_inset Caption Standard
836 \begin_layout Plain Layout
837 \begin_inset CommandInset label
856 \begin_layout Standard
857 \begin_inset Float figure
864 \begin_layout Plain Layout
865 \begin_inset Caption Standard
867 \begin_layout Plain Layout
868 \begin_inset CommandInset label
870 name "fig:A-3D-object"
882 \begin_layout Plain Layout
884 \begin_inset Graphics
885 filename clipart/3D-structure-distort.pdf
901 \begin_layout Standard
902 \begin_inset Index idx
905 \begin_layout Plain Layout
906 References ! to Figures
916 \begin_inset CommandInset ref
918 reference "fig:A-star-in"
923 \begin_inset CommandInset ref
925 reference "fig:A-3D-object"
929 are examples of referenced figures.
930 Figures can be referenced in the text by referencing their label.
931 To do this insert a label in the caption using the menu
933 Insert\SpecialChar menuseparator
936 or the toolbar button
943 You can now refer to the label using the menu
945 Insert\SpecialChar menuseparator
952 or the toolbar button
955 arg "dialog-show-new-inset ref"
959 It is important to use references to floats, rather than using vague references
961 \begin_inset Quotes eld
965 \begin_inset Quotes erd
968 , because \SpecialChar LaTeX
969 will reposition the floats in the final document and it might
971 \begin_inset Quotes eld
975 \begin_inset Quotes erd
979 \begin_inset Newline newline
982 Referencing is explained in detail in section
987 \begin_inset CommandInset ref
989 reference "sec:Referencing-Floats"
996 \begin_layout Standard
997 Normally only one image is inserted to a figure float, but sometimes you
998 might want to use two images with separate subcaptions.
999 This can be done by inserting image floats into existing image floats.
1000 Note that only the main caption of the float is added to the List of Figures.
1002 \begin_inset space ~
1006 \begin_inset CommandInset ref
1008 reference "fig:Two-distorted-images"
1012 is an example of a figure float with two images set side by side.
1013 You can also set the images one below the other.
1015 \begin_inset space ~
1019 \begin_inset CommandInset ref
1021 reference "fig:Pink-object"
1026 \begin_inset CommandInset ref
1028 reference "fig:A-star"
1035 \begin_layout Standard
1036 \begin_inset Float figure
1043 \begin_layout Plain Layout
1044 \begin_inset space \hfill{}
1048 \begin_inset Float figure
1055 \begin_layout Plain Layout
1056 \begin_inset Caption Standard
1058 \begin_layout Plain Layout
1059 \begin_inset CommandInset label
1061 name "fig:Pink-object"
1073 \begin_layout Plain Layout
1074 \begin_inset Graphics
1075 filename clipart/3D-structure-distort.pdf
1088 \begin_inset space \hfill{}
1092 \begin_inset Float figure
1099 \begin_layout Plain Layout
1100 \begin_inset Caption Standard
1102 \begin_layout Plain Layout
1103 \begin_inset CommandInset label
1117 \begin_layout Plain Layout
1118 \begin_inset Graphics
1119 filename clipart/Star-structure.pdf
1132 \begin_inset space \hfill{}
1138 \begin_layout Plain Layout
1139 \begin_inset Caption Standard
1141 \begin_layout Plain Layout
1142 \begin_inset CommandInset label
1144 name "fig:Two-distorted-images"
1148 Two distorted images.
1149 Both images are in the image settings group named
1150 \begin_inset Quotes eld
1154 \begin_inset Quotes erd
1170 \begin_layout Standard
1171 \begin_inset Newpage newpage
1177 \begin_layout Section
1179 \begin_inset CommandInset label
1181 name "sec:Image-Formats"
1186 \begin_inset Index idx
1189 \begin_layout Plain Layout
1196 \begin_inset Index idx
1199 \begin_layout Plain Layout
1200 Figures ! Image Formats
1208 \begin_layout Standard
1209 You can insert images in any known file format.
1210 But as explained in appendix
1211 \begin_inset space ~
1215 \begin_inset CommandInset ref
1217 reference "cha:Output-File-Formats"
1221 , each output document format allows only a few image formats.
1223 uses therefore the program
1227 in the background to convert the images to the right format.
1228 To increase your work flow by avoiding these conversions in the background,
1229 you could choose to use only the image formats that can directly be embedded
1230 in the output file format.
1231 The output file formats are explained in appendix
1232 \begin_inset space ~
1236 \begin_inset CommandInset ref
1238 reference "cha:Output-File-Formats"
1245 \begin_layout Standard
1246 Similar to fonts there are two types of image formats:
1249 \begin_layout Description
1251 \begin_inset space ~
1254 images consist of pixel values, often in a compressed form.
1255 They are therefore not fully scalable and look pixelated in large zooms.
1256 Well-known bitmap image formats are
1257 \begin_inset Quotes eld
1260 Graphics Interchange Format
1261 \begin_inset Quotes erd
1264 (GIF, file extension
1265 \begin_inset Quotes eld
1273 \begin_inset Quotes erd
1277 \begin_inset Index idx
1280 \begin_layout Plain Layout
1285 \begin_layout Plain Layout
1296 \begin_layout Plain Layout
1309 \begin_inset Quotes eld
1312 Portable Network Graphics
1313 \begin_inset Quotes erd
1316 (PNG, file extension
1317 \begin_inset Quotes eld
1325 \begin_inset Quotes erd
1329 \begin_inset Index idx
1332 \begin_layout Plain Layout
1337 \begin_layout Plain Layout
1348 \begin_layout Plain Layout
1361 \begin_inset Quotes eld
1364 Joint Photographic Experts Group
1365 \begin_inset Quotes erd
1368 (JPG, file extension
1369 \begin_inset Quotes eld
1377 \begin_inset Quotes erd
1381 \begin_inset Quotes eld
1389 \begin_inset Quotes erd
1393 \begin_inset Index idx
1396 \begin_layout Plain Layout
1401 \begin_layout Plain Layout
1412 \begin_layout Plain Layout
1427 \begin_layout Description
1429 \begin_inset space ~
1432 images consist of vectors and can therefore be scaled to any size without
1434 The scaling ability is necessary if you want to create presentations, because
1435 presentations are always scaled by the video projector.
1436 Scaling is also useful for online documents to let the user zoom into diagrams.
1437 \begin_inset Newline newline
1440 Well-known scalable image formats are
1441 \begin_inset Quotes eld
1444 Scalable Vector Graphics
1445 \begin_inset Quotes erd
1448 (SVG, file extension
1449 \begin_inset Quotes eld
1457 \begin_inset Quotes erd
1461 \begin_inset Index idx
1464 \begin_layout Plain Layout
1469 \begin_layout Plain Layout
1480 \begin_layout Plain Layout
1493 \begin_inset Quotes eld
1496 Encapsulated PostScript
1497 \begin_inset Quotes erd
1500 (EPS, file extension
1501 \begin_inset Quotes eld
1509 \begin_inset Quotes erd
1513 \begin_inset Index idx
1516 \begin_layout Plain Layout
1521 \begin_layout Plain Layout
1532 \begin_layout Plain Layout
1545 \begin_inset Quotes eld
1548 Portable Document Format
1549 \begin_inset Quotes erd
1552 (PDF, file extension
1553 \begin_inset Quotes eld
1561 \begin_inset Quotes erd
1565 \begin_inset Index idx
1568 \begin_layout Plain Layout
1575 \begin_inset Quotes eld
1579 \begin_inset Quotes erd
1582 (WMF, file extension
1583 \begin_inset Quotes eld
1591 \begin_inset Quotes erd
1595 \begin_inset Index idx
1598 \begin_layout Plain Layout
1603 \begin_layout Plain Layout
1614 \begin_layout Plain Layout
1628 \begin_inset Quotes eld
1632 \begin_inset Quotes erd
1635 , because you can convert any bitmap image to a PDF or EPS-image and the
1636 result will still be a bitmap image.
1637 In such cases only a header with the image properties is added to the original
1642 \begin_layout Plain Layout
1643 In the case of PDF, the original image is additionally compressed.
1649 The PDF-files generated by
1653 are for example bitmap images.
1656 \begin_layout Standard
1657 Normally it is not possible to convert a bitmap image into a scalable one,
1659 Only the image formats PDF and EPS can directly be embedded to PDF and
1660 PostScript output files, respectively.
1661 SVG and WMF-images are recalculated to bitmaps when the output file is
1662 generated because there is currently no adequate WMF/SVG
1663 \begin_inset Formula $\to$
1666 PDF/EPS converter available.
1669 \begin_layout Chapter
1671 \begin_inset Index idx
1674 \begin_layout Plain Layout
1683 \begin_layout Section
1685 \begin_inset Index idx
1688 \begin_layout Plain Layout
1689 Table ! Introduction
1697 \begin_layout Standard
1698 You can insert a table using either the toolbar button
1701 arg "tabular-insert"
1706 Insert\SpecialChar menuseparator
1710 The toolbar button offers you a graphical selection: move the mouse to
1711 set the column/row number of the table that should be created and then
1712 press a mouse button.
1713 When you use the menu to create a table, a dialog will appear, asking you
1714 for the number of rows and columns
1715 \change_inserted -712698321 1554289643
1716 , and you can select a specific (border) style
1719 \change_deleted -712698321 1554289644
1721 \begin_inset Newline newline
1725 \change_inserted -712698321 1554289645
1729 \begin_layout Standard
1730 The default table has lines around any cell and the first row appears separated
1731 from the rest of the table.
1732 This separation occurs due to a double line: The cells of the first row
1733 have a line below them and the cells of the second row have a line above
1735 Here is an example table:
1738 \begin_layout Standard
1740 \begin_inset Tabular
1741 <lyxtabular version="3" rows="4" columns="4">
1742 <features tabularvalignment="middle">
1743 <column alignment="center" valignment="top">
1744 <column alignment="center" valignment="top">
1745 <column alignment="center" valignment="top">
1746 <column alignment="center" valignment="top">
1748 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1751 \begin_layout Plain Layout
1757 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1760 \begin_layout Plain Layout
1775 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1778 \begin_layout Plain Layout
1784 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1787 \begin_layout Plain Layout
1795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1798 \begin_layout Plain Layout
1813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1816 \begin_layout Plain Layout
1822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1825 \begin_layout Plain Layout
1831 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1834 \begin_layout Plain Layout
1842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1845 \begin_layout Plain Layout
1860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1863 \begin_layout Plain Layout
1869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1872 \begin_layout Plain Layout
1878 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1881 \begin_layout Plain Layout
1889 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1892 \begin_layout Plain Layout
1907 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1910 \begin_layout Plain Layout
1916 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1919 \begin_layout Plain Layout
1925 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1928 \begin_layout Plain Layout
1942 \begin_layout Standard
1944 \change_inserted -712698321 1554289664
1945 This corresponds to the
1946 \begin_inset Quotes eld
1950 \begin_inset Quotes erd
1953 table style listed in the style selection.
1956 \begin_layout Standard
1958 \change_inserted -712698321 1554289664
1959 Other available styles include:
1962 \begin_layout Itemize
1964 \change_inserted -712698321 1554289664
1966 \begin_inset Quotes eld
1970 \begin_inset Quotes erd
1973 which looks line the above table, but without the first row being separated
1977 \begin_layout Itemize
1979 \change_inserted -712698321 1554289664
1980 a border-less table with no lines at all,
1983 \begin_layout Itemize
1985 \change_inserted -712698321 1554289664
1987 \begin_inset Quotes eld
1991 \begin_inset Quotes erd
1994 as often used in professional publishing with horizontal lines only and
1995 bold top/bottom lines (see
2006 \begin_layout Standard
2008 \change_inserted -712698321 1554289664
2009 The default style used in the dialog as well as the style used by the toolbar
2010 button can be changed in
2012 Document\SpecialChar menuseparator
2013 Settings\SpecialChar menuseparator
2017 So if the default style above is not the one you need, you should alter
2021 \begin_layout Section
2023 \begin_inset Index idx
2026 \begin_layout Plain Layout
2035 \begin_layout Standard
2036 You can alter a table by clicking on it with the right mouse button, which
2037 brings up the context menu.
2038 Under the menu entry
2042 you can adjust the settings of that cell and row/column respectively where
2043 the cursor is currently placed.
2046 More\SpecialChar menuseparator
2049 opens the table dialog where you can adjust more things.
2050 Most of the dialog options also work on selections.
2051 This means if you select more cells, columns or rows, the action is done
2052 for the whole selection.
2053 Note that there is a difference between selecting the
2057 of the cell, and the cell itself.
2058 \begin_inset Newline newline
2061 With the dialog option
2064 \begin_inset space ~
2069 every change you make in the dialog is directly applied.
2070 If you move the cursor to another table cell the dialog will then also
2071 be updated with the parameters of the new cell.
2072 If you change length values in the dialog you must press
2076 to get the change applied.
2077 \begin_inset Newline newline
2080 You can alter tables with the following tabs of the table dialog:
2083 \begin_layout Description
2085 \begin_inset space ~
2088 Settings Here you can set the table width
2089 \begin_inset Index idx
2092 \begin_layout Plain Layout
2098 , and the horizontal alignment and the width of the current column.
2102 \begin_inset space ~
2106 \begin_inset space ~
2111 is described in section
2112 \begin_inset space ~
2116 \begin_inset CommandInset ref
2118 reference "subsec:Special-Cell-Alignment"
2123 When you have set a width you can also adjust the vertical alignment of
2125 A given width will allow the cell to have line breaks and multiple paragraphs
2127 \begin_inset space \thinspace{}
2131 \begin_inset CommandInset ref
2133 reference "subsec:Multiple-Lines-in"
2138 If you set no width, the column is as wide as the content of its widest
2140 \begin_inset Newline newline
2143 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2145 \begin_inset space \thinspace{}
2149 \begin_inset CommandInset ref
2151 reference "subsec:Multicolumns"
2155 or the cells of one column as multirow cell, see sec.
2156 \begin_inset space \thinspace{}
2160 \begin_inset CommandInset ref
2162 reference "subsec:Multirows"
2167 \begin_inset Newline newline
2170 The rotate check boxes rotate the current cell, a selection, or the whole
2171 table counter-clockwise by 90
2172 \begin_inset space \thinspace{}
2176 The rotation is not shown within \SpecialChar LyX
2177 , only in the output.
2178 For more information see sec.
2179 \begin_inset space \thinspace{}
2183 \begin_inset CommandInset ref
2185 reference "sec:Rotated-Table-Cells"
2190 \begin_inset Newline newline
2194 \begin_inset Note Greyedout
2197 \begin_layout Plain Layout
2202 Not all DVI-viewers are able to display rotations.
2208 \begin_inset Newline newline
2211 The table-wide vertical alignment is used for tables within text lines:
2212 \begin_inset Newline newline
2215 A line with tables with different alignments:
2216 \begin_inset Tabular
2217 <lyxtabular version="3" rows="2" columns="2">
2218 <features tabularvalignment="top">
2219 <column alignment="center" valignment="top" width="0pt">
2220 <column alignment="center" valignment="top">
2222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2225 \begin_layout Plain Layout
2231 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2234 \begin_layout Plain Layout
2251 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2254 \begin_layout Plain Layout
2269 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2272 \begin_layout Plain Layout
2284 \begin_inset Tabular
2285 <lyxtabular version="3" rows="2" columns="2">
2286 <features tabularvalignment="middle">
2287 <column alignment="center" valignment="top">
2288 <column alignment="center" valignment="top">
2290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2293 \begin_layout Plain Layout
2299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2302 \begin_layout Plain Layout
2319 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2322 \begin_layout Plain Layout
2337 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2340 \begin_layout Plain Layout
2352 \begin_inset Tabular
2353 <lyxtabular version="3" rows="2" columns="2">
2354 <features tabularvalignment="bottom">
2355 <column alignment="center" valignment="top" width="0pt">
2356 <column alignment="center" valignment="top">
2358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2361 \begin_layout Plain Layout
2367 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2370 \begin_layout Plain Layout
2387 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2390 \begin_layout Plain Layout
2405 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2408 \begin_layout Plain Layout
2420 \begin_inset Newline newline
2423 It is also possible to enter a \SpecialChar LaTeX
2424 -argument which is needed for special table
2425 formattings, see sec.
2426 \begin_inset space \thinspace{}
2430 \begin_inset CommandInset ref
2432 reference "subsec:Multicolumn-Calculations"
2437 \begin_inset CommandInset ref
2439 reference "sec:Colored-Tables"
2446 \begin_layout Description
2447 Borders In this tab you can add and delete border lines for the current
2449 \begin_inset Newline newline
2452 Using the style option
2456 will convert the table to a formal table as described in sec.
2457 \begin_inset space \thinspace{}
2461 \begin_inset CommandInset ref
2463 reference "sec:Formal-Tables"
2468 \begin_inset Newline newline
2471 You can also add space here to table rows as described in sec.
2472 \begin_inset space \thinspace{}
2476 \begin_inset CommandInset ref
2478 reference "subsec:Row-Spacing"
2485 \begin_layout Description
2487 \begin_inset space ~
2490 table This tab is to make a table a multi-page table that can run over several
2493 \begin_inset space ~
2497 \begin_inset CommandInset ref
2499 reference "sec:Multi-page-Tables"
2504 \begin_inset CommandInset ref
2506 reference "sec:Special-Longtable-Issues"
2510 describe the multi-page table features in detail.
2513 \begin_layout Section
2515 \begin_inset Index idx
2518 \begin_layout Plain Layout
2527 \begin_layout Standard
2528 The table toolbar is an alternative to the table dialog to be able to alter
2530 It should normally appear at the bottom of \SpecialChar LyX
2531 's main window when the cursor
2533 You can alternatively switch it on to appear always, by right-clicking
2538 \begin_layout Standard
2539 The toolbar has the following icons:
2542 \begin_layout Labeling
2543 \labelwidthstring 00.00.0000
2546 arg "tabular-feature append-row"
2549 adds a row below the current cell or selection
2552 \begin_layout Labeling
2553 \labelwidthstring 00.00.0000
2556 arg "tabular-feature append-column"
2559 adds a column right beside the current cell or selection
2562 \begin_layout Labeling
2563 \labelwidthstring 00.00.0000
2566 arg "tabular-feature delete-row"
2569 deletes the current row or selection
2572 \begin_layout Labeling
2573 \labelwidthstring 00.00.0000
2576 arg "tabular-feature delete-column"
2579 deletes the current column or selection
2582 \begin_layout Labeling
2583 \labelwidthstring 00.00.0000
2586 arg "tabular-feature move-row-up"
2592 \begin_layout Labeling
2593 \labelwidthstring 00.00.0000
2596 arg "tabular-feature move-column-left"
2599 moves the column to the left
2602 \begin_layout Labeling
2603 \labelwidthstring 00.00.0000
2606 arg "tabular-feature move-row-down"
2612 \begin_layout Labeling
2613 \labelwidthstring 00.00.0000
2616 arg "tabular-feature move-column-right"
2619 moves the column to the right
2622 \begin_layout Labeling
2623 \labelwidthstring 00.00.0000
2626 arg "tabular-feature toggle-line-top"
2629 adds a line at the top of the current cell / row or of a selection
2632 \begin_layout Labeling
2633 \labelwidthstring 00.00.0000
2636 arg "tabular-feature toggle-line-bottom"
2639 adds a line at the bottom of the current cell / row or of a selection
2642 \begin_layout Labeling
2643 \labelwidthstring 00.00.0000
2646 arg "tabular-feature toggle-line-left"
2649 adds a line at the left side of the current cell / row or of a selection
2652 \begin_layout Labeling
2653 \labelwidthstring 00.00.0000
2656 arg "tabular-feature toggle-line-right"
2659 adds a line at the right side of the current cell / row or of a selection
2660 \change_inserted -712698321 1554289731
2664 \begin_layout Labeling
2665 \labelwidthstring 00.00.0000
2667 \change_inserted -712698321 1554289910
2670 arg "tabular-feature set-border-lines"
2673 adds a border around the currently selected cells
2678 \begin_layout Labeling
2679 \labelwidthstring 00.00.0000
2682 arg "tabular-feature set-all-lines"
2685 adds lines around the current or selected cells - if the current cell is
2686 not a multicolumn cell this also affects the current row and column
2689 \begin_layout Labeling
2690 \labelwidthstring 00.00.0000
2693 arg "tabular-feature unset-all-lines"
2696 deletes all lines of the current or selected cells - if the current cell
2697 is not a multicolumn cell this also affects the current row and column
2698 \change_inserted -712698321 1554289920
2702 \begin_layout Labeling
2703 \labelwidthstring 00.00.0000
2705 \change_inserted -712698321 1554292586
2708 arg "tabular-feature reset-formal-default"
2711 If using a formal table, this resets the border to its default (only horizontal
2712 lines in top and bottom rows)
2717 \begin_layout Labeling
2718 \labelwidthstring 00.00.0000
2721 arg "tabular-feature m-align-left"
2724 left-aligns the content of the current cell / column
2727 \begin_layout Labeling
2728 \labelwidthstring 00.00.0000
2731 arg "tabular-feature m-align-center"
2734 centers the content of the current cell / column horizontally
2737 \begin_layout Labeling
2738 \labelwidthstring 00.00.0000
2741 arg "tabular-feature m-align-right"
2744 right-aligns the content of the current cell / column
2747 \begin_layout Labeling
2748 \labelwidthstring 00.00.0000
2751 arg "tabular-feature align-decimal"
2754 aligns the content of the current column at a character
2757 \begin_layout Labeling
2758 \labelwidthstring 00.00.0000
2761 arg "tabular-feature m-valign-top"
2764 aligns the content of the current cell vertically to the top
2767 \begin_layout Labeling
2768 \labelwidthstring 00.00.0000
2771 arg "tabular-feature m-valign-middle"
2774 centers the content of the current cell vertically
2777 \begin_layout Labeling
2778 \labelwidthstring 00.00.0000
2781 arg "tabular-feature m-valign-bottom"
2784 aligns the content of the current cell vertically to the bottom
2787 \begin_layout Labeling
2788 \labelwidthstring 00.00.0000
2791 arg "tabular-feature set-rotate-cell"
2794 rotates the current cell or selection counter-clockwise by 90°
2797 \begin_layout Labeling
2798 \labelwidthstring 00.00.0000
2801 arg "tabular-feature set-rotate-tabular"
2804 rotates the whole table counter-clockwise by 90°
2807 \begin_layout Labeling
2808 \labelwidthstring 00.00.0000
2811 arg "tabular-feature multicolumn"
2814 sets the current cell or selection as a multicolumn
2817 \begin_layout Labeling
2818 \labelwidthstring 00.00.0000
2821 arg "tabular-feature multirow"
2824 sets the current cell or selection as a multirow
2827 \begin_layout Standard
2828 \begin_inset Note Greyedout
2831 \begin_layout Plain Layout
2836 For the output the vertical alignment of the first cell in a row is used
2837 for all following cells in the row.
2845 \begin_layout Section
2847 \begin_inset Index idx
2850 \begin_layout Plain Layout
2859 \begin_layout Standard
2860 In addition to the table dialog and toolbar, the menu
2862 Edit\SpecialChar menuseparator
2865 allows you to add and delete border lines for the current row/column and
2866 to set the current selection as multicolumn.
2867 The menu is only available when the cursor is inside a table.
2870 \begin_layout Section
2872 \begin_inset CommandInset label
2874 name "sec:Table-Floats"
2879 \begin_inset Index idx
2882 \begin_layout Plain Layout
2889 \begin_inset Index idx
2892 \begin_layout Plain Layout
2901 \begin_layout Standard
2902 For general explanations about floats, have a look at section
2903 \begin_inset space ~
2907 \begin_inset CommandInset ref
2909 reference "sec:FloatIntroduction"
2916 \begin_layout Standard
2917 \begin_inset Float table
2924 \begin_layout Plain Layout
2925 \begin_inset Caption Standard
2927 \begin_layout Plain Layout
2928 \begin_inset CommandInset label
2930 name "tab:a table float"
2942 \begin_layout Plain Layout
2944 \begin_inset Tabular
2945 <lyxtabular version="3" rows="3" columns="3">
2946 <features tabularvalignment="middle">
2947 <column alignment="center" valignment="top" width="0pt">
2948 <column alignment="center" valignment="top" width="0pt">
2949 <column alignment="center" valignment="top" width="0pt">
2951 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2954 \begin_layout Plain Layout
2969 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2972 \begin_layout Plain Layout
2987 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2990 \begin_layout Plain Layout
3007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3010 \begin_layout Plain Layout
3025 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3028 \begin_layout Plain Layout
3043 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3046 \begin_layout Plain Layout
3063 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3066 \begin_layout Plain Layout
3076 \begin_inset Formula $\int x^{2}dx$
3084 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3087 \begin_layout Plain Layout
3097 \begin_inset Formula $\left[\begin{array}{cc}
3108 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3111 \begin_layout Plain Layout
3121 \begin_inset Formula $1+1=2$
3142 \begin_layout Standard
3143 Table floats can be inserted using the menu
3145 Insert\SpecialChar menuseparator
3146 Float\SpecialChar menuseparator
3149 or the toolbar button
3152 arg "float-insert table"
3158 \begin_layout Standard
3159 The float appears as a collapsible box with a caption that has the label
3161 \begin_inset Quotes eld
3165 \begin_inset space ~
3169 \begin_inset Quotes erd
3172 (# is the actual table number).
3173 You can insert tables in the float above or below the caption.
3176 \begin_layout Standard
3178 \begin_inset space ~
3182 \begin_inset CommandInset ref
3184 reference "tab:a table float"
3188 is an example table within a table float.
3191 \begin_layout Standard
3192 Having the caption above the table is the common rule that is unfortunately
3193 not supported in \SpecialChar LaTeX
3194 's standard classes.
3195 This means that, if you are using the document classes
3211 , there will be no space between the caption and the table.
3212 To insert the needed space, add the following option to the load command
3213 of the \SpecialChar LaTeX
3219 \begin_inset Index idx
3222 \begin_layout Plain Layout
3229 in your document preamble:
3233 \begin_layout Plain Layout
3234 For more information have a look at section
3235 \begin_inset space ~
3239 \begin_inset CommandInset ref
3241 reference "sec:Caption-Placement"
3253 \begin_layout Standard
3259 \begin_layout Standard
3264 , which is described in section
3265 \begin_inset space ~
3269 \begin_inset CommandInset ref
3271 reference "sec:Caption-Formatting"
3275 , is used to adjust the caption format.
3278 \begin_layout Standard
3279 \begin_inset Index idx
3282 \begin_layout Plain Layout
3283 References ! to Tables
3288 Tables can be cross-referenced in the text by referencing their label.
3289 To do this insert a label in the caption using the menu
3291 Insert\SpecialChar menuseparator
3294 or the toolbar button
3301 You can now refer to the label using the menu
3303 Insert\SpecialChar menuseparator
3305 \begin_inset space ~
3310 or the toolbar button
3313 arg "dialog-show-new-inset ref"
3317 \begin_inset Newline newline
3320 Referencing is explained in detail in section
3321 \begin_inset space ~
3325 \begin_inset CommandInset ref
3327 reference "sec:Referencing-Floats"
3334 \begin_layout Section
3340 \begin_inset CommandInset label
3342 name "sec:Multi-page-Tables"
3347 \begin_inset Index idx
3350 \begin_layout Plain Layout
3357 \begin_inset Index idx
3360 \begin_layout Plain Layout
3361 Table ! Multi-page Table
3369 \begin_layout Standard
3370 If the table is too long to fit on one page, you can use the option
3373 \begin_inset space ~
3381 \begin_inset space ~
3386 of the table dialog to split the table automatically over more pages.
3387 Doing this enables the following options:
3390 \begin_layout Description
3391 Header: The current row is defined to be a header row that appears on all
3392 pages of the multi-page table; except for the first page, if
3395 \begin_inset space ~
3401 This is therefore called the main header.
3404 \begin_layout Description
3406 \begin_inset space ~
3409 header: The current row is defined to be a header row that appears on the
3410 first page of the multi-page table.
3413 \begin_layout Description
3414 Footer: The current row is defined to be a footer row that appears on all
3415 pages of the multi-page table; except for the last page, if
3418 \begin_inset space ~
3426 \begin_layout Description
3428 \begin_inset space ~
3431 footer: The current row is defined to be a footer row that appears on the
3432 last page of the multi-page table.
3435 \begin_layout Description
3436 Caption: The current row contains the table caption.
3437 The row is reset as single column and a caption is inserted.
3438 More about multi-page table captions is explained in sec.
3439 \begin_inset space \thinspace{}
3443 \begin_inset CommandInset ref
3445 reference "subsec:Multi-page-Table-Captions"
3452 \begin_layout Standard
3453 You can also specify a row where the table is split.
3454 See the following multi-page table to see how it works:
3457 \begin_layout Standard
3459 \begin_inset Tabular
3460 <lyxtabular version="3" rows="69" columns="3">
3461 <features islongtable="true" longtabularalignment="center">
3462 <column alignment="left" valignment="top" width="0cm">
3463 <column alignment="left" valignment="top" width="0pt">
3464 <column alignment="center" valignment="top" width="0pt">
3465 <row endfirsthead="true">
3466 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3469 \begin_layout Plain Layout
3472 Example Phone List (ignore the names)
3477 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3480 \begin_layout Plain Layout
3486 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3489 \begin_layout Plain Layout
3496 <row endfirsthead="true">
3497 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3500 \begin_layout Plain Layout
3508 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3511 \begin_layout Plain Layout
3517 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3520 \begin_layout Plain Layout
3529 <row endhead="true">
3530 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3533 \begin_layout Plain Layout
3541 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3544 \begin_layout Plain Layout
3550 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3553 \begin_layout Plain Layout
3560 <row endhead="true">
3561 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3564 \begin_layout Plain Layout
3572 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3575 \begin_layout Plain Layout
3581 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3584 \begin_layout Plain Layout
3593 <row endfoot="true">
3594 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3597 \begin_layout Plain Layout
3598 continued on next page
3603 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3606 \begin_layout Plain Layout
3612 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3615 \begin_layout Plain Layout
3623 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3626 \begin_layout Plain Layout
3634 <cell alignment="center" valignment="top" usebox="none">
3637 \begin_layout Plain Layout
3643 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3646 \begin_layout Plain Layout
3654 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3657 \begin_layout Plain Layout
3665 <cell alignment="center" valignment="top" usebox="none">
3668 \begin_layout Plain Layout
3674 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3677 \begin_layout Plain Layout
3685 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3688 \begin_layout Plain Layout
3696 <cell alignment="center" valignment="top" usebox="none">
3699 \begin_layout Plain Layout
3705 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3708 \begin_layout Plain Layout
3716 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3719 \begin_layout Plain Layout
3727 <cell alignment="center" valignment="top" usebox="none">
3730 \begin_layout Plain Layout
3736 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3739 \begin_layout Plain Layout
3747 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3750 \begin_layout Plain Layout
3758 <cell alignment="center" valignment="top" usebox="none">
3761 \begin_layout Plain Layout
3767 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3770 \begin_layout Plain Layout
3778 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3781 \begin_layout Plain Layout
3789 <cell alignment="center" valignment="top" usebox="none">
3792 \begin_layout Plain Layout
3798 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3801 \begin_layout Plain Layout
3809 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3812 \begin_layout Plain Layout
3820 <cell alignment="center" valignment="top" usebox="none">
3823 \begin_layout Plain Layout
3829 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3832 \begin_layout Plain Layout
3840 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3843 \begin_layout Plain Layout
3851 <cell alignment="center" valignment="top" usebox="none">
3854 \begin_layout Plain Layout
3860 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3863 \begin_layout Plain Layout
3871 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3874 \begin_layout Plain Layout
3882 <cell alignment="center" valignment="top" usebox="none">
3885 \begin_layout Plain Layout
3891 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3894 \begin_layout Plain Layout
3902 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3905 \begin_layout Plain Layout
3913 <cell alignment="center" valignment="top" usebox="none">
3916 \begin_layout Plain Layout
3922 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3925 \begin_layout Plain Layout
3933 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3936 \begin_layout Plain Layout
3944 <cell alignment="center" valignment="top" usebox="none">
3947 \begin_layout Plain Layout
3953 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3956 \begin_layout Plain Layout
3964 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3967 \begin_layout Plain Layout
3975 <cell alignment="center" valignment="top" usebox="none">
3978 \begin_layout Plain Layout
3984 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3987 \begin_layout Plain Layout
3995 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3998 \begin_layout Plain Layout
4006 <cell alignment="center" valignment="top" usebox="none">
4009 \begin_layout Plain Layout
4015 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4018 \begin_layout Plain Layout
4026 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4029 \begin_layout Plain Layout
4037 <cell alignment="center" valignment="top" usebox="none">
4040 \begin_layout Plain Layout
4046 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4049 \begin_layout Plain Layout
4057 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4060 \begin_layout Plain Layout
4068 <cell alignment="center" valignment="top" usebox="none">
4071 \begin_layout Plain Layout
4077 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4080 \begin_layout Plain Layout
4088 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4091 \begin_layout Plain Layout
4099 <cell alignment="center" valignment="top" usebox="none">
4102 \begin_layout Plain Layout
4108 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4111 \begin_layout Plain Layout
4119 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4122 \begin_layout Plain Layout
4130 <cell alignment="center" valignment="top" usebox="none">
4133 \begin_layout Plain Layout
4139 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4142 \begin_layout Plain Layout
4150 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4153 \begin_layout Plain Layout
4161 <cell alignment="center" valignment="top" usebox="none">
4164 \begin_layout Plain Layout
4170 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4173 \begin_layout Plain Layout
4181 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4184 \begin_layout Plain Layout
4192 <cell alignment="center" valignment="top" usebox="none">
4195 \begin_layout Plain Layout
4201 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4204 \begin_layout Plain Layout
4212 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4215 \begin_layout Plain Layout
4223 <cell alignment="center" valignment="top" usebox="none">
4226 \begin_layout Plain Layout
4232 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4235 \begin_layout Plain Layout
4243 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4246 \begin_layout Plain Layout
4254 <cell alignment="center" valignment="top" usebox="none">
4257 \begin_layout Plain Layout
4263 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4266 \begin_layout Plain Layout
4274 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4277 \begin_layout Plain Layout
4285 <cell alignment="center" valignment="top" usebox="none">
4288 \begin_layout Plain Layout
4294 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4297 \begin_layout Plain Layout
4305 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4308 \begin_layout Plain Layout
4316 <cell alignment="center" valignment="top" usebox="none">
4319 \begin_layout Plain Layout
4325 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4328 \begin_layout Plain Layout
4336 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4339 \begin_layout Plain Layout
4347 <cell alignment="center" valignment="top" usebox="none">
4350 \begin_layout Plain Layout
4356 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4359 \begin_layout Plain Layout
4367 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4370 \begin_layout Plain Layout
4378 <cell alignment="center" valignment="top" usebox="none">
4381 \begin_layout Plain Layout
4387 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4390 \begin_layout Plain Layout
4398 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4401 \begin_layout Plain Layout
4409 <cell alignment="center" valignment="top" usebox="none">
4412 \begin_layout Plain Layout
4418 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4421 \begin_layout Plain Layout
4429 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4432 \begin_layout Plain Layout
4440 <cell alignment="center" valignment="top" usebox="none">
4443 \begin_layout Plain Layout
4449 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4452 \begin_layout Plain Layout
4460 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4463 \begin_layout Plain Layout
4471 <cell alignment="center" valignment="top" usebox="none">
4474 \begin_layout Plain Layout
4480 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4483 \begin_layout Plain Layout
4491 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4494 \begin_layout Plain Layout
4502 <cell alignment="center" valignment="top" usebox="none">
4505 \begin_layout Plain Layout
4511 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4514 \begin_layout Plain Layout
4522 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4525 \begin_layout Plain Layout
4533 <cell alignment="center" valignment="top" usebox="none">
4536 \begin_layout Plain Layout
4542 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4545 \begin_layout Plain Layout
4553 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4556 \begin_layout Plain Layout
4564 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4567 \begin_layout Plain Layout
4573 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4576 \begin_layout Plain Layout
4584 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4587 \begin_layout Plain Layout
4593 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4596 \begin_layout Plain Layout
4602 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4605 \begin_layout Plain Layout
4613 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4616 \begin_layout Plain Layout
4624 <cell alignment="center" valignment="top" usebox="none">
4627 \begin_layout Plain Layout
4633 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4636 \begin_layout Plain Layout
4644 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4647 \begin_layout Plain Layout
4655 <cell alignment="center" valignment="top" usebox="none">
4658 \begin_layout Plain Layout
4664 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4667 \begin_layout Plain Layout
4675 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4678 \begin_layout Plain Layout
4686 <cell alignment="center" valignment="top" usebox="none">
4689 \begin_layout Plain Layout
4695 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4698 \begin_layout Plain Layout
4706 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4709 \begin_layout Plain Layout
4717 <cell alignment="center" valignment="top" usebox="none">
4720 \begin_layout Plain Layout
4726 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4729 \begin_layout Plain Layout
4737 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4740 \begin_layout Plain Layout
4748 <cell alignment="center" valignment="top" usebox="none">
4751 \begin_layout Plain Layout
4757 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4760 \begin_layout Plain Layout
4768 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4771 \begin_layout Plain Layout
4779 <cell alignment="center" valignment="top" usebox="none">
4782 \begin_layout Plain Layout
4788 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4791 \begin_layout Plain Layout
4799 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4802 \begin_layout Plain Layout
4810 <cell alignment="center" valignment="top" usebox="none">
4813 \begin_layout Plain Layout
4819 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4822 \begin_layout Plain Layout
4830 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4833 \begin_layout Plain Layout
4841 <cell alignment="center" valignment="top" usebox="none">
4844 \begin_layout Plain Layout
4850 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4853 \begin_layout Plain Layout
4861 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4864 \begin_layout Plain Layout
4872 <cell alignment="center" valignment="top" usebox="none">
4875 \begin_layout Plain Layout
4881 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4884 \begin_layout Plain Layout
4892 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4895 \begin_layout Plain Layout
4903 <cell alignment="center" valignment="top" usebox="none">
4906 \begin_layout Plain Layout
4912 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4915 \begin_layout Plain Layout
4923 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4926 \begin_layout Plain Layout
4934 <cell alignment="center" valignment="top" usebox="none">
4937 \begin_layout Plain Layout
4943 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4946 \begin_layout Plain Layout
4954 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4957 \begin_layout Plain Layout
4965 <cell alignment="center" valignment="top" usebox="none">
4968 \begin_layout Plain Layout
4974 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4977 \begin_layout Plain Layout
4985 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4988 \begin_layout Plain Layout
4996 <cell alignment="center" valignment="top" usebox="none">
4999 \begin_layout Plain Layout
5005 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5008 \begin_layout Plain Layout
5016 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5019 \begin_layout Plain Layout
5027 <cell alignment="center" valignment="top" usebox="none">
5030 \begin_layout Plain Layout
5036 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5039 \begin_layout Plain Layout
5047 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5050 \begin_layout Plain Layout
5058 <cell alignment="center" valignment="top" usebox="none">
5061 \begin_layout Plain Layout
5067 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5070 \begin_layout Plain Layout
5078 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5081 \begin_layout Plain Layout
5089 <cell alignment="center" valignment="top" usebox="none">
5092 \begin_layout Plain Layout
5098 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5101 \begin_layout Plain Layout
5109 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5112 \begin_layout Plain Layout
5120 <cell alignment="center" valignment="top" usebox="none">
5123 \begin_layout Plain Layout
5129 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5132 \begin_layout Plain Layout
5140 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5143 \begin_layout Plain Layout
5151 <cell alignment="center" valignment="top" usebox="none">
5154 \begin_layout Plain Layout
5160 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5163 \begin_layout Plain Layout
5171 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5174 \begin_layout Plain Layout
5182 <cell alignment="center" valignment="top" usebox="none">
5185 \begin_layout Plain Layout
5191 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5194 \begin_layout Plain Layout
5202 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5205 \begin_layout Plain Layout
5213 <cell alignment="center" valignment="top" usebox="none">
5216 \begin_layout Plain Layout
5222 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5225 \begin_layout Plain Layout
5233 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5236 \begin_layout Plain Layout
5244 <cell alignment="center" valignment="top" usebox="none">
5247 \begin_layout Plain Layout
5253 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5256 \begin_layout Plain Layout
5264 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5267 \begin_layout Plain Layout
5275 <cell alignment="center" valignment="top" usebox="none">
5278 \begin_layout Plain Layout
5284 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5287 \begin_layout Plain Layout
5295 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5298 \begin_layout Plain Layout
5306 <cell alignment="center" valignment="top" usebox="none">
5309 \begin_layout Plain Layout
5315 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5318 \begin_layout Plain Layout
5326 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5329 \begin_layout Plain Layout
5337 <cell alignment="center" valignment="top" usebox="none">
5340 \begin_layout Plain Layout
5346 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5349 \begin_layout Plain Layout
5357 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5360 \begin_layout Plain Layout
5368 <cell alignment="center" valignment="top" usebox="none">
5371 \begin_layout Plain Layout
5377 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5380 \begin_layout Plain Layout
5388 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5391 \begin_layout Plain Layout
5399 <cell alignment="center" valignment="top" usebox="none">
5402 \begin_layout Plain Layout
5408 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5411 \begin_layout Plain Layout
5419 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5422 \begin_layout Plain Layout
5430 <cell alignment="center" valignment="top" usebox="none">
5433 \begin_layout Plain Layout
5439 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5442 \begin_layout Plain Layout
5450 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5453 \begin_layout Plain Layout
5461 <cell alignment="center" valignment="top" usebox="none">
5464 \begin_layout Plain Layout
5470 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5473 \begin_layout Plain Layout
5481 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5484 \begin_layout Plain Layout
5492 <cell alignment="center" valignment="top" usebox="none">
5495 \begin_layout Plain Layout
5501 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5504 \begin_layout Plain Layout
5512 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5515 \begin_layout Plain Layout
5523 <cell alignment="center" valignment="top" usebox="none">
5526 \begin_layout Plain Layout
5532 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5535 \begin_layout Plain Layout
5543 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5546 \begin_layout Plain Layout
5554 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5557 \begin_layout Plain Layout
5563 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5566 \begin_layout Plain Layout
5573 <row endlastfoot="true">
5574 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5577 \begin_layout Plain Layout
5583 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5586 \begin_layout Plain Layout
5592 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5595 \begin_layout Plain Layout
5610 \begin_layout Plain Layout
5614 addtocounter{table}{-1}
5620 \begin_inset Note Note
5623 \begin_layout Plain Layout
5624 See the first greyed-out note in section
5625 \begin_inset space ~
5629 \begin_inset CommandInset ref
5631 reference "subsec:Multi-page-Table-Captions"
5635 for an explanation of this command.
5643 \begin_layout Subsection
5644 Footnotes in Multi-page tables
5645 \begin_inset CommandInset label
5647 name "subsec:Footnotes-in-Multi-page"
5652 \begin_inset Index idx
5655 \begin_layout Plain Layout
5656 Table ! Multi-page Table ! Footnotes
5664 \begin_layout Standard
5665 Footnotes can be inserted to every Multi-page table cell.
5666 They appear at the bottom of the page where the table cell with the footnote
5669 \begin_inset space ~
5673 \begin_inset CommandInset ref
5675 reference "tab:DiffCaptions"
5679 has for example a footnote.
5682 \begin_layout Subsection
5683 Multi-page Table Alignment
5684 \begin_inset Index idx
5687 \begin_layout Plain Layout
5688 Table ! Multi-page Table ! Alignment
5696 \begin_layout Standard
5697 The horizontal alignment of multi-page tables can be set in the table settings
5699 For left- and right-alignment the table will be directly at the page border.
5700 To add space between the table and the border one has to set the alignment
5701 to center and change the value of the \SpecialChar LaTeX
5714 by inserting this line as \SpecialChar TeX
5715 Code before the multi-page table:
5718 \begin_layout Standard
5728 \begin_layout Standard
5729 The value can have any of the units listed in Table
5730 \begin_inset space ~
5734 \begin_inset CommandInset ref
5736 reference "tab:Units"
5747 controls the horizontal distance from the left page border to the multi-page
5754 the distance from the right side.
5755 The default value for both lengths is
5761 , which is in this case the same as an horizontal fill in \SpecialChar LyX
5765 \begin_layout Standard
5766 The following multi-page table was centered and
5782 \begin_layout Plain Layout
5798 \begin_layout Standard
5799 \begin_inset Tabular
5800 <lyxtabular version="3" rows="5" columns="5">
5801 <features islongtable="true" longtabularalignment="center">
5802 <column alignment="center" valignment="top">
5803 <column alignment="center" valignment="top" width="0pt">
5804 <column alignment="center" valignment="top">
5805 <column alignment="center" valignment="top">
5806 <column alignment="center" valignment="top">
5808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5811 \begin_layout Plain Layout
5817 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5820 \begin_layout Plain Layout
5826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5829 \begin_layout Plain Layout
5835 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5838 \begin_layout Plain Layout
5844 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5847 \begin_layout Plain Layout
5855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5858 \begin_layout Plain Layout
5864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5867 \begin_layout Plain Layout
5873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5876 \begin_layout Plain Layout
5882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5885 \begin_layout Plain Layout
5891 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5894 \begin_layout Plain Layout
5902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5905 \begin_layout Plain Layout
5911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5914 \begin_layout Plain Layout
5920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5923 \begin_layout Plain Layout
5929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5932 \begin_layout Plain Layout
5938 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5941 \begin_layout Plain Layout
5949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5952 \begin_layout Plain Layout
5958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5961 \begin_layout Plain Layout
5967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5970 \begin_layout Plain Layout
5976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5979 \begin_layout Plain Layout
5985 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5988 \begin_layout Plain Layout
5996 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5999 \begin_layout Plain Layout
6005 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6008 \begin_layout Plain Layout
6014 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6017 \begin_layout Plain Layout
6023 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6026 \begin_layout Plain Layout
6032 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6035 \begin_layout Plain Layout
6050 \begin_layout Plain Layout
6067 \begin_layout Plain Layout
6071 addtocounter{table}{-1}
6077 \begin_inset Note Note
6080 \begin_layout Plain Layout
6081 See the first greyed-out note in section
6082 \begin_inset space ~
6086 \begin_inset CommandInset ref
6088 reference "subsec:Multi-page-Table-Captions"
6092 for an explanation of this command.
6100 \begin_layout Subsection
6101 Multi-page Table Captions
6102 \begin_inset Index idx
6105 \begin_layout Plain Layout
6106 Table ! Multi-page Table ! Captions
6112 \begin_inset CommandInset label
6114 name "subsec:Multi-page-Table-Captions"
6121 \begin_layout Standard
6122 A multi-page table cannot be put into a table float because floats can only
6124 But the caption environment of floats can also be used for multi-page tables
6125 when you use the multi-page table option
6129 as described in sec.
6130 \begin_inset space \thinspace{}
6134 \begin_inset CommandInset ref
6136 reference "sec:Multi-page-Tables"
6141 Only one table row should contain a caption, either a header or a footer
6145 \begin_layout Standard
6146 Here is a short multi-page table to see how it works:
6149 \begin_layout Standard
6150 \begin_inset Tabular
6151 <lyxtabular version="3" rows="6" columns="5">
6152 <features islongtable="true" longtabularalignment="center">
6153 <column alignment="center" valignment="top">
6154 <column alignment="center" valignment="top">
6155 <column alignment="center" valignment="top">
6156 <column alignment="center" valignment="top">
6157 <column alignment="center" valignment="top">
6158 <row endfirsthead="true" caption="true">
6159 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6162 \begin_layout Plain Layout
6163 \begin_inset Caption Standard
6165 \begin_layout Plain Layout
6166 Multi-page table with caption
6167 \begin_inset Argument 1
6170 \begin_layout Plain Layout
6186 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6189 \begin_layout Plain Layout
6195 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6198 \begin_layout Plain Layout
6204 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6207 \begin_layout Plain Layout
6213 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6216 \begin_layout Plain Layout
6224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6227 \begin_layout Plain Layout
6233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6236 \begin_layout Plain Layout
6242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6245 \begin_layout Plain Layout
6251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6254 \begin_layout Plain Layout
6260 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6263 \begin_layout Plain Layout
6271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6274 \begin_layout Plain Layout
6280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6283 \begin_layout Plain Layout
6289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6292 \begin_layout Plain Layout
6298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6301 \begin_layout Plain Layout
6307 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6310 \begin_layout Plain Layout
6318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6321 \begin_layout Plain Layout
6327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6330 \begin_layout Plain Layout
6336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6339 \begin_layout Plain Layout
6345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6348 \begin_layout Plain Layout
6354 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6357 \begin_layout Plain Layout
6365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6368 \begin_layout Plain Layout
6374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6377 \begin_layout Plain Layout
6383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6386 \begin_layout Plain Layout
6392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6395 \begin_layout Plain Layout
6401 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6404 \begin_layout Plain Layout
6412 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6415 \begin_layout Plain Layout
6421 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6424 \begin_layout Plain Layout
6430 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6433 \begin_layout Plain Layout
6439 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6442 \begin_layout Plain Layout
6448 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6451 \begin_layout Plain Layout
6465 \begin_layout Standard
6466 \begin_inset VSpace medskip
6470 \begin_inset Note Greyedout
6473 \begin_layout Plain Layout
6477 \begin_inset space ~
6482 The table number is increased for every multi-page table, even if you did
6483 not set a caption for it.
6484 For this reason you could have the case that e.
6485 \begin_inset space \thinspace{}
6489 \begin_inset space \space{}
6493 \begin_inset space ~
6497 \begin_inset space ~
6500 2.1 in the list of tables if there are two multi-page tables without captions.
6501 To avoid this you can add the following command in \SpecialChar TeX
6502 Code after every multi-page
6503 table without a caption:
6506 \begin_layout Plain Layout
6511 addtocounter{table}{-1}
6514 \begin_layout Plain Layout
6515 This is not needed when none of your multi-page tables has a caption and
6516 you add the following code to the document preamble:
6519 \begin_layout Plain Layout
6529 \begin_inset Newline newline
6540 addtocounter{table}{-1}}
6548 \begin_layout Standard
6549 \begin_inset Note Greyedout
6552 \begin_layout Plain Layout
6556 \begin_inset space ~
6566 \begin_inset Index idx
6569 \begin_layout Plain Layout
6571 -packages ! hyperref
6584 dialog to link cross-references, the link to a multi-page table caption
6585 will always point to the beginning of the document.
6593 \begin_layout Subsubsection
6594 References to multi-page tables
6595 \begin_inset Index idx
6598 \begin_layout Plain Layout
6599 Table ! Multi-page Table ! References
6607 \begin_layout Standard
6608 \begin_inset Tabular
6609 <lyxtabular version="3" rows="6" columns="5">
6610 <features islongtable="true" longtabularalignment="center">
6611 <column alignment="center" valignment="top">
6612 <column alignment="center" valignment="top">
6613 <column alignment="center" valignment="top">
6614 <column alignment="center" valignment="top">
6615 <column alignment="center" valignment="top">
6616 <row endfirsthead="true" caption="true">
6617 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6620 \begin_layout Plain Layout
6621 \begin_inset Caption Standard
6623 \begin_layout Plain Layout
6624 Referenced multi-page table
6625 \begin_inset CommandInset label
6627 name "tab:Referenced-multi-page-table"
6641 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6644 \begin_layout Plain Layout
6650 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6653 \begin_layout Plain Layout
6659 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6662 \begin_layout Plain Layout
6668 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6671 \begin_layout Plain Layout
6679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6682 \begin_layout Plain Layout
6688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6691 \begin_layout Plain Layout
6697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6700 \begin_layout Plain Layout
6706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6709 \begin_layout Plain Layout
6715 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6718 \begin_layout Plain Layout
6726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6729 \begin_layout Plain Layout
6735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6738 \begin_layout Plain Layout
6744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6747 \begin_layout Plain Layout
6753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6756 \begin_layout Plain Layout
6762 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6765 \begin_layout Plain Layout
6773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6776 \begin_layout Plain Layout
6782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6785 \begin_layout Plain Layout
6791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6794 \begin_layout Plain Layout
6800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6803 \begin_layout Plain Layout
6809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6812 \begin_layout Plain Layout
6820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6823 \begin_layout Plain Layout
6829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6832 \begin_layout Plain Layout
6838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6841 \begin_layout Plain Layout
6847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6850 \begin_layout Plain Layout
6856 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6859 \begin_layout Plain Layout
6867 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6870 \begin_layout Plain Layout
6876 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6879 \begin_layout Plain Layout
6885 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6888 \begin_layout Plain Layout
6894 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6897 \begin_layout Plain Layout
6903 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6906 \begin_layout Plain Layout
6920 \begin_layout Standard
6921 To reference a multi-page table, insert a label into the caption.
6924 \begin_layout Standard
6925 This is a reference to Table
6926 \begin_inset space ~
6930 \begin_inset CommandInset ref
6932 reference "tab:Referenced-multi-page-table"
6939 \begin_layout Standard
6940 The caption layout can be set together with all other captions of your document
6941 using the \SpecialChar LaTeX
6947 \begin_inset Index idx
6950 \begin_layout Plain Layout
6958 \begin_inset space ~
6962 \begin_inset CommandInset ref
6964 reference "sec:Caption-Formatting"
6971 \begin_layout Subsubsection
6973 \begin_inset Index idx
6976 \begin_layout Plain Layout
6977 Table ! Multi-page Table ! Caption Width
6985 \begin_layout Standard
6986 The maximal width of caption lines is defined by the length
6993 Its default value is 4
6994 \begin_inset space \thinspace{}
6998 To change it add the following command to your document preamble or as
7000 Code into your document before the multi-page table that should be affected
7003 \begin_layout Standard
7013 \begin_layout Standard
7018 can have one of the units listed in appendix
7019 \begin_inset space ~
7023 \begin_inset CommandInset ref
7025 reference "cha:Units-available-in"
7032 \begin_layout Standard
7033 The following tables show the difference:
7036 \begin_layout Standard
7037 \begin_inset Tabular
7038 <lyxtabular version="3" rows="6" columns="5">
7039 <features islongtable="true" longtabularalignment="center">
7040 <column alignment="center" valignment="top">
7041 <column alignment="center" valignment="top">
7042 <column alignment="center" valignment="top">
7043 <column alignment="center" valignment="top">
7044 <column alignment="center" valignment="top">
7045 <row endfirsthead="true" caption="true">
7046 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7049 \begin_layout Plain Layout
7050 \begin_inset Caption Standard
7052 \begin_layout Plain Layout
7053 Long full title with default width long full title with default width long
7054 full title with default width
7055 \begin_inset Argument 1
7058 \begin_layout Plain Layout
7059 caption with default width
7074 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7077 \begin_layout Plain Layout
7083 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7086 \begin_layout Plain Layout
7092 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7095 \begin_layout Plain Layout
7101 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7104 \begin_layout Plain Layout
7112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7115 \begin_layout Plain Layout
7121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7124 \begin_layout Plain Layout
7130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7133 \begin_layout Plain Layout
7139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7142 \begin_layout Plain Layout
7148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7151 \begin_layout Plain Layout
7159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7162 \begin_layout Plain Layout
7168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7171 \begin_layout Plain Layout
7177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7180 \begin_layout Plain Layout
7186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7189 \begin_layout Plain Layout
7195 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7198 \begin_layout Plain Layout
7206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7209 \begin_layout Plain Layout
7215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7218 \begin_layout Plain Layout
7224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7227 \begin_layout Plain Layout
7233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7236 \begin_layout Plain Layout
7242 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7245 \begin_layout Plain Layout
7253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7256 \begin_layout Plain Layout
7262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7265 \begin_layout Plain Layout
7271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7274 \begin_layout Plain Layout
7280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7283 \begin_layout Plain Layout
7289 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7292 \begin_layout Plain Layout
7300 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7303 \begin_layout Plain Layout
7309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7312 \begin_layout Plain Layout
7318 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7321 \begin_layout Plain Layout
7327 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7330 \begin_layout Plain Layout
7336 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7339 \begin_layout Plain Layout
7353 \begin_layout Standard
7357 \begin_layout Plain Layout
7369 \begin_inset Tabular
7370 <lyxtabular version="3" rows="6" columns="5">
7371 <features islongtable="true" longtabularalignment="center">
7372 <column alignment="center" valignment="top">
7373 <column alignment="center" valignment="top">
7374 <column alignment="center" valignment="top">
7375 <column alignment="center" valignment="top">
7376 <column alignment="center" valignment="top">
7377 <row endfirsthead="true" caption="true">
7378 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7381 \begin_layout Plain Layout
7382 \begin_inset Caption Standard
7384 \begin_layout Plain Layout
7385 Long full title with width set to 5
7386 \begin_inset space \thinspace{}
7389 cm long full title with width set to 5
7390 \begin_inset space \thinspace{}
7393 cm long full title with width set to 5
7394 \begin_inset space \thinspace{}
7398 \begin_inset Argument 1
7401 \begin_layout Plain Layout
7403 \begin_inset space \thinspace{}
7407 \begin_inset space \thinspace{}
7411 \begin_inset space \thinspace{}
7429 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7432 \begin_layout Plain Layout
7438 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7441 \begin_layout Plain Layout
7447 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7450 \begin_layout Plain Layout
7456 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7459 \begin_layout Plain Layout
7467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7470 \begin_layout Plain Layout
7476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7479 \begin_layout Plain Layout
7485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7488 \begin_layout Plain Layout
7494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7497 \begin_layout Plain Layout
7503 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7506 \begin_layout Plain Layout
7514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7517 \begin_layout Plain Layout
7523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7526 \begin_layout Plain Layout
7532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7535 \begin_layout Plain Layout
7541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7544 \begin_layout Plain Layout
7550 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7553 \begin_layout Plain Layout
7561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7564 \begin_layout Plain Layout
7570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7573 \begin_layout Plain Layout
7579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7582 \begin_layout Plain Layout
7588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7591 \begin_layout Plain Layout
7597 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7600 \begin_layout Plain Layout
7608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7611 \begin_layout Plain Layout
7617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7620 \begin_layout Plain Layout
7626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7629 \begin_layout Plain Layout
7635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7638 \begin_layout Plain Layout
7644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7647 \begin_layout Plain Layout
7655 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7658 \begin_layout Plain Layout
7664 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7667 \begin_layout Plain Layout
7673 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7676 \begin_layout Plain Layout
7682 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7685 \begin_layout Plain Layout
7691 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7694 \begin_layout Plain Layout
7708 \begin_layout Standard
7712 \begin_layout Plain Layout
7726 \begin_layout Standard
7727 \begin_inset Note Greyedout
7730 \begin_layout Plain Layout
7735 When the \SpecialChar LaTeX
7741 \begin_inset Index idx
7744 \begin_layout Plain Layout
7751 is used, as in this document, the full page width is used for the caption
7752 when you use the default value of 4
7753 \begin_inset space \thinspace{}
7763 To get in this case exactly a 4
7764 \begin_inset space \thinspace{}
7767 in wide caption, you can either use a value slightly different from 4.0
7768 \begin_inset space \thinspace{}
7772 \begin_inset space \thinspace{}
7776 \begin_inset space \space{}
7780 \begin_inset space \thinspace{}
7783 in, or the \SpecialChar LaTeX
7788 captionsetup{width=value}
7790 that is provided by the
7802 \begin_layout Subsubsection
7803 Different Captions for Table Pages
7804 \begin_inset Index idx
7807 \begin_layout Plain Layout
7808 Table ! Multi-page Table ! Different Captions for Pages
7816 \begin_layout Standard
7817 When the table captions for the following pages should differ from the one
7818 of the first table page, mark a empty row as header which contains a caption.
7819 Then right-click on the caption and select in the context menu
7822 \begin_inset space ~
7829 \begin_inset space ~
7833 \begin_inset CommandInset ref
7835 reference "tab:DiffCaptions"
7839 is an example of a multi-page table with different heading where the second
7840 caption does not include the table number.
7843 \begin_layout Standard
7845 \begin_inset Tabular
7846 <lyxtabular version="3" rows="59" columns="3">
7847 <features islongtable="true" longtabularalignment="center">
7848 <column alignment="left" valignment="top" width="0cm">
7849 <column alignment="left" valignment="top" width="0pt">
7850 <column alignment="center" valignment="top" width="0pt">
7851 <row endfirsthead="true" caption="true">
7852 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7855 \begin_layout Plain Layout
7856 \begin_inset Caption Standard
7858 \begin_layout Plain Layout
7860 \begin_inset CommandInset label
7862 name "tab:DiffCaptions"
7867 \begin_inset Argument 1
7870 \begin_layout Plain Layout
7886 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7889 \begin_layout Plain Layout
7895 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7898 \begin_layout Plain Layout
7905 <row endfirsthead="true">
7906 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7909 \begin_layout Plain Layout
7912 Example Phone List (ignore the names)
7917 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7920 \begin_layout Plain Layout
7926 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7929 \begin_layout Plain Layout
7936 <row endfirsthead="true">
7937 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7940 \begin_layout Plain Layout
7948 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7951 \begin_layout Plain Layout
7957 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7960 \begin_layout Plain Layout
7969 <row endhead="true" caption="true">
7970 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7973 \begin_layout Plain Layout
7974 \begin_inset Caption Unnumbered
7976 \begin_layout Plain Layout
7977 Continued Example Phone List
7987 <cell multicolumn="2" alignment="left" valignment="top" leftline="true" usebox="none">
7990 \begin_layout Plain Layout
7996 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7999 \begin_layout Plain Layout
8006 <row endhead="true">
8007 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8010 \begin_layout Plain Layout
8018 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8021 \begin_layout Plain Layout
8027 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8030 \begin_layout Plain Layout
8037 <row endhead="true">
8038 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8041 \begin_layout Plain Layout
8049 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8052 \begin_layout Plain Layout
8058 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8061 \begin_layout Plain Layout
8070 <row endfoot="true">
8071 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
8074 \begin_layout Plain Layout
8075 continued on next page
8080 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8083 \begin_layout Plain Layout
8089 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8092 \begin_layout Plain Layout
8100 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8103 \begin_layout Plain Layout
8111 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8114 \begin_layout Plain Layout
8120 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8123 \begin_layout Plain Layout
8131 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8134 \begin_layout Plain Layout
8142 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8145 \begin_layout Plain Layout
8151 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8154 \begin_layout Plain Layout
8162 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8165 \begin_layout Plain Layout
8173 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8176 \begin_layout Plain Layout
8182 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8185 \begin_layout Plain Layout
8193 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8196 \begin_layout Plain Layout
8204 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8207 \begin_layout Plain Layout
8213 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8216 \begin_layout Plain Layout
8224 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8227 \begin_layout Plain Layout
8235 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8238 \begin_layout Plain Layout
8244 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8247 \begin_layout Plain Layout
8255 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8258 \begin_layout Plain Layout
8266 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8269 \begin_layout Plain Layout
8275 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8278 \begin_layout Plain Layout
8286 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8289 \begin_layout Plain Layout
8297 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8300 \begin_layout Plain Layout
8306 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8309 \begin_layout Plain Layout
8317 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8320 \begin_layout Plain Layout
8328 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8331 \begin_layout Plain Layout
8337 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8340 \begin_layout Plain Layout
8348 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8351 \begin_layout Plain Layout
8359 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8362 \begin_layout Plain Layout
8368 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8371 \begin_layout Plain Layout
8379 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8382 \begin_layout Plain Layout
8390 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8393 \begin_layout Plain Layout
8399 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8402 \begin_layout Plain Layout
8410 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8413 \begin_layout Plain Layout
8421 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8424 \begin_layout Plain Layout
8430 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8433 \begin_layout Plain Layout
8441 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8444 \begin_layout Plain Layout
8452 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8455 \begin_layout Plain Layout
8461 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8464 \begin_layout Plain Layout
8472 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8475 \begin_layout Plain Layout
8483 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8486 \begin_layout Plain Layout
8492 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8495 \begin_layout Plain Layout
8503 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8506 \begin_layout Plain Layout
8514 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8517 \begin_layout Plain Layout
8523 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8526 \begin_layout Plain Layout
8534 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8537 \begin_layout Plain Layout
8546 \begin_layout Plain Layout
8557 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8560 \begin_layout Plain Layout
8566 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8569 \begin_layout Plain Layout
8577 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8580 \begin_layout Plain Layout
8588 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8591 \begin_layout Plain Layout
8597 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8600 \begin_layout Plain Layout
8608 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8611 \begin_layout Plain Layout
8619 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8622 \begin_layout Plain Layout
8628 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8631 \begin_layout Plain Layout
8639 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8642 \begin_layout Plain Layout
8650 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8653 \begin_layout Plain Layout
8659 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8662 \begin_layout Plain Layout
8670 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8673 \begin_layout Plain Layout
8681 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8684 \begin_layout Plain Layout
8690 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8693 \begin_layout Plain Layout
8701 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8704 \begin_layout Plain Layout
8712 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8715 \begin_layout Plain Layout
8721 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8724 \begin_layout Plain Layout
8732 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8735 \begin_layout Plain Layout
8743 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8746 \begin_layout Plain Layout
8752 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8755 \begin_layout Plain Layout
8763 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8766 \begin_layout Plain Layout
8774 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8777 \begin_layout Plain Layout
8783 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8786 \begin_layout Plain Layout
8794 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8797 \begin_layout Plain Layout
8805 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8808 \begin_layout Plain Layout
8814 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8817 \begin_layout Plain Layout
8825 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8828 \begin_layout Plain Layout
8836 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8839 \begin_layout Plain Layout
8845 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8848 \begin_layout Plain Layout
8856 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8859 \begin_layout Plain Layout
8867 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8870 \begin_layout Plain Layout
8876 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8879 \begin_layout Plain Layout
8887 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8890 \begin_layout Plain Layout
8898 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8901 \begin_layout Plain Layout
8907 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8910 \begin_layout Plain Layout
8918 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8921 \begin_layout Plain Layout
8929 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8932 \begin_layout Plain Layout
8938 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8941 \begin_layout Plain Layout
8949 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8952 \begin_layout Plain Layout
8960 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8963 \begin_layout Plain Layout
8969 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8972 \begin_layout Plain Layout
8980 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8983 \begin_layout Plain Layout
8991 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8994 \begin_layout Plain Layout
9000 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9003 \begin_layout Plain Layout
9011 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9014 \begin_layout Plain Layout
9022 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9025 \begin_layout Plain Layout
9031 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9034 \begin_layout Plain Layout
9042 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9045 \begin_layout Plain Layout
9053 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9056 \begin_layout Plain Layout
9062 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9065 \begin_layout Plain Layout
9073 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9076 \begin_layout Plain Layout
9082 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
9085 \begin_layout Plain Layout
9091 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9094 \begin_layout Plain Layout
9102 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9105 \begin_layout Plain Layout
9113 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9116 \begin_layout Plain Layout
9122 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9125 \begin_layout Plain Layout
9133 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9136 \begin_layout Plain Layout
9144 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9147 \begin_layout Plain Layout
9153 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9156 \begin_layout Plain Layout
9164 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9167 \begin_layout Plain Layout
9175 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9178 \begin_layout Plain Layout
9184 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9187 \begin_layout Plain Layout
9195 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9198 \begin_layout Plain Layout
9206 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9209 \begin_layout Plain Layout
9215 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9218 \begin_layout Plain Layout
9226 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9229 \begin_layout Plain Layout
9237 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9240 \begin_layout Plain Layout
9246 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9249 \begin_layout Plain Layout
9257 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9260 \begin_layout Plain Layout
9268 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9271 \begin_layout Plain Layout
9277 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9280 \begin_layout Plain Layout
9288 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9291 \begin_layout Plain Layout
9299 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9302 \begin_layout Plain Layout
9308 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9311 \begin_layout Plain Layout
9319 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9322 \begin_layout Plain Layout
9330 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9333 \begin_layout Plain Layout
9339 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9342 \begin_layout Plain Layout
9350 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9353 \begin_layout Plain Layout
9361 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9364 \begin_layout Plain Layout
9370 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9373 \begin_layout Plain Layout
9381 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9384 \begin_layout Plain Layout
9392 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9395 \begin_layout Plain Layout
9401 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9404 \begin_layout Plain Layout
9412 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9415 \begin_layout Plain Layout
9423 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9426 \begin_layout Plain Layout
9432 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9435 \begin_layout Plain Layout
9443 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9446 \begin_layout Plain Layout
9454 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9457 \begin_layout Plain Layout
9463 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9466 \begin_layout Plain Layout
9474 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9477 \begin_layout Plain Layout
9485 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9488 \begin_layout Plain Layout
9494 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9497 \begin_layout Plain Layout
9505 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9508 \begin_layout Plain Layout
9516 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9519 \begin_layout Plain Layout
9525 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9528 \begin_layout Plain Layout
9536 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9539 \begin_layout Plain Layout
9547 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9550 \begin_layout Plain Layout
9556 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9559 \begin_layout Plain Layout
9567 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9570 \begin_layout Plain Layout
9578 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9581 \begin_layout Plain Layout
9587 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9590 \begin_layout Plain Layout
9598 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9601 \begin_layout Plain Layout
9609 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9612 \begin_layout Plain Layout
9618 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9621 \begin_layout Plain Layout
9629 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9632 \begin_layout Plain Layout
9640 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9643 \begin_layout Plain Layout
9649 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9652 \begin_layout Plain Layout
9660 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9663 \begin_layout Plain Layout
9671 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9674 \begin_layout Plain Layout
9680 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9683 \begin_layout Plain Layout
9691 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9694 \begin_layout Plain Layout
9702 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9705 \begin_layout Plain Layout
9711 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9714 \begin_layout Plain Layout
9728 \begin_layout Section
9729 Special Multi-page Table Issues
9730 \begin_inset CommandInset label
9732 name "sec:Special-Longtable-Issues"
9739 \begin_layout Subsection
9740 Multi-page Table Calculation
9741 \begin_inset Index idx
9744 \begin_layout Plain Layout
9745 Table ! Multi-page Table ! Calculation
9753 \begin_layout Standard
9755 calculates the height of table pages and their page breaks using so called
9757 Chunks are parts of tables that held at the same time in \SpecialChar LaTeX
9759 The default value was historically set to only 20
9760 \begin_inset space ~
9764 If you are using multi-page tables with many pages this may slow down the
9765 creation of your document.
9766 You can safely increase the chunk size to values of 100
9767 \begin_inset space \thinspace{}
9771 \begin_inset space \thinspace{}
9774 1000 by adding this command line to your document preamble:
9777 \begin_layout Standard
9782 setcounter{LTchunksize}{100}
9785 \begin_layout Subsection
9786 Floats and Multi-page Tables
9787 \begin_inset Index idx
9790 \begin_layout Plain Layout
9791 Table ! Multi-page Table ! Floats
9799 \begin_layout Standard
9800 There might be problems when a float appears on the same page where a multi-page
9802 To avoid such a situation, insert a
9803 \begin_inset Quotes eld
9807 \begin_inset Quotes erd
9812 Insert\SpecialChar menuseparator
9813 Formatting\SpecialChar menuseparator
9815 \begin_inset space ~
9820 ) before your multi-page table.
9823 \begin_layout Subsection
9825 \begin_inset Index idx
9828 \begin_layout Plain Layout
9829 Table ! Multi-page Table ! Forced Page Breaks
9837 \begin_layout Standard
9838 By default tables are only broken between rows.
9839 If you have a cell with multiples lines and want to have a page break within
9840 the cell, insert the new line command
9841 \begin_inset Quotes eld
9853 \begin_inset Quotes erd
9857 Code at the point of the cell where it can be broken.
9866 command you have to insert in \SpecialChar TeX
9868 \begin_inset Quotes eld
9876 \begin_inset Quotes erd
9879 characters as the number of the following table columns.
9884 is the character to separate table cells.
9885 Write in \SpecialChar TeX
9890 the content of the corresponding following cell and delete the content
9892 \begin_inset Newline newline
9903 command, insert as many
9907 characters as the number of table columns before the current column.
9909 \begin_inset space ~
9913 \begin_inset CommandInset ref
9915 reference "tab:ForcedPagebreak"
9919 the cell that should be broken is in the second column followed by another
9921 Therefore the following command was inserted in the cell as \SpecialChar TeX
9924 \begin_inset Quotes eld
9932 \begin_inset Quotes erd
9938 \begin_layout Standard
9948 \begin_inset Newline newline
9954 \begin_layout Standard
9956 \begin_inset Quotes eld
9960 \begin_inset Quotes erd
9963 in the third column of the row was deleted.
9970 is only needed when a page break should definitely occur at this position,
9971 otherwise it would be a conditional break.
9972 If your footer row of the multi-page table has for a certain reason no
9973 upper line but you would have a horizontal line where the cell is broken,
9974 use this command instead:
9977 \begin_layout Standard
9985 \begin_inset Newline newline
9993 \begin_layout Standard
9994 When the cell to be broken is in the last column, the command
9997 \begin_layout Standard
10007 \begin_layout Standard
10008 must be inserted as \SpecialChar TeX
10009 Code at the beginning of the cell.
10010 This ensures that the part of the cell that will be displayed on the new
10011 page appears with the full width.
10014 \begin_layout Standard
10016 \begin_inset Tabular
10017 <lyxtabular version="3" rows="38" columns="3">
10018 <features islongtable="true" longtabularalignment="center">
10019 <column alignment="left" valignment="top" width="0cm">
10020 <column alignment="left" valignment="top" width="3cm">
10021 <column alignment="center" valignment="top" width="0pt">
10022 <row endfirsthead="true" caption="true">
10023 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10026 \begin_layout Plain Layout
10027 \begin_inset Caption Standard
10029 \begin_layout Plain Layout
10030 Table with forced page break in table cell
10031 \begin_inset CommandInset label
10033 name "tab:ForcedPagebreak"
10038 \begin_inset Argument 1
10041 \begin_layout Plain Layout
10042 Table with forced page break in table cell
10057 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10060 \begin_layout Plain Layout
10066 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10069 \begin_layout Plain Layout
10076 <row endfirsthead="true">
10077 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10080 \begin_layout Plain Layout
10083 Example Phone List (ignore the names)
10088 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10091 \begin_layout Plain Layout
10097 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10100 \begin_layout Plain Layout
10107 <row endfirsthead="true">
10108 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10111 \begin_layout Plain Layout
10119 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10122 \begin_layout Plain Layout
10128 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10131 \begin_layout Plain Layout
10140 <row endhead="true" caption="true">
10141 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10144 \begin_layout Plain Layout
10145 \begin_inset Caption Unnumbered
10147 \begin_layout Plain Layout
10148 Continued Example Phone List
10158 <cell multicolumn="2" alignment="left" valignment="top" rightline="true" usebox="none">
10161 \begin_layout Plain Layout
10167 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
10170 \begin_layout Plain Layout
10177 <row endhead="true">
10178 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10181 \begin_layout Plain Layout
10189 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10192 \begin_layout Plain Layout
10198 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10201 \begin_layout Plain Layout
10208 <row endhead="true">
10209 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10212 \begin_layout Plain Layout
10220 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10223 \begin_layout Plain Layout
10229 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10232 \begin_layout Plain Layout
10241 <row endfoot="true">
10242 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10245 \begin_layout Plain Layout
10246 continued on next page
10251 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10254 \begin_layout Plain Layout
10260 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10263 \begin_layout Plain Layout
10271 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10274 \begin_layout Plain Layout
10282 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10285 \begin_layout Plain Layout
10291 <cell alignment="right" valignment="top" rightline="true" usebox="none">
10294 \begin_layout Plain Layout
10302 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10305 \begin_layout Plain Layout
10313 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10316 \begin_layout Plain Layout
10322 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10325 \begin_layout Plain Layout
10333 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10336 \begin_layout Plain Layout
10344 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10347 \begin_layout Plain Layout
10353 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10356 \begin_layout Plain Layout
10364 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10367 \begin_layout Plain Layout
10375 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10378 \begin_layout Plain Layout
10384 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10387 \begin_layout Plain Layout
10395 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10398 \begin_layout Plain Layout
10406 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10409 \begin_layout Plain Layout
10415 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10418 \begin_layout Plain Layout
10426 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10429 \begin_layout Plain Layout
10437 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10440 \begin_layout Plain Layout
10446 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10449 \begin_layout Plain Layout
10457 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10460 \begin_layout Plain Layout
10468 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10471 \begin_layout Plain Layout
10477 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10480 \begin_layout Plain Layout
10488 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10491 \begin_layout Plain Layout
10499 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10502 \begin_layout Plain Layout
10508 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10511 \begin_layout Plain Layout
10519 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10522 \begin_layout Plain Layout
10530 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10533 \begin_layout Plain Layout
10539 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10542 \begin_layout Plain Layout
10550 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10553 \begin_layout Plain Layout
10561 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10564 \begin_layout Plain Layout
10570 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10573 \begin_layout Plain Layout
10581 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10584 \begin_layout Plain Layout
10592 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10595 \begin_layout Plain Layout
10601 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10604 \begin_layout Plain Layout
10612 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10615 \begin_layout Plain Layout
10623 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10626 \begin_layout Plain Layout
10632 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10635 \begin_layout Plain Layout
10643 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10646 \begin_layout Plain Layout
10654 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10657 \begin_layout Plain Layout
10663 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10666 \begin_layout Plain Layout
10674 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10677 \begin_layout Plain Layout
10685 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10688 \begin_layout Plain Layout
10694 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10697 \begin_layout Plain Layout
10705 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10708 \begin_layout Plain Layout
10716 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10719 \begin_layout Plain Layout
10725 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10728 \begin_layout Plain Layout
10736 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10739 \begin_layout Plain Layout
10747 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10750 \begin_layout Plain Layout
10756 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10759 \begin_layout Plain Layout
10767 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10770 \begin_layout Plain Layout
10778 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10781 \begin_layout Plain Layout
10787 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10790 \begin_layout Plain Layout
10798 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10801 \begin_layout Plain Layout
10809 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10812 \begin_layout Plain Layout
10818 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10821 \begin_layout Plain Layout
10829 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10832 \begin_layout Plain Layout
10840 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10843 \begin_layout Plain Layout
10849 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10852 \begin_layout Plain Layout
10860 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10863 \begin_layout Plain Layout
10871 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10874 \begin_layout Plain Layout
10880 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10883 \begin_layout Plain Layout
10891 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10894 \begin_layout Plain Layout
10902 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10905 \begin_layout Plain Layout
10911 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10914 \begin_layout Plain Layout
10922 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10925 \begin_layout Plain Layout
10933 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10936 \begin_layout Plain Layout
10942 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10945 \begin_layout Plain Layout
10953 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10956 \begin_layout Plain Layout
10964 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10967 \begin_layout Plain Layout
10969 Fürst von Montecompatri, 11.
10970 Fürst von Sulmona und Vivaro, 10.
10971 Fürst von Rossano, 5.
10972 Herzog von Canemorte, 11.
10973 Herzog von Palombara, 5.
10974 Herzog von Castelchiodato,
10978 \begin_layout Plain Layout
10989 \begin_layout Plain Layout
10997 Herzog von Poggionativo, 11.
10998 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10999 Graf von Valinfreda, 11.
11000 Baron von Cropalati, 11.
11001 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
11006 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11009 \begin_layout Plain Layout
11017 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11020 \begin_layout Plain Layout
11028 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11031 \begin_layout Plain Layout
11037 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11040 \begin_layout Plain Layout
11048 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11051 \begin_layout Plain Layout
11059 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11062 \begin_layout Plain Layout
11068 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11071 \begin_layout Plain Layout
11079 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11082 \begin_layout Plain Layout
11090 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11093 \begin_layout Plain Layout
11099 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11102 \begin_layout Plain Layout
11110 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11113 \begin_layout Plain Layout
11121 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11124 \begin_layout Plain Layout
11130 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11133 \begin_layout Plain Layout
11141 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11144 \begin_layout Plain Layout
11152 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11155 \begin_layout Plain Layout
11161 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11164 \begin_layout Plain Layout
11172 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11175 \begin_layout Plain Layout
11183 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11186 \begin_layout Plain Layout
11192 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11195 \begin_layout Plain Layout
11203 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11206 \begin_layout Plain Layout
11214 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11217 \begin_layout Plain Layout
11223 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11226 \begin_layout Plain Layout
11234 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11237 \begin_layout Plain Layout
11245 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
11248 \begin_layout Plain Layout
11254 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11257 \begin_layout Plain Layout
11271 \begin_layout Section
11272 Multiple Lines, Columns and Rows
11275 \begin_layout Subsection
11276 Multiple Lines in Table Cells
11277 \begin_inset CommandInset label
11279 name "subsec:Multiple-Lines-in"
11284 \begin_inset Index idx
11287 \begin_layout Plain Layout
11288 Multiple Lines in Table Cells
11294 \begin_inset Index idx
11297 \begin_layout Plain Layout
11306 \begin_layout Standard
11308 \begin_inset Float table
11315 \begin_layout Plain Layout
11316 \begin_inset Caption Standard
11318 \begin_layout Plain Layout
11319 \begin_inset CommandInset label
11321 name "tab:Table-with-multiple"
11325 Table with multiple lines in cells
11333 \begin_layout Plain Layout
11335 \begin_inset Tabular
11336 <lyxtabular version="3" rows="3" columns="3">
11337 <features tabularvalignment="middle">
11338 <column alignment="center" valignment="middle" width="2.5cm">
11339 <column alignment="center" valignment="middle">
11340 <column alignment="center" valignment="middle">
11342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11345 \begin_layout Plain Layout
11347 \begin_inset Newline linebreak
11355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11358 \begin_layout Plain Layout
11364 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11367 \begin_layout Plain Layout
11375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11378 \begin_layout Plain Layout
11384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11387 \begin_layout Plain Layout
11393 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11396 \begin_layout Plain Layout
11404 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11407 \begin_layout Plain Layout
11413 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11416 \begin_layout Plain Layout
11422 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11425 \begin_layout Plain Layout
11444 \begin_layout Standard
11445 Setting a fixed width for a column enables you to enter text as a paragraph
11446 with multiple lines and hyphenation.
11449 \begin_layout Standard
11451 \begin_inset space ~
11455 \begin_inset CommandInset ref
11457 reference "tab:Table-with-multiple"
11461 , create a 3×3 table, mark the first cell and right-click on it.
11462 In the appearing table dialog we set a cell width of 2.5
11463 \begin_inset space \thinspace{}
11466 cm and choose centered for the vertical and horizontal alignment.
11467 The vertical alignment is used for all cells of the row.
11468 As our text is smaller than 2.5
11469 \begin_inset space \thinspace{}
11472 cm, only one line will appear.
11473 To get two lines, a justified line break (shortcut
11476 arg "newline-insert linebreak"
11480 If the text is wider than the set cell width, it will automatically be
11481 broken to several lines.
11484 \begin_layout Standard
11485 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11486 by \SpecialChar LaTeX
11487 if it is the first entry.
11488 Therefore you need to insert something to prevent the word not being the
11490 So add a horizontal space of 0
11491 \begin_inset space \thinspace{}
11494 pt before the word.
11495 As the space is zero, it doesn't change the output.
11497 \begin_inset space ~
11501 \begin_inset CommandInset ref
11503 reference "tab:Table-with-and"
11510 \begin_layout Standard
11511 \begin_inset Float table
11518 \begin_layout Plain Layout
11519 \begin_inset Caption Standard
11521 \begin_layout Plain Layout
11522 \begin_inset CommandInset label
11524 name "tab:Table-with-and"
11528 Table with and without hyphenation
11536 \begin_layout Plain Layout
11537 \begin_inset space \hfill{}
11541 \begin_inset Tabular
11542 <lyxtabular version="3" rows="3" columns="3">
11543 <features tabularvalignment="middle">
11544 <column alignment="center" valignment="middle" width="2.5cm">
11545 <column alignment="center" valignment="middle">
11546 <column alignment="center" valignment="middle">
11548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11551 \begin_layout Plain Layout
11552 verylongtablecellword
11557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11560 \begin_layout Plain Layout
11566 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11569 \begin_layout Plain Layout
11577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11580 \begin_layout Plain Layout
11586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11589 \begin_layout Plain Layout
11595 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11598 \begin_layout Plain Layout
11606 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11609 \begin_layout Plain Layout
11615 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11618 \begin_layout Plain Layout
11624 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11627 \begin_layout Plain Layout
11639 \begin_inset space \hfill{}
11643 \begin_inset Tabular
11644 <lyxtabular version="3" rows="3" columns="3">
11645 <features tabularvalignment="middle">
11646 <column alignment="center" valignment="middle" width="2.5cm">
11647 <column alignment="center" valignment="middle">
11648 <column alignment="center" valignment="middle">
11650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11653 \begin_layout Plain Layout
11654 \begin_inset space \hspace{}
11658 verylongtablecellword
11663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11666 \begin_layout Plain Layout
11672 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11675 \begin_layout Plain Layout
11683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11686 \begin_layout Plain Layout
11692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11695 \begin_layout Plain Layout
11701 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11704 \begin_layout Plain Layout
11712 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11715 \begin_layout Plain Layout
11721 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11724 \begin_layout Plain Layout
11730 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11733 \begin_layout Plain Layout
11745 \begin_inset space \hfill{}
11756 \begin_layout Subsection
11758 \begin_inset CommandInset label
11760 name "subsec:Multicolumns"
11765 \begin_inset Index idx
11768 \begin_layout Plain Layout
11775 \begin_inset Index idx
11778 \begin_layout Plain Layout
11779 Table ! Multicolumns
11787 \begin_layout Subsubsection
11791 \begin_layout Standard
11792 To merge cells over multiple columns, select as many cells within a row
11793 as you want to merge and use either the table-toolbar button
11796 arg "tabular-feature multicolumn"
11801 Edit\SpecialChar menuseparator
11802 Table\SpecialChar menuseparator
11805 , or right click on the marked cells and choose
11809 in the context menu.
11812 \begin_layout Standard
11813 Multicolumns have their own cell settings.
11814 That means changing cell borders, cell alignment, and the width only affects
11816 Here is an example table with a multicolumn cell in the first row and one
11817 in the last row without the upper border:
11820 \begin_layout Standard
11822 \begin_inset Tabular
11823 <lyxtabular version="3" rows="3" columns="4">
11824 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11825 <column alignment="center" valignment="top" width="0pt">
11826 <column alignment="center" valignment="middle">
11827 <column alignment="center" valignment="top" width="0in">
11828 <column alignment="center" valignment="top" width="0pt">
11830 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11833 \begin_layout Plain Layout
11839 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11842 \begin_layout Plain Layout
11848 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11851 \begin_layout Plain Layout
11857 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11860 \begin_layout Plain Layout
11868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11871 \begin_layout Plain Layout
11886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11889 \begin_layout Plain Layout
11895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11898 \begin_layout Plain Layout
11904 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11907 \begin_layout Plain Layout
11915 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11918 \begin_layout Plain Layout
11924 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11927 \begin_layout Plain Layout
11933 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11936 \begin_layout Plain Layout
11942 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11945 \begin_layout Plain Layout
11959 \begin_layout Subsubsection
11960 Multicolumn Calculations
11961 \begin_inset CommandInset label
11963 name "subsec:Multicolumn-Calculations"
11968 \begin_inset Index idx
11971 \begin_layout Plain Layout
11972 Multicolumns ! Calculations
11980 \begin_layout Standard
11982 supports multicolumns directly, but we have to take account of the cell
11983 width of the columns spanned by the multicolumn cell.
11986 \begin_layout Standard
11987 \begin_inset Float table
11994 \begin_layout Plain Layout
11995 \begin_inset Caption Standard
11997 \begin_layout Plain Layout
11998 \begin_inset CommandInset label
12000 name "tab:Table-with-centered"
12004 Table with centered multicolumn text above two columns that have exactly
12005 half the width of the multicolumn cell
12006 \begin_inset Argument 1
12009 \begin_layout Plain Layout
12010 Perfect multicolumn table
12023 \begin_layout Plain Layout
12025 \begin_inset Tabular
12026 <lyxtabular version="3" rows="3" columns="3">
12027 <features tabularvalignment="middle">
12028 <column alignment="center" valignment="middle" special=">{\centering}m{1.25cm-6.2pt}">
12029 <column alignment="center" valignment="middle">
12030 <column alignment="center" valignment="top">
12032 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
12035 \begin_layout Plain Layout
12036 multiple lines multicolumn
12041 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12044 \begin_layout Plain Layout
12050 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12053 \begin_layout Plain Layout
12061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12064 \begin_layout Plain Layout
12070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12073 \begin_layout Plain Layout
12079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12082 \begin_layout Plain Layout
12090 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12093 \begin_layout Plain Layout
12099 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12102 \begin_layout Plain Layout
12108 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12111 \begin_layout Plain Layout
12130 \begin_layout Standard
12131 To create for example Table
12132 \begin_inset space ~
12136 \begin_inset CommandInset ref
12138 reference "tab:Table-with-centered"
12142 , mark the first two cells in the first row of a 3×3 table and right-click
12144 Now choose for this cell
12153 \begin_inset space \thinspace{}
12156 cm in the table dialog.
12157 The merged columns should have exactly half the width of the multicolumn
12158 cell, so that you would set a width of 1.25
12159 \begin_inset space \thinspace{}
12162 cm for the first column.
12163 The second column has then automatically a width of 1.25
12164 \begin_inset space \thinspace{}
12167 cm (multicolumn width - width of first column).
12168 This was done for Table
12169 \begin_inset space ~
12173 \begin_inset CommandInset ref
12175 reference "tab:Table-without-half"
12182 \begin_layout Standard
12183 \begin_inset Float table
12190 \begin_layout Plain Layout
12191 \begin_inset Caption Standard
12193 \begin_layout Plain Layout
12194 \begin_inset CommandInset label
12196 name "tab:Table-without-half"
12200 Table where the spanned table columns are not exactly half the width of
12201 the multicolumn cell
12202 \begin_inset Argument 1
12205 \begin_layout Plain Layout
12206 Imperfect multicolumn table
12219 \begin_layout Plain Layout
12221 \begin_inset Tabular
12222 <lyxtabular version="3" rows="3" columns="3">
12223 <features tabularvalignment="middle">
12224 <column alignment="center" valignment="top" width="1.25cm">
12225 <column alignment="center" valignment="top">
12226 <column alignment="center" valignment="top">
12228 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12231 \begin_layout Plain Layout
12232 multiple lines multicolumn
12237 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12240 \begin_layout Plain Layout
12246 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12249 \begin_layout Plain Layout
12257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12260 \begin_layout Plain Layout
12266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12269 \begin_layout Plain Layout
12275 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12278 \begin_layout Plain Layout
12286 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12289 \begin_layout Plain Layout
12295 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12298 \begin_layout Plain Layout
12304 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12307 \begin_layout Plain Layout
12326 \begin_layout Standard
12327 You can see that the first column is not half the width of the multicolumn
12328 cell, it is a bit bigger.
12329 The reason is that the specified width of a cell
12330 \begin_inset Formula $W_{g}$
12333 is not its total width
12334 \begin_inset Formula $W_{\mathrm{tot}}$
12337 because a cell is always a bit larger than specified.
12339 \begin_inset space ~
12343 \begin_inset CommandInset ref
12345 reference "cha:Explanation-of-Equation"
12349 explains this in detail.
12352 \begin_layout Standard
12354 \begin_inset Formula $W_{g\,n}$
12357 which the user needs to set when
12361 columns are spanned can be calculated, so that each column has a total
12363 \begin_inset Formula $W_{\mathrm{tot\,multicolumn}}/n$
12367 \begin_inset Formula
12369 W_{g\,n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
12377 \begin_layout Standard
12378 In our case we have
12379 \begin_inset Formula $n=2$
12383 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
12386 cm and the default values for the lengths, so that equation
12387 \begin_inset CommandInset ref
12394 \begin_inset Formula
12396 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
12404 \begin_layout Standard
12405 To enable calculations in \SpecialChar LaTeX
12406 , the \SpecialChar LaTeX
12411 must be loaded with the document preamble line
12412 \begin_inset Index idx
12415 \begin_layout Plain Layout
12425 \begin_layout Standard
12433 \begin_layout Standard
12435 does not allow you to calculate lengths in the
12439 field of the table dialog.
12440 Therefore you have to format the column by inserting a \SpecialChar LaTeX
12443 Here is an overview about the arguments:
12446 \begin_layout Itemize
12451 creates cell with a fixed width, its text is vertically top-aligned
12454 \begin_layout Itemize
12459 creates cell with a fixed width, its text is vertically centered
12462 \begin_layout Itemize
12467 creates cell with a fixed width, its text is vertically bottom-aligned
12470 \begin_layout Standard
12471 By entering a \SpecialChar LaTeX
12472 -argument, all cell settings set in the table dialog are overwritt
12476 \begin_layout Standard
12477 \begin_inset Note Greyedout
12480 \begin_layout Plain Layout
12485 Due to a bug, \SpecialChar LyX
12486 shows the overwritten settings anyway.
12494 \begin_layout Standard
12495 As the text should be horizontally centered, the command
12502 You can now enter the following \SpecialChar LaTeX
12503 -argument for the first spanned column:
12506 \begin_layout Standard
12511 centering}m{1.25cm-6.2pt}
12514 \begin_layout Standard
12519 means, that the commands inside the braces are applied before the cell
12523 \begin_layout Standard
12524 Although we have chosen centered alignment for the text of the multicolumn
12525 cell, it is still left aligned.
12526 This is because \SpecialChar LyX
12527 only applies the alignment to single columns.
12528 So for the multicolumn cell we have to use the \SpecialChar LaTeX
12532 \begin_layout Standard
12540 \begin_layout Subsection
12542 \begin_inset CommandInset label
12544 name "subsec:Multirows"
12549 \begin_inset Index idx
12552 \begin_layout Plain Layout
12559 \begin_inset Index idx
12562 \begin_layout Plain Layout
12571 \begin_layout Standard
12572 To merge cells over multiple rows, select as many cells within a column
12573 as you want to merge and use either the table-toolbar button
12576 arg "tabular-feature multirow"
12581 Edit\SpecialChar menuseparator
12582 Table\SpecialChar menuseparator
12585 , or right click on the marked cells and choose
12589 in the context menu.
12592 \begin_layout Standard
12593 Here is an example table with a multirow in the first column:
12596 \begin_layout Standard
12598 \begin_inset Tabular
12599 <lyxtabular version="3" rows="3" columns="3">
12600 <features tabularvalignment="middle">
12601 <column alignment="center" valignment="top" width="0pt">
12602 <column alignment="center" valignment="top">
12603 <column alignment="center" valignment="top">
12605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12608 \begin_layout Plain Layout
12614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12617 \begin_layout Plain Layout
12623 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12626 \begin_layout Plain Layout
12634 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12637 \begin_layout Plain Layout
12643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12646 \begin_layout Plain Layout
12652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12655 \begin_layout Plain Layout
12663 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12666 \begin_layout Plain Layout
12672 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12675 \begin_layout Plain Layout
12681 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12684 \begin_layout Plain Layout
12698 \begin_layout Standard
12699 The width of multirow cells is set by setting the width and alignment for
12705 shifts the content of the multirow up/down if the offset is positive/negative.
12708 \begin_layout Standard
12709 If the column of a multirow cell has no explicit width, the multirow cell
12710 inherits the alignment of the column.
12711 Otherwise it is by default left-aligned.
12712 To override the default, renew the command
12721 \begin_layout Standard
12733 \begin_layout Standard
12734 in the document preamble.
12735 Then all entries of multirow cells in the document are centered.
12736 If centering is only needed for several tables, you can renew the command
12737 in a \SpecialChar TeX
12738 Code box just before the table instead of the preamble.
12739 If the text should be right-aligned, replace
12752 To return to left-alignment
12761 \begin_layout Standard
12762 This is an example table with a right-aligned multirow cell that has a vertical
12764 \begin_inset space \thinspace{}
12768 \begin_inset space \thinspace{}
12774 \begin_layout Standard
12780 \begin_layout Plain Layout
12794 \begin_inset Tabular
12795 <lyxtabular version="3" rows="4" columns="3">
12796 <features tabularvalignment="middle">
12797 <column alignment="center" valignment="top" width="3cm">
12798 <column alignment="center" valignment="top">
12799 <column alignment="center" valignment="top">
12801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12804 \begin_layout Plain Layout
12810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12813 \begin_layout Plain Layout
12819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12822 \begin_layout Plain Layout
12830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12833 \begin_layout Plain Layout
12839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12842 \begin_layout Plain Layout
12848 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12851 \begin_layout Plain Layout
12859 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12862 \begin_layout Plain Layout
12868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12871 \begin_layout Plain Layout
12877 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12880 \begin_layout Plain Layout
12888 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12891 \begin_layout Plain Layout
12897 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12900 \begin_layout Plain Layout
12906 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12909 \begin_layout Plain Layout
12924 \begin_layout Plain Layout
12940 \begin_layout Standard
12941 To start a new line in a multirow you can use a forced line break (shortcut
12945 arg "newline-insert newline"
12948 ) but this will not respect the cell lines as demonstrated in this table:
12951 \begin_layout Standard
12954 \begin_inset Tabular
12955 <lyxtabular version="3" rows="3" columns="2">
12956 <features tabularvalignment="middle">
12957 <column alignment="left" valignment="middle" width="2cm">
12958 <column alignment="center" valignment="top">
12960 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12963 \begin_layout Plain Layout
12965 \begin_inset Newline newline
12969 \begin_inset Newline newline
12977 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12980 \begin_layout Plain Layout
12988 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12991 \begin_layout Plain Layout
12997 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13000 \begin_layout Plain Layout
13008 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13011 \begin_layout Plain Layout
13017 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13020 \begin_layout Plain Layout
13034 \begin_layout Standard
13035 Therefore be careful with forced line breaks.
13038 \begin_layout Subsection
13039 Cells with diagonal line(s)
13042 \begin_layout Standard
13043 To tell the reader what is meant by column and row headings in a table,
13044 it is helpful to split the first cell of the table by one or two diagonal
13046 This can be achieved by loading the \SpecialChar LaTeX
13052 \begin_inset Index idx
13055 \begin_layout Plain Layout
13057 -packages ! picinpar
13062 in the document preamble.
13063 The package provides the command
13069 that is inserted as \SpecialChar TeX
13070 Code and that can take 2 or 3
13071 \begin_inset space ~
13077 \begin_layout Standard
13082 diagbox[options]{lower left}{upper right}
13085 \begin_layout Standard
13090 diagbox[options]{lower left}{upper left}{upper right}
13093 \begin_layout Standard
13094 The first scheme divides the cell by a single diagonal line and the arguments
13095 are placed below and above this line.
13096 The second scheme divides the cell by 2
13097 \begin_inset space ~
13103 \begin_layout Standard
13107 \begin_layout Plain Layout
13117 \begin_inset Note Note
13120 \begin_layout Plain Layout
13121 The following section will only be displayed when the \SpecialChar LaTeX
13134 \begin_layout Standard
13135 Here is an example table where
13141 is used in the 2-argument scheme in the first cell:
13142 \begin_inset VSpace medskip
13148 \begin_layout Standard
13150 \begin_inset Tabular
13151 <lyxtabular version="3" rows="4" columns="4">
13152 <features tabularvalignment="middle">
13153 <column alignment="center" valignment="top">
13154 <column alignment="center" valignment="top">
13155 <column alignment="center" valignment="top">
13156 <column alignment="center" valignment="top">
13158 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13161 \begin_layout Plain Layout
13165 \begin_layout Plain Layout
13178 \begin_layout Plain Layout
13189 \begin_layout Plain Layout
13201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13204 \begin_layout Plain Layout
13210 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13213 \begin_layout Plain Layout
13219 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13222 \begin_layout Plain Layout
13230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13233 \begin_layout Plain Layout
13239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13242 \begin_layout Plain Layout
13248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13251 \begin_layout Plain Layout
13257 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13260 \begin_layout Plain Layout
13268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13271 \begin_layout Plain Layout
13277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13280 \begin_layout Plain Layout
13286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13289 \begin_layout Plain Layout
13295 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13298 \begin_layout Plain Layout
13306 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13309 \begin_layout Plain Layout
13315 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13318 \begin_layout Plain Layout
13324 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13327 \begin_layout Plain Layout
13333 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13336 \begin_layout Plain Layout
13348 \begin_inset VSpace medskip
13354 \begin_layout Standard
13355 The 3-argument scheme is for example useful for cross-tables of sports leagues
13359 \begin_layout Standard
13362 \begin_inset Tabular
13363 <lyxtabular version="3" rows="4" columns="4">
13364 <features tabularvalignment="middle">
13365 <column alignment="center" valignment="top" width="0pt">
13366 <column alignment="center" valignment="top">
13367 <column alignment="center" valignment="top">
13368 <column alignment="center" valignment="top">
13370 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13373 \begin_layout Plain Layout
13377 \begin_layout Plain Layout
13390 \begin_layout Plain Layout
13401 \begin_layout Plain Layout
13412 \begin_layout Plain Layout
13424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13427 \begin_layout Plain Layout
13433 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13436 \begin_layout Plain Layout
13442 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13445 \begin_layout Plain Layout
13453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13456 \begin_layout Plain Layout
13462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13465 \begin_layout Plain Layout
13471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13474 \begin_layout Plain Layout
13480 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13483 \begin_layout Plain Layout
13491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13494 \begin_layout Plain Layout
13500 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13503 \begin_layout Plain Layout
13509 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13512 \begin_layout Plain Layout
13518 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13521 \begin_layout Plain Layout
13529 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13532 \begin_layout Plain Layout
13538 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13541 \begin_layout Plain Layout
13547 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13550 \begin_layout Plain Layout
13556 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13559 \begin_layout Plain Layout
13573 \begin_layout Standard
13574 For larger cross-tables one might use split cells in 2 or every corner of
13575 the table like in this example:
13578 \begin_layout Standard
13581 \begin_inset Tabular
13582 <lyxtabular version="3" rows="5" columns="5">
13583 <features tabularvalignment="middle">
13584 <column alignment="center" valignment="top" width="0pt">
13585 <column alignment="center" valignment="top">
13586 <column alignment="center" valignment="top">
13587 <column alignment="center" valignment="top">
13588 <column alignment="center" valignment="top">
13590 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13593 \begin_layout Plain Layout
13597 \begin_layout Plain Layout
13610 \begin_layout Plain Layout
13621 \begin_layout Plain Layout
13632 \begin_layout Plain Layout
13644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13647 \begin_layout Plain Layout
13653 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13656 \begin_layout Plain Layout
13662 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13665 \begin_layout Plain Layout
13671 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13674 \begin_layout Plain Layout
13678 \begin_layout Plain Layout
13691 \begin_layout Plain Layout
13702 \begin_layout Plain Layout
13713 \begin_layout Plain Layout
13727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13730 \begin_layout Plain Layout
13736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13739 \begin_layout Plain Layout
13745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13748 \begin_layout Plain Layout
13754 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13757 \begin_layout Plain Layout
13763 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13766 \begin_layout Plain Layout
13774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13777 \begin_layout Plain Layout
13783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13786 \begin_layout Plain Layout
13792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13795 \begin_layout Plain Layout
13801 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13804 \begin_layout Plain Layout
13810 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13813 \begin_layout Plain Layout
13821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13824 \begin_layout Plain Layout
13830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13833 \begin_layout Plain Layout
13839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13842 \begin_layout Plain Layout
13848 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13851 \begin_layout Plain Layout
13857 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13860 \begin_layout Plain Layout
13868 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13871 \begin_layout Plain Layout
13875 \begin_layout Plain Layout
13888 \begin_layout Plain Layout
13899 \begin_layout Plain Layout
13910 \begin_layout Plain Layout
13922 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13925 \begin_layout Plain Layout
13931 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13934 \begin_layout Plain Layout
13940 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13943 \begin_layout Plain Layout
13949 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13952 \begin_layout Plain Layout
13956 \begin_layout Plain Layout
13969 \begin_layout Plain Layout
13980 \begin_layout Plain Layout
13991 \begin_layout Plain Layout
14011 \begin_layout Standard
14012 To rotate the diagonal lines, the command option
14037 and represent a point of a compass.
14042 is for example the south-west corner.
14043 Thus in the lower left cell of the above table the command
14046 \begin_layout Standard
14051 diagbox[dir=SW]{Team home}{Result}{Team away}
14054 \begin_layout Standard
14056 If no direction is given, it will be NW.
14059 \begin_layout Standard
14060 The necessary width of split cells is automatically calculated.
14061 Thus if you set a fixed column width smaller than the calculated one, the
14062 cell's content will protrude the cell borders:
14065 \begin_layout Standard
14068 \begin_inset Tabular
14069 <lyxtabular version="3" rows="2" columns="2">
14070 <features tabularvalignment="middle">
14071 <column alignment="center" valignment="top" width="3cm">
14072 <column alignment="center" valignment="top">
14074 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14077 \begin_layout Plain Layout
14081 \begin_layout Plain Layout
14094 \begin_layout Plain Layout
14105 \begin_layout Plain Layout
14117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14120 \begin_layout Plain Layout
14128 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14131 \begin_layout Plain Layout
14137 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14140 \begin_layout Plain Layout
14154 \begin_layout Standard
14155 If you need a certain width for columns with a split cell, use the command
14160 (replace '3cm' by the width you need).
14161 In the following table the width of the first column is set to 4
14162 \begin_inset space \thinspace{}
14173 \begin_inset space \thinspace{}
14177 \begin_inset space \thinspace{}
14182 tabcolsep is necessary because the overall width is the width for the text
14183 (in this case the 4
14184 \begin_inset space \thinspace{}
14187 cm) plus two times the separation of the text and the cell border.
14188 The calculation of the width cannot be done in the command option of
14194 so one needs to create a new length which can be used later.
14195 This is done with the \SpecialChar TeX
14199 \begin_layout Standard
14207 \begin_inset Newline newline
14219 \begin_layout Standard
14223 \begin_layout Plain Layout
14232 \begin_layout Plain Layout
14248 \begin_layout Standard
14249 To enable calculations in \SpecialChar LaTeX
14250 one needs to load the package
14255 \begin_inset Index idx
14258 \begin_layout Plain Layout
14265 in the document preamble.
14268 \begin_layout Standard
14269 In this table you can now use the command
14272 \begin_layout Standard
14282 \begin_layout Standard
14286 \begin_layout Standard
14289 \begin_inset Tabular
14290 <lyxtabular version="3" rows="2" columns="2">
14291 <features tabularvalignment="middle">
14292 <column alignment="center" valignment="top" width="4cm">
14293 <column alignment="center" valignment="top">
14295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14298 \begin_layout Plain Layout
14302 \begin_layout Plain Layout
14317 \begin_layout Plain Layout
14328 \begin_layout Plain Layout
14340 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14343 \begin_layout Plain Layout
14351 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14354 \begin_layout Plain Layout
14360 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14363 \begin_layout Plain Layout
14377 \begin_layout Standard
14378 Note that the split cell needs to be the widest one in the column.
14379 Otherwise the length of the diagonal line cannot be calculated correctly
14380 like in this table:
14383 \begin_layout Standard
14386 \begin_inset Tabular
14387 <lyxtabular version="3" rows="2" columns="2">
14388 <features tabularvalignment="middle">
14389 <column alignment="center" valignment="top" width="0pt">
14390 <column alignment="center" valignment="top">
14392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14395 \begin_layout Plain Layout
14399 \begin_layout Plain Layout
14412 \begin_layout Plain Layout
14423 \begin_layout Plain Layout
14435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14438 \begin_layout Plain Layout
14446 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14449 \begin_layout Plain Layout
14455 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14458 \begin_layout Plain Layout
14472 \begin_layout Standard
14473 In this case use the
14484 It is then not necessary to add 2
14486 tabcolsep because the cell width is now the width of the column.
14487 In this table a width of 3
14488 \begin_inset space \thinspace{}
14494 \begin_layout Standard
14497 \begin_inset Tabular
14498 <lyxtabular version="3" rows="2" columns="2">
14499 <features tabularvalignment="middle">
14500 <column alignment="center" valignment="top" width="0pt">
14501 <column alignment="center" valignment="top">
14503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14506 \begin_layout Plain Layout
14510 \begin_layout Plain Layout
14514 diagbox[width=3cm]{
14523 \begin_layout Plain Layout
14534 \begin_layout Plain Layout
14546 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14549 \begin_layout Plain Layout
14557 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14560 \begin_layout Plain Layout
14566 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14569 \begin_layout Plain Layout
14583 \begin_layout Standard
14584 For multiple text lines in split cells one needs some extra height to fit
14585 the text to the cell.
14586 This can be achieved with the
14596 (replace '3cm' by the height you need).
14597 In the following table the command
14600 \begin_layout Standard
14605 diagbox[width=3cm,height=1.4cm]{A
14616 \begin_layout Standard
14617 is used in the first cell.
14626 creates hereby the line break.
14630 \begin_layout Plain Layout
14631 Breaking lines with
14635 is only possible when the column has a fixed width.
14643 \begin_layout Standard
14646 \begin_inset Tabular
14647 <lyxtabular version="3" rows="2" columns="2">
14648 <features tabularvalignment="middle">
14649 <column alignment="center" valignment="top">
14650 <column alignment="center" valignment="top">
14652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14655 \begin_layout Plain Layout
14659 \begin_layout Plain Layout
14663 diagbox[width=3cm,height=1.4cm]{
14672 \begin_layout Plain Layout
14687 \begin_layout Plain Layout
14698 \begin_layout Plain Layout
14713 \begin_layout Plain Layout
14725 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14728 \begin_layout Plain Layout
14736 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14739 \begin_layout Plain Layout
14745 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14748 \begin_layout Plain Layout
14762 \begin_layout Standard
14766 \begin_layout Plain Layout
14776 \begin_inset Note Note
14779 \begin_layout Plain Layout
14780 The following will be displayed when the \SpecialChar LaTeX
14793 \begin_layout Standard
14794 You need to install the \SpecialChar LaTeX
14799 to see the following part of this section in the output.
14802 \begin_layout Standard
14806 \begin_layout Plain Layout
14818 \begin_layout Standard
14819 For more info about the \SpecialChar LaTeX
14824 , see its documentation,
14825 \begin_inset CommandInset citation
14835 \begin_layout Section
14837 \begin_inset CommandInset label
14839 name "sec:Formal-Tables"
14844 \begin_inset Index idx
14847 \begin_layout Plain Layout
14856 \begin_layout Standard
14857 Tables are often typeset in books similar to Table
14858 \begin_inset space ~
14862 \begin_inset CommandInset ref
14864 reference "tab:Example-booktabs-table"
14869 This kind of tables is called
14870 \begin_inset Quotes eld
14878 \begin_inset Quotes erd
14882 To make a table a formal table
14883 \change_inserted -712698321 1554290084
14884 , select the table style
14885 \begin_inset Quotes eld
14889 \begin_inset Quotes erd
14892 in the Table Creation dialog or
14902 tab of the table dialog
14903 \change_inserted -712698321 1554290131
14904 (if you additionally check the option
14906 Use Default Formal Style
14908 , the border lines are adapted to a sensible default)
14913 \begin_layout Standard
14914 \begin_inset Float table
14921 \begin_layout Plain Layout
14922 \begin_inset Caption Standard
14924 \begin_layout Plain Layout
14925 \begin_inset CommandInset label
14927 name "tab:Example-booktabs-table"
14932 \change_deleted -712698321 1554292310
14934 \change_inserted -712698321 1554292311
14945 \begin_layout Plain Layout
14947 \begin_inset Tabular
14948 <lyxtabular version="3" rows="8" columns="4">
14949 <features booktabs="true" tabularvalignment="middle">
14950 <column alignment="center" valignment="top">
14951 <column alignment="center" valignment="top" width="0pt">
14952 <column alignment="center" valignment="top" width="0pt">
14953 <column alignment="center" valignment="top">
14955 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14958 \begin_layout Plain Layout
14964 <cell alignment="center" valignment="top" topline="true" usebox="none">
14967 \begin_layout Plain Layout
14969 \begin_inset space \thinspace{}
14977 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
14980 \begin_layout Plain Layout
14982 \begin_inset space \thinspace{}
14990 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14993 \begin_layout Plain Layout
15001 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15004 \begin_layout Plain Layout
15006 \change_deleted -712698321 1554290161
15010 \begin_layout Plain Layout
15023 \begin_layout Plain Layout
15034 Detector thickness in µm
15039 <cell alignment="center" valignment="top" usebox="none">
15042 \begin_layout Plain Layout
15048 <cell alignment="center" valignment="top" usebox="none">
15051 \begin_layout Plain Layout
15057 <cell alignment="center" valignment="top" usebox="none">
15060 \begin_layout Plain Layout
15068 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15071 \begin_layout Plain Layout
15077 <cell alignment="center" valignment="top" topline="true" toplinertrim="true" usebox="none">
15080 \begin_layout Plain Layout
15086 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
15089 \begin_layout Plain Layout
15095 <cell alignment="center" valignment="top" topline="true" usebox="none">
15098 \begin_layout Plain Layout
15105 <row topspace="default">
15106 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15109 \begin_layout Plain Layout
15110 Spatial resolution in µm
15115 <cell alignment="center" valignment="top" usebox="none">
15118 \begin_layout Plain Layout
15124 <cell alignment="center" valignment="top" usebox="none">
15127 \begin_layout Plain Layout
15133 <cell alignment="center" valignment="top" usebox="none">
15136 \begin_layout Plain Layout
15143 <row topspace="default">
15144 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15147 \begin_layout Plain Layout
15149 \begin_inset Formula $f_{\mathrm{max}}$
15157 <cell alignment="center" valignment="top" usebox="none">
15160 \begin_layout Plain Layout
15166 <cell alignment="center" valignment="top" usebox="none">
15169 \begin_layout Plain Layout
15175 <cell alignment="center" valignment="top" usebox="none">
15178 \begin_layout Plain Layout
15185 <row topspace="default">
15186 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15189 \begin_layout Plain Layout
15191 \change_deleted -712698321 1554290260
15195 \begin_layout Plain Layout
15199 cmidrule[2pt](l{10pt}){1-1}
15206 LSF-spatial resolution
15211 <cell alignment="center" valignment="top" usebox="none">
15214 \begin_layout Plain Layout
15220 <cell alignment="center" valignment="top" usebox="none">
15223 \begin_layout Plain Layout
15229 <cell alignment="center" valignment="top" usebox="none">
15232 \begin_layout Plain Layout
15240 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15243 \begin_layout Plain Layout
15249 <cell alignment="center" valignment="top" usebox="none">
15252 \begin_layout Plain Layout
15258 <cell alignment="center" valignment="top" usebox="none">
15261 \begin_layout Plain Layout
15267 <cell alignment="center" valignment="top" usebox="none">
15270 \begin_layout Plain Layout
15278 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15281 \begin_layout Plain Layout
15287 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15290 \begin_layout Plain Layout
15296 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15299 \begin_layout Plain Layout
15305 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15308 \begin_layout Plain Layout
15327 \begin_layout Standard
15328 Spaces to table rows can be added using the
15332 tab of the table dialog as described in section
15333 \begin_inset space ~
15337 \begin_inset CommandInset ref
15339 reference "subsec:Row-Spacing"
15346 \begin_layout Standard
15347 Unlike normal tables, formal tables have no vertical table lines.
15348 The horizontal table lines can be set as for normal tables but they appear
15349 with different widths in the output:
15350 \begin_inset Newline newline
15353 The first and the last table line have a default width of 0.08
15354 \begin_inset space \thinspace{}
15357 em while the other lines have a default width of 0.05
15358 \begin_inset space \thinspace{}
15364 \begin_layout Standard
15365 The default widths can be changed with the following preamble lines
15368 \begin_layout Standard
15378 \begin_inset Newline newline
15390 \begin_layout Standard
15391 This example is for the first line, the so called
15396 If you want to change the width for the last line, replace
15405 To change the width for the other lines replace
15414 You can use all units listed in appendix
15415 \begin_inset space ~
15419 \begin_inset CommandInset ref
15421 reference "cha:Units-available-in"
15428 \begin_layout Standard
15430 \change_deleted -712698321 1554290929
15431 Lines that do not span all table columns can be created by setting a table
15432 line for multicolumn cells.
15434 will then internally use the command
15440 to create this line.
15442 \change_inserted -712698321 1554291959
15444 \begin_inset space ~
15448 \begin_inset CommandInset ref
15450 reference "tab:Example-booktabs-table"
15454 , formal tables often use shortened lines to group columns.
15455 This can be done in the borders widget of the table dialog.
15456 With formal tables, the top and bottom borders have to small offset lines
15457 to the left and the right.
15458 Clicking on these will trim the line respectively.
15463 \begin_layout Standard
15465 \change_inserted -712698321 1554291403
15466 If you need to adjust the length of the trimming or the height of the rules,
15467 you have to resort to \SpecialChar TeX
15469 The respective command (which is also used for the trimmed mid rules) is
15475 \begin_layout Standard
15480 cmidrule[height](trim){startcol-endcol}
15483 \begin_layout Standard
15485 \change_deleted -712698321 1554292020
15492 are currently not supported by \SpecialChar LyX
15493 so you have to use \SpecialChar TeX
15502 s can manually be created by inserting the command as \SpecialChar TeX
15504 cell entry of the first cell of a row.
15505 The line is then drawn in the output above the current row.
15510 \begin_layout Standard
15511 The default for the optional
15516 \begin_inset space \thinspace{}
15524 is the number of the column where the line starts and
15528 the column number where the line ends.
15533 always needs to be specified, also when the line should span only one column.
15534 The optional parameter
15551 Using for example the parameter
15555 means that the line is trimmed from its left end by 2
15556 \begin_inset space \thinspace{}
15560 If you don't specify the
15564 the line is trimmed by the default of 0.5
15565 \begin_inset space \thinspace{}
15569 \change_inserted -712698321 1554291561
15570 (this is what is done if you use trimming from the dialog)
15573 \change_inserted -712698321 1554292039
15577 \begin_layout Standard
15579 \change_inserted -712698321 1554292207
15590 is currently not supported by \SpecialChar LyX
15591 , and neither are the
15596 If you need this you can manually insert a
15602 with the respective settings as \SpecialChar TeX
15603 Code as the first cell entry of the first
15605 The line is then drawn in the output above the current row.
15607 \begin_inset space ~
15611 \begin_inset CommandInset ref
15613 reference "tab:Special-booktabs-table"
15617 exemplifies this (in the sixth row).
15622 \begin_layout Standard
15624 \change_deleted -712698321 1554291078
15625 \begin_inset VSpace bigskip
15629 \begin_inset space ~
15633 \begin_inset CommandInset ref
15635 reference "tab:Example-booktabs-table"
15639 was created using the commands
15642 \begin_layout Standard
15644 \change_deleted -712698321 1554291077
15654 \begin_layout Standard
15656 \change_deleted -712698321 1554291077
15657 at the beginning of the second row and
15660 \begin_layout Standard
15662 \change_deleted -712698321 1554291077
15667 cmidrule[2pt](l{10pt}){1-1}
15670 \begin_layout Standard
15672 \change_deleted -712698321 1554291077
15678 \begin_layout Standard
15680 \change_deleted -712698321 1554292212
15681 \begin_inset VSpace bigskip
15689 \begin_layout Standard
15691 \change_inserted -712698321 1554291573
15694 might want to have overlapping
15701 \change_deleted -712698321 1554296804
15703 \change_inserted -712698321 1554296808
15704 exemplified as well
15707 \begin_inset space ~
15711 \begin_inset CommandInset ref
15713 reference "tab:Special-booktabs-table"
15718 \change_inserted -712698321 1554291601
15719 , even though this is considered bad style (so only use it if you really
15723 This can be achieved with the \SpecialChar TeX
15727 \begin_layout Standard
15735 \begin_layout Standard
15736 The command that was used for the second row of Table
15737 \begin_inset space ~
15741 \begin_inset CommandInset ref
15743 reference "tab:Special-booktabs-table"
15750 \begin_layout Standard
15752 \change_deleted -712698321 1554291798
15768 \begin_layout Standard
15769 The command for the sixth row is
15772 \begin_layout Standard
15774 \change_deleted -712698321 1554291810
15788 \begin_layout Standard
15789 \begin_inset VSpace bigskip
15795 \begin_layout Standard
15796 If you are in any way not satisfied with the border line spacing, you can
15797 use the following command to produce lines that span over all table columns
15802 \begin_layout Standard
15807 specialrule{width}{space above}{space below}
15810 \begin_layout Standard
15811 For more information about these features, refer to the manual of the \SpecialChar LaTeX
15818 \begin_inset CommandInset citation
15826 \begin_inset Index idx
15829 \begin_layout Plain Layout
15831 -packages ! booktabs
15839 \begin_layout Standard
15840 \begin_inset Float table
15847 \begin_layout Plain Layout
15848 \begin_inset Caption Standard
15850 \begin_layout Plain Layout
15851 \begin_inset CommandInset label
15853 name "tab:Special-booktabs-table"
15858 \change_inserted -712698321 1554292295
15860 \change_deleted -712698321 1554292304
15862 \change_inserted -712698321 1554292305
15864 \change_deleted -712698321 1554292300
15875 \begin_layout Plain Layout
15877 \begin_inset Tabular
15878 <lyxtabular version="3" rows="8" columns="4">
15879 <features booktabs="true" tabularvalignment="middle">
15880 <column alignment="center" valignment="top">
15881 <column alignment="center" valignment="top" width="0pt">
15882 <column alignment="center" valignment="top" width="0pt">
15883 <column alignment="center" valignment="top" width="0pt">
15885 <cell alignment="center" valignment="top" topline="true" usebox="none">
15888 \begin_layout Plain Layout
15894 <cell alignment="center" valignment="top" topline="true" bottomline="true" bottomlinertrim="true" usebox="none">
15897 \begin_layout Plain Layout
15899 \begin_inset space \thinspace{}
15907 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
15910 \begin_layout Plain Layout
15912 \begin_inset space \thinspace{}
15920 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15923 \begin_layout Plain Layout
15931 <cell alignment="center" valignment="top" usebox="none">
15934 \begin_layout Plain Layout
15936 \change_deleted -712698321 1554291732
15940 \begin_layout Plain Layout
15953 \begin_layout Plain Layout
15968 \begin_layout Plain Layout
15981 \begin_layout Plain Layout
15990 Detector thickness in µm
15995 <cell alignment="center" valignment="top" usebox="none">
15998 \begin_layout Plain Layout
16004 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
16007 \begin_layout Plain Layout
16013 <cell alignment="center" valignment="top" topline="true" usebox="none">
16016 \begin_layout Plain Layout
16024 <cell alignment="center" valignment="top" topline="true" usebox="none">
16027 \begin_layout Plain Layout
16033 <cell alignment="center" valignment="top" topline="true" usebox="none">
16036 \begin_layout Plain Layout
16042 <cell alignment="center" valignment="top" topline="true" usebox="none">
16045 \begin_layout Plain Layout
16051 <cell alignment="center" valignment="top" topline="true" usebox="none">
16054 \begin_layout Plain Layout
16061 <row topspace="default">
16062 <cell alignment="center" valignment="top" usebox="none">
16065 \begin_layout Plain Layout
16066 Spatial resolution in µm
16071 <cell alignment="center" valignment="top" usebox="none">
16074 \begin_layout Plain Layout
16080 <cell alignment="center" valignment="top" usebox="none">
16083 \begin_layout Plain Layout
16089 <cell alignment="center" valignment="top" usebox="none">
16092 \begin_layout Plain Layout
16099 <row topspace="default">
16100 <cell alignment="center" valignment="top" usebox="none">
16103 \begin_layout Plain Layout
16105 \begin_inset Formula $f_{\mathrm{max}}$
16113 <cell alignment="center" valignment="top" usebox="none">
16116 \begin_layout Plain Layout
16122 <cell alignment="center" valignment="top" usebox="none">
16125 \begin_layout Plain Layout
16131 <cell alignment="center" valignment="top" usebox="none">
16134 \begin_layout Plain Layout
16142 <cell alignment="center" valignment="top" topline="true" usebox="none">
16145 \begin_layout Plain Layout
16149 \begin_layout Plain Layout
16162 \begin_layout Plain Layout
16167 \change_inserted -712698321 1554291896
16175 LSF-spatial resolution
16180 <cell alignment="center" valignment="top" topline="true" usebox="none">
16183 \begin_layout Plain Layout
16189 <cell alignment="center" valignment="top" topline="true" usebox="none">
16192 \begin_layout Plain Layout
16198 <cell alignment="center" valignment="top" topline="true" usebox="none">
16201 \begin_layout Plain Layout
16209 <cell alignment="center" valignment="top" usebox="none">
16212 \begin_layout Plain Layout
16218 <cell alignment="center" valignment="top" usebox="none">
16221 \begin_layout Plain Layout
16227 <cell alignment="center" valignment="top" usebox="none">
16230 \begin_layout Plain Layout
16236 <cell alignment="center" valignment="top" usebox="none">
16239 \begin_layout Plain Layout
16247 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16250 \begin_layout Plain Layout
16256 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16259 \begin_layout Plain Layout
16265 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16268 \begin_layout Plain Layout
16274 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16277 \begin_layout Plain Layout
16296 \begin_layout Section
16297 Vertical Table Alignment
16298 \begin_inset Index idx
16301 \begin_layout Plain Layout
16310 \begin_layout Standard
16311 To align tables vertically in a text line, the table must be inside a box.
16312 The box can then be vertically aligned as described in section
16313 \begin_inset space ~
16317 \begin_inset CommandInset ref
16319 reference "sec:Box-Dialog"
16326 \begin_layout Standard
16327 In the following example the tables are inside a minipage
16331 \begin_layout Plain Layout
16332 Minipages are described in section
16333 \begin_inset space ~
16337 \begin_inset CommandInset ref
16339 reference "sec:Minipages"
16348 box that has a width of 15
16349 \begin_inset space \thinspace{}
16355 \begin_layout Itemize
16357 \begin_inset Box Frameless
16367 height_special "totalheight"
16372 backgroundcolor "none"
16375 \begin_layout Plain Layout
16376 \begin_inset Tabular
16377 <lyxtabular version="3" rows="3" columns="3">
16378 <features tabularvalignment="middle">
16379 <column alignment="center" valignment="top">
16380 <column alignment="center" valignment="top">
16381 <column alignment="center" valignment="top">
16383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16386 \begin_layout Plain Layout
16392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16395 \begin_layout Plain Layout
16401 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16404 \begin_layout Plain Layout
16412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16415 \begin_layout Plain Layout
16421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16424 \begin_layout Plain Layout
16430 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16433 \begin_layout Plain Layout
16441 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16444 \begin_layout Plain Layout
16450 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16453 \begin_layout Plain Layout
16459 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16462 \begin_layout Plain Layout
16482 \begin_layout Plain Layout
16494 \begin_inset Box Frameless
16504 height_special "totalheight"
16509 backgroundcolor "none"
16512 \begin_layout Plain Layout
16513 \begin_inset Tabular
16514 <lyxtabular version="3" rows="3" columns="3">
16515 <features tabularvalignment="middle">
16516 <column alignment="center" valignment="top">
16517 <column alignment="center" valignment="top">
16518 <column alignment="center" valignment="top">
16520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16523 \begin_layout Plain Layout
16529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16532 \begin_layout Plain Layout
16538 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16541 \begin_layout Plain Layout
16549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16552 \begin_layout Plain Layout
16558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16561 \begin_layout Plain Layout
16567 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16570 \begin_layout Plain Layout
16578 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16581 \begin_layout Plain Layout
16587 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16590 \begin_layout Plain Layout
16596 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16599 \begin_layout Plain Layout
16619 \begin_layout Plain Layout
16629 \begin_layout Itemize
16631 \begin_inset Box Frameless
16641 height_special "totalheight"
16646 backgroundcolor "none"
16649 \begin_layout Plain Layout
16650 \begin_inset Tabular
16651 <lyxtabular version="3" rows="3" columns="3">
16652 <features tabularvalignment="middle">
16653 <column alignment="center" valignment="top">
16654 <column alignment="center" valignment="top">
16655 <column alignment="center" valignment="top">
16657 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16660 \begin_layout Plain Layout
16666 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16669 \begin_layout Plain Layout
16675 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16678 \begin_layout Plain Layout
16686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16689 \begin_layout Plain Layout
16695 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16698 \begin_layout Plain Layout
16704 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16707 \begin_layout Plain Layout
16715 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16718 \begin_layout Plain Layout
16724 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16727 \begin_layout Plain Layout
16733 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16736 \begin_layout Plain Layout
16755 \begin_layout Itemize
16757 \begin_inset Box Frameless
16767 height_special "totalheight"
16772 backgroundcolor "none"
16775 \begin_layout Plain Layout
16776 \begin_inset Tabular
16777 <lyxtabular version="3" rows="3" columns="3">
16778 <features tabularvalignment="middle">
16779 <column alignment="center" valignment="top">
16780 <column alignment="center" valignment="top">
16781 <column alignment="center" valignment="top">
16783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16786 \begin_layout Plain Layout
16792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16795 \begin_layout Plain Layout
16801 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16804 \begin_layout Plain Layout
16812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16815 \begin_layout Plain Layout
16821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16824 \begin_layout Plain Layout
16830 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16833 \begin_layout Plain Layout
16841 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16844 \begin_layout Plain Layout
16850 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16853 \begin_layout Plain Layout
16859 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16862 \begin_layout Plain Layout
16882 \begin_layout Plain Layout
16894 \begin_inset Box Frameless
16904 height_special "totalheight"
16909 backgroundcolor "none"
16912 \begin_layout Plain Layout
16913 \begin_inset Tabular
16914 <lyxtabular version="3" rows="3" columns="3">
16915 <features tabularvalignment="middle">
16916 <column alignment="center" valignment="top">
16917 <column alignment="center" valignment="top">
16918 <column alignment="center" valignment="top">
16920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16923 \begin_layout Plain Layout
16929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16932 \begin_layout Plain Layout
16938 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16941 \begin_layout Plain Layout
16949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16952 \begin_layout Plain Layout
16958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16961 \begin_layout Plain Layout
16967 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16970 \begin_layout Plain Layout
16978 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16981 \begin_layout Plain Layout
16987 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16990 \begin_layout Plain Layout
16996 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16999 \begin_layout Plain Layout
17019 \begin_layout Plain Layout
17029 \begin_layout Standard
17030 As you will see, the content of the first and last table row is not correctly
17032 To get this alignment, the minipage box must be set into a raisebox.
17036 \begin_layout Plain Layout
17037 Raiseboxes are described in section
17038 \begin_inset space ~
17042 \begin_inset CommandInset ref
17044 reference "subsec:Vertical-Alignment"
17053 In the example above the second table in the first item is aligned using
17054 the \SpecialChar TeX
17058 \begin_layout Standard
17068 \begin_layout Standard
17070 After the box the closing brace
17074 is inserted as \SpecialChar TeX
17076 For the second table in the last item the command
17079 \begin_layout Standard
17089 \begin_layout Standard
17093 \begin_layout Standard
17094 \begin_inset Note Greyedout
17097 \begin_layout Plain Layout
17102 The alignment of the table row content to the surrounding text line is
17104 The required value for the
17110 command for this alignment depends on the document font, the font size,
17111 and the table line thickness.
17119 \begin_layout Section
17121 \begin_inset CommandInset label
17123 name "sec:Colored-Tables"
17128 \begin_inset Index idx
17131 \begin_layout Plain Layout
17140 \begin_layout Subsection
17142 \begin_inset Index idx
17145 \begin_layout Plain Layout
17146 Table Color ! for Cells
17152 \begin_inset Index idx
17155 \begin_layout Plain Layout
17156 Color ! for Table Cells
17164 \begin_layout Standard
17165 \begin_inset Float table
17172 \begin_layout Plain Layout
17173 \begin_inset Caption Standard
17175 \begin_layout Plain Layout
17176 \begin_inset CommandInset label
17178 name "tab:Table-colored-without"
17182 Table colored without using the package
17187 \begin_inset Argument 1
17190 \begin_layout Plain Layout
17191 Table without colortbl
17204 \begin_layout Plain Layout
17206 \begin_inset Tabular
17207 <lyxtabular version="3" rows="3" columns="3">
17208 <features tabularvalignment="middle">
17209 <column alignment="center" valignment="top">
17210 <column alignment="center" valignment="top">
17211 <column alignment="center" valignment="top">
17213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17216 \begin_layout Plain Layout
17224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17227 \begin_layout Plain Layout
17235 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17238 \begin_layout Plain Layout
17248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17251 \begin_layout Plain Layout
17259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17262 \begin_layout Plain Layout
17270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17273 \begin_layout Plain Layout
17283 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17286 \begin_layout Plain Layout
17294 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17297 \begin_layout Plain Layout
17305 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17308 \begin_layout Plain Layout
17329 \begin_layout Standard
17330 If you only need colored text, mark the cells and choose a color in the
17334 \begin_inset space ~
17339 dialog (toolbar button
17342 arg "dialog-show character"
17346 This was used to create Table
17347 \begin_inset space ~
17351 \begin_inset CommandInset ref
17353 reference "tab:Table-colored-without"
17358 In any other case you have to use the \SpecialChar LaTeX
17364 \begin_inset Index idx
17367 \begin_layout Plain Layout
17369 -packages ! colortbl
17377 \begin_layout Standard
17381 \begin_layout Plain Layout
17391 \begin_inset Note Note
17394 \begin_layout Plain Layout
17395 The following section part will only be displayed when the \SpecialChar LaTeX
17408 \begin_layout Standard
17409 To create colored tables,
17413 must be loaded in the preamble with the line
17416 \begin_layout Standard
17421 usepackage{colortbl}
17424 \begin_layout Standard
17425 The color of a column is adjusted with the command
17428 \begin_layout Standard
17433 columncolor{name of color}
17436 \begin_layout Standard
17442 More about the command
17446 is contained in section
17447 \begin_inset space ~
17451 \begin_inset CommandInset ref
17453 reference "subsec:Multicolumn-Calculations"
17460 \begin_layout Standard
17461 The following color names are predefined:
17464 \begin_layout Standard
17498 \begin_layout Standard
17499 \begin_inset VSpace medskip
17505 \begin_layout Standard
17506 If you add the option
17509 \begin_layout Standard
17515 \begin_layout Standard
17516 to the document class options in the document settings, you can additionally
17518 \begin_inset space ~
17522 These colors are listed in appendix
17523 \begin_inset space ~
17527 \begin_inset CommandInset ref
17529 reference "chap:List-of-dvips-colornames"
17534 One of these colors,
17538 , is used as example in Table
17539 \begin_inset space ~
17543 \begin_inset CommandInset ref
17545 reference "tab:Table-colored-using"
17552 \begin_layout Standard
17553 \begin_inset VSpace medskip
17559 \begin_layout Standard
17560 You can also define your own color with the command
17563 \begin_layout Standard
17568 definecolor{color name}{color model}{color values}
17571 \begin_layout Standard
17572 The color model can be
17575 \begin_layout Labeling
17576 \labelwidthstring 00.00.0000
17577 cmyk: cyan, magenta, yellow, black
17580 \begin_layout Labeling
17581 \labelwidthstring 00.00.0000
17582 rgb: red, green blue
17585 \begin_layout Labeling
17586 \labelwidthstring 00.00.0000
17590 \begin_layout Standard
17591 and the color values are comma separated numbers between 0 and 1 describing
17592 the factor for the corresponding color of the color model.
17595 \begin_layout Standard
17597 \begin_inset space \thinspace{}
17601 \begin_inset space \space{}
17608 " in the preamble with
17611 \begin_layout Standard
17616 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
17619 \begin_layout Standard
17627 \begin_layout Standard
17632 definecolor{lightgray}{gray}{0.8}
17635 \begin_layout Standard
17636 \begin_inset VSpace medskip
17642 \begin_layout Standard
17643 Lines are colored with the command
17646 \begin_layout Standard
17651 rowcolor{name of color}
17654 \begin_layout Standard
17655 and cells are colored with the command
17658 \begin_layout Standard
17663 cellcolor{name of color}
17666 \begin_layout Standard
17667 Both commands are inserted at the beginning of a cell as \SpecialChar TeX
17671 \begin_layout Standard
17672 To color characters in the table, mark the cells and use the
17675 \begin_inset space ~
17681 If a cell contains \SpecialChar TeX
17682 Code mark only the characters, otherwise the colored
17684 Code will cause \SpecialChar LaTeX
17688 \begin_layout Standard
17689 \begin_inset Note Greyedout
17692 \begin_layout Plain Layout
17697 Not all DVI-viewers are able to display self-defined colors.
17705 \begin_layout Standard
17706 \begin_inset VSpace bigskip
17712 \begin_layout Standard
17714 \begin_inset space ~
17718 \begin_inset CommandInset ref
17720 reference "tab:Table-colored-using"
17724 do the following: The color of the first column should be
17732 \begin_layout Standard
17737 columncolor{darkgreen}
17742 \begin_layout Standard
17743 as \SpecialChar LaTeX
17744 -argument for this column.
17745 The first row should be light blue, therefore the \SpecialChar TeX
17749 \begin_layout Standard
17757 \begin_layout Standard
17758 is inserted to the first cell of this row.
17759 Note that this overwrites the column color for the first cell.
17760 The last cell of the last row is colored maroon by inserting the \SpecialChar TeX
17765 \begin_layout Standard
17773 \begin_layout Standard
17774 The characters could now be colored using the menu
17776 Edit\SpecialChar menuseparator
17778 \begin_inset space ~
17786 \begin_layout Standard
17787 \begin_inset Float table
17794 \begin_layout Plain Layout
17795 \begin_inset Caption Standard
17797 \begin_layout Plain Layout
17798 \begin_inset CommandInset label
17800 name "tab:Table-colored-using"
17804 Table colored using the package
17809 \begin_inset Argument 1
17812 \begin_layout Plain Layout
17813 Table with colortbl
17826 \begin_layout Plain Layout
17828 \begin_inset Tabular
17829 <lyxtabular version="3" rows="3" columns="3">
17830 <features tabularvalignment="middle">
17831 <column alignment="center" valignment="top" special=">{\columncolor{darkgreen}\centering}c">
17832 <column alignment="center" valignment="top">
17833 <column alignment="center" valignment="top">
17835 <cell alignment="center" valignment="top" usebox="none">
17838 \begin_layout Plain Layout
17842 \begin_layout Plain Layout
17858 <cell alignment="center" valignment="top" usebox="none">
17861 \begin_layout Plain Layout
17869 <cell alignment="center" valignment="top" usebox="none">
17872 \begin_layout Plain Layout
17882 <cell alignment="center" valignment="top" usebox="none">
17885 \begin_layout Plain Layout
17893 <cell alignment="center" valignment="top" usebox="none">
17896 \begin_layout Plain Layout
17904 <cell alignment="center" valignment="top" usebox="none">
17907 \begin_layout Plain Layout
17917 <cell alignment="center" valignment="top" usebox="none">
17920 \begin_layout Plain Layout
17928 <cell alignment="center" valignment="top" usebox="none">
17931 \begin_layout Plain Layout
17939 <cell alignment="center" valignment="top" usebox="none">
17942 \begin_layout Plain Layout
17946 \begin_layout Plain Layout
17975 \begin_layout Standard
17979 \begin_layout Plain Layout
17989 \begin_inset Note Note
17992 \begin_layout Plain Layout
17993 The following will be displayed when the \SpecialChar LaTeX
18006 \begin_layout Standard
18007 You need to install the package
18011 to see the content of this section in the output.
18014 \begin_layout Standard
18018 \begin_layout Plain Layout
18030 \begin_layout Subsection
18032 \begin_inset Index idx
18035 \begin_layout Plain Layout
18036 Table Color ! for Rows
18042 \begin_inset Index idx
18045 \begin_layout Plain Layout
18046 Color ! for Table Rows
18054 \begin_layout Standard
18055 In case every second table row needs to be colored there is an alternative
18056 to the method described in the previous section: One loads the package
18062 \begin_inset Index idx
18065 \begin_layout Plain Layout
18071 \begin_layout Plain Layout
18085 in the document preamble with the command
18088 \begin_layout Standard
18093 usepackage[table]{xcolor}
18096 \begin_layout Standard
18101 automatically loads also the package
18106 \begin_inset Index idx
18109 \begin_layout Plain Layout
18111 -packages ! colortbl
18120 must be installed in your \SpecialChar LaTeX
18121 -distribution, otherwise you get \SpecialChar LaTeX
18125 \begin_layout Standard
18129 \begin_layout Plain Layout
18139 \begin_inset Note Note
18142 \begin_layout Plain Layout
18143 The following section part will only be displayed when the \SpecialChar LaTeX
18156 \begin_layout Standard
18157 The table rows are colored with the command
18160 \begin_layout Standard
18165 rowcolors[commands]{row number}{odd row color}{even row color}
18168 \begin_layout Standard
18169 that is either inserted in the document preamble or as \SpecialChar TeX
18171 first table to be colored.
18173 \begin_inset space ~
18176 number is the number of the first row which should be colored according
18177 to the odd row color.
18178 commands can be additional commands that are executed before every table
18180 So for example the command
18183 \begin_layout Standard
18188 rowcolors{1}{white}{lightgray}
18191 \begin_layout Standard
18192 leads to the coloring scheme of Table
18193 \begin_inset space ~
18197 \begin_inset CommandInset ref
18199 reference "tab:Table-rowcolors"
18207 \begin_layout Standard
18214 hline]{1}{lightgray}{cyan}
18217 \begin_layout Standard
18218 leads to the coloring scheme of Table
18219 \begin_inset space ~
18223 \begin_inset CommandInset ref
18225 reference "tab:Table-rowcolors-2"
18231 \begin_inset space ~
18235 \begin_inset space ~
18239 \begin_inset space ~
18243 \begin_inset space ~
18246 color are left empty, no color will be used so that the command
18249 \begin_layout Standard
18257 \begin_layout Standard
18258 deletes all colors.
18265 affects all tables following that command.
18268 \begin_layout Standard
18272 \begin_layout Plain Layout
18276 rowcolors{1}{white}{lightgray}
18284 \begin_layout Standard
18285 \begin_inset Float table
18292 \begin_layout Plain Layout
18293 \begin_inset Caption Standard
18295 \begin_layout Plain Layout
18296 \begin_inset CommandInset label
18298 name "tab:Table-rowcolors"
18302 Table where every second row is colored light gray.
18310 \begin_layout Plain Layout
18312 \begin_inset Tabular
18313 <lyxtabular version="3" rows="4" columns="3">
18314 <features tabularvalignment="middle">
18315 <column alignment="center" valignment="top">
18316 <column alignment="center" valignment="top" width="0pt">
18317 <column alignment="center" valignment="top" width="0pt">
18319 <cell alignment="center" valignment="top" usebox="none">
18322 \begin_layout Plain Layout
18328 <cell alignment="center" valignment="top" usebox="none">
18331 \begin_layout Plain Layout
18337 <cell alignment="center" valignment="top" usebox="none">
18340 \begin_layout Plain Layout
18348 <cell alignment="center" valignment="top" usebox="none">
18351 \begin_layout Plain Layout
18357 <cell alignment="center" valignment="top" usebox="none">
18360 \begin_layout Plain Layout
18366 <cell alignment="center" valignment="top" usebox="none">
18369 \begin_layout Plain Layout
18377 <cell alignment="center" valignment="top" usebox="none">
18380 \begin_layout Plain Layout
18386 <cell alignment="center" valignment="top" usebox="none">
18389 \begin_layout Plain Layout
18395 <cell alignment="center" valignment="top" usebox="none">
18398 \begin_layout Plain Layout
18406 <cell alignment="center" valignment="top" usebox="none">
18409 \begin_layout Plain Layout
18415 <cell alignment="center" valignment="top" usebox="none">
18418 \begin_layout Plain Layout
18424 <cell alignment="center" valignment="top" usebox="none">
18427 \begin_layout Plain Layout
18446 \begin_layout Standard
18450 \begin_layout Plain Layout
18456 hline]{1}{lightgray}{cyan}
18464 \begin_layout Standard
18465 \begin_inset Float table
18472 \begin_layout Plain Layout
18473 \begin_inset Caption Standard
18475 \begin_layout Plain Layout
18476 \begin_inset CommandInset label
18478 name "tab:Table-rowcolors-2"
18482 Table where every second row is colored cyan and at which there is a line
18491 \begin_layout Plain Layout
18493 \begin_inset Tabular
18494 <lyxtabular version="3" rows="4" columns="3">
18495 <features tabularvalignment="middle">
18496 <column alignment="center" valignment="top">
18497 <column alignment="center" valignment="top">
18498 <column alignment="center" valignment="top" width="0pt">
18500 <cell alignment="center" valignment="top" usebox="none">
18503 \begin_layout Plain Layout
18509 <cell alignment="center" valignment="top" usebox="none">
18512 \begin_layout Plain Layout
18518 <cell alignment="center" valignment="top" usebox="none">
18521 \begin_layout Plain Layout
18529 <cell alignment="center" valignment="top" usebox="none">
18532 \begin_layout Plain Layout
18538 <cell alignment="center" valignment="top" usebox="none">
18541 \begin_layout Plain Layout
18547 <cell alignment="center" valignment="top" usebox="none">
18550 \begin_layout Plain Layout
18558 <cell alignment="center" valignment="top" usebox="none">
18561 \begin_layout Plain Layout
18567 <cell alignment="center" valignment="top" usebox="none">
18570 \begin_layout Plain Layout
18576 <cell alignment="center" valignment="top" usebox="none">
18579 \begin_layout Plain Layout
18587 <cell alignment="center" valignment="top" usebox="none">
18590 \begin_layout Plain Layout
18596 <cell alignment="center" valignment="top" usebox="none">
18599 \begin_layout Plain Layout
18605 <cell alignment="center" valignment="top" usebox="none">
18608 \begin_layout Plain Layout
18627 \begin_layout Standard
18631 \begin_layout Plain Layout
18641 \begin_inset Note Note
18644 \begin_layout Plain Layout
18645 turns off the row coloring
18653 \begin_layout Standard
18657 \begin_layout Plain Layout
18667 \begin_inset Note Note
18670 \begin_layout Plain Layout
18671 The following will be displayed when the \SpecialChar LaTeX
18684 \begin_layout Standard
18685 You need to install the package
18689 to see the content of this section in the output.
18692 \begin_layout Standard
18696 \begin_layout Plain Layout
18708 \begin_layout Subsection
18710 \begin_inset Index idx
18713 \begin_layout Plain Layout
18714 Table Color ! for Lines
18720 \begin_inset Index idx
18723 \begin_layout Plain Layout
18724 Color ! for Table Lines
18732 \begin_layout Standard
18733 As described in section
18734 \begin_inset space ~
18738 \begin_inset CommandInset ref
18740 reference "subsec:Line-Thickness"
18744 , the line thickness for all lines in a table can be adjusted with the length
18753 \begin_inset space \thinspace{}
18756 pt for all tables of this section.
18760 \begin_layout Plain Layout
18766 arrayrulewidth}{1.5pt}
18774 \begin_layout Standard
18775 To color vertical lines for example with green, create the following column
18776 format in the document preamble, according to the description in section
18777 \begin_inset space ~
18781 \begin_inset CommandInset ref
18783 reference "subsec:Customized-Format"
18790 \begin_layout Standard
18795 newcolumntype{W}{!{
18802 \begin_layout Standard
18804 \begin_inset space ~
18808 \begin_inset CommandInset ref
18810 reference "tab:Table-with-vertical-colored"
18814 the \SpecialChar LaTeX
18819 was used for the last column and
18823 for the other columns.
18826 \begin_layout Standard
18827 If you want to have several colors, define more column formats.
18830 \begin_layout Standard
18831 \begin_inset Float table
18838 \begin_layout Plain Layout
18839 \begin_inset Caption Standard
18841 \begin_layout Plain Layout
18842 \begin_inset CommandInset label
18844 name "tab:Table-with-vertical-colored"
18848 Table with colored vertical lines
18856 \begin_layout Plain Layout
18858 \begin_inset Tabular
18859 <lyxtabular version="3" rows="3" columns="3">
18860 <features tabularvalignment="middle">
18861 <column alignment="center" valignment="top" special="Wc">
18862 <column alignment="center" valignment="top" special="Wc">
18863 <column alignment="center" valignment="top" special="WcW">
18865 <cell alignment="center" valignment="top" topline="true" usebox="none">
18868 \begin_layout Plain Layout
18874 <cell alignment="center" valignment="top" topline="true" usebox="none">
18877 \begin_layout Plain Layout
18883 <cell alignment="center" valignment="top" topline="true" usebox="none">
18886 \begin_layout Plain Layout
18894 <cell alignment="center" valignment="top" topline="true" usebox="none">
18897 \begin_layout Plain Layout
18903 <cell alignment="center" valignment="top" topline="true" usebox="none">
18906 \begin_layout Plain Layout
18912 <cell alignment="center" valignment="top" topline="true" usebox="none">
18915 \begin_layout Plain Layout
18923 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18926 \begin_layout Plain Layout
18932 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18935 \begin_layout Plain Layout
18941 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18944 \begin_layout Plain Layout
18963 \begin_layout Standard
18964 \begin_inset VSpace bigskip
18967 To color all horizontal lines for example with red, as in Table
18968 \begin_inset space ~
18972 \begin_inset CommandInset ref
18974 reference "tab:Table-with-horizontal-colored"
18978 , insert these commands in \SpecialChar TeX
18979 code before the table or table float:
18982 \begin_layout Standard
18992 \begin_inset Newline newline
19000 \begin_inset Newline newline
19004 \begin_inset Phantom HPhantom
19007 \begin_layout Plain Layout
19010 \begin_inset space ~
19020 arrayrulecolor{red}
19024 arrayrulecolor{black}}
19027 \begin_layout Standard
19031 \begin_layout Plain Layout
19042 \begin_layout Plain Layout
19051 \begin_layout Plain Layout
19055 arrayrulecolor{red}
19059 arrayrulecolor{black}}
19065 \begin_inset Float table
19072 \begin_layout Plain Layout
19073 \begin_inset Caption Standard
19075 \begin_layout Plain Layout
19076 \begin_inset CommandInset label
19078 name "tab:Table-with-horizontal-colored"
19082 Table with colored horizontal lines
19090 \begin_layout Plain Layout
19092 \begin_inset Tabular
19093 <lyxtabular version="3" rows="3" columns="3">
19094 <features tabularvalignment="middle">
19095 <column alignment="center" valignment="top">
19096 <column alignment="center" valignment="top">
19097 <column alignment="center" valignment="top">
19099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19102 \begin_layout Plain Layout
19108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19111 \begin_layout Plain Layout
19117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19120 \begin_layout Plain Layout
19128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19131 \begin_layout Plain Layout
19137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19140 \begin_layout Plain Layout
19146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19149 \begin_layout Plain Layout
19157 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19160 \begin_layout Plain Layout
19166 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19169 \begin_layout Plain Layout
19175 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19178 \begin_layout Plain Layout
19197 \begin_layout Standard
19198 To return to the default line color black, insert this command in \SpecialChar TeX
19200 after the table or table float:
19203 \begin_layout Standard
19215 \begin_layout Standard
19217 \begin_inset space ~
19221 \begin_inset CommandInset ref
19223 reference "tab:Table-with-colored"
19227 is an example with colored vertical and horizontal lines.
19230 \begin_layout Standard
19231 \begin_inset Float table
19238 \begin_layout Plain Layout
19239 \begin_inset Caption Standard
19241 \begin_layout Plain Layout
19242 \begin_inset CommandInset label
19244 name "tab:Table-with-colored"
19248 Table with colored lines
19256 \begin_layout Plain Layout
19258 \begin_inset Tabular
19259 <lyxtabular version="3" rows="3" columns="3">
19260 <features tabularvalignment="middle">
19261 <column alignment="center" valignment="top" special="Wc">
19262 <column alignment="center" valignment="top" special="Wc">
19263 <column alignment="center" valignment="top" special="WcW">
19265 <cell alignment="center" valignment="top" topline="true" usebox="none">
19268 \begin_layout Plain Layout
19274 <cell alignment="center" valignment="top" topline="true" usebox="none">
19277 \begin_layout Plain Layout
19283 <cell alignment="center" valignment="top" topline="true" usebox="none">
19286 \begin_layout Plain Layout
19294 <cell alignment="center" valignment="top" topline="true" usebox="none">
19297 \begin_layout Plain Layout
19303 <cell alignment="center" valignment="top" topline="true" usebox="none">
19306 \begin_layout Plain Layout
19312 <cell alignment="center" valignment="top" topline="true" usebox="none">
19315 \begin_layout Plain Layout
19322 <row topspace="default">
19323 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19326 \begin_layout Plain Layout
19332 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19335 \begin_layout Plain Layout
19341 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19344 \begin_layout Plain Layout
19363 \begin_layout Standard
19367 \begin_layout Plain Layout
19383 \begin_layout Standard
19387 \begin_layout Plain Layout
19393 arrayrulewidth}{1.2pt}
19401 \begin_layout Standard
19402 To color only some of the table lines another strategy is necessary.
19403 To color all following horizontal lines, insert this command as \SpecialChar TeX
19405 last thing in the row that should be above the first colored line:
19408 \begin_layout Standard
19417 arrayrulecolor{blue}%
19420 \begin_layout Standard
19421 To go back to black lines, add this command as first thing in the row that
19422 is above the black lines:
19425 \begin_layout Standard
19430 arrayrulecolor{black}
19433 \begin_layout Standard
19434 With this one can color table lines like in Table
19435 \begin_inset space ~
19439 \begin_inset CommandInset ref
19441 reference "tab:Table-with-different-hor"
19446 However, with this method it is not possible to color the line above the
19447 first row of a table.
19450 \begin_layout Standard
19451 \begin_inset Float table
19458 \begin_layout Plain Layout
19459 \begin_inset Caption Standard
19461 \begin_layout Plain Layout
19462 \begin_inset CommandInset label
19464 name "tab:Table-with-different-hor"
19468 Table with different horizontal line colors.
19476 \begin_layout Plain Layout
19478 \begin_inset Tabular
19479 <lyxtabular version="3" rows="6" columns="7">
19480 <features tabularvalignment="middle">
19481 <column alignment="center" valignment="top">
19482 <column alignment="center" valignment="top">
19483 <column alignment="center" valignment="top">
19484 <column alignment="center" valignment="top">
19485 <column alignment="center" valignment="top">
19486 <column alignment="center" valignment="top">
19487 <column alignment="center" valignment="top">
19489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19492 \begin_layout Plain Layout
19498 <cell alignment="center" valignment="top" topline="true" usebox="none">
19501 \begin_layout Plain Layout
19507 <cell alignment="center" valignment="top" topline="true" usebox="none">
19510 \begin_layout Plain Layout
19516 <cell alignment="center" valignment="top" topline="true" usebox="none">
19519 \begin_layout Plain Layout
19525 <cell alignment="center" valignment="top" topline="true" usebox="none">
19528 \begin_layout Plain Layout
19534 <cell alignment="center" valignment="top" topline="true" usebox="none">
19537 \begin_layout Plain Layout
19543 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
19546 \begin_layout Plain Layout
19550 \begin_layout Plain Layout
19558 arrayrulecolor{blue}%
19570 <cell alignment="center" valignment="top" usebox="none">
19573 \begin_layout Plain Layout
19579 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19582 \begin_layout Plain Layout
19588 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19591 \begin_layout Plain Layout
19597 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19600 \begin_layout Plain Layout
19606 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19609 \begin_layout Plain Layout
19615 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
19618 \begin_layout Plain Layout
19624 <cell alignment="center" valignment="top" usebox="none">
19627 \begin_layout Plain Layout
19635 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19638 \begin_layout Plain Layout
19642 \begin_layout Plain Layout
19646 arrayrulecolor{black}
19656 <cell alignment="center" valignment="top" usebox="none">
19659 \begin_layout Plain Layout
19665 <cell alignment="center" valignment="top" usebox="none">
19668 \begin_layout Plain Layout
19674 <cell alignment="center" valignment="top" usebox="none">
19677 \begin_layout Plain Layout
19683 <cell alignment="center" valignment="top" usebox="none">
19686 \begin_layout Plain Layout
19692 <cell alignment="center" valignment="top" usebox="none">
19695 \begin_layout Plain Layout
19701 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19704 \begin_layout Plain Layout
19712 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19715 \begin_layout Plain Layout
19721 <cell alignment="center" valignment="top" usebox="none">
19724 \begin_layout Plain Layout
19730 <cell alignment="center" valignment="top" usebox="none">
19733 \begin_layout Plain Layout
19739 <cell alignment="center" valignment="top" usebox="none">
19742 \begin_layout Plain Layout
19748 <cell alignment="center" valignment="top" usebox="none">
19751 \begin_layout Plain Layout
19757 <cell alignment="center" valignment="top" usebox="none">
19760 \begin_layout Plain Layout
19766 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19769 \begin_layout Plain Layout
19773 \begin_layout Plain Layout
19781 arrayrulecolor{green}%
19793 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19796 \begin_layout Plain Layout
19802 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19805 \begin_layout Plain Layout
19811 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19814 \begin_layout Plain Layout
19820 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19823 \begin_layout Plain Layout
19829 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19832 \begin_layout Plain Layout
19838 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19841 \begin_layout Plain Layout
19847 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
19850 \begin_layout Plain Layout
19858 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19861 \begin_layout Plain Layout
19865 \begin_layout Plain Layout
19869 arrayrulecolor{black}
19879 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19882 \begin_layout Plain Layout
19888 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19891 \begin_layout Plain Layout
19897 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19900 \begin_layout Plain Layout
19906 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19909 \begin_layout Plain Layout
19915 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19918 \begin_layout Plain Layout
19924 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
19927 \begin_layout Plain Layout
19931 \begin_layout Plain Layout
19939 arrayrulecolor{blue}%
19962 \begin_layout Standard
19963 To change the color of vertical lines within a row, like in Table
19964 \begin_inset space ~
19968 \begin_inset CommandInset ref
19970 reference "tab:Table-with-different-ver"
19974 , one needs to use multicolumns.
19975 At first one needs to remove all vertical lines that don't run along the
19977 Now one colors all lines using the command
19980 \begin_layout Standard
19989 arrayrulecolor{blue}%
19992 \begin_layout Standard
19994 Finally one inserts this command as \SpecialChar TeX
19995 code to every cell in the row where
19996 one needs a vertical line in a different color:
19999 \begin_layout Standard
20015 \begin_layout Standard
20016 This adds a vertical line to both sides of the cell.
20017 The left one will be green, the right one red.
20018 If no color change is necessary one can omit the
20024 command in the above command.
20025 To get for example a black left line and a blue right line you can write:
20028 \begin_layout Standard
20040 \begin_layout Standard
20041 because the color blue was already set for all lines.
20046 creates hereby the vertical line while
20059 To set vertical lines without changing any color use
20062 \begin_layout Standard
20067 multicolumn{1}{|c|}{
20070 \begin_layout Standard
20071 After this command insert the cell content the normal way and end the cell
20072 with a closing brace
20076 in \SpecialChar TeX
20080 \begin_layout Standard
20081 \begin_inset Float table
20088 \begin_layout Plain Layout
20089 \begin_inset Caption Standard
20091 \begin_layout Plain Layout
20092 \begin_inset CommandInset label
20094 name "tab:Table-with-different-ver"
20098 Table with different vertical line colors in one row.
20106 \begin_layout Plain Layout
20108 \begin_inset Tabular
20109 <lyxtabular version="3" rows="5" columns="7">
20110 <features tabularvalignment="middle">
20111 <column alignment="center" valignment="top">
20112 <column alignment="center" valignment="top">
20113 <column alignment="center" valignment="top">
20114 <column alignment="center" valignment="top">
20115 <column alignment="center" valignment="top">
20116 <column alignment="center" valignment="top">
20117 <column alignment="center" valignment="top">
20119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20122 \begin_layout Plain Layout
20128 <cell alignment="center" valignment="top" topline="true" usebox="none">
20131 \begin_layout Plain Layout
20137 <cell alignment="center" valignment="top" topline="true" usebox="none">
20140 \begin_layout Plain Layout
20146 <cell alignment="center" valignment="top" topline="true" usebox="none">
20149 \begin_layout Plain Layout
20155 <cell alignment="center" valignment="top" topline="true" usebox="none">
20158 \begin_layout Plain Layout
20164 <cell alignment="center" valignment="top" topline="true" usebox="none">
20167 \begin_layout Plain Layout
20173 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
20176 \begin_layout Plain Layout
20180 \begin_layout Plain Layout
20188 arrayrulecolor{red}%
20200 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20203 \begin_layout Plain Layout
20207 \begin_layout Plain Layout
20224 \begin_layout Plain Layout
20236 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20239 \begin_layout Plain Layout
20245 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20248 \begin_layout Plain Layout
20254 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20257 \begin_layout Plain Layout
20263 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20266 \begin_layout Plain Layout
20272 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20275 \begin_layout Plain Layout
20279 \begin_layout Plain Layout
20283 multicolumn{1}{c|}{
20292 \begin_layout Plain Layout
20304 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20307 \begin_layout Plain Layout
20311 \begin_layout Plain Layout
20328 \begin_layout Plain Layout
20342 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20345 \begin_layout Plain Layout
20349 \begin_layout Plain Layout
20353 arrayrulecolor{black}
20363 <cell alignment="center" valignment="top" usebox="none">
20366 \begin_layout Plain Layout
20372 <cell alignment="center" valignment="top" usebox="none">
20375 \begin_layout Plain Layout
20381 <cell alignment="center" valignment="top" usebox="none">
20384 \begin_layout Plain Layout
20390 <cell alignment="center" valignment="top" usebox="none">
20393 \begin_layout Plain Layout
20399 <cell alignment="center" valignment="top" usebox="none">
20402 \begin_layout Plain Layout
20408 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20411 \begin_layout Plain Layout
20415 \begin_layout Plain Layout
20423 arrayrulecolor{magenta}%
20435 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20438 \begin_layout Plain Layout
20442 \begin_layout Plain Layout
20446 multicolumn{1}{|c!{
20459 \begin_layout Plain Layout
20471 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20474 \begin_layout Plain Layout
20478 \begin_layout Plain Layout
20495 \begin_layout Plain Layout
20507 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20510 \begin_layout Plain Layout
20514 \begin_layout Plain Layout
20531 \begin_layout Plain Layout
20543 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20546 \begin_layout Plain Layout
20550 \begin_layout Plain Layout
20567 \begin_layout Plain Layout
20579 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20582 \begin_layout Plain Layout
20586 \begin_layout Plain Layout
20603 \begin_layout Plain Layout
20615 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20618 \begin_layout Plain Layout
20622 \begin_layout Plain Layout
20639 \begin_layout Plain Layout
20651 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20654 \begin_layout Plain Layout
20658 \begin_layout Plain Layout
20662 multicolumn{1}{c|}{
20671 \begin_layout Plain Layout
20685 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20688 \begin_layout Plain Layout
20692 \begin_layout Plain Layout
20696 arrayrulecolor{black}
20706 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20709 \begin_layout Plain Layout
20715 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20718 \begin_layout Plain Layout
20724 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20727 \begin_layout Plain Layout
20733 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20736 \begin_layout Plain Layout
20742 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20745 \begin_layout Plain Layout
20751 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20754 \begin_layout Plain Layout
20773 \begin_layout Standard
20777 \begin_layout Plain Layout
20783 arrayrulewidth}{0.4pt}
20791 \begin_layout Section
20792 Rotated Table Cells
20793 \begin_inset CommandInset label
20795 name "sec:Rotated-Table-Cells"
20800 \begin_inset Index idx
20803 \begin_layout Plain Layout
20804 Table ! Rotated Cells
20810 \begin_inset Index idx
20813 \begin_layout Plain Layout
20822 \begin_layout Standard
20823 \begin_inset Note Greyedout
20826 \begin_layout Plain Layout
20831 Not all DVI-viewers are able to display rotations.
20839 \begin_layout Standard
20841 \begin_inset space ~
20845 \begin_inset CommandInset ref
20847 reference "tab:Table-with-rotated"
20854 is an example where 3
20855 \begin_inset space ~
20858 cells were rotated by 45
20859 \begin_inset space \thinspace{}
20865 \begin_layout Standard
20866 \begin_inset Float table
20873 \begin_layout Plain Layout
20874 \begin_inset Caption Standard
20876 \begin_layout Plain Layout
20877 \begin_inset CommandInset label
20879 name "tab:Table-with-rotated"
20883 Table with rotated cells in the first row.
20891 \begin_layout Plain Layout
20894 \begin_inset Tabular
20895 <lyxtabular version="3" rows="2" columns="3">
20896 <features tabularvalignment="middle">
20897 <column alignment="center" valignment="top" width="0pt">
20898 <column alignment="center" valignment="top" width="0pt">
20899 <column alignment="center" valignment="top" width="0pt">
20901 <cell alignment="center" valignment="top" rotate="45" usebox="none">
20904 \begin_layout Plain Layout
20910 <cell alignment="center" valignment="top" rotate="45" usebox="none">
20913 \begin_layout Plain Layout
20919 <cell alignment="center" valignment="top" rotate="45" usebox="none">
20922 \begin_layout Plain Layout
20930 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20933 \begin_layout Plain Layout
20939 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20942 \begin_layout Plain Layout
20948 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20951 \begin_layout Plain Layout
20970 \begin_layout Standard
20971 \begin_inset Note Greyedout
20974 \begin_layout Plain Layout
20979 Line breaks (shortcut
20982 arg "newline-insert newline"
20985 ) are not allowed in rotated cells.
20993 \begin_layout Standard
20994 If you want to rotate table cells containing line breaks, you have to put
20995 the cell content into a minipage or a parbox.
20999 \begin_layout Plain Layout
21000 For more about these boxes see sec.
21001 \begin_inset space \thinspace{}
21005 \begin_inset CommandInset ref
21007 reference "sec:Minipages"
21012 \begin_inset CommandInset ref
21014 reference "sec:Parboxes"
21023 If you rotate this cell by 90
21024 \begin_inset space \thinspace{}
21027 ° the width of the box is the height of the cell.
21028 To avoid to estimate a suitable box width one can use a minipage with a
21030 Such a box is inserted by loading the module
21033 \begin_inset space ~
21038 in the document settings.
21039 Then one can use the menu
21041 Insert\SpecialChar menuseparator
21043 \begin_inset space ~
21046 Insets\SpecialChar menuseparator
21048 \begin_inset space ~
21054 \begin_inset space ~
21059 \begin_inset space ~
21063 \begin_inset CommandInset ref
21065 reference "tab:Table-with-rotated-multi"
21069 is an example for a rotated multiline cell where a variable width minipage
21073 \begin_layout Standard
21074 \begin_inset Float table
21081 \begin_layout Plain Layout
21082 \begin_inset Caption Standard
21084 \begin_layout Plain Layout
21085 \begin_inset CommandInset label
21087 name "tab:Table-with-rotated-multi"
21091 Table with rotated multiline cell.
21099 \begin_layout Plain Layout
21102 \begin_inset Tabular
21103 <lyxtabular version="3" rows="2" columns="3">
21104 <features tabularvalignment="middle">
21105 <column alignment="center" valignment="top">
21106 <column alignment="center" valignment="top" width="0pt">
21107 <column alignment="center" valignment="top">
21109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21112 \begin_layout Plain Layout
21118 <cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
21121 \begin_layout Plain Layout
21122 \begin_inset Flex Minipage (Var. Width)
21125 \begin_layout Plain Layout
21127 \begin_inset Newline newline
21131 \begin_inset space ~
21144 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21147 \begin_layout Plain Layout
21155 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21158 \begin_layout Plain Layout
21164 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21167 \begin_layout Plain Layout
21173 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21176 \begin_layout Plain Layout
21195 \begin_layout Section
21196 Table Width Calculation
21197 \begin_inset CommandInset label
21199 name "sec:Table-Width-Calculation"
21206 \begin_layout Standard
21207 For wide tables it is sometimes difficult to assure that the table does
21208 not protrude over the page margin.
21209 Setting a fixed width for every column of the table is the solution, but
21210 what amount of space is needed for each column?
21213 \begin_layout Standard
21215 \begin_inset Formula $W_{\mathrm{table}}$
21218 can be calculated: Every column has the width of the specified column width
21220 \begin_inset Formula $W_{\mathrm{column}}$
21223 (that the content of the column can consume) plus two times the separation
21224 between the column content and the column border (\SpecialChar LaTeX
21232 \begin_inset space \thinspace{}
21235 pt) plus the width of a border line (\SpecialChar LaTeX
21243 \begin_inset space \thinspace{}
21247 \begin_inset Formula $n$
21251 \begin_inset space ~
21254 columns have the same width, the table width is
21255 \begin_inset Formula
21257 W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
21265 \begin_layout Standard
21266 The available width for a table is the space between the page margins or
21267 the width of a text column (for a two-column document) (\SpecialChar LaTeX
21275 If all table columns should have the same width and
21276 \begin_inset Formula $W_{\mathrm{table}}$
21280 \begin_inset space \thinspace{}
21286 \begin_inset Formula $W_{\mathrm{column}}$
21289 can easily be calculated.
21292 \begin_layout Standard
21293 To be able to perform calculations you need to load the \SpecialChar LaTeX
21299 \begin_inset Index idx
21302 \begin_layout Plain Layout
21309 in the document preamble.
21310 To set the width in the table dialog you have to use the field
21316 The command scheme for this field is the same that is explained in section
21317 \begin_inset space ~
21321 \begin_inset CommandInset ref
21323 reference "subsec:Multicolumn-Calculations"
21329 \begin_inset space \thinspace{}
21332 columns with an uniform width and centered text, enter there for each column
21336 \begin_layout Standard
21343 columnwidth-62.4pt)/5}
21346 \begin_layout Standard
21348 \begin_inset space \thinspace{}
21351 columns where 2 should have 0.75
21352 \begin_inset space ~
21355 times the width than the 3 others, the calculation is
21356 \begin_inset Formula
21358 \backslash\mbox{columnwidth} & =3\,W_{\mathrm{column}}+2\cdot0.75\,W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
21359 & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
21360 & =4.5\,W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
21361 W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
21369 \begin_layout Standard
21370 In the table therefore the command
21373 \begin_layout Standard
21380 columnwidth-62.4pt)/
21385 \begin_layout Standard
21386 is used for the wider columns and
21389 \begin_layout Standard
21396 columnwidth-62.4pt)/
21403 \begin_layout Standard
21404 for the smaller ones:
21407 \begin_layout Standard
21408 \begin_inset Tabular
21409 <lyxtabular version="3" rows="2" columns="5">
21410 <features tabularvalignment="middle">
21411 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21412 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21413 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21414 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21415 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21417 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21420 \begin_layout Plain Layout
21426 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21429 \begin_layout Plain Layout
21435 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21438 \begin_layout Plain Layout
21444 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21447 \begin_layout Plain Layout
21453 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21456 \begin_layout Plain Layout
21464 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21467 \begin_layout Plain Layout
21468 111111 1111111 111111 111111111 11111 11111 1111
21473 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21476 \begin_layout Plain Layout
21482 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21485 \begin_layout Plain Layout
21486 2222 22222 222222 222222222 2222222 22 22222
21491 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21494 \begin_layout Plain Layout
21500 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21503 \begin_layout Plain Layout
21504 333333 333333 333333 33333 3333333 333
21517 \begin_layout Section
21518 Table Customization
21519 \begin_inset Index idx
21522 \begin_layout Plain Layout
21523 Table Customization
21529 \begin_inset Index idx
21532 \begin_layout Plain Layout
21533 Table ! Customization
21541 \begin_layout Subsection
21543 \begin_inset CommandInset label
21545 name "subsec:Row-Spacing"
21550 \begin_inset Index idx
21553 \begin_layout Plain Layout
21554 Table Customization ! Row Spacing
21562 \begin_layout Standard
21563 You can add vertical space to table rows in the
21567 tab of the table dialog.
21568 You find there three possibilities:
21571 \begin_layout Description
21573 \begin_inset space ~
21577 \begin_inset space ~
21580 row will add space above the characters of the table row.
21581 If the table is a formal table
21585 \begin_layout Plain Layout
21586 Formal tables are explained in section
21587 \begin_inset space ~
21591 \begin_inset CommandInset ref
21593 reference "sec:Formal-Tables"
21603 will insert as default 0.5
21604 \begin_inset space \thinspace{}
21608 For normal tables the inserted space will unfortunately destroy the vertical
21609 table lines as in the following table:
21610 \begin_inset VSpace medskip
21614 \begin_inset Newline newline
21618 \begin_inset space \hspace*{}
21623 \begin_inset space \hfill{}
21627 \begin_inset Tabular
21628 <lyxtabular version="3" rows="3" columns="1">
21629 <features tabularvalignment="middle">
21630 <column alignment="center" valignment="top">
21632 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21635 \begin_layout Plain Layout
21642 <row topspace="3mm">
21643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21646 \begin_layout Plain Layout
21648 \begin_inset space \thinspace{}
21651 mm space top of row
21658 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21661 \begin_layout Plain Layout
21673 \begin_inset space \hfill{}
21677 \begin_inset space \hspace*{}
21682 \begin_inset VSpace medskip
21686 \begin_inset Newline newline
21689 So inserting space in the top of row for normal tables is only useful when
21690 you don't have vertical lines.
21693 \begin_layout Description
21695 \begin_inset space ~
21699 \begin_inset space ~
21702 row will add space below the characters of the table row.
21703 If the table is a formal table \SpecialChar LyX
21704 will insert as default 0.5
21705 \begin_inset space \thinspace{}
21708 em space, for normal tables the default size is 2
21709 \begin_inset space \thinspace{}
21715 \begin_layout Description
21717 \begin_inset space ~
21720 rows adds space between the current and the following row.
21721 If the table is a formal table \SpecialChar LyX
21722 will insert as default 0.5
21723 \begin_inset space \thinspace{}
21727 For normal tables the inserted space will unfortunately destroy the vertical
21728 table lines as in the following table:
21729 \begin_inset VSpace medskip
21733 \begin_inset Newline newline
21737 \begin_inset space \hspace*{}
21742 \begin_inset space \hfill{}
21746 \begin_inset Tabular
21747 <lyxtabular version="3" rows="3" columns="1">
21748 <features tabularvalignment="middle">
21749 <column alignment="center" valignment="top">
21751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21754 \begin_layout Plain Layout
21761 <row interlinespace="3mm">
21762 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21765 \begin_layout Plain Layout
21766 \begin_inset Formula $\downarrow$
21770 \begin_inset space \thinspace{}
21773 mm space between row
21774 \begin_inset Formula $\downarrow$
21784 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21787 \begin_layout Plain Layout
21788 \begin_inset Formula $\uparrow$
21792 \begin_inset space \thinspace{}
21795 mm space between row
21796 \begin_inset Formula $\uparrow$
21810 \begin_inset space \hfill{}
21814 \begin_inset space \hspace*{}
21819 \begin_inset VSpace medskip
21823 \begin_inset Newline newline
21826 So inserting space between rows for normal tables is only useful when you
21827 don't have vertical lines.
21830 \begin_layout Standard
21831 \begin_inset VSpace bigskip
21834 When you want to add extra height to all cells of all tables, you can do
21835 this with the following preamble lines:
21838 \begin_layout Standard
21843 @ifundefined{extrarowheight}
21844 \begin_inset Newline newline
21848 \begin_inset Phantom HPhantom
21851 \begin_layout Plain Layout
21854 \begin_inset space ~
21864 usepackage{array}}{}
21865 \begin_inset Newline newline
21872 extrarowheight}{height}
21875 \begin_inset Note Note
21878 \begin_layout Plain Layout
21883 will be loaded automatically by \SpecialChar LyX
21884 when you use self defined table formats.
21885 To avoid that it is loaded twice the command
21891 is used in the above command.
21899 \begin_layout Standard
21904 can have one of the units listed in appendix
21905 \begin_inset space ~
21909 \begin_inset CommandInset ref
21911 reference "cha:Units-available-in"
21916 But this has the disadvantage that the cell texts are no longer exactly
21917 vertically centered.
21920 \begin_layout Standard
21921 If you are using font sizes larger than the normal size, the table borders
21922 are often too close to the letters.
21923 This can be corrected by inserting the command
21929 in \SpecialChar TeX
21930 Code at the beginning of a table row.
21932 \begin_inset space ~
21936 \begin_inset CommandInset ref
21938 reference "tab:Vertical-alignment-of"
21942 illustrates the effect.
21945 \begin_layout Standard
21947 \begin_inset Float table
21954 \begin_layout Plain Layout
21955 \begin_inset Caption Standard
21957 \begin_layout Plain Layout
21958 \begin_inset CommandInset label
21960 name "tab:Vertical-alignment-of"
21964 Vertical alignment of text with large font sizes.
21972 \begin_layout Plain Layout
21973 \begin_inset space \hfill{}
21977 \begin_inset Float table
21984 \begin_layout Plain Layout
21985 \begin_inset Caption Standard
21987 \begin_layout Plain Layout
21996 \begin_layout Plain Layout
21999 \begin_inset Tabular
22000 <lyxtabular version="3" rows="6" columns="1">
22001 <features tabularvalignment="middle">
22002 <column alignment="left" valignment="top">
22004 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22007 \begin_layout Plain Layout
22015 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22018 \begin_layout Plain Layout
22028 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22031 \begin_layout Plain Layout
22041 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22044 \begin_layout Plain Layout
22054 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22057 \begin_layout Plain Layout
22067 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22070 \begin_layout Plain Layout
22089 \begin_inset space \hfill{}
22093 \begin_inset Float table
22100 \begin_layout Plain Layout
22101 \begin_inset Caption Standard
22103 \begin_layout Plain Layout
22104 Table using the command
22118 \begin_layout Plain Layout
22121 \begin_inset Tabular
22122 <lyxtabular version="3" rows="6" columns="1">
22123 <features tabularvalignment="middle">
22124 <column alignment="left" valignment="top">
22126 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22129 \begin_layout Plain Layout
22137 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22140 \begin_layout Plain Layout
22146 \begin_layout Plain Layout
22162 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22165 \begin_layout Plain Layout
22171 \begin_layout Plain Layout
22187 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22190 \begin_layout Plain Layout
22196 \begin_layout Plain Layout
22212 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22215 \begin_layout Plain Layout
22221 \begin_layout Plain Layout
22237 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22240 \begin_layout Plain Layout
22246 \begin_layout Plain Layout
22273 \begin_inset space \hfill{}
22284 \begin_layout Subsection
22285 Special Cell Alignment
22286 \begin_inset CommandInset label
22288 name "subsec:Special-Cell-Alignment"
22293 \begin_inset Index idx
22296 \begin_layout Plain Layout
22297 Table Customization ! Special Cell Alignment
22305 \begin_layout Standard
22306 Sometimes it looks better when the cell entries of a column are aligned
22307 with a special character, e.
22308 \begin_inset space \thinspace{}
22312 \begin_inset space \space{}
22315 with the decimal separator as in Table
22316 \begin_inset space ~
22320 \begin_inset CommandInset ref
22322 reference "tab:Table-cells-align"
22327 This alignment is achieved by setting the cursor into the column and then
22328 either pressing the toolbar button
22331 arg "tabular-feature align-decimal"
22334 or setting the alignment in the table settings to
22337 \begin_inset space ~
22341 \begin_inset space ~
22347 The alignment character can be a character of your choice and is specified
22348 in the table settings.
22351 \begin_layout Standard
22352 \begin_inset Float table
22359 \begin_layout Plain Layout
22360 \begin_inset Caption Standard
22362 \begin_layout Plain Layout
22363 \begin_inset CommandInset label
22365 name "tab:Table-cells-align"
22369 Table cells of a column aligned with the decimal separator.
22377 \begin_layout Plain Layout
22379 \begin_inset Tabular
22380 <lyxtabular version="3" rows="4" columns="1">
22381 <features booktabs="true" tabularvalignment="middle">
22382 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
22384 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22387 \begin_layout Plain Layout
22395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22398 \begin_layout Plain Layout
22406 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22409 \begin_layout Plain Layout
22417 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22420 \begin_layout Plain Layout
22439 \begin_layout Standard
22440 \begin_inset Float table
22447 \begin_layout Plain Layout
22448 \begin_inset Caption Standard
22450 \begin_layout Plain Layout
22451 \begin_inset CommandInset label
22453 name "tab:Table-align-operator"
22457 Table cells of a column aligned with the operators.
22465 \begin_layout Plain Layout
22467 \begin_inset Tabular
22468 <lyxtabular version="3" rows="4" columns="2">
22469 <features booktabs="true" tabularvalignment="middle">
22470 <column alignment="right" valignment="top" width="0pt">
22471 <column alignment="left" valignment="top" width="0pt" special="@{}l">
22473 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
22476 \begin_layout Plain Layout
22482 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22485 \begin_layout Plain Layout
22493 <cell alignment="center" valignment="top" usebox="none">
22496 \begin_layout Plain Layout
22497 \begin_inset Formula $12\,+$
22505 <cell alignment="center" valignment="top" usebox="none">
22508 \begin_layout Plain Layout
22509 \begin_inset Formula $\,6$
22519 <cell alignment="center" valignment="top" usebox="none">
22522 \begin_layout Plain Layout
22523 \begin_inset Formula $0\,-$
22531 <cell alignment="center" valignment="top" usebox="none">
22534 \begin_layout Plain Layout
22535 \begin_inset Formula $\,68$
22545 <cell alignment="center" valignment="top" usebox="none">
22548 \begin_layout Plain Layout
22549 \begin_inset Formula $-123\,/$
22557 <cell alignment="center" valignment="top" usebox="none">
22560 \begin_layout Plain Layout
22561 \begin_inset Formula $\,0$
22582 \begin_layout Standard
22583 For alignments at characters in formulas this method does not work because
22584 the field to specify the alignment character does not allow formulas.
22585 In this case one need to use the method from Table
22586 \begin_inset space ~
22590 \begin_inset CommandInset ref
22592 reference "tab:Table-align-operator"
22597 This table was created with a 4×2 table.
22598 The heading is a centered multicolumn.
22599 The first column is right-aligned and contains the first part including
22601 The second column is left aligned and contains the rest.
22602 A small space was added at the beginning of each cell of the second column
22603 to get the space that is usually around operators.
22604 To omit the space that is normally between two table columns, the following
22606 -argument was used for the second column:
22609 \begin_layout Standard
22615 \begin_layout Standard
22617 \begin_inset space ~
22621 \begin_inset CommandInset ref
22623 reference "tab:Several-table-cell"
22627 shows some example alignments.
22628 For the alignment with the relation sign, a small space was added like
22629 for the second column of Table
22630 \begin_inset space ~
22634 \begin_inset CommandInset ref
22636 reference "tab:Table-align-operator"
22643 \begin_layout Standard
22644 \begin_inset Float table
22651 \begin_layout Plain Layout
22652 \begin_inset Caption Standard
22654 \begin_layout Plain Layout
22655 \begin_inset CommandInset label
22657 name "tab:Several-table-cell"
22661 Several table cell alignments.
22669 \begin_layout Plain Layout
22671 \begin_inset Tabular
22672 <lyxtabular version="3" rows="4" columns="6">
22673 <features tabularvalignment="middle">
22674 <column alignment="right" valignment="top">
22675 <column alignment="left" valignment="top" special="@{}l">
22676 <column alignment="right" valignment="top">
22677 <column alignment="left" valignment="top" special="@{}l">
22678 <column alignment="right" valignment="top">
22679 <column alignment="left" valignment="top" special="@{}l">
22681 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
22684 \begin_layout Plain Layout
22690 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22693 \begin_layout Plain Layout
22699 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
22702 \begin_layout Plain Layout
22708 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22711 \begin_layout Plain Layout
22717 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
22720 \begin_layout Plain Layout
22726 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22729 \begin_layout Plain Layout
22737 <cell alignment="center" valignment="top" usebox="none">
22740 \begin_layout Plain Layout
22746 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22749 \begin_layout Plain Layout
22751 \begin_inset space \thinspace{}
22759 <cell alignment="center" valignment="top" usebox="none">
22762 \begin_layout Plain Layout
22763 \begin_inset Formula $10\cdot$
22771 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22774 \begin_layout Plain Layout
22775 \begin_inset Formula $10^{\mbox{-}17}$
22783 <cell alignment="center" valignment="top" usebox="none">
22786 \begin_layout Plain Layout
22787 \begin_inset Formula $\Gamma(t)\propto$
22795 <cell alignment="center" valignment="top" usebox="none">
22798 \begin_layout Plain Layout
22799 \begin_inset Formula $\:\Upsilon(t)$
22809 <cell alignment="center" valignment="top" usebox="none">
22812 \begin_layout Plain Layout
22818 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22821 \begin_layout Plain Layout
22823 \begin_inset space \thinspace{}
22831 <cell alignment="center" valignment="top" usebox="none">
22834 \begin_layout Plain Layout
22835 \begin_inset Formula $5.78\cdot$
22843 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22846 \begin_layout Plain Layout
22847 \begin_inset Formula $10^{7}$
22855 <cell alignment="center" valignment="top" usebox="none">
22858 \begin_layout Plain Layout
22859 \begin_inset Formula $A\ne$
22867 <cell alignment="center" valignment="top" usebox="none">
22870 \begin_layout Plain Layout
22871 \begin_inset Formula $\:B_{\mathrm{red}}$
22881 <cell alignment="center" valignment="top" usebox="none">
22884 \begin_layout Plain Layout
22890 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22893 \begin_layout Plain Layout
22895 \begin_inset space \thinspace{}
22903 <cell alignment="center" valignment="top" usebox="none">
22906 \begin_layout Plain Layout
22908 \begin_inset Formula $33.5\cdot$
22916 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22919 \begin_layout Plain Layout
22920 \begin_inset Formula $10^{4}$
22928 <cell alignment="center" valignment="top" usebox="none">
22931 \begin_layout Plain Layout
22932 \begin_inset Formula $\sin(\alpha)\ge$
22940 <cell alignment="center" valignment="top" usebox="none">
22943 \begin_layout Plain Layout
22944 \begin_inset Formula $\:\sin(\beta)$
22965 \begin_layout Subsection
22966 Customized Cell/Column Format
22967 \begin_inset CommandInset label
22969 name "subsec:Customized-Format"
22974 \begin_inset Index idx
22977 \begin_layout Plain Layout
22978 Table Customization ! Cell/Column Format
22986 \begin_layout Standard
22987 Calculating the required width for normal columns as described in section
22988 \begin_inset space ~
22992 \begin_inset CommandInset ref
22994 reference "sec:Table-Width-Calculation"
22998 or for spanned columns as described in section
22999 \begin_inset space ~
23003 \begin_inset CommandInset ref
23005 reference "subsec:Multicolumn-Calculations"
23009 is very annoying if you have several tables where a calculation is necessary.
23010 To make life easier, you can define a cell/column format in the preamble,
23011 that can be used in all tables of the document.
23012 The format is defined with the command
23015 \begin_layout Standard
23020 newcolumntype{name of format}[number of arguments]{commands}
23023 \begin_layout Standard
23024 The format name may only consist of one letter.
23049 are predefined and cannot be used.
23050 But all letters are allowed as capitals.
23053 \begin_layout Standard
23054 \begin_inset VSpace medskip
23060 \begin_layout Standard
23061 For vertically and horizontally centered multicolumn cells with a fixed
23062 width you can define the cell format
23065 \begin_layout Standard
23070 newcolumntype{M}[1]{>{
23077 \begin_layout Standard
23084 avoids the problem of hyphenating the first word, as described in section
23085 \begin_inset space ~
23089 \begin_inset CommandInset ref
23091 reference "subsec:Multiple-Lines-in"
23096 Now you can simply enter
23099 \begin_layout Standard
23105 \begin_layout Standard
23111 in the table dialog to create a multicolumn.
23114 \begin_layout Standard
23115 \begin_inset VSpace bigskip
23121 \begin_layout Standard
23122 For cells spanned by a multicolumn cell, you can define the format
23125 \begin_layout Standard
23130 newcolumntype{S}[2]{>{
23135 \begin_inset Newline newline
23139 \begin_inset Phantom HPhantom
23142 \begin_layout Plain Layout
23156 arrayrulewidth)*(1-#2))/#2}}
23159 \begin_layout Standard
23160 This format uses equation
23161 \begin_inset CommandInset ref
23167 to calculate the required width so that each spanned cell has the same
23171 \begin_layout Standard
23175 \begin_layout Standard
23178 S{width of multicolumn cell}{number of spanned columns}
23181 \begin_layout Standard
23182 as \SpecialChar LaTeX
23183 -argument of the column.
23186 \begin_layout Standard
23187 \begin_inset VSpace bigskip
23193 \begin_layout Standard
23194 For colored columns, you can define
23197 \begin_layout Standard
23202 newcolumntype{K}[1]{>{
23209 \begin_layout Standard
23211 \begin_inset Quotes eld
23215 \begin_inset Quotes erd
23218 at the end creates a column with a flexible width whose text is horizontally
23223 \begin_layout Standard
23229 \begin_layout Standard
23230 as \SpecialChar LaTeX
23234 \begin_layout Standard
23235 \begin_inset VSpace bigskip
23241 \begin_layout Standard
23243 \begin_inset space ~
23247 \begin_inset CommandInset ref
23249 reference "tab:Table-using-user-defined"
23253 use the \SpecialChar LaTeX
23257 \begin_layout Standard
23263 \begin_layout Standard
23264 for the first column and the multicolumn,
23267 \begin_layout Standard
23273 \begin_layout Standard
23274 for the last column, and
23277 \begin_layout Standard
23283 \begin_layout Standard
23284 for the cells in the second column.
23287 \begin_layout Standard
23288 \begin_inset Float table
23295 \begin_layout Plain Layout
23296 \begin_inset Caption Standard
23298 \begin_layout Plain Layout
23299 \begin_inset CommandInset label
23301 name "tab:Table-using-user-defined"
23305 Table using user-defined table formats
23313 \begin_layout Plain Layout
23315 \begin_inset Tabular
23316 <lyxtabular version="3" rows="3" columns="4">
23317 <features tabularvalignment="middle">
23318 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
23319 <column alignment="center" valignment="middle" special="S{2.5cm}{2}">
23320 <column alignment="center" valignment="middle">
23321 <column alignment="center" valignment="middle" special="K{red}">
23323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23326 \begin_layout Plain Layout
23327 verylongtablecellword
23332 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
23335 \begin_layout Plain Layout
23336 multiple lines multicolumn
23341 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23344 \begin_layout Plain Layout
23350 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23353 \begin_layout Plain Layout
23361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23364 \begin_layout Plain Layout
23370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23373 \begin_layout Plain Layout
23379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23382 \begin_layout Plain Layout
23388 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23391 \begin_layout Plain Layout
23399 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23402 \begin_layout Plain Layout
23408 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23411 \begin_layout Plain Layout
23417 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23420 \begin_layout Plain Layout
23426 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23429 \begin_layout Plain Layout
23448 \begin_layout Subsection
23450 \begin_inset CommandInset label
23452 name "subsec:Line-Thickness"
23457 \begin_inset Index idx
23460 \begin_layout Plain Layout
23461 Table Customization ! Line Thickness
23469 \begin_layout Standard
23470 The line thickness for all lines in a table can be adjusted with the length
23478 To set for example a line thickness of 1.5
23479 \begin_inset space \thinspace{}
23483 \begin_inset space ~
23487 \begin_inset CommandInset ref
23489 reference "tab:Table-with-1.5"
23493 , insert the command
23496 \begin_layout Standard
23503 arrayrulewidth}{1.5pt}
23506 \begin_layout Standard
23507 in \SpecialChar TeX
23508 Code before the table or table float.
23509 The changed thickness is valid for all subsequent tables.
23510 To use the default value again, set
23517 \begin_inset space \thinspace{}
23520 pt in \SpecialChar TeX
23521 Code after the table or table float.
23524 \begin_layout Standard
23528 \begin_layout Plain Layout
23534 arrayrulewidth}{1.5pt}
23540 \begin_inset Float table
23547 \begin_layout Plain Layout
23548 \begin_inset Caption Standard
23550 \begin_layout Plain Layout
23551 \begin_inset CommandInset label
23553 name "tab:Table-with-1.5"
23558 \begin_inset space \thinspace{}
23569 \begin_layout Plain Layout
23571 \begin_inset Tabular
23572 <lyxtabular version="3" rows="3" columns="3">
23573 <features tabularvalignment="middle">
23574 <column alignment="center" valignment="top">
23575 <column alignment="center" valignment="top">
23576 <column alignment="center" valignment="top">
23578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23581 \begin_layout Plain Layout
23587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23590 \begin_layout Plain Layout
23596 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23599 \begin_layout Plain Layout
23607 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23610 \begin_layout Plain Layout
23616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23619 \begin_layout Plain Layout
23625 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23628 \begin_layout Plain Layout
23636 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23639 \begin_layout Plain Layout
23645 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23648 \begin_layout Plain Layout
23654 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23657 \begin_layout Plain Layout
23677 \begin_layout Plain Layout
23683 arrayrulewidth}{0.4pt}
23691 \begin_layout Standard
23692 \begin_inset VSpace bigskip
23695 To set the line thickness to 1.5
23696 \begin_inset space \thinspace{}
23699 pt only for horizontal lines, as in Table
23700 \begin_inset space ~
23704 \begin_inset CommandInset ref
23706 reference "tab:Table-with-horizontal"
23710 , insert these commands in \SpecialChar TeX
23711 Code before the table or table float:
23714 \begin_layout Standard
23724 \begin_inset Newline newline
23732 \begin_inset Newline newline
23741 arrayrulewidth 1.5pt}
23742 \begin_inset Newline newline
23753 arrayrulewidth 0.4pt}}
23756 \begin_layout Standard
23757 To return to the default line thickness, insert this command in \SpecialChar TeX
23759 the table or table float:
23762 \begin_layout Standard
23774 \begin_layout Standard
23778 \begin_layout Plain Layout
23789 \begin_layout Plain Layout
23798 \begin_layout Plain Layout
23806 arrayrulewidth 1.5pt}
23809 \begin_layout Plain Layout
23819 arrayrulewidth 0.4pt}}
23825 \begin_inset Float table
23832 \begin_layout Plain Layout
23833 \begin_inset Caption Standard
23835 \begin_layout Plain Layout
23836 \begin_inset CommandInset label
23838 name "tab:Table-with-horizontal"
23843 \begin_inset space \thinspace{}
23846 pt thick horizontal lines
23854 \begin_layout Plain Layout
23856 \begin_inset Tabular
23857 <lyxtabular version="3" rows="3" columns="3">
23858 <features tabularvalignment="middle">
23859 <column alignment="center" valignment="top">
23860 <column alignment="center" valignment="top">
23861 <column alignment="center" valignment="top">
23863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23866 \begin_layout Plain Layout
23872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23875 \begin_layout Plain Layout
23881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23884 \begin_layout Plain Layout
23892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23895 \begin_layout Plain Layout
23901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23904 \begin_layout Plain Layout
23910 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23913 \begin_layout Plain Layout
23921 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23924 \begin_layout Plain Layout
23930 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23933 \begin_layout Plain Layout
23939 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23942 \begin_layout Plain Layout
23962 \begin_layout Plain Layout
23978 \begin_layout Standard
23979 \begin_inset VSpace bigskip
23982 To set the line thickness to 1.5
23983 \begin_inset space \thinspace{}
23986 pt only for vertical lines, create the following column format in the document
23987 preamble, according to the description in section
23988 \begin_inset space ~
23992 \begin_inset CommandInset ref
23994 reference "subsec:Customized-Format"
24001 \begin_layout Standard
24006 newcolumntype{V}{!{
24008 vrule width 1.5pt}}
24011 \begin_layout Standard
24013 \begin_inset space ~
24017 \begin_inset CommandInset ref
24019 reference "tab:Table-with-vertical"
24023 the \SpecialChar LaTeX
24027 \begin_layout Standard
24033 \begin_layout Standard
24034 was used for the last column and
24037 \begin_layout Standard
24043 \begin_layout Standard
24044 for the other columns.
24047 \begin_layout Standard
24048 \begin_inset Float table
24055 \begin_layout Plain Layout
24056 \begin_inset Caption Standard
24058 \begin_layout Plain Layout
24059 \begin_inset CommandInset label
24061 name "tab:Table-with-vertical"
24066 \begin_inset space \thinspace{}
24069 pt thick vertical lines
24077 \begin_layout Plain Layout
24079 \begin_inset Tabular
24080 <lyxtabular version="3" rows="3" columns="3">
24081 <features tabularvalignment="middle">
24082 <column alignment="center" valignment="top" special="Vc">
24083 <column alignment="center" valignment="top" special="Vc">
24084 <column alignment="center" valignment="top" special="VcV">
24086 <cell alignment="center" valignment="top" topline="true" usebox="none">
24089 \begin_layout Plain Layout
24095 <cell alignment="center" valignment="top" topline="true" usebox="none">
24098 \begin_layout Plain Layout
24104 <cell alignment="center" valignment="top" topline="true" usebox="none">
24107 \begin_layout Plain Layout
24115 <cell alignment="center" valignment="top" topline="true" usebox="none">
24118 \begin_layout Plain Layout
24124 <cell alignment="center" valignment="top" topline="true" usebox="none">
24127 \begin_layout Plain Layout
24133 <cell alignment="center" valignment="top" topline="true" usebox="none">
24136 \begin_layout Plain Layout
24144 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24147 \begin_layout Plain Layout
24153 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24156 \begin_layout Plain Layout
24162 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24165 \begin_layout Plain Layout
24184 \begin_layout Subsection
24186 \begin_inset Index idx
24189 \begin_layout Plain Layout
24190 Table Customization ! Dashed Lines
24198 \begin_layout Standard
24202 \begin_layout Plain Layout
24212 \begin_inset Note Note
24215 \begin_layout Plain Layout
24216 The following section will only be displayed when the \SpecialChar LaTeX
24229 \begin_layout Standard
24230 \begin_inset Float table
24237 \begin_layout Plain Layout
24238 \begin_inset Caption Standard
24240 \begin_layout Plain Layout
24241 \begin_inset CommandInset label
24243 name "tab:Table-with-dashed"
24247 Table with dashed lines
24255 \begin_layout Plain Layout
24257 \begin_inset Tabular
24258 <lyxtabular version="3" rows="5" columns="5">
24259 <features tabularvalignment="middle">
24260 <column alignment="center" valignment="top">
24261 <column alignment="center" valignment="top">
24262 <column alignment="center" valignment="top" special=":c">
24263 <column alignment="center" valignment="top">
24264 <column alignment="center" valignment="top">
24266 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24269 \begin_layout Plain Layout
24275 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24278 \begin_layout Plain Layout
24284 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24287 \begin_layout Plain Layout
24293 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24296 \begin_layout Plain Layout
24302 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24305 \begin_layout Plain Layout
24313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24316 \begin_layout Plain Layout
24322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24325 \begin_layout Plain Layout
24331 <cell alignment="center" valignment="top" topline="true" usebox="none">
24334 \begin_layout Plain Layout
24340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24343 \begin_layout Plain Layout
24349 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24352 \begin_layout Plain Layout
24360 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24363 \begin_layout Plain Layout
24367 \begin_layout Plain Layout
24381 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24384 \begin_layout Plain Layout
24390 <cell alignment="center" valignment="top" usebox="none">
24393 \begin_layout Plain Layout
24399 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24402 \begin_layout Plain Layout
24408 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24411 \begin_layout Plain Layout
24419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24422 \begin_layout Plain Layout
24426 \begin_layout Plain Layout
24440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24443 \begin_layout Plain Layout
24449 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
24452 \begin_layout Plain Layout
24458 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24461 \begin_layout Plain Layout
24467 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24470 \begin_layout Plain Layout
24478 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24481 \begin_layout Plain Layout
24487 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24490 \begin_layout Plain Layout
24496 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24499 \begin_layout Plain Layout
24505 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24508 \begin_layout Plain Layout
24514 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24517 \begin_layout Plain Layout
24536 \begin_layout Standard
24538 does not natively support dashed lines, so you have to use \SpecialChar TeX
24540 As a prerequisite the \SpecialChar LaTeX
24546 \begin_inset Index idx
24549 \begin_layout Plain Layout
24551 -packages ! arydshln
24556 must be loaded in the document preamble with the command
24559 \begin_layout Standard
24564 usepackage{arydshln}
24567 \begin_layout Standard
24568 To make a vertical line dashed, enter the colon
24569 \begin_inset Quotes eld
24573 \begin_inset Quotes erd
24576 together with the character for the horizontal alignment as \SpecialChar LaTeX
24578 the table cell dialog.
24581 \begin_layout Standard
24582 For a horizontal dashed line add the command
24585 \begin_layout Standard
24593 \begin_layout Standard
24594 in \SpecialChar TeX
24595 Code as first element of the first cell in the table row.
24598 \begin_layout Standard
24599 For dashed multicolumn lines use the command
24602 \begin_layout Standard
24607 cdashline{line number
24612 \begin_layout Standard
24613 in \SpecialChar TeX
24614 Code as the first element of the first cell in the table row.
24615 If you have for example a multicolumn spanning columns 2 to 4 and you want
24616 to have a dashed line above, add the command
24619 \begin_layout Standard
24627 \begin_layout Standard
24628 as the first element of the first cell in the row of the multicolumn.
24631 \begin_layout Standard
24632 \begin_inset VSpace bigskip
24638 \begin_layout Standard
24640 \begin_inset space ~
24644 \begin_inset CommandInset ref
24646 reference "tab:Table-with-dashed"
24651 \begin_inset Quotes eld
24659 \begin_inset Quotes erd
24662 as \SpecialChar LaTeX
24663 argument of the third column.
24664 The \SpecialChar TeX
24671 was inserted in the first cell of the third row and the \SpecialChar TeX
24673 \begin_inset Newline newline
24682 was inserted in the first cell of the fourth row.
24685 \begin_layout Standard
24686 \begin_inset VSpace bigskip
24692 \begin_layout Standard
24693 Tables with dashed lines can also be colored as shown by Table
24694 \begin_inset space ~
24698 \begin_inset CommandInset ref
24700 reference "tab:Colored-table-with"
24707 \begin_layout Standard
24711 \begin_layout Plain Layout
24717 arrayrulewidth}{1pt}
24723 \begin_inset Note Note
24726 \begin_layout Plain Layout
24727 thicker lines for better visualization of the line color
24735 \begin_layout Standard
24739 \begin_layout Plain Layout
24743 dashgapcolor{green}
24749 \begin_inset Note Note
24752 \begin_layout Plain Layout
24753 color gaps between dashes green
24761 \begin_layout Standard
24765 \begin_layout Plain Layout
24776 \begin_layout Plain Layout
24785 \begin_layout Plain Layout
24789 arrayrulecolor{red}
24793 arrayrulecolor{black}}
24799 \begin_inset Note Note
24802 \begin_layout Plain Layout
24803 color horizontal, dashed lines red
24811 \begin_layout Standard
24815 \begin_layout Plain Layout
24826 \begin_layout Plain Layout
24835 \begin_layout Plain Layout
24839 arrayrulecolor{yellow}
24843 arrayrulecolor{black}}
24849 \begin_inset Note Note
24852 \begin_layout Plain Layout
24853 color partial horizontal, dashed lines yellow
24861 \begin_layout Standard
24862 \begin_inset Float table
24869 \begin_layout Plain Layout
24870 \begin_inset Caption Standard
24872 \begin_layout Plain Layout
24873 \begin_inset CommandInset label
24875 name "tab:Colored-table-with"
24879 Colored table with dashed lines
24887 \begin_layout Plain Layout
24889 \begin_inset Tabular
24890 <lyxtabular version="3" rows="5" columns="5">
24891 <features tabularvalignment="middle">
24892 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
24893 <column alignment="center" valignment="top" width="0pt">
24894 <column alignment="center" valignment="top" width="0pt" special=":c">
24895 <column alignment="center" valignment="top">
24896 <column alignment="center" valignment="top">
24898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24901 \begin_layout Plain Layout
24907 <cell alignment="center" valignment="top" topline="true" usebox="none">
24910 \begin_layout Plain Layout
24916 <cell alignment="center" valignment="top" topline="true" usebox="none">
24919 \begin_layout Plain Layout
24925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24928 \begin_layout Plain Layout
24934 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24937 \begin_layout Plain Layout
24945 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24948 \begin_layout Plain Layout
24954 <cell alignment="center" valignment="top" topline="true" usebox="none">
24957 \begin_layout Plain Layout
24963 <cell alignment="center" valignment="top" topline="true" usebox="none">
24966 \begin_layout Plain Layout
24972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24975 \begin_layout Plain Layout
24981 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24984 \begin_layout Plain Layout
24992 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24995 \begin_layout Plain Layout
24999 \begin_layout Plain Layout
25012 \begin_layout Plain Layout
25026 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25029 \begin_layout Plain Layout
25035 <cell alignment="center" valignment="top" usebox="none">
25038 \begin_layout Plain Layout
25044 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25047 \begin_layout Plain Layout
25053 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25056 \begin_layout Plain Layout
25064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25067 \begin_layout Plain Layout
25071 \begin_layout Plain Layout
25085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25088 \begin_layout Plain Layout
25094 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
25097 \begin_layout Plain Layout
25103 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25106 \begin_layout Plain Layout
25112 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25115 \begin_layout Plain Layout
25123 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25126 \begin_layout Plain Layout
25132 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25135 \begin_layout Plain Layout
25141 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25144 \begin_layout Plain Layout
25150 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25153 \begin_layout Plain Layout
25159 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25162 \begin_layout Plain Layout
25166 \begin_layout Plain Layout
25193 \begin_layout Standard
25197 \begin_layout Plain Layout
25211 \begin_inset Note Note
25214 \begin_layout Plain Layout
25223 \begin_layout Standard
25227 \begin_layout Plain Layout
25241 \begin_inset Note Note
25244 \begin_layout Plain Layout
25253 \begin_layout Standard
25257 \begin_layout Plain Layout
25267 \begin_inset Note Note
25270 \begin_layout Plain Layout
25279 \begin_layout Standard
25283 \begin_layout Plain Layout
25289 arrayrulewidth}{0.4pt}
25295 \begin_inset Note Note
25298 \begin_layout Plain Layout
25307 \begin_layout Standard
25308 The coloring of lines, columns and lines works as decribed in section
25309 \begin_inset space ~
25313 \begin_inset CommandInset ref
25315 reference "sec:Colored-Tables"
25320 Coloring horizontal lines works analogically as described there as well,
25321 one only needs to replace in the commands
25345 ; so one uses the command
25348 \begin_layout Standard
25358 \begin_inset Newline newline
25366 \begin_inset Newline newline
25370 \begin_inset Phantom HPhantom
25373 \begin_layout Plain Layout
25374 \begin_inset space ~
25384 arrayrulecolor{red}
25388 arrayrulecolor{black}}
25391 \begin_layout Standard
25401 \begin_layout Standard
25411 \begin_inset Newline newline
25419 \begin_inset Newline newline
25423 \begin_inset Phantom HPhantom
25426 \begin_layout Plain Layout
25427 \begin_inset space ~
25437 arrayrulecolor{red}
25441 arrayrulecolor{black}}
25444 \begin_layout Standard
25445 To get back the black line color, one needs to insert the following commands
25446 as \SpecialChar TeX
25447 Code behind the table:
25450 \begin_layout Standard
25458 \begin_layout Standard
25470 \begin_layout Standard
25478 \begin_layout Standard
25490 \begin_layout Standard
25491 To color the gaps between the dashes the command
25494 \begin_layout Standard
25499 dashgapcolor{color}
25502 \begin_layout Standard
25503 can be used in front of a table as \SpecialChar TeX
25505 color is hereby the name of a defined color.
25509 \begin_layout Standard
25517 \begin_layout Standard
25518 unsets the changes made by
25527 \begin_layout Standard
25528 \begin_inset Note Greyedout
25531 \begin_layout Plain Layout
25537 : If there are multiple commands in a cell, the command of
25541 needs to be the first one in the cell.
25547 \begin_inset space ~
25551 \begin_inset CommandInset ref
25553 reference "tab:Colored-table-with"
25577 \begin_layout Standard
25578 \begin_inset Note Greyedout
25581 \begin_layout Plain Layout
25587 The \SpecialChar LaTeX
25592 must be loaded in the document preamble before the \SpecialChar LaTeX
25598 \begin_inset Index idx
25601 \begin_layout Plain Layout
25603 -packages ! colortbl
25616 \begin_layout Standard
25620 \begin_layout Plain Layout
25630 \begin_inset Note Note
25633 \begin_layout Plain Layout
25634 The following will be displayed when the \SpecialChar LaTeX
25647 \begin_layout Standard
25648 You need to install the package
25652 to see the content of this section in the output.
25655 \begin_layout Standard
25659 \begin_layout Plain Layout
25671 \begin_layout Standard
25672 For more information about dashed lines see the documentation of
25677 \begin_inset CommandInset citation
25687 \begin_layout Chapter
25689 \begin_inset CommandInset label
25696 \begin_inset Index idx
25699 \begin_layout Plain Layout
25708 \begin_layout Section
25710 \begin_inset CommandInset label
25712 name "sec:FloatIntroduction"
25717 \begin_inset Index idx
25720 \begin_layout Plain Layout
25721 Floats ! Introduction
25729 \begin_layout Standard
25730 A float is a block of text associated with some sort of label, which doesn't
25731 have a fixed location.
25733 \begin_inset Quotes eld
25737 \begin_inset Quotes erd
25740 forward or backward a page or two, to wherever it fits best.
25748 \begin_inset space ~
25753 are also floats because they can float to the next page when there are
25754 too many notes on the page.
25757 \begin_layout Standard
25758 Floats allow a high quality layout.
25759 Images and tables can be spread evenly among the pages to avoid white space
25760 and pages without text.
25761 As the floating often destroys the context between the text and the image/table
25762 , every float can be referenced in the text.
25763 Floats are therefore numbered.
25764 Referencing is described in section
25765 \begin_inset space ~
25769 \begin_inset CommandInset ref
25771 reference "sec:Referencing-Floats"
25778 \begin_layout Standard
25779 To insert a float, use the menu
25781 Insert\SpecialChar menuseparator
25787 arg "float-insert figure"
25793 arg "float-insert table"
25801 inset, a box with a label.
25802 The label will automatically be translated to the document language in
25804 After the label you can insert the caption text.
25805 The image or table is inserted above or below the caption in a separate
25806 paragraph within the float.
25807 More about the caption placement is contained in section
25808 \begin_inset space ~
25812 \begin_inset CommandInset ref
25814 reference "sec:Caption-Placement"
25819 To keep your \SpecialChar LyX
25820 document readable, you can open and close the float box by
25821 left-clicking on the box label.
25822 A closed float box looks like this:
25823 \begin_inset Graphics
25824 filename clipart/float.png
25826 scaleBeforeRotation
25830 – a gray button with a red label.
25833 \begin_layout Standard
25834 It is recommended that you insert floats as separate standard paragraphs
25835 to avoid possible \SpecialChar LaTeX
25836 -errors that can occur when the surrounding text is specially
25840 \begin_layout Standard
25841 Existing figures or tables can be put into a float by highlighting them
25842 and then pressing the corresponding toolbar button for a new float.
25845 \begin_layout Section
25849 \begin_layout Standard
25850 Besides figure and table floats that are described in sections
25851 \begin_inset space ~
25855 \begin_inset CommandInset ref
25857 reference "sec:Figure-Floats"
25862 \begin_inset CommandInset ref
25864 reference "sec:Table-Floats"
25868 respectively, \SpecialChar LyX
25869 offers the float types
25878 The latter are explained in sec.
25879 \begin_inset space \thinspace{}
25883 \begin_inset CommandInset ref
25885 reference "sec:Wrap-Floats"
25892 \begin_layout Subsection
25894 \begin_inset Index idx
25897 \begin_layout Plain Layout
25898 Floats ! Algorithms
25906 \begin_layout Standard
25907 \begin_inset Float algorithm
25914 \begin_layout Plain Layout
25915 \begin_inset Caption Standard
25917 \begin_layout Plain Layout
25918 \begin_inset CommandInset label
25920 name "alg:Example-Algorithm-float"
25924 Example Algorithm float
25932 \begin_layout LyX-Code
25934 \begin_inset Newline newline
25937 Sum:= Sum + A(I); /*comment*/
25938 \begin_inset Newline newline
25942 \begin_inset VSpace -4mm
25953 \begin_layout Standard
25954 This float type is inserted with the menu
25956 Insert\SpecialChar menuseparator
25957 Float\SpecialChar menuseparator
25961 It is used for program codes and descriptions of algorithms and can be
25962 seen as an alternative to program code listings that are explained in chapter
25963 \begin_inset space ~
25967 \begin_inset CommandInset ref
25969 reference "cha:Program-Code-Listings"
25974 A possible environment for algorithms is the
25979 , described in \SpecialChar LyX
25986 \begin_inset space ~
25990 \begin_inset CommandInset ref
25992 reference "alg:Example-Algorithm-float"
25996 is an example of an algorithm float where -4
25997 \begin_inset space \thinspace{}
26000 mm vertical space was added at the end of the float to have the bottom rule
26001 exactly below the last text line.
26004 \begin_layout Standard
26005 The float label is not automatically translated into the document language.
26006 If your document is not in English, you have to do this manually by adding
26007 the following line to the document preamble
26012 \begin_layout Standard
26017 floatname{algorithm}{your
26018 \begin_inset space ~
26024 \begin_layout Standard
26028 \begin_inset space ~
26034 \begin_inset Quotes eld
26042 \begin_inset Quotes erd
26048 \begin_layout Standard
26049 To insert the list of algorithms you can use the menu
26051 Insert\SpecialChar menuseparator
26053 \begin_inset space \thinspace{}
26057 \begin_inset space \thinspace{}
26060 TOC\SpecialChar menuseparator
26063 when your document has the same language as \SpecialChar LyX
26065 In other cases use this command in \SpecialChar TeX
26069 \begin_layout Standard
26074 listof{algorithm}{your
26075 \begin_inset space ~
26081 \begin_layout Standard
26085 \begin_inset space ~
26091 \begin_inset Quotes eld
26099 \begin_inset Quotes erd
26105 \begin_layout Standard
26106 Algorithm floats are not by default numbered in the scheme
26107 \begin_inset Quotes eld
26111 \begin_inset Quotes erd
26114 as is the case for table and figure floats in many document-classes.
26115 To number algorithm floats in the same scheme, add this command to your
26119 \begin_layout Standard
26124 numberwithin{algorithm}{chapter}
26127 \begin_layout Standard
26128 To be able to use the command
26137 \begin_inset space ~
26142 in the document settings the option
26145 \begin_inset space ~
26149 \begin_inset space ~
26153 \begin_inset space ~
26161 \begin_layout Section
26163 \begin_inset Index idx
26166 \begin_layout Plain Layout
26175 \begin_layout Standard
26176 Floats are usually numbered either independently from the sections the floats
26177 are in, or in the scheme
26178 \begin_inset Quotes eld
26182 \begin_inset Quotes erd
26186 \begin_inset Quotes eld
26190 \begin_inset Quotes erd
26194 This depends on the document class used.
26197 \begin_layout Standard
26198 To change section-independent numbering, you can use this command in the
26202 \begin_layout Standard
26214 \begin_layout Standard
26221 is the command that prints the table number.
26222 For figure floats, the command would be
26235 in the command above prints the table number as a small roman number.
26238 \begin_layout Standard
26239 To change the numbering scheme for example to
26240 \begin_inset Quotes eld
26244 \begin_inset Quotes erd
26247 , use this command in the preamble:
26250 \begin_layout Standard
26255 numberwithin{table}{subsection}
26258 \begin_layout Standard
26259 To be able to use the command
26268 \begin_inset space ~
26273 in the document settings the option
26276 \begin_inset space ~
26280 \begin_inset space ~
26284 \begin_inset space ~
26292 \begin_layout Standard
26293 Please also have a look at section
26294 \begin_inset space ~
26298 \begin_inset CommandInset ref
26300 reference "subsec:Footnote-Numbering"
26304 for the details and important notes about the numbering commands.
26307 \begin_layout Section
26309 \begin_inset CommandInset label
26311 name "sec:Referencing-Floats"
26316 \begin_inset Index idx
26319 \begin_layout Plain Layout
26320 Floats ! References
26326 \begin_inset Index idx
26329 \begin_layout Plain Layout
26330 References ! to Floats
26338 \begin_layout Standard
26339 To reference a float, insert a label into its caption using the menu
26341 Insert\SpecialChar menuseparator
26344 or the toolbar button
26351 A grey label box like this one:
26352 \begin_inset Graphics
26353 filename clipart/label.png
26354 scaleBeforeRotation
26358 will be inserted and the label window pops up asking for the label text.
26360 offers as text the first words of the caption with a prefix.
26361 The prefix depends on the float type, e.
26362 \begin_inset space \thinspace{}
26366 \begin_inset space \space{}
26369 for figure floats the prefix will be "
26376 \begin_layout Standard
26377 The label is used as anchor and name for the reference.
26378 You can refer to the label using the menu
26380 Insert\SpecialChar menuseparator
26383 or the toolbar button
26386 arg "dialog-show-new-inset ref"
26390 The cross-reference window appears showing all labels of the document.
26391 If you have multiple \SpecialChar LyX
26392 documents opened, choose the one you are working
26393 on from the drop-list at the top of the dialog.
26394 You can now sort the labels alphabetically and then choose one.
26395 A grey cross-reference box like this one:
26396 \begin_inset Graphics
26397 filename clipart/reference.png
26398 scaleBeforeRotation
26403 At the position of the cross-reference box the float number will appear
26407 \begin_layout Standard
26408 It is recommended that you use a protected space between the cross-reference
26409 name and its number to avoid line breaks between them.
26410 If a cross-reference refers to a non-existing label, you will see two question
26411 marks in the output instead of the reference.
26414 \begin_layout Standard
26415 You can change labels at any time by clicking on the label box.
26416 References to the changed label will automatically update their links to
26417 the new label text.
26420 \begin_layout Standard
26424 \begin_inset space ~
26428 \begin_inset space ~
26433 in the cross-reference window sets the cursor before the referred label.
26434 The button text changes then to Go
26435 \begin_inset space ~
26438 Back and you can use it to set the cursor back to the cross-reference.
26441 \begin_layout Subsection
26442 Cross-Reference Formats
26443 \begin_inset CommandInset label
26445 name "subsec:Cross-Reference-Formats"
26450 \begin_inset Index idx
26453 \begin_layout Plain Layout
26454 References ! Formats
26462 \begin_layout Standard
26463 There are six varieties of cross-references:
26466 \begin_layout Description
26467 <reference>: prints the float number, this is the default:
26468 \begin_inset CommandInset ref
26470 reference "fig:Two-distorted-images"
26477 \begin_layout Description
26478 (<reference>): prints the float number within two parentheses, this is the
26479 style normally used to reference formulas, especially when the reference
26481 \begin_inset Quotes eld
26485 \begin_inset Quotes erd
26489 \begin_inset CommandInset ref
26498 \begin_layout Description
26499 <page>: prints the page number: Page
26500 \begin_inset space ~
26504 \begin_inset CommandInset ref
26505 LatexCommand pageref
26506 reference "fig:Two-distorted-images"
26513 \begin_layout Description
26515 \begin_inset space ~
26519 \begin_inset space ~
26522 <page>: prints the text "on page" and the page number:
26523 \begin_inset CommandInset ref
26524 LatexCommand vpageref
26525 reference "fig:Two-distorted-images"
26532 \begin_layout Description
26534 \begin_inset space ~
26538 \begin_inset space ~
26542 \begin_inset space ~
26545 <page>: prints the float number, the text "on page", and the page number:
26547 \begin_inset CommandInset ref
26549 reference "fig:Two-distorted-images"
26556 \begin_layout Description
26558 \begin_inset space ~
26561 reference: prints a self-defined cross-reference format.
26562 \begin_inset Newline newline
26566 \begin_inset Note Greyedout
26569 \begin_layout Plain Layout
26574 This feature is only available when you have the \SpecialChar LaTeX
26584 \begin_inset Index idx
26587 \begin_layout Plain Layout
26589 -packages ! prettyref
26595 \begin_inset Index idx
26598 \begin_layout Plain Layout
26600 -packages ! refstyle
26611 \begin_inset Newline newline
26614 You can select which \SpecialChar LaTeX
26615 -package should be used for this feature by setting
26618 Use refstyle (not prettyref) for cross-references
26622 Document\SpecialChar menuseparator
26623 Settings\SpecialChar menuseparator
26627 The format is specified by adding the command
26639 (refstyle) to the preamble of the document.
26640 For example redefining all references to figures (which have the label
26642 \begin_inset Quotes eld
26650 \begin_inset Quotes erd
26653 ) can be done with this command
26654 \begin_inset Newline newline
26661 newref{fig}{refcmd={Image on page
26666 \begin_inset Newline newline
26669 For more information about the format, have a look at the package documentations
26671 \begin_inset CommandInset citation
26673 key "prettyref,refstyle"
26679 \begin_inset Newline newline
26690 are only available if you use the \SpecialChar LaTeX
26705 \begin_inset space \thinspace{}
26709 \begin_inset space \space{}
26713 \begin_inset Quotes eld
26717 \begin_inset Quotes erd
26724 outputs the name capitalized, e.
26725 \begin_inset space \thinspace{}
26729 \begin_inset space \space{}
26733 \begin_inset Quotes eld
26737 \begin_inset Quotes erd
26741 Both options can be combined to get e.
26742 \begin_inset space \thinspace{}
26746 \begin_inset space \space{}
26750 \begin_inset Quotes eld
26754 \begin_inset Quotes erd
26760 \begin_layout Description
26762 \begin_inset space ~
26765 reference: prints the caption of the reference:
26766 \begin_inset CommandInset ref
26767 LatexCommand nameref
26768 reference "fig:Two-distorted-images"
26775 \begin_layout Description
26777 \begin_inset space ~
26780 only: prints only the \SpecialChar LaTeX
26781 label for the reference:
26782 \begin_inset CommandInset ref
26783 LatexCommand labelonly
26784 reference "fig:Two-distorted-images"
26792 \begin_inset Newline newline
26795 This allows to use the label for commands in \SpecialChar TeX
26801 one can omit the prefix of the label name:
26802 \begin_inset CommandInset ref
26803 LatexCommand labelonly
26804 reference "fig:Two-distorted-images"
26814 \begin_layout Standard
26819 will not print the page number if the label is on the previous, the same,
26822 \begin_inset space \thinspace{}
26826 \begin_inset space \space{}
26830 \begin_inset Quotes eld
26838 \begin_inset Quotes erd
26844 <reference> on page <page>
26846 will not print anything about the page if the label is on the same page.
26849 \begin_layout Standard
26850 The number and current page of the part of the document referred to in the
26851 output is automatically calculated by \SpecialChar LaTeX
26853 The varieties are adjusted in the field
26857 of the cross-reference window that appears when you click on the cross-referenc
26861 \begin_layout Standard
26862 \begin_inset Note Greyedout
26865 \begin_layout Plain Layout
26870 It is recommended to use the \SpecialChar LaTeX
26876 \begin_inset Index idx
26879 \begin_layout Plain Layout
26881 -packages ! refstyle
26891 \begin_inset Index idx
26894 \begin_layout Plain Layout
26896 -packages ! prettyref
26901 does not know all of \SpecialChar LyX
26902 's possible label shortcuts
26906 \begin_layout Plain Layout
26907 \begin_inset Quotes eld
26911 \begin_inset Quotes erd
26914 is for example \SpecialChar LyX
26915 's shortcut for labels in figure captions.
26920 and is not internationalized.
26928 \begin_layout Subsection
26929 Automatic Reference Naming
26930 \begin_inset Index idx
26933 \begin_layout Plain Layout
26934 References ! Automatic Reference Naming
26942 \begin_layout Standard
26943 The \SpecialChar LaTeX
26949 \begin_inset Index idx
26952 \begin_layout Plain Layout
26954 -packages ! hyperref
26959 , that is enabled in the
26967 dialog, provides a very useful feature that cross-references automatically
26968 include the name of the referenced floats (or text parts like
26973 So you will save having to write e.
26974 \begin_inset space \thinspace{}
26978 \begin_inset space \space{}
26982 \begin_inset Quotes eld
26986 \begin_inset Quotes erd
26989 before every reference to a figure.
26990 To use this feature, enable
26994 and insert this line to the \SpecialChar LaTeX
26998 \begin_layout Standard
27014 \begin_layout Standard
27015 When you prefer other reference names than the default ones, for example
27016 you want instead of
27017 \begin_inset Quotes eld
27021 \begin_inset Quotes erd
27025 \begin_inset Quotes eld
27029 \begin_inset space \thinspace{}
27033 \begin_inset Quotes eld
27036 , you can redefine the name by inserting this in the preamble:
27039 \begin_layout Standard
27050 sectionautorefname}
27051 \begin_inset Newline newline
27055 \begin_inset Phantom HPhantom
27058 \begin_layout Plain Layout
27061 \begin_inset space ~
27074 \begin_layout Standard
27075 When you are using another document language than English, replace
27076 \begin_inset Newline newline
27091 , where *** is the name of the language used.
27094 \begin_layout Standard
27095 To get automatic names, but not for certain reference types, for example
27096 not for equations, use this preamble code:
27099 \begin_layout Standard
27110 equationautorefname}[1]{}}
27113 \begin_layout Standard
27114 More about this topic can be found in
27119 \begin_inset CommandInset citation
27129 \begin_layout Standard
27130 \begin_inset Note Greyedout
27133 \begin_layout Plain Layout
27138 Automatic reference naming cannot be used when you use cross-references
27142 \begin_inset space ~
27147 style, as described in section
27148 \begin_inset space ~
27152 \begin_inset CommandInset ref
27154 reference "subsec:Cross-Reference-Formats"
27166 \begin_layout Standard
27171 manual is an example where automatic reference naming is used.
27174 \begin_layout Subsection
27176 \begin_inset CommandInset label
27178 name "subsec:Reference-Position"
27183 \begin_inset Index idx
27186 \begin_layout Plain Layout
27187 References ! Reference Position
27195 \begin_layout Standard
27201 \begin_inset Index idx
27204 \begin_layout Plain Layout
27206 -packages ! hyperref
27219 dialog to link cross-references in the output, you will see that clicking
27220 on an image float reference jumps to the image label.
27221 The caption will be the first text part on the screen, so that you cannot
27222 see the image without scrolling.
27223 This is because the reference link anchor is placed at the position of
27225 With the use of the package
27230 \begin_inset Index idx
27233 \begin_layout Plain Layout
27240 , which is part of the \SpecialChar LaTeX
27246 \begin_inset Index idx
27249 \begin_layout Plain Layout
27251 -packages ! oberdiek
27256 , the link anchor is placed at the beginning of a float.
27257 To use this feature for figure floats, load
27261 in the document preamble with the line
27264 \begin_layout Standard
27269 usepackage[figure]{hypcap}
27272 \begin_layout Standard
27277 for all float types but this is not recommended for stability reasons.
27278 For more information, have a look at
27283 \begin_inset CommandInset citation
27293 \begin_layout Standard
27294 \begin_inset Note Greyedout
27297 \begin_layout Plain Layout
27306 has no effect on references to subfigures.
27314 \begin_layout Section
27316 \change_deleted -712698321 1526031763
27318 \change_inserted -712698321 1526031765
27322 \begin_inset CommandInset label
27324 name "sec:Float-Settings"
27329 \begin_inset Index idx
27332 \begin_layout Plain Layout
27334 \change_deleted -712698321 1526031841
27336 \change_inserted -712698321 1526031842
27347 \begin_layout Standard
27349 \change_inserted -712698321 1526033385
27350 Float Settings can be adjusted at two places in \SpecialChar LyX
27353 Document\SpecialChar menuseparator
27354 Settings\SpecialChar ldots
27355 \SpecialChar menuseparator
27358 , you can set some options that are used by default for all floats of the
27359 document (placement on page and alignment of contents), unless you modify
27360 the local settings of a float.
27365 \begin_layout Standard
27367 \change_inserted -712698321 1526032513
27368 The latter can be done by
27369 \change_deleted -712698321 1526032513
27371 \change_inserted -712698321 1526032513
27374 ight-clicking on a float-box and clicking on
27377 \change_inserted -712698321 1526033387
27384 \change_inserted -712698321 1526032520
27387 opens a dialog where you can
27388 \change_inserted -712698321 1526032584
27389 , now only for the given float,
27392 \change_inserted -712698321 1526033452
27396 \change_deleted -712698321 1526033439
27397 options that \SpecialChar LaTeX
27398 uses for positioning the float
27399 \change_inserted -712698321 1526033493
27400 and alignment options, and adapt some other options that are only available
27405 \change_inserted -712698321 1526032658
27406 All these options, both for
27408 Document\SpecialChar menuseparator
27409 Settings\SpecialChar menuseparator
27416 , are described in turn.
27417 \change_deleted -712698321 1526031652
27419 \begin_inset Newline newline
27425 \begin_inset space ~
27430 is only useful for two-column documents: If you select it, the float will
27431 span both columns on the page instead of being confined to just one.
27432 \begin_inset Newline newline
27438 \begin_inset space ~
27443 is used to rotate floats, see section
27444 \begin_inset CommandInset ref
27446 reference "sec:Rotated-Floats"
27455 \begin_layout Subsection
27457 \change_inserted -712698321 1526031775
27459 \begin_inset CommandInset label
27461 name "sec:Float-Placement"
27466 \begin_inset Index idx
27469 \begin_layout Plain Layout
27471 \change_inserted -712698321 1526031775
27482 \begin_layout Standard
27484 \change_inserted -712698321 1526032697
27487 Document\SpecialChar menuseparator
27488 Settings\SpecialChar menuseparator
27496 \change_deleted -712698321 1526032811
27497 You can use one or more of the following options in the float dialog to
27499 \change_inserted -712698321 1526032812
27503 \change_inserted -712698321 1526033558
27504 algorithm that \SpecialChar LaTeX
27505 uses for positioning floats on the page, either
27508 \change_inserted -712698321 1526033535
27511 Document\SpecialChar menuseparator
27512 Settings\SpecialChar menuseparator
27518 \change_inserted -712698321 1526033570
27529 By default, this is set to
27532 \change_inserted -712698321 1526033604
27539 Document\SpecialChar menuseparator
27540 Settings\SpecialChar menuseparator
27543 (meaning that the default placement algorithm of the document class is
27552 dialog (meaning that the settings in
27554 Document\SpecialChar menuseparator
27555 Settings\SpecialChar menuseparator
27558 are used, which are the Class Defaults by default).
27559 If you want to change this,
27560 \change_deleted -712698321 1526033009
27562 \change_inserted -712698321 1526033535
27566 \change_deleted -712698321 1526031920
27568 \change_inserted -712698321 1526033535
27571 Placement Settings:
27576 \change_inserted -712698321 1526033535
27580 \change_deleted -712698321 1526031908
27582 \begin_inset space ~
27586 \begin_inset space ~
27590 \change_inserted -712698321 1526033535
27593 This allows you to select one or more from
27598 \begin_layout Description
27600 \begin_inset space ~
27604 \begin_inset space ~
27607 possible try to place the float on the position where it has been inserted
27610 \begin_layout Description
27612 \begin_inset space ~
27616 \begin_inset space ~
27619 page try to place the float at the top of the current page
27622 \begin_layout Description
27624 \begin_inset space ~
27628 \begin_inset space ~
27631 page try to place the float at the bottom of the current page
27634 \begin_layout Description
27636 \begin_inset space ~
27640 \begin_inset space ~
27643 floats try to place the float on its own page
27646 \begin_layout Standard
27647 The order of the above option is
27651 used by \SpecialChar LaTeX
27653 That means, if you use the default placement, \SpecialChar LaTeX
27657 \begin_inset space ~
27661 \begin_inset space ~
27669 \begin_inset space ~
27673 \begin_inset space ~
27678 , and then the others.
27679 If you do not use the default, \SpecialChar LaTeX
27680 will try only the checked options but in
27683 \begin_inset space ~
27686 placements is possible the procedure is internally repeated trying to put
27687 the float on the following page.
27690 \begin_layout Standard
27691 By default, each option has its own rules:
27694 \begin_layout Labeling
27695 \labelwidthstring 00.00.0000
27699 \begin_inset space ~
27703 \begin_inset space ~
27708 only floats occupying less than 70
27709 \begin_inset space \thinspace{}
27712 % of the page can be placed at the top of a page (
27721 \begin_layout Labeling
27722 \labelwidthstring 00.00.0000
27726 \begin_inset space ~
27730 \begin_inset space ~
27735 : only floats occupying less than 30
27736 \begin_inset space \thinspace{}
27739 % of the page can be placed at the bottom of a page.
27749 \begin_layout Labeling
27750 \labelwidthstring 00.00.0000
27754 \begin_inset space ~
27758 \begin_inset space ~
27763 : only if more than 50
27764 \begin_inset space \thinspace{}
27767 % of the page is occupied by floats, several floats can be set together
27778 \begin_layout Standard
27779 If you don't like these rules, you can ignore them by using the additional
27783 \begin_inset space ~
27788 \begin_inset space ~
27794 \begin_inset Newline newline
27797 You can also redefine the rules with \SpecialChar LaTeX
27798 -commands that are given in parentheses
27799 after the rules description above.
27800 To increase for example the often too small default of the bottom-rule
27802 \begin_inset space \thinspace{}
27805 % of the page, add this line to your document preamble:
27808 \begin_layout Standard
27815 bottomfraction}{0.5}
27818 \begin_layout Standard
27819 Sometimes you might need, under all circumstances, a float to be placed
27820 exactly at the position where it is inserted.
27821 For this case you can use the option
27824 \begin_inset space ~
27830 Use this option very rarely and only if the document is almost ready to
27831 be printed, because the float is then no longer able to
27832 \begin_inset Quotes eld
27836 \begin_inset Quotes erd
27839 when you change your document and this will often destroy the page layout.
27842 \begin_layout Standard
27843 There are no placement options for text wrap floats, because they are always
27844 surrounded by the text of a certain paragraph.
27845 \begin_inset VSpace bigskip
27851 \begin_layout Standard
27852 Sometimes you have the problem that a float is placed at the top of a page
27853 while its corresponding section starts at the middle of the page, so that
27854 the reader could think the float is part of the previous section.
27855 To avoid this the \SpecialChar LaTeX
27863 It suppresses a given float placement for the page where it is inserted
27864 and can therefore be used to avoid floats being set before a section starts.
27865 To get this, add these commands to your document preamble:
27868 \begin_layout Standard
27878 \begin_inset Newline newline
27892 \begin_layout Standard
27893 You can define the same for all section headings, like chapters and subsections.
27894 This definition is not recommended to be used for small text parts like
27895 subsubsections because \SpecialChar LaTeX
27896 may then have problems finding a suitable placement.
27899 \begin_layout Standard
27900 \begin_inset VSpace bigskip
27903 In some cases it is required to have all figures/tables at the end of the
27905 For this purpose the \SpecialChar LaTeX
27911 \begin_inset Index idx
27914 \begin_layout Plain Layout
27916 -packages ! endfloat
27922 It puts all figure and table floats at the end of the document into their
27924 At the original float position a text hint like
27925 \begin_inset Quotes eld
27931 \begin_inset space ~
27937 \begin_inset Quotes erd
27941 The endfloat-package is loaded in the preamble with the line
27944 \begin_layout Standard
27949 usepackage[options]{endfloat}
27952 \begin_layout Standard
27953 There are various package options to format the created figure/table sections.
27954 For more information we refer you to the
27959 \begin_inset CommandInset citation
27967 \begin_inset Newline newline
27971 \begin_inset Note Greyedout
27974 \begin_layout Plain Layout
27979 doesn't provide an automatic translation for the text hint, you have to
27980 do this manually, see section
27981 \begin_inset space ~
27985 \begin_inset CommandInset citation
27998 \begin_inset Newline newline
28002 \begin_inset Note Greyedout
28005 \begin_layout Plain Layout
28010 There is currently a bug in
28014 when the caption contains a German
28015 \begin_inset Quotes eld
28019 \begin_inset Quotes erd
28023 Use in this case the command
28024 \begin_inset Quotes eld
28034 \begin_inset Quotes erd
28037 in \SpecialChar TeX
28039 \begin_inset Quotes eld
28043 \begin_inset Quotes erd
28054 \begin_layout Standard
28055 \begin_inset VSpace bigskip
28058 For more details about float placements, have a look at \SpecialChar LaTeX
28060 \begin_inset CommandInset citation
28062 key "latexcompanion,latexguide,latexbook"
28068 \change_inserted -712698321 1526030561
28072 \begin_layout Subsection
28074 \change_inserted -712698321 1526031989
28075 Alignment of Float Contents
28078 \begin_layout Standard
28080 \change_inserted -712698321 1526032316
28081 In this list of options, you can define how the contents of a float (or
28082 all floats by default, if selected from
28084 Document\SpecialChar menuseparator
28092 means that the alignment of the class, or the default alignment of \SpecialChar LaTeX
28099 (only visible in the
28105 Document\SpecialChar menuseparator
28108 ) takes the setting specified in
28110 Document\SpecialChar menuseparator
28111 Settings\SpecialChar menuseparator
28115 The other three options,
28127 , are self-explanatory.
28128 If one of these is selected in
28130 Document\SpecialChar menuseparator
28131 Settings\SpecialChar menuseparator
28134 , all floats of the document will have this setting by default (so it is
28135 fairly easy, for instance, to center all floats).
28140 \begin_layout Subsection
28142 \change_inserted -712698321 1526030571
28143 Other Float Options
28146 \begin_layout Standard
28148 \change_inserted -712698321 1526035716
28149 These two options are only visible in the local
28155 Document\SpecialChar menuseparator
28161 \begin_layout Standard
28163 \change_inserted -712698321 1526033931
28167 \begin_inset space ~
28172 is useful for two-column documents: If you select it, the float will span
28173 both columns on the page instead of being confined to just one.
28176 \begin_layout Standard
28178 \change_inserted -712698321 1526030572
28182 \begin_inset space ~
28187 is used to rotate floats, see section
28188 \begin_inset CommandInset ref
28190 reference "sec:Rotated-Floats"
28199 \begin_layout Section
28201 \begin_inset CommandInset label
28203 name "sec:Rotated-Floats"
28208 \begin_inset Index idx
28211 \begin_layout Plain Layout
28220 \begin_layout Standard
28221 Especially for wide tables you might have floats rotated.
28222 To rotate a whole float including the caption, right-click on the float-box
28226 \begin_inset space ~
28234 \begin_layout Standard
28235 Rotated floats are always placed on a page of their own (or column of their
28236 own; in case you have a multi-column document).
28237 You can let them span several columns using the float settings option
28240 \begin_inset space ~
28246 Floats are rotated so that you can read them from the outside margin.
28247 To force a certain rotation direction for all pages, you can add either
28256 to the document class options.
28259 \begin_layout Standard
28260 Referencing rotated floats is the same as for normal floats, the caption
28261 format is also the same: Table
28262 \begin_inset space ~
28266 \begin_inset CommandInset ref
28268 reference "tab:Rotated-table"
28272 is an example of a rotated table float.
28275 \begin_layout Standard
28276 \begin_inset Note Greyedout
28279 \begin_layout Plain Layout
28284 Not all DVI-viewers are able to display rotated floats.
28292 \begin_layout Standard
28293 \begin_inset Float table
28300 \begin_layout Plain Layout
28301 \begin_inset Caption Standard
28303 \begin_layout Plain Layout
28304 \begin_inset CommandInset label
28306 name "tab:Rotated-table"
28318 \begin_layout Plain Layout
28320 \begin_inset Tabular
28321 <lyxtabular version="3" rows="1" columns="5">
28322 <features tabularvalignment="middle">
28323 <column alignment="center" valignment="top">
28324 <column alignment="center" valignment="top">
28325 <column alignment="center" valignment="top">
28326 <column alignment="center" valignment="top">
28327 <column alignment="center" valignment="top">
28329 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28332 \begin_layout Plain Layout
28338 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28341 \begin_layout Plain Layout
28347 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28350 \begin_layout Plain Layout
28356 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28359 \begin_layout Plain Layout
28365 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28368 \begin_layout Plain Layout
28387 \begin_layout Section
28389 \begin_inset Index idx
28392 \begin_layout Plain Layout
28401 \begin_layout Standard
28402 Subfloats are for example used when a figure consists of several images.
28403 They are created by inserting a float into an existing float.
28404 The placement of the subfloats can be controlled in the same way as for
28405 paragraphs as shown in table
28406 \begin_inset space ~
28410 \begin_inset CommandInset ref
28412 reference "tab:Two-subtables-side"
28417 \begin_inset CommandInset ref
28419 reference "tab:Two-subtables-upon"
28426 \begin_layout Standard
28427 Referencing subfloats works as for normal floats: Table
28428 \begin_inset space ~
28432 \begin_inset CommandInset ref
28434 reference "tab:This-is-subtable-a"
28439 \begin_inset CommandInset ref
28441 reference "tab:This-is-subtable-b"
28445 are subtables of table
28446 \begin_inset space ~
28450 \begin_inset CommandInset ref
28452 reference "tab:Two-subtables-side"
28459 \begin_layout Standard
28460 \begin_inset Float table
28467 \begin_layout Plain Layout
28468 \begin_inset Caption Standard
28470 \begin_layout Plain Layout
28471 \begin_inset CommandInset label
28473 name "tab:Two-subtables-side"
28477 Two subtables placed side by side.
28485 \begin_layout Plain Layout
28487 \begin_inset space \hfill{}
28491 \begin_inset Float table
28498 \begin_layout Plain Layout
28499 \begin_inset Caption Standard
28501 \begin_layout Plain Layout
28502 \begin_inset CommandInset label
28504 name "tab:This-is-subtable-a"
28508 This is subtable a.
28516 \begin_layout Plain Layout
28518 \begin_inset Tabular
28519 <lyxtabular version="3" rows="1" columns="5">
28520 <features tabularvalignment="middle">
28521 <column alignment="center" valignment="top">
28522 <column alignment="center" valignment="top">
28523 <column alignment="center" valignment="top">
28524 <column alignment="center" valignment="top">
28525 <column alignment="center" valignment="top">
28527 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28530 \begin_layout Plain Layout
28536 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28539 \begin_layout Plain Layout
28545 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28548 \begin_layout Plain Layout
28554 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28557 \begin_layout Plain Layout
28563 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28566 \begin_layout Plain Layout
28583 \begin_inset space \hfill{}
28587 \begin_inset Float table
28594 \begin_layout Plain Layout
28595 \begin_inset Caption Standard
28597 \begin_layout Plain Layout
28598 \begin_inset CommandInset label
28600 name "tab:This-is-subtable-b"
28604 This is subtable b.
28612 \begin_layout Plain Layout
28614 \begin_inset Tabular
28615 <lyxtabular version="3" rows="1" columns="5">
28616 <features tabularvalignment="middle">
28617 <column alignment="center" valignment="top">
28618 <column alignment="center" valignment="top">
28619 <column alignment="center" valignment="top">
28620 <column alignment="center" valignment="top">
28621 <column alignment="center" valignment="top">
28623 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28626 \begin_layout Plain Layout
28632 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28635 \begin_layout Plain Layout
28641 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28644 \begin_layout Plain Layout
28650 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28653 \begin_layout Plain Layout
28659 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28662 \begin_layout Plain Layout
28679 \begin_inset space \hfill{}
28690 \begin_layout Standard
28691 \begin_inset Float table
28698 \begin_layout Plain Layout
28699 \begin_inset Caption Standard
28701 \begin_layout Plain Layout
28702 \begin_inset CommandInset label
28704 name "tab:Two-subtables-upon"
28708 Two subtables placed one above the other.
28709 (a) table with 4 cells, (b) table with 5 cells.
28717 \begin_layout Plain Layout
28719 \begin_inset Float table
28726 \begin_layout Plain Layout
28727 \begin_inset Caption Standard
28729 \begin_layout Plain Layout
28738 \begin_layout Plain Layout
28740 \begin_inset Tabular
28741 <lyxtabular version="3" rows="1" columns="4">
28742 <features tabularvalignment="middle">
28743 <column alignment="center" valignment="top">
28744 <column alignment="center" valignment="top">
28745 <column alignment="center" valignment="top">
28746 <column alignment="center" valignment="top">
28748 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28751 \begin_layout Plain Layout
28757 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28760 \begin_layout Plain Layout
28766 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28769 \begin_layout Plain Layout
28775 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28778 \begin_layout Plain Layout
28797 \begin_layout Plain Layout
28799 \begin_inset Float table
28806 \begin_layout Plain Layout
28807 \begin_inset Caption Standard
28809 \begin_layout Plain Layout
28818 \begin_layout Plain Layout
28820 \begin_inset Tabular
28821 <lyxtabular version="3" rows="1" columns="5">
28822 <features tabularvalignment="middle">
28823 <column alignment="center" valignment="top">
28824 <column alignment="center" valignment="top">
28825 <column alignment="center" valignment="top">
28826 <column alignment="center" valignment="top">
28827 <column alignment="center" valignment="top">
28829 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28832 \begin_layout Plain Layout
28838 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28841 \begin_layout Plain Layout
28847 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28850 \begin_layout Plain Layout
28856 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28859 \begin_layout Plain Layout
28865 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28868 \begin_layout Plain Layout
28892 \begin_layout Section
28893 Floats Side by Side
28894 \begin_inset Index idx
28897 \begin_layout Plain Layout
28898 Floats ! Side by side
28906 \begin_layout Standard
28907 To place floats side by side, as in Figures
28908 \begin_inset space ~
28912 \begin_inset CommandInset ref
28914 reference "fig:Float-left"
28919 \begin_inset CommandInset ref
28921 reference "fig:Float-right"
28930 In it two minipage boxes are inserted.
28934 \begin_layout Plain Layout
28935 Minipages are explained in section
28936 \begin_inset space ~
28940 \begin_inset CommandInset ref
28942 reference "sec:Minipages"
28951 The width is set to 45
28952 \begin_inset space \thinspace{}
28956 \begin_inset space \thinspace{}
28959 column% and the box alignment to
28964 The minipage boxes contain the image and the caption in the same way as
28965 they are in a float.
28966 The only difference is that the image unit
28969 \begin_inset space ~
28973 \begin_inset space ~
28978 is now calculated according to the width of the minipage boxes.
28981 \begin_layout Standard
28982 \begin_inset Float figure
28989 \begin_layout Plain Layout
28990 \begin_inset Box Frameless
29000 height_special "totalheight"
29005 backgroundcolor "none"
29008 \begin_layout Plain Layout
29010 \begin_inset Graphics
29011 filename clipart/2D-intensity-plot.pdf
29013 scaleBeforeRotation
29020 \begin_layout Plain Layout
29021 \begin_inset Caption Standard
29023 \begin_layout Plain Layout
29024 \begin_inset CommandInset label
29026 name "fig:Float-left"
29030 Float on the left side.
29041 \begin_inset space \hfill{}
29045 \begin_inset Box Frameless
29055 height_special "totalheight"
29060 backgroundcolor "none"
29063 \begin_layout Plain Layout
29065 \begin_inset Graphics
29066 filename clipart/Star-structure.pdf
29068 scaleBeforeRotation
29075 \begin_layout Plain Layout
29076 \begin_inset Caption Standard
29078 \begin_layout Plain Layout
29079 \begin_inset CommandInset label
29081 name "fig:Float-right"
29085 Float on the right side.
29103 \begin_layout Standard
29104 An alternative and simpler solution is to use the module
29106 Variable-width Minipages
29109 \begin_inset space \thinspace{}
29113 \begin_inset CommandInset ref
29115 reference "sec:Minipages"
29120 Variable-width minipages adapt automatically to the width of the figures
29122 They do not require an explicit width to be given, and they improve the
29123 horizontal alignment of the figures.
29124 The LyX example file
29126 varwidth-floats-side-by-side
29128 gives examples of how to do this.
29131 \begin_layout Section
29133 \begin_inset Index idx
29136 \begin_layout Plain Layout
29137 Caption ! Formatting
29143 \begin_inset Index idx
29146 \begin_layout Plain Layout
29147 Floats ! Caption Formatting
29153 \begin_inset CommandInset label
29155 name "sec:Caption-Formatting"
29162 \begin_layout Standard
29167 environment is the default paragraph environment for
29172 On the \SpecialChar LyX
29173 screen captions appear as a label, e.
29174 \begin_inset space \thinspace{}
29178 \begin_inset space \space{}
29182 \begin_inset Quotes eld
29190 \begin_inset Quotes erd
29193 followed by the caption text.
29195 \begin_inset Quotes eld
29199 \begin_inset Quotes erd
29202 is the actual reference number.
29203 By default the label and the number are in the same font as the caption
29204 text and a colon follows the number to divide the label from the text.
29205 This caption format is suitable for many but not all documents.
29209 \begin_layout Standard
29210 To change the default caption format, load the \SpecialChar LaTeX
29216 \begin_inset Index idx
29219 \begin_layout Plain Layout
29221 -packages ! caption
29226 in the document preamble with this line:
29229 \begin_layout Standard
29234 usepackage[format definition]{caption}
29237 \begin_layout Standard
29238 To have for example the label and the number in sans-serif, bold font and
29239 the table captions always above the table as in this document, use the
29243 \begin_layout Standard
29248 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
29251 \begin_layout Standard
29252 You can also define different caption formats for the different float types.
29253 In this case load the
29257 package without format specific options and define the different formats
29258 with the help of the command
29261 \begin_layout Standard
29266 captionsetup[float type]{format definition}
29269 \begin_layout Standard
29270 in the document preamble.
29271 For example the caption formats of Figure
29272 \begin_inset space ~
29276 \begin_inset CommandInset ref
29278 reference "fig:This-is-an-fig"
29283 \begin_inset space ~
29287 \begin_inset CommandInset ref
29289 reference "tab:This-is-an-tab"
29293 can be created using these commands in the document preamble:
29296 \begin_layout Standard
29301 usepackage[tableposition=top]{caption}
29304 \begin_inset Newline newline
29311 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
29312 \begin_inset Newline newline
29316 \begin_inset Phantom HPhantom
29319 \begin_layout Plain Layout
29324 captionsetup[figure]{
29330 \begin_inset Newline newline
29335 captionsetup[table]{labelfont={bf,sf}}
29338 \begin_layout Standard
29339 \begin_inset Note Greyedout
29342 \begin_layout Plain Layout
29351 has no effect when a
29356 \begin_inset Index idx
29359 \begin_layout Plain Layout
29361 -packages ! KOMA-Script
29366 document class is used.
29367 In this case the document class option
29369 captions=tableheading
29379 \begin_layout Standard
29380 For more information about the package
29384 we refer to its documentation
29385 \begin_inset CommandInset citation
29395 \begin_layout Standard
29396 To change the label name from e.
29397 \begin_inset space \thinspace{}
29401 \begin_inset space \space{}
29405 \begin_inset Quotes eld
29409 \begin_inset Quotes erd
29413 \begin_inset Quotes eld
29417 \begin_inset Quotes erd
29420 use this preamble command:
29423 \begin_layout Standard
29430 fnum@figure}{Image~
29435 \begin_layout Standard
29442 inserts the figure number and
29445 \begin_inset Quotes eld
29451 \begin_inset Quotes erd
29454 creates a protected space.
29457 \begin_layout Standard
29458 \begin_inset VSpace bigskip
29466 \begin_inset Index idx
29469 \begin_layout Plain Layout
29471 -packages ! KOMA-Script
29478 article (KOMA-Script)
29486 letter (KOMA-Script)
29490 report (KOMA-Script)
29493 \begin_inset space \thinspace{}
29496 ), you can alternatively to the
29504 's built-in command
29511 For example, to have the caption label in bold, add this command to your
29515 \begin_layout Standard
29520 setkomafont{captionlabel}{
29525 \begin_layout Standard
29526 For more information about
29537 \begin_inset CommandInset citation
29547 \begin_layout Standard
29551 \begin_layout Plain Layout
29555 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
29562 \begin_inset Note Note
29565 \begin_layout Plain Layout
29566 The caption format is changed only for this example.
29574 \begin_layout Standard
29575 \begin_inset Float figure
29582 \begin_layout Plain Layout
29584 \begin_inset Graphics
29585 filename clipart/2D-intensity-plot.pdf
29586 scaleBeforeRotation
29593 \begin_layout Plain Layout
29594 \begin_inset Caption Standard
29596 \begin_layout Plain Layout
29597 \begin_inset CommandInset label
29599 name "fig:This-is-an-fig"
29603 This is an example figure caption that is longer than one line to show the
29604 different caption format.
29605 Here a self-defined caption format is used.
29618 \begin_layout Standard
29622 \begin_layout Plain Layout
29626 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
29635 \begin_layout Standard
29636 \begin_inset Float table
29643 \begin_layout Plain Layout
29644 \begin_inset Caption Standard
29646 \begin_layout Plain Layout
29647 \begin_inset CommandInset label
29649 name "tab:This-is-an-tab"
29653 This is an example table caption that is longer than one line to show the
29654 different caption format.
29655 Here the standard caption format for tables in this document is used.
29663 \begin_layout Plain Layout
29665 \begin_inset Tabular
29666 <lyxtabular version="3" rows="1" columns="5">
29667 <features tabularvalignment="middle">
29668 <column alignment="center" valignment="top">
29669 <column alignment="center" valignment="top">
29670 <column alignment="center" valignment="top">
29671 <column alignment="center" valignment="top">
29672 <column alignment="center" valignment="top">
29674 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29677 \begin_layout Plain Layout
29683 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29686 \begin_layout Plain Layout
29692 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29695 \begin_layout Plain Layout
29701 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29704 \begin_layout Plain Layout
29710 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29713 \begin_layout Plain Layout
29732 \begin_layout Section
29734 \begin_inset Index idx
29737 \begin_layout Plain Layout
29738 Caption ! Placement
29744 \begin_inset Index idx
29747 \begin_layout Plain Layout
29748 Floats ! Caption Placement
29754 \begin_inset CommandInset label
29756 name "sec:Caption-Placement"
29763 \begin_layout Standard
29764 The common caption placement rule is:
29767 \begin_layout Description
29768 Figure: Caption is set below the figure
29771 \begin_layout Description
29772 Table: Caption is set above the table
29775 \begin_layout Standard
29776 Having the caption above the table is unfortunately not supported in \SpecialChar LaTeX
29779 That means if you are using the document classes
29795 there will be no space between the caption and the table.
29796 To insert the necessary space, load the \SpecialChar LaTeX
29802 \begin_inset Index idx
29805 \begin_layout Plain Layout
29807 -packages ! caption
29812 in your document preamble with the option
29816 \begin_layout Plain Layout
29818 \begin_inset space ~
29822 \begin_inset CommandInset ref
29824 reference "sec:Caption-Formatting"
29828 for more information of the package
29840 \begin_layout Standard
29846 \begin_layout Standard
29852 \begin_inset Index idx
29855 \begin_layout Plain Layout
29857 -packages ! KOMA-Script
29864 article (KOMA-Script)
29872 letter (KOMA-Script)
29876 report (KOMA-Script)
29879 \begin_inset space \thinspace{}
29882 ), you can alternatively to the
29886 package set the document class option
29890 \begin_layout Plain Layout
29891 That option is used in this document.
29899 \begin_layout Standard
29902 captions=tableheading
29905 \begin_layout Standard
29906 In documents with a KOMA-Script document class you can also right-click
29907 on a caption and mark in the context menu if this should be a caption above
29908 or below the table/figure.
29909 This way you can override the document-wide caption placement for certain
29912 \begin_inset space ~
29916 \begin_inset CommandInset ref
29918 reference "tab:A-caption-marked"
29922 is an example where the caption is marked a being below the table while
29924 For comparison the caption in Table
29925 \begin_inset space ~
29929 \begin_inset CommandInset ref
29931 reference "tab:A-standard-table"
29938 \begin_layout Standard
29939 \begin_inset Float table
29946 \begin_layout Plain Layout
29947 \begin_inset Caption Below
29949 \begin_layout Plain Layout
29950 \begin_inset CommandInset label
29952 name "tab:A-caption-marked"
29956 A caption marked as being below the table.
29964 \begin_layout Plain Layout
29966 \begin_inset Tabular
29967 <lyxtabular version="3" rows="3" columns="3">
29968 <features tabularvalignment="middle">
29969 <column alignment="center" valignment="top" width="0pt">
29970 <column alignment="center" valignment="top" width="0pt">
29971 <column alignment="center" valignment="top" width="0pt">
29973 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29976 \begin_layout Plain Layout
29982 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29985 \begin_layout Plain Layout
29991 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29994 \begin_layout Plain Layout
30002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30005 \begin_layout Plain Layout
30011 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30014 \begin_layout Plain Layout
30020 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30023 \begin_layout Plain Layout
30031 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30034 \begin_layout Plain Layout
30035 \begin_inset Formula $\int x^{2}dx$
30043 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30046 \begin_layout Plain Layout
30047 \begin_inset Formula $\left[\begin{array}{cc}
30050 \end{array}\right]$
30058 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30061 \begin_layout Plain Layout
30062 \begin_inset Formula $1+1=2$
30083 \begin_layout Standard
30084 \begin_inset Float table
30091 \begin_layout Plain Layout
30092 \begin_inset Caption Standard
30094 \begin_layout Plain Layout
30095 \begin_inset CommandInset label
30097 name "tab:A-standard-table"
30101 A standard table caption.
30109 \begin_layout Plain Layout
30111 \begin_inset Tabular
30112 <lyxtabular version="3" rows="3" columns="3">
30113 <features tabularvalignment="middle">
30114 <column alignment="center" valignment="top" width="0pt">
30115 <column alignment="center" valignment="top" width="0pt">
30116 <column alignment="center" valignment="top" width="0pt">
30118 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30121 \begin_layout Plain Layout
30127 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30130 \begin_layout Plain Layout
30136 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30139 \begin_layout Plain Layout
30147 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30150 \begin_layout Plain Layout
30156 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30159 \begin_layout Plain Layout
30165 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30168 \begin_layout Plain Layout
30176 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30179 \begin_layout Plain Layout
30180 \begin_inset Formula $\int x^{2}dx$
30188 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30191 \begin_layout Plain Layout
30192 \begin_inset Formula $\left[\begin{array}{cc}
30195 \end{array}\right]$
30203 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30206 \begin_layout Plain Layout
30207 \begin_inset Formula $1+1=2$
30228 \begin_layout Standard
30229 \begin_inset VSpace bigskip
30232 It is also possible to set the caption beside a figure or table.
30233 To get this the \SpecialChar LaTeX
30239 \begin_inset Index idx
30242 \begin_layout Plain Layout
30244 -packages ! sidecap
30249 has to be loaded in the document preamble with the line
30252 \begin_layout Standard
30257 usepackage[option]{sidecap}
30260 \begin_layout Standard
30261 If you set no option, the caption is placed on the side of the outer page
30262 margin – to the right on odd pages, to the left on even pages.
30263 You can change the placement to inner margin with the option
30268 To force the placement always to the right or left, use the option
30279 \begin_layout Standard
30283 \begin_layout Plain Layout
30293 \begin_inset Note Note
30296 \begin_layout Plain Layout
30297 The following section will only be displayed when the \SpecialChar LaTeX
30310 \begin_layout Standard
30311 To place in \SpecialChar LyX
30312 the caption of a float on the side, it is necessary to add
30313 these commands to the document preamble:
30316 \begin_layout Standard
30318 \begin_inset CommandInset line
30329 \begin_layout Standard
30336 TabBesBeg}[1][1.0]{%
30337 \begin_inset Newline newline
30341 \begin_inset Phantom HPhantom
30344 \begin_layout Plain Layout
30345 \begin_inset space ~
30360 \begin_inset Newline newline
30364 \begin_inset Phantom HPhantom
30367 \begin_layout Plain Layout
30370 \begin_inset space ~
30385 \begin_inset Newline newline
30389 \begin_inset Phantom HPhantom
30392 \begin_layout Plain Layout
30395 \begin_inset space ~
30405 renewenvironment{table}[1]{
30407 begin{SCtable}[#1]##1}{
30412 \begin_layout Standard
30420 \begin_inset Newline newline
30424 \begin_inset Phantom HPhantom
30427 \begin_layout Plain Layout
30428 \begin_inset space ~
30443 \begin_inset Newline newline
30447 \begin_inset Phantom HPhantom
30450 \begin_layout Plain Layout
30451 \begin_inset space ~
30468 \begin_layout Standard
30475 FigBesBeg}[1][1.0]{%
30476 \begin_inset Newline newline
30480 \begin_inset Phantom HPhantom
30483 \begin_layout Plain Layout
30484 \begin_inset space ~
30499 \begin_inset Newline newline
30503 \begin_inset Phantom HPhantom
30506 \begin_layout Plain Layout
30507 \begin_inset space ~
30522 \begin_inset Newline newline
30526 \begin_inset Phantom HPhantom
30529 \begin_layout Plain Layout
30530 \begin_inset space ~
30540 renewenvironment{figure}[1]{
30542 begin{SCfigure}[#1]##1}{
30547 \begin_layout Standard
30555 \begin_inset Newline newline
30559 \begin_inset Phantom HPhantom
30562 \begin_layout Plain Layout
30563 \begin_inset space ~
30578 \begin_inset Newline newline
30582 \begin_inset Phantom HPhantom
30585 \begin_layout Plain Layout
30586 \begin_inset space ~
30603 \begin_layout Standard
30605 \begin_inset CommandInset line
30616 \begin_layout Standard
30617 The commands allow you to redefine the floats so that the caption is set
30619 For figure floats use the command
30622 \begin_layout Standard
30630 \begin_layout Standard
30631 in \SpecialChar TeX
30632 Code before the float.
30633 And insert the command
30636 \begin_layout Standard
30644 \begin_layout Standard
30645 in \SpecialChar TeX
30646 Code at the point where you want to get back to the original float definitio
30650 \begin_layout Standard
30651 For table floats use the corresponding commands
30654 \begin_layout Standard
30668 \begin_layout Standard
30670 \begin_inset space ~
30674 \begin_inset CommandInset ref
30676 reference "fig:cap-beside-fig"
30681 \begin_inset space ~
30685 \begin_inset CommandInset ref
30687 reference "tab:cap-beside-tab"
30691 are examples where the caption is set beside.
30694 \begin_layout Standard
30695 You can see in the examples that the caption text appears at the top of
30696 the floats for table floats and at the bottom for figure floats.
30697 To change this, you can use the command
30700 \begin_layout Standard
30705 sidecaptionvpos{float type}{placement}
30708 \begin_layout Standard
30709 in the document preamble or in \SpecialChar TeX
30710 Code before the float.
30711 The float type is either
30719 , the placement can be
30720 \begin_inset Quotes eld
30728 \begin_inset Quotes erd
30732 \begin_inset Quotes eld
30740 \begin_inset Quotes erd
30744 \begin_inset Quotes eld
30752 \begin_inset Quotes erd
30756 To have for example the caption of figure floats vertically centered, use
30760 \begin_layout Standard
30765 sidecaptionvpos{figure}{c}
30768 \begin_layout Standard
30769 This was used for Figure
30770 \begin_inset space ~
30774 \begin_inset CommandInset ref
30776 reference "fig:cap-beside-fig-2"
30783 \begin_layout Standard
30784 \begin_inset VSpace medskip
30790 \begin_layout Standard
30791 The default caption width is the width of the image/table.
30792 For thin image/tables, like in Table
30793 \begin_inset space ~
30797 \begin_inset CommandInset ref
30799 reference "tab:cap-beside-tab"
30803 , this leads to captions that are too thin.
30804 You can increase the width by specifying a factor that will be multiplied
30805 with the image/table width to get the caption width.
30806 The caption width will automatically be recalculated in case it would protrude
30807 over the page or column margin due to the specified width.
30812 can either be given as optional argument for
30821 \begin_layout Standard
30829 \begin_layout Standard
30830 or in the definition of
30840 with another value.
30841 If you do the latter, your factor will be the default if
30847 is used without an argument.
30849 \begin_inset space ~
30853 \begin_inset CommandInset ref
30855 reference "tab:cap-beside-tab-wider"
30859 the factor 5 was used.
30862 \begin_layout Standard
30863 \begin_inset Note Greyedout
30866 \begin_layout Plain Layout
30871 For floats with captions set beside, you cannot use the float placement
30875 \begin_inset space ~
30880 because it is not supported by
30892 \begin_layout Standard
30893 \begin_inset VSpace medskip
30896 For more information about the package
30900 we refer to its documentation
30901 \begin_inset CommandInset citation
30911 \begin_layout Standard
30912 \begin_inset Note Greyedout
30915 \begin_layout Plain Layout
30920 The \SpecialChar LaTeX
30926 \begin_inset Index idx
30929 \begin_layout Plain Layout
30936 , described in section
30937 \begin_inset space ~
30941 \begin_inset CommandInset ref
30943 reference "subsec:Reference-Position"
30947 , has no effect on floats with the caption set beside.
30955 \begin_layout Standard
30959 \begin_layout Plain Layout
30971 \begin_layout Standard
30972 \begin_inset Float figure
30979 \begin_layout Plain Layout
30980 \begin_inset Graphics
30981 filename clipart/3D-structure-distort.pdf
30983 scaleBeforeRotation
30990 \begin_layout Plain Layout
30991 \begin_inset Caption Standard
30993 \begin_layout Plain Layout
30994 \begin_inset CommandInset label
30996 name "fig:cap-beside-fig"
31000 This is a caption beside a figure.
31013 \begin_layout Standard
31017 \begin_layout Plain Layout
31029 \begin_layout Standard
31033 \begin_layout Plain Layout
31045 \begin_layout Standard
31046 \begin_inset Float table
31053 \begin_layout Plain Layout
31054 \begin_inset Caption Standard
31056 \begin_layout Plain Layout
31057 \begin_inset CommandInset label
31059 name "tab:cap-beside-tab"
31063 This is a caption beside a table.
31071 \begin_layout Plain Layout
31072 \begin_inset Tabular
31073 <lyxtabular version="3" rows="4" columns="5">
31074 <features tabularvalignment="middle">
31075 <column alignment="center" valignment="top">
31076 <column alignment="center" valignment="top">
31077 <column alignment="center" valignment="top">
31078 <column alignment="center" valignment="top">
31079 <column alignment="center" valignment="top">
31081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31084 \begin_layout Plain Layout
31090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31093 \begin_layout Plain Layout
31099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31102 \begin_layout Plain Layout
31108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31111 \begin_layout Plain Layout
31117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31120 \begin_layout Plain Layout
31128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31131 \begin_layout Plain Layout
31137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31140 \begin_layout Plain Layout
31146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31149 \begin_layout Plain Layout
31155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31158 \begin_layout Plain Layout
31164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31167 \begin_layout Plain Layout
31175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31178 \begin_layout Plain Layout
31184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31187 \begin_layout Plain Layout
31193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31196 \begin_layout Plain Layout
31202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31205 \begin_layout Plain Layout
31211 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31214 \begin_layout Plain Layout
31222 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31225 \begin_layout Plain Layout
31231 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31234 \begin_layout Plain Layout
31240 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31243 \begin_layout Plain Layout
31249 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31252 \begin_layout Plain Layout
31258 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31261 \begin_layout Plain Layout
31280 \begin_layout Standard
31284 \begin_layout Plain Layout
31296 \begin_layout Standard
31300 \begin_layout Plain Layout
31313 \begin_layout Plain Layout
31317 sidecaptionvpos{figure}{c}
31323 \begin_inset Float figure
31330 \begin_layout Plain Layout
31331 \begin_inset Graphics
31332 filename clipart/3D-structure-distort.pdf
31334 scaleBeforeRotation
31341 \begin_layout Plain Layout
31342 \begin_inset Caption Standard
31344 \begin_layout Plain Layout
31345 \begin_inset CommandInset label
31347 name "fig:cap-beside-fig-2"
31351 This is a vertically centered caption beside a figure.
31364 \begin_layout Standard
31368 \begin_layout Plain Layout
31380 \begin_layout Standard
31384 \begin_layout Plain Layout
31396 \begin_layout Standard
31397 \begin_inset Float table
31404 \begin_layout Plain Layout
31405 \begin_inset Caption Standard
31407 \begin_layout Plain Layout
31408 \begin_inset CommandInset label
31410 name "tab:cap-beside-tab-wider"
31414 This caption is wider than the one in Table
31415 \begin_inset space ~
31419 \begin_inset CommandInset ref
31421 reference "tab:cap-beside-tab"
31433 \begin_layout Plain Layout
31434 \begin_inset Tabular
31435 <lyxtabular version="3" rows="4" columns="5">
31436 <features tabularvalignment="middle">
31437 <column alignment="center" valignment="top">
31438 <column alignment="center" valignment="top">
31439 <column alignment="center" valignment="top">
31440 <column alignment="center" valignment="top">
31441 <column alignment="center" valignment="top">
31443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31446 \begin_layout Plain Layout
31452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31455 \begin_layout Plain Layout
31461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31464 \begin_layout Plain Layout
31470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31473 \begin_layout Plain Layout
31479 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31482 \begin_layout Plain Layout
31490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31493 \begin_layout Plain Layout
31499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31502 \begin_layout Plain Layout
31508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31511 \begin_layout Plain Layout
31517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31520 \begin_layout Plain Layout
31526 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31529 \begin_layout Plain Layout
31537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31540 \begin_layout Plain Layout
31546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31549 \begin_layout Plain Layout
31555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31558 \begin_layout Plain Layout
31564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31567 \begin_layout Plain Layout
31573 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31576 \begin_layout Plain Layout
31584 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31587 \begin_layout Plain Layout
31593 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31596 \begin_layout Plain Layout
31602 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31605 \begin_layout Plain Layout
31611 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31614 \begin_layout Plain Layout
31620 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31623 \begin_layout Plain Layout
31642 \begin_layout Standard
31646 \begin_layout Plain Layout
31658 \begin_layout Standard
31662 \begin_layout Plain Layout
31672 \begin_inset Note Note
31675 \begin_layout Plain Layout
31676 The following will be displayed when the \SpecialChar LaTeX
31689 \begin_layout Standard
31690 You need to install the \SpecialChar LaTeX
31695 to see the following part of this section in the output.
31698 \begin_layout Standard
31702 \begin_layout Plain Layout
31714 \begin_layout Section
31716 \begin_inset Index idx
31719 \begin_layout Plain Layout
31720 Floats ! Float Lists
31728 \begin_layout Standard
31729 Similar to the table of contents where the sections of the document are
31730 listed, there are listings for all float types, like the figures of the
31732 You can insert them via the
31734 Insert\SpecialChar menuseparator
31736 \begin_inset space ~
31740 \begin_inset space ~
31748 \begin_layout Standard
31749 The list entries are the float captions or its short title, the float number,
31750 and the page number where they appear in the document.
31753 \begin_layout Standard
31754 You can find the list of figures and tables at the end of this document.
31757 \begin_layout Chapter
31761 \begin_layout Section
31764 \begin_inset Index idx
31767 \begin_layout Plain Layout
31768 Notes ! \SpecialChar LyX
31777 \begin_layout Standard
31778 Notes are inserted with the toolbar button
31786 Insert\SpecialChar menuseparator
31790 There are three types of notes:
31793 \begin_layout Description
31796 \begin_inset space ~
31799 Note This note type is for internal notes that won't appear in the output.
31800 Its note-box looks like this:
31801 \begin_inset Newline newline
31805 \begin_inset Newline newline
31809 \begin_inset Graphics
31810 filename clipart/LyXNoteImage.png
31812 scaleBeforeRotation
31817 \begin_inset Note Note
31820 \begin_layout Plain Layout
31821 This is text in a note box that doesn't appear in the output.
31829 \begin_layout Description
31830 Comment This note also doesn't appear in the output but it appears as \SpecialChar LaTeX
31832 when you export the document to \SpecialChar LaTeX
31835 File\SpecialChar menuseparator
31836 Export\SpecialChar menuseparator
31838 \begin_inset space ~
31841 (pdflatex) / (plain)
31844 Its note-box looks like this:
31845 \begin_inset Newline newline
31849 \begin_inset Newline newline
31853 \begin_inset Graphics
31854 filename clipart/CommentNoteImage.png
31856 scaleBeforeRotation
31861 \begin_inset Note Comment
31864 \begin_layout Plain Layout
31865 This is text in a note box that only appears as comment in \SpecialChar LaTeX
31874 \begin_layout Description
31876 \begin_inset space ~
31879 Out This note will appear in the output as grey text.
31880 Its note-box looks like this:
31881 \begin_inset Newline newline
31885 \begin_inset Newline newline
31889 \begin_inset Graphics
31890 filename clipart/GreyedOutNoteImage.png
31892 scaleBeforeRotation
31897 \begin_inset Newline newline
31904 \begin_layout Plain Layout
31908 renewenvironment{lyxgreyedout}
31911 \begin_layout Plain Layout
31915 textcolor[gray]{0.8}
31925 \begin_inset Note Greyedout
31928 \begin_layout Plain Layout
31929 This is text of a comment that appears grey in the output.
31938 \begin_layout Plain Layout
31942 renewenvironment{lyxgreyedout}
31945 \begin_layout Plain Layout
31959 \begin_inset Note Note
31962 \begin_layout Plain Layout
31963 The greyed out note is here redefined to show it with the original \SpecialChar LyX
31965 because greyed out notes are redefined in the preamble of this document,
31966 as described below, to have blue text.
31972 \begin_inset Newline newline
31976 \begin_inset Newline newline
31979 As you can see in the example, the first line of greyed out notes is a bit
31980 indented and greyed out notes can have footnotes.
31983 \begin_layout Standard
31984 \begin_inset VSpace bigskip
31987 When you use the toolbar button
31997 \begin_inset space ~
32003 You can switch between the three note types by right-clicking on the note-box.
32008 If you want to turn existing text into a note, mark it and click on the
32022 To change a note to text, press the backspace key when the cursor is in
32023 the first position of a note, or press the delete key when the cursor is
32024 in the very last position of the note, respectively.
32027 \begin_layout Standard
32028 \begin_inset VSpace bigskip
32031 You can change the text color of the greyed out notes in the menu
32033 Document\SpecialChar menuseparator
32034 Settings\SpecialChar menuseparator
32040 \begin_layout Section
32042 \begin_inset CommandInset label
32044 name "sec:Footnotes"
32049 \begin_inset Index idx
32052 \begin_layout Plain Layout
32059 \begin_inset Index idx
32062 \begin_layout Plain Layout
32071 \begin_layout Standard
32072 Footnotes can be inserted using the toolbar button
32075 arg "footnote-insert"
32080 Insert\SpecialChar menuseparator
32084 You will then see the following footnote-box:
32085 \begin_inset Graphics
32086 filename clipart/footnote.png
32088 scaleBeforeRotation
32096 where you can enter the footnote text.
32097 If you want to turn existing text into a footnote, mark it and click on
32123 key when the cursor is in the first position of a
32135 key when the cursor is in the very last position of the
32146 \begin_layout Standard
32147 Here is an example footnote:
32155 \begin_layout Plain Layout
32156 \begin_inset CommandInset label
32158 name "foot:This-is-an"
32162 This is an example footnote.
32175 \begin_layout Plain Layout
32179 newcounter{MyRepeatFoot}
32182 \begin_layout Plain Layout
32186 setcounter{MyRepeatFoot}{
32196 \begin_layout Standard
32197 The footnote will appear in the output as a superscript number at the text
32198 position where the footnote box is placed.
32199 The footnote text is placed at the bottom of the current page.
32200 The footnote number is calculated by \SpecialChar LaTeX
32201 ; the numbers are consecutive.
32202 Whether the footnote number is reset for every chapter depends on your
32206 \begin_layout Standard
32207 Footnotes can be referenced like floats: Insert a label into the footnote
32208 and cross-reference this label in the text as described in section
32209 \begin_inset space ~
32213 \begin_inset CommandInset ref
32215 reference "sec:Referencing-Floats"
32220 \begin_inset Newline newline
32223 This is a cross-reference of Footnote
32224 \begin_inset space ~
32228 \begin_inset CommandInset ref
32230 reference "foot:This-is-an"
32237 \begin_layout Standard
32238 \begin_inset VSpace defskip
32241 Footnotes in title environments are usually not numbered with symbols and
32242 they cannot contain several paragraphs.
32243 See for example the footnote in the titling of this document.
32246 \begin_layout Standard
32247 Footnotes in multi-page tables are described in section
32248 \begin_inset space ~
32252 \begin_inset CommandInset ref
32254 reference "subsec:Footnotes-in-Multi-page"
32261 \begin_layout Standard
32262 \begin_inset VSpace defskip
32268 \begin_layout Standard
32269 Footnotes in minipage boxes are printed, but inside the box and with a different
32270 numbering because a minipage box is like a page inside a page.
32271 (For more about minipages, see section
32272 \begin_inset space ~
32276 \begin_inset CommandInset ref
32278 reference "sec:Minipages"
32282 .) To get a footnote in the minipage that is output at the bottom of the
32283 page like normal footnotes use this method: Instead of the footnote the
32290 is inserted as \SpecialChar TeX
32292 The text of the footnote is entered as an argument of the \SpecialChar TeX
32300 after the minipage.
32301 \begin_inset Newline newline
32304 This was done for the following minipage with the command
32307 \begin_layout Standard
32314 Footnote outside the minipage.
32319 \begin_layout Standard
32320 \begin_inset Box Frameless
32330 height_special "totalheight"
32335 backgroundcolor "none"
32338 \begin_layout Plain Layout
32339 This an example text in a minipage.
32343 \begin_layout Plain Layout
32344 Footnote in the minipage.
32352 \begin_layout Plain Layout
32353 This an example text in a minipage.
32357 \begin_layout Plain Layout
32374 \begin_layout Standard
32378 \begin_layout Plain Layout
32387 Footnote outside the minipage.
32391 \begin_layout Plain Layout
32401 \begin_layout Standard
32402 \begin_inset VSpace defskip
32408 \begin_layout Standard
32409 To refer to the same footnote several times without printing the footnote
32410 text every time, use the command
32414 footnotemark[number]
32416 in \SpecialChar TeX
32418 \begin_inset Newline newline
32421 As you do not know the number of the repeating footnote while you are writing
32422 the text, you have to store its number.
32423 For the following footnote mark example, these commands were inserted in
32425 code after Footnote
32426 \begin_inset space ~
32430 \begin_inset CommandInset ref
32432 reference "foot:This-is-an"
32436 to store the footnote number:
32439 \begin_layout Standard
32444 newcounter{MyRepeatFoot}
32445 \begin_inset Newline newline
32450 setcounter{MyRepeatFoot}{
32455 \begin_layout Standard
32456 The footnote mark was then created with this command:
32459 \begin_layout Standard
32469 \begin_layout Standard
32470 Here is a repeated footnote:
32478 \begin_layout Plain Layout
32492 \begin_layout Standard
32493 If you want to repeat the previous footnote, you can omit the storage of
32494 the footnote number and just use this command instead:
32497 \begin_layout Standard
32507 \begin_layout Standard
32508 Here is another repeated footnote:
32516 \begin_layout Plain Layout
32530 \begin_layout Subsection
32532 \begin_inset CommandInset label
32534 name "subsec:Footnote-Numbering"
32539 \begin_inset Index idx
32542 \begin_layout Plain Layout
32543 Footnotes ! Numbering
32551 \begin_layout Standard
32552 To reset the footnote number back to 1 after each section
32554 , add this command to your document preamble:
32557 \begin_layout Standard
32562 @addtoreset{footnote}{section}
32565 \begin_layout Standard
32566 \begin_inset VSpace bigskip
32569 The following preamble command changes the footnote numbering style to small
32573 \begin_layout Standard
32585 \begin_layout Standard
32589 \begin_layout Plain Layout
32602 This is a footnote with roman numbering:
32606 \begin_layout Plain Layout
32607 This is an example footnote with roman numbering.
32615 \begin_layout Standard
32616 To change the numbering style to capital roman numerals replace in the command
32631 \begin_inset Quotes eld
32635 \begin_inset Quotes erd
32638 footnotes with capital or small Latin letters use
32652 \begin_inset Quotes eld
32656 \begin_inset Quotes erd
32659 footnotes with symbols use
32668 \begin_layout Standard
32669 \begin_inset Note Greyedout
32672 \begin_layout Plain Layout
32677 You can only number 26 footnotes with Latin letters, because this numbering
32678 is limited to single letters.
32684 \begin_inset Newline newline
32688 \begin_inset Note Greyedout
32691 \begin_layout Plain Layout
32696 You can only number 9 footnotes with symbols.
32704 \begin_layout Standard
32705 To return to the default numbering style after you have changed to another
32718 in the command above.
32722 \begin_layout Plain Layout
32738 \begin_layout Standard
32739 \begin_inset VSpace bigskip
32745 \begin_layout Standard
32746 If you want to have footnotes numbered in the scheme
32747 \begin_inset Quotes eld
32751 \begin_inset Quotes erd
32754 , add the following command to your document preamble:
32757 \begin_layout Standard
32762 numberwithin{footnote}{chapter}
32765 \begin_layout Standard
32766 To be able to use the command
32775 \begin_inset space ~
32780 in the document settings the option
32783 \begin_inset space ~
32787 \begin_inset space ~
32791 \begin_inset space ~
32799 \begin_layout Standard
32803 \begin_layout Plain Layout
32807 numberwithin{footnote}{chapter}
32812 This is another example footnote:
32818 \begin_layout Plain Layout
32819 This is a footnote numbered in the scheme
32820 \begin_inset Quotes eld
32824 \begin_inset Quotes erd
32838 \begin_layout Plain Layout
32854 \begin_layout Standard
32855 \begin_inset Note Greyedout
32858 \begin_layout Plain Layout
32869 always prints out the footnote number as arabic number; previous redefinitions
32870 to get non-arabic numbers are overwritten.
32878 \begin_layout Standard
32879 So to get for example the scheme
32880 \begin_inset Quotes eld
32886 \begin_inset Quotes erd
32889 , use this command instead of
32898 \begin_layout Standard
32912 \begin_layout Subsection
32914 \begin_inset Index idx
32917 \begin_layout Plain Layout
32918 Footnotes ! Placement
32926 \begin_layout Standard
32927 If you have several footnotes in one page, they appear without vertical
32928 space between them at the bottom of the page.
32929 To make them more readable you can e.
32930 \begin_inset space \thinspace{}
32934 \begin_inset space \space{}
32938 \begin_inset space \thinspace{}
32941 mm space with the following preamble command:
32944 \begin_layout Standard
32954 \begin_inset Newline newline
32968 \begin_layout Standard
32969 \begin_inset VSpace bigskip
32972 In a two-column document the footnotes appear at the bottom of every column,
32974 \begin_inset space ~
32978 \begin_inset CommandInset ref
32980 reference "fig:Standard-footnote-placement"
32985 If the footnotes should only appear at the bottom of the right column,
32987 \begin_inset space ~
32991 \begin_inset CommandInset ref
32993 reference "fig:Footnote-placement-in"
32997 , use the \SpecialChar LaTeX
33003 \begin_inset Index idx
33006 \begin_layout Plain Layout
33008 -packages ! ftnright
33013 with this command in the document preamble:
33016 \begin_layout Standard
33021 usepackage{ftnright}
33024 \begin_layout Standard
33025 \begin_inset Float figure
33032 \begin_layout Plain Layout
33035 \begin_inset Box Boxed
33045 height_special "totalheight"
33050 backgroundcolor "none"
33053 \begin_layout Plain Layout
33054 \begin_inset Graphics
33055 filename clipart/without_fntright.pdf
33057 scaleBeforeRotation
33069 \begin_layout Plain Layout
33070 \begin_inset Caption Standard
33072 \begin_layout Plain Layout
33073 \begin_inset CommandInset label
33075 name "fig:Standard-footnote-placement"
33079 Standard footnote placement in two-column documents.
33092 \begin_layout Standard
33093 \begin_inset Float figure
33100 \begin_layout Plain Layout
33103 \begin_inset Box Boxed
33113 height_special "totalheight"
33118 backgroundcolor "none"
33121 \begin_layout Plain Layout
33122 \begin_inset Graphics
33123 filename clipart/with_fntright.pdf
33125 scaleBeforeRotation
33137 \begin_layout Plain Layout
33138 \begin_inset Caption Standard
33140 \begin_layout Plain Layout
33141 \begin_inset CommandInset label
33143 name "fig:Footnote-placement-in"
33147 Footnote placement in two-column documents when the \SpecialChar LaTeX
33165 \begin_layout Standard
33166 \begin_inset VSpace bigskip
33169 In some scientific literature it is usual to collect the footnotes and print
33170 them in a separate paragraph at the end of a section, as in Figure
33171 \begin_inset space ~
33175 \begin_inset CommandInset ref
33177 reference "fig:Endnotes"
33182 They are then called
33183 \begin_inset Quotes eld
33187 \begin_inset Quotes erd
33191 \begin_inset Index idx
33194 \begin_layout Plain Layout
33200 To use endnotes instead of footnotes in your document, load in the menu
33203 Document\SpecialChar menuseparator
33204 Settings\SpecialChar menuseparator
33210 \begin_inset space ~
33214 \begin_inset space ~
33220 To insert the collected footnotes, insert the command
33223 \begin_layout Standard
33231 \begin_layout Standard
33232 in \SpecialChar TeX
33233 Code at the end of a section or chapter.
33236 \begin_layout Standard
33237 \begin_inset Float figure
33244 \begin_layout Plain Layout
33247 \begin_inset Box Boxed
33257 height_special "totalheight"
33262 backgroundcolor "none"
33265 \begin_layout Plain Layout
33266 \begin_inset Graphics
33267 filename clipart/endnotes.pdf
33269 scaleBeforeRotation
33281 \begin_layout Plain Layout
33282 \begin_inset Caption Standard
33284 \begin_layout Plain Layout
33285 \begin_inset CommandInset label
33287 name "fig:Endnotes"
33291 Endnotes – footnotes are printed in a separate paragraph at the end of sections
33305 \begin_layout Standard
33306 \begin_inset VSpace medskip
33309 The paragraph heading for the endnotes isn't automatically translated into
33310 the document language, this must be done manually.
33311 The following preamble command translates the default English
33312 \begin_inset Quotes eld
33316 \begin_inset Quotes erd
33320 \begin_inset Quotes eld
33324 \begin_inset Quotes erd
33330 \begin_layout Standard
33337 notesname}{Anmerkungen}
33340 \begin_layout Standard
33341 \begin_inset VSpace medskip
33344 The numbering of endnotes can be changed like the footnote numbering as
33345 described in section
33346 \begin_inset space ~
33350 \begin_inset CommandInset ref
33352 reference "subsec:Footnote-Numbering"
33356 ; just replace the command
33369 To reset the endnote number use the command
33375 as described in section
33376 \begin_inset space ~
33380 \begin_inset CommandInset ref
33382 reference "subsec:Footnote-Numbering"
33386 and replace the command parameter
33397 \begin_layout Standard
33398 For endnotes there is the command
33402 endnotemark[number]
33404 similar to the command
33410 , that is described in section
33411 \begin_inset space ~
33415 \begin_inset CommandInset ref
33417 reference "sec:Footnotes"
33424 \begin_layout Standard
33425 \begin_inset VSpace bigskip
33428 Footnotes can also be placed in the page margin and the footnote text alignment
33429 can be changed, see the \SpecialChar LaTeX
33435 \begin_inset Index idx
33438 \begin_layout Plain Layout
33440 -packages ! footmisc
33446 \begin_inset CommandInset citation
33453 for more information about this.
33456 \begin_layout Standard
33457 For various further footnote formatting issues have a look at \SpecialChar LaTeX
33459 \begin_inset CommandInset citation
33461 key "latexcompanion,latexguide,latexbook"
33472 \begin_inset Index idx
33475 \begin_layout Plain Layout
33477 -packages ! KOMA-Script
33482 document class, you can adjust all footnote settings using class-specific
33484 \begin_inset CommandInset citation
33494 \begin_layout Section
33496 \begin_inset Index idx
33499 \begin_layout Plain Layout
33500 Notes ! Margin Notes
33508 \begin_layout Standard
33509 Margin notes look and behave in \SpecialChar LyX
33511 They are inserted via the menu
33513 Insert\SpecialChar menuseparator
33515 \begin_inset space ~
33520 or the toolbar button
33523 arg "marginalnote-insert"
33537 \begin_inset Quotes eld
33541 \begin_inset Quotes erd
33544 appears where you can enter the text of the margin note.
33547 \begin_layout Standard
33548 At the side is an example margin note.
33553 \begin_inset Marginal
33556 \begin_layout Plain Layout
33557 This is a margin note.
33565 \begin_layout Standard
33566 Margin notes appear at the right side in single-sided documents.
33567 In double-sided documents they appear in the outer margin – left on even
33568 pages, right on odd pages.
33569 The text of margin notes is aligned opposite to the outer margin – right-aligne
33570 d when the note appears in the left margin.
33571 The first line of the margin note is placed at the position of the text
33572 line where it is inserted in the document.
33575 \begin_layout Standard
33576 \begin_inset VSpace bigskip
33579 To place the margin note in the inner margin, add the command
33582 \begin_layout Standard
33590 \begin_layout Standard
33591 in \SpecialChar TeX
33592 Code before a margin note.
33593 The new placement is valid for all subsequent margin notes.
33598 \begin_layout Plain Layout
33608 \begin_inset Marginal
33611 \begin_layout Plain Layout
33612 This is a margin note in the inner margin.
33620 \begin_inset Newline newline
33626 \begin_inset Note Greyedout
33629 \begin_layout Plain Layout
33634 There is often not enough space in the inner margin so that the notes are
33635 not correctly displayed in the output.
33643 \begin_layout Standard
33644 To return to the default placement insert the command
33647 \begin_layout Standard
33655 \begin_layout Standard
33656 in \SpecialChar TeX
33661 \begin_layout Plain Layout
33671 \begin_inset Note Greyedout
33674 \begin_layout Plain Layout
33679 The command is ignored when it is within a paragraph where also the command
33694 \begin_layout Standard
33695 \begin_inset VSpace bigskip
33702 \begin_inset Marginal
33705 \begin_layout Plain Layout
33706 AVeryLongMarginParWord that isn't hyphenated.
33714 Similar to the case described in section
33715 \begin_inset space ~
33719 \begin_inset CommandInset ref
33721 reference "subsec:Multiple-Lines-in"
33725 , long words cannot be hyphenated when they are the first word in a margin
33727 To avoid this, insert 0
33728 \begin_inset space \thinspace{}
33731 pt horizontal space before the word
33736 \begin_inset Marginal
33739 \begin_layout Plain Layout
33740 \begin_inset space \hspace*{}
33744 AVeryLongMarginParWord that is hyphenated.
33752 \begin_layout Standard
33753 \begin_inset VSpace bigskip
33759 \begin_layout Standard
33760 \begin_inset Note Greyedout
33763 \begin_layout Plain Layout
33768 Margin notes can normally not be used inside tables, floats, and footnotes.
33776 \begin_layout Standard
33777 \begin_inset VSpace bigskip
33783 \begin_layout Standard
33787 \begin_layout Plain Layout
33797 \begin_inset Note Note
33800 \begin_layout Plain Layout
33801 The following section will only be displayed when the \SpecialChar LaTeX
33814 \begin_layout Standard
33815 This restriction can be evaded by using the \SpecialChar LaTeX
33821 \begin_inset Index idx
33824 \begin_layout Plain Layout
33826 -packages ! marginnote
33832 By adding these two lines to your document preamble, the command used by
33834 for margin notes is redefined to use the command provided by the
33841 \begin_layout Standard
33846 usepackage{marginnote}
33847 \begin_inset Newline newline
33859 \begin_layout Standard
33860 This is also used in this document because
33864 has another useful feature: You can set a vertical offset for the note.
33865 This is often needed when too many margin notes are too close together
33866 or for a better page layout.
33867 The offset is set in \SpecialChar LyX
33868 as \SpecialChar TeX
33869 Code directly after the margin note in the scheme
33872 \begin_layout Standard
33878 \begin_layout Standard
33879 where the offset is a length with one of the units listed in Table
33880 \begin_inset space ~
33884 \begin_inset CommandInset ref
33886 reference "tab:Units"
33891 A negative value shifts the note up, a positive value shifts it down.
33895 For example the margin note beside this text line is shifted up 1.5
33896 \begin_inset space \thinspace{}
33899 cm with the \SpecialChar TeX
33901 \begin_inset Quotes eld
33911 \begin_inset Quotes erd
33915 \begin_inset Marginal
33918 \begin_layout Plain Layout
33919 This margin note is shifted up 1.5
33920 \begin_inset space \thinspace{}
33923 cm from its original position.
33935 \begin_layout Plain Layout
33945 \begin_layout Standard
33946 \begin_inset VSpace medskip
33953 you can also change the alignment of the text in the margin note.
33954 For example the commands
33957 \begin_layout Standard
33964 raggedleftmarginnote}{
33967 \begin_inset Newline newline
33974 raggedrightmarginnote}{
33979 \begin_layout Standard
33980 set the alignment to centered.
33985 raggedleftmarginnote
33987 denotes margin notes that appear at the left side.
33994 \begin_layout Plain Layout
34000 raggedleftmarginnote}{
34005 \begin_layout Plain Layout
34011 raggedrightmarginnote}{
34019 \begin_inset Marginal
34022 \begin_layout Plain Layout
34023 The text of this margin note is centered.
34034 \begin_layout Standard
34041 raggedleftmarginnote}{
34044 \begin_inset Newline newline
34051 raggedrightmarginnote}{
34060 \begin_layout Plain Layout
34066 raggedleftmarginnote}{
34071 \begin_layout Plain Layout
34077 raggedrightmarginnote}{
34087 \begin_layout Standard
34088 \begin_inset VSpace medskip
34091 For the other features of
34095 refer to its documentation
34096 \begin_inset CommandInset citation
34106 \begin_layout Standard
34107 \begin_inset VSpace bigskip
34110 You can adjust the layout of margin notes by changing its definition.
34111 To create for example a header for all margin notes with the underlined,
34112 sans-serif, and bold header text
34113 \begin_inset Quotes eld
34125 \begin_inset Quotes erd
34128 , add this to your document preamble:
34131 \begin_layout Standard
34141 \begin_inset Newline newline
34151 \begin_inset Newline newline
34155 \begin_inset Phantom HPhantom
34158 \begin_layout Plain Layout
34161 \begin_inset space ~
34177 underbar{Attention!}}}%
34178 \begin_inset Newline newline
34182 \begin_inset Phantom HPhantom
34185 \begin_layout Plain Layout
34188 \begin_inset space ~
34205 \begin_layout Standard
34212 \begin_layout Plain Layout
34223 \begin_layout Plain Layout
34234 \begin_layout Plain Layout
34242 underbar{Attention!}}}%
34245 \begin_layout Plain Layout
34259 \begin_inset Marginal
34262 \begin_layout Plain Layout
34263 This is a margin note with a defined heading.
34275 \begin_layout Plain Layout
34289 \begin_layout Plain Layout
34306 \begin_inset Note Note
34309 \begin_layout Plain Layout
34310 The margin note format is changed only for this example.
34318 \begin_layout Standard
34322 \begin_layout Plain Layout
34332 \begin_inset Note Note
34335 \begin_layout Plain Layout
34336 The following will be displayed when the \SpecialChar LaTeX
34349 \begin_layout Standard
34350 You need to install the \SpecialChar LaTeX
34355 to see the following part of this section in the output.
34358 \begin_layout Standard
34362 \begin_layout Plain Layout
34374 \begin_layout Chapter
34378 \begin_layout Section
34380 \begin_inset Index idx
34383 \begin_layout Plain Layout
34384 Boxes ! Introduction
34392 \begin_layout Standard
34393 Boxes are used to format a block of text.
34394 Boxes can be used to write documents with multiple languages, see section
34395 \begin_inset space ~
34399 \begin_inset CommandInset ref
34401 reference "sec:Minipages"
34405 , to frame texts, see section
34406 \begin_inset space ~
34410 \begin_inset CommandInset ref
34412 reference "sec:Decoration"
34416 , to prevent words from being hyphenated, see section
34417 \begin_inset space ~
34421 \begin_inset CommandInset ref
34423 reference "sec:Prevent-Hyphenation"
34427 , to align text, see section
34428 \begin_inset space ~
34432 \begin_inset CommandInset ref
34434 reference "subsec:Vertical-Alignment"
34438 , or to set the background color of texts, see section
34439 \begin_inset space ~
34443 \begin_inset CommandInset ref
34445 reference "sec:Colored-Boxes"
34452 \begin_layout Standard
34453 Boxes can be inserted with the menu
34455 Insert\SpecialChar menuseparator
34458 or the toolbar button
34461 arg "box-insert Frameless"
34465 A grey box with the label
34470 \begin_inset Graphics
34471 filename clipart/BoxInsetDefault.png
34473 scaleBeforeRotation
34478 The box type can be specified by right-clicking on the box and selecting
34484 The box dialog offers the
34487 \begin_inset space ~
34509 is the default for new boxes and is explained in section
34510 \begin_inset space ~
34514 \begin_inset CommandInset ref
34516 reference "sec:Minipages"
34524 is described in section
34525 \begin_inset space ~
34529 \begin_inset CommandInset ref
34531 reference "sec:Parboxes"
34540 \begin_inset CommandInset ref
34542 reference "sec:Prevent-Hyphenation"
34549 \begin_layout Standard
34550 Boxes are not numbered and can therefore not be referenced like floats or
34554 \begin_layout Standard
34555 \begin_inset Note Greyedout
34558 \begin_layout Plain Layout
34563 Boxes must not be the item in an
34579 \begin_layout Standard
34580 \begin_inset Note Greyedout
34583 \begin_layout Plain Layout
34588 For an unknown reason you can only set the
34591 \begin_inset space ~
34600 when you use a framed box.
34604 \begin_inset space ~
34609 type and without frames are explained in section
34610 \begin_inset space ~
34614 \begin_inset CommandInset ref
34616 reference "sec:Prevent-Hyphenation"
34628 \begin_layout Section
34630 \begin_inset CommandInset label
34632 name "sec:Box-Dialog"
34637 \begin_inset Index idx
34640 \begin_layout Plain Layout
34649 \begin_layout Subsection
34651 \begin_inset Index idx
34654 \begin_layout Plain Layout
34663 \begin_layout Standard
34664 In the box dialog you can adjust the box geometry in the fields
34673 The available units for the geometry are explained in Table
34674 \begin_inset space ~
34678 \begin_inset CommandInset ref
34680 reference "tab:Units"
34689 offers the following additional sizes:
34692 \begin_layout Description
34693 Depth This is the plain text
34694 \begin_inset Quotes eld
34698 \begin_inset Quotes erd
34702 It ignores the total depth when there are multiple text lines in the box:
34703 \begin_inset Newline newline
34707 \begin_inset Newline newline
34711 \begin_inset Newline newline
34715 \begin_inset Box Boxed
34725 height_special "depth"
34730 backgroundcolor "none"
34733 \begin_layout Plain Layout
34735 Box height set to 1
34736 \begin_inset space \thinspace{}
34745 \begin_inset Newline newline
34749 \begin_inset Newline newline
34755 \begin_layout Description
34756 Height This is the height of the text that is inside the box.
34758 \begin_inset space \thinspace{}
34762 \begin_inset space \space{}
34765 2 for this size will set the box height to 2
34766 \begin_inset space ~
34769 times the text height:
34770 \begin_inset Box Boxed
34780 height_special "height"
34785 backgroundcolor "none"
34788 \begin_layout Plain Layout
34790 Box height set to 2
34791 \begin_inset space \thinspace{}
34802 \begin_layout Description
34804 \begin_inset space ~
34807 Height This is the Height
34808 \begin_inset space \thinspace{}
34812 \begin_inset space \thinspace{}
34816 \begin_inset Box Boxed
34826 height_special "totalheight"
34831 backgroundcolor "none"
34834 \begin_layout Plain Layout
34836 Box height set to 1
34837 \begin_inset space \thinspace{}
34841 \begin_inset space ~
34852 \begin_layout Description
34853 Width This sets the width of the box as height:
34854 \begin_inset Box Boxed
34864 height_special "width"
34869 backgroundcolor "none"
34872 \begin_layout Plain Layout
34874 Box height set to 1
34875 \begin_inset space \thinspace{}
34886 \begin_layout Subsection
34888 \begin_inset Index idx
34891 \begin_layout Plain Layout
34900 \begin_layout Standard
34901 When you have chosen an
34904 \begin_inset space ~
34909 , the vertical box alignment can be:
34912 \begin_layout Description
34913 Top This is an example text line.
34915 \begin_inset Box Boxed
34925 height_special "totalheight"
34930 backgroundcolor "none"
34933 \begin_layout Plain Layout
34935 This box is top-aligned.
34940 This is an example text line.
34943 \begin_layout Description
34944 Middle This is an example text line.
34946 \begin_inset Box Boxed
34956 height_special "totalheight"
34961 backgroundcolor "none"
34964 \begin_layout Plain Layout
34966 This box is middle-aligned.
34971 This is an example text line.
34974 \begin_layout Description
34975 Bottom This is an example text line.
34977 \begin_inset Box Boxed
34987 height_special "totalheight"
34992 backgroundcolor "none"
34995 \begin_layout Plain Layout
34997 This box is bottom-aligned.
35002 This is an example text line.
35005 \begin_layout Standard
35006 \begin_inset Note Greyedout
35009 \begin_layout Plain Layout
35014 The vertical box alignment can be lost in the output when you have two
35015 boxes in a line and one has e.
35016 \begin_inset space \thinspace{}
35020 \begin_inset space \space{}
35023 a shadow and the other one not.
35031 \begin_layout Standard
35032 The horizontal box alignment can be set via \SpecialChar LyX
35033 's paragraph dialog when you
35034 set the box into its own paragraph.
35037 \begin_layout Standard
35038 \begin_inset VSpace bigskip
35041 When you have chosen an
35044 \begin_inset space ~
35049 , the box content can be aligned vertically to:
35052 \begin_layout Description
35053 top This is an example text line.
35055 \begin_inset Box Boxed
35065 height_special "totalheight"
35070 backgroundcolor "none"
35073 \begin_layout Plain Layout
35075 This box text is top-aligned.
35080 This is an example text line.
35083 \begin_layout Description
35084 middle This is an example text line.
35086 \begin_inset Box Boxed
35096 height_special "totalheight"
35101 backgroundcolor "none"
35104 \begin_layout Plain Layout
35106 This box text is middle-aligned.
35111 This is an example text line.
35114 \begin_layout Description
35115 bottom This is an example text line.
35117 \begin_inset Box Boxed
35127 height_special "totalheight"
35132 backgroundcolor "none"
35135 \begin_layout Plain Layout
35137 This box text is bottom-aligned.
35142 This is an example text line.
35145 \begin_layout Description
35146 stretch This is an example text line.
35148 \begin_inset Box Boxed
35158 height_special "totalheight"
35163 backgroundcolor "none"
35166 \begin_layout Plain Layout
35171 \begin_layout Plain Layout
35176 \begin_layout Plain Layout
35183 This is an example text line.
35186 \begin_layout Standard
35187 To stretch the box content, it must consist of more than one paragraph.
35188 In the example above every text line is in an own paragraph.
35191 \begin_layout Standard
35192 \begin_inset VSpace bigskip
35195 To align the box content horizontally you can use \SpecialChar LyX
35196 's paragraph dialog when
35200 \begin_inset space ~
35208 \begin_layout Standard
35210 \begin_inset Box Boxed
35220 height_special "totalheight"
35225 backgroundcolor "none"
35228 \begin_layout Plain Layout
35233 \begin_layout Plain Layout
35238 \begin_layout Plain Layout
35248 \begin_layout Standard
35249 If you have not set an
35252 \begin_inset space ~
35257 , you can align the box content horizontally in the box dialog.
35260 \begin_layout Standard
35262 \begin_inset Box Boxed
35272 height_special "totalheight"
35277 backgroundcolor "none"
35280 \begin_layout Plain Layout
35281 This box text is horizontally stretched.
35289 \begin_layout Subsection
35291 \begin_inset CommandInset label
35293 name "sec:Decoration"
35298 \begin_inset Index idx
35301 \begin_layout Plain Layout
35310 \begin_layout Standard
35311 The type of the box can be specified in the box dialog in the drop-down
35317 The following types are possible:
35320 \begin_layout Description
35322 \begin_inset space ~
35325 frame Nothing is drawn.
35328 \begin_layout Description
35330 \begin_inset space ~
35334 \begin_inset space ~
35337 frame This draws a rectangular frame around the box.
35338 The frame line thickness can be specified.
35340 \begin_inset Box Boxed
35350 height_special "totalheight"
35355 backgroundcolor "none"
35358 \begin_layout Plain Layout
35368 \begin_layout Description
35370 \begin_inset space ~
35374 \begin_inset space ~
35377 thin This draws an oval frame around the box.
35378 The frame line thickness has the size 0.4
35379 \begin_inset space \thinspace{}
35384 \begin_inset Box ovalbox
35394 height_special "totalheight"
35399 backgroundcolor "none"
35402 \begin_layout Plain Layout
35412 \begin_layout Description
35414 \begin_inset space ~
35418 \begin_inset space ~
35421 thick This draws an oval frame around the box.
35422 The frame line thickness has the size 0.8
35423 \begin_inset space \thinspace{}
35428 \begin_inset Box Ovalbox
35438 height_special "totalheight"
35443 backgroundcolor "none"
35446 \begin_layout Plain Layout
35456 \begin_layout Description
35458 \begin_inset space ~
35461 shadow This draws a rectangular frame with a shadow around the box.
35462 The frame line thickness and the shadow can be specified.
35464 \begin_inset Box Shadowbox
35474 height_special "totalheight"
35479 backgroundcolor "none"
35482 \begin_layout Plain Layout
35492 \begin_layout Description
35494 \begin_inset space ~
35497 background This draws a box with a red background.
35498 Unlike colored boxes
35502 \begin_layout Plain Layout
35504 \begin_inset space \thinspace{}
35508 \begin_inset CommandInset ref
35510 reference "sec:Colored-Boxes"
35519 , it always uses the whole column width and the box is set as its own paragraph.
35521 \begin_inset Box Shaded
35531 height_special "totalheight"
35536 backgroundcolor "none"
35539 \begin_layout Plain Layout
35540 Shaded background box
35548 \begin_layout Description
35550 \begin_inset space ~
35554 \begin_inset space ~
35557 frame This draws a double-line rectangular frame around the box.
35558 The line thickness of the inner frame is 0.75
35559 \begin_inset space \thinspace{}
35563 \begin_inset space ~
35566 thickness, the thickness of the outer frame is 1.5
35567 \begin_inset space \thinspace{}
35571 \begin_inset space ~
35575 The distance between the lines is 1.5
35576 \begin_inset space \thinspace{}
35580 \begin_inset space ~
35584 \begin_inset space \thinspace{}
35588 \begin_inset space \thinspace{}
35592 \begin_inset space \thinspace{}
35597 \begin_inset Box Doublebox
35607 height_special "totalheight"
35612 backgroundcolor "none"
35615 \begin_layout Plain Layout
35617 Double rectangular box
35625 \begin_layout Standard
35626 \begin_inset VSpace bigskip
35630 's box label will reflect the different frame types.
35631 To be able to use all types, the \SpecialChar LaTeX
35637 \begin_inset Index idx
35640 \begin_layout Plain Layout
35642 -packages ! fancybox
35650 \begin_layout Standard
35651 \begin_inset VSpace bigskip
35654 When you use the decoration
35656 simple rectangular frame
35658 and no inner box, you can allow page breaks within a box.
35659 Note that then, unlike other framed boxes, the frame always uses the whole
35660 column width and the box is set as its own paragraph:
35661 \begin_inset Box Framed
35671 height_special "totalheight"
35676 backgroundcolor "none"
35679 \begin_layout Plain Layout
35680 Allow page break box
35688 \begin_layout Section
35690 \begin_inset Index idx
35693 \begin_layout Plain Layout
35694 Boxes ! Customization
35702 \begin_layout Standard
35703 The diameter of the round corners of the oval boxes can be set with the
35714 \begin_layout Standard
35722 \begin_layout Standard
35723 sets the diameter to 1
35724 \begin_inset space \thinspace{}
35731 \begin_layout Standard
35739 \begin_layout Standard
35740 sets the diameter to
35743 \begin_inset space \thinspace{}
35747 \begin_inset space \thinspace{}
35750 minimum(width and height of box)
35762 \begin_layout Standard
35766 \begin_layout Plain Layout
35776 \begin_inset Box Ovalbox
35786 height_special "totalheight"
35791 backgroundcolor "none"
35794 \begin_layout Plain Layout
35803 \begin_inset space \thinspace{}
35807 \begin_inset space \thinspace{}
35811 \begin_inset space \thinspace{}
35823 \begin_layout Plain Layout
35835 \begin_layout Standard
35836 \begin_inset VSpace bigskip
35842 \begin_layout Standard
35843 The default background color red of
35847 boxes can either be changed locally with the command
35851 definecolor{shadecolor}
35853 or globally with the menu
35855 Tools\SpecialChar menuseparator
35856 Preferences\SpecialChar menuseparator
35857 Colors\SpecialChar menuseparator
35859 \begin_inset space ~
35871 command is explained in section
35872 \begin_inset space ~
35876 \begin_inset CommandInset ref
35878 reference "sec:Colored-Tables"
35886 \begin_layout Plain Layout
35893 requires the \SpecialChar LaTeX
35898 in the preamble, see section
35899 \begin_inset space ~
35903 \begin_inset CommandInset ref
35905 reference "sec:Colored-Boxes"
35914 For example the appearance of the following shaded background box is set
35915 with the \SpecialChar TeX
35919 \begin_layout Standard
35924 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
35927 \begin_layout Standard
35931 \begin_layout Plain Layout
35935 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
35941 \begin_inset Box Shaded
35951 height_special "totalheight"
35956 backgroundcolor "none"
35959 \begin_layout Plain Layout
35962 This is yellow text in a
35972 box with dark green background.
35981 \begin_layout Plain Layout
35985 definecolor{shadecolor}{rgb}{1,0,0}
35993 \begin_layout Standard
35994 \begin_inset VSpace bigskip
35997 Manually changed sizes and colors are valid for all boxes following the
35998 commands that change them.
36001 \begin_layout Section
36003 \begin_inset CommandInset label
36005 name "sec:Minipages"
36010 \begin_inset Index idx
36013 \begin_layout Plain Layout
36022 \begin_layout Standard
36023 Minipages are treated by \SpecialChar LaTeX
36024 as pages within pages and can therefore for example
36025 have their own footnotes.
36028 \begin_layout Standard
36029 Minipages are useful when you write documents with different languages.
36032 \begin_layout Standard
36033 Below are two example minipages side by side.
36034 Their width is set to 45
36035 \begin_inset space \thinspace{}
36038 col% and they are separated by a horizontal fill, that was inserted via
36041 Insert\SpecialChar menuseparator
36043 \begin_inset space ~
36046 Formatting\SpecialChar menuseparator
36048 \begin_inset space ~
36054 \begin_inset Newpage newpage
36060 \begin_layout Standard
36061 \begin_inset Box Frameless
36071 height_special "totalheight"
36076 backgroundcolor "none"
36079 \begin_layout Plain Layout
36082 Dies ist ein deutscher Text.
36083 Dies ist ein deutscher Text.
36084 Dies ist ein deutscher Text.
36085 Dies ist ein deutscher Text.
36086 Dies ist ein deutscher Text.
36087 Dies ist ein deutscher Text.
36088 Dies ist ein deutscher Text.
36089 Dies ist ein deutscher Text.
36090 Dies ist ein deutscher Text.
36091 Dies ist ein deutscher Text.
36092 Dies ist ein deutscher Text.
36093 Dies ist ein deutscher Text.
36094 Dies ist ein deutscher Text
36098 \begin_layout Plain Layout
36101 Dies ist eine deutsche Fußnote.
36107 Dies ist ein deutscher Text.
36108 Dies ist ein deutscher Text.
36114 \begin_inset space \hfill{}
36118 \begin_inset Box Frameless
36128 height_special "totalheight"
36133 backgroundcolor "none"
36136 \begin_layout Plain Layout
36137 This is an English Text.
36138 This is an English Text.
36139 This is an English Text.
36140 This is an English Text.
36141 This is an English Text.
36142 This is an English Text.
36143 This is an English Text.
36144 This is an English Text.
36145 This is an English Text.
36146 This is an English Text.
36147 This is an English Text.
36148 This is an English Text.
36149 This is an English Text.
36150 This is an English Text.
36151 This is an English Text.
36152 This is an English Text.
36156 \begin_layout Plain Layout
36157 This is an English footnote.
36162 This is an English Text.
36170 \begin_layout Standard
36171 \begin_inset VSpace bigskip
36174 The document-wide paragraph settings are ignored within minipages.
36175 That means that there will be no space between paragraphs in minipages
36176 although you set it to e.
36177 \begin_inset space \thinspace{}
36181 \begin_inset space \space{}
36188 in the document settings.
36191 \begin_layout Standard
36192 Minipages can also be used to set a background color for text parts, see
36194 \begin_inset space ~
36198 \begin_inset CommandInset ref
36200 reference "sec:Colored-Boxes"
36207 \begin_layout Standard
36208 \begin_inset Note Greyedout
36211 \begin_layout Plain Layout
36216 You cannot have floats or margin notes inside minipages but minipages can
36217 be used inside tables, floats, and other boxes.
36225 \begin_layout Standard
36226 \begin_inset VSpace bigskip
36232 \begin_layout Standard
36234 has also basic support for minipages whose size is automatically determined
36235 by the width of their contents, via the module
36237 Variable-width Minipages
36240 The \SpecialChar LyX
36243 varwidth-floats-side-by-side
36245 gives examples of variable-width minipages used for placing two floats
36249 \begin_layout Section
36251 \begin_inset CommandInset label
36253 name "sec:Parboxes"
36258 \begin_inset Index idx
36261 \begin_layout Plain Layout
36270 \begin_layout Standard
36271 Parboxes are very similar to minipages with the difference that they cannot
36275 \begin_layout Standard
36277 \begin_inset Box Frameless
36287 height_special "totalheight"
36292 backgroundcolor "none"
36295 \begin_layout Plain Layout
36296 This a text within a parbox.
36297 This a text within a parbox.
36300 \begin_layout Plain Layout
36301 This footnote won't appear:
36305 \begin_layout Plain Layout
36306 This footnote is inside a parbox and will therefore not appear.
36319 \begin_layout Section
36320 Boxes for Words and Characters
36321 \begin_inset Index idx
36324 \begin_layout Plain Layout
36325 Boxes ! for Characters
36333 \begin_layout Subsection
36334 Prevent Hyphenation
36335 \begin_inset CommandInset label
36337 name "sec:Prevent-Hyphenation"
36342 \begin_inset Index idx
36345 \begin_layout Plain Layout
36346 Boxes ! to Prevent Hyphenation
36354 \begin_layout Standard
36355 You can use the box type
36359 to prevent words or text from being hyphenated.
36360 \begin_inset Newline newline
36363 Here is an example text:
36366 \begin_layout Standard
36367 This line is an example to show how you can prevent the hyphenation of
36368 \begin_inset Quotes eld
36372 \begin_inset Quotes erd
36378 \begin_layout Standard
36379 To prevent the hyphenation of the word
36380 \begin_inset Quotes eld
36384 \begin_inset Quotes erd
36387 , put the word into a box, set the
36390 \begin_inset space ~
36399 and use no explicit width.
36402 \begin_layout Standard
36403 This is the result:
36406 \begin_layout Standard
36407 This line is an example to show how you can prevent the hyphenation of
36408 \begin_inset Box Frameless
36418 height_special "totalheight"
36423 backgroundcolor "none"
36426 \begin_layout Plain Layout
36427 \begin_inset Quotes eld
36431 \begin_inset Quotes erd
36442 \begin_layout Standard
36443 You can alternatively set the command
36444 \begin_inset Quotes eld
36454 \begin_inset Quotes grd
36457 as \SpecialChar TeX
36458 Code directly before the word:
36461 \begin_layout Standard
36462 This line is an example to show how you can prevent the hyphenation of
36463 \begin_inset Quotes eld
36470 \begin_layout Plain Layout
36480 \begin_inset Quotes erd
36486 \begin_layout Standard
36487 Of course the word now protrudes over the side margin.
36488 To avoid this, add via the menu
36490 Insert\SpecialChar menuseparator
36491 Formatting\SpecialChar menuseparator
36493 \begin_inset space ~
36497 \begin_inset space ~
36505 arg "newline-insert newline"
36508 ) a line break before the word:
36511 \begin_layout Standard
36512 This line is an example to show how you can prevent the hyphenation of
36513 \begin_inset Newline newline
36517 \begin_inset Box Frameless
36527 height_special "totalheight"
36532 backgroundcolor "none"
36535 \begin_layout Plain Layout
36536 \begin_inset Quotes eld
36540 \begin_inset Quotes erd
36551 \begin_layout Subsection
36553 \begin_inset CommandInset label
36555 name "subsec:Vertical-Alignment"
36560 \begin_inset Index idx
36563 \begin_layout Plain Layout
36564 Boxes ! for Vertical Alignment
36570 \begin_inset Index idx
36573 \begin_layout Plain Layout
36582 \begin_layout Standard
36583 With the help of the command
36589 you can align words, characters or other boxes vertically relative to the
36597 is used with the following scheme:
36600 \begin_layout Standard
36605 raisebox{lift}[height][depth]{box content}
36608 \begin_layout Standard
36609 The lift can be a positive value to raise the box or a negative value to
36613 \begin_layout Standard
36614 To align for example the word
36615 \begin_inset Quotes eld
36619 \begin_inset Quotes erd
36622 so that the bottom of the
36623 \begin_inset Quotes eld
36627 \begin_inset Quotes erd
36631 \begin_inset Quotes eld
36635 \begin_inset Quotes erd
36638 is at the baseline, insert the command
36641 \begin_layout Standard
36651 \begin_layout Standard
36652 in \SpecialChar TeX
36653 Code before the word.
36654 After the word insert a closing brace
36655 \begin_inset Quotes eld
36663 \begin_inset Quotes erd
36666 in \SpecialChar TeX
36668 \begin_inset Newline newline
36671 This is the result:
36674 \begin_layout Standard
36675 This is a text line with the word
36679 \begin_layout Plain Layout
36691 \begin_inset Quotes eld
36695 \begin_inset Quotes erd
36702 \begin_layout Plain Layout
36712 \begin_layout Standard
36713 \begin_inset VSpace bigskip
36716 When you raise or lower characters in a line, the line distance will be
36720 \begin_layout Standard
36721 This is a text line with the word
36725 \begin_layout Plain Layout
36737 \begin_inset Quotes eld
36741 \begin_inset Quotes erd
36748 \begin_layout Plain Layout
36756 \begin_inset Newline newline
36759 This is a text line with the word
36763 \begin_layout Plain Layout
36773 \begin_inset Quotes eld
36777 \begin_inset Quotes erd
36784 \begin_layout Plain Layout
36794 \begin_layout Standard
36795 If you want to prevent this for a certain reason, set the box height to
36800 \begin_layout Standard
36810 \begin_layout Standard
36811 This is a text line with the word
36815 \begin_layout Plain Layout
36827 \begin_inset Quotes eld
36831 \begin_inset Quotes erd
36838 \begin_layout Plain Layout
36846 \begin_inset Newline newline
36850 \begin_inset Newline newline
36853 This is a text line with the word
36857 \begin_layout Plain Layout
36861 raisebox{0.5cm}[0pt]{
36867 \begin_inset Quotes eld
36871 \begin_inset Quotes erd
36878 \begin_layout Plain Layout
36888 \begin_layout Section
36890 \begin_inset CommandInset label
36892 name "sec:Colored-Boxes"
36897 \begin_inset Index idx
36900 \begin_layout Plain Layout
36909 \begin_layout Standard
36910 To color the background of a box just select the color you like in the box
36912 This is for example a box with orange background:
36913 \begin_inset Box Frameless
36923 height_special "totalheight"
36928 backgroundcolor "orange"
36931 \begin_layout Plain Layout
36932 Box with orange background
36940 \begin_layout Standard
36941 If you use the decoration
36944 \begin_inset space ~
36948 \begin_inset space ~
36953 you can set a frame color.
36954 In this case you must also specify a background color (LyX sets white as
36956 Here is an example:
36957 \begin_inset Box Boxed
36967 height_special "totalheight"
36972 backgroundcolor "yellow"
36975 \begin_layout Plain Layout
36976 Box with teal frame color and yellow background color
36984 \begin_layout Standard
36985 \begin_inset VSpace bigskip
36988 Of course you can also have colored text inside a colored box:
36989 \begin_inset Newline newline
36993 \begin_inset Box Boxed
37003 height_special "totalheight"
37008 backgroundcolor "magenta"
37011 \begin_layout Plain Layout
37014 This is colored text within a colored, framed box
37022 \begin_layout Standard
37023 \begin_inset VSpace bigskip
37029 \begin_layout Standard
37030 If you need another color than the predefined ones, you can define your
37031 own color as described in section
37032 \begin_inset space ~
37036 \begin_inset CommandInset ref
37038 reference "sec:Colored-Tables"
37043 To use your own color you must typeset the box by using TeX code:
37046 \begin_layout Standard
37047 Colored boxes without frame are created with the command
37054 It has the following scheme:
37057 \begin_layout Standard
37062 colorbox{color}{box content}
37065 \begin_layout Standard
37066 The box content can also be a box and colored boxes can also be within other
37069 \begin_inset space \thinspace{}
37073 \begin_inset space \space{}
37076 a darkgreen background for a word, insert the command
37079 \begin_layout Standard
37084 colorbox{darkgreen}{
37087 \begin_layout Standard
37088 before the word in \SpecialChar TeX
37090 After the word insert a closing brace
37091 \begin_inset Quotes eld
37099 \begin_inset Quotes erd
37102 in \SpecialChar TeX
37104 \begin_inset Newline newline
37107 This is the result:
37110 \begin_layout Standard
37111 This is a line where the word
37115 \begin_layout Plain Layout
37119 colorbox{darkgreen}{
37125 \begin_inset Quotes eld
37129 \begin_inset Quotes erd
37136 \begin_layout Plain Layout
37143 has a darkgreen background.
37146 \begin_layout Standard
37147 Framed, colored boxes are created with the command
37154 It has the following scheme:
37157 \begin_layout Standard
37162 fcolorbox{frame color}{box color}{box content}
37165 \begin_layout Section
37166 Rotated and Scaled Boxes
37169 \begin_layout Standard
37170 To use the boxes described in this section, the module
37174 must be loaded in the document settings.
37177 \begin_layout Standard
37178 \begin_inset Note Greyedout
37181 \begin_layout Plain Layout
37186 Not all DVI viewers are able to display rotated or scaled material.
37194 \begin_layout Standard
37195 \begin_inset Note Greyedout
37198 \begin_layout Plain Layout
37203 Floats are not allowed inside a rotated or scaled box.
37211 \begin_layout Subsection
37213 \begin_inset Index idx
37216 \begin_layout Plain Layout
37223 \begin_inset Index idx
37226 \begin_layout Plain Layout
37235 \begin_layout Standard
37236 To rotate material, you can put it into a
37241 Such a box is inserted via the menu
37243 Insert\SpecialChar menuseparator
37244 Custom Insets\SpecialChar menuseparator
37250 \begin_layout Standard
37251 The rotation origin can be specified via the inset
37257 Insert\SpecialChar menuseparator
37265 The following positions are possible:
37285 (top), along with meaningful combinations of the four base positions.
37290 means that the rotation origin is at the top left corner of the box.
37291 When no rotation origin is specified, the position
37296 The rotation angle is a number that can be negative that specifies the
37298 The rotation direction is counterclockwise.
37301 \begin_layout Standard
37302 In the following example
37306 was inserted to the
37314 was inserted to the
37321 \begin_layout Standard
37323 \begin_inset Flex Rotatebox
37326 \begin_layout Plain Layout
37327 \begin_inset Argument 1
37330 \begin_layout Plain Layout
37337 \begin_inset Argument 2
37340 \begin_layout Plain Layout
37354 \begin_layout Standard
37355 The box content can also be another box or an inline formula:
37358 \begin_layout Standard
37360 \begin_inset Flex Rotatebox
37363 \begin_layout Plain Layout
37364 \begin_inset Argument 1
37367 \begin_layout Plain Layout
37374 \begin_inset Argument 2
37377 \begin_layout Plain Layout
37384 \begin_inset Box Doublebox
37394 height_special "totalheight"
37399 backgroundcolor "none"
37402 \begin_layout Plain Layout
37414 \begin_inset Flex Rotatebox
37417 \begin_layout Plain Layout
37418 \begin_inset Argument 1
37421 \begin_layout Plain Layout
37428 \begin_inset Argument 2
37431 \begin_layout Plain Layout
37438 \begin_inset Formula $\int A\,\mathrm{d}x=B$
37449 \begin_layout Standard
37450 or an image or table:
37453 \begin_layout Standard
37455 \begin_inset Flex Rotatebox
37458 \begin_layout Plain Layout
37459 \begin_inset Argument 1
37462 \begin_layout Plain Layout
37469 \begin_inset Argument 2
37472 \begin_layout Plain Layout
37479 \begin_inset Graphics
37480 filename clipart/Star-structure.pdf
37491 with a rotated image
37492 \begin_inset Flex Rotatebox
37495 \begin_layout Plain Layout
37496 \begin_inset Argument 2
37499 \begin_layout Plain Layout
37506 \begin_inset Tabular
37507 <lyxtabular version="3" rows="2" columns="2">
37508 <features tabularvalignment="middle">
37509 <column alignment="center" valignment="top">
37510 <column alignment="center" valignment="top">
37512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37515 \begin_layout Plain Layout
37521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37524 \begin_layout Plain Layout
37532 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37535 \begin_layout Plain Layout
37541 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
37544 \begin_layout Plain Layout
37561 \begin_inset Index idx
37564 \begin_layout Plain Layout
37571 \begin_inset Index idx
37574 \begin_layout Plain Layout
37575 Table Customization ! Rotating
37583 \begin_layout Standard
37584 \begin_inset Note Greyedout
37587 \begin_layout Plain Layout
37596 inset is empty or contains other characters than numbers you will get \SpecialChar LaTeX
37598 errors when viewing/exporting the document.
37606 \begin_layout Subsection
37608 \begin_inset Index idx
37611 \begin_layout Plain Layout
37618 \begin_inset Index idx
37621 \begin_layout Plain Layout
37630 \begin_layout Standard
37631 To scale material put it into a
37636 Such a box is inserted via the menu
37638 Insert\SpecialChar menuseparator
37639 Custom Insets\SpecialChar menuseparator
37645 \begin_layout Standard
37650 inset has the mandatory inset
37654 and the optional inset
37658 (inserted via the menu
37660 Insert\SpecialChar menuseparator
37664 Input there the horizontal and vertical scale factor, respectively.
37669 inset is used, the horizontal factor will also be used as the vertical
37673 \begin_layout Standard
37674 To get for example the double text size, compared to the document text size,
37685 \begin_inset Flex Scalebox
37688 \begin_layout Plain Layout
37689 \begin_inset Argument 1
37692 \begin_layout Plain Layout
37706 \begin_layout Standard
37724 \begin_inset Flex Scalebox
37727 \begin_layout Plain Layout
37728 \begin_inset Argument 1
37731 \begin_layout Plain Layout
37738 \begin_inset Argument 2
37741 \begin_layout Plain Layout
37755 \begin_layout Standard
37756 If the scaling factor is negative, the box content will be mirrored.
37773 can be used to create mirror writing:
37774 \begin_inset Flex Scalebox
37777 \begin_layout Plain Layout
37778 \begin_inset Argument 1
37781 \begin_layout Plain Layout
37788 \begin_inset Argument 2
37791 \begin_layout Plain Layout
37805 \begin_layout Standard
37823 \begin_inset Flex Scalebox
37826 \begin_layout Plain Layout
37827 \begin_inset Argument 1
37830 \begin_layout Plain Layout
37837 \begin_inset Argument 2
37840 \begin_layout Plain Layout
37854 \begin_layout Standard
37861 Insert\SpecialChar menuseparator
37862 Custom Insets\SpecialChar menuseparator
37888 \begin_layout Standard
37889 \begin_inset Note Greyedout
37892 \begin_layout Plain Layout
37901 inset is empty or contains other characters than numbers you will get LaTeX
37902 errors when viewing/exporting the document.
37910 \begin_layout Standard
37911 \begin_inset VSpace bigskip
37920 Insert\SpecialChar menuseparator
37921 Custom Insets\SpecialChar menuseparator
37924 ) is used to scale the content to a defined width and height.
37929 inset has the mandatory inset
37933 and the optional inset
37937 (inserted via the menu
37939 Insert\SpecialChar menuseparator
37943 Input there the width and height, respectively, as value with a unit.
37945 \begin_inset CommandInset ref
37947 reference "tab:Units"
37951 lists the possible units.
37952 If there is an exclamation mark
37956 in of of the two insets, the size is set so that the aspect ratio of the
37957 box content is kept.
37962 inset is used an exclamation mark will internally be used for the height.
37965 \begin_layout Standard
37983 \begin_inset Flex Resizebox
37986 \begin_layout Plain Layout
37987 \begin_inset Argument 1
37990 \begin_layout Plain Layout
37997 \begin_inset Argument 2
38000 \begin_layout Plain Layout
38012 \begin_inset Newline newline
38036 \begin_inset Flex Resizebox
38039 \begin_layout Plain Layout
38040 \begin_inset Argument 1
38043 \begin_layout Plain Layout
38050 \begin_inset Argument 2
38053 \begin_layout Plain Layout
38067 \begin_layout Standard
38068 \begin_inset Note Greyedout
38071 \begin_layout Plain Layout
38080 inset is empty or contains an invalid unit you will get LaTeX errors when
38081 viewing/exporting the document.
38089 \begin_layout Standard
38090 \begin_inset VSpace bigskip
38096 \begin_layout Standard
38097 The boxes can be combined in any order.
38106 which is in turn inside a
38113 \begin_layout Standard
38116 \begin_inset Flex Rotatebox
38119 \begin_layout Plain Layout
38120 \begin_inset Argument 1
38123 \begin_layout Plain Layout
38130 \begin_inset Argument 2
38133 \begin_layout Plain Layout
38140 \begin_inset Flex Resizebox
38143 \begin_layout Plain Layout
38144 \begin_inset Argument 1
38147 \begin_layout Plain Layout
38154 \begin_inset Flex Reflectbox
38157 \begin_layout Plain Layout
38176 \begin_layout Standard
38178 Images, tables, and inline formulas are allowed as box content:
38181 \begin_layout Standard
38184 \begin_inset Flex Resizebox
38187 \begin_layout Plain Layout
38188 \begin_inset Argument 1
38191 \begin_layout Plain Layout
38198 \begin_inset Flex Reflectbox
38201 \begin_layout Plain Layout
38202 \begin_inset Graphics
38203 filename clipart/Star-structure.pdf
38220 \begin_inset Flex Resizebox
38223 \begin_layout Plain Layout
38224 \begin_inset Argument 1
38227 \begin_layout Plain Layout
38234 \begin_inset Flex Reflectbox
38237 \begin_layout Plain Layout
38238 \begin_inset Tabular
38239 <lyxtabular version="3" rows="2" columns="2">
38240 <features tabularvalignment="middle">
38241 <column alignment="center" valignment="top">
38242 <column alignment="center" valignment="top">
38244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38247 \begin_layout Plain Layout
38253 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38256 \begin_layout Plain Layout
38264 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38267 \begin_layout Plain Layout
38273 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38276 \begin_layout Plain Layout
38298 \begin_inset Flex Resizebox
38301 \begin_layout Plain Layout
38302 \begin_inset Argument 1
38305 \begin_layout Plain Layout
38312 \begin_inset Flex Reflectbox
38315 \begin_layout Plain Layout
38316 \begin_inset Formula $\int A\,\mathrm{d}x=B$
38330 \begin_inset Index idx
38333 \begin_layout Plain Layout
38340 \begin_inset Index idx
38343 \begin_layout Plain Layout
38344 Table Customization ! Scaling
38352 \begin_layout Standard
38353 When the global formula style
38357 is used in the document
38361 \begin_layout Plain Layout
38363 \begin_inset Quotes eld
38367 \begin_inset Quotes erd
38370 is added to the document class options.
38375 , display style formulas can also be scaled.
38378 \begin_layout Chapter
38379 Objects Surrounded by Text
38380 \begin_inset Index idx
38383 \begin_layout Plain Layout
38392 \begin_layout Section
38394 \begin_inset CommandInset label
38396 name "sec:Wrap-Floats"
38401 \begin_inset Index idx
38404 \begin_layout Plain Layout
38405 Floats ! Wrap Floats
38411 \begin_inset Index idx
38414 \begin_layout Plain Layout
38415 Surrounded by text ! Wrap Floats
38423 \begin_layout Standard
38424 \begin_inset Wrap figure
38431 \begin_layout Plain Layout
38432 \begin_inset Graphics
38433 filename clipart/2D-intensity-plot.pdf
38435 scaleBeforeRotation
38436 rotateOrigin center
38443 \begin_layout Plain Layout
38444 \begin_inset Caption Standard
38446 \begin_layout Plain Layout
38447 \begin_inset CommandInset label
38449 name "fig:This-is-a"
38453 This is a figure wrap float.
38463 This float type is used if you want to wrap text around a figure or table
38464 so that it only occupies some fraction of the column width.
38465 It can be inserted using the menu
38467 Insert\SpecialChar menuseparator
38468 Floats\SpecialChar menuseparator
38470 \begin_inset space ~
38474 \begin_inset space ~
38482 \begin_inset space ~
38486 \begin_inset space ~
38491 if the \SpecialChar LaTeX
38497 \begin_inset Index idx
38500 \begin_layout Plain Layout
38502 -packages ! wrapfig
38511 \begin_layout Plain Layout
38512 Installing a \SpecialChar LaTeX
38513 -package is explained it in the
38517 \begin_inset space ~
38527 The settings of the float can be modified by right-clicking on the float
38529 The mandatory settings are the float
38542 that specifies how much the float is set into the paragraph
38543 \begin_inset space \thinspace{}
38547 \begin_inset space \thinspace{}
38550 page margin, and the
38553 \begin_inset space ~
38558 that specifies how many text lines the float will approximately need.
38559 The line span is often hard to approximate; so it is better only to use
38560 it when you encounter float placement problems.
38561 You can furthermore decide if \SpecialChar LaTeX
38562 is allowed to let the float float within
38563 the paragraph or to surrounding paragraphs.
38565 \begin_inset space ~
38569 \begin_inset CommandInset ref
38571 reference "fig:This-is-a"
38575 is an example text wrap float with a width of 40
38576 \begin_inset space \thinspace{}
38580 \begin_inset space \thinspace{}
38583 cm overhang, set to the left.
38586 \begin_layout Standard
38587 \begin_inset Note Greyedout
38590 \begin_layout Plain Layout
38596 \begin_inset space ~
38599 wrap float floats are fragile! E.
38600 \begin_inset space \thinspace{}
38604 \begin_inset space \space{}
38607 having a figure too close to the bottom of the page can mess things up in
38608 such a way that the float does not appear in the output or that it is placed
38609 over some other text.
38617 \begin_layout Standard
38618 In general, the following applies for wrap floats:
38621 \begin_layout Itemize
38622 They should not be placed in paragraphs that run over a page break.
38623 That means that wrap floats are better inserted in their exact place when
38624 the document is almost finished and you are able to estimate where page
38625 breaks will appear.
38628 \begin_layout Itemize
38629 They should either be placed in their own paragraph before the paragraph
38630 where they should wrap into or within a paragraph.
38633 \begin_layout Itemize
38634 In consecutive paragraphs they may cause troubles, so ensure that there
38635 is a text paragraph between them as separator.
38638 \begin_layout Itemize
38639 They are not allowed in section headings or tables.
38642 \begin_layout Itemize
38643 Their numbering and referencing works as described in chap.
38644 \begin_inset space \thinspace{}
38648 \begin_inset CommandInset ref
38650 reference "chap:Floats"
38657 \begin_layout Section
38658 Surrounded Fixed Objects
38659 \begin_inset Index idx
38662 \begin_layout Plain Layout
38663 Surrounded by text ! Fixed objects
38671 \begin_layout Standard
38672 The wrap floats described in sec.
38673 \begin_inset space \thinspace{}
38677 \begin_inset CommandInset ref
38679 reference "sec:Wrap-Floats"
38683 have these positions in the paragraph:
38686 \begin_layout Standard
38689 \begin_inset Tabular
38690 <lyxtabular version="3" rows="2" columns="2">
38691 <features tabularvalignment="middle">
38692 <column alignment="center" valignment="top">
38693 <column alignment="center" valignment="top">
38695 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38698 \begin_layout Plain Layout
38701 arg "dialog-show-new-inset graphics"
38709 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38712 \begin_layout Plain Layout
38720 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38723 \begin_layout Plain Layout
38729 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38732 \begin_layout Plain Layout
38744 \begin_inset Tabular
38745 <lyxtabular version="3" rows="2" columns="2">
38746 <features tabularvalignment="middle">
38747 <column alignment="center" valignment="top">
38748 <column alignment="center" valignment="top">
38750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38753 \begin_layout Plain Layout
38759 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38762 \begin_layout Plain Layout
38765 arg "dialog-show-new-inset graphics"
38775 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38778 \begin_layout Plain Layout
38784 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38787 \begin_layout Plain Layout
38801 \begin_layout Standard
38802 To get an object exactly at the position where it is inserted, for example
38803 to get one of these positions:
38804 \begin_inset VSpace defskip
38810 \begin_layout Standard
38813 \begin_inset Tabular
38814 <lyxtabular version="3" rows="2" columns="2">
38815 <features tabularvalignment="middle">
38816 <column alignment="center" valignment="top">
38817 <column alignment="center" valignment="top">
38819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38822 \begin_layout Plain Layout
38828 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38831 \begin_layout Plain Layout
38839 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38842 \begin_layout Plain Layout
38845 arg "dialog-show-new-inset graphics"
38853 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38856 \begin_layout Plain Layout
38868 \begin_inset Tabular
38869 <lyxtabular version="3" rows="2" columns="2">
38870 <features tabularvalignment="middle">
38871 <column alignment="center" valignment="top">
38872 <column alignment="center" valignment="top">
38874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38877 \begin_layout Plain Layout
38883 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38886 \begin_layout Plain Layout
38894 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38897 \begin_layout Plain Layout
38903 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38906 \begin_layout Plain Layout
38909 arg "dialog-show-new-inset graphics"
38923 \begin_inset Tabular
38924 <lyxtabular version="3" rows="2" columns="3">
38925 <features tabularvalignment="middle">
38926 <column alignment="center" valignment="top">
38927 <column alignment="center" valignment="top">
38928 <column alignment="center" valignment="top">
38930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38933 \begin_layout Plain Layout
38939 <cell alignment="center" valignment="top" topline="true" usebox="none">
38942 \begin_layout Plain Layout
38945 arg "dialog-show-new-inset graphics"
38953 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38956 \begin_layout Plain Layout
38964 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38967 \begin_layout Plain Layout
38973 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
38976 \begin_layout Plain Layout
38982 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38985 \begin_layout Plain Layout
38997 \begin_inset Tabular
38998 <lyxtabular version="3" rows="2" columns="3">
38999 <features tabularvalignment="middle">
39000 <column alignment="center" valignment="top">
39001 <column alignment="center" valignment="top">
39002 <column alignment="center" valignment="top">
39004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39007 \begin_layout Plain Layout
39013 <cell alignment="center" valignment="top" topline="true" usebox="none">
39016 \begin_layout Plain Layout
39022 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39025 \begin_layout Plain Layout
39033 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39036 \begin_layout Plain Layout
39042 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
39045 \begin_layout Plain Layout
39048 arg "dialog-show-new-inset graphics"
39056 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39059 \begin_layout Plain Layout
39073 \begin_layout Standard
39076 \begin_inset Tabular
39077 <lyxtabular version="3" rows="3" columns="2">
39078 <features tabularvalignment="middle">
39079 <column alignment="center" valignment="top">
39080 <column alignment="center" valignment="top">
39082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39085 \begin_layout Plain Layout
39091 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39094 \begin_layout Plain Layout
39102 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39105 \begin_layout Plain Layout
39108 arg "dialog-show-new-inset graphics"
39116 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39119 \begin_layout Plain Layout
39127 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39130 \begin_layout Plain Layout
39136 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39139 \begin_layout Plain Layout
39151 \begin_inset Tabular
39152 <lyxtabular version="3" rows="3" columns="3">
39153 <features tabularvalignment="middle">
39154 <column alignment="center" valignment="top">
39155 <column alignment="center" valignment="top">
39156 <column alignment="center" valignment="top">
39158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39161 \begin_layout Plain Layout
39167 <cell alignment="center" valignment="top" topline="true" usebox="none">
39170 \begin_layout Plain Layout
39176 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39179 \begin_layout Plain Layout
39187 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39190 \begin_layout Plain Layout
39196 <cell alignment="center" valignment="top" usebox="none">
39199 \begin_layout Plain Layout
39202 arg "dialog-show-new-inset graphics"
39210 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39213 \begin_layout Plain Layout
39221 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39224 \begin_layout Plain Layout
39230 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
39233 \begin_layout Plain Layout
39239 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39242 \begin_layout Plain Layout
39254 \begin_inset Tabular
39255 <lyxtabular version="3" rows="3" columns="2">
39256 <features tabularvalignment="middle">
39257 <column alignment="center" valignment="top">
39258 <column alignment="center" valignment="top">
39260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39263 \begin_layout Plain Layout
39269 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39272 \begin_layout Plain Layout
39280 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39283 \begin_layout Plain Layout
39289 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39292 \begin_layout Plain Layout
39295 arg "dialog-show-new-inset graphics"
39305 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39308 \begin_layout Plain Layout
39314 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39317 \begin_layout Plain Layout
39331 \begin_layout Standard
39333 you can use the \SpecialChar LaTeX
39339 \begin_inset Index idx
39342 \begin_layout Plain Layout
39344 -packages ! picinpar
39350 Here is an example:
39353 \begin_layout Standard
39357 \begin_layout Plain Layout
39367 \begin_inset Note Note
39370 \begin_layout Plain Layout
39371 The following section will only be displayed when the \SpecialChar LaTeX
39384 \begin_layout Standard
39388 \begin_layout Plain Layout
39392 begin{window}[2,c,{
39398 \begin_inset Graphics
39399 filename clipart/2D-intensity-plot.pdf
39402 scaleBeforeRotation
39403 rotateOrigin center
39411 \begin_layout Plain Layout
39416 \begin_layout Plain Layout
39425 It was in the spring of the year 1894 that all London was interested, and
39426 the fashionable world dismayed, by the murder of the Honourable Ronald
39427 Adair under most unusual and inexplicable circumstances.
39428 The public has already learned those particulars of the crime which
39434 \begin_layout Plain Layout
39445 came out in the police investigation, but a good deal was suppressed upon
39446 that occasion, since the case for the prosecution was so overwhelmingly
39447 strong that it was not necessary to bring forward all the facts.
39448 Only now, at the end of nearly ten years, am I allowed to supply those
39449 missing links which make up the whole of that remarkable chain.
39455 \begin_layout Plain Layout
39467 \begin_layout Standard
39471 \begin_layout Plain Layout
39480 Footnote of the paragraph with the fixed object.
39484 \begin_layout Plain Layout
39494 \begin_layout Standard
39495 Surrounded fixed objects are used to let text float around them, at which
39496 the object's position in the paragraph can be determined by the number
39498 In contrary to floats is it not possible to have a numbered caption.
39501 \begin_layout Standard
39502 A fixed object is inserted by adding the command
39505 \begin_layout Standard
39510 begin{window}[2,c,{
39513 \begin_layout Standard
39514 as \SpecialChar TeX
39515 Code at the beginning of the paragraph.
39516 The first parameter in the bracket, here '2', defines the number of lines
39517 above the object, the second, here 'c', the position of the object.
39518 The positions 'l', 'c' and 'r' (for left, center, right) are possible.
39519 Behind the command you insert the object.
39520 In this example an image with a width of 40
39521 \begin_inset space \thinspace{}
39524 % of the text column width was inserted.
39525 The object can also be a table, a box or an equation.
39526 Behind the object the command
39529 \begin_layout Standard
39532 },description text]
39533 \begin_inset Newline newline
39539 \begin_layout Standard
39542 \begin_inset Quotes eld
39550 \begin_inset Quotes erd
39553 is in the second line.
39554 The description text is optional.
39555 The text surrounding the object must be in the same paragraph as the object,
39556 so it must begin directly after the
39561 At the end of the paragraph insert the command:
39564 \begin_layout Standard
39572 \begin_layout Standard
39573 Within a paragraph with a fixed object, you cannot insert footnotes in the
39575 You have to use instead the command
39581 inside the paragraph and outside the command
39587 as described in sec.
39588 \begin_inset space \thinspace{}
39592 \begin_inset CommandInset ref
39594 reference "sec:Footnotes"
39601 \begin_layout Standard
39605 \begin_layout Plain Layout
39615 \begin_inset Note Note
39618 \begin_layout Plain Layout
39619 The following will be displayed when the \SpecialChar LaTeX
39632 \begin_layout Standard
39633 You need to install the \SpecialChar LaTeX
39638 to see the following part of this section in the output.
39641 \begin_layout Standard
39645 \begin_layout Plain Layout
39657 \begin_layout Section
39659 \begin_inset Index idx
39662 \begin_layout Plain Layout
39669 \begin_inset Index idx
39672 \begin_layout Plain Layout
39673 Surrounded by text ! Initials
39681 \begin_layout Standard
39682 To use initials, you must have the \SpecialChar LaTeX
39688 \begin_inset Index idx
39691 \begin_layout Plain Layout
39693 -packages ! lettrine
39698 installed and use the module
39702 in your document (menu
39704 Document\SpecialChar menuseparator
39705 Settings\SpecialChar menuseparator
39709 To insert an initial, use the style
39714 This style has a mandatory and two optional arguments.
39715 The arguments are inserted via the
39720 The mandatory argument
39724 contains the letter(s) that is the initial, the argument
39727 \begin_inset space ~
39731 \begin_inset space ~
39736 contains the rest of the word or text of the initial letter(s).
39741 contains parameters to modify the initial.
39742 For more information about the possible parameters see the documentation
39748 \begin_inset CommandInset citation
39756 The style itself contains the text that is surrounding the initial.
39757 The usual style is hereby that the word whose first letter is the initial,
39765 \begin_layout Standard
39766 Here are some examples:
39769 \begin_layout Standard
39773 \begin_layout Plain Layout
39783 \begin_inset Note Note
39786 \begin_layout Plain Layout
39787 The following section will only be displayed when the \SpecialChar LaTeX
39800 \begin_layout Enumerate
39801 No optional argument, the initial is the letter 'I' in the math font
39802 \begin_inset Formula $\mathfrak{Fraktur}$
39809 \begin_layout Initial
39810 \begin_inset Argument 2
39813 \begin_layout Plain Layout
39814 \begin_inset Formula $\mathfrak{I}$
39823 \begin_inset Argument 3
39826 \begin_layout Plain Layout
39832 was in the spring of the year 1894 that all London was interested, and
39833 the fashionable world dismayed, by the murder of the Honourable Ronald
39834 Adair under most unusual and inexplicable circumstances.
39835 The public has already learned those particulars of the crime which came
39836 out in the police investigation, but a good deal was suppressed upon that
39837 occasion, since the case for the prosecution was so overwhelmingly strong
39838 that it was not necessary to bring forward all the facts.
39839 \begin_inset Newpage newpage
39846 \begin_layout Enumerate
39847 Only one line is surrounding the initial, which is formed by two letters
39848 in standard font and no text is printed in small caps:
39852 \begin_layout Initial
39853 \begin_inset Argument 1
39856 \begin_layout Plain Layout
39863 \begin_inset Argument 2
39866 \begin_layout Plain Layout
39872 was in the spring of the year 1894 that all London was interested, and
39873 the fashionable world dismayed, by the murder of the Honourable Ronald
39874 Adair under most unusual and inexplicable circumstances.
39875 The public has already learned those particulars of the crime which came
39876 out in the police investigation, but a good deal was suppressed upon that
39877 occasion, since the case for the prosecution was so overwhelmingly strong
39878 that it was not necessary to bring forward all the facts.
39882 \begin_layout Enumerate
39883 Magenta, hanging initial over 3
39884 \begin_inset space ~
39887 lines in the math font
39888 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
39892 \begin_inset Quotes eld
39895 t was in the spring
39896 \begin_inset Quotes erd
39903 ; to color the initial, you must insert this command before the initial:
39904 \begin_inset Newline newline
39918 \begin_inset Newline newline
39926 \begin_inset Quotes eld
39930 \begin_inset Quotes erd
39934 \begin_inset Quotes eld
39938 \begin_inset Quotes erd
39942 \begin_inset Quotes eld
39946 \begin_inset Quotes erd
39950 \begin_inset Quotes eld
39954 \begin_inset Quotes erd
39958 \begin_inset Quotes eld
39962 \begin_inset Quotes erd
39966 \begin_inset Quotes eld
39970 \begin_inset Quotes erd
39974 \begin_inset Quotes eld
39978 \begin_inset Quotes erd
39982 \begin_inset Quotes eld
39986 \begin_inset Quotes erd
39989 , and add this command to the document preamble:
39990 \begin_inset Newline newline
39997 @ifundefined{textcolor}
39998 \begin_inset Newline newline
40002 \begin_inset space ~
40007 usepackage{color}}{}
40011 \begin_layout Standard
40015 \begin_layout Plain Layout
40029 \begin_inset Note Note
40032 \begin_layout Plain Layout
40033 makes the initial magenta
40041 \begin_layout Initial
40042 \begin_inset Argument 1
40045 \begin_layout Plain Layout
40046 lines=3, lhang=0.33, loversize=0.25
40052 \begin_inset Argument 2
40055 \begin_layout Plain Layout
40056 \begin_inset Formula $\mathcal{I}$
40065 \begin_inset Argument 3
40068 \begin_layout Plain Layout
40069 t was in the spring
40074 of the year 1894 that all London was interested, and the fashionable world
40075 dismayed, by the murder of the Honourable Ronald Adair under most unusual
40076 and inexplicable circumstances.
40077 The public has already learned those particulars of the crime which came
40078 out in the police investigation, but a good deal was suppressed upon that
40079 occasion, since the case for the prosecution was so overwhelmingly strong
40080 that it was not necessary to bring forward all the facts.
40084 \begin_layout Standard
40088 \begin_layout Plain Layout
40098 \begin_inset Note Note
40101 \begin_layout Plain Layout
40102 The following will be displayed when the \SpecialChar LaTeX
40115 \begin_layout Standard
40116 You need to install the \SpecialChar LaTeX
40121 to see the following part of this section in the output.
40124 \begin_layout Standard
40128 \begin_layout Plain Layout
40140 \begin_layout Chapter
40141 External Document Parts
40142 \begin_inset Index idx
40145 \begin_layout Plain Layout
40146 External Document Parts
40154 \begin_layout Standard
40157 Insert\SpecialChar menuseparator
40160 you can insert external material into your document.
40164 \begin_layout Description
40166 \begin_inset space ~
40169 Document Another \SpecialChar LyX
40170 document; its content is directly inserted to your document.
40173 \begin_layout Description
40175 \begin_inset space ~
40178 Text A text document; each line is inserted in your document as a separate
40182 \begin_layout Description
40184 \begin_inset space ~
40188 \begin_inset space ~
40192 \begin_inset space ~
40195 Lines A text document; text lines are inserted in your document continuously
40196 but an empty text line creates a new paragraph.
40199 \begin_layout Description
40201 \begin_inset space ~
40204 Material Files in various formats.
40207 \begin_layout Description
40209 \begin_inset space ~
40212 Document \SpecialChar LyX
40213 or \SpecialChar LaTeX
40217 \begin_layout Section
40219 \begin_inset Index idx
40222 \begin_layout Plain Layout
40223 External Document Parts ! External Material
40231 \begin_layout Standard
40232 The external material feature allows you to insert files into your document
40233 without converting them to a format that can be read by the document output
40236 takes care of the necessary conversions.
40237 This is similar to images that can be inserted in various image formats
40238 in \SpecialChar LyX
40240 When you have enabled Instant Preview in \SpecialChar LyX
40241 's preferences under
40244 \begin_inset space ~
40248 \begin_inset space ~
40251 feel\SpecialChar menuseparator
40254 , the external material types Dia and Xfig are directly shown in \SpecialChar LyX
40258 \begin_layout Standard
40259 External material can be inserted via the
40263 dialog that is accessible with the menu
40265 Insert\SpecialChar menuseparator
40266 File\SpecialChar menuseparator
40268 \begin_inset space ~
40274 Currently the following file types (
40281 \begin_layout Description
40283 \begin_inset space ~
40286 diagram This template supports chess position diagrams made with the program
40290 \begin_inset CommandInset href
40293 target "https://en.wikipedia.org/wiki/XBoard"
40303 \begin_layout Description
40305 \begin_inset space ~
40308 diagram This template supports diagrams created with the program
40311 \begin_inset CommandInset href
40314 target "https://en.wikipedia.org/wiki/Dia_(software)"
40324 \begin_layout Description
40326 \begin_inset space ~
40329 figure This template supports specific scalable images derived from scalable
40330 vector graphics (SVG), in which the contained text is replaced by a version
40331 typeset by \SpecialChar LaTeX
40332 (and hence in the current document font).
40333 It relies on a feature of the program
40336 \begin_inset CommandInset href
40339 target "https://inkscape.org/"
40346 which creates a special PDF or EPS and \SpecialChar LaTeX
40347 file from a given SVG file (in
40352 itself, the feature is available via the option
40354 Omit text in PDF and create LaTeX file
40356 when saving a drawing as PDF or EPS).
40357 The benefit of such files is a uniform text style throughout the whole
40359 \begin_inset Newline newline
40362 The external template reads SVG files and uses a converter program to generate
40363 the respective PDF\SpecialChar breakableslash
40364 EPS and \SpecialChar LaTeX
40373 on the fly, so you don't have to export those files yourself.
40374 If you prefer the latter and want use given
40390 files instead, simply input the respective
40403 \begin_inset space ~
40407 \begin_inset CommandInset ref
40409 reference "sec:Child-Documents"
40413 ) rather than using this template.
40414 \begin_inset Newline newline
40417 You can use \SpecialChar TeX
40418 code commands such as
40431 \begin_inset space \space{}
40434 in the text of the SVG.
40435 The size of the font will be taken from the settings of the \SpecialChar LyX
40438 \begin_inset CommandInset citation
40445 for more information and examples.
40448 \begin_layout Description
40450 \begin_inset space ~
40454 \begin_inset space ~
40457 music This template is used for music notation typeset with the program
40458 \begin_inset Newline linebreak
40464 \begin_inset CommandInset href
40467 target "https://en.wikipedia.org/wiki/LilyPond"
40475 For \SpecialChar LyX
40476 's extended support for LilyPond have a look at \SpecialChar LyX
40484 \begin_layout Description
40486 \begin_inset space ~
40489 pages With this template you can insert PDF documents to your document.
40490 To specify the range of pages that should be included, use the option
40500 LaTeX and LyX options
40503 The argument of this option is a comma separated list, containing page
40504 numbers (insert as option
40508 ), ranges of page numbers (
40512 ) or any combination.
40513 To insert empty pages use {}.
40515 \begin_inset space \thinspace{}
40519 \begin_inset space ~
40524 pages={3,{},8-11,15}
40526 will insert page 3, an empty page, and pages 8, 9, 10, 11 and 15.
40527 Page ranges are specified in the syntax
40536 This selects all pages from
40549 defaults to the first page; omitting
40553 defaults to the last page of the document.
40554 The last page can also be selected with the keyword
40559 (This is only permitted in a page range.) So
40563 will insert all pages of the document and
40567 will insert all pages in reverse order.
40568 If the pages option is not specified, only the first page of the PDF is
40570 \begin_inset Newline newline
40577 inserts the pages with their original size, if this option is not given,
40578 the pages will be resized to fith the width of the page of your document.
40583 you can specify the width and height of the input pages and their rotation.
40584 If another width than 100
40585 \begin_inset space \thinspace{}
40588 Scale% is used, the option
40592 will be overwritten.
40593 For more info and possible options, have a look into the documentation
40594 of the \SpecialChar LaTeX
40600 \begin_inset CommandInset citation
40608 \begin_inset Index idx
40611 \begin_layout Plain Layout
40613 -packages ! pdfpages
40619 \begin_inset Newline newline
40622 To use this template in a
40626 presentation you need to first insert an
40630 environment and in a subsequent paragraph a \SpecialChar TeX
40631 Code box containing the command
40636 setbeamertemplate{background canvas}{}
40639 Then you can insert as many paragraphs containing the PDFPages template
40641 Behind the included PDF pages you can resume the Beamer presentation by
40642 beginning a new frame or by starting a new section.
40643 To avoid stray blank pages prior to the PDF pages, make sure to use the
40648 alignment for the paragraph containing the template.
40649 \begin_inset Newline newline
40652 Here is an included PDF which is rotated by -5°:
40653 \begin_inset External
40655 filename clipart/Abstract.pdf
40656 extra LaTeX "noautoscale, pages=-"
40658 rotateOrigin bottomleft
40665 \begin_layout Description
40667 \begin_inset space ~
40670 image This can be used for bitmap images.
40671 The image can be treated in the
40675 dialog like the images that are usually included via the
40679 dialog as described in section
40680 \begin_inset space ~
40684 \begin_inset CommandInset ref
40686 reference "sec:Graphics-Dialog"
40691 Here is an inserted raster image:
40692 \begin_inset External
40693 template RasterImage
40694 filename clipart/ToolbarEnvBox.png
40701 \begin_layout Description
40702 Spreadsheet With this template you can insert spreadsheets
40703 \begin_inset space \thinspace{}
40707 \begin_inset space \thinspace{}
40710 tables in the format of
40713 \begin_inset CommandInset href
40716 target "https://en.wikipedia.org/wiki/Gnumeric"
40724 \begin_inset CommandInset href
40726 name "OpenDocument"
40727 target "https://en.wikipedia.org/wiki/OpenDocument"
40733 \begin_inset CommandInset href
40735 name "Microsoft Office XML"
40736 target "https://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
40742 \begin_inset CommandInset href
40744 name "Office Open XML"
40745 target "https://en.wikipedia.org/wiki/Office_Open_XML"
40751 For this feature \SpecialChar LyX
40752 must have found the program
40756 during its configuration.
40757 This program is part of Gnumeric, so that you must have Gnumeric installed,
40758 also if you don't have tables in the Gnumeric format.
40759 For examples and possible limitations have a look at \SpecialChar LyX
40767 \begin_layout Description
40769 \begin_inset space ~
40772 graphics This can be used for vector graphics.
40773 The image can be treated in the
40777 dialog like the images that are usually included via the
40781 dialog as described in section
40782 \begin_inset space ~
40786 \begin_inset CommandInset ref
40788 reference "sec:Graphics-Dialog"
40793 Here is an inserted vector graphics:
40794 \begin_inset External
40795 template VectorGraphics
40796 filename clipart/SVG-Drawing.svg
40805 \begin_layout Description
40807 \begin_inset space ~
40810 figure This template supports images created with the program
40811 \begin_inset CommandInset href
40814 target "https://en.wikipedia.org/wiki/Xfig"
40822 \begin_layout Standard
40823 When you use the option
40835 dialog, only the path to the inserted file is shown in the output.
40836 \begin_inset Newline newline
40839 External material is displayed in \SpecialChar LyX
40840 either as a box like this:
40841 \begin_inset Graphics
40842 filename clipart/ExternalMaterial.png
40844 scaleBeforeRotation
40848 or as image, depending on the option
40854 LaTeX and LyX options
40859 \begin_layout Standard
40866 manual explains how you can define your own templates.
40869 \begin_layout Section
40871 \begin_inset CommandInset label
40873 name "sec:Child-Documents"
40878 \begin_inset Index idx
40881 \begin_layout Plain Layout
40882 External Document Parts ! Child Documents
40888 \begin_inset Index idx
40891 \begin_layout Plain Layout
40900 \begin_layout Standard
40901 Child documents are used if you have a long document consisting of several
40902 larger parts or sections.
40903 For maintenance it is often useful and sometimes even required to split
40904 the document into several files that can be revised separately.
40905 The different documents are then the so called
40906 \begin_inset Quotes eld
40910 \begin_inset Quotes erd
40913 , and a master document connects them to print the full document or parts
40915 A child document inherits elements from its master, for example the \SpecialChar LaTeX
40917 the bibliography, and labels for cross-references.
40920 \begin_layout Standard
40921 To be able to work on child documents without the need to open their master,
40922 specify in the child document the master in the menu
40924 Document\SpecialChar menuseparator
40925 Settings\SpecialChar menuseparator
40927 \begin_inset space ~
40933 This master document will then be used in the background by \SpecialChar LyX
40935 the child document.
40938 \begin_layout Standard
40939 Included documents are displayed in \SpecialChar LyX
40940 as a box like this:
40941 \begin_inset Graphics
40942 filename clipart/ChildDocument.png
40944 scaleBeforeRotation
40948 To include child documents in a master document use the menu
40950 Insert\SpecialChar menuseparator
40951 File\SpecialChar menuseparator
40953 \begin_inset space ~
40959 A dialog pops up where you can choose between four include methods:
40962 \begin_layout Description
40963 Include You can include \SpecialChar LyX
40964 and \SpecialChar LaTeX
40974 dialog, the included document will be opened in \SpecialChar LyX
40975 in a new file tab so that
40977 \begin_inset Newline newline
40983 \begin_layout Standard
40984 Here is a child document inserted using
40989 \begin_inset CommandInset include
40990 LatexCommand include
40991 filename "DummyDocument1.lyx"
40999 \begin_layout Standard
41000 The section numbering includes the sections of the included files in the
41001 order they are inserted in the master document.
41002 The included example document has for example a subsection that is numbered
41003 as a subsection of this section.
41004 Labels of included documents can be referenced: Subsection
41005 \begin_inset space ~
41009 \begin_inset CommandInset ref
41011 reference "subsec:External-Subsection-1"
41018 \begin_layout Standard
41019 The preamble of the child document is ignored; only the preamble of the
41020 master document is used.
41021 Branches in child documents will be ignored by the master document when
41022 the master document does not have a branch with the same name.
41023 Included documents are inserted starting on a new page and ending with
41027 \begin_layout Standard
41028 \begin_inset Note Greyedout
41031 \begin_layout Plain Layout
41036 If you have included a \SpecialChar LyX
41037 or \SpecialChar LaTeX
41038 file, you are warned when you export/view the
41039 document in case the child document uses another document class than the
41040 master document as this will lead to unexpected outputs.
41048 \begin_layout Description
41049 Input This method is very similar to the Include method.
41050 The differences are:
41054 \begin_layout Itemize
41055 Input files don't start with a new page and don't end with a page break.
41058 \begin_layout Itemize
41059 Input files can be previewed in \SpecialChar LyX
41063 \begin_inset space ~
41068 is enabled in \SpecialChar LyX
41069 's preferences under
41072 \begin_inset space ~
41076 \begin_inset space ~
41079 feel\SpecialChar menuseparator
41085 \begin_layout Itemize
41086 You cannot exclude Input files via the menu
41088 Document\SpecialChar menuseparator
41089 Settings\SpecialChar menuseparator
41096 \begin_layout Standard
41097 Here is a child document inserted using
41102 \begin_inset CommandInset include
41104 filename "DummyDocument2.lyx"
41112 \begin_layout Description
41113 Verbatim With this method any text file can be included.
41114 The file is shown in the output with its source code; no command used in
41115 the text is invoked.
41116 You can use the option
41118 Mark spaces in output
41120 that displays the character
41121 \begin_inset Quotes eld
41128 \begin_layout Plain Layout
41138 \begin_inset Quotes erd
41141 for every space character in the source code.
41142 The difference from the method via the menu
41144 Insert\SpecialChar menuseparator
41145 File\SpecialChar menuseparator
41147 \begin_inset space ~
41152 is that the document content is not shown in \SpecialChar LyX
41156 \begin_layout Standard
41157 Here is a child document inserted as Verbatim:
41158 \begin_inset CommandInset include
41159 LatexCommand verbatiminput
41160 filename "DummyTextDocument.txt"
41166 \begin_inset VSpace bigskip
41169 Here is a child document inserted as Verbatim using the
41171 Mark spaces in output
41174 \begin_inset CommandInset include
41175 LatexCommand verbatiminput*
41176 filename "DummyTextDocument.txt"
41184 \begin_layout Standard
41185 \begin_inset VSpace bigskip
41191 \begin_layout Standard
41192 \begin_inset Note Greyedout
41195 \begin_layout Plain Layout
41200 As you can see in the examples above, the text of the documents included
41205 is not broken at the end of the document lines.
41213 \begin_layout Description
41214 Listings This type is described in chapter
41215 \begin_inset space ~
41219 \begin_inset CommandInset ref
41221 reference "cha:Program-Code-Listings"
41228 \begin_layout Standard
41229 \begin_inset Note Greyedout
41232 \begin_layout Plain Layout
41237 Including the same document twice in a document using different methods
41238 could cause \SpecialChar LaTeX
41247 \begin_layout Standard
41248 If you want to view/export only selected children of your master document,
41249 either because you want to save compiling time or because you want to distribut
41250 e single chapters of the book you are just writing, you can exclude children
41252 This is done via the menu
41254 Document\SpecialChar menuseparator
41255 Settings\SpecialChar menuseparator
41259 You can exclude\SpecialChar breakableslash
41260 include children by double-clicking on the
41264 column of the respective child document in the list (note that this only
41265 works for documents embedded via
41266 \begin_inset Quotes eld
41270 \begin_inset Quotes erd
41274 \begin_inset Quotes eld
41278 \begin_inset Quotes erd
41283 \change_inserted -712698321 1584102244
41287 \begin_layout Standard
41289 \change_inserted -712698321 1584102427
41292 Global Counters & References
41294 you can set how page numbers, references, section counters etc.
41298 \begin_layout Itemize
41300 \change_inserted -712698321 1584102377
41306 \change_deleted -712698321 1584102385
41309 Maintain counters and references
41314 will assure that all page numbers, references etc.
41315 \begin_inset space ~
41318 are correct as if the whole document was
41319 \change_deleted -712698321 1584108508
41321 \change_inserted -712698321 1584108509
41325 This is useful if you want the selected sub-documents to look exactly as
41326 in the context of the whole document.
41327 However, \SpecialChar LyX
41328 needs to process the whole document in the background for this
41330 \change_inserted -712698321 1584102406
41331 , which can take a long time
41335 \change_deleted -712698321 1584103026
41337 \change_inserted -712698321 1584102447
41341 \begin_layout Itemize
41343 \change_inserted -712698321 1584102489
41352 \change_inserted -712698321 1584103270
41353 only compiles the master and the included documents.
41354 Thus the counters will differ from the complete document, and references
41355 to excluded child documents will not be resolved.
41357 \change_deleted -712698321 1584102517
41359 \change_inserted -712698321 1584102518
41362 f you want to save compile time and if counters and references do not need
41364 \change_deleted -712698321 1584102523
41365 disable this checkbox
41366 \change_inserted -712698321 1584102546
41367 use this option as this is the fastest one
41370 \change_inserted -712698321 1584102550
41374 \begin_layout Itemize
41376 \change_inserted -712698321 1584109486
41381 is somewhat in-between the above two.
41382 If this is selected, \SpecialChar LyX
41383 will compile the whole document at the first output,
41384 which sets up counters and references correctly.
41385 In subsequent outputs, it will compile the whole document only if a change
41386 has been made in an excluded child document.
41387 As long as you only edit the included files, this approach is as fast as
41388 the second one, while giving you more or less correct counters and references.
41389 They are only more or less correct since the change of size of included
41390 documents obviously also changes the pagination of excluded documents,
41391 but this change cannot be tracked with this method.
41396 \begin_layout Standard
41397 Alternatively, you can put each included file into a branch.
41401 \begin_layout Plain Layout
41402 Branches are described in section
41406 of the \SpecialChar LyX
41416 By enabling\SpecialChar breakableslash
41417 disabling branches you can decide which included files will
41418 appear in the output.
41419 This has the advantage that it also works with Input'ed sub-documents.
41420 However, counters and references will not be maintained with this approach.
41423 \begin_layout Chapter
41424 Program Code Listings
41425 \begin_inset CommandInset label
41427 name "cha:Program-Code-Listings"
41432 \begin_inset Index idx
41435 \begin_layout Plain Layout
41442 \begin_inset Index idx
41445 \begin_layout Plain Layout
41452 \begin_inset Index idx
41455 \begin_layout Plain Layout
41464 \begin_layout Standard
41465 To include and typeset program code you can use the
41469 inset that can be inserted via the menu
41471 Insert\SpecialChar menuseparator
41475 The \SpecialChar LaTeX
41481 \begin_inset Index idx
41484 \begin_layout Plain Layout
41486 -packages ! listings
41496 \begin_inset Index idx
41499 \begin_layout Plain Layout
41506 provide a powerful and flexible way to insert program source code into
41508 One can only use one of these packages in a document.
41513 is used by default.
41516 \begin_layout Standard
41517 \begin_inset Note Note
41520 \begin_layout Plain Layout
41526 does NOT want to encourage users to add the
41530 option to converter definitions.
41531 It works, but it is a huge security risk.
41532 There is an active discussion about how to handle this.
41533 Once that's been resolved, this can be updated appropriately.
41536 \begin_layout Plain Layout
41540 \begin_layout Plain Layout
41545 , you need to select it as the syntax highlighting package in the document
41555 requires also additionally the module
41567 \begin_layout Plain Layout
41568 Under \SpecialChar LyX
41573 is already installed.
41582 for the \SpecialChar LaTeX
41584 If you want for example view or export your document as the format
41587 \begin_inset space ~
41592 , go to the \SpecialChar LyX
41593 preferences and there to the section
41596 \begin_inset space ~
41599 Handling\SpecialChar menuseparator
41603 There go to the entry
41606 \begin_inset space ~
41610 \begin_inset space ~
41615 and look at the field
41620 There you see by default the content
41621 \begin_inset Newline newline
41629 \begin_inset Newline newline
41633 \begin_inset Newline newline
41638 pdflatex $$i -shell-escape
41639 \begin_inset Newline newline
41648 button and subsequently
41657 The same can be done for the output formats
41660 \begin_inset space ~
41668 \begin_inset space ~
41681 \begin_layout Standard
41682 Right-clicking on a listings inset opens the context menu containing where
41683 you can set the listings format.
41686 \begin_layout Standard
41687 By default, a listing starts a new paragraph in the output.
41688 The placement option
41691 \begin_inset space ~
41696 prints the listing inline like this:
41697 \begin_inset listings
41698 lstparams "language={C++}"
41702 \begin_layout Plain Layout
41710 \begin_inset Newline newline
41717 creates a listings float where you can specify the placement options
41718 \begin_inset Quotes eld
41726 \begin_inset Quotes erd
41730 \begin_inset Quotes eld
41738 \begin_inset Quotes erd
41742 \begin_inset Quotes eld
41750 \begin_inset Quotes erd
41754 \begin_inset Quotes eld
41762 \begin_inset Quotes erd
41765 corresponding to the float placement options described in section
41766 \begin_inset space ~
41770 \begin_inset CommandInset ref
41772 reference "sec:Float-Settings"
41777 The placement options can be mixed and are inserted without any separation,
41779 \begin_inset space \thinspace{}
41783 \begin_inset space \space{}
41787 \begin_inset Quotes eld
41795 \begin_inset Quotes erd
41800 \begin_inset Quotes eld
41804 \begin_inset Quotes erd
41807 has sometimes no effect, but you don't need to use the
41811 option in this case as also non-float listings can have captions and be
41815 \begin_layout Standard
41816 You can add captions to listings that are not inline with the menu
41818 Insert\SpecialChar menuseparator
41822 Listings can be referenced like floats: Listing
41823 \begin_inset space ~
41827 \begin_inset CommandInset ref
41829 reference "lst:Example-Listing"
41834 A list of listings which contains all listings with captions can be created
41837 Insert\SpecialChar menuseparator
41839 \begin_inset space ~
41843 \begin_inset space ~
41846 TOC\SpecialChar menuseparator
41850 The list entries are the listing caption and the listing number.
41853 \begin_layout Standard
41854 \begin_inset listings
41855 lstparams "language=Python"
41859 \begin_layout Plain Layout
41861 \begin_inset Caption Standard
41863 \begin_layout Plain Layout
41864 \begin_inset CommandInset label
41866 name "lst:Example-Listing"
41870 Example Listing float
41875 # Example listing float
41878 \begin_layout Plain Layout
41883 \begin_layout Plain Layout
41885 'this is a python function'
41888 \begin_layout Plain Layout
41898 \begin_layout Standard
41899 \begin_inset Note Greyedout
41902 \begin_layout Plain Layout
41911 package places captions before the listing by default.
41912 \begin_inset Newline newline
41919 package places them after the listing by default if it is floating.
41920 If it is not floating, caption will be typeset before the listing if it
41921 is inserted to its first line, otherwise it will be typeset after the listing.
41922 If you want to force the placement in every case before the listing, you
41923 have to add the following lines as last thing to the preamble:
41924 \begin_inset Newline newline
41931 @ifundefined{newfloat}
41932 \begin_inset Newline newline
41936 \begin_inset Phantom HPhantom
41939 \begin_layout Plain Layout
41942 \begin_inset space ~
41952 usepackage{float}}{}
41953 \begin_inset Newline newline
41958 floatstyle{plaintop}
41961 \begin_inset Note Note
41964 \begin_layout Plain Layout
41969 will be loaded automatically by \SpecialChar LyX
41970 when you use special document-wide float
41971 placement settings.
41972 To avoid that it is loaded twice the command
41978 is used in the above command.
41991 \begin_layout Standard
41992 When you have set a programming language in the listings dialog, the keywords
41993 of this language will be recognized and specially typeset in the output.
41994 In the example listings the Python keyword
41995 \begin_inset Quotes eld
41999 \begin_inset Quotes erd
42002 is recognized and printed bold in the output.
42005 \begin_layout Standard
42006 \begin_inset Note Greyedout
42009 \begin_layout Plain Layout
42014 If you don't get bold keywords when using typewriter fonts, your
42018 font probably doesn't provide a bold shape.
42019 In this case select a different one in the menu
42021 Document\SpecialChar menuseparator
42022 Settings\SpecialChar menuseparator
42034 provide bold shapes.)
42042 \begin_layout Standard
42046 \begin_inset space ~
42051 of the listings dialog you can specify the line numbering style.
42052 You can insert a number to specify which lines are numbered in the field
42059 \begin_inset space \thinspace{}
42063 \begin_inset space \space{}
42067 \begin_inset Quotes eld
42071 \begin_inset Quotes erd
42074 , only every 3rd line will be numbered.
42077 \begin_layout Standard
42078 You can furthermore specify a range of lines; only these will then appear
42082 Extended character table
42084 is only meaningful for the
42088 package and should be used when you use national characters like the German
42089 umlauts in the listing.
42090 \begin_inset Newline newline
42093 Here is an example listing with left line numbering, step
42094 \begin_inset Quotes eld
42098 \begin_inset Quotes erd
42102 \begin_inset Quotes eld
42106 \begin_inset Quotes erd
42110 \begin_inset Quotes eld
42113 Extended character table
42114 \begin_inset Quotes erd
42118 \begin_inset Quotes eld
42122 \begin_inset space ~
42126 \begin_inset space ~
42130 \begin_inset Quotes erd
42134 \begin_inset space \thinspace{}
42138 \begin_inset space \thinspace{}
42144 \begin_layout Standard
42145 \begin_inset listings
42146 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
42150 \begin_layout Plain Layout
42155 \begin_layout Plain Layout
42157 'this is a python function'
42160 \begin_layout Plain Layout
42165 \begin_layout Plain Layout
42170 \begin_layout Plain Layout
42172 'This is a German word: Tschüß'
42175 \begin_layout Plain Layout
42180 \begin_layout Plain Layout
42185 \begin_layout Plain Layout
42187 'this is a python function'
42190 \begin_layout Plain Layout
42200 \begin_layout Standard
42201 When you have tabulators in your listing, you can specify the number of
42202 characters that are spanned by a tabulator in the field
42205 \begin_inset space ~
42213 \begin_layout Standard
42214 \begin_inset Note Greyedout
42217 \begin_layout Plain Layout
42222 Due to a bug in the
42226 package the line numbering is shifted by a line by every previous listing.
42227 That's the reason why the lines 2 and 5 are numbered in the above listing
42228 and not the lines 3 and 6.
42236 \begin_layout Standard
42237 \begin_inset VSpace bigskip
42243 \begin_layout Standard
42244 It is also possible to print lines from a file as listing.
42245 To do this, use the menu
42247 Insert\SpecialChar menuseparator
42248 File\SpecialChar menuseparator
42251 and choose the type
42259 \begin_layout Plain Layout
42260 The other child document types are described in section
42261 \begin_inset space ~
42265 \begin_inset CommandInset ref
42267 reference "sec:Child-Documents"
42276 In the child document dialog you can specify the listing parameters in
42278 To show a list of all available parameters, type in a question mark
42279 \begin_inset Quotes eld
42283 \begin_inset Quotes erd
42289 \begin_layout Standard
42290 To reference child document listings, write a label text into the corresponding
42291 field of the child document dialog.
42292 The label can then be referenced using the menu
42294 Insert\SpecialChar menuseparator
42300 \begin_layout Standard
42302 \begin_inset space ~
42306 \begin_inset CommandInset ref
42308 reference "lst:file-listing"
42312 is an example for a listing of a file; there the lines 10
42313 \begin_inset space \thinspace{}
42317 \begin_inset space \thinspace{}
42320 15 of this \SpecialChar LyX
42324 \begin_layout Standard
42325 \begin_inset CommandInset include
42326 LatexCommand lstinputlisting
42327 filename "EmbeddedObjects.lyx"
42328 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
42336 \begin_layout Standard
42337 \begin_inset VSpace bigskip
42343 \begin_layout Standard
42344 Inserting a formula into a listing can be done the following way:
42347 \begin_layout Enumerate
42348 Open the listings dialog and add
42349 \begin_inset Newline newline
42357 \begin_inset Newline newline
42360 to the field of the
42367 \begin_layout Enumerate
42368 Create a formula outside the listing
42371 \begin_layout Enumerate
42372 Copy the content of the formula (not the formula inset) to the clipboard
42382 \begin_layout Enumerate
42383 In the listing write
42384 \begin_inset Quotes eld
42392 \begin_inset Quotes erd
42395 and copy from the clipboard between the dollar-signs (shortcut
42404 \begin_layout Standard
42405 \begin_inset listings
42406 lstparams "language=Python,mathescape=true"
42410 \begin_layout Plain Layout
42412 \begin_inset Caption Standard
42414 \begin_layout Plain Layout
42415 Example Listing float containing a formula
42420 # Example listing float
42423 \begin_layout Plain Layout
42428 \begin_layout Plain Layout
42441 \begin_layout Plain Layout
42451 \begin_layout Standard
42452 \begin_inset VSpace bigskip
42458 \begin_layout Standard
42459 Global listings settings can be set in the
42461 Document\SpecialChar menuseparator
42462 Settings\SpecialChar menuseparator
42466 To get there a list of available options, type in a question mark
42467 \begin_inset Quotes eld
42471 \begin_inset Quotes erd
42477 \begin_layout Standard
42478 For more information about the
42486 packages, we refer to their documentation
42487 \begin_inset CommandInset citation
42489 key "listings,minted"
42497 \begin_layout Standard
42498 \begin_inset Newpage newpage
42504 \begin_layout Chapter
42506 Units available in \SpecialChar LyX
42508 \begin_inset Index idx
42511 \begin_layout Plain Layout
42518 \begin_inset CommandInset label
42520 name "cha:Units-available-in"
42527 \begin_layout Standard
42528 To understand the units described in this documentation, Table
42529 \begin_inset space ~
42533 \begin_inset CommandInset ref
42535 reference "tab:Units"
42539 explains all units available in \SpecialChar LyX
42543 \begin_layout Standard
42544 \begin_inset Float table
42551 \begin_layout Plain Layout
42552 \begin_inset Caption Standard
42554 \begin_layout Plain Layout
42555 \begin_inset CommandInset label
42569 \begin_layout Plain Layout
42570 \begin_inset VSpace medskip
42576 \begin_layout Plain Layout
42578 \begin_inset Tabular
42579 <lyxtabular version="3" rows="21" columns="3">
42580 <features tabularvalignment="middle">
42581 <column alignment="center" valignment="top">
42582 <column alignment="center" valignment="middle" width="50col%">
42583 <column alignment="center" valignment="top">
42585 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
42588 \begin_layout Plain Layout
42594 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
42597 \begin_layout Plain Layout
42603 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
42606 \begin_layout Plain Layout
42615 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42618 \begin_layout Plain Layout
42624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42627 \begin_layout Plain Layout
42629 \begin_inset space \thinspace{}
42633 \begin_inset space \thinspace{}
42641 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42644 \begin_layout Plain Layout
42652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42655 \begin_layout Plain Layout
42661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42664 \begin_layout Plain Layout
42666 \begin_inset space \thinspace{}
42670 \begin_inset space \thinspace{}
42678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42681 \begin_layout Plain Layout
42689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42692 \begin_layout Plain Layout
42698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42701 \begin_layout Plain Layout
42707 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42710 \begin_layout Plain Layout
42718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42721 \begin_layout Plain Layout
42727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42730 \begin_layout Plain Layout
42732 \begin_inset space \thinspace{}
42736 \begin_inset Formula $\approx$
42740 \begin_inset space \thinspace{}
42748 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42751 \begin_layout Plain Layout
42759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42762 \begin_layout Plain Layout
42768 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42771 \begin_layout Plain Layout
42781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42784 \begin_layout Plain Layout
42792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42795 \begin_layout Plain Layout
42801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42804 \begin_layout Plain Layout
42814 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42817 \begin_layout Plain Layout
42825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42828 \begin_layout Plain Layout
42834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42837 \begin_layout Plain Layout
42843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42846 \begin_layout Plain Layout
42854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42857 \begin_layout Plain Layout
42863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42866 \begin_layout Plain Layout
42872 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42875 \begin_layout Plain Layout
42883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42886 \begin_layout Plain Layout
42892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42895 \begin_layout Plain Layout
42897 \begin_inset space \thinspace{}
42901 \begin_inset space \thinspace{}
42909 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42912 \begin_layout Plain Layout
42920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42923 \begin_layout Plain Layout
42929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42932 \begin_layout Plain Layout
42934 \begin_inset space \thinspace{}
42938 \begin_inset space \thinspace{}
42946 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42949 \begin_layout Plain Layout
42957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42960 \begin_layout Plain Layout
42966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42969 \begin_layout Plain Layout
42971 \begin_inset space \thinspace{}
42975 \begin_inset space \thinspace{}
42983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42986 \begin_layout Plain Layout
42994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42997 \begin_layout Plain Layout
43003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43006 \begin_layout Plain Layout
43007 scaled point (65536
43008 \begin_inset space \thinspace{}
43012 \begin_inset space \thinspace{}
43020 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43023 \begin_layout Plain Layout
43031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43034 \begin_layout Plain Layout
43040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43043 \begin_layout Plain Layout
43049 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43052 \begin_layout Plain Layout
43062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43065 \begin_layout Plain Layout
43071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43074 \begin_layout Plain Layout
43075 % of height between baselines of two subsequent text lines
43080 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43083 \begin_layout Plain Layout
43093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43096 \begin_layout Plain Layout
43102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43105 \begin_layout Plain Layout
43111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43114 \begin_layout Plain Layout
43124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43127 \begin_layout Plain Layout
43133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43136 \begin_layout Plain Layout
43142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43145 \begin_layout Plain Layout
43155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43158 \begin_layout Plain Layout
43164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43167 \begin_layout Plain Layout
43173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43176 \begin_layout Plain Layout
43186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43189 \begin_layout Plain Layout
43195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43198 \begin_layout Plain Layout
43199 % of original image width
43204 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43207 \begin_layout Plain Layout
43215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43218 \begin_layout Plain Layout
43224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43227 \begin_layout Plain Layout
43233 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43236 \begin_layout Plain Layout
43246 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43249 \begin_layout Plain Layout
43255 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43258 \begin_layout Plain Layout
43264 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
43267 \begin_layout Plain Layout
43288 \begin_layout Chapter
43289 Output File Formats with Graphics
43290 \begin_inset CommandInset label
43292 name "cha:Output-File-Formats"
43299 \begin_layout Section
43301 \begin_inset Index idx
43304 \begin_layout Plain Layout
43311 \begin_inset Index idx
43314 \begin_layout Plain Layout
43319 \begin_layout Plain Layout
43330 \begin_layout Plain Layout
43345 \begin_layout Standard
43346 This file type has the extension
43347 \begin_inset Quotes eld
43355 \begin_inset Quotes erd
43360 \begin_inset Quotes eld
43364 \begin_inset Quotes erd
43367 (DVI), because it is completely portable; you can move them from one machine
43368 to another without needing to do any sort of conversion.
43369 At the time when this file-format was developed, this was no matter of
43371 DVIs are used for quick previews and as pre-stage for other output formats,
43375 \begin_layout Standard
43376 \begin_inset Note Greyedout
43379 \begin_layout Plain Layout
43384 DVI-files do not contain images; they will only be a linked.
43389 So don't forget this, if you move your
43393 file to another computer.
43394 This property can also slow down your computer when you view the DVI, because
43395 the DVI-viewer has to convert the image in the background to make it visible
43396 when you scroll in the DVI.
43397 So it is recommended that you use PDF for files with many images.
43400 \begin_layout Standard
43401 You can export your document to DVI by using the menu
43403 File\SpecialChar menuseparator
43404 Export\SpecialChar menuseparator
43408 You can view your document as DVI via the
43415 \begin_layout Section
43417 \begin_inset Index idx
43420 \begin_layout Plain Layout
43421 File Formats ! PostScript
43427 \begin_inset Index idx
43430 \begin_layout Plain Layout
43435 \begin_layout Plain Layout
43446 \begin_layout Plain Layout
43461 \begin_layout Standard
43462 This file type has the extension
43463 \begin_inset Quotes eld
43471 \begin_inset Quotes erd
43475 PostScript was developed by the company
43479 as a printer language.
43480 The file therefore contains commands that the printer uses to print the
43482 PostScript can be seen as a
43483 \begin_inset Quotes eld
43486 programming language
43487 \begin_inset Quotes erd
43490 ; you can calculate with it and draw diagrams and images.
43494 \begin_layout Plain Layout
43495 If you are interested to learn more about this, have a look at the \SpecialChar LaTeX
43502 \begin_inset CommandInset citation
43514 Due to this ability, the files are often bigger than PDFs.
43517 \begin_layout Standard
43518 PostScript can only contain images in the format
43519 \begin_inset Quotes eld
43522 Encapsulated PostScript
43523 \begin_inset Quotes erd
43526 (EPS, file extension
43527 \begin_inset Quotes eld
43535 \begin_inset Quotes erd
43539 As \SpecialChar LyX
43540 allows you to use any known image format in your document, it has to
43541 convert images in the background to EPS.
43543 \begin_inset space ~
43547 \begin_inset space ~
43550 images in your document, \SpecialChar LyX
43552 \begin_inset space ~
43555 conversions whenever you view or export your document.
43556 This will slow down your work flow with \SpecialChar LyX
43558 So if you plan to use PostScript, you can insert your images directly as
43559 EPS to avoid this problem.
43562 \begin_layout Standard
43563 You can export your document to PostScript using the menu
43565 File\SpecialChar menuseparator
43566 Export\SpecialChar menuseparator
43570 You can view your document as PostScript via the
43577 \begin_layout Section
43579 \begin_inset Index idx
43582 \begin_layout Plain Layout
43589 \begin_inset Index idx
43592 \begin_layout Plain Layout
43601 \begin_layout Standard
43602 This file type has the extension
43603 \begin_inset Quotes eld
43611 \begin_inset Quotes erd
43616 \begin_inset Quotes eld
43619 Portable Document Format
43620 \begin_inset Quotes erd
43623 (PDF) was developed by
43627 as a derivative of PostScript.
43628 It is more compressed and it uses fewer commands than PostScript.
43630 \begin_inset Quotes eld
43634 \begin_inset Quotes erd
43637 implies, it can be processed at any computer system and the printed output
43638 looks exactly the same.
43641 \begin_layout Standard
43642 PDF can contain images in its own PDF format, in the format
43643 \begin_inset Quotes eld
43646 Joint Photographic Experts Group
43647 \begin_inset Quotes erd
43650 (JPG, file extension
43651 \begin_inset Quotes eld
43659 \begin_inset Quotes erd
43663 \begin_inset Quotes eld
43671 \begin_inset Quotes erd
43674 ), and in the format
43675 \begin_inset Quotes eld
43678 Portable Network Graphics
43679 \begin_inset Quotes erd
43682 (PNG, file extension
43683 \begin_inset Quotes eld
43691 \begin_inset Quotes erd
43695 Nevertheless you can use any other image format, because \SpecialChar LyX
43697 in the background to one of these formats.
43698 But as described in the section about PostScript, the image conversion
43699 will slow down your work flow.
43700 So it is recommended that you use images in one of the three mentioned
43704 \begin_layout Standard
43705 You can export your document to PDF via the menu
43707 File\SpecialChar menuseparator
43710 in three different ways:
43713 \begin_layout Description
43715 \begin_inset space ~
43718 (ps2pdf) This uses the program
43722 that creates a PDF from a PostScript-version of your file.
43723 The PostScript-version is produced by the program
43727 which uses a DVI-version as intermediate step.
43728 So this export variant consists of three conversions.
43731 \begin_layout Description
43733 \begin_inset space ~
43736 (dvipdfm) This uses the program
43740 that converts your file in the background to DVI and in a second step to
43744 \begin_layout Description
43746 \begin_inset space ~
43749 (pdflatex) This uses the program
43753 that converts your file directly to PDF.
43756 \begin_layout Standard
43757 It is recommended that you use
43760 \begin_inset space ~
43769 supports all features of actual PDF-versions, is quick and works stable.
43774 is not under development and therefore a bit outdated.
43777 \begin_layout Standard
43778 You can view your document as PDF via the
43782 menu or by using a toolbar button.
43785 \begin_layout Chapter
43786 List of dvips color names
43787 \begin_inset CommandInset label
43789 name "chap:List-of-dvips-colornames"
43796 \begin_layout Standard
43797 \begin_inset Tabular
43798 <lyxtabular version="3" rows="17" columns="4">
43799 <features tabularvalignment="middle">
43800 <column alignment="left" valignment="top" width="0pt">
43801 <column alignment="left" valignment="top" width="0pt">
43802 <column alignment="left" valignment="top" width="0pt">
43803 <column alignment="left" valignment="top" width="0pt">
43805 <cell alignment="left" valignment="top" usebox="none">
43808 \begin_layout Plain Layout
43812 \begin_layout Plain Layout
43825 \begin_layout Plain Layout
43836 \begin_layout Plain Layout
43848 <cell alignment="left" valignment="top" usebox="none">
43851 \begin_layout Plain Layout
43855 \begin_layout Plain Layout
43868 \begin_layout Plain Layout
43879 \begin_layout Plain Layout
43891 <cell alignment="left" valignment="top" usebox="none">
43894 \begin_layout Plain Layout
43898 \begin_layout Plain Layout
43911 \begin_layout Plain Layout
43922 \begin_layout Plain Layout
43934 <cell alignment="left" valignment="top" usebox="none">
43937 \begin_layout Plain Layout
43941 \begin_layout Plain Layout
43954 \begin_layout Plain Layout
43965 \begin_layout Plain Layout
43979 <cell alignment="center" valignment="top" usebox="none">
43982 \begin_layout Plain Layout
43986 \begin_layout Plain Layout
43999 \begin_layout Plain Layout
44007 \begin_inset Phantom Phantom
44010 \begin_layout Plain Layout
44020 \begin_layout Plain Layout
44032 <cell alignment="center" valignment="top" usebox="none">
44035 \begin_layout Plain Layout
44039 \begin_layout Plain Layout
44052 \begin_layout Plain Layout
44060 \begin_inset Phantom Phantom
44063 \begin_layout Plain Layout
44073 \begin_layout Plain Layout
44085 <cell alignment="center" valignment="top" usebox="none">
44088 \begin_layout Plain Layout
44092 \begin_layout Plain Layout
44105 \begin_layout Plain Layout
44113 \begin_inset Phantom Phantom
44116 \begin_layout Plain Layout
44126 \begin_layout Plain Layout
44138 <cell alignment="center" valignment="top" usebox="none">
44141 \begin_layout Plain Layout
44145 \begin_layout Plain Layout
44158 \begin_layout Plain Layout
44166 \begin_inset Phantom Phantom
44169 \begin_layout Plain Layout
44179 \begin_layout Plain Layout
44193 <cell alignment="left" valignment="top" usebox="none">
44196 \begin_layout Plain Layout
44200 \begin_layout Plain Layout
44213 \begin_layout Plain Layout
44221 \begin_inset Phantom Phantom
44224 \begin_layout Plain Layout
44234 \begin_layout Plain Layout
44246 <cell alignment="left" valignment="top" usebox="none">
44249 \begin_layout Plain Layout
44253 \begin_layout Plain Layout
44266 \begin_layout Plain Layout
44274 \begin_inset Phantom Phantom
44277 \begin_layout Plain Layout
44287 \begin_layout Plain Layout
44299 <cell alignment="left" valignment="top" usebox="none">
44302 \begin_layout Plain Layout
44306 \begin_layout Plain Layout
44319 \begin_layout Plain Layout
44327 \begin_inset Phantom Phantom
44330 \begin_layout Plain Layout
44340 \begin_layout Plain Layout
44352 <cell alignment="left" valignment="top" usebox="none">
44355 \begin_layout Plain Layout
44359 \begin_layout Plain Layout
44372 \begin_layout Plain Layout
44380 \begin_inset Phantom Phantom
44383 \begin_layout Plain Layout
44393 \begin_layout Plain Layout
44407 <cell alignment="left" valignment="top" usebox="none">
44410 \begin_layout Plain Layout
44414 \begin_layout Plain Layout
44427 \begin_layout Plain Layout
44435 \begin_inset Phantom Phantom
44438 \begin_layout Plain Layout
44448 \begin_layout Plain Layout
44460 <cell alignment="left" valignment="top" usebox="none">
44463 \begin_layout Plain Layout
44467 \begin_layout Plain Layout
44480 \begin_layout Plain Layout
44488 \begin_inset Phantom Phantom
44491 \begin_layout Plain Layout
44501 \begin_layout Plain Layout
44513 <cell alignment="left" valignment="top" usebox="none">
44516 \begin_layout Plain Layout
44520 \begin_layout Plain Layout
44533 \begin_layout Plain Layout
44541 \begin_inset Phantom Phantom
44544 \begin_layout Plain Layout
44554 \begin_layout Plain Layout
44566 <cell alignment="left" valignment="top" usebox="none">
44569 \begin_layout Plain Layout
44573 \begin_layout Plain Layout
44586 \begin_layout Plain Layout
44594 \begin_inset Phantom Phantom
44597 \begin_layout Plain Layout
44607 \begin_layout Plain Layout
44621 <cell alignment="left" valignment="top" usebox="none">
44624 \begin_layout Plain Layout
44628 \begin_layout Plain Layout
44641 \begin_layout Plain Layout
44649 \begin_inset Phantom Phantom
44652 \begin_layout Plain Layout
44662 \begin_layout Plain Layout
44674 <cell alignment="left" valignment="top" usebox="none">
44677 \begin_layout Plain Layout
44681 \begin_layout Plain Layout
44694 \begin_layout Plain Layout
44702 \begin_inset Phantom Phantom
44705 \begin_layout Plain Layout
44715 \begin_layout Plain Layout
44727 <cell alignment="left" valignment="top" usebox="none">
44730 \begin_layout Plain Layout
44734 \begin_layout Plain Layout
44747 \begin_layout Plain Layout
44755 \begin_inset Phantom Phantom
44758 \begin_layout Plain Layout
44768 \begin_layout Plain Layout
44780 <cell alignment="left" valignment="top" usebox="none">
44783 \begin_layout Plain Layout
44787 \begin_layout Plain Layout
44800 \begin_layout Plain Layout
44808 \begin_inset Phantom Phantom
44811 \begin_layout Plain Layout
44821 \begin_layout Plain Layout
44835 <cell alignment="left" valignment="top" usebox="none">
44838 \begin_layout Plain Layout
44842 \begin_layout Plain Layout
44855 \begin_layout Plain Layout
44863 \begin_inset Phantom Phantom
44866 \begin_layout Plain Layout
44876 \begin_layout Plain Layout
44888 <cell alignment="left" valignment="top" usebox="none">
44891 \begin_layout Plain Layout
44895 \begin_layout Plain Layout
44908 \begin_layout Plain Layout
44916 \begin_inset Phantom Phantom
44919 \begin_layout Plain Layout
44929 \begin_layout Plain Layout
44941 <cell alignment="left" valignment="top" usebox="none">
44944 \begin_layout Plain Layout
44948 \begin_layout Plain Layout
44961 \begin_layout Plain Layout
44969 \begin_inset Phantom Phantom
44972 \begin_layout Plain Layout
44982 \begin_layout Plain Layout
44994 <cell alignment="left" valignment="top" usebox="none">
44997 \begin_layout Plain Layout
45001 \begin_layout Plain Layout
45014 \begin_layout Plain Layout
45022 \begin_inset Phantom Phantom
45025 \begin_layout Plain Layout
45035 \begin_layout Plain Layout
45049 <cell alignment="center" valignment="top" usebox="none">
45052 \begin_layout Plain Layout
45056 \begin_layout Plain Layout
45069 \begin_layout Plain Layout
45077 \begin_inset Phantom Phantom
45080 \begin_layout Plain Layout
45090 \begin_layout Plain Layout
45102 <cell alignment="center" valignment="top" usebox="none">
45105 \begin_layout Plain Layout
45109 \begin_layout Plain Layout
45122 \begin_layout Plain Layout
45130 \begin_inset Phantom Phantom
45133 \begin_layout Plain Layout
45143 \begin_layout Plain Layout
45155 <cell alignment="center" valignment="top" usebox="none">
45158 \begin_layout Plain Layout
45162 \begin_layout Plain Layout
45175 \begin_layout Plain Layout
45183 \begin_inset Phantom Phantom
45186 \begin_layout Plain Layout
45196 \begin_layout Plain Layout
45208 <cell alignment="center" valignment="top" usebox="none">
45211 \begin_layout Plain Layout
45215 \begin_layout Plain Layout
45228 \begin_layout Plain Layout
45236 \begin_inset Phantom Phantom
45239 \begin_layout Plain Layout
45249 \begin_layout Plain Layout
45263 <cell alignment="left" valignment="top" usebox="none">
45266 \begin_layout Plain Layout
45270 \begin_layout Plain Layout
45283 \begin_layout Plain Layout
45291 \begin_inset Phantom Phantom
45294 \begin_layout Plain Layout
45304 \begin_layout Plain Layout
45316 <cell alignment="left" valignment="top" usebox="none">
45319 \begin_layout Plain Layout
45323 \begin_layout Plain Layout
45336 \begin_layout Plain Layout
45344 \begin_inset Phantom Phantom
45347 \begin_layout Plain Layout
45357 \begin_layout Plain Layout
45369 <cell alignment="left" valignment="top" usebox="none">
45372 \begin_layout Plain Layout
45376 \begin_layout Plain Layout
45389 \begin_layout Plain Layout
45397 \begin_inset Phantom Phantom
45400 \begin_layout Plain Layout
45410 \begin_layout Plain Layout
45422 <cell alignment="left" valignment="top" usebox="none">
45425 \begin_layout Plain Layout
45429 \begin_layout Plain Layout
45442 \begin_layout Plain Layout
45450 \begin_inset Phantom Phantom
45453 \begin_layout Plain Layout
45463 \begin_layout Plain Layout
45477 <cell alignment="left" valignment="top" usebox="none">
45480 \begin_layout Plain Layout
45484 \begin_layout Plain Layout
45497 \begin_layout Plain Layout
45505 \begin_inset Phantom Phantom
45508 \begin_layout Plain Layout
45518 \begin_layout Plain Layout
45530 <cell alignment="left" valignment="top" usebox="none">
45533 \begin_layout Plain Layout
45537 \begin_layout Plain Layout
45550 \begin_layout Plain Layout
45558 \begin_inset Phantom Phantom
45561 \begin_layout Plain Layout
45571 \begin_layout Plain Layout
45583 <cell alignment="left" valignment="top" usebox="none">
45586 \begin_layout Plain Layout
45590 \begin_layout Plain Layout
45603 \begin_layout Plain Layout
45611 \begin_inset Phantom Phantom
45614 \begin_layout Plain Layout
45624 \begin_layout Plain Layout
45636 <cell alignment="left" valignment="top" usebox="none">
45639 \begin_layout Plain Layout
45643 \begin_layout Plain Layout
45656 \begin_layout Plain Layout
45664 \begin_inset Phantom Phantom
45667 \begin_layout Plain Layout
45677 \begin_layout Plain Layout
45691 <cell alignment="left" valignment="top" usebox="none">
45694 \begin_layout Plain Layout
45698 \begin_layout Plain Layout
45711 \begin_layout Plain Layout
45719 \begin_inset Phantom Phantom
45722 \begin_layout Plain Layout
45732 \begin_layout Plain Layout
45744 <cell alignment="left" valignment="top" usebox="none">
45747 \begin_layout Plain Layout
45751 \begin_layout Plain Layout
45764 \begin_layout Plain Layout
45772 \begin_inset Phantom Phantom
45775 \begin_layout Plain Layout
45785 \begin_layout Plain Layout
45797 <cell alignment="left" valignment="top" usebox="none">
45800 \begin_layout Plain Layout
45804 \begin_layout Plain Layout
45817 \begin_layout Plain Layout
45825 \begin_inset Phantom Phantom
45828 \begin_layout Plain Layout
45838 \begin_layout Plain Layout
45850 <cell alignment="left" valignment="top" usebox="none">
45853 \begin_layout Plain Layout
45857 \begin_layout Plain Layout
45870 \begin_layout Plain Layout
45878 \begin_inset Phantom Phantom
45881 \begin_layout Plain Layout
45891 \begin_layout Plain Layout
45905 <cell alignment="left" valignment="top" usebox="none">
45908 \begin_layout Plain Layout
45912 \begin_layout Plain Layout
45925 \begin_layout Plain Layout
45933 \begin_inset Phantom Phantom
45936 \begin_layout Plain Layout
45946 \begin_layout Plain Layout
45958 <cell alignment="left" valignment="top" usebox="none">
45961 \begin_layout Plain Layout
45965 \begin_layout Plain Layout
45978 \begin_layout Plain Layout
45986 \begin_inset Phantom Phantom
45989 \begin_layout Plain Layout
45999 \begin_layout Plain Layout
46011 <cell alignment="left" valignment="top" usebox="none">
46014 \begin_layout Plain Layout
46018 \begin_layout Plain Layout
46031 \begin_layout Plain Layout
46039 \begin_inset Phantom Phantom
46042 \begin_layout Plain Layout
46052 \begin_layout Plain Layout
46064 <cell alignment="left" valignment="top" usebox="none">
46067 \begin_layout Plain Layout
46071 \begin_layout Plain Layout
46084 \begin_layout Plain Layout
46092 \begin_inset Phantom Phantom
46095 \begin_layout Plain Layout
46105 \begin_layout Plain Layout
46119 <cell alignment="left" valignment="top" usebox="none">
46122 \begin_layout Plain Layout
46126 \begin_layout Plain Layout
46139 \begin_layout Plain Layout
46147 \begin_inset Phantom Phantom
46150 \begin_layout Plain Layout
46160 \begin_layout Plain Layout
46172 <cell alignment="left" valignment="top" usebox="none">
46175 \begin_layout Plain Layout
46179 \begin_layout Plain Layout
46192 \begin_layout Plain Layout
46200 \begin_inset Phantom Phantom
46203 \begin_layout Plain Layout
46213 \begin_layout Plain Layout
46225 <cell alignment="left" valignment="top" usebox="none">
46228 \begin_layout Plain Layout
46232 \begin_layout Plain Layout
46245 \begin_layout Plain Layout
46253 \begin_inset Phantom Phantom
46256 \begin_layout Plain Layout
46266 \begin_layout Plain Layout
46278 <cell alignment="left" valignment="top" usebox="none">
46281 \begin_layout Plain Layout
46285 \begin_layout Plain Layout
46298 \begin_layout Plain Layout
46306 \begin_inset Phantom Phantom
46309 \begin_layout Plain Layout
46319 \begin_layout Plain Layout
46333 <cell alignment="left" valignment="top" usebox="none">
46336 \begin_layout Plain Layout
46340 \begin_layout Plain Layout
46353 \begin_layout Plain Layout
46361 \begin_inset Phantom Phantom
46364 \begin_layout Plain Layout
46374 \begin_layout Plain Layout
46386 <cell alignment="left" valignment="top" usebox="none">
46389 \begin_layout Plain Layout
46393 \begin_layout Plain Layout
46406 \begin_layout Plain Layout
46414 \begin_inset Phantom Phantom
46417 \begin_layout Plain Layout
46427 \begin_layout Plain Layout
46439 <cell alignment="left" valignment="top" usebox="none">
46442 \begin_layout Plain Layout
46446 \begin_layout Plain Layout
46459 \begin_layout Plain Layout
46467 \begin_inset Phantom Phantom
46470 \begin_layout Plain Layout
46480 \begin_layout Plain Layout
46492 <cell alignment="left" valignment="top" usebox="none">
46495 \begin_layout Plain Layout
46499 \begin_layout Plain Layout
46512 \begin_layout Plain Layout
46520 \begin_inset Phantom Phantom
46523 \begin_layout Plain Layout
46533 \begin_layout Plain Layout
46547 <cell alignment="left" valignment="top" usebox="none">
46550 \begin_layout Plain Layout
46554 \begin_layout Plain Layout
46567 \begin_layout Plain Layout
46575 \begin_inset Phantom Phantom
46578 \begin_layout Plain Layout
46588 \begin_layout Plain Layout
46600 <cell alignment="left" valignment="top" usebox="none">
46603 \begin_layout Plain Layout
46607 \begin_layout Plain Layout
46620 \begin_layout Plain Layout
46628 \begin_inset Phantom Phantom
46631 \begin_layout Plain Layout
46641 \begin_layout Plain Layout
46653 <cell alignment="left" valignment="top" usebox="none">
46656 \begin_layout Plain Layout
46660 \begin_layout Plain Layout
46673 \begin_layout Plain Layout
46681 \begin_inset Phantom Phantom
46684 \begin_layout Plain Layout
46694 \begin_layout Plain Layout
46706 <cell alignment="left" valignment="top" usebox="none">
46709 \begin_layout Plain Layout
46713 \begin_layout Plain Layout
46726 \begin_layout Plain Layout
46734 \begin_inset Phantom Phantom
46737 \begin_layout Plain Layout
46747 \begin_layout Plain Layout
46761 <cell alignment="left" valignment="top" usebox="none">
46764 \begin_layout Plain Layout
46768 \begin_layout Plain Layout
46781 \begin_layout Plain Layout
46789 \begin_inset Phantom Phantom
46792 \begin_layout Plain Layout
46802 \begin_layout Plain Layout
46814 <cell alignment="left" valignment="top" usebox="none">
46817 \begin_layout Plain Layout
46821 \begin_layout Plain Layout
46834 \begin_layout Plain Layout
46842 \begin_inset Phantom Phantom
46845 \begin_layout Plain Layout
46855 \begin_layout Plain Layout
46867 <cell alignment="left" valignment="top" usebox="none">
46870 \begin_layout Plain Layout
46874 \begin_layout Plain Layout
46887 \begin_layout Plain Layout
46895 \begin_inset Phantom Phantom
46898 \begin_layout Plain Layout
46908 \begin_layout Plain Layout
46920 <cell alignment="left" valignment="top" usebox="none">
46923 \begin_layout Plain Layout
46927 \begin_layout Plain Layout
46940 \begin_layout Plain Layout
46948 \begin_inset Phantom Phantom
46951 \begin_layout Plain Layout
46961 \begin_layout Plain Layout
46975 <cell alignment="left" valignment="top" usebox="none">
46978 \begin_layout Plain Layout
46982 \begin_layout Plain Layout
46995 \begin_layout Plain Layout
47003 \begin_inset Phantom Phantom
47006 \begin_layout Plain Layout
47016 \begin_layout Plain Layout
47028 <cell alignment="left" valignment="top" usebox="none">
47031 \begin_layout Plain Layout
47035 \begin_layout Plain Layout
47048 \begin_layout Plain Layout
47056 \begin_inset Phantom Phantom
47059 \begin_layout Plain Layout
47069 \begin_layout Plain Layout
47081 <cell alignment="left" valignment="top" usebox="none">
47084 \begin_layout Plain Layout
47088 \begin_layout Plain Layout
47101 \begin_layout Plain Layout
47109 \begin_inset Phantom Phantom
47112 \begin_layout Plain Layout
47122 \begin_layout Plain Layout
47134 <cell alignment="left" valignment="top" usebox="none">
47137 \begin_layout Plain Layout
47141 \begin_layout Plain Layout
47154 \begin_layout Plain Layout
47162 \begin_inset Phantom Phantom
47165 \begin_layout Plain Layout
47175 \begin_layout Plain Layout
47189 <cell alignment="left" valignment="top" usebox="none">
47192 \begin_layout Plain Layout
47196 \begin_layout Plain Layout
47209 \begin_layout Plain Layout
47217 \begin_inset Phantom Phantom
47220 \begin_layout Plain Layout
47230 \begin_layout Plain Layout
47242 <cell alignment="left" valignment="top" usebox="none">
47245 \begin_layout Plain Layout
47251 <cell alignment="left" valignment="top" usebox="none">
47254 \begin_layout Plain Layout
47260 <cell alignment="left" valignment="top" usebox="none">
47263 \begin_layout Plain Layout
47277 \begin_layout Chapter
47278 Explanation of Equation
47279 \begin_inset space ~
47283 \begin_inset CommandInset ref
47290 \begin_inset CommandInset label
47292 name "cha:Explanation-of-Equation"
47299 \begin_layout Standard
47300 We can calculate the total width of
47305 \begin_inset Formula $W_{\mathrm{tot\,n}}$
47309 \begin_inset Formula
47311 W_{\mathrm{tot}\,n}=n\cdot(W_{g\,n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
47317 \begin_inset Formula $W_{g\,n}$
47320 is the given width of all cells,
47326 is the \SpecialChar LaTeX
47327 -length between the cell text and the cell border (its default value
47329 \begin_inset space \thinspace{}
47339 is the thickness of the cell border line, the default is 0.4
47340 \begin_inset space \thinspace{}
47346 \begin_layout Standard
47348 \begin_inset space ~
47352 \begin_inset CommandInset ref
47354 reference "eq:Wtot_n"
47358 , the total width of a multicolumn
47359 \begin_inset Formula $W_{\mathrm{tot\,mult}}$
47363 \begin_inset Formula
47365 W_{\mathrm{tot\,mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
47373 \begin_layout Standard
47374 By setting equation
47375 \begin_inset space ~
47379 \begin_inset CommandInset ref
47381 reference "eq:Wtot_n"
47386 \begin_inset CommandInset ref
47388 reference "eq:Wtot_mult"
47392 equal we can calculate the needed given width
47393 \begin_inset Formula $W_{g\,n}$
47400 columns are spanned, so that each column has a total width of
47401 \begin_inset Formula $W_{\mathrm{tot\,mult}}/n$
47405 \begin_inset Formula
47407 W_{g\,n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
47415 \begin_layout Bibliography
47416 \begin_inset CommandInset bibitem
47417 LatexCommand bibitem
47418 key "latexcompanion"
47423 Frank Mittelbach and Michel Goossens:
47425 The \SpecialChar LaTeX
47426 Companion Second Edition.
47429 Addison-Wesley, 2004
47432 \begin_layout Bibliography
47433 \begin_inset CommandInset bibitem
47434 LatexCommand bibitem
47440 Helmut Kopka and Patrick W.
47443 A Guide to \SpecialChar LaTeX
47447 Addison-Wesley, 2003
47450 \begin_layout Bibliography
47451 \begin_inset CommandInset bibitem
47452 LatexCommand bibitem
47461 : A Document Preparation System.
47464 Addison-Wesley, second edition, 1994
47467 \begin_layout Bibliography
47468 \begin_inset CommandInset bibitem
47469 LatexCommand bibitem
47475 Documentation of the \SpecialChar LaTeX
47479 \begin_inset CommandInset href
47482 target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
47490 \begin_inset Index idx
47493 \begin_layout Plain Layout
47495 -packages ! arydshln
47503 \begin_layout Bibliography
47504 \begin_inset CommandInset bibitem
47505 LatexCommand bibitem
47511 Documentation of the \SpecialChar LaTeX
47515 \begin_inset CommandInset href
47518 target "https://www.ctan.org/tex-archive/macros/latex/contrib//booktabs/booktabs.pdf"
47526 \begin_inset Index idx
47529 \begin_layout Plain Layout
47531 -packages ! booktabs
47539 \begin_layout Bibliography
47540 \begin_inset CommandInset bibitem
47541 LatexCommand bibitem
47547 Documentation of the \SpecialChar LaTeX
47551 \begin_inset CommandInset href
47554 target "https://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"
47562 \begin_inset Index idx
47565 \begin_layout Plain Layout
47567 -packages ! caption
47575 \begin_layout Bibliography
47576 \begin_inset CommandInset bibitem
47577 LatexCommand bibitem
47583 Documentation of the \SpecialChar LaTeX
47587 \begin_inset CommandInset href
47590 target "https://www.ctan.org/tex-archive/macros/latex/contrib//diagbox/diagbox.pdf"
47598 \begin_inset Index idx
47601 \begin_layout Plain Layout
47603 -packages ! diagbox
47611 \begin_layout Bibliography
47612 \begin_inset CommandInset bibitem
47613 LatexCommand bibitem
47619 Documentation of the \SpecialChar LaTeX
47623 \begin_inset CommandInset href
47626 target "https://www.ctan.org/tex-archive/macros/latex/contrib//endfloat/endfloat.pdf"
47634 \begin_inset Index idx
47637 \begin_layout Plain Layout
47639 -packages ! endfloat
47647 \begin_layout Bibliography
47648 \begin_inset CommandInset bibitem
47649 LatexCommand bibitem
47655 Documentation of the \SpecialChar LaTeX
47659 \begin_inset CommandInset href
47662 target "https://www.ctan.org/tex-archive/macros/latex/contrib//footmisc/footmisc.pdf"
47670 \begin_inset Index idx
47673 \begin_layout Plain Layout
47675 -packages ! footmisc
47683 \begin_layout Bibliography
47684 \begin_inset CommandInset bibitem
47685 LatexCommand bibitem
47691 Documentation of the \SpecialChar LaTeX
47695 \begin_inset CommandInset href
47698 target "https://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
47706 \begin_inset Index idx
47709 \begin_layout Plain Layout
47711 -packages ! hyperref
47719 \begin_layout Bibliography
47720 \begin_inset CommandInset bibitem
47721 LatexCommand bibitem
47727 Documentation of the \SpecialChar LaTeX
47731 \begin_inset CommandInset href
47734 target "https://www.ctan.org/tex-archive/macros/latex/contrib//hyperref/hyperref.pdf"
47742 \begin_inset Index idx
47745 \begin_layout Plain Layout
47747 -packages ! hyperref
47755 \begin_layout Bibliography
47756 \begin_inset CommandInset bibitem
47757 LatexCommand bibitem
47763 Documentation of the \SpecialChar LaTeX
47767 \begin_inset CommandInset href
47770 target "https://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf"
47778 \begin_inset Index idx
47781 \begin_layout Plain Layout
47783 -packages ! KOMA-Script
47791 \begin_layout Bibliography
47792 \begin_inset CommandInset bibitem
47793 LatexCommand bibitem
47799 Documentation of the \SpecialChar LaTeX
47803 \begin_inset CommandInset href
47806 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/lettrine.pdf"
47814 \begin_inset CommandInset href
47817 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/demo.pdf"
47823 \begin_inset Index idx
47826 \begin_layout Plain Layout
47828 -packages ! lettrine
47836 \begin_layout Bibliography
47837 \begin_inset CommandInset bibitem
47838 LatexCommand bibitem
47844 Documentation of the \SpecialChar LaTeX
47848 \begin_inset CommandInset href
47851 target "https://www.ctan.org/tex-archive/macros/latex/contrib//listings/listings.pdf"
47859 \begin_inset Index idx
47862 \begin_layout Plain Layout
47864 -packages ! listings
47872 \begin_layout Bibliography
47873 \begin_inset CommandInset bibitem
47874 LatexCommand bibitem
47880 Documentation of the \SpecialChar LaTeX
47884 \begin_inset CommandInset href
47887 target "https://www.ctan.org/tex-archive/macros/latex/contrib//minted/minted.pdf"
47895 \begin_inset Index idx
47898 \begin_layout Plain Layout
47908 \begin_layout Bibliography
47909 \begin_inset CommandInset bibitem
47910 LatexCommand bibitem
47916 Documentation of the \SpecialChar LaTeX
47920 \begin_inset CommandInset href
47923 target "https://www.ctan.org/tex-archive/macros/latex/contrib//marginnote/marginnote.pdf"
47931 \begin_inset Index idx
47934 \begin_layout Plain Layout
47936 -packages ! marginnote
47944 \begin_layout Bibliography
47945 \begin_inset CommandInset bibitem
47946 LatexCommand bibitem
47952 Documentation of the \SpecialChar LaTeX
47956 \begin_inset CommandInset href
47959 target "https://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
47967 \begin_inset Index idx
47970 \begin_layout Plain Layout
47972 -packages ! pdfpages
47980 \begin_layout Bibliography
47981 \begin_inset CommandInset bibitem
47982 LatexCommand bibitem
47988 Documentation of the \SpecialChar LaTeX
47992 \begin_inset CommandInset href
47995 target "https://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
48003 \begin_inset Index idx
48006 \begin_layout Plain Layout
48008 -packages ! prettyref
48016 \begin_layout Bibliography
48017 \begin_inset CommandInset bibitem
48018 LatexCommand bibitem
48024 Web page of the \SpecialChar LaTeX
48028 \begin_inset CommandInset href
48031 target "http://tug.org/PSTricks/"
48039 \begin_inset Index idx
48042 \begin_layout Plain Layout
48044 -packages ! PSTricks
48052 \begin_layout Bibliography
48053 \begin_inset CommandInset bibitem
48054 LatexCommand bibitem
48060 Documentation of the \SpecialChar LaTeX
48064 \begin_inset CommandInset href
48067 target "https://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
48075 \begin_inset Index idx
48078 \begin_layout Plain Layout
48080 -packages ! refstyle
48088 \begin_layout Bibliography
48089 \begin_inset CommandInset bibitem
48090 LatexCommand bibitem
48096 Documentation of the \SpecialChar LaTeX
48100 \begin_inset CommandInset href
48103 target "https://www.ctan.org/tex-archive/macros/latex/contrib//sidecap/sidecap.pdf"
48111 \begin_inset Index idx
48114 \begin_layout Plain Layout
48116 -packages ! sidecap
48124 \begin_layout Bibliography
48125 \begin_inset CommandInset bibitem
48126 LatexCommand bibitem
48132 Documentation of the option
48133 \begin_inset CommandInset href
48135 name "Omit text in PDF"
48136 target "https://www.ctan.org/tex-archive/info/svg-inkscape/InkscapePDFLaTeX.pdf"
48144 \begin_inset CommandInset href
48147 target "https://inkscape.org"
48155 \begin_layout Standard
48156 \begin_inset CommandInset index_print
48157 LatexCommand printindex