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 \setlength{\parskip}{\medskipamount}
154 \setlength{\parindent}{0pt}
156 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,dvipsnames,table
157 \use_default_options false
163 \maintain_unincluded_children no
165 \language_package default
168 \font_roman "lmodern" "default"
169 \font_sans "lmss" "default"
170 \font_typewriter "lmtt" "default"
171 \font_math "auto" "auto"
172 \font_default_family default
173 \use_non_tex_fonts false
175 \font_roman_osf false
177 \font_typewriter_osf false
178 \font_sf_scale 100 100
179 \font_tt_scale 100 100
181 \use_dash_ligatures true
183 \default_output_format pdf2
185 \bibtex_command default
186 \index_command makeindex
190 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
191 \pdf_author "LyX Team, Uwe Stöhr"
192 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
193 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
195 \pdf_bookmarksnumbered true
196 \pdf_bookmarksopen true
197 \pdf_bookmarksopenlevel 1
198 \pdf_breaklinks false
202 \pdf_pdfusetitle false
203 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
206 \use_package amsmath 1
207 \use_package amssymb 1
208 \use_package cancel 1
210 \use_package mathdots 1
211 \use_package mathtools 1
212 \use_package mhchem 1
213 \use_package stackrel 1
214 \use_package stmaryrd 1
215 \use_package undertilde 1
217 \cite_engine_type default
221 \paperorientation portrait
227 \notefontcolor #0000ff
234 \paragraph_separation indent
235 \paragraph_indentation default
237 \math_numbering_side default
238 \quotes_style english
242 \paperpagestyle default
244 \tracking_changes true
245 \output_changes false
247 \postpone_fragile_content false
250 \html_be_strict false
251 \docbook_table_output 0
252 \docbook_mathml_prefix 1
253 \author -1382599118 "Daniel"
254 \author -712698321 "Jürgen Spitzmüller"
256 \author 630872221 "Jean-Pierre Chrétien" jeanpierre.chretien@free.fr
263 's detailed Figure, Table, Floats, Notes, Boxes and External Material manual
267 by the \SpecialChar LyX
272 \begin_layout Plain Layout
274 If you have comments or error corrections, please send them to the \SpecialChar LyX
277 \begin_inset CommandInset href
279 name "lyx-docs@lists.lyx.org"
280 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
292 \begin_inset Note Note
295 \begin_layout Plain Layout
302 \begin_inset Newline newline
306 \begin_inset Newline newline
314 \begin_layout Standard
315 \begin_inset CommandInset toc
316 LatexCommand tableofcontents
323 \begin_layout Standard
324 \begin_inset Note Note
327 \begin_layout Plain Layout
328 To export all parts of this document to PDF, PS, or DVI the \SpecialChar LaTeX
339 diagbox, lettrine, marginnote, picinpar
346 If they are not installed you can export the document anyway but the sections
347 where the packages are required won't appear in the output.
350 \begin_layout Plain Layout
351 The latest PDF-version of this document can be found here:
352 \begin_inset Newline newline
357 https://wiki.lyx.org/LyX/Manuals#EmbeddedObjects
365 \begin_layout Chapter
367 \begin_inset Index idx
370 \begin_layout Plain Layout
377 \begin_inset Index idx
380 \begin_layout Plain Layout
385 \begin_layout Plain Layout
396 \begin_layout Plain Layout
411 \begin_layout Section
413 \begin_inset Index idx
416 \begin_layout Plain Layout
417 Figures ! Graphics Dialog
423 \begin_inset CommandInset label
425 name "sec:Graphics-Dialog"
432 \begin_layout Standard
433 To insert an image into your document, place the cursor at the text position
434 you want and click on the toolbar icon
437 arg "dialog-show-new-inset graphics"
442 Insert\SpecialChar menuseparator
446 Then a dialog will appear to choose the file to load.
447 The image will appear in the output exactly at the position where it is
451 \begin_layout Standard
452 The graphics dialog can be called at any time by clicking on an image.
453 This dialog has three tabs:
456 \begin_layout Description
461 Here you can choose an image file and adjust its appearance in the output.
462 The available units for the image size are explained in appendix
467 \begin_inset CommandInset ref
469 reference "cha:Units-available-in"
474 \begin_inset Newline newline
478 \begin_inset Index idx
481 \begin_layout Plain Layout
487 You can rotate images counter-clockwise by setting a rotation angle and
489 The image will also be rotated inside \SpecialChar LyX
491 \begin_inset Newline newline
495 \begin_inset Index idx
498 \begin_layout Plain Layout
504 Images can be scaled by using a percentage value or by setting the width
505 and height explicitly.
506 If you set only the width or only the height, the other size will be determined
508 If you set both, then the image will be transformed to the given size,
509 possibly distorting it.
510 To prevent the image from distortion, use the option
512 Maintain aspect ratio
515 The image will then be scaled so that its width and height don't exceed
516 the specified dimensions.
517 \begin_inset Newline newline
520 Images can be opened in a program of your choice by right-clicking on it
521 and choosing the entry
530 The program can be set for every image format in the file format settings
535 \begin_layout Description
548 Alternatively to the usage of scaling units it is possible to set image
549 coordinates to adjust the height and width of the image in the output.
550 The coordinates can also be calculated automatically by pressing the button
580 will only print the image region within the given coordinates.
581 Normally you don't need to worry about image coordinates and can ignore
585 \begin_layout Description
602 In this tab you can modify the appearance of the image within \SpecialChar LyX
603 and \SpecialChar LaTeX
605 can specify additional \SpecialChar LaTeX
607 \begin_inset Newline newline
618 makes the image appear in the output only as a frame with the size of the
620 \begin_inset Newline newline
631 you can define or join an image settings group.
632 \begin_inset Index idx
635 \begin_layout Plain Layout
636 Figures ! Settings grouping
641 Images within such a group share their settings, so adjusting one image
642 of the group automatically also adjusts all other images of the group in
644 So you can for example change the size for a bunch of images without the
645 need to manually change each of them.
646 Joining an existing group can also be done using the context menu of the
647 image by checking the name of the desired group.
650 \begin_layout Standard
651 \begin_inset VSpace bigskip
657 \begin_layout Standard
658 This is an example image in PDF format
662 \begin_layout Plain Layout
663 Image formats are explained in section
668 \begin_inset CommandInset ref
670 reference "sec:Image-Formats"
679 within a separate, horizontally centered paragraph:
682 \begin_layout Standard
684 \begin_inset Graphics
685 filename clipart/2D-intensity-plot.pdf
694 \begin_layout Standard
695 This is the same image like the one above but in draft mode:
698 \begin_layout Standard
700 \begin_inset Graphics
701 filename clipart/2D-intensity-plot.pdf
711 \begin_layout Standard
712 \begin_inset Newpage newpage
718 \begin_layout Section
720 \begin_inset CommandInset label
722 name "sec:Figure-Floats"
727 \begin_inset Index idx
730 \begin_layout Plain Layout
737 \begin_inset Index idx
740 \begin_layout Plain Layout
749 \begin_layout Standard
750 For general explanations about floats, have a look at section
755 \begin_inset CommandInset ref
757 reference "sec:FloatIntroduction"
764 \begin_layout Standard
768 arg "float-insert figure"
773 Insert\SpecialChar menuseparator
774 Float\SpecialChar menuseparator
777 inserts a float with a caption that has the label
778 \begin_inset Quotes eld
786 \begin_inset Quotes erd
789 (# is the actual number).
790 You can insert the image above the caption, like in Figure
795 \begin_inset CommandInset ref
797 reference "fig:A-star-in"
801 or below the caption, like in Figure
806 \begin_inset CommandInset ref
808 reference "fig:A-3D-object"
813 More about caption placement is described in section
818 \begin_inset CommandInset ref
820 reference "sec:Caption-Placement"
827 \begin_layout Standard
828 \begin_inset Float figure
835 \begin_layout Plain Layout
837 \begin_inset Graphics
838 filename clipart/Star-structure.pdf
849 \begin_layout Plain Layout
850 \begin_inset Caption Standard
852 \begin_layout Plain Layout
853 \begin_inset CommandInset label
872 \begin_layout Standard
873 \begin_inset Float figure
880 \begin_layout Plain Layout
881 \begin_inset Caption Standard
883 \begin_layout Plain Layout
884 \begin_inset CommandInset label
886 name "fig:A-3D-object"
898 \begin_layout Plain Layout
900 \begin_inset Graphics
901 filename clipart/3D-structure-distort.pdf
917 \begin_layout Standard
918 \begin_inset Index idx
921 \begin_layout Plain Layout
922 References ! to Figures
932 \begin_inset CommandInset ref
934 reference "fig:A-star-in"
939 \begin_inset CommandInset ref
941 reference "fig:A-3D-object"
945 are examples of referenced figures.
946 Figures can be referenced in the text by referencing their label.
947 To do this insert a label in the caption using the menu
949 Insert\SpecialChar menuseparator
952 or the toolbar button
959 You can now refer to the label using the menu
961 Insert\SpecialChar menuseparator
968 or the toolbar button
971 arg "dialog-show-new-inset ref"
975 It is important to use references to floats, rather than using vague references
977 \begin_inset Quotes eld
981 \begin_inset Quotes erd
984 , because \SpecialChar LaTeX
985 will reposition the floats in the final document and it might
987 \begin_inset Quotes eld
991 \begin_inset Quotes erd
995 \begin_inset Newline newline
998 Referencing is explained in detail in section
1003 \begin_inset CommandInset ref
1005 reference "sec:Referencing-Floats"
1012 \begin_layout Standard
1013 Normally only one image is inserted to a figure float, but sometimes you
1014 might want to use two images with separate subcaptions.
1015 This can be done by inserting image floats into existing image floats.
1016 Note that only the main caption of the float is added to the List of Figures.
1018 \begin_inset space ~
1022 \begin_inset CommandInset ref
1024 reference "fig:Two-distorted-images"
1028 is an example of a figure float with two images set side by side.
1029 You can also set the images one below the other.
1031 \begin_inset space ~
1035 \begin_inset CommandInset ref
1037 reference "fig:Pink-object"
1042 \begin_inset CommandInset ref
1044 reference "fig:A-star"
1051 \begin_layout Standard
1052 \begin_inset Float figure
1059 \begin_layout Plain Layout
1060 \begin_inset space \hfill{}
1064 \begin_inset Float figure
1071 \begin_layout Plain Layout
1072 \begin_inset Caption Standard
1074 \begin_layout Plain Layout
1075 \begin_inset CommandInset label
1077 name "fig:Pink-object"
1089 \begin_layout Plain Layout
1090 \begin_inset Graphics
1091 filename clipart/3D-structure-distort.pdf
1104 \begin_inset space \hfill{}
1108 \begin_inset Float figure
1115 \begin_layout Plain Layout
1116 \begin_inset Caption Standard
1118 \begin_layout Plain Layout
1119 \begin_inset CommandInset label
1133 \begin_layout Plain Layout
1134 \begin_inset Graphics
1135 filename clipart/Star-structure.pdf
1148 \begin_inset space \hfill{}
1154 \begin_layout Plain Layout
1155 \begin_inset Caption Standard
1157 \begin_layout Plain Layout
1158 \begin_inset CommandInset label
1160 name "fig:Two-distorted-images"
1164 Two distorted images.
1165 Both images are in the image settings group named
1166 \begin_inset Quotes eld
1170 \begin_inset Quotes erd
1186 \begin_layout Standard
1187 \begin_inset Newpage newpage
1193 \begin_layout Section
1195 \begin_inset CommandInset label
1197 name "sec:Image-Formats"
1202 \begin_inset Index idx
1205 \begin_layout Plain Layout
1212 \begin_inset Index idx
1215 \begin_layout Plain Layout
1216 Figures ! Image Formats
1224 \begin_layout Standard
1225 You can insert images in any known file format.
1226 But as explained in appendix
1227 \begin_inset space ~
1231 \begin_inset CommandInset ref
1233 reference "cha:Output-File-Formats"
1237 , each output document format allows only a few image formats.
1239 uses therefore the program
1243 in the background to convert the images to the right format.
1244 To increase your work flow by avoiding these conversions in the background,
1245 you could choose to use only the image formats that can directly be embedded
1246 in the output file format.
1247 The output file formats are explained in appendix
1248 \begin_inset space ~
1252 \begin_inset CommandInset ref
1254 reference "cha:Output-File-Formats"
1261 \begin_layout Standard
1262 Similar to fonts there are two types of image formats:
1265 \begin_layout Description
1267 \begin_inset space ~
1270 images consist of pixel values, often in a compressed form.
1271 They are therefore not fully scalable and look pixelated in large zooms.
1272 Well-known bitmap image formats are
1273 \begin_inset Quotes eld
1276 Graphics Interchange Format
1277 \begin_inset Quotes erd
1280 (GIF, file extension
1281 \begin_inset Quotes eld
1289 \begin_inset Quotes erd
1293 \begin_inset Index idx
1296 \begin_layout Plain Layout
1301 \begin_layout Plain Layout
1312 \begin_layout Plain Layout
1325 \begin_inset Quotes eld
1328 Portable Network Graphics
1329 \begin_inset Quotes erd
1332 (PNG, file extension
1333 \begin_inset Quotes eld
1341 \begin_inset Quotes erd
1345 \begin_inset Index idx
1348 \begin_layout Plain Layout
1353 \begin_layout Plain Layout
1364 \begin_layout Plain Layout
1377 \begin_inset Quotes eld
1380 Joint Photographic Experts Group
1381 \begin_inset Quotes erd
1384 (JPG, file extension
1385 \begin_inset Quotes eld
1393 \begin_inset Quotes erd
1397 \begin_inset Quotes eld
1405 \begin_inset Quotes erd
1409 \begin_inset Index idx
1412 \begin_layout Plain Layout
1417 \begin_layout Plain Layout
1428 \begin_layout Plain Layout
1443 \begin_layout Description
1445 \begin_inset space ~
1448 images consist of vectors and can therefore be scaled to any size without
1450 The scaling ability is necessary if you want to create presentations, because
1451 presentations are always scaled by the video projector.
1452 Scaling is also useful for online documents to let the user zoom into diagrams.
1453 \begin_inset Newline newline
1456 Well-known scalable image formats are
1457 \begin_inset Quotes eld
1460 Scalable Vector Graphics
1461 \begin_inset Quotes erd
1464 (SVG, file extension
1465 \begin_inset Quotes eld
1473 \begin_inset Quotes erd
1477 \begin_inset Index idx
1480 \begin_layout Plain Layout
1485 \begin_layout Plain Layout
1496 \begin_layout Plain Layout
1509 \begin_inset Quotes eld
1512 Encapsulated PostScript
1513 \begin_inset Quotes erd
1516 (EPS, file extension
1517 \begin_inset Quotes eld
1525 \begin_inset Quotes erd
1529 \begin_inset Index idx
1532 \begin_layout Plain Layout
1537 \begin_layout Plain Layout
1548 \begin_layout Plain Layout
1561 \begin_inset Quotes eld
1564 Portable Document Format
1565 \begin_inset Quotes erd
1568 (PDF, file extension
1569 \begin_inset Quotes eld
1577 \begin_inset Quotes erd
1581 \begin_inset Index idx
1584 \begin_layout Plain Layout
1591 \begin_inset Quotes eld
1595 \begin_inset Quotes erd
1598 (WMF, file extension
1599 \begin_inset Quotes eld
1607 \begin_inset Quotes erd
1611 \begin_inset Index idx
1614 \begin_layout Plain Layout
1619 \begin_layout Plain Layout
1630 \begin_layout Plain Layout
1644 \begin_inset Quotes eld
1648 \begin_inset Quotes erd
1651 , because you can convert any bitmap image to a PDF or EPS-image and the
1652 result will still be a bitmap image.
1653 In such cases only a header with the image properties is added to the original
1658 \begin_layout Plain Layout
1659 In the case of PDF, the original image is additionally compressed.
1665 The PDF-files generated by
1669 are for example bitmap images.
1672 \begin_layout Standard
1673 Normally it is not possible to convert a bitmap image into a scalable one,
1675 Only the image formats PDF and EPS can directly be embedded to PDF and
1676 PostScript output files, respectively.
1677 SVG and WMF-images are recalculated to bitmaps when the output file is
1678 generated because there is currently no adequate WMF/SVG
1679 \begin_inset Formula $\to$
1682 PDF/EPS converter available.
1685 \begin_layout Chapter
1687 \begin_inset Index idx
1690 \begin_layout Plain Layout
1699 \begin_layout Section
1701 \begin_inset Index idx
1704 \begin_layout Plain Layout
1705 Table ! Introduction
1713 \begin_layout Standard
1714 You can insert a table using either the toolbar button
1717 arg "tabular-insert"
1722 Insert\SpecialChar menuseparator
1726 The toolbar button offers you a graphical selection: move the mouse to
1727 set the column/row number of the table that should be created and then
1728 press a mouse button.
1729 When you use the menu to create a table, a dialog will appear, asking you
1730 for the number of rows and columns
1731 \change_inserted -712698321 1554289643
1732 , and you can select a specific (border) style
1735 \change_deleted -712698321 1554289644
1737 \begin_inset Newline newline
1741 \change_inserted -712698321 1554289645
1745 \begin_layout Standard
1746 The default table has lines around any cell and the first row appears separated
1747 from the rest of the table.
1748 This separation occurs due to a double line: The cells of the first row
1749 have a line below them and the cells of the second row have a line above
1751 Here is an example table:
1754 \begin_layout Standard
1756 \begin_inset Tabular
1757 <lyxtabular version="3" rows="4" columns="4">
1758 <features tabularvalignment="middle">
1759 <column alignment="center" valignment="top">
1760 <column alignment="center" valignment="top">
1761 <column alignment="center" valignment="top">
1762 <column alignment="center" valignment="top">
1764 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1767 \begin_layout Plain Layout
1773 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1776 \begin_layout Plain Layout
1791 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1794 \begin_layout Plain Layout
1800 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1803 \begin_layout Plain Layout
1811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1814 \begin_layout Plain Layout
1829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1832 \begin_layout Plain Layout
1838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1841 \begin_layout Plain Layout
1847 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1850 \begin_layout Plain Layout
1858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1861 \begin_layout Plain Layout
1876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1879 \begin_layout Plain Layout
1885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1888 \begin_layout Plain Layout
1894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1897 \begin_layout Plain Layout
1905 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1908 \begin_layout Plain Layout
1923 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1926 \begin_layout Plain Layout
1932 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1935 \begin_layout Plain Layout
1941 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1944 \begin_layout Plain Layout
1958 \begin_layout Standard
1960 \change_inserted -712698321 1554289664
1961 This corresponds to the
1962 \begin_inset Quotes eld
1966 \begin_inset Quotes erd
1969 table style listed in the style selection.
1972 \begin_layout Standard
1974 \change_inserted -712698321 1554289664
1975 Other available styles include:
1978 \begin_layout Itemize
1980 \change_inserted -712698321 1554289664
1982 \begin_inset Quotes eld
1986 \begin_inset Quotes erd
1989 which looks line the above table, but without the first row being separated
1993 \begin_layout Itemize
1995 \change_inserted -712698321 1554289664
1996 a border-less table with no lines at all,
1999 \begin_layout Itemize
2001 \change_inserted -712698321 1554289664
2003 \begin_inset Quotes eld
2007 \begin_inset Quotes erd
2010 as often used in professional publishing with horizontal lines only and
2011 bold top/bottom lines (see
2021 \change_inserted 630872221 1622640694
2022 It is also possible to have an horizontal (thin) Footline above the last
2028 \begin_layout Standard
2030 \change_inserted -712698321 1554289664
2031 The default style used in the dialog as well as the style used by the toolbar
2032 button can be changed in
2034 Document\SpecialChar menuseparator
2035 Settings\SpecialChar menuseparator
2039 So if the default style above is not the one you need, you should alter
2043 \begin_layout Section
2045 \begin_inset Index idx
2048 \begin_layout Plain Layout
2057 \begin_layout Standard
2058 You can alter a table by clicking on it with the right mouse button, which
2059 brings up the context menu.
2060 Under the menu entry
2064 you can adjust the settings of that cell and row/column respectively where
2065 the cursor is currently placed.
2068 More\SpecialChar menuseparator
2071 opens the table dialog where you can adjust more things.
2072 Most of the dialog options also work on selections.
2073 This means if you select more cells, columns or rows, the action is done
2074 for the whole selection.
2075 Note that there is a difference between selecting the
2079 of the cell, and the cell itself.
2080 \begin_inset Newline newline
2083 With the dialog option
2086 \begin_inset space ~
2091 every change you make in the dialog is directly applied.
2092 If you move the cursor to another table cell the dialog will then also
2093 be updated with the parameters of the new cell.
2094 If you change length values in the dialog you must press
2098 to get the change applied.
2099 \begin_inset Newline newline
2102 You can alter tables with the following tabs of the table dialog:
2105 \begin_layout Description
2107 \begin_inset space ~
2110 Settings Here you can set the table width
2111 \begin_inset Index idx
2114 \begin_layout Plain Layout
2120 , and the horizontal alignment and the width of the current column.
2124 \begin_inset space ~
2128 \begin_inset space ~
2133 is described in section
2134 \begin_inset space ~
2138 \begin_inset CommandInset ref
2140 reference "subsec:Special-Cell-Alignment"
2145 When you have set a width you can also adjust the vertical alignment of
2147 A given width will allow the cell to have line breaks and multiple paragraphs
2149 \begin_inset space \thinspace{}
2153 \begin_inset CommandInset ref
2155 reference "subsec:Multiple-Lines-in"
2160 If you set no width, the column is as wide as the content of its widest
2162 \begin_inset Newline newline
2165 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2167 \begin_inset space \thinspace{}
2171 \begin_inset CommandInset ref
2173 reference "subsec:Multicolumns"
2177 or the cells of one column as multirow cell, see sec.
2178 \begin_inset space \thinspace{}
2182 \begin_inset CommandInset ref
2184 reference "subsec:Multirows"
2189 \begin_inset Newline newline
2192 The rotate check boxes rotate the current cell, a selection, or the whole
2193 table counter-clockwise by 90
2194 \begin_inset space \thinspace{}
2198 The rotation is not shown within \SpecialChar LyX
2199 , only in the output.
2200 For more information see sec.
2201 \begin_inset space \thinspace{}
2205 \begin_inset CommandInset ref
2207 reference "sec:Rotated-Table-Cells"
2212 \begin_inset Newline newline
2216 \begin_inset Note Greyedout
2219 \begin_layout Plain Layout
2224 Not all DVI-viewers are able to display rotations.
2230 \begin_inset Newline newline
2233 The table-wide vertical alignment is used for tables within text lines:
2234 \begin_inset Newline newline
2237 A line with tables with different alignments:
2238 \begin_inset Tabular
2239 <lyxtabular version="3" rows="2" columns="2">
2240 <features tabularvalignment="top">
2241 <column alignment="center" valignment="top" width="0pt">
2242 <column alignment="center" valignment="top">
2244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2247 \begin_layout Plain Layout
2253 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2256 \begin_layout Plain Layout
2273 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2276 \begin_layout Plain Layout
2291 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2294 \begin_layout Plain Layout
2306 \begin_inset Tabular
2307 <lyxtabular version="3" rows="2" columns="2">
2308 <features tabularvalignment="middle">
2309 <column alignment="center" valignment="top">
2310 <column alignment="center" valignment="top">
2312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2315 \begin_layout Plain Layout
2321 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2324 \begin_layout Plain Layout
2341 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2344 \begin_layout Plain Layout
2359 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2362 \begin_layout Plain Layout
2374 \begin_inset Tabular
2375 <lyxtabular version="3" rows="2" columns="2">
2376 <features tabularvalignment="bottom">
2377 <column alignment="center" valignment="top" width="0pt">
2378 <column alignment="center" valignment="top">
2380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2383 \begin_layout Plain Layout
2389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2392 \begin_layout Plain Layout
2409 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2412 \begin_layout Plain Layout
2427 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2430 \begin_layout Plain Layout
2442 \begin_inset Newline newline
2445 It is also possible to enter a \SpecialChar LaTeX
2446 -argument which is needed for special table
2447 formattings, see sec.
2448 \begin_inset space \thinspace{}
2452 \begin_inset CommandInset ref
2454 reference "subsec:Multicolumn-Calculations"
2459 \begin_inset CommandInset ref
2461 reference "sec:Colored-Tables"
2468 \begin_layout Description
2469 Borders In this tab you can add and delete border lines for the current
2471 \begin_inset Newline newline
2474 Using the style option
2478 will convert the table to a formal table as described in sec.
2479 \begin_inset space \thinspace{}
2483 \begin_inset CommandInset ref
2485 reference "sec:Formal-Tables"
2490 \begin_inset Newline newline
2493 You can also add space here to table rows as described in sec.
2494 \begin_inset space \thinspace{}
2498 \begin_inset CommandInset ref
2500 reference "subsec:Row-Spacing"
2507 \begin_layout Description
2509 \begin_inset space ~
2512 table This tab is to make a table a multi-page table that can run over several
2515 \begin_inset space ~
2519 \begin_inset CommandInset ref
2521 reference "sec:Multi-page-Tables"
2526 \begin_inset CommandInset ref
2528 reference "sec:Special-Longtable-Issues"
2532 describe the multi-page table features in detail.
2535 \begin_layout Section
2537 \begin_inset Index idx
2540 \begin_layout Plain Layout
2549 \begin_layout Standard
2550 The table toolbar is an alternative to the table dialog to be able to alter
2552 It should normally appear at the bottom of \SpecialChar LyX
2553 's main window when the cursor
2555 You can alternatively switch it on to appear always, by right-clicking
2560 \begin_layout Standard
2561 The toolbar has the following icons:
2564 \begin_layout Labeling
2565 \labelwidthstring 00.00.0000
2568 arg "tabular-feature append-row"
2571 adds a row below the current cell or selection
2574 \begin_layout Labeling
2575 \labelwidthstring 00.00.0000
2578 arg "tabular-feature append-column"
2581 adds a column right beside the current cell or selection
2584 \begin_layout Labeling
2585 \labelwidthstring 00.00.0000
2588 arg "tabular-feature delete-row"
2591 deletes the current row or selection
2594 \begin_layout Labeling
2595 \labelwidthstring 00.00.0000
2598 arg "tabular-feature delete-column"
2601 deletes the current column or selection
2604 \begin_layout Labeling
2605 \labelwidthstring 00.00.0000
2608 arg "tabular-feature move-row-up"
2614 \begin_layout Labeling
2615 \labelwidthstring 00.00.0000
2618 arg "tabular-feature move-column-left"
2621 moves the column to the left
2624 \begin_layout Labeling
2625 \labelwidthstring 00.00.0000
2628 arg "tabular-feature move-row-down"
2634 \begin_layout Labeling
2635 \labelwidthstring 00.00.0000
2638 arg "tabular-feature move-column-right"
2641 moves the column to the right
2644 \begin_layout Labeling
2645 \labelwidthstring 00.00.0000
2648 arg "tabular-feature toggle-line-top"
2652 \change_deleted -1382599118 1647157945
2654 \change_inserted -1382599118 1647157946
2657 a line at the top of
2658 \change_inserted -1382599118 1647158116
2662 \change_inserted -1382599118 1647157889
2664 \change_deleted -1382599118 1647157917
2668 \change_deleted -1382599118 1647157923
2670 \change_inserted -1382599118 1647157925
2676 \begin_layout Labeling
2677 \labelwidthstring 00.00.0000
2680 arg "tabular-feature toggle-line-bottom"
2684 \change_deleted -1382599118 1647157963
2686 \change_inserted -1382599118 1647157964
2689 a line at the bottom of
2690 \change_inserted -1382599118 1647158114
2694 \change_inserted -1382599118 1647157991
2696 \change_deleted -1382599118 1647158003
2700 \change_deleted -1382599118 1647158007
2702 \change_inserted -1382599118 1647158009
2708 \begin_layout Labeling
2709 \labelwidthstring 00.00.0000
2712 arg "tabular-feature toggle-line-left"
2716 \change_deleted -1382599118 1647157971
2718 \change_inserted -1382599118 1647157972
2721 a line at the left side of
2722 \change_inserted -1382599118 1647158111
2726 \change_inserted -1382599118 1647158027
2728 \change_deleted -1382599118 1647158069
2732 \change_deleted -1382599118 1647158043
2734 \change_inserted -1382599118 1647158044
2740 \begin_layout Labeling
2741 \labelwidthstring 00.00.0000
2744 arg "tabular-feature toggle-line-right"
2748 \change_deleted -1382599118 1647157974
2750 \change_inserted -1382599118 1647157975
2753 a line at the right side of
2754 \change_inserted -1382599118 1647158109
2758 \change_inserted -1382599118 1647158061
2760 \change_deleted -1382599118 1647158072
2764 \change_deleted -1382599118 1647158078
2766 \change_inserted -1382599118 1647158082
2768 \change_inserted -712698321 1554289731
2772 \begin_layout Labeling
2773 \labelwidthstring 00.00.0000
2775 \change_inserted -712698321 1554289910
2778 arg "tabular-feature toggle-border-lines"
2782 \change_deleted -1382599118 1647157966
2784 \change_inserted -1382599118 1647157967
2786 \change_inserted -712698321 1554289910
2787 a border around the currently selected cells
2788 \change_inserted -1382599118 1647040213
2792 \begin_layout Labeling
2793 \labelwidthstring 00.00.0000
2795 \change_inserted -1382599118 1647158092
2798 arg "tabular-feature toggle-inner-lines"
2801 toggles inner lines for the currently selected cells
2806 \begin_layout Labeling
2807 \labelwidthstring 00.00.0000
2810 arg "tabular-feature toggle-all-lines"
2813 adds lines around the current or selected cells - if the current cell is
2814 not a multicolumn cell this also affects the current row and column
2817 \begin_layout Labeling
2818 \labelwidthstring 00.00.0000
2821 arg "tabular-feature unset-all-lines"
2824 deletes all lines of the current or selected cells - if the current cell
2825 is not a multicolumn cell this also affects the current row and column
2826 \change_inserted -712698321 1554289920
2830 \begin_layout Labeling
2831 \labelwidthstring 00.00.0000
2833 \change_inserted -712698321 1554292586
2836 arg "tabular-feature reset-formal-default"
2839 If using a formal table, this resets the border to its default (only horizontal
2840 lines in top and bottom rows)
2845 \begin_layout Labeling
2846 \labelwidthstring 00.00.0000
2849 arg "tabular-feature m-align-left"
2852 left-aligns the content of the current cell / column
2855 \begin_layout Labeling
2856 \labelwidthstring 00.00.0000
2859 arg "tabular-feature m-align-center"
2862 centers the content of the current cell / column horizontally
2865 \begin_layout Labeling
2866 \labelwidthstring 00.00.0000
2869 arg "tabular-feature m-align-right"
2872 right-aligns the content of the current cell / column
2875 \begin_layout Labeling
2876 \labelwidthstring 00.00.0000
2879 arg "tabular-feature align-decimal"
2882 aligns the content of the current column at a character
2885 \begin_layout Labeling
2886 \labelwidthstring 00.00.0000
2889 arg "tabular-feature m-valign-top"
2892 aligns the content of the current cell vertically to the top
2895 \begin_layout Labeling
2896 \labelwidthstring 00.00.0000
2899 arg "tabular-feature m-valign-middle"
2902 centers the content of the current cell vertically
2905 \begin_layout Labeling
2906 \labelwidthstring 00.00.0000
2909 arg "tabular-feature m-valign-bottom"
2912 aligns the content of the current cell vertically to the bottom
2915 \begin_layout Labeling
2916 \labelwidthstring 00.00.0000
2919 arg "tabular-feature set-rotate-cell"
2922 rotates the current cell or selection counter-clockwise by 90°
2925 \begin_layout Labeling
2926 \labelwidthstring 00.00.0000
2929 arg "tabular-feature set-rotate-tabular"
2932 rotates the whole table counter-clockwise by 90°
2935 \begin_layout Labeling
2936 \labelwidthstring 00.00.0000
2939 arg "tabular-feature multicolumn"
2942 sets the current cell or selection as a multicolumn
2945 \begin_layout Labeling
2946 \labelwidthstring 00.00.0000
2949 arg "tabular-feature multirow"
2952 sets the current cell or selection as a multirow
2955 \begin_layout Standard
2956 \begin_inset Note Greyedout
2959 \begin_layout Plain Layout
2964 For the output the vertical alignment of the first cell in a row is used
2965 for all following cells in the row.
2973 \begin_layout Section
2975 \begin_inset Index idx
2978 \begin_layout Plain Layout
2987 \begin_layout Standard
2988 In addition to the table dialog and toolbar, the menu
2990 Edit\SpecialChar menuseparator
2993 allows you to add and delete border lines for the current row/column and
2994 to set the current selection as multicolumn.
2995 The menu is only available when the cursor is inside a table.
2998 \begin_layout Section
3000 \begin_inset CommandInset label
3002 name "sec:Table-Floats"
3007 \begin_inset Index idx
3010 \begin_layout Plain Layout
3017 \begin_inset Index idx
3020 \begin_layout Plain Layout
3029 \begin_layout Standard
3030 For general explanations about floats, have a look at section
3031 \begin_inset space ~
3035 \begin_inset CommandInset ref
3037 reference "sec:FloatIntroduction"
3044 \begin_layout Standard
3045 \begin_inset Float table
3052 \begin_layout Plain Layout
3053 \begin_inset Caption Standard
3055 \begin_layout Plain Layout
3056 \begin_inset CommandInset label
3058 name "tab:a table float"
3070 \begin_layout Plain Layout
3072 \begin_inset Tabular
3073 <lyxtabular version="3" rows="3" columns="3">
3074 <features tabularvalignment="middle">
3075 <column alignment="center" valignment="top" width="0pt">
3076 <column alignment="center" valignment="top" width="0pt">
3077 <column alignment="center" valignment="top" width="0pt">
3079 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3082 \begin_layout Plain Layout
3097 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3100 \begin_layout Plain Layout
3115 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3118 \begin_layout Plain Layout
3135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3138 \begin_layout Plain Layout
3153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3156 \begin_layout Plain Layout
3171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3174 \begin_layout Plain Layout
3191 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3194 \begin_layout Plain Layout
3204 \begin_inset Formula $\int x^{2}dx$
3212 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3215 \begin_layout Plain Layout
3225 \begin_inset Formula $\left[\begin{array}{cc}
3236 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3239 \begin_layout Plain Layout
3249 \begin_inset Formula $1+1=2$
3270 \begin_layout Standard
3271 Table floats can be inserted using the menu
3273 Insert\SpecialChar menuseparator
3274 Float\SpecialChar menuseparator
3277 or the toolbar button
3280 arg "float-insert table"
3286 \begin_layout Standard
3287 The float appears as a collapsible box with a caption that has the label
3289 \begin_inset Quotes eld
3293 \begin_inset space ~
3297 \begin_inset Quotes erd
3300 (# is the actual table number).
3301 You can insert tables in the float above or below the caption.
3304 \begin_layout Standard
3306 \begin_inset space ~
3310 \begin_inset CommandInset ref
3312 reference "tab:a table float"
3316 is an example table within a table float.
3319 \begin_layout Standard
3320 Having the caption above the table is the common rule that is unfortunately
3321 not supported in \SpecialChar LaTeX
3322 's standard classes.
3323 This means that, if you are using the document classes
3339 , there will be no space between the caption and the table.
3340 To insert the needed space, add the following option to the load command
3341 of the \SpecialChar LaTeX
3347 \begin_inset Index idx
3350 \begin_layout Plain Layout
3357 in your document preamble:
3361 \begin_layout Plain Layout
3362 For more information have a look at section
3363 \begin_inset space ~
3367 \begin_inset CommandInset ref
3369 reference "sec:Caption-Placement"
3381 \begin_layout Standard
3387 \begin_layout Standard
3392 , which is described in section
3393 \begin_inset space ~
3397 \begin_inset CommandInset ref
3399 reference "sec:Caption-Formatting"
3403 , is used to adjust the caption format.
3406 \begin_layout Standard
3407 \begin_inset Index idx
3410 \begin_layout Plain Layout
3411 References ! to Tables
3416 Tables can be cross-referenced in the text by referencing their label.
3417 To do this insert a label in the caption using the menu
3419 Insert\SpecialChar menuseparator
3422 or the toolbar button
3429 You can now refer to the label using the menu
3431 Insert\SpecialChar menuseparator
3433 \begin_inset space ~
3438 or the toolbar button
3441 arg "dialog-show-new-inset ref"
3445 \begin_inset Newline newline
3448 Referencing is explained in detail in section
3449 \begin_inset space ~
3453 \begin_inset CommandInset ref
3455 reference "sec:Referencing-Floats"
3462 \begin_layout Section
3468 \begin_inset CommandInset label
3470 name "sec:Multi-page-Tables"
3475 \begin_inset Index idx
3478 \begin_layout Plain Layout
3485 \begin_inset Index idx
3488 \begin_layout Plain Layout
3489 Table ! Multi-page Table
3497 \begin_layout Standard
3498 If the table is too long to fit on one page, you can use the option
3501 \begin_inset space ~
3509 \begin_inset space ~
3514 of the table dialog to split the table automatically over more pages.
3515 Doing this enables the following options:
3518 \begin_layout Description
3519 Header: The current row is defined to be a header row that appears on all
3520 pages of the multi-page table; except for the first page, if
3523 \begin_inset space ~
3529 This is therefore called the main header.
3532 \begin_layout Description
3534 \begin_inset space ~
3537 header: The current row is defined to be a header row that appears on the
3538 first page of the multi-page table.
3541 \begin_layout Description
3542 Footer: The current row is defined to be a footer row that appears on all
3543 pages of the multi-page table; except for the last page, if
3546 \begin_inset space ~
3554 \begin_layout Description
3556 \begin_inset space ~
3559 footer: The current row is defined to be a footer row that appears on the
3560 last page of the multi-page table.
3563 \begin_layout Description
3564 Caption: The current row contains the table caption.
3565 The row is reset as single column and a caption is inserted.
3566 More about multi-page table captions is explained in sec.
3567 \begin_inset space \thinspace{}
3571 \begin_inset CommandInset ref
3573 reference "subsec:Multi-page-Table-Captions"
3580 \begin_layout Standard
3581 You can also specify a row where the table is split.
3582 See the following multi-page table to see how it works:
3585 \begin_layout Standard
3587 \begin_inset Tabular
3588 <lyxtabular version="3" rows="69" columns="3">
3589 <features islongtable="true" longtabularalignment="center">
3590 <column alignment="left" valignment="top" width="0cm">
3591 <column alignment="left" valignment="top" width="0pt">
3592 <column alignment="center" valignment="top" width="0pt">
3593 <row endfirsthead="true">
3594 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3597 \begin_layout Plain Layout
3600 Example Phone List (ignore the names)
3605 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3608 \begin_layout Plain Layout
3614 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3617 \begin_layout Plain Layout
3624 <row endfirsthead="true">
3625 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3628 \begin_layout Plain Layout
3636 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3639 \begin_layout Plain Layout
3645 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3648 \begin_layout Plain Layout
3657 <row endhead="true">
3658 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3661 \begin_layout Plain Layout
3669 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3672 \begin_layout Plain Layout
3678 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3681 \begin_layout Plain Layout
3688 <row endhead="true">
3689 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3692 \begin_layout Plain Layout
3700 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3703 \begin_layout Plain Layout
3709 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3712 \begin_layout Plain Layout
3721 <row endfoot="true">
3722 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3725 \begin_layout Plain Layout
3726 continued on next page
3731 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3734 \begin_layout Plain Layout
3740 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3743 \begin_layout Plain Layout
3751 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3754 \begin_layout Plain Layout
3762 <cell alignment="center" valignment="top" usebox="none">
3765 \begin_layout Plain Layout
3771 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3774 \begin_layout Plain Layout
3782 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3785 \begin_layout Plain Layout
3793 <cell alignment="center" valignment="top" usebox="none">
3796 \begin_layout Plain Layout
3802 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3805 \begin_layout Plain Layout
3813 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3816 \begin_layout Plain Layout
3824 <cell alignment="center" valignment="top" usebox="none">
3827 \begin_layout Plain Layout
3833 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3836 \begin_layout Plain Layout
3844 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3847 \begin_layout Plain Layout
3855 <cell alignment="center" valignment="top" usebox="none">
3858 \begin_layout Plain Layout
3864 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3867 \begin_layout Plain Layout
3875 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3878 \begin_layout Plain Layout
3886 <cell alignment="center" valignment="top" usebox="none">
3889 \begin_layout Plain Layout
3895 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3898 \begin_layout Plain Layout
3906 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3909 \begin_layout Plain Layout
3917 <cell alignment="center" valignment="top" usebox="none">
3920 \begin_layout Plain Layout
3926 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3929 \begin_layout Plain Layout
3937 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3940 \begin_layout Plain Layout
3948 <cell alignment="center" valignment="top" usebox="none">
3951 \begin_layout Plain Layout
3957 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3960 \begin_layout Plain Layout
3968 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3971 \begin_layout Plain Layout
3979 <cell alignment="center" valignment="top" usebox="none">
3982 \begin_layout Plain Layout
3988 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3991 \begin_layout Plain Layout
3999 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4002 \begin_layout Plain Layout
4010 <cell alignment="center" valignment="top" usebox="none">
4013 \begin_layout Plain Layout
4019 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4022 \begin_layout Plain Layout
4030 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4033 \begin_layout Plain Layout
4041 <cell alignment="center" valignment="top" usebox="none">
4044 \begin_layout Plain Layout
4050 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4053 \begin_layout Plain Layout
4061 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4064 \begin_layout Plain Layout
4072 <cell alignment="center" valignment="top" usebox="none">
4075 \begin_layout Plain Layout
4081 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4084 \begin_layout Plain Layout
4092 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4095 \begin_layout Plain Layout
4103 <cell alignment="center" valignment="top" usebox="none">
4106 \begin_layout Plain Layout
4112 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4115 \begin_layout Plain Layout
4123 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4126 \begin_layout Plain Layout
4134 <cell alignment="center" valignment="top" usebox="none">
4137 \begin_layout Plain Layout
4143 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4146 \begin_layout Plain Layout
4154 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4157 \begin_layout Plain Layout
4165 <cell alignment="center" valignment="top" usebox="none">
4168 \begin_layout Plain Layout
4174 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4177 \begin_layout Plain Layout
4185 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4188 \begin_layout Plain Layout
4196 <cell alignment="center" valignment="top" usebox="none">
4199 \begin_layout Plain Layout
4205 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4208 \begin_layout Plain Layout
4216 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4219 \begin_layout Plain Layout
4227 <cell alignment="center" valignment="top" usebox="none">
4230 \begin_layout Plain Layout
4236 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4239 \begin_layout Plain Layout
4247 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4250 \begin_layout Plain Layout
4258 <cell alignment="center" valignment="top" usebox="none">
4261 \begin_layout Plain Layout
4267 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4270 \begin_layout Plain Layout
4278 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4281 \begin_layout Plain Layout
4289 <cell alignment="center" valignment="top" usebox="none">
4292 \begin_layout Plain Layout
4298 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4301 \begin_layout Plain Layout
4309 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4312 \begin_layout Plain Layout
4320 <cell alignment="center" valignment="top" usebox="none">
4323 \begin_layout Plain Layout
4329 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4332 \begin_layout Plain Layout
4340 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4343 \begin_layout Plain Layout
4351 <cell alignment="center" valignment="top" usebox="none">
4354 \begin_layout Plain Layout
4360 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4363 \begin_layout Plain Layout
4371 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4374 \begin_layout Plain Layout
4382 <cell alignment="center" valignment="top" usebox="none">
4385 \begin_layout Plain Layout
4391 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4394 \begin_layout Plain Layout
4402 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4405 \begin_layout Plain Layout
4413 <cell alignment="center" valignment="top" usebox="none">
4416 \begin_layout Plain Layout
4422 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4425 \begin_layout Plain Layout
4433 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4436 \begin_layout Plain Layout
4444 <cell alignment="center" valignment="top" usebox="none">
4447 \begin_layout Plain Layout
4453 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4456 \begin_layout Plain Layout
4464 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4467 \begin_layout Plain Layout
4475 <cell alignment="center" valignment="top" usebox="none">
4478 \begin_layout Plain Layout
4484 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4487 \begin_layout Plain Layout
4495 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4498 \begin_layout Plain Layout
4506 <cell alignment="center" valignment="top" usebox="none">
4509 \begin_layout Plain Layout
4515 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4518 \begin_layout Plain Layout
4526 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4529 \begin_layout Plain Layout
4537 <cell alignment="center" valignment="top" usebox="none">
4540 \begin_layout Plain Layout
4546 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4549 \begin_layout Plain Layout
4557 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4560 \begin_layout Plain Layout
4568 <cell alignment="center" valignment="top" usebox="none">
4571 \begin_layout Plain Layout
4577 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4580 \begin_layout Plain Layout
4588 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4591 \begin_layout Plain Layout
4599 <cell alignment="center" valignment="top" usebox="none">
4602 \begin_layout Plain Layout
4608 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4611 \begin_layout Plain Layout
4619 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4622 \begin_layout Plain Layout
4630 <cell alignment="center" valignment="top" usebox="none">
4633 \begin_layout Plain Layout
4639 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4642 \begin_layout Plain Layout
4650 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4653 \begin_layout Plain Layout
4661 <cell alignment="center" valignment="top" usebox="none">
4664 \begin_layout Plain Layout
4670 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4673 \begin_layout Plain Layout
4681 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4684 \begin_layout Plain Layout
4692 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4695 \begin_layout Plain Layout
4701 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4704 \begin_layout Plain Layout
4712 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4715 \begin_layout Plain Layout
4721 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4724 \begin_layout Plain Layout
4730 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4733 \begin_layout Plain Layout
4741 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4744 \begin_layout Plain Layout
4752 <cell alignment="center" valignment="top" usebox="none">
4755 \begin_layout Plain Layout
4761 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4764 \begin_layout Plain Layout
4772 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4775 \begin_layout Plain Layout
4783 <cell alignment="center" valignment="top" usebox="none">
4786 \begin_layout Plain Layout
4792 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4795 \begin_layout Plain Layout
4803 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4806 \begin_layout Plain Layout
4814 <cell alignment="center" valignment="top" usebox="none">
4817 \begin_layout Plain Layout
4823 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4826 \begin_layout Plain Layout
4834 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4837 \begin_layout Plain Layout
4845 <cell alignment="center" valignment="top" usebox="none">
4848 \begin_layout Plain Layout
4854 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4857 \begin_layout Plain Layout
4865 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4868 \begin_layout Plain Layout
4876 <cell alignment="center" valignment="top" usebox="none">
4879 \begin_layout Plain Layout
4885 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4888 \begin_layout Plain Layout
4896 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4899 \begin_layout Plain Layout
4907 <cell alignment="center" valignment="top" usebox="none">
4910 \begin_layout Plain Layout
4916 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4919 \begin_layout Plain Layout
4927 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4930 \begin_layout Plain Layout
4938 <cell alignment="center" valignment="top" usebox="none">
4941 \begin_layout Plain Layout
4947 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4950 \begin_layout Plain Layout
4958 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4961 \begin_layout Plain Layout
4969 <cell alignment="center" valignment="top" usebox="none">
4972 \begin_layout Plain Layout
4978 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4981 \begin_layout Plain Layout
4989 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4992 \begin_layout Plain Layout
5000 <cell alignment="center" valignment="top" usebox="none">
5003 \begin_layout Plain Layout
5009 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5012 \begin_layout Plain Layout
5020 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5023 \begin_layout Plain Layout
5031 <cell alignment="center" valignment="top" usebox="none">
5034 \begin_layout Plain Layout
5040 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5043 \begin_layout Plain Layout
5051 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5054 \begin_layout Plain Layout
5062 <cell alignment="center" valignment="top" usebox="none">
5065 \begin_layout Plain Layout
5071 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5074 \begin_layout Plain Layout
5082 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5085 \begin_layout Plain Layout
5093 <cell alignment="center" valignment="top" usebox="none">
5096 \begin_layout Plain Layout
5102 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5105 \begin_layout Plain Layout
5113 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5116 \begin_layout Plain Layout
5124 <cell alignment="center" valignment="top" usebox="none">
5127 \begin_layout Plain Layout
5133 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5136 \begin_layout Plain Layout
5144 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5147 \begin_layout Plain Layout
5155 <cell alignment="center" valignment="top" usebox="none">
5158 \begin_layout Plain Layout
5164 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5167 \begin_layout Plain Layout
5175 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5178 \begin_layout Plain Layout
5186 <cell alignment="center" valignment="top" usebox="none">
5189 \begin_layout Plain Layout
5195 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5198 \begin_layout Plain Layout
5206 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5209 \begin_layout Plain Layout
5217 <cell alignment="center" valignment="top" usebox="none">
5220 \begin_layout Plain Layout
5226 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5229 \begin_layout Plain Layout
5237 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5240 \begin_layout Plain Layout
5248 <cell alignment="center" valignment="top" usebox="none">
5251 \begin_layout Plain Layout
5257 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5260 \begin_layout Plain Layout
5268 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5271 \begin_layout Plain Layout
5279 <cell alignment="center" valignment="top" usebox="none">
5282 \begin_layout Plain Layout
5288 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5291 \begin_layout Plain Layout
5299 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5302 \begin_layout Plain Layout
5310 <cell alignment="center" valignment="top" usebox="none">
5313 \begin_layout Plain Layout
5319 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5322 \begin_layout Plain Layout
5330 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5333 \begin_layout Plain Layout
5341 <cell alignment="center" valignment="top" usebox="none">
5344 \begin_layout Plain Layout
5350 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5353 \begin_layout Plain Layout
5361 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5364 \begin_layout Plain Layout
5372 <cell alignment="center" valignment="top" usebox="none">
5375 \begin_layout Plain Layout
5381 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5384 \begin_layout Plain Layout
5392 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5395 \begin_layout Plain Layout
5403 <cell alignment="center" valignment="top" usebox="none">
5406 \begin_layout Plain Layout
5412 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5415 \begin_layout Plain Layout
5423 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5426 \begin_layout Plain Layout
5434 <cell alignment="center" valignment="top" usebox="none">
5437 \begin_layout Plain Layout
5443 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5446 \begin_layout Plain Layout
5454 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5457 \begin_layout Plain Layout
5465 <cell alignment="center" valignment="top" usebox="none">
5468 \begin_layout Plain Layout
5474 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5477 \begin_layout Plain Layout
5485 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5488 \begin_layout Plain Layout
5496 <cell alignment="center" valignment="top" usebox="none">
5499 \begin_layout Plain Layout
5505 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5508 \begin_layout Plain Layout
5516 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5519 \begin_layout Plain Layout
5527 <cell alignment="center" valignment="top" usebox="none">
5530 \begin_layout Plain Layout
5536 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5539 \begin_layout Plain Layout
5547 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5550 \begin_layout Plain Layout
5558 <cell alignment="center" valignment="top" usebox="none">
5561 \begin_layout Plain Layout
5567 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5570 \begin_layout Plain Layout
5578 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5581 \begin_layout Plain Layout
5589 <cell alignment="center" valignment="top" usebox="none">
5592 \begin_layout Plain Layout
5598 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5601 \begin_layout Plain Layout
5609 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5612 \begin_layout Plain Layout
5620 <cell alignment="center" valignment="top" usebox="none">
5623 \begin_layout Plain Layout
5629 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5632 \begin_layout Plain Layout
5640 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5643 \begin_layout Plain Layout
5651 <cell alignment="center" valignment="top" usebox="none">
5654 \begin_layout Plain Layout
5660 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5663 \begin_layout Plain Layout
5671 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5674 \begin_layout Plain Layout
5682 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5685 \begin_layout Plain Layout
5691 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5694 \begin_layout Plain Layout
5701 <row endlastfoot="true">
5702 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5705 \begin_layout Plain Layout
5711 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5714 \begin_layout Plain Layout
5720 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5723 \begin_layout Plain Layout
5738 \begin_layout Plain Layout
5742 addtocounter{table}{-1}
5748 \begin_inset Note Note
5751 \begin_layout Plain Layout
5752 See the first greyed-out note in section
5753 \begin_inset space ~
5757 \begin_inset CommandInset ref
5759 reference "subsec:Multi-page-Table-Captions"
5763 for an explanation of this command.
5771 \begin_layout Subsection
5772 Footnotes in Multi-page tables
5773 \begin_inset CommandInset label
5775 name "subsec:Footnotes-in-Multi-page"
5780 \begin_inset Index idx
5783 \begin_layout Plain Layout
5784 Table ! Multi-page Table ! Footnotes
5792 \begin_layout Standard
5793 Footnotes can be inserted to every Multi-page table cell.
5794 They appear at the bottom of the page where the table cell with the footnote
5797 \begin_inset space ~
5801 \begin_inset CommandInset ref
5803 reference "tab:DiffCaptions"
5807 has for example a footnote.
5810 \begin_layout Subsection
5811 Multi-page Table Alignment
5812 \begin_inset Index idx
5815 \begin_layout Plain Layout
5816 Table ! Multi-page Table ! Alignment
5824 \begin_layout Standard
5825 The horizontal alignment of multi-page tables can be set in the table settings
5827 For left- and right-alignment the table will be directly at the page border.
5828 To add space between the table and the border one has to set the alignment
5829 to center and change the value of the \SpecialChar LaTeX
5842 by inserting this line as \SpecialChar TeX
5843 Code before the multi-page table:
5846 \begin_layout Standard
5856 \begin_layout Standard
5857 The value can have any of the units listed in Table
5858 \begin_inset space ~
5862 \begin_inset CommandInset ref
5864 reference "tab:Units"
5875 controls the horizontal distance from the left page border to the multi-page
5882 the distance from the right side.
5883 The default value for both lengths is
5889 , which is in this case the same as an horizontal fill in \SpecialChar LyX
5893 \begin_layout Standard
5894 The following multi-page table was centered and
5910 \begin_layout Plain Layout
5926 \begin_layout Standard
5927 \begin_inset Tabular
5928 <lyxtabular version="3" rows="5" columns="5">
5929 <features islongtable="true" longtabularalignment="center">
5930 <column alignment="center" valignment="top">
5931 <column alignment="center" valignment="top" width="0pt">
5932 <column alignment="center" valignment="top">
5933 <column alignment="center" valignment="top">
5934 <column alignment="center" valignment="top">
5936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5939 \begin_layout Plain Layout
5945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5948 \begin_layout Plain Layout
5954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5957 \begin_layout Plain Layout
5963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5966 \begin_layout Plain Layout
5972 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5975 \begin_layout Plain Layout
5983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5986 \begin_layout Plain Layout
5992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5995 \begin_layout Plain Layout
6001 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6004 \begin_layout Plain Layout
6010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6013 \begin_layout Plain Layout
6019 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6022 \begin_layout Plain Layout
6030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6033 \begin_layout Plain Layout
6039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6042 \begin_layout Plain Layout
6048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6051 \begin_layout Plain Layout
6057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6060 \begin_layout Plain Layout
6066 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6069 \begin_layout Plain Layout
6077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6080 \begin_layout Plain Layout
6086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6089 \begin_layout Plain Layout
6095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6098 \begin_layout Plain Layout
6104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6107 \begin_layout Plain Layout
6113 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6116 \begin_layout Plain Layout
6124 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6127 \begin_layout Plain Layout
6133 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6136 \begin_layout Plain Layout
6142 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6145 \begin_layout Plain Layout
6151 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6154 \begin_layout Plain Layout
6160 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6163 \begin_layout Plain Layout
6178 \begin_layout Plain Layout
6195 \begin_layout Plain Layout
6199 addtocounter{table}{-1}
6205 \begin_inset Note Note
6208 \begin_layout Plain Layout
6209 See the first greyed-out note in section
6210 \begin_inset space ~
6214 \begin_inset CommandInset ref
6216 reference "subsec:Multi-page-Table-Captions"
6220 for an explanation of this command.
6228 \begin_layout Subsection
6229 Multi-page Table Captions
6230 \begin_inset Index idx
6233 \begin_layout Plain Layout
6234 Table ! Multi-page Table ! Captions
6240 \begin_inset CommandInset label
6242 name "subsec:Multi-page-Table-Captions"
6249 \begin_layout Standard
6250 A multi-page table cannot be put into a table float because floats can only
6252 But the caption environment of floats can also be used for multi-page tables
6253 when you use the multi-page table option
6257 as described in sec.
6258 \begin_inset space \thinspace{}
6262 \begin_inset CommandInset ref
6264 reference "sec:Multi-page-Tables"
6269 Only one table row should contain a caption, either a header or a footer
6273 \begin_layout Standard
6274 Here is a short multi-page table to see how it works:
6277 \begin_layout Standard
6278 \begin_inset Tabular
6279 <lyxtabular version="3" rows="6" columns="5">
6280 <features islongtable="true" longtabularalignment="center">
6281 <column alignment="center" valignment="top">
6282 <column alignment="center" valignment="top">
6283 <column alignment="center" valignment="top">
6284 <column alignment="center" valignment="top">
6285 <column alignment="center" valignment="top">
6286 <row endfirsthead="true" caption="true">
6287 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6290 \begin_layout Plain Layout
6291 \begin_inset Caption Standard
6293 \begin_layout Plain Layout
6294 Multi-page table with caption
6295 \begin_inset Argument 1
6298 \begin_layout Plain Layout
6314 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6317 \begin_layout Plain Layout
6323 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6326 \begin_layout Plain Layout
6332 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6335 \begin_layout Plain Layout
6341 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6344 \begin_layout Plain Layout
6352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6355 \begin_layout Plain Layout
6361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6364 \begin_layout Plain Layout
6370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6373 \begin_layout Plain Layout
6379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6382 \begin_layout Plain Layout
6388 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6391 \begin_layout Plain Layout
6399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6402 \begin_layout Plain Layout
6408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6411 \begin_layout Plain Layout
6417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6420 \begin_layout Plain Layout
6426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6429 \begin_layout Plain Layout
6435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6438 \begin_layout Plain Layout
6446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6449 \begin_layout Plain Layout
6455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6458 \begin_layout Plain Layout
6464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6467 \begin_layout Plain Layout
6473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6476 \begin_layout Plain Layout
6482 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6485 \begin_layout Plain Layout
6493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6496 \begin_layout Plain Layout
6502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6505 \begin_layout Plain Layout
6511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6514 \begin_layout Plain Layout
6520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6523 \begin_layout Plain Layout
6529 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6532 \begin_layout Plain Layout
6540 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6543 \begin_layout Plain Layout
6549 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6552 \begin_layout Plain Layout
6558 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6561 \begin_layout Plain Layout
6567 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6570 \begin_layout Plain Layout
6576 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6579 \begin_layout Plain Layout
6593 \begin_layout Standard
6594 \begin_inset VSpace medskip
6598 \begin_inset Note Greyedout
6601 \begin_layout Plain Layout
6605 \begin_inset space ~
6610 The table number is increased for every multi-page table, even if you did
6611 not set a caption for it.
6612 For this reason you could have the case that e.
6613 \begin_inset space \thinspace{}
6617 \begin_inset space \space{}
6621 \begin_inset space ~
6625 \begin_inset space ~
6628 2.1 in the list of tables if there are two multi-page tables without captions.
6629 To avoid this you can add the following command in \SpecialChar TeX
6630 Code after every multi-page
6631 table without a caption:
6634 \begin_layout Plain Layout
6639 addtocounter{table}{-1}
6642 \begin_layout Plain Layout
6643 This is not needed when none of your multi-page tables has a caption and
6644 you add the following code to the document preamble:
6647 \begin_layout Plain Layout
6657 \begin_inset Newline newline
6668 addtocounter{table}{-1}}
6676 \begin_layout Standard
6677 \begin_inset Note Greyedout
6680 \begin_layout Plain Layout
6684 \begin_inset space ~
6694 \begin_inset Index idx
6697 \begin_layout Plain Layout
6699 -packages ! hyperref
6712 dialog to link cross-references, the link to a multi-page table caption
6713 will always point to the beginning of the document.
6721 \begin_layout Subsubsection
6722 References to multi-page tables
6723 \begin_inset Index idx
6726 \begin_layout Plain Layout
6727 Table ! Multi-page Table ! References
6735 \begin_layout Standard
6736 \begin_inset Tabular
6737 <lyxtabular version="3" rows="6" columns="5">
6738 <features islongtable="true" longtabularalignment="center">
6739 <column alignment="center" valignment="top">
6740 <column alignment="center" valignment="top">
6741 <column alignment="center" valignment="top">
6742 <column alignment="center" valignment="top">
6743 <column alignment="center" valignment="top">
6744 <row endfirsthead="true" caption="true">
6745 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6748 \begin_layout Plain Layout
6749 \begin_inset Caption Standard
6751 \begin_layout Plain Layout
6752 Referenced multi-page table
6753 \begin_inset CommandInset label
6755 name "tab:Referenced-multi-page-table"
6769 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6772 \begin_layout Plain Layout
6778 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6781 \begin_layout Plain Layout
6787 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6790 \begin_layout Plain Layout
6796 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6799 \begin_layout Plain Layout
6807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6810 \begin_layout Plain Layout
6816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6819 \begin_layout Plain Layout
6825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6828 \begin_layout Plain Layout
6834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6837 \begin_layout Plain Layout
6843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6846 \begin_layout Plain Layout
6854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6857 \begin_layout Plain Layout
6863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6866 \begin_layout Plain Layout
6872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6875 \begin_layout Plain Layout
6881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6884 \begin_layout Plain Layout
6890 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6893 \begin_layout Plain Layout
6901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6904 \begin_layout Plain Layout
6910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6913 \begin_layout Plain Layout
6919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6922 \begin_layout Plain Layout
6928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6931 \begin_layout Plain Layout
6937 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6940 \begin_layout Plain Layout
6948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6951 \begin_layout Plain Layout
6957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6960 \begin_layout Plain Layout
6966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6969 \begin_layout Plain Layout
6975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6978 \begin_layout Plain Layout
6984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6987 \begin_layout Plain Layout
6995 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6998 \begin_layout Plain Layout
7004 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7007 \begin_layout Plain Layout
7013 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7016 \begin_layout Plain Layout
7022 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7025 \begin_layout Plain Layout
7031 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7034 \begin_layout Plain Layout
7048 \begin_layout Standard
7049 To reference a multi-page table, insert a label into the caption.
7052 \begin_layout Standard
7053 This is a reference to Table
7054 \begin_inset space ~
7058 \begin_inset CommandInset ref
7060 reference "tab:Referenced-multi-page-table"
7067 \begin_layout Standard
7068 The caption layout can be set together with all other captions of your document
7069 using the \SpecialChar LaTeX
7075 \begin_inset Index idx
7078 \begin_layout Plain Layout
7086 \begin_inset space ~
7090 \begin_inset CommandInset ref
7092 reference "sec:Caption-Formatting"
7099 \begin_layout Subsubsection
7101 \begin_inset Index idx
7104 \begin_layout Plain Layout
7105 Table ! Multi-page Table ! Caption Width
7113 \begin_layout Standard
7114 The maximal width of caption lines is defined by the length
7121 Its default value is 4
7122 \begin_inset space \thinspace{}
7126 To change it add the following command to your document preamble or as
7128 Code into your document before the multi-page table that should be affected
7131 \begin_layout Standard
7141 \begin_layout Standard
7146 can have one of the units listed in appendix
7147 \begin_inset space ~
7151 \begin_inset CommandInset ref
7153 reference "cha:Units-available-in"
7160 \begin_layout Standard
7161 The following tables show the difference:
7164 \begin_layout Standard
7165 \begin_inset Tabular
7166 <lyxtabular version="3" rows="6" columns="5">
7167 <features islongtable="true" longtabularalignment="center">
7168 <column alignment="center" valignment="top">
7169 <column alignment="center" valignment="top">
7170 <column alignment="center" valignment="top">
7171 <column alignment="center" valignment="top">
7172 <column alignment="center" valignment="top">
7173 <row endfirsthead="true" caption="true">
7174 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7177 \begin_layout Plain Layout
7178 \begin_inset Caption Standard
7180 \begin_layout Plain Layout
7181 Long full title with default width long full title with default width long
7182 full title with default width
7183 \begin_inset Argument 1
7186 \begin_layout Plain Layout
7187 caption with default width
7202 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7205 \begin_layout Plain Layout
7211 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7214 \begin_layout Plain Layout
7220 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7223 \begin_layout Plain Layout
7229 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7232 \begin_layout Plain Layout
7240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7243 \begin_layout Plain Layout
7249 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7252 \begin_layout Plain Layout
7258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7261 \begin_layout Plain Layout
7267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7270 \begin_layout Plain Layout
7276 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7279 \begin_layout Plain Layout
7287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7290 \begin_layout Plain Layout
7296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7299 \begin_layout Plain Layout
7305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7308 \begin_layout Plain Layout
7314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7317 \begin_layout Plain Layout
7323 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7326 \begin_layout Plain Layout
7334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7337 \begin_layout Plain Layout
7343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7346 \begin_layout Plain Layout
7352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7355 \begin_layout Plain Layout
7361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7364 \begin_layout Plain Layout
7370 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7373 \begin_layout Plain Layout
7381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7384 \begin_layout Plain Layout
7390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7393 \begin_layout Plain Layout
7399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7402 \begin_layout Plain Layout
7408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7411 \begin_layout Plain Layout
7417 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7420 \begin_layout Plain Layout
7428 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7431 \begin_layout Plain Layout
7437 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7440 \begin_layout Plain Layout
7446 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7449 \begin_layout Plain Layout
7455 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7458 \begin_layout Plain Layout
7464 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7467 \begin_layout Plain Layout
7481 \begin_layout Standard
7485 \begin_layout Plain Layout
7497 \begin_inset Tabular
7498 <lyxtabular version="3" rows="6" columns="5">
7499 <features islongtable="true" longtabularalignment="center">
7500 <column alignment="center" valignment="top">
7501 <column alignment="center" valignment="top">
7502 <column alignment="center" valignment="top">
7503 <column alignment="center" valignment="top">
7504 <column alignment="center" valignment="top">
7505 <row endfirsthead="true" caption="true">
7506 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7509 \begin_layout Plain Layout
7510 \begin_inset Caption Standard
7512 \begin_layout Plain Layout
7513 Long full title with width set to 5
7514 \begin_inset space \thinspace{}
7517 cm long full title with width set to 5
7518 \begin_inset space \thinspace{}
7521 cm long full title with width set to 5
7522 \begin_inset space \thinspace{}
7526 \begin_inset Argument 1
7529 \begin_layout Plain Layout
7531 \begin_inset space \thinspace{}
7535 \begin_inset space \thinspace{}
7539 \begin_inset space \thinspace{}
7557 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7560 \begin_layout Plain Layout
7566 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7569 \begin_layout Plain Layout
7575 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7578 \begin_layout Plain Layout
7584 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7587 \begin_layout Plain Layout
7595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7598 \begin_layout Plain Layout
7604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7607 \begin_layout Plain Layout
7613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7616 \begin_layout Plain Layout
7622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7625 \begin_layout Plain Layout
7631 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7634 \begin_layout Plain Layout
7642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7645 \begin_layout Plain Layout
7651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7654 \begin_layout Plain Layout
7660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7663 \begin_layout Plain Layout
7669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7672 \begin_layout Plain Layout
7678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7681 \begin_layout Plain Layout
7689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7692 \begin_layout Plain Layout
7698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7701 \begin_layout Plain Layout
7707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7710 \begin_layout Plain Layout
7716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7719 \begin_layout Plain Layout
7725 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7728 \begin_layout Plain Layout
7736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7739 \begin_layout Plain Layout
7745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7748 \begin_layout Plain Layout
7754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7757 \begin_layout Plain Layout
7763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7766 \begin_layout Plain Layout
7772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7775 \begin_layout Plain Layout
7783 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7786 \begin_layout Plain Layout
7792 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7795 \begin_layout Plain Layout
7801 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7804 \begin_layout Plain Layout
7810 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7813 \begin_layout Plain Layout
7819 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7822 \begin_layout Plain Layout
7836 \begin_layout Standard
7840 \begin_layout Plain Layout
7854 \begin_layout Standard
7855 \begin_inset Note Greyedout
7858 \begin_layout Plain Layout
7863 When the \SpecialChar LaTeX
7869 \begin_inset Index idx
7872 \begin_layout Plain Layout
7879 is used, as in this document, the full page width is used for the caption
7880 when you use the default value of 4
7881 \begin_inset space \thinspace{}
7891 To get in this case exactly a 4
7892 \begin_inset space \thinspace{}
7895 in wide caption, you can either use a value slightly different from 4.0
7896 \begin_inset space \thinspace{}
7900 \begin_inset space \thinspace{}
7904 \begin_inset space \space{}
7908 \begin_inset space \thinspace{}
7911 in, or the \SpecialChar LaTeX
7916 captionsetup{width=value}
7918 that is provided by the
7930 \begin_layout Subsubsection
7931 Different Captions for Table Pages
7932 \begin_inset Index idx
7935 \begin_layout Plain Layout
7936 Table ! Multi-page Table ! Different Captions for Pages
7944 \begin_layout Standard
7945 When the table captions for the following pages should differ from the one
7946 of the first table page, mark a empty row as header which contains a caption.
7947 Then right-click on the caption and select in the context menu
7950 \begin_inset space ~
7957 \begin_inset space ~
7961 \begin_inset CommandInset ref
7963 reference "tab:DiffCaptions"
7967 is an example of a multi-page table with different heading where the second
7968 caption does not include the table number.
7971 \begin_layout Standard
7973 \begin_inset Tabular
7974 <lyxtabular version="3" rows="59" columns="3">
7975 <features islongtable="true" longtabularalignment="center">
7976 <column alignment="left" valignment="top" width="0cm">
7977 <column alignment="left" valignment="top" width="0pt">
7978 <column alignment="center" valignment="top" width="0pt">
7979 <row endfirsthead="true" caption="true">
7980 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7983 \begin_layout Plain Layout
7984 \begin_inset Caption Standard
7986 \begin_layout Plain Layout
7988 \begin_inset CommandInset label
7990 name "tab:DiffCaptions"
7995 \begin_inset Argument 1
7998 \begin_layout Plain Layout
8014 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8017 \begin_layout Plain Layout
8023 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8026 \begin_layout Plain Layout
8033 <row endfirsthead="true">
8034 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8037 \begin_layout Plain Layout
8040 Example Phone List (ignore the names)
8045 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
8048 \begin_layout Plain Layout
8054 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
8057 \begin_layout Plain Layout
8064 <row endfirsthead="true">
8065 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8068 \begin_layout Plain Layout
8076 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8079 \begin_layout Plain Layout
8085 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8088 \begin_layout Plain Layout
8097 <row endhead="true" caption="true">
8098 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8101 \begin_layout Plain Layout
8102 \begin_inset Caption Unnumbered
8104 \begin_layout Plain Layout
8105 Continued Example Phone List
8115 <cell multicolumn="2" alignment="left" valignment="top" leftline="true" usebox="none">
8118 \begin_layout Plain Layout
8124 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8127 \begin_layout Plain Layout
8134 <row endhead="true">
8135 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8138 \begin_layout Plain Layout
8146 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8149 \begin_layout Plain Layout
8155 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8158 \begin_layout Plain Layout
8165 <row endhead="true">
8166 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8169 \begin_layout Plain Layout
8177 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8180 \begin_layout Plain Layout
8186 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8189 \begin_layout Plain Layout
8198 <row endfoot="true">
8199 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
8202 \begin_layout Plain Layout
8203 continued on next page
8208 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8211 \begin_layout Plain Layout
8217 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8220 \begin_layout Plain Layout
8228 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8231 \begin_layout Plain Layout
8239 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8242 \begin_layout Plain Layout
8248 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8251 \begin_layout Plain Layout
8259 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8262 \begin_layout Plain Layout
8270 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8273 \begin_layout Plain Layout
8279 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8282 \begin_layout Plain Layout
8290 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8293 \begin_layout Plain Layout
8301 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8304 \begin_layout Plain Layout
8310 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8313 \begin_layout Plain Layout
8321 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8324 \begin_layout Plain Layout
8332 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8335 \begin_layout Plain Layout
8341 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8344 \begin_layout Plain Layout
8352 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8355 \begin_layout Plain Layout
8363 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8366 \begin_layout Plain Layout
8372 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8375 \begin_layout Plain Layout
8383 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8386 \begin_layout Plain Layout
8394 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8397 \begin_layout Plain Layout
8403 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8406 \begin_layout Plain Layout
8414 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8417 \begin_layout Plain Layout
8425 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8428 \begin_layout Plain Layout
8434 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8437 \begin_layout Plain Layout
8445 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8448 \begin_layout Plain Layout
8456 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8459 \begin_layout Plain Layout
8465 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8468 \begin_layout Plain Layout
8476 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8479 \begin_layout Plain Layout
8487 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8490 \begin_layout Plain Layout
8496 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8499 \begin_layout Plain Layout
8507 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8510 \begin_layout Plain Layout
8518 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8521 \begin_layout Plain Layout
8527 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8530 \begin_layout Plain Layout
8538 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8541 \begin_layout Plain Layout
8549 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8552 \begin_layout Plain Layout
8558 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8561 \begin_layout Plain Layout
8569 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8572 \begin_layout Plain Layout
8580 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8583 \begin_layout Plain Layout
8589 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8592 \begin_layout Plain Layout
8600 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8603 \begin_layout Plain Layout
8611 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8614 \begin_layout Plain Layout
8620 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8623 \begin_layout Plain Layout
8631 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8634 \begin_layout Plain Layout
8642 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8645 \begin_layout Plain Layout
8651 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8654 \begin_layout Plain Layout
8662 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8665 \begin_layout Plain Layout
8674 \begin_layout Plain Layout
8685 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8688 \begin_layout Plain Layout
8694 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8697 \begin_layout Plain Layout
8705 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8708 \begin_layout Plain Layout
8716 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8719 \begin_layout Plain Layout
8725 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8728 \begin_layout Plain Layout
8736 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8739 \begin_layout Plain Layout
8747 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8750 \begin_layout Plain Layout
8756 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8759 \begin_layout Plain Layout
8767 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8770 \begin_layout Plain Layout
8778 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8781 \begin_layout Plain Layout
8787 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8790 \begin_layout Plain Layout
8798 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8801 \begin_layout Plain Layout
8809 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8812 \begin_layout Plain Layout
8818 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8821 \begin_layout Plain Layout
8829 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8832 \begin_layout Plain Layout
8840 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8843 \begin_layout Plain Layout
8849 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8852 \begin_layout Plain Layout
8860 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8863 \begin_layout Plain Layout
8871 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8874 \begin_layout Plain Layout
8880 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8883 \begin_layout Plain Layout
8891 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8894 \begin_layout Plain Layout
8902 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8905 \begin_layout Plain Layout
8911 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8914 \begin_layout Plain Layout
8922 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8925 \begin_layout Plain Layout
8933 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8936 \begin_layout Plain Layout
8942 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8945 \begin_layout Plain Layout
8953 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8956 \begin_layout Plain Layout
8964 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8967 \begin_layout Plain Layout
8973 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8976 \begin_layout Plain Layout
8984 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8987 \begin_layout Plain Layout
8995 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8998 \begin_layout Plain Layout
9004 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9007 \begin_layout Plain Layout
9015 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9018 \begin_layout Plain Layout
9026 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9029 \begin_layout Plain Layout
9035 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9038 \begin_layout Plain Layout
9046 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9049 \begin_layout Plain Layout
9057 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9060 \begin_layout Plain Layout
9066 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9069 \begin_layout Plain Layout
9077 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9080 \begin_layout Plain Layout
9088 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9091 \begin_layout Plain Layout
9097 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9100 \begin_layout Plain Layout
9108 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9111 \begin_layout Plain Layout
9119 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9122 \begin_layout Plain Layout
9128 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9131 \begin_layout Plain Layout
9139 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9142 \begin_layout Plain Layout
9150 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9153 \begin_layout Plain Layout
9159 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9162 \begin_layout Plain Layout
9170 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9173 \begin_layout Plain Layout
9181 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9184 \begin_layout Plain Layout
9190 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9193 \begin_layout Plain Layout
9201 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9204 \begin_layout Plain Layout
9210 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
9213 \begin_layout Plain Layout
9219 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9222 \begin_layout Plain Layout
9230 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9233 \begin_layout Plain Layout
9241 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9244 \begin_layout Plain Layout
9250 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9253 \begin_layout Plain Layout
9261 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9264 \begin_layout Plain Layout
9272 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9275 \begin_layout Plain Layout
9281 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9284 \begin_layout Plain Layout
9292 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9295 \begin_layout Plain Layout
9303 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9306 \begin_layout Plain Layout
9312 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9315 \begin_layout Plain Layout
9323 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9326 \begin_layout Plain Layout
9334 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9337 \begin_layout Plain Layout
9343 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9346 \begin_layout Plain Layout
9354 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9357 \begin_layout Plain Layout
9365 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9368 \begin_layout Plain Layout
9374 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9377 \begin_layout Plain Layout
9385 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9388 \begin_layout Plain Layout
9396 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9399 \begin_layout Plain Layout
9405 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9408 \begin_layout Plain Layout
9416 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9419 \begin_layout Plain Layout
9427 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9430 \begin_layout Plain Layout
9436 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9439 \begin_layout Plain Layout
9447 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9450 \begin_layout Plain Layout
9458 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9461 \begin_layout Plain Layout
9467 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9470 \begin_layout Plain Layout
9478 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9481 \begin_layout Plain Layout
9489 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9492 \begin_layout Plain Layout
9498 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9501 \begin_layout Plain Layout
9509 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9512 \begin_layout Plain Layout
9520 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9523 \begin_layout Plain Layout
9529 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9532 \begin_layout Plain Layout
9540 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9543 \begin_layout Plain Layout
9551 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9554 \begin_layout Plain Layout
9560 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9563 \begin_layout Plain Layout
9571 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9574 \begin_layout Plain Layout
9582 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9585 \begin_layout Plain Layout
9591 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9594 \begin_layout Plain Layout
9602 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9605 \begin_layout Plain Layout
9613 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9616 \begin_layout Plain Layout
9622 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9625 \begin_layout Plain Layout
9633 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9636 \begin_layout Plain Layout
9644 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9647 \begin_layout Plain Layout
9653 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9656 \begin_layout Plain Layout
9664 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9667 \begin_layout Plain Layout
9675 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9678 \begin_layout Plain Layout
9684 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9687 \begin_layout Plain Layout
9695 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9698 \begin_layout Plain Layout
9706 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9709 \begin_layout Plain Layout
9715 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9718 \begin_layout Plain Layout
9726 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9729 \begin_layout Plain Layout
9737 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9740 \begin_layout Plain Layout
9746 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9749 \begin_layout Plain Layout
9757 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9760 \begin_layout Plain Layout
9768 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9771 \begin_layout Plain Layout
9777 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9780 \begin_layout Plain Layout
9788 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9791 \begin_layout Plain Layout
9799 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9802 \begin_layout Plain Layout
9808 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9811 \begin_layout Plain Layout
9819 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9822 \begin_layout Plain Layout
9830 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9833 \begin_layout Plain Layout
9839 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9842 \begin_layout Plain Layout
9856 \begin_layout Section
9857 Special Multi-page Table Issues
9858 \begin_inset CommandInset label
9860 name "sec:Special-Longtable-Issues"
9867 \begin_layout Subsection
9868 Multi-page Table Calculation
9869 \begin_inset Index idx
9872 \begin_layout Plain Layout
9873 Table ! Multi-page Table ! Calculation
9881 \begin_layout Standard
9883 calculates the height of table pages and their page breaks using so called
9885 Chunks are parts of tables that held at the same time in \SpecialChar LaTeX
9887 The default value was historically set to only 20
9888 \begin_inset space ~
9892 If you are using multi-page tables with many pages this may slow down the
9893 creation of your document.
9894 You can safely increase the chunk size to values of 100
9895 \begin_inset space \thinspace{}
9899 \begin_inset space \thinspace{}
9902 1000 by adding this command line to your document preamble:
9905 \begin_layout Standard
9910 setcounter{LTchunksize}{100}
9913 \begin_layout Subsection
9914 Floats and Multi-page Tables
9915 \begin_inset Index idx
9918 \begin_layout Plain Layout
9919 Table ! Multi-page Table ! Floats
9927 \begin_layout Standard
9928 There might be problems when a float appears on the same page where a multi-page
9930 To avoid such a situation, insert a
9931 \begin_inset Quotes eld
9935 \begin_inset Quotes erd
9940 Insert\SpecialChar menuseparator
9941 Formatting\SpecialChar menuseparator
9943 \begin_inset space ~
9948 ) before your multi-page table.
9951 \begin_layout Subsection
9953 \begin_inset Index idx
9956 \begin_layout Plain Layout
9957 Table ! Multi-page Table ! Forced Page Breaks
9965 \begin_layout Standard
9966 By default tables are only broken between rows.
9967 If you have a cell with multiples lines and want to have a page break within
9968 the cell, insert the new line command
9969 \begin_inset Quotes eld
9981 \begin_inset Quotes erd
9985 Code at the point of the cell where it can be broken.
9994 command you have to insert in \SpecialChar TeX
9996 \begin_inset Quotes eld
10004 \begin_inset Quotes erd
10007 characters as the number of the following table columns.
10012 is the character to separate table cells.
10013 Write in \SpecialChar TeX
10018 the content of the corresponding following cell and delete the content
10020 \begin_inset Newline newline
10031 command, insert as many
10035 characters as the number of table columns before the current column.
10037 \begin_inset space ~
10041 \begin_inset CommandInset ref
10043 reference "tab:ForcedPagebreak"
10047 the cell that should be broken is in the second column followed by another
10049 Therefore the following command was inserted in the cell as \SpecialChar TeX
10052 \begin_inset Quotes eld
10060 \begin_inset Quotes erd
10066 \begin_layout Standard
10076 \begin_inset Newline newline
10082 \begin_layout Standard
10084 \begin_inset Quotes eld
10088 \begin_inset Quotes erd
10091 in the third column of the row was deleted.
10098 is only needed when a page break should definitely occur at this position,
10099 otherwise it would be a conditional break.
10100 If your footer row of the multi-page table has for a certain reason no
10101 upper line but you would have a horizontal line where the cell is broken,
10102 use this command instead:
10105 \begin_layout Standard
10113 \begin_inset Newline newline
10121 \begin_layout Standard
10122 When the cell to be broken is in the last column, the command
10125 \begin_layout Standard
10135 \begin_layout Standard
10136 must be inserted as \SpecialChar TeX
10137 Code at the beginning of the cell.
10138 This ensures that the part of the cell that will be displayed on the new
10139 page appears with the full width.
10142 \begin_layout Standard
10144 \begin_inset Tabular
10145 <lyxtabular version="3" rows="38" columns="3">
10146 <features islongtable="true" longtabularalignment="center">
10147 <column alignment="left" valignment="top" width="0cm">
10148 <column alignment="left" valignment="top" width="3cm">
10149 <column alignment="center" valignment="top" width="0pt">
10150 <row endfirsthead="true" caption="true">
10151 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10154 \begin_layout Plain Layout
10155 \begin_inset Caption Standard
10157 \begin_layout Plain Layout
10158 Table with forced page break in table cell
10159 \begin_inset CommandInset label
10161 name "tab:ForcedPagebreak"
10166 \begin_inset Argument 1
10169 \begin_layout Plain Layout
10170 Table with forced page break in table cell
10185 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10188 \begin_layout Plain Layout
10194 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10197 \begin_layout Plain Layout
10204 <row endfirsthead="true">
10205 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10208 \begin_layout Plain Layout
10211 Example Phone List (ignore the names)
10216 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10219 \begin_layout Plain Layout
10225 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10228 \begin_layout Plain Layout
10235 <row endfirsthead="true">
10236 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10239 \begin_layout Plain Layout
10247 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10250 \begin_layout Plain Layout
10256 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10259 \begin_layout Plain Layout
10268 <row endhead="true" caption="true">
10269 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10272 \begin_layout Plain Layout
10273 \begin_inset Caption Unnumbered
10275 \begin_layout Plain Layout
10276 Continued Example Phone List
10286 <cell multicolumn="2" alignment="left" valignment="top" rightline="true" usebox="none">
10289 \begin_layout Plain Layout
10295 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
10298 \begin_layout Plain Layout
10305 <row endhead="true">
10306 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10309 \begin_layout Plain Layout
10317 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10320 \begin_layout Plain Layout
10326 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10329 \begin_layout Plain Layout
10336 <row endhead="true">
10337 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10340 \begin_layout Plain Layout
10348 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10351 \begin_layout Plain Layout
10357 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10360 \begin_layout Plain Layout
10369 <row endfoot="true">
10370 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10373 \begin_layout Plain Layout
10374 continued on next page
10379 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10382 \begin_layout Plain Layout
10388 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10391 \begin_layout Plain Layout
10399 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10402 \begin_layout Plain Layout
10410 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10413 \begin_layout Plain Layout
10419 <cell alignment="right" valignment="top" rightline="true" usebox="none">
10422 \begin_layout Plain Layout
10430 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10433 \begin_layout Plain Layout
10441 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10444 \begin_layout Plain Layout
10450 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10453 \begin_layout Plain Layout
10461 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10464 \begin_layout Plain Layout
10472 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10475 \begin_layout Plain Layout
10481 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10484 \begin_layout Plain Layout
10492 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10495 \begin_layout Plain Layout
10503 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10506 \begin_layout Plain Layout
10512 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10515 \begin_layout Plain Layout
10523 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10526 \begin_layout Plain Layout
10534 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10537 \begin_layout Plain Layout
10543 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10546 \begin_layout Plain Layout
10554 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10557 \begin_layout Plain Layout
10565 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10568 \begin_layout Plain Layout
10574 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10577 \begin_layout Plain Layout
10585 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10588 \begin_layout Plain Layout
10596 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10599 \begin_layout Plain Layout
10605 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10608 \begin_layout Plain Layout
10616 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10619 \begin_layout Plain Layout
10627 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10630 \begin_layout Plain Layout
10636 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10639 \begin_layout Plain Layout
10647 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10650 \begin_layout Plain Layout
10658 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10661 \begin_layout Plain Layout
10667 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10670 \begin_layout Plain Layout
10678 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10681 \begin_layout Plain Layout
10689 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10692 \begin_layout Plain Layout
10698 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10701 \begin_layout Plain Layout
10709 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10712 \begin_layout Plain Layout
10720 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10723 \begin_layout Plain Layout
10729 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10732 \begin_layout Plain Layout
10740 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10743 \begin_layout Plain Layout
10751 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10754 \begin_layout Plain Layout
10760 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10763 \begin_layout Plain Layout
10771 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10774 \begin_layout Plain Layout
10782 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10785 \begin_layout Plain Layout
10791 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10794 \begin_layout Plain Layout
10802 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10805 \begin_layout Plain Layout
10813 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10816 \begin_layout Plain Layout
10822 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10825 \begin_layout Plain Layout
10833 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10836 \begin_layout Plain Layout
10844 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10847 \begin_layout Plain Layout
10853 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10856 \begin_layout Plain Layout
10864 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10867 \begin_layout Plain Layout
10875 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10878 \begin_layout Plain Layout
10884 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10887 \begin_layout Plain Layout
10895 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10898 \begin_layout Plain Layout
10906 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10909 \begin_layout Plain Layout
10915 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10918 \begin_layout Plain Layout
10926 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10929 \begin_layout Plain Layout
10937 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10940 \begin_layout Plain Layout
10946 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10949 \begin_layout Plain Layout
10957 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10960 \begin_layout Plain Layout
10968 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10971 \begin_layout Plain Layout
10977 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10980 \begin_layout Plain Layout
10988 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10991 \begin_layout Plain Layout
10999 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11002 \begin_layout Plain Layout
11008 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11011 \begin_layout Plain Layout
11019 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11022 \begin_layout Plain Layout
11030 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11033 \begin_layout Plain Layout
11039 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11042 \begin_layout Plain Layout
11050 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11053 \begin_layout Plain Layout
11061 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11064 \begin_layout Plain Layout
11070 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11073 \begin_layout Plain Layout
11081 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11084 \begin_layout Plain Layout
11092 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11095 \begin_layout Plain Layout
11097 Fürst von Montecompatri, 11.
11098 Fürst von Sulmona und Vivaro, 10.
11099 Fürst von Rossano, 5.
11100 Herzog von Canemorte, 11.
11101 Herzog von Palombara, 5.
11102 Herzog von Castelchiodato,
11106 \begin_layout Plain Layout
11117 \begin_layout Plain Layout
11125 Herzog von Poggionativo, 11.
11126 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
11127 Graf von Valinfreda, 11.
11128 Baron von Cropalati, 11.
11129 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
11134 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11137 \begin_layout Plain Layout
11145 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11148 \begin_layout Plain Layout
11156 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11159 \begin_layout Plain Layout
11165 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11168 \begin_layout Plain Layout
11176 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11179 \begin_layout Plain Layout
11187 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11190 \begin_layout Plain Layout
11196 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11199 \begin_layout Plain Layout
11207 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11210 \begin_layout Plain Layout
11218 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11221 \begin_layout Plain Layout
11227 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11230 \begin_layout Plain Layout
11238 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11241 \begin_layout Plain Layout
11249 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11252 \begin_layout Plain Layout
11258 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11261 \begin_layout Plain Layout
11269 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11272 \begin_layout Plain Layout
11280 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11283 \begin_layout Plain Layout
11289 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11292 \begin_layout Plain Layout
11300 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11303 \begin_layout Plain Layout
11311 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11314 \begin_layout Plain Layout
11320 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11323 \begin_layout Plain Layout
11331 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11334 \begin_layout Plain Layout
11342 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11345 \begin_layout Plain Layout
11351 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11354 \begin_layout Plain Layout
11362 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11365 \begin_layout Plain Layout
11373 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
11376 \begin_layout Plain Layout
11382 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11385 \begin_layout Plain Layout
11399 \begin_layout Section
11400 Multiple Lines, Columns and Rows
11403 \begin_layout Subsection
11404 Multiple Lines in Table Cells
11405 \begin_inset CommandInset label
11407 name "subsec:Multiple-Lines-in"
11412 \begin_inset Index idx
11415 \begin_layout Plain Layout
11416 Multiple Lines in Table Cells
11422 \begin_inset Index idx
11425 \begin_layout Plain Layout
11434 \begin_layout Standard
11436 \begin_inset Float table
11443 \begin_layout Plain Layout
11444 \begin_inset Caption Standard
11446 \begin_layout Plain Layout
11447 \begin_inset CommandInset label
11449 name "tab:Table-with-multiple"
11453 Table with multiple lines in cells
11461 \begin_layout Plain Layout
11463 \begin_inset Tabular
11464 <lyxtabular version="3" rows="3" columns="3">
11465 <features tabularvalignment="middle">
11466 <column alignment="center" valignment="middle" width="2.5cm">
11467 <column alignment="center" valignment="middle">
11468 <column alignment="center" valignment="middle">
11470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11473 \begin_layout Plain Layout
11475 \begin_inset Newline linebreak
11483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11486 \begin_layout Plain Layout
11492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11495 \begin_layout Plain Layout
11503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11506 \begin_layout Plain Layout
11512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11515 \begin_layout Plain Layout
11521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11524 \begin_layout Plain Layout
11532 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11535 \begin_layout Plain Layout
11541 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11544 \begin_layout Plain Layout
11550 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11553 \begin_layout Plain Layout
11572 \begin_layout Standard
11573 Setting a fixed width for a column enables you to enter text as a paragraph
11574 with multiple lines and hyphenation.
11577 \begin_layout Standard
11579 \begin_inset space ~
11583 \begin_inset CommandInset ref
11585 reference "tab:Table-with-multiple"
11589 , create a 3×3 table, mark the first cell and right-click on it.
11590 In the appearing table dialog we set a cell width of 2.5
11591 \begin_inset space \thinspace{}
11594 cm and choose centered for the vertical and horizontal alignment.
11595 The vertical alignment is used for all cells of the row.
11596 As our text is smaller than 2.5
11597 \begin_inset space \thinspace{}
11600 cm, only one line will appear.
11601 To get two lines, a justified line break (shortcut
11604 arg "newline-insert linebreak"
11608 If the text is wider than the set cell width, it will automatically be
11609 broken to several lines.
11612 \begin_layout Standard
11613 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11614 by \SpecialChar LaTeX
11615 if it is the first entry.
11616 Therefore you need to insert something to prevent the word not being the
11618 So add a horizontal space of 0
11619 \begin_inset space \thinspace{}
11622 pt before the word.
11623 As the space is zero, it doesn't change the output.
11625 \begin_inset space ~
11629 \begin_inset CommandInset ref
11631 reference "tab:Table-with-and"
11638 \begin_layout Standard
11639 \begin_inset Float table
11646 \begin_layout Plain Layout
11647 \begin_inset Caption Standard
11649 \begin_layout Plain Layout
11650 \begin_inset CommandInset label
11652 name "tab:Table-with-and"
11656 Table with and without hyphenation
11664 \begin_layout Plain Layout
11665 \begin_inset space \hfill{}
11669 \begin_inset Tabular
11670 <lyxtabular version="3" rows="3" columns="3">
11671 <features tabularvalignment="middle">
11672 <column alignment="center" valignment="middle" width="2.5cm">
11673 <column alignment="center" valignment="middle">
11674 <column alignment="center" valignment="middle">
11676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11679 \begin_layout Plain Layout
11680 verylongtablecellword
11685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11688 \begin_layout Plain Layout
11694 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11697 \begin_layout Plain Layout
11705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11708 \begin_layout Plain Layout
11714 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11717 \begin_layout Plain Layout
11723 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11726 \begin_layout Plain Layout
11734 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11737 \begin_layout Plain Layout
11743 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11746 \begin_layout Plain Layout
11752 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11755 \begin_layout Plain Layout
11767 \begin_inset space \hfill{}
11771 \begin_inset Tabular
11772 <lyxtabular version="3" rows="3" columns="3">
11773 <features tabularvalignment="middle">
11774 <column alignment="center" valignment="middle" width="2.5cm">
11775 <column alignment="center" valignment="middle">
11776 <column alignment="center" valignment="middle">
11778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11781 \begin_layout Plain Layout
11782 \begin_inset space \hspace{}
11786 verylongtablecellword
11791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11794 \begin_layout Plain Layout
11800 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11803 \begin_layout Plain Layout
11811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11814 \begin_layout Plain Layout
11820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11823 \begin_layout Plain Layout
11829 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11832 \begin_layout Plain Layout
11840 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11843 \begin_layout Plain Layout
11849 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11852 \begin_layout Plain Layout
11858 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11861 \begin_layout Plain Layout
11873 \begin_inset space \hfill{}
11884 \begin_layout Subsection
11886 \begin_inset CommandInset label
11888 name "subsec:Multicolumns"
11893 \begin_inset Index idx
11896 \begin_layout Plain Layout
11903 \begin_inset Index idx
11906 \begin_layout Plain Layout
11907 Table ! Multicolumns
11915 \begin_layout Subsubsection
11919 \begin_layout Standard
11920 To merge cells over multiple columns, select as many cells within a row
11921 as you want to merge and use either the table-toolbar button
11924 arg "tabular-feature multicolumn"
11929 Edit\SpecialChar menuseparator
11930 Table\SpecialChar menuseparator
11933 , or right click on the marked cells and choose
11937 in the context menu.
11940 \begin_layout Standard
11941 Multicolumns have their own cell settings.
11942 That means changing cell borders, cell alignment, and the width only affects
11944 Here is an example table with a multicolumn cell in the first row and one
11945 in the last row without the upper border:
11948 \begin_layout Standard
11950 \begin_inset Tabular
11951 <lyxtabular version="3" rows="3" columns="4">
11952 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11953 <column alignment="center" valignment="top" width="0pt">
11954 <column alignment="center" valignment="middle">
11955 <column alignment="center" valignment="top" width="0in">
11956 <column alignment="center" valignment="top" width="0pt">
11958 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11961 \begin_layout Plain Layout
11967 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11970 \begin_layout Plain Layout
11976 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11979 \begin_layout Plain Layout
11985 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11988 \begin_layout Plain Layout
11996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11999 \begin_layout Plain Layout
12014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12017 \begin_layout Plain Layout
12023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12026 \begin_layout Plain Layout
12032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12035 \begin_layout Plain Layout
12043 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12046 \begin_layout Plain Layout
12052 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
12055 \begin_layout Plain Layout
12061 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12064 \begin_layout Plain Layout
12070 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12073 \begin_layout Plain Layout
12087 \begin_layout Subsubsection
12088 Multicolumn Calculations
12089 \begin_inset CommandInset label
12091 name "subsec:Multicolumn-Calculations"
12096 \begin_inset Index idx
12099 \begin_layout Plain Layout
12100 Multicolumns ! Calculations
12108 \begin_layout Standard
12110 supports multicolumns directly, but we have to take account of the cell
12111 width of the columns spanned by the multicolumn cell.
12114 \begin_layout Standard
12115 \begin_inset Float table
12122 \begin_layout Plain Layout
12123 \begin_inset Caption Standard
12125 \begin_layout Plain Layout
12126 \begin_inset CommandInset label
12128 name "tab:Table-with-centered"
12132 Table with centered multicolumn text above two columns that have exactly
12133 half the width of the multicolumn cell
12134 \begin_inset Argument 1
12137 \begin_layout Plain Layout
12138 Perfect multicolumn table
12151 \begin_layout Plain Layout
12153 \begin_inset Tabular
12154 <lyxtabular version="3" rows="3" columns="3">
12155 <features tabularvalignment="middle">
12156 <column alignment="center" valignment="middle" special=">{\centering}m{1.25cm-6.2pt}">
12157 <column alignment="center" valignment="middle">
12158 <column alignment="center" valignment="top">
12160 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
12163 \begin_layout Plain Layout
12164 multiple lines multicolumn
12169 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12172 \begin_layout Plain Layout
12178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12181 \begin_layout Plain Layout
12189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12192 \begin_layout Plain Layout
12198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12201 \begin_layout Plain Layout
12207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12210 \begin_layout Plain Layout
12218 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12221 \begin_layout Plain Layout
12227 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12230 \begin_layout Plain Layout
12236 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12239 \begin_layout Plain Layout
12258 \begin_layout Standard
12259 To create for example Table
12260 \begin_inset space ~
12264 \begin_inset CommandInset ref
12266 reference "tab:Table-with-centered"
12270 , mark the first two cells in the first row of a 3×3 table and right-click
12272 Now choose for this cell
12281 \begin_inset space \thinspace{}
12284 cm in the table dialog.
12285 The merged columns should have exactly half the width of the multicolumn
12286 cell, so that you would set a width of 1.25
12287 \begin_inset space \thinspace{}
12290 cm for the first column.
12291 The second column has then automatically a width of 1.25
12292 \begin_inset space \thinspace{}
12295 cm (multicolumn width - width of first column).
12296 This was done for Table
12297 \begin_inset space ~
12301 \begin_inset CommandInset ref
12303 reference "tab:Table-without-half"
12310 \begin_layout Standard
12311 \begin_inset Float table
12318 \begin_layout Plain Layout
12319 \begin_inset Caption Standard
12321 \begin_layout Plain Layout
12322 \begin_inset CommandInset label
12324 name "tab:Table-without-half"
12328 Table where the spanned table columns are not exactly half the width of
12329 the multicolumn cell
12330 \begin_inset Argument 1
12333 \begin_layout Plain Layout
12334 Imperfect multicolumn table
12347 \begin_layout Plain Layout
12349 \begin_inset Tabular
12350 <lyxtabular version="3" rows="3" columns="3">
12351 <features tabularvalignment="middle">
12352 <column alignment="center" valignment="top" width="1.25cm">
12353 <column alignment="center" valignment="top">
12354 <column alignment="center" valignment="top">
12356 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12359 \begin_layout Plain Layout
12360 multiple lines multicolumn
12365 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12368 \begin_layout Plain Layout
12374 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12377 \begin_layout Plain Layout
12385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12388 \begin_layout Plain Layout
12394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12397 \begin_layout Plain Layout
12403 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12406 \begin_layout Plain Layout
12414 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12417 \begin_layout Plain Layout
12423 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12426 \begin_layout Plain Layout
12432 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12435 \begin_layout Plain Layout
12454 \begin_layout Standard
12455 You can see that the first column is not half the width of the multicolumn
12456 cell, it is a bit bigger.
12457 The reason is that the specified width of a cell
12458 \begin_inset Formula $W_{g}$
12461 is not its total width
12462 \begin_inset Formula $W_{\mathrm{tot}}$
12465 because a cell is always a bit larger than specified.
12467 \begin_inset space ~
12471 \begin_inset CommandInset ref
12473 reference "cha:Explanation-of-Equation"
12477 explains this in detail.
12480 \begin_layout Standard
12482 \begin_inset Formula $W_{g\,n}$
12485 which the user needs to set when
12489 columns are spanned can be calculated, so that each column has a total
12491 \begin_inset Formula $W_{\mathrm{tot\,multicolumn}}/n$
12495 \begin_inset Formula
12497 W_{g\,n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
12505 \begin_layout Standard
12506 In our case we have
12507 \begin_inset Formula $n=2$
12511 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
12514 cm and the default values for the lengths, so that equation
12515 \begin_inset CommandInset ref
12522 \begin_inset Formula
12524 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
12532 \begin_layout Standard
12533 To enable calculations in \SpecialChar LaTeX
12534 , the \SpecialChar LaTeX
12539 must be loaded with the document preamble line
12540 \begin_inset Index idx
12543 \begin_layout Plain Layout
12553 \begin_layout Standard
12561 \begin_layout Standard
12563 does not allow you to calculate lengths in the
12567 field of the table dialog.
12568 Therefore you have to format the column by inserting a \SpecialChar LaTeX
12571 Here is an overview about the arguments:
12574 \begin_layout Itemize
12579 creates cell with a fixed width, its text is vertically top-aligned
12582 \begin_layout Itemize
12587 creates cell with a fixed width, its text is vertically centered
12590 \begin_layout Itemize
12595 creates cell with a fixed width, its text is vertically bottom-aligned
12598 \begin_layout Standard
12599 By entering a \SpecialChar LaTeX
12600 -argument, all cell settings set in the table dialog are overwritt
12604 \begin_layout Standard
12605 \begin_inset Note Greyedout
12608 \begin_layout Plain Layout
12613 Due to a bug, \SpecialChar LyX
12614 shows the overwritten settings anyway.
12622 \begin_layout Standard
12623 As the text should be horizontally centered, the command
12630 You can now enter the following \SpecialChar LaTeX
12631 -argument for the first spanned column:
12634 \begin_layout Standard
12639 centering}m{1.25cm-6.2pt}
12642 \begin_layout Standard
12647 means, that the commands inside the braces are applied before the cell
12651 \begin_layout Standard
12652 Although we have chosen centered alignment for the text of the multicolumn
12653 cell, it is still left aligned.
12654 This is because \SpecialChar LyX
12655 only applies the alignment to single columns.
12656 So for the multicolumn cell we have to use the \SpecialChar LaTeX
12660 \begin_layout Standard
12668 \begin_layout Subsection
12670 \begin_inset CommandInset label
12672 name "subsec:Multirows"
12677 \begin_inset Index idx
12680 \begin_layout Plain Layout
12687 \begin_inset Index idx
12690 \begin_layout Plain Layout
12699 \begin_layout Standard
12700 To merge cells over multiple rows, select as many cells within a column
12701 as you want to merge and use either the table-toolbar button
12704 arg "tabular-feature multirow"
12709 Edit\SpecialChar menuseparator
12710 Table\SpecialChar menuseparator
12713 , or right click on the marked cells and choose
12717 in the context menu.
12720 \begin_layout Standard
12721 Here is an example table with a multirow in the first column:
12724 \begin_layout Standard
12726 \begin_inset Tabular
12727 <lyxtabular version="3" rows="3" columns="3">
12728 <features tabularvalignment="middle">
12729 <column alignment="center" valignment="top" width="0pt">
12730 <column alignment="center" valignment="top">
12731 <column alignment="center" valignment="top">
12733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12736 \begin_layout Plain Layout
12742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12745 \begin_layout Plain Layout
12751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12754 \begin_layout Plain Layout
12762 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12765 \begin_layout Plain Layout
12771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12774 \begin_layout Plain Layout
12780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12783 \begin_layout Plain Layout
12791 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12794 \begin_layout Plain Layout
12800 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12803 \begin_layout Plain Layout
12809 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12812 \begin_layout Plain Layout
12826 \begin_layout Standard
12827 The width of multirow cells is set by setting the width and alignment for
12833 shifts the content of the multirow up/down if the offset is positive/negative.
12836 \begin_layout Standard
12837 If the column of a multirow cell has no explicit width, the multirow cell
12838 inherits the alignment of the column.
12839 Otherwise it is by default left-aligned.
12840 To override the default, renew the command
12849 \begin_layout Standard
12861 \begin_layout Standard
12862 in the document preamble.
12863 Then all entries of multirow cells in the document are centered.
12864 If centering is only needed for several tables, you can renew the command
12865 in a \SpecialChar TeX
12866 Code box just before the table instead of the preamble.
12867 If the text should be right-aligned, replace
12880 To return to left-alignment
12889 \begin_layout Standard
12890 This is an example table with a right-aligned multirow cell that has a vertical
12892 \begin_inset space \thinspace{}
12896 \begin_inset space \thinspace{}
12902 \begin_layout Standard
12908 \begin_layout Plain Layout
12922 \begin_inset Tabular
12923 <lyxtabular version="3" rows="4" columns="3">
12924 <features tabularvalignment="middle">
12925 <column alignment="center" valignment="top" width="3cm">
12926 <column alignment="center" valignment="top">
12927 <column alignment="center" valignment="top">
12929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12932 \begin_layout Plain Layout
12938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12941 \begin_layout Plain Layout
12947 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12950 \begin_layout Plain Layout
12958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12961 \begin_layout Plain Layout
12967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12970 \begin_layout Plain Layout
12976 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12979 \begin_layout Plain Layout
12987 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12990 \begin_layout Plain Layout
12996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12999 \begin_layout Plain Layout
13005 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13008 \begin_layout Plain Layout
13016 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13019 \begin_layout Plain Layout
13025 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13028 \begin_layout Plain Layout
13034 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13037 \begin_layout Plain Layout
13052 \begin_layout Plain Layout
13068 \begin_layout Standard
13069 To start a new line in a multirow you can use a forced line break (shortcut
13073 arg "newline-insert newline"
13076 ) but this will not respect the cell lines as demonstrated in this table:
13079 \begin_layout Standard
13082 \begin_inset Tabular
13083 <lyxtabular version="3" rows="3" columns="2">
13084 <features tabularvalignment="middle">
13085 <column alignment="left" valignment="middle" width="2cm">
13086 <column alignment="center" valignment="top">
13088 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
13091 \begin_layout Plain Layout
13093 \begin_inset Newline newline
13097 \begin_inset Newline newline
13105 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13108 \begin_layout Plain Layout
13116 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
13119 \begin_layout Plain Layout
13125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13128 \begin_layout Plain Layout
13136 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13139 \begin_layout Plain Layout
13145 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13148 \begin_layout Plain Layout
13162 \begin_layout Standard
13163 Therefore be careful with forced line breaks.
13166 \begin_layout Subsection
13167 Cells with diagonal line(s)
13170 \begin_layout Standard
13171 To tell the reader what is meant by column and row headings in a table,
13172 it is helpful to split the first cell of the table by one or two diagonal
13174 This can be achieved by loading the \SpecialChar LaTeX
13180 \begin_inset Index idx
13183 \begin_layout Plain Layout
13185 -packages ! picinpar
13190 in the document preamble.
13191 The package provides the command
13197 that is inserted as \SpecialChar TeX
13198 Code and that can take 2 or 3
13199 \begin_inset space ~
13205 \begin_layout Standard
13210 diagbox[options]{lower left}{upper right}
13213 \begin_layout Standard
13218 diagbox[options]{lower left}{upper left}{upper right}
13221 \begin_layout Standard
13222 The first scheme divides the cell by a single diagonal line and the arguments
13223 are placed below and above this line.
13224 The second scheme divides the cell by 2
13225 \begin_inset space ~
13231 \begin_layout Standard
13235 \begin_layout Plain Layout
13245 \begin_inset Note Note
13248 \begin_layout Plain Layout
13249 The following section will only be displayed when the \SpecialChar LaTeX
13262 \begin_layout Standard
13263 Here is an example table where
13269 is used in the 2-argument scheme in the first cell:
13270 \begin_inset VSpace medskip
13276 \begin_layout Standard
13278 \begin_inset Tabular
13279 <lyxtabular version="3" rows="4" columns="4">
13280 <features tabularvalignment="middle">
13281 <column alignment="center" valignment="top">
13282 <column alignment="center" valignment="top">
13283 <column alignment="center" valignment="top">
13284 <column alignment="center" valignment="top">
13286 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13289 \begin_layout Plain Layout
13293 \begin_layout Plain Layout
13306 \begin_layout Plain Layout
13317 \begin_layout Plain Layout
13329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13332 \begin_layout Plain Layout
13338 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13341 \begin_layout Plain Layout
13347 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13350 \begin_layout Plain Layout
13358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13361 \begin_layout Plain Layout
13367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13370 \begin_layout Plain Layout
13376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13379 \begin_layout Plain Layout
13385 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13388 \begin_layout Plain Layout
13396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13399 \begin_layout Plain Layout
13405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13408 \begin_layout Plain Layout
13414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13417 \begin_layout Plain Layout
13423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13426 \begin_layout Plain Layout
13434 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13437 \begin_layout Plain Layout
13443 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13446 \begin_layout Plain Layout
13452 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13455 \begin_layout Plain Layout
13461 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13464 \begin_layout Plain Layout
13476 \begin_inset VSpace medskip
13482 \begin_layout Standard
13483 The 3-argument scheme is for example useful for cross-tables of sports leagues
13487 \begin_layout Standard
13490 \begin_inset Tabular
13491 <lyxtabular version="3" rows="4" columns="4">
13492 <features tabularvalignment="middle">
13493 <column alignment="center" valignment="top" width="0pt">
13494 <column alignment="center" valignment="top">
13495 <column alignment="center" valignment="top">
13496 <column alignment="center" valignment="top">
13498 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13501 \begin_layout Plain Layout
13505 \begin_layout Plain Layout
13518 \begin_layout Plain Layout
13529 \begin_layout Plain Layout
13540 \begin_layout Plain Layout
13552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13555 \begin_layout Plain Layout
13561 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13564 \begin_layout Plain Layout
13570 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13573 \begin_layout Plain Layout
13581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13584 \begin_layout Plain Layout
13590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13593 \begin_layout Plain Layout
13599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13602 \begin_layout Plain Layout
13608 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13611 \begin_layout Plain Layout
13619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13622 \begin_layout Plain Layout
13628 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13631 \begin_layout Plain Layout
13637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13640 \begin_layout Plain Layout
13646 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13649 \begin_layout Plain Layout
13657 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13660 \begin_layout Plain Layout
13666 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13669 \begin_layout Plain Layout
13675 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13678 \begin_layout Plain Layout
13684 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13687 \begin_layout Plain Layout
13701 \begin_layout Standard
13702 For larger cross-tables one might use split cells in 2 or every corner of
13703 the table like in this example:
13706 \begin_layout Standard
13709 \begin_inset Tabular
13710 <lyxtabular version="3" rows="5" columns="5">
13711 <features tabularvalignment="middle">
13712 <column alignment="center" valignment="top" width="0pt">
13713 <column alignment="center" valignment="top">
13714 <column alignment="center" valignment="top">
13715 <column alignment="center" valignment="top">
13716 <column alignment="center" valignment="top">
13718 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13721 \begin_layout Plain Layout
13725 \begin_layout Plain Layout
13738 \begin_layout Plain Layout
13749 \begin_layout Plain Layout
13760 \begin_layout Plain Layout
13772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13775 \begin_layout Plain Layout
13781 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13784 \begin_layout Plain Layout
13790 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13793 \begin_layout Plain Layout
13799 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13802 \begin_layout Plain Layout
13806 \begin_layout Plain Layout
13819 \begin_layout Plain Layout
13830 \begin_layout Plain Layout
13841 \begin_layout Plain Layout
13855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13858 \begin_layout Plain Layout
13864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13867 \begin_layout Plain Layout
13873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13876 \begin_layout Plain Layout
13882 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13885 \begin_layout Plain Layout
13891 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13894 \begin_layout Plain Layout
13902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13905 \begin_layout Plain Layout
13911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13914 \begin_layout Plain Layout
13920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13923 \begin_layout Plain Layout
13929 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13932 \begin_layout Plain Layout
13938 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13941 \begin_layout Plain Layout
13949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13952 \begin_layout Plain Layout
13958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13961 \begin_layout Plain Layout
13967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13970 \begin_layout Plain Layout
13976 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13979 \begin_layout Plain Layout
13985 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13988 \begin_layout Plain Layout
13996 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13999 \begin_layout Plain Layout
14003 \begin_layout Plain Layout
14016 \begin_layout Plain Layout
14027 \begin_layout Plain Layout
14038 \begin_layout Plain Layout
14050 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14053 \begin_layout Plain Layout
14059 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14062 \begin_layout Plain Layout
14068 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14071 \begin_layout Plain Layout
14077 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
14080 \begin_layout Plain Layout
14084 \begin_layout Plain Layout
14097 \begin_layout Plain Layout
14108 \begin_layout Plain Layout
14119 \begin_layout Plain Layout
14139 \begin_layout Standard
14140 To rotate the diagonal lines, the command option
14165 and represent a point of a compass.
14170 is for example the south-west corner.
14171 Thus in the lower left cell of the above table the command
14174 \begin_layout Standard
14179 diagbox[dir=SW]{Team home}{Result}{Team away}
14182 \begin_layout Standard
14184 If no direction is given, it will be NW.
14187 \begin_layout Standard
14188 The necessary width of split cells is automatically calculated.
14189 Thus if you set a fixed column width smaller than the calculated one, the
14190 cell's content will protrude the cell borders:
14193 \begin_layout Standard
14196 \begin_inset Tabular
14197 <lyxtabular version="3" rows="2" columns="2">
14198 <features tabularvalignment="middle">
14199 <column alignment="center" valignment="top" width="3cm">
14200 <column alignment="center" valignment="top">
14202 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14205 \begin_layout Plain Layout
14209 \begin_layout Plain Layout
14222 \begin_layout Plain Layout
14233 \begin_layout Plain Layout
14245 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14248 \begin_layout Plain Layout
14256 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14259 \begin_layout Plain Layout
14265 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14268 \begin_layout Plain Layout
14282 \begin_layout Standard
14283 If you need a certain width for columns with a split cell, use the command
14288 (replace '3cm' by the width you need).
14289 In the following table the width of the first column is set to 4
14290 \begin_inset space \thinspace{}
14301 \begin_inset space \thinspace{}
14305 \begin_inset space \thinspace{}
14310 tabcolsep is necessary because the overall width is the width for the text
14311 (in this case the 4
14312 \begin_inset space \thinspace{}
14315 cm) plus two times the separation of the text and the cell border.
14316 The calculation of the width cannot be done in the command option of
14322 so one needs to create a new length which can be used later.
14323 This is done with the \SpecialChar TeX
14327 \begin_layout Standard
14335 \begin_inset Newline newline
14347 \begin_layout Standard
14351 \begin_layout Plain Layout
14360 \begin_layout Plain Layout
14376 \begin_layout Standard
14377 To enable calculations in \SpecialChar LaTeX
14378 one needs to load the package
14383 \begin_inset Index idx
14386 \begin_layout Plain Layout
14393 in the document preamble.
14396 \begin_layout Standard
14397 In this table you can now use the command
14400 \begin_layout Standard
14410 \begin_layout Standard
14414 \begin_layout Standard
14417 \begin_inset Tabular
14418 <lyxtabular version="3" rows="2" columns="2">
14419 <features tabularvalignment="middle">
14420 <column alignment="center" valignment="top" width="4cm">
14421 <column alignment="center" valignment="top">
14423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14426 \begin_layout Plain Layout
14430 \begin_layout Plain Layout
14445 \begin_layout Plain Layout
14456 \begin_layout Plain Layout
14468 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14471 \begin_layout Plain Layout
14479 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14482 \begin_layout Plain Layout
14488 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14491 \begin_layout Plain Layout
14505 \begin_layout Standard
14506 Note that the split cell needs to be the widest one in the column.
14507 Otherwise the length of the diagonal line cannot be calculated correctly
14508 like in this table:
14511 \begin_layout Standard
14514 \begin_inset Tabular
14515 <lyxtabular version="3" rows="2" columns="2">
14516 <features tabularvalignment="middle">
14517 <column alignment="center" valignment="top" width="0pt">
14518 <column alignment="center" valignment="top">
14520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14523 \begin_layout Plain Layout
14527 \begin_layout Plain Layout
14540 \begin_layout Plain Layout
14551 \begin_layout Plain Layout
14563 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14566 \begin_layout Plain Layout
14574 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14577 \begin_layout Plain Layout
14583 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14586 \begin_layout Plain Layout
14600 \begin_layout Standard
14601 In this case use the
14612 It is then not necessary to add 2
14614 tabcolsep because the cell width is now the width of the column.
14615 In this table a width of 3
14616 \begin_inset space \thinspace{}
14622 \begin_layout Standard
14625 \begin_inset Tabular
14626 <lyxtabular version="3" rows="2" columns="2">
14627 <features tabularvalignment="middle">
14628 <column alignment="center" valignment="top" width="0pt">
14629 <column alignment="center" valignment="top">
14631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14634 \begin_layout Plain Layout
14638 \begin_layout Plain Layout
14642 diagbox[width=3cm]{
14651 \begin_layout Plain Layout
14662 \begin_layout Plain Layout
14674 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14677 \begin_layout Plain Layout
14685 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14688 \begin_layout Plain Layout
14694 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14697 \begin_layout Plain Layout
14711 \begin_layout Standard
14712 For multiple text lines in split cells one needs some extra height to fit
14713 the text to the cell.
14714 This can be achieved with the
14724 (replace '3cm' by the height you need).
14725 In the following table the command
14728 \begin_layout Standard
14733 diagbox[width=3cm,height=1.4cm]{A
14744 \begin_layout Standard
14745 is used in the first cell.
14754 creates hereby the line break.
14758 \begin_layout Plain Layout
14759 Breaking lines with
14763 is only possible when the column has a fixed width.
14771 \begin_layout Standard
14774 \begin_inset Tabular
14775 <lyxtabular version="3" rows="2" columns="2">
14776 <features tabularvalignment="middle">
14777 <column alignment="center" valignment="top">
14778 <column alignment="center" valignment="top">
14780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14783 \begin_layout Plain Layout
14787 \begin_layout Plain Layout
14791 diagbox[width=3cm,height=1.4cm]{
14800 \begin_layout Plain Layout
14815 \begin_layout Plain Layout
14826 \begin_layout Plain Layout
14841 \begin_layout Plain Layout
14853 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14856 \begin_layout Plain Layout
14864 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14867 \begin_layout Plain Layout
14873 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14876 \begin_layout Plain Layout
14890 \begin_layout Standard
14894 \begin_layout Plain Layout
14904 \begin_inset Note Note
14907 \begin_layout Plain Layout
14908 The following will be displayed when the \SpecialChar LaTeX
14921 \begin_layout Standard
14922 You need to install the \SpecialChar LaTeX
14927 to see the following part of this section in the output.
14930 \begin_layout Standard
14934 \begin_layout Plain Layout
14946 \begin_layout Standard
14947 For more info about the \SpecialChar LaTeX
14952 , see its documentation,
14953 \begin_inset CommandInset citation
14963 \begin_layout Section
14965 \begin_inset CommandInset label
14967 name "sec:Formal-Tables"
14972 \begin_inset Index idx
14975 \begin_layout Plain Layout
14984 \begin_layout Standard
14985 Tables are often typeset in books similar to Table
14986 \begin_inset space ~
14990 \begin_inset CommandInset ref
14992 reference "tab:Example-booktabs-table"
14997 This kind of tables is called
14998 \begin_inset Quotes eld
15006 \begin_inset Quotes erd
15010 To make a table a formal table
15011 \change_inserted -712698321 1554290084
15012 , select the table style
15013 \begin_inset Quotes eld
15017 \change_deleted 630872221 1622707670
15019 \change_inserted 630872221 1622707670
15022 \change_inserted -712698321 1554290084
15024 \begin_inset Quotes erd
15027 in the Table Creation dialog or
15037 tab of the table dialog
15038 \change_inserted -712698321 1554290131
15039 (if you additionally check the option
15041 Use Default Formal Style
15043 , the border lines are adapted to a sensible default)
15048 \begin_layout Standard
15049 \begin_inset Float table
15056 \begin_layout Plain Layout
15057 \begin_inset Caption Standard
15059 \begin_layout Plain Layout
15060 \begin_inset CommandInset label
15062 name "tab:Example-booktabs-table"
15067 \change_deleted -712698321 1554292310
15069 \change_inserted -712698321 1554292311
15080 \begin_layout Plain Layout
15082 \begin_inset Tabular
15083 <lyxtabular version="3" rows="8" columns="4">
15084 <features booktabs="true" tabularvalignment="middle">
15085 <column alignment="center" valignment="top">
15086 <column alignment="center" valignment="top" width="0pt">
15087 <column alignment="center" valignment="top" width="0pt">
15088 <column alignment="center" valignment="top">
15090 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15093 \begin_layout Plain Layout
15099 <cell alignment="center" valignment="top" topline="true" usebox="none">
15102 \begin_layout Plain Layout
15104 \begin_inset space \thinspace{}
15112 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
15115 \begin_layout Plain Layout
15117 \begin_inset space \thinspace{}
15125 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15128 \begin_layout Plain Layout
15136 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15139 \begin_layout Plain Layout
15141 \change_deleted -712698321 1554290161
15145 \begin_layout Plain Layout
15158 \begin_layout Plain Layout
15169 Detector thickness in µm
15174 <cell alignment="center" valignment="top" usebox="none">
15177 \begin_layout Plain Layout
15183 <cell alignment="center" valignment="top" usebox="none">
15186 \begin_layout Plain Layout
15192 <cell alignment="center" valignment="top" usebox="none">
15195 \begin_layout Plain Layout
15203 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15206 \begin_layout Plain Layout
15212 <cell alignment="center" valignment="top" topline="true" toplinertrim="true" usebox="none">
15215 \begin_layout Plain Layout
15221 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
15224 \begin_layout Plain Layout
15230 <cell alignment="center" valignment="top" topline="true" usebox="none">
15233 \begin_layout Plain Layout
15240 <row topspace="default">
15241 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15244 \begin_layout Plain Layout
15245 Spatial resolution in µm
15250 <cell alignment="center" valignment="top" usebox="none">
15253 \begin_layout Plain Layout
15259 <cell alignment="center" valignment="top" usebox="none">
15262 \begin_layout Plain Layout
15268 <cell alignment="center" valignment="top" usebox="none">
15271 \begin_layout Plain Layout
15278 <row topspace="default">
15279 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15282 \begin_layout Plain Layout
15284 \begin_inset Formula $f_{\mathrm{max}}$
15292 <cell alignment="center" valignment="top" usebox="none">
15295 \begin_layout Plain Layout
15301 <cell alignment="center" valignment="top" usebox="none">
15304 \begin_layout Plain Layout
15310 <cell alignment="center" valignment="top" usebox="none">
15313 \begin_layout Plain Layout
15320 <row topspace="default">
15321 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15324 \begin_layout Plain Layout
15326 \change_deleted -712698321 1554290260
15330 \begin_layout Plain Layout
15334 cmidrule[2pt](l{10pt}){1-1}
15341 LSF-spatial resolution
15346 <cell alignment="center" valignment="top" usebox="none">
15349 \begin_layout Plain Layout
15355 <cell alignment="center" valignment="top" usebox="none">
15358 \begin_layout Plain Layout
15364 <cell alignment="center" valignment="top" usebox="none">
15367 \begin_layout Plain Layout
15375 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15378 \begin_layout Plain Layout
15384 <cell alignment="center" valignment="top" usebox="none">
15387 \begin_layout Plain Layout
15393 <cell alignment="center" valignment="top" usebox="none">
15396 \begin_layout Plain Layout
15402 <cell alignment="center" valignment="top" usebox="none">
15405 \begin_layout Plain Layout
15413 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15416 \begin_layout Plain Layout
15422 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15425 \begin_layout Plain Layout
15431 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15434 \begin_layout Plain Layout
15440 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15443 \begin_layout Plain Layout
15462 \begin_layout Standard
15463 Spaces to table rows can be added using the
15467 tab of the table dialog as described in section
15468 \begin_inset space ~
15472 \begin_inset CommandInset ref
15474 reference "subsec:Row-Spacing"
15481 \begin_layout Standard
15482 Unlike normal tables, formal tables have no vertical table lines.
15483 The horizontal table lines can be set as for normal tables but they appear
15484 with different widths in the output:
15485 \begin_inset Newline newline
15488 The first and the last table line have a default width of 0.08
15489 \begin_inset space \thinspace{}
15492 em while the other lines have a default width of 0.05
15493 \begin_inset space \thinspace{}
15499 \begin_layout Standard
15500 The default widths can be changed with the following preamble lines
15503 \begin_layout Standard
15513 \begin_inset Newline newline
15525 \begin_layout Standard
15526 This example is for the first line, the so called
15531 If you want to change the width for the last line, replace
15540 To change the width for the other lines replace
15549 You can use all units listed in appendix
15550 \begin_inset space ~
15554 \begin_inset CommandInset ref
15556 reference "cha:Units-available-in"
15563 \begin_layout Standard
15565 \change_deleted -712698321 1554290929
15566 Lines that do not span all table columns can be created by setting a table
15567 line for multicolumn cells.
15569 will then internally use the command
15575 to create this line.
15577 \change_inserted -712698321 1554291959
15579 \begin_inset space ~
15583 \begin_inset CommandInset ref
15585 reference "tab:Example-booktabs-table"
15589 , formal tables often use shortened lines to group columns.
15590 This can be done in the borders widget of the table dialog.
15591 With formal tables, the top and bottom borders have to small offset lines
15592 to the left and the right.
15593 Clicking on these will trim the line respectively.
15598 \begin_layout Standard
15600 \change_inserted -712698321 1554291403
15601 If you need to adjust the length of the trimming or the height of the rules,
15602 you have to resort to \SpecialChar TeX
15604 The respective command (which is also used for the trimmed mid rules) is
15610 \begin_layout Standard
15615 cmidrule[height](trim){startcol-endcol}
15618 \begin_layout Standard
15620 \change_deleted -712698321 1554292020
15627 are currently not supported by \SpecialChar LyX
15628 so you have to use \SpecialChar TeX
15637 s can manually be created by inserting the command as \SpecialChar TeX
15639 cell entry of the first cell of a row.
15640 The line is then drawn in the output above the current row.
15645 \begin_layout Standard
15646 The default for the optional
15651 \begin_inset space \thinspace{}
15659 is the number of the column where the line starts and
15663 the column number where the line ends.
15668 always needs to be specified, also when the line should span only one column.
15669 The optional parameter
15686 Using for example the parameter
15690 means that the line is trimmed from its left end by 2
15691 \begin_inset space \thinspace{}
15695 If you don't specify the
15699 the line is trimmed by the default of 0.5
15700 \begin_inset space \thinspace{}
15704 \change_inserted -712698321 1554291561
15705 (this is what is done if you use trimming from the dialog)
15708 \change_inserted -712698321 1554292039
15712 \begin_layout Standard
15714 \change_inserted -712698321 1554292207
15725 is currently not supported by \SpecialChar LyX
15726 , and neither are the
15731 If you need this you can manually insert a
15737 with the respective settings as \SpecialChar TeX
15738 Code as the first cell entry of the first
15740 The line is then drawn in the output above the current row.
15742 \begin_inset space ~
15746 \begin_inset CommandInset ref
15748 reference "tab:Special-booktabs-table"
15752 exemplifies this (in the sixth row).
15757 \begin_layout Standard
15759 \change_deleted -712698321 1554291078
15760 \begin_inset VSpace bigskip
15764 \begin_inset space ~
15768 \begin_inset CommandInset ref
15770 reference "tab:Example-booktabs-table"
15774 was created using the commands
15777 \begin_layout Standard
15779 \change_deleted -712698321 1554291077
15789 \begin_layout Standard
15791 \change_deleted -712698321 1554291077
15792 at the beginning of the second row and
15795 \begin_layout Standard
15797 \change_deleted -712698321 1554291077
15802 cmidrule[2pt](l{10pt}){1-1}
15805 \begin_layout Standard
15807 \change_deleted -712698321 1554291077
15813 \begin_layout Standard
15815 \change_deleted -712698321 1554292212
15816 \begin_inset VSpace bigskip
15824 \begin_layout Standard
15826 \change_inserted -712698321 1554291573
15829 might want to have overlapping
15836 \change_deleted -712698321 1554296804
15838 \change_inserted -712698321 1554296808
15839 exemplified as well
15842 \begin_inset space ~
15846 \begin_inset CommandInset ref
15848 reference "tab:Special-booktabs-table"
15853 \change_inserted -712698321 1554291601
15854 , even though this is considered bad style (so only use it if you really
15858 This can be achieved with the \SpecialChar TeX
15862 \begin_layout Standard
15870 \begin_layout Standard
15871 The command that was used for the second row of Table
15872 \begin_inset space ~
15876 \begin_inset CommandInset ref
15878 reference "tab:Special-booktabs-table"
15885 \begin_layout Standard
15887 \change_deleted -712698321 1554291798
15903 \begin_layout Standard
15904 The command for the sixth row is
15907 \begin_layout Standard
15909 \change_deleted -712698321 1554291810
15923 \begin_layout Standard
15924 \begin_inset VSpace bigskip
15930 \begin_layout Standard
15931 If you are in any way not satisfied with the border line spacing, you can
15932 use the following command to produce lines that span over all table columns
15937 \begin_layout Standard
15942 specialrule{width}{space above}{space below}
15945 \begin_layout Standard
15946 For more information about these features, refer to the manual of the \SpecialChar LaTeX
15953 \begin_inset CommandInset citation
15961 \begin_inset Index idx
15964 \begin_layout Plain Layout
15966 -packages ! booktabs
15974 \begin_layout Standard
15975 \begin_inset Float table
15982 \begin_layout Plain Layout
15983 \begin_inset Caption Standard
15985 \begin_layout Plain Layout
15986 \begin_inset CommandInset label
15988 name "tab:Special-booktabs-table"
15993 \change_inserted -712698321 1554292295
15995 \change_deleted -712698321 1554292304
15997 \change_inserted -712698321 1554292305
15999 \change_deleted -712698321 1554292300
16010 \begin_layout Plain Layout
16012 \begin_inset Tabular
16013 <lyxtabular version="3" rows="8" columns="4">
16014 <features booktabs="true" tabularvalignment="middle">
16015 <column alignment="center" valignment="top">
16016 <column alignment="center" valignment="top" width="0pt">
16017 <column alignment="center" valignment="top" width="0pt">
16018 <column alignment="center" valignment="top" width="0pt">
16020 <cell alignment="center" valignment="top" topline="true" usebox="none">
16023 \begin_layout Plain Layout
16029 <cell alignment="center" valignment="top" topline="true" bottomline="true" bottomlinertrim="true" usebox="none">
16032 \begin_layout Plain Layout
16034 \begin_inset space \thinspace{}
16042 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
16045 \begin_layout Plain Layout
16047 \begin_inset space \thinspace{}
16055 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16058 \begin_layout Plain Layout
16066 <cell alignment="center" valignment="top" usebox="none">
16069 \begin_layout Plain Layout
16071 \change_deleted -712698321 1554291732
16075 \begin_layout Plain Layout
16088 \begin_layout Plain Layout
16103 \begin_layout Plain Layout
16116 \begin_layout Plain Layout
16125 Detector thickness in µm
16130 <cell alignment="center" valignment="top" usebox="none">
16133 \begin_layout Plain Layout
16139 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
16142 \begin_layout Plain Layout
16148 <cell alignment="center" valignment="top" topline="true" usebox="none">
16151 \begin_layout Plain Layout
16159 <cell alignment="center" valignment="top" topline="true" usebox="none">
16162 \begin_layout Plain Layout
16168 <cell alignment="center" valignment="top" topline="true" usebox="none">
16171 \begin_layout Plain Layout
16177 <cell alignment="center" valignment="top" topline="true" usebox="none">
16180 \begin_layout Plain Layout
16186 <cell alignment="center" valignment="top" topline="true" usebox="none">
16189 \begin_layout Plain Layout
16196 <row topspace="default">
16197 <cell alignment="center" valignment="top" usebox="none">
16200 \begin_layout Plain Layout
16201 Spatial resolution in µm
16206 <cell alignment="center" valignment="top" usebox="none">
16209 \begin_layout Plain Layout
16215 <cell alignment="center" valignment="top" usebox="none">
16218 \begin_layout Plain Layout
16224 <cell alignment="center" valignment="top" usebox="none">
16227 \begin_layout Plain Layout
16234 <row topspace="default">
16235 <cell alignment="center" valignment="top" usebox="none">
16238 \begin_layout Plain Layout
16240 \begin_inset Formula $f_{\mathrm{max}}$
16248 <cell alignment="center" valignment="top" usebox="none">
16251 \begin_layout Plain Layout
16257 <cell alignment="center" valignment="top" usebox="none">
16260 \begin_layout Plain Layout
16266 <cell alignment="center" valignment="top" usebox="none">
16269 \begin_layout Plain Layout
16277 <cell alignment="center" valignment="top" topline="true" usebox="none">
16280 \begin_layout Plain Layout
16284 \begin_layout Plain Layout
16297 \begin_layout Plain Layout
16302 \change_inserted -712698321 1554291896
16310 LSF-spatial resolution
16315 <cell alignment="center" valignment="top" topline="true" usebox="none">
16318 \begin_layout Plain Layout
16324 <cell alignment="center" valignment="top" topline="true" usebox="none">
16327 \begin_layout Plain Layout
16333 <cell alignment="center" valignment="top" topline="true" usebox="none">
16336 \begin_layout Plain Layout
16344 <cell alignment="center" valignment="top" usebox="none">
16347 \begin_layout Plain Layout
16353 <cell alignment="center" valignment="top" usebox="none">
16356 \begin_layout Plain Layout
16362 <cell alignment="center" valignment="top" usebox="none">
16365 \begin_layout Plain Layout
16371 <cell alignment="center" valignment="top" usebox="none">
16374 \begin_layout Plain Layout
16382 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16385 \begin_layout Plain Layout
16391 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16394 \begin_layout Plain Layout
16400 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16403 \begin_layout Plain Layout
16409 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16412 \begin_layout Plain Layout
16431 \begin_layout Section
16432 Vertical Table Alignment
16433 \begin_inset Index idx
16436 \begin_layout Plain Layout
16445 \begin_layout Standard
16446 To align tables vertically in a text line, the table must be inside a box.
16447 The box can then be vertically aligned as described in section
16448 \begin_inset space ~
16452 \begin_inset CommandInset ref
16454 reference "sec:Box-Dialog"
16461 \begin_layout Standard
16462 In the following example the tables are inside a minipage
16466 \begin_layout Plain Layout
16467 Minipages are described in section
16468 \begin_inset space ~
16472 \begin_inset CommandInset ref
16474 reference "sec:Minipages"
16483 box that has a width of 15
16484 \begin_inset space \thinspace{}
16490 \begin_layout Itemize
16492 \begin_inset Box Frameless
16502 height_special "totalheight"
16507 backgroundcolor "none"
16510 \begin_layout Plain Layout
16511 \begin_inset Tabular
16512 <lyxtabular version="3" rows="3" columns="3">
16513 <features tabularvalignment="middle">
16514 <column alignment="center" valignment="top">
16515 <column alignment="center" valignment="top">
16516 <column alignment="center" valignment="top">
16518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16521 \begin_layout Plain Layout
16527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16530 \begin_layout Plain Layout
16536 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16539 \begin_layout Plain Layout
16547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16550 \begin_layout Plain Layout
16556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16559 \begin_layout Plain Layout
16565 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16568 \begin_layout Plain Layout
16576 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16579 \begin_layout Plain Layout
16585 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16588 \begin_layout Plain Layout
16594 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16597 \begin_layout Plain Layout
16617 \begin_layout Plain Layout
16629 \begin_inset Box Frameless
16639 height_special "totalheight"
16644 backgroundcolor "none"
16647 \begin_layout Plain Layout
16648 \begin_inset Tabular
16649 <lyxtabular version="3" rows="3" columns="3">
16650 <features tabularvalignment="middle">
16651 <column alignment="center" valignment="top">
16652 <column alignment="center" valignment="top">
16653 <column alignment="center" valignment="top">
16655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16658 \begin_layout Plain Layout
16664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16667 \begin_layout Plain Layout
16673 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16676 \begin_layout Plain Layout
16684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16687 \begin_layout Plain Layout
16693 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16696 \begin_layout Plain Layout
16702 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16705 \begin_layout Plain Layout
16713 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16716 \begin_layout Plain Layout
16722 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16725 \begin_layout Plain Layout
16731 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16734 \begin_layout Plain Layout
16754 \begin_layout Plain Layout
16764 \begin_layout Itemize
16766 \begin_inset Box Frameless
16776 height_special "totalheight"
16781 backgroundcolor "none"
16784 \begin_layout Plain Layout
16785 \begin_inset Tabular
16786 <lyxtabular version="3" rows="3" columns="3">
16787 <features tabularvalignment="middle">
16788 <column alignment="center" valignment="top">
16789 <column alignment="center" valignment="top">
16790 <column alignment="center" valignment="top">
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" usebox="none">
16804 \begin_layout Plain Layout
16810 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16813 \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" usebox="none">
16833 \begin_layout Plain Layout
16839 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16842 \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" usebox="none">
16862 \begin_layout Plain Layout
16868 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16871 \begin_layout Plain Layout
16890 \begin_layout Itemize
16892 \begin_inset Box Frameless
16902 height_special "totalheight"
16907 backgroundcolor "none"
16910 \begin_layout Plain Layout
16911 \begin_inset Tabular
16912 <lyxtabular version="3" rows="3" columns="3">
16913 <features tabularvalignment="middle">
16914 <column alignment="center" valignment="top">
16915 <column alignment="center" valignment="top">
16916 <column alignment="center" valignment="top">
16918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16921 \begin_layout Plain Layout
16927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16930 \begin_layout Plain Layout
16936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16939 \begin_layout Plain Layout
16947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16950 \begin_layout Plain Layout
16956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16959 \begin_layout Plain Layout
16965 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16968 \begin_layout Plain Layout
16976 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16979 \begin_layout Plain Layout
16985 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16988 \begin_layout Plain Layout
16994 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16997 \begin_layout Plain Layout
17017 \begin_layout Plain Layout
17029 \begin_inset Box Frameless
17039 height_special "totalheight"
17044 backgroundcolor "none"
17047 \begin_layout Plain Layout
17048 \begin_inset Tabular
17049 <lyxtabular version="3" rows="3" columns="3">
17050 <features tabularvalignment="middle">
17051 <column alignment="center" valignment="top">
17052 <column alignment="center" valignment="top">
17053 <column alignment="center" valignment="top">
17055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17058 \begin_layout Plain Layout
17064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17067 \begin_layout Plain Layout
17073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17076 \begin_layout Plain Layout
17084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17087 \begin_layout Plain Layout
17093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17096 \begin_layout Plain Layout
17102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17105 \begin_layout Plain Layout
17113 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17116 \begin_layout Plain Layout
17122 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17125 \begin_layout Plain Layout
17131 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17134 \begin_layout Plain Layout
17154 \begin_layout Plain Layout
17164 \begin_layout Standard
17165 As you will see, the content of the first and last table row is not correctly
17167 To get this alignment, the minipage box must be set into a raisebox.
17171 \begin_layout Plain Layout
17172 Raiseboxes are described in section
17173 \begin_inset space ~
17177 \begin_inset CommandInset ref
17179 reference "subsec:Vertical-Alignment"
17188 In the example above the second table in the first item is aligned using
17189 the \SpecialChar TeX
17193 \begin_layout Standard
17203 \begin_layout Standard
17205 After the box the closing brace
17209 is inserted as \SpecialChar TeX
17211 For the second table in the last item the command
17214 \begin_layout Standard
17224 \begin_layout Standard
17228 \begin_layout Standard
17229 \begin_inset Note Greyedout
17232 \begin_layout Plain Layout
17237 The alignment of the table row content to the surrounding text line is
17239 The required value for the
17245 command for this alignment depends on the document font, the font size,
17246 and the table line thickness.
17254 \begin_layout Section
17256 \begin_inset CommandInset label
17258 name "sec:Colored-Tables"
17263 \begin_inset Index idx
17266 \begin_layout Plain Layout
17275 \begin_layout Subsection
17277 \begin_inset Index idx
17280 \begin_layout Plain Layout
17281 Table Color ! for Cells
17287 \begin_inset Index idx
17290 \begin_layout Plain Layout
17291 Color ! for Table Cells
17299 \begin_layout Standard
17300 \begin_inset Float table
17307 \begin_layout Plain Layout
17308 \begin_inset Caption Standard
17310 \begin_layout Plain Layout
17311 \begin_inset CommandInset label
17313 name "tab:Table-colored-without"
17317 Table colored without using the package
17322 \begin_inset Argument 1
17325 \begin_layout Plain Layout
17326 Table without colortbl
17339 \begin_layout Plain Layout
17341 \begin_inset Tabular
17342 <lyxtabular version="3" rows="3" columns="3">
17343 <features tabularvalignment="middle">
17344 <column alignment="center" valignment="top">
17345 <column alignment="center" valignment="top">
17346 <column alignment="center" valignment="top">
17348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17351 \begin_layout Plain Layout
17359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17362 \begin_layout Plain Layout
17370 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17373 \begin_layout Plain Layout
17383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17386 \begin_layout Plain Layout
17394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17397 \begin_layout Plain Layout
17405 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17408 \begin_layout Plain Layout
17418 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17421 \begin_layout Plain Layout
17429 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17432 \begin_layout Plain Layout
17440 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17443 \begin_layout Plain Layout
17464 \begin_layout Standard
17465 If you only need colored text, mark the cells and choose a color in the
17469 \begin_inset space ~
17474 dialog (toolbar button
17477 arg "dialog-show character"
17481 This was used to create Table
17482 \begin_inset space ~
17486 \begin_inset CommandInset ref
17488 reference "tab:Table-colored-without"
17493 In any other case you have to use the \SpecialChar LaTeX
17499 \begin_inset Index idx
17502 \begin_layout Plain Layout
17504 -packages ! colortbl
17512 \begin_layout Standard
17516 \begin_layout Plain Layout
17526 \begin_inset Note Note
17529 \begin_layout Plain Layout
17530 The following section part will only be displayed when the \SpecialChar LaTeX
17543 \begin_layout Standard
17544 To create colored tables,
17548 must be loaded in the preamble with the line
17551 \begin_layout Standard
17556 usepackage{colortbl}
17559 \begin_layout Standard
17560 The color of a column is adjusted with the command
17563 \begin_layout Standard
17568 columncolor{name of color}
17571 \begin_layout Standard
17577 More about the command
17581 is contained in section
17582 \begin_inset space ~
17586 \begin_inset CommandInset ref
17588 reference "subsec:Multicolumn-Calculations"
17595 \begin_layout Standard
17596 The following color names are predefined:
17599 \begin_layout Standard
17633 \begin_layout Standard
17634 \begin_inset VSpace medskip
17640 \begin_layout Standard
17641 If you add the option
17644 \begin_layout Standard
17650 \begin_layout Standard
17651 to the document class options in the document settings, you can additionally
17653 \begin_inset space ~
17657 These colors are listed in appendix
17658 \begin_inset space ~
17662 \begin_inset CommandInset ref
17664 reference "chap:List-of-dvips-colornames"
17669 One of these colors,
17673 , is used as example in Table
17674 \begin_inset space ~
17678 \begin_inset CommandInset ref
17680 reference "tab:Table-colored-using"
17687 \begin_layout Standard
17688 \begin_inset VSpace medskip
17694 \begin_layout Standard
17695 You can also define your own color with the command
17698 \begin_layout Standard
17703 definecolor{color name}{color model}{color values}
17706 \begin_layout Standard
17707 The color model can be
17710 \begin_layout Labeling
17711 \labelwidthstring 00.00.0000
17712 cmyk: cyan, magenta, yellow, black
17715 \begin_layout Labeling
17716 \labelwidthstring 00.00.0000
17717 rgb: red, green blue
17720 \begin_layout Labeling
17721 \labelwidthstring 00.00.0000
17725 \begin_layout Standard
17726 and the color values are comma separated numbers between 0 and 1 describing
17727 the factor for the corresponding color of the color model.
17730 \begin_layout Standard
17732 \begin_inset space \thinspace{}
17736 \begin_inset space \space{}
17743 " in the preamble with
17746 \begin_layout Standard
17751 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
17754 \begin_layout Standard
17762 \begin_layout Standard
17767 definecolor{lightgray}{gray}{0.8}
17770 \begin_layout Standard
17771 \begin_inset VSpace medskip
17777 \begin_layout Standard
17778 Lines are colored with the command
17781 \begin_layout Standard
17786 rowcolor{name of color}
17789 \begin_layout Standard
17790 and cells are colored with the command
17793 \begin_layout Standard
17798 cellcolor{name of color}
17801 \begin_layout Standard
17802 Both commands are inserted at the beginning of a cell as \SpecialChar TeX
17806 \begin_layout Standard
17807 To color characters in the table, mark the cells and use the
17810 \begin_inset space ~
17816 If a cell contains \SpecialChar TeX
17817 Code mark only the characters, otherwise the colored
17819 Code will cause \SpecialChar LaTeX
17823 \begin_layout Standard
17824 \begin_inset Note Greyedout
17827 \begin_layout Plain Layout
17832 Not all DVI-viewers are able to display self-defined colors.
17840 \begin_layout Standard
17841 \begin_inset VSpace bigskip
17847 \begin_layout Standard
17849 \begin_inset space ~
17853 \begin_inset CommandInset ref
17855 reference "tab:Table-colored-using"
17859 do the following: The color of the first column should be
17867 \begin_layout Standard
17872 columncolor{darkgreen}
17877 \begin_layout Standard
17878 as \SpecialChar LaTeX
17879 -argument for this column.
17880 The first row should be light blue, therefore the \SpecialChar TeX
17884 \begin_layout Standard
17892 \begin_layout Standard
17893 is inserted to the first cell of this row.
17894 Note that this overwrites the column color for the first cell.
17895 The last cell of the last row is colored maroon by inserting the \SpecialChar TeX
17900 \begin_layout Standard
17908 \begin_layout Standard
17909 The characters could now be colored using the menu
17911 Edit\SpecialChar menuseparator
17913 \begin_inset space ~
17921 \begin_layout Standard
17922 \begin_inset Float table
17929 \begin_layout Plain Layout
17930 \begin_inset Caption Standard
17932 \begin_layout Plain Layout
17933 \begin_inset CommandInset label
17935 name "tab:Table-colored-using"
17939 Table colored using the package
17944 \begin_inset Argument 1
17947 \begin_layout Plain Layout
17948 Table with colortbl
17961 \begin_layout Plain Layout
17963 \begin_inset Tabular
17964 <lyxtabular version="3" rows="3" columns="3">
17965 <features tabularvalignment="middle">
17966 <column alignment="center" valignment="top" special=">{\columncolor{darkgreen}\centering}c">
17967 <column alignment="center" valignment="top">
17968 <column alignment="center" valignment="top">
17970 <cell alignment="center" valignment="top" usebox="none">
17973 \begin_layout Plain Layout
17977 \begin_layout Plain Layout
17993 <cell alignment="center" valignment="top" usebox="none">
17996 \begin_layout Plain Layout
18004 <cell alignment="center" valignment="top" usebox="none">
18007 \begin_layout Plain Layout
18017 <cell alignment="center" valignment="top" usebox="none">
18020 \begin_layout Plain Layout
18028 <cell alignment="center" valignment="top" usebox="none">
18031 \begin_layout Plain Layout
18039 <cell alignment="center" valignment="top" usebox="none">
18042 \begin_layout Plain Layout
18052 <cell alignment="center" valignment="top" usebox="none">
18055 \begin_layout Plain Layout
18063 <cell alignment="center" valignment="top" usebox="none">
18066 \begin_layout Plain Layout
18074 <cell alignment="center" valignment="top" usebox="none">
18077 \begin_layout Plain Layout
18081 \begin_layout Plain Layout
18110 \begin_layout Standard
18114 \begin_layout Plain Layout
18124 \begin_inset Note Note
18127 \begin_layout Plain Layout
18128 The following will be displayed when the \SpecialChar LaTeX
18141 \begin_layout Standard
18142 You need to install the package
18146 to see the content of this section in the output.
18149 \begin_layout Standard
18153 \begin_layout Plain Layout
18165 \begin_layout Subsection
18167 \begin_inset Index idx
18170 \begin_layout Plain Layout
18171 Table Color ! for Rows
18177 \begin_inset Index idx
18180 \begin_layout Plain Layout
18181 Color ! for Table Rows
18189 \begin_layout Standard
18190 In case every second table row needs to be colored there is an alternative
18191 to the method described in the previous section: One loads the package
18197 \begin_inset Index idx
18200 \begin_layout Plain Layout
18206 \begin_layout Plain Layout
18220 in the document preamble with the command
18223 \begin_layout Standard
18228 usepackage[table]{xcolor}
18231 \begin_layout Standard
18236 automatically loads also the package
18241 \begin_inset Index idx
18244 \begin_layout Plain Layout
18246 -packages ! colortbl
18255 must be installed in your \SpecialChar LaTeX
18256 -distribution, otherwise you get \SpecialChar LaTeX
18260 \begin_layout Standard
18264 \begin_layout Plain Layout
18274 \begin_inset Note Note
18277 \begin_layout Plain Layout
18278 The following section part will only be displayed when the \SpecialChar LaTeX
18291 \begin_layout Standard
18292 The table rows are colored with the command
18295 \begin_layout Standard
18300 rowcolors[commands]{row number}{odd row color}{even row color}
18303 \begin_layout Standard
18304 that is either inserted in the document preamble or as \SpecialChar TeX
18306 first table to be colored.
18308 \begin_inset space ~
18311 number is the number of the first row which should be colored according
18312 to the odd row color.
18313 commands can be additional commands that are executed before every table
18315 So for example the command
18318 \begin_layout Standard
18323 rowcolors{1}{white}{lightgray}
18326 \begin_layout Standard
18327 leads to the coloring scheme of Table
18328 \begin_inset space ~
18332 \begin_inset CommandInset ref
18334 reference "tab:Table-rowcolors"
18342 \begin_layout Standard
18349 hline]{1}{lightgray}{cyan}
18352 \begin_layout Standard
18353 leads to the coloring scheme of Table
18354 \begin_inset space ~
18358 \begin_inset CommandInset ref
18360 reference "tab:Table-rowcolors-2"
18366 \begin_inset space ~
18370 \begin_inset space ~
18374 \begin_inset space ~
18378 \begin_inset space ~
18381 color are left empty, no color will be used so that the command
18384 \begin_layout Standard
18392 \begin_layout Standard
18393 deletes all colors.
18400 affects all tables following that command.
18403 \begin_layout Standard
18407 \begin_layout Plain Layout
18411 rowcolors{1}{white}{lightgray}
18419 \begin_layout Standard
18420 \begin_inset Float table
18427 \begin_layout Plain Layout
18428 \begin_inset Caption Standard
18430 \begin_layout Plain Layout
18431 \begin_inset CommandInset label
18433 name "tab:Table-rowcolors"
18437 Table where every second row is colored light gray.
18445 \begin_layout Plain Layout
18447 \begin_inset Tabular
18448 <lyxtabular version="3" rows="4" columns="3">
18449 <features tabularvalignment="middle">
18450 <column alignment="center" valignment="top">
18451 <column alignment="center" valignment="top" width="0pt">
18452 <column alignment="center" valignment="top" width="0pt">
18454 <cell alignment="center" valignment="top" usebox="none">
18457 \begin_layout Plain Layout
18463 <cell alignment="center" valignment="top" usebox="none">
18466 \begin_layout Plain Layout
18472 <cell alignment="center" valignment="top" usebox="none">
18475 \begin_layout Plain Layout
18483 <cell alignment="center" valignment="top" usebox="none">
18486 \begin_layout Plain Layout
18492 <cell alignment="center" valignment="top" usebox="none">
18495 \begin_layout Plain Layout
18501 <cell alignment="center" valignment="top" usebox="none">
18504 \begin_layout Plain Layout
18512 <cell alignment="center" valignment="top" usebox="none">
18515 \begin_layout Plain Layout
18521 <cell alignment="center" valignment="top" usebox="none">
18524 \begin_layout Plain Layout
18530 <cell alignment="center" valignment="top" usebox="none">
18533 \begin_layout Plain Layout
18541 <cell alignment="center" valignment="top" usebox="none">
18544 \begin_layout Plain Layout
18550 <cell alignment="center" valignment="top" usebox="none">
18553 \begin_layout Plain Layout
18559 <cell alignment="center" valignment="top" usebox="none">
18562 \begin_layout Plain Layout
18581 \begin_layout Standard
18585 \begin_layout Plain Layout
18591 hline]{1}{lightgray}{cyan}
18599 \begin_layout Standard
18600 \begin_inset Float table
18607 \begin_layout Plain Layout
18608 \begin_inset Caption Standard
18610 \begin_layout Plain Layout
18611 \begin_inset CommandInset label
18613 name "tab:Table-rowcolors-2"
18617 Table where every second row is colored cyan and at which there is a line
18626 \begin_layout Plain Layout
18628 \begin_inset Tabular
18629 <lyxtabular version="3" rows="4" columns="3">
18630 <features tabularvalignment="middle">
18631 <column alignment="center" valignment="top">
18632 <column alignment="center" valignment="top">
18633 <column alignment="center" valignment="top" width="0pt">
18635 <cell alignment="center" valignment="top" usebox="none">
18638 \begin_layout Plain Layout
18644 <cell alignment="center" valignment="top" usebox="none">
18647 \begin_layout Plain Layout
18653 <cell alignment="center" valignment="top" usebox="none">
18656 \begin_layout Plain Layout
18664 <cell alignment="center" valignment="top" usebox="none">
18667 \begin_layout Plain Layout
18673 <cell alignment="center" valignment="top" usebox="none">
18676 \begin_layout Plain Layout
18682 <cell alignment="center" valignment="top" usebox="none">
18685 \begin_layout Plain Layout
18693 <cell alignment="center" valignment="top" usebox="none">
18696 \begin_layout Plain Layout
18702 <cell alignment="center" valignment="top" usebox="none">
18705 \begin_layout Plain Layout
18711 <cell alignment="center" valignment="top" usebox="none">
18714 \begin_layout Plain Layout
18722 <cell alignment="center" valignment="top" usebox="none">
18725 \begin_layout Plain Layout
18731 <cell alignment="center" valignment="top" usebox="none">
18734 \begin_layout Plain Layout
18740 <cell alignment="center" valignment="top" usebox="none">
18743 \begin_layout Plain Layout
18762 \begin_layout Standard
18766 \begin_layout Plain Layout
18776 \begin_inset Note Note
18779 \begin_layout Plain Layout
18780 turns off the row coloring
18788 \begin_layout Standard
18792 \begin_layout Plain Layout
18802 \begin_inset Note Note
18805 \begin_layout Plain Layout
18806 The following will be displayed when the \SpecialChar LaTeX
18819 \begin_layout Standard
18820 You need to install the package
18824 to see the content of this section in the output.
18827 \begin_layout Standard
18831 \begin_layout Plain Layout
18843 \begin_layout Subsection
18845 \begin_inset Index idx
18848 \begin_layout Plain Layout
18849 Table Color ! for Lines
18855 \begin_inset Index idx
18858 \begin_layout Plain Layout
18859 Color ! for Table Lines
18867 \begin_layout Standard
18868 As described in section
18869 \begin_inset space ~
18873 \begin_inset CommandInset ref
18875 reference "subsec:Line-Thickness"
18879 , the line thickness for all lines in a table can be adjusted with the length
18888 \begin_inset space \thinspace{}
18891 pt for all tables of this section.
18895 \begin_layout Plain Layout
18901 arrayrulewidth}{1.5pt}
18909 \begin_layout Standard
18910 To color vertical lines for example with green, create the following column
18911 format in the document preamble, according to the description in section
18912 \begin_inset space ~
18916 \begin_inset CommandInset ref
18918 reference "subsec:Customized-Format"
18925 \begin_layout Standard
18930 newcolumntype{W}{!{
18937 \begin_layout Standard
18939 \begin_inset space ~
18943 \begin_inset CommandInset ref
18945 reference "tab:Table-with-vertical-colored"
18949 the \SpecialChar LaTeX
18954 was used for the last column and
18958 for the other columns.
18961 \begin_layout Standard
18962 If you want to have several colors, define more column formats.
18965 \begin_layout Standard
18966 \begin_inset Float table
18973 \begin_layout Plain Layout
18974 \begin_inset Caption Standard
18976 \begin_layout Plain Layout
18977 \begin_inset CommandInset label
18979 name "tab:Table-with-vertical-colored"
18983 Table with colored vertical lines
18991 \begin_layout Plain Layout
18993 \begin_inset Tabular
18994 <lyxtabular version="3" rows="3" columns="3">
18995 <features tabularvalignment="middle">
18996 <column alignment="center" valignment="top" special="Wc">
18997 <column alignment="center" valignment="top" special="Wc">
18998 <column alignment="center" valignment="top" special="WcW">
19000 <cell alignment="center" valignment="top" topline="true" usebox="none">
19003 \begin_layout Plain Layout
19009 <cell alignment="center" valignment="top" topline="true" usebox="none">
19012 \begin_layout Plain Layout
19018 <cell alignment="center" valignment="top" topline="true" usebox="none">
19021 \begin_layout Plain Layout
19029 <cell alignment="center" valignment="top" topline="true" usebox="none">
19032 \begin_layout Plain Layout
19038 <cell alignment="center" valignment="top" topline="true" usebox="none">
19041 \begin_layout Plain Layout
19047 <cell alignment="center" valignment="top" topline="true" usebox="none">
19050 \begin_layout Plain Layout
19058 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19061 \begin_layout Plain Layout
19067 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19070 \begin_layout Plain Layout
19076 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19079 \begin_layout Plain Layout
19098 \begin_layout Standard
19099 \begin_inset VSpace bigskip
19102 To color all horizontal lines for example with red, as in Table
19103 \begin_inset space ~
19107 \begin_inset CommandInset ref
19109 reference "tab:Table-with-horizontal-colored"
19113 , insert these commands in \SpecialChar TeX
19114 code before the table or table float:
19117 \begin_layout Standard
19127 \begin_inset Newline newline
19135 \begin_inset Newline newline
19139 \begin_inset Phantom HPhantom
19142 \begin_layout Plain Layout
19145 \begin_inset space ~
19155 arrayrulecolor{red}
19159 arrayrulecolor{black}}
19162 \begin_layout Standard
19166 \begin_layout Plain Layout
19177 \begin_layout Plain Layout
19186 \begin_layout Plain Layout
19190 arrayrulecolor{red}
19194 arrayrulecolor{black}}
19200 \begin_inset Float table
19207 \begin_layout Plain Layout
19208 \begin_inset Caption Standard
19210 \begin_layout Plain Layout
19211 \begin_inset CommandInset label
19213 name "tab:Table-with-horizontal-colored"
19217 Table with colored horizontal lines
19225 \begin_layout Plain Layout
19227 \begin_inset Tabular
19228 <lyxtabular version="3" rows="3" columns="3">
19229 <features tabularvalignment="middle">
19230 <column alignment="center" valignment="top">
19231 <column alignment="center" valignment="top">
19232 <column alignment="center" valignment="top">
19234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19237 \begin_layout Plain Layout
19243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19246 \begin_layout Plain Layout
19252 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19255 \begin_layout Plain Layout
19263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19266 \begin_layout Plain Layout
19272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19275 \begin_layout Plain Layout
19281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19284 \begin_layout Plain Layout
19292 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19295 \begin_layout Plain Layout
19301 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19304 \begin_layout Plain Layout
19310 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19313 \begin_layout Plain Layout
19332 \begin_layout Standard
19333 To return to the default line color black, insert this command in \SpecialChar TeX
19335 after the table or table float:
19338 \begin_layout Standard
19350 \begin_layout Standard
19352 \begin_inset space ~
19356 \begin_inset CommandInset ref
19358 reference "tab:Table-with-colored"
19362 is an example with colored vertical and horizontal lines.
19365 \begin_layout Standard
19366 \begin_inset Float table
19373 \begin_layout Plain Layout
19374 \begin_inset Caption Standard
19376 \begin_layout Plain Layout
19377 \begin_inset CommandInset label
19379 name "tab:Table-with-colored"
19383 Table with colored lines
19391 \begin_layout Plain Layout
19393 \begin_inset Tabular
19394 <lyxtabular version="3" rows="3" columns="3">
19395 <features tabularvalignment="middle">
19396 <column alignment="center" valignment="top" special="Wc">
19397 <column alignment="center" valignment="top" special="Wc">
19398 <column alignment="center" valignment="top" special="WcW">
19400 <cell alignment="center" valignment="top" topline="true" usebox="none">
19403 \begin_layout Plain Layout
19409 <cell alignment="center" valignment="top" topline="true" usebox="none">
19412 \begin_layout Plain Layout
19418 <cell alignment="center" valignment="top" topline="true" usebox="none">
19421 \begin_layout Plain Layout
19429 <cell alignment="center" valignment="top" topline="true" usebox="none">
19432 \begin_layout Plain Layout
19438 <cell alignment="center" valignment="top" topline="true" usebox="none">
19441 \begin_layout Plain Layout
19447 <cell alignment="center" valignment="top" topline="true" usebox="none">
19450 \begin_layout Plain Layout
19457 <row topspace="default">
19458 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19461 \begin_layout Plain Layout
19467 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19470 \begin_layout Plain Layout
19476 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19479 \begin_layout Plain Layout
19498 \begin_layout Standard
19502 \begin_layout Plain Layout
19518 \begin_layout Standard
19522 \begin_layout Plain Layout
19528 arrayrulewidth}{1.2pt}
19536 \begin_layout Standard
19537 To color only some of the table lines another strategy is necessary.
19538 To color all following horizontal lines, insert this command as \SpecialChar TeX
19540 last thing in the row that should be above the first colored line:
19543 \begin_layout Standard
19552 arrayrulecolor{blue}%
19555 \begin_layout Standard
19556 To go back to black lines, add this command as first thing in the row that
19557 is above the black lines:
19560 \begin_layout Standard
19565 arrayrulecolor{black}
19568 \begin_layout Standard
19569 With this one can color table lines like in Table
19570 \begin_inset space ~
19574 \begin_inset CommandInset ref
19576 reference "tab:Table-with-different-hor"
19581 However, with this method it is not possible to color the line above the
19582 first row of a table.
19585 \begin_layout Standard
19586 \begin_inset Float table
19593 \begin_layout Plain Layout
19594 \begin_inset Caption Standard
19596 \begin_layout Plain Layout
19597 \begin_inset CommandInset label
19599 name "tab:Table-with-different-hor"
19603 Table with different horizontal line colors.
19611 \begin_layout Plain Layout
19613 \begin_inset Tabular
19614 <lyxtabular version="3" rows="6" columns="7">
19615 <features tabularvalignment="middle">
19616 <column alignment="center" valignment="top">
19617 <column alignment="center" valignment="top">
19618 <column alignment="center" valignment="top">
19619 <column alignment="center" valignment="top">
19620 <column alignment="center" valignment="top">
19621 <column alignment="center" valignment="top">
19622 <column alignment="center" valignment="top">
19624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19627 \begin_layout Plain Layout
19633 <cell alignment="center" valignment="top" topline="true" usebox="none">
19636 \begin_layout Plain Layout
19642 <cell alignment="center" valignment="top" topline="true" usebox="none">
19645 \begin_layout Plain Layout
19651 <cell alignment="center" valignment="top" topline="true" usebox="none">
19654 \begin_layout Plain Layout
19660 <cell alignment="center" valignment="top" topline="true" usebox="none">
19663 \begin_layout Plain Layout
19669 <cell alignment="center" valignment="top" topline="true" usebox="none">
19672 \begin_layout Plain Layout
19678 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
19681 \begin_layout Plain Layout
19685 \begin_layout Plain Layout
19693 arrayrulecolor{blue}%
19705 <cell alignment="center" valignment="top" usebox="none">
19708 \begin_layout Plain Layout
19714 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19717 \begin_layout Plain Layout
19723 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19726 \begin_layout Plain Layout
19732 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19735 \begin_layout Plain Layout
19741 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19744 \begin_layout Plain Layout
19750 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
19753 \begin_layout Plain Layout
19759 <cell alignment="center" valignment="top" usebox="none">
19762 \begin_layout Plain Layout
19770 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19773 \begin_layout Plain Layout
19777 \begin_layout Plain Layout
19781 arrayrulecolor{black}
19791 <cell alignment="center" valignment="top" usebox="none">
19794 \begin_layout Plain Layout
19800 <cell alignment="center" valignment="top" usebox="none">
19803 \begin_layout Plain Layout
19809 <cell alignment="center" valignment="top" usebox="none">
19812 \begin_layout Plain Layout
19818 <cell alignment="center" valignment="top" usebox="none">
19821 \begin_layout Plain Layout
19827 <cell alignment="center" valignment="top" usebox="none">
19830 \begin_layout Plain Layout
19836 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19839 \begin_layout Plain Layout
19847 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19850 \begin_layout Plain Layout
19856 <cell alignment="center" valignment="top" usebox="none">
19859 \begin_layout Plain Layout
19865 <cell alignment="center" valignment="top" usebox="none">
19868 \begin_layout Plain Layout
19874 <cell alignment="center" valignment="top" usebox="none">
19877 \begin_layout Plain Layout
19883 <cell alignment="center" valignment="top" usebox="none">
19886 \begin_layout Plain Layout
19892 <cell alignment="center" valignment="top" usebox="none">
19895 \begin_layout Plain Layout
19901 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19904 \begin_layout Plain Layout
19908 \begin_layout Plain Layout
19916 arrayrulecolor{green}%
19928 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19931 \begin_layout Plain Layout
19937 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19940 \begin_layout Plain Layout
19946 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19949 \begin_layout Plain Layout
19955 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19958 \begin_layout Plain Layout
19964 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19967 \begin_layout Plain Layout
19973 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19976 \begin_layout Plain Layout
19982 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
19985 \begin_layout Plain Layout
19993 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19996 \begin_layout Plain Layout
20000 \begin_layout Plain Layout
20004 arrayrulecolor{black}
20014 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20017 \begin_layout Plain Layout
20023 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20026 \begin_layout Plain Layout
20032 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20035 \begin_layout Plain Layout
20041 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20044 \begin_layout Plain Layout
20050 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20053 \begin_layout Plain Layout
20059 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20062 \begin_layout Plain Layout
20066 \begin_layout Plain Layout
20074 arrayrulecolor{blue}%
20097 \begin_layout Standard
20098 To change the color of vertical lines within a row, like in Table
20099 \begin_inset space ~
20103 \begin_inset CommandInset ref
20105 reference "tab:Table-with-different-ver"
20109 , one needs to use multicolumns.
20110 At first one needs to remove all vertical lines that don't run along the
20112 Now one colors all lines using the command
20115 \begin_layout Standard
20124 arrayrulecolor{blue}%
20127 \begin_layout Standard
20129 Finally one inserts this command as \SpecialChar TeX
20130 code to every cell in the row where
20131 one needs a vertical line in a different color:
20134 \begin_layout Standard
20150 \begin_layout Standard
20151 This adds a vertical line to both sides of the cell.
20152 The left one will be green, the right one red.
20153 If no color change is necessary one can omit the
20159 command in the above command.
20160 To get for example a black left line and a blue right line you can write:
20163 \begin_layout Standard
20175 \begin_layout Standard
20176 because the color blue was already set for all lines.
20181 creates hereby the vertical line while
20194 To set vertical lines without changing any color use
20197 \begin_layout Standard
20202 multicolumn{1}{|c|}{
20205 \begin_layout Standard
20206 After this command insert the cell content the normal way and end the cell
20207 with a closing brace
20211 in \SpecialChar TeX
20215 \begin_layout Standard
20216 \begin_inset Float table
20223 \begin_layout Plain Layout
20224 \begin_inset Caption Standard
20226 \begin_layout Plain Layout
20227 \begin_inset CommandInset label
20229 name "tab:Table-with-different-ver"
20233 Table with different vertical line colors in one row.
20241 \begin_layout Plain Layout
20243 \begin_inset Tabular
20244 <lyxtabular version="3" rows="5" columns="7">
20245 <features tabularvalignment="middle">
20246 <column alignment="center" valignment="top">
20247 <column alignment="center" valignment="top">
20248 <column alignment="center" valignment="top">
20249 <column alignment="center" valignment="top">
20250 <column alignment="center" valignment="top">
20251 <column alignment="center" valignment="top">
20252 <column alignment="center" valignment="top">
20254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20257 \begin_layout Plain Layout
20263 <cell alignment="center" valignment="top" topline="true" usebox="none">
20266 \begin_layout Plain Layout
20272 <cell alignment="center" valignment="top" topline="true" usebox="none">
20275 \begin_layout Plain Layout
20281 <cell alignment="center" valignment="top" topline="true" usebox="none">
20284 \begin_layout Plain Layout
20290 <cell alignment="center" valignment="top" topline="true" usebox="none">
20293 \begin_layout Plain Layout
20299 <cell alignment="center" valignment="top" topline="true" usebox="none">
20302 \begin_layout Plain Layout
20308 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
20311 \begin_layout Plain Layout
20315 \begin_layout Plain Layout
20323 arrayrulecolor{red}%
20335 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20338 \begin_layout Plain Layout
20342 \begin_layout Plain Layout
20359 \begin_layout Plain Layout
20371 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20374 \begin_layout Plain Layout
20380 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20383 \begin_layout Plain Layout
20389 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20392 \begin_layout Plain Layout
20398 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20401 \begin_layout Plain Layout
20407 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20410 \begin_layout Plain Layout
20414 \begin_layout Plain Layout
20418 multicolumn{1}{c|}{
20427 \begin_layout Plain Layout
20439 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20442 \begin_layout Plain Layout
20446 \begin_layout Plain Layout
20463 \begin_layout Plain Layout
20477 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20480 \begin_layout Plain Layout
20484 \begin_layout Plain Layout
20488 arrayrulecolor{black}
20498 <cell alignment="center" valignment="top" usebox="none">
20501 \begin_layout Plain Layout
20507 <cell alignment="center" valignment="top" usebox="none">
20510 \begin_layout Plain Layout
20516 <cell alignment="center" valignment="top" usebox="none">
20519 \begin_layout Plain Layout
20525 <cell alignment="center" valignment="top" usebox="none">
20528 \begin_layout Plain Layout
20534 <cell alignment="center" valignment="top" usebox="none">
20537 \begin_layout Plain Layout
20543 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20546 \begin_layout Plain Layout
20550 \begin_layout Plain Layout
20558 arrayrulecolor{magenta}%
20570 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20573 \begin_layout Plain Layout
20577 \begin_layout Plain Layout
20581 multicolumn{1}{|c!{
20594 \begin_layout Plain Layout
20606 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20609 \begin_layout Plain Layout
20613 \begin_layout Plain Layout
20630 \begin_layout Plain Layout
20642 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20645 \begin_layout Plain Layout
20649 \begin_layout Plain Layout
20666 \begin_layout Plain Layout
20678 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20681 \begin_layout Plain Layout
20685 \begin_layout Plain Layout
20702 \begin_layout Plain Layout
20714 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20717 \begin_layout Plain Layout
20721 \begin_layout Plain Layout
20738 \begin_layout Plain Layout
20750 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20753 \begin_layout Plain Layout
20757 \begin_layout Plain Layout
20774 \begin_layout Plain Layout
20786 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20789 \begin_layout Plain Layout
20793 \begin_layout Plain Layout
20797 multicolumn{1}{c|}{
20806 \begin_layout Plain Layout
20820 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20823 \begin_layout Plain Layout
20827 \begin_layout Plain Layout
20831 arrayrulecolor{black}
20841 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20844 \begin_layout Plain Layout
20850 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20853 \begin_layout Plain Layout
20859 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20862 \begin_layout Plain Layout
20868 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20871 \begin_layout Plain Layout
20877 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20880 \begin_layout Plain Layout
20886 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20889 \begin_layout Plain Layout
20908 \begin_layout Standard
20912 \begin_layout Plain Layout
20918 arrayrulewidth}{0.4pt}
20926 \begin_layout Section
20927 Rotated Table Cells
20928 \begin_inset CommandInset label
20930 name "sec:Rotated-Table-Cells"
20935 \begin_inset Index idx
20938 \begin_layout Plain Layout
20939 Table ! Rotated Cells
20945 \begin_inset Index idx
20948 \begin_layout Plain Layout
20957 \begin_layout Standard
20958 \begin_inset Note Greyedout
20961 \begin_layout Plain Layout
20966 Not all DVI-viewers are able to display rotations.
20974 \begin_layout Standard
20976 \begin_inset space ~
20980 \begin_inset CommandInset ref
20982 reference "tab:Table-with-rotated"
20989 is an example where 3
20990 \begin_inset space ~
20993 cells were rotated by 45
20994 \begin_inset space \thinspace{}
21000 \begin_layout Standard
21001 \begin_inset Float table
21008 \begin_layout Plain Layout
21009 \begin_inset Caption Standard
21011 \begin_layout Plain Layout
21012 \begin_inset CommandInset label
21014 name "tab:Table-with-rotated"
21018 Table with rotated cells in the first row.
21026 \begin_layout Plain Layout
21029 \begin_inset Tabular
21030 <lyxtabular version="3" rows="2" columns="3">
21031 <features tabularvalignment="middle">
21032 <column alignment="center" valignment="top" width="0pt">
21033 <column alignment="center" valignment="top" width="0pt">
21034 <column alignment="center" valignment="top" width="0pt">
21036 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21039 \begin_layout Plain Layout
21045 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21048 \begin_layout Plain Layout
21054 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21057 \begin_layout Plain Layout
21065 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21068 \begin_layout Plain Layout
21074 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21077 \begin_layout Plain Layout
21083 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21086 \begin_layout Plain Layout
21105 \begin_layout Standard
21106 \begin_inset Note Greyedout
21109 \begin_layout Plain Layout
21114 Line breaks (shortcut
21117 arg "newline-insert newline"
21120 ) are not allowed in rotated cells.
21128 \begin_layout Standard
21129 If you want to rotate table cells containing line breaks, you have to put
21130 the cell content into a minipage or a parbox.
21134 \begin_layout Plain Layout
21135 For more about these boxes see sec.
21136 \begin_inset space \thinspace{}
21140 \begin_inset CommandInset ref
21142 reference "sec:Minipages"
21147 \begin_inset CommandInset ref
21149 reference "sec:Parboxes"
21158 If you rotate this cell by 90
21159 \begin_inset space \thinspace{}
21162 ° the width of the box is the height of the cell.
21163 To avoid to estimate a suitable box width one can use a minipage with a
21165 Such a box is inserted by loading the module
21168 \begin_inset space ~
21173 in the document settings.
21174 Then one can use the menu
21176 Insert\SpecialChar menuseparator
21178 \begin_inset space ~
21181 Insets\SpecialChar menuseparator
21183 \begin_inset space ~
21189 \begin_inset space ~
21194 \begin_inset space ~
21198 \begin_inset CommandInset ref
21200 reference "tab:Table-with-rotated-multi"
21204 is an example for a rotated multiline cell where a variable width minipage
21208 \begin_layout Standard
21209 \begin_inset Float table
21216 \begin_layout Plain Layout
21217 \begin_inset Caption Standard
21219 \begin_layout Plain Layout
21220 \begin_inset CommandInset label
21222 name "tab:Table-with-rotated-multi"
21226 Table with rotated multiline cell.
21234 \begin_layout Plain Layout
21237 \begin_inset Tabular
21238 <lyxtabular version="3" rows="2" columns="3">
21239 <features tabularvalignment="middle">
21240 <column alignment="center" valignment="top">
21241 <column alignment="center" valignment="top" width="0pt">
21242 <column alignment="center" valignment="top">
21244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21247 \begin_layout Plain Layout
21253 <cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
21256 \begin_layout Plain Layout
21257 \begin_inset Flex Minipage (Var. Width)
21260 \begin_layout Plain Layout
21262 \begin_inset Newline newline
21266 \begin_inset space ~
21279 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21282 \begin_layout Plain Layout
21290 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21293 \begin_layout Plain Layout
21299 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21302 \begin_layout Plain Layout
21308 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21311 \begin_layout Plain Layout
21330 \begin_layout Section
21331 Table Width Calculation
21332 \begin_inset CommandInset label
21334 name "sec:Table-Width-Calculation"
21341 \begin_layout Standard
21342 For wide tables it is sometimes difficult to assure that the table does
21343 not protrude over the page margin.
21344 Setting a fixed width for every column of the table is the solution, but
21345 what amount of space is needed for each column?
21348 \begin_layout Standard
21350 \begin_inset Formula $W_{\mathrm{table}}$
21353 can be calculated: Every column has the width of the specified column width
21355 \begin_inset Formula $W_{\mathrm{column}}$
21358 (that the content of the column can consume) plus two times the separation
21359 between the column content and the column border (\SpecialChar LaTeX
21367 \begin_inset space \thinspace{}
21370 pt) plus the width of a border line (\SpecialChar LaTeX
21378 \begin_inset space \thinspace{}
21382 \begin_inset Formula $n$
21386 \begin_inset space ~
21389 columns have the same width, the table width is
21390 \begin_inset Formula
21392 W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
21400 \begin_layout Standard
21401 The available width for a table is the space between the page margins or
21402 the width of a text column (for a two-column document) (\SpecialChar LaTeX
21410 If all table columns should have the same width and
21411 \begin_inset Formula $W_{\mathrm{table}}$
21415 \begin_inset space \thinspace{}
21421 \begin_inset Formula $W_{\mathrm{column}}$
21424 can easily be calculated.
21427 \begin_layout Standard
21428 To be able to perform calculations you need to load the \SpecialChar LaTeX
21434 \begin_inset Index idx
21437 \begin_layout Plain Layout
21444 in the document preamble.
21445 To set the width in the table dialog you have to use the field
21451 The command scheme for this field is the same that is explained in section
21452 \begin_inset space ~
21456 \begin_inset CommandInset ref
21458 reference "subsec:Multicolumn-Calculations"
21464 \begin_inset space \thinspace{}
21467 columns with an uniform width and centered text, enter there for each column
21471 \begin_layout Standard
21478 columnwidth-62.4pt)/5}
21481 \begin_layout Standard
21483 \begin_inset space \thinspace{}
21486 columns where 2 should have 0.75
21487 \begin_inset space ~
21490 times the width than the 3 others, the calculation is
21491 \begin_inset Formula
21493 \backslash\mbox{columnwidth} & =3\,W_{\mathrm{column}}+2\cdot0.75\,W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
21494 & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
21495 & =4.5\,W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
21496 W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
21504 \begin_layout Standard
21505 In the table therefore the command
21508 \begin_layout Standard
21515 columnwidth-62.4pt)/
21520 \begin_layout Standard
21521 is used for the wider columns and
21524 \begin_layout Standard
21531 columnwidth-62.4pt)/
21538 \begin_layout Standard
21539 for the smaller ones:
21542 \begin_layout Standard
21543 \begin_inset Tabular
21544 <lyxtabular version="3" rows="2" columns="5">
21545 <features tabularvalignment="middle">
21546 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21547 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21548 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21549 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21550 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21552 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21555 \begin_layout Plain Layout
21561 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21564 \begin_layout Plain Layout
21570 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21573 \begin_layout Plain Layout
21579 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21582 \begin_layout Plain Layout
21588 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21591 \begin_layout Plain Layout
21599 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21602 \begin_layout Plain Layout
21603 111111 1111111 111111 111111111 11111 11111 1111
21608 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21611 \begin_layout Plain Layout
21617 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21620 \begin_layout Plain Layout
21621 2222 22222 222222 222222222 2222222 22 22222
21626 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21629 \begin_layout Plain Layout
21635 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21638 \begin_layout Plain Layout
21639 333333 333333 333333 33333 3333333 333
21652 \begin_layout Section
21653 Table Customization
21654 \begin_inset Index idx
21657 \begin_layout Plain Layout
21658 Table Customization
21664 \begin_inset Index idx
21667 \begin_layout Plain Layout
21668 Table ! Customization
21676 \begin_layout Subsection
21678 \begin_inset CommandInset label
21680 name "subsec:Row-Spacing"
21685 \begin_inset Index idx
21688 \begin_layout Plain Layout
21689 Table Customization ! Row Spacing
21697 \begin_layout Standard
21698 You can add vertical space to table rows in the
21702 tab of the table dialog.
21703 You find there three possibilities:
21706 \begin_layout Description
21708 \begin_inset space ~
21712 \begin_inset space ~
21715 row will add space above the characters of the table row.
21716 If the table is a formal table
21720 \begin_layout Plain Layout
21721 Formal tables are explained in section
21722 \begin_inset space ~
21726 \begin_inset CommandInset ref
21728 reference "sec:Formal-Tables"
21738 will insert as default 0.5
21739 \begin_inset space \thinspace{}
21743 For normal tables the inserted space will unfortunately destroy the vertical
21744 table lines as in the following table:
21745 \begin_inset VSpace medskip
21749 \begin_inset Newline newline
21753 \begin_inset space \hspace*{}
21758 \begin_inset space \hfill{}
21762 \begin_inset Tabular
21763 <lyxtabular version="3" rows="3" columns="1">
21764 <features tabularvalignment="middle">
21765 <column alignment="center" valignment="top">
21767 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21770 \begin_layout Plain Layout
21777 <row topspace="3mm">
21778 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21781 \begin_layout Plain Layout
21783 \begin_inset space \thinspace{}
21786 mm space top of row
21793 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21796 \begin_layout Plain Layout
21808 \begin_inset space \hfill{}
21812 \begin_inset space \hspace*{}
21817 \begin_inset VSpace medskip
21821 \begin_inset Newline newline
21824 So inserting space in the top of row for normal tables is only useful when
21825 you don't have vertical lines.
21828 \begin_layout Description
21830 \begin_inset space ~
21834 \begin_inset space ~
21837 row will add space below the characters of the table row.
21838 If the table is a formal table \SpecialChar LyX
21839 will insert as default 0.5
21840 \begin_inset space \thinspace{}
21843 em space, for normal tables the default size is 2
21844 \begin_inset space \thinspace{}
21850 \begin_layout Description
21852 \begin_inset space ~
21855 rows adds space between the current and the following row.
21856 If the table is a formal table \SpecialChar LyX
21857 will insert as default 0.5
21858 \begin_inset space \thinspace{}
21862 For normal tables the inserted space will unfortunately destroy the vertical
21863 table lines as in the following table:
21864 \begin_inset VSpace medskip
21868 \begin_inset Newline newline
21872 \begin_inset space \hspace*{}
21877 \begin_inset space \hfill{}
21881 \begin_inset Tabular
21882 <lyxtabular version="3" rows="3" columns="1">
21883 <features tabularvalignment="middle">
21884 <column alignment="center" valignment="top">
21886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21889 \begin_layout Plain Layout
21896 <row interlinespace="3mm">
21897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21900 \begin_layout Plain Layout
21901 \begin_inset Formula $\downarrow$
21905 \begin_inset space \thinspace{}
21908 mm space between row
21909 \begin_inset Formula $\downarrow$
21919 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21922 \begin_layout Plain Layout
21923 \begin_inset Formula $\uparrow$
21927 \begin_inset space \thinspace{}
21930 mm space between row
21931 \begin_inset Formula $\uparrow$
21945 \begin_inset space \hfill{}
21949 \begin_inset space \hspace*{}
21954 \begin_inset VSpace medskip
21958 \begin_inset Newline newline
21961 So inserting space between rows for normal tables is only useful when you
21962 don't have vertical lines.
21965 \begin_layout Standard
21966 \begin_inset VSpace bigskip
21969 When you want to add extra height to all cells of all tables, you can do
21970 this with the following preamble lines:
21973 \begin_layout Standard
21978 @ifundefined{extrarowheight}
21979 \begin_inset Newline newline
21983 \begin_inset Phantom HPhantom
21986 \begin_layout Plain Layout
21989 \begin_inset space ~
21999 usepackage{array}}{}
22000 \begin_inset Newline newline
22007 extrarowheight}{height}
22010 \begin_inset Note Note
22013 \begin_layout Plain Layout
22018 will be loaded automatically by \SpecialChar LyX
22019 when you use self defined table formats.
22020 To avoid that it is loaded twice the command
22026 is used in the above command.
22034 \begin_layout Standard
22039 can have one of the units listed in appendix
22040 \begin_inset space ~
22044 \begin_inset CommandInset ref
22046 reference "cha:Units-available-in"
22051 But this has the disadvantage that the cell texts are no longer exactly
22052 vertically centered.
22055 \begin_layout Standard
22056 If you are using font sizes larger than the normal size, the table borders
22057 are often too close to the letters.
22058 This can be corrected by inserting the command
22064 in \SpecialChar TeX
22065 Code at the beginning of a table row.
22067 \begin_inset space ~
22071 \begin_inset CommandInset ref
22073 reference "tab:Vertical-alignment-of"
22077 illustrates the effect.
22080 \begin_layout Standard
22082 \begin_inset Float table
22089 \begin_layout Plain Layout
22090 \begin_inset Caption Standard
22092 \begin_layout Plain Layout
22093 \begin_inset CommandInset label
22095 name "tab:Vertical-alignment-of"
22099 Vertical alignment of text with large font sizes.
22107 \begin_layout Plain Layout
22108 \begin_inset space \hfill{}
22112 \begin_inset Float table
22119 \begin_layout Plain Layout
22120 \begin_inset Caption Standard
22122 \begin_layout Plain Layout
22131 \begin_layout Plain Layout
22134 \begin_inset Tabular
22135 <lyxtabular version="3" rows="6" columns="1">
22136 <features tabularvalignment="middle">
22137 <column alignment="left" valignment="top">
22139 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22142 \begin_layout Plain Layout
22150 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22153 \begin_layout Plain Layout
22163 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22166 \begin_layout Plain Layout
22176 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22179 \begin_layout Plain Layout
22189 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22192 \begin_layout Plain Layout
22202 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22205 \begin_layout Plain Layout
22224 \begin_inset space \hfill{}
22228 \begin_inset Float table
22235 \begin_layout Plain Layout
22236 \begin_inset Caption Standard
22238 \begin_layout Plain Layout
22239 Table using the command
22253 \begin_layout Plain Layout
22256 \begin_inset Tabular
22257 <lyxtabular version="3" rows="6" columns="1">
22258 <features tabularvalignment="middle">
22259 <column alignment="left" valignment="top">
22261 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22264 \begin_layout Plain Layout
22272 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22275 \begin_layout Plain Layout
22281 \begin_layout Plain Layout
22297 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22300 \begin_layout Plain Layout
22306 \begin_layout Plain Layout
22322 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22325 \begin_layout Plain Layout
22331 \begin_layout Plain Layout
22347 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22350 \begin_layout Plain Layout
22356 \begin_layout Plain Layout
22372 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22375 \begin_layout Plain Layout
22381 \begin_layout Plain Layout
22408 \begin_inset space \hfill{}
22419 \begin_layout Subsection
22420 Special Cell Alignment
22421 \begin_inset CommandInset label
22423 name "subsec:Special-Cell-Alignment"
22428 \begin_inset Index idx
22431 \begin_layout Plain Layout
22432 Table Customization ! Special Cell Alignment
22440 \begin_layout Standard
22441 Sometimes it looks better when the cell entries of a column are aligned
22442 with a special character, e.
22443 \begin_inset space \thinspace{}
22447 \begin_inset space \space{}
22450 with the decimal separator as in Table
22451 \begin_inset space ~
22455 \begin_inset CommandInset ref
22457 reference "tab:Table-cells-align"
22462 This alignment is achieved by setting the cursor into the column and then
22463 either pressing the toolbar button
22466 arg "tabular-feature align-decimal"
22469 or setting the alignment in the table settings to
22472 \begin_inset space ~
22476 \begin_inset space ~
22482 The alignment character can be a character of your choice and is specified
22483 in the table settings.
22486 \begin_layout Standard
22487 \begin_inset Float table
22494 \begin_layout Plain Layout
22495 \begin_inset Caption Standard
22497 \begin_layout Plain Layout
22498 \begin_inset CommandInset label
22500 name "tab:Table-cells-align"
22504 Table cells of a column aligned with the decimal separator.
22512 \begin_layout Plain Layout
22514 \begin_inset Tabular
22515 <lyxtabular version="3" rows="4" columns="1">
22516 <features booktabs="true" tabularvalignment="middle">
22517 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
22519 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22522 \begin_layout Plain Layout
22530 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22533 \begin_layout Plain Layout
22541 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22544 \begin_layout Plain Layout
22552 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22555 \begin_layout Plain Layout
22574 \begin_layout Standard
22575 \begin_inset Float table
22582 \begin_layout Plain Layout
22583 \begin_inset Caption Standard
22585 \begin_layout Plain Layout
22586 \begin_inset CommandInset label
22588 name "tab:Table-align-operator"
22592 Table cells of a column aligned with the operators.
22600 \begin_layout Plain Layout
22602 \begin_inset Tabular
22603 <lyxtabular version="3" rows="4" columns="2">
22604 <features booktabs="true" tabularvalignment="middle">
22605 <column alignment="right" valignment="top" width="0pt">
22606 <column alignment="left" valignment="top" width="0pt" special="@{}l">
22608 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
22611 \begin_layout Plain Layout
22617 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22620 \begin_layout Plain Layout
22628 <cell alignment="center" valignment="top" usebox="none">
22631 \begin_layout Plain Layout
22632 \begin_inset Formula $12\,+$
22640 <cell alignment="center" valignment="top" usebox="none">
22643 \begin_layout Plain Layout
22644 \begin_inset Formula $\,6$
22654 <cell alignment="center" valignment="top" usebox="none">
22657 \begin_layout Plain Layout
22658 \begin_inset Formula $0\,-$
22666 <cell alignment="center" valignment="top" usebox="none">
22669 \begin_layout Plain Layout
22670 \begin_inset Formula $\,68$
22680 <cell alignment="center" valignment="top" usebox="none">
22683 \begin_layout Plain Layout
22684 \begin_inset Formula $-123\,/$
22692 <cell alignment="center" valignment="top" usebox="none">
22695 \begin_layout Plain Layout
22696 \begin_inset Formula $\,0$
22717 \begin_layout Standard
22718 For alignments at characters in formulas this method does not work because
22719 the field to specify the alignment character does not allow formulas.
22720 In this case one need to use the method from Table
22721 \begin_inset space ~
22725 \begin_inset CommandInset ref
22727 reference "tab:Table-align-operator"
22732 This table was created with a 4×2 table.
22733 The heading is a centered multicolumn.
22734 The first column is right-aligned and contains the first part including
22736 The second column is left aligned and contains the rest.
22737 A small space was added at the beginning of each cell of the second column
22738 to get the space that is usually around operators.
22739 To omit the space that is normally between two table columns, the following
22741 -argument was used for the second column:
22744 \begin_layout Standard
22750 \begin_layout Standard
22752 \begin_inset space ~
22756 \begin_inset CommandInset ref
22758 reference "tab:Several-table-cell"
22762 shows some example alignments.
22763 For the alignment with the relation sign, a small space was added like
22764 for the second column of Table
22765 \begin_inset space ~
22769 \begin_inset CommandInset ref
22771 reference "tab:Table-align-operator"
22778 \begin_layout Standard
22779 \begin_inset Float table
22786 \begin_layout Plain Layout
22787 \begin_inset Caption Standard
22789 \begin_layout Plain Layout
22790 \begin_inset CommandInset label
22792 name "tab:Several-table-cell"
22796 Several table cell alignments.
22804 \begin_layout Plain Layout
22806 \begin_inset Tabular
22807 <lyxtabular version="3" rows="4" columns="6">
22808 <features tabularvalignment="middle">
22809 <column alignment="right" valignment="top">
22810 <column alignment="left" valignment="top" special="@{}l">
22811 <column alignment="right" valignment="top">
22812 <column alignment="left" valignment="top" special="@{}l">
22813 <column alignment="right" valignment="top">
22814 <column alignment="left" valignment="top" special="@{}l">
22816 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
22819 \begin_layout Plain Layout
22825 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22828 \begin_layout Plain Layout
22834 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
22837 \begin_layout Plain Layout
22843 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22846 \begin_layout Plain Layout
22852 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
22855 \begin_layout Plain Layout
22861 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22864 \begin_layout Plain Layout
22872 <cell alignment="center" valignment="top" usebox="none">
22875 \begin_layout Plain Layout
22881 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22884 \begin_layout Plain Layout
22886 \begin_inset space \thinspace{}
22894 <cell alignment="center" valignment="top" usebox="none">
22897 \begin_layout Plain Layout
22898 \begin_inset Formula $10\cdot$
22906 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22909 \begin_layout Plain Layout
22910 \begin_inset Formula $10^{\mbox{-}17}$
22918 <cell alignment="center" valignment="top" usebox="none">
22921 \begin_layout Plain Layout
22922 \begin_inset Formula $\Gamma(t)\propto$
22930 <cell alignment="center" valignment="top" usebox="none">
22933 \begin_layout Plain Layout
22934 \begin_inset Formula $\:\Upsilon(t)$
22944 <cell alignment="center" valignment="top" usebox="none">
22947 \begin_layout Plain Layout
22953 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22956 \begin_layout Plain Layout
22958 \begin_inset space \thinspace{}
22966 <cell alignment="center" valignment="top" usebox="none">
22969 \begin_layout Plain Layout
22970 \begin_inset Formula $5.78\cdot$
22978 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22981 \begin_layout Plain Layout
22982 \begin_inset Formula $10^{7}$
22990 <cell alignment="center" valignment="top" usebox="none">
22993 \begin_layout Plain Layout
22994 \begin_inset Formula $A\ne$
23002 <cell alignment="center" valignment="top" usebox="none">
23005 \begin_layout Plain Layout
23006 \begin_inset Formula $\:B_{\mathrm{red}}$
23016 <cell alignment="center" valignment="top" usebox="none">
23019 \begin_layout Plain Layout
23025 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23028 \begin_layout Plain Layout
23030 \begin_inset space \thinspace{}
23038 <cell alignment="center" valignment="top" usebox="none">
23041 \begin_layout Plain Layout
23043 \begin_inset Formula $33.5\cdot$
23051 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23054 \begin_layout Plain Layout
23055 \begin_inset Formula $10^{4}$
23063 <cell alignment="center" valignment="top" usebox="none">
23066 \begin_layout Plain Layout
23067 \begin_inset Formula $\sin(\alpha)\ge$
23075 <cell alignment="center" valignment="top" usebox="none">
23078 \begin_layout Plain Layout
23079 \begin_inset Formula $\:\sin(\beta)$
23100 \begin_layout Subsection
23101 Customized Cell/Column Format
23102 \begin_inset CommandInset label
23104 name "subsec:Customized-Format"
23109 \begin_inset Index idx
23112 \begin_layout Plain Layout
23113 Table Customization ! Cell/Column Format
23121 \begin_layout Standard
23122 Calculating the required width for normal columns as described in section
23123 \begin_inset space ~
23127 \begin_inset CommandInset ref
23129 reference "sec:Table-Width-Calculation"
23133 or for spanned columns as described in section
23134 \begin_inset space ~
23138 \begin_inset CommandInset ref
23140 reference "subsec:Multicolumn-Calculations"
23144 is very annoying if you have several tables where a calculation is necessary.
23145 To make life easier, you can define a cell/column format in the preamble,
23146 that can be used in all tables of the document.
23147 The format is defined with the command
23150 \begin_layout Standard
23155 newcolumntype{name of format}[number of arguments]{commands}
23158 \begin_layout Standard
23159 The format name may only consist of one letter.
23184 are predefined and cannot be used.
23185 But all letters are allowed as capitals.
23188 \begin_layout Standard
23189 \begin_inset VSpace medskip
23195 \begin_layout Standard
23196 For vertically and horizontally centered multicolumn cells with a fixed
23197 width you can define the cell format
23200 \begin_layout Standard
23205 newcolumntype{M}[1]{>{
23212 \begin_layout Standard
23219 avoids the problem of hyphenating the first word, as described in section
23220 \begin_inset space ~
23224 \begin_inset CommandInset ref
23226 reference "subsec:Multiple-Lines-in"
23231 Now you can simply enter
23234 \begin_layout Standard
23240 \begin_layout Standard
23246 in the table dialog to create a multicolumn.
23249 \begin_layout Standard
23250 \begin_inset VSpace bigskip
23256 \begin_layout Standard
23257 For cells spanned by a multicolumn cell, you can define the format
23260 \begin_layout Standard
23265 newcolumntype{S}[2]{>{
23270 \begin_inset Newline newline
23274 \begin_inset Phantom HPhantom
23277 \begin_layout Plain Layout
23291 arrayrulewidth)*(1-#2))/#2}}
23294 \begin_layout Standard
23295 This format uses equation
23296 \begin_inset CommandInset ref
23302 to calculate the required width so that each spanned cell has the same
23306 \begin_layout Standard
23310 \begin_layout Standard
23313 S{width of multicolumn cell}{number of spanned columns}
23316 \begin_layout Standard
23317 as \SpecialChar LaTeX
23318 -argument of the column.
23321 \begin_layout Standard
23322 \begin_inset VSpace bigskip
23328 \begin_layout Standard
23329 For colored columns, you can define
23332 \begin_layout Standard
23337 newcolumntype{K}[1]{>{
23344 \begin_layout Standard
23346 \begin_inset Quotes eld
23350 \begin_inset Quotes erd
23353 at the end creates a column with a flexible width whose text is horizontally
23358 \begin_layout Standard
23364 \begin_layout Standard
23365 as \SpecialChar LaTeX
23369 \begin_layout Standard
23370 \begin_inset VSpace bigskip
23376 \begin_layout Standard
23378 \begin_inset space ~
23382 \begin_inset CommandInset ref
23384 reference "tab:Table-using-user-defined"
23388 use the \SpecialChar LaTeX
23392 \begin_layout Standard
23398 \begin_layout Standard
23399 for the first column and the multicolumn,
23402 \begin_layout Standard
23408 \begin_layout Standard
23409 for the last column, and
23412 \begin_layout Standard
23418 \begin_layout Standard
23419 for the cells in the second column.
23422 \begin_layout Standard
23423 \begin_inset Float table
23430 \begin_layout Plain Layout
23431 \begin_inset Caption Standard
23433 \begin_layout Plain Layout
23434 \begin_inset CommandInset label
23436 name "tab:Table-using-user-defined"
23440 Table using user-defined table formats
23448 \begin_layout Plain Layout
23450 \begin_inset Tabular
23451 <lyxtabular version="3" rows="3" columns="4">
23452 <features tabularvalignment="middle">
23453 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
23454 <column alignment="center" valignment="middle" special="S{2.5cm}{2}">
23455 <column alignment="center" valignment="middle">
23456 <column alignment="center" valignment="middle" special="K{red}">
23458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23461 \begin_layout Plain Layout
23462 verylongtablecellword
23467 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
23470 \begin_layout Plain Layout
23471 multiple lines multicolumn
23476 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23479 \begin_layout Plain Layout
23485 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23488 \begin_layout Plain Layout
23496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23499 \begin_layout Plain Layout
23505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23508 \begin_layout Plain Layout
23514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23517 \begin_layout Plain Layout
23523 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23526 \begin_layout Plain Layout
23534 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23537 \begin_layout Plain Layout
23543 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23546 \begin_layout Plain Layout
23552 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23555 \begin_layout Plain Layout
23561 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23564 \begin_layout Plain Layout
23583 \begin_layout Subsection
23585 \begin_inset CommandInset label
23587 name "subsec:Line-Thickness"
23592 \begin_inset Index idx
23595 \begin_layout Plain Layout
23596 Table Customization ! Line Thickness
23604 \begin_layout Standard
23605 The line thickness for all lines in a table can be adjusted with the length
23613 To set for example a line thickness of 1.5
23614 \begin_inset space \thinspace{}
23618 \begin_inset space ~
23622 \begin_inset CommandInset ref
23624 reference "tab:Table-with-1.5"
23628 , insert the command
23631 \begin_layout Standard
23638 arrayrulewidth}{1.5pt}
23641 \begin_layout Standard
23642 in \SpecialChar TeX
23643 Code before the table or table float.
23644 The changed thickness is valid for all subsequent tables.
23645 To use the default value again, set
23652 \begin_inset space \thinspace{}
23655 pt in \SpecialChar TeX
23656 Code after the table or table float.
23659 \begin_layout Standard
23663 \begin_layout Plain Layout
23669 arrayrulewidth}{1.5pt}
23675 \begin_inset Float table
23682 \begin_layout Plain Layout
23683 \begin_inset Caption Standard
23685 \begin_layout Plain Layout
23686 \begin_inset CommandInset label
23688 name "tab:Table-with-1.5"
23693 \begin_inset space \thinspace{}
23704 \begin_layout Plain Layout
23706 \begin_inset Tabular
23707 <lyxtabular version="3" rows="3" columns="3">
23708 <features tabularvalignment="middle">
23709 <column alignment="center" valignment="top">
23710 <column alignment="center" valignment="top">
23711 <column alignment="center" valignment="top">
23713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23716 \begin_layout Plain Layout
23722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23725 \begin_layout Plain Layout
23731 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23734 \begin_layout Plain Layout
23742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23745 \begin_layout Plain Layout
23751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23754 \begin_layout Plain Layout
23760 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23763 \begin_layout Plain Layout
23771 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23774 \begin_layout Plain Layout
23780 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23783 \begin_layout Plain Layout
23789 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23792 \begin_layout Plain Layout
23812 \begin_layout Plain Layout
23818 arrayrulewidth}{0.4pt}
23826 \begin_layout Standard
23827 \begin_inset VSpace bigskip
23830 To set the line thickness to 1.5
23831 \begin_inset space \thinspace{}
23834 pt only for horizontal lines, as in Table
23835 \begin_inset space ~
23839 \begin_inset CommandInset ref
23841 reference "tab:Table-with-horizontal"
23845 , insert these commands in \SpecialChar TeX
23846 Code before the table or table float:
23849 \begin_layout Standard
23859 \begin_inset Newline newline
23867 \begin_inset Newline newline
23876 arrayrulewidth 1.5pt}
23877 \begin_inset Newline newline
23888 arrayrulewidth 0.4pt}}
23891 \begin_layout Standard
23892 To return to the default line thickness, insert this command in \SpecialChar TeX
23894 the table or table float:
23897 \begin_layout Standard
23909 \begin_layout Standard
23913 \begin_layout Plain Layout
23924 \begin_layout Plain Layout
23933 \begin_layout Plain Layout
23941 arrayrulewidth 1.5pt}
23944 \begin_layout Plain Layout
23954 arrayrulewidth 0.4pt}}
23960 \begin_inset Float table
23967 \begin_layout Plain Layout
23968 \begin_inset Caption Standard
23970 \begin_layout Plain Layout
23971 \begin_inset CommandInset label
23973 name "tab:Table-with-horizontal"
23978 \begin_inset space \thinspace{}
23981 pt thick horizontal lines
23989 \begin_layout Plain Layout
23991 \begin_inset Tabular
23992 <lyxtabular version="3" rows="3" columns="3">
23993 <features tabularvalignment="middle">
23994 <column alignment="center" valignment="top">
23995 <column alignment="center" valignment="top">
23996 <column alignment="center" valignment="top">
23998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24001 \begin_layout Plain Layout
24007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24010 \begin_layout Plain Layout
24016 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24019 \begin_layout Plain Layout
24027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24030 \begin_layout Plain Layout
24036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24039 \begin_layout Plain Layout
24045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24048 \begin_layout Plain Layout
24056 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24059 \begin_layout Plain Layout
24065 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24068 \begin_layout Plain Layout
24074 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24077 \begin_layout Plain Layout
24097 \begin_layout Plain Layout
24113 \begin_layout Standard
24114 \begin_inset VSpace bigskip
24117 To set the line thickness to 1.5
24118 \begin_inset space \thinspace{}
24121 pt only for vertical lines, create the following column format in the document
24122 preamble, according to the description in section
24123 \begin_inset space ~
24127 \begin_inset CommandInset ref
24129 reference "subsec:Customized-Format"
24136 \begin_layout Standard
24141 newcolumntype{V}{!{
24143 vrule width 1.5pt}}
24146 \begin_layout Standard
24148 \begin_inset space ~
24152 \begin_inset CommandInset ref
24154 reference "tab:Table-with-vertical"
24158 the \SpecialChar LaTeX
24162 \begin_layout Standard
24168 \begin_layout Standard
24169 was used for the last column and
24172 \begin_layout Standard
24178 \begin_layout Standard
24179 for the other columns.
24182 \begin_layout Standard
24183 \begin_inset Float table
24190 \begin_layout Plain Layout
24191 \begin_inset Caption Standard
24193 \begin_layout Plain Layout
24194 \begin_inset CommandInset label
24196 name "tab:Table-with-vertical"
24201 \begin_inset space \thinspace{}
24204 pt thick vertical lines
24212 \begin_layout Plain Layout
24214 \begin_inset Tabular
24215 <lyxtabular version="3" rows="3" columns="3">
24216 <features tabularvalignment="middle">
24217 <column alignment="center" valignment="top" special="Vc">
24218 <column alignment="center" valignment="top" special="Vc">
24219 <column alignment="center" valignment="top" special="VcV">
24221 <cell alignment="center" valignment="top" topline="true" usebox="none">
24224 \begin_layout Plain Layout
24230 <cell alignment="center" valignment="top" topline="true" usebox="none">
24233 \begin_layout Plain Layout
24239 <cell alignment="center" valignment="top" topline="true" usebox="none">
24242 \begin_layout Plain Layout
24250 <cell alignment="center" valignment="top" topline="true" usebox="none">
24253 \begin_layout Plain Layout
24259 <cell alignment="center" valignment="top" topline="true" usebox="none">
24262 \begin_layout Plain Layout
24268 <cell alignment="center" valignment="top" topline="true" usebox="none">
24271 \begin_layout Plain Layout
24279 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24282 \begin_layout Plain Layout
24288 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24291 \begin_layout Plain Layout
24297 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24300 \begin_layout Plain Layout
24319 \begin_layout Subsection
24321 \begin_inset Index idx
24324 \begin_layout Plain Layout
24325 Table Customization ! Dashed Lines
24333 \begin_layout Standard
24337 \begin_layout Plain Layout
24347 \begin_inset Note Note
24350 \begin_layout Plain Layout
24351 The following section will only be displayed when the \SpecialChar LaTeX
24364 \begin_layout Standard
24365 \begin_inset Float table
24372 \begin_layout Plain Layout
24373 \begin_inset Caption Standard
24375 \begin_layout Plain Layout
24376 \begin_inset CommandInset label
24378 name "tab:Table-with-dashed"
24382 Table with dashed lines
24390 \begin_layout Plain Layout
24392 \begin_inset Tabular
24393 <lyxtabular version="3" rows="5" columns="5">
24394 <features tabularvalignment="middle">
24395 <column alignment="center" valignment="top">
24396 <column alignment="center" valignment="top">
24397 <column alignment="center" valignment="top" special=":c">
24398 <column alignment="center" valignment="top">
24399 <column alignment="center" valignment="top">
24401 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24404 \begin_layout Plain Layout
24410 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24413 \begin_layout Plain Layout
24419 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24422 \begin_layout Plain Layout
24428 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24431 \begin_layout Plain Layout
24437 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24440 \begin_layout Plain Layout
24448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24451 \begin_layout Plain Layout
24457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24460 \begin_layout Plain Layout
24466 <cell alignment="center" valignment="top" topline="true" usebox="none">
24469 \begin_layout Plain Layout
24475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24478 \begin_layout Plain Layout
24484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24487 \begin_layout Plain Layout
24495 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24498 \begin_layout Plain Layout
24502 \begin_layout Plain Layout
24516 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24519 \begin_layout Plain Layout
24525 <cell alignment="center" valignment="top" usebox="none">
24528 \begin_layout Plain Layout
24534 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24537 \begin_layout Plain Layout
24543 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24546 \begin_layout Plain Layout
24554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24557 \begin_layout Plain Layout
24561 \begin_layout Plain Layout
24575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24578 \begin_layout Plain Layout
24584 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
24587 \begin_layout Plain Layout
24593 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24596 \begin_layout Plain Layout
24602 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24605 \begin_layout Plain Layout
24613 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24616 \begin_layout Plain Layout
24622 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24625 \begin_layout Plain Layout
24631 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24634 \begin_layout Plain Layout
24640 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24643 \begin_layout Plain Layout
24649 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24652 \begin_layout Plain Layout
24671 \begin_layout Standard
24673 does not natively support dashed lines, so you have to use \SpecialChar TeX
24675 As a prerequisite the \SpecialChar LaTeX
24681 \begin_inset Index idx
24684 \begin_layout Plain Layout
24686 -packages ! arydshln
24691 must be loaded in the document preamble with the command
24694 \begin_layout Standard
24699 usepackage{arydshln}
24702 \begin_layout Standard
24703 To make a vertical line dashed, enter the colon
24704 \begin_inset Quotes eld
24708 \begin_inset Quotes erd
24711 together with the character for the horizontal alignment as \SpecialChar LaTeX
24713 the table cell dialog.
24716 \begin_layout Standard
24717 For a horizontal dashed line add the command
24720 \begin_layout Standard
24728 \begin_layout Standard
24729 in \SpecialChar TeX
24730 Code as first element of the first cell in the table row.
24733 \begin_layout Standard
24734 For dashed multicolumn lines use the command
24737 \begin_layout Standard
24742 cdashline{line number
24747 \begin_layout Standard
24748 in \SpecialChar TeX
24749 Code as the first element of the first cell in the table row.
24750 If you have for example a multicolumn spanning columns 2 to 4 and you want
24751 to have a dashed line above, add the command
24754 \begin_layout Standard
24762 \begin_layout Standard
24763 as the first element of the first cell in the row of the multicolumn.
24766 \begin_layout Standard
24767 \begin_inset VSpace bigskip
24773 \begin_layout Standard
24775 \begin_inset space ~
24779 \begin_inset CommandInset ref
24781 reference "tab:Table-with-dashed"
24786 \begin_inset Quotes eld
24794 \begin_inset Quotes erd
24797 as \SpecialChar LaTeX
24798 argument of the third column.
24799 The \SpecialChar TeX
24806 was inserted in the first cell of the third row and the \SpecialChar TeX
24808 \begin_inset Newline newline
24817 was inserted in the first cell of the fourth row.
24820 \begin_layout Standard
24821 \begin_inset VSpace bigskip
24827 \begin_layout Standard
24828 Tables with dashed lines can also be colored as shown by Table
24829 \begin_inset space ~
24833 \begin_inset CommandInset ref
24835 reference "tab:Colored-table-with"
24842 \begin_layout Standard
24846 \begin_layout Plain Layout
24852 arrayrulewidth}{1pt}
24858 \begin_inset Note Note
24861 \begin_layout Plain Layout
24862 thicker lines for better visualization of the line color
24870 \begin_layout Standard
24874 \begin_layout Plain Layout
24878 dashgapcolor{green}
24884 \begin_inset Note Note
24887 \begin_layout Plain Layout
24888 color gaps between dashes green
24896 \begin_layout Standard
24900 \begin_layout Plain Layout
24911 \begin_layout Plain Layout
24920 \begin_layout Plain Layout
24924 arrayrulecolor{red}
24928 arrayrulecolor{black}}
24934 \begin_inset Note Note
24937 \begin_layout Plain Layout
24938 color horizontal, dashed lines red
24946 \begin_layout Standard
24950 \begin_layout Plain Layout
24961 \begin_layout Plain Layout
24970 \begin_layout Plain Layout
24974 arrayrulecolor{yellow}
24978 arrayrulecolor{black}}
24984 \begin_inset Note Note
24987 \begin_layout Plain Layout
24988 color partial horizontal, dashed lines yellow
24996 \begin_layout Standard
24997 \begin_inset Float table
25004 \begin_layout Plain Layout
25005 \begin_inset Caption Standard
25007 \begin_layout Plain Layout
25008 \begin_inset CommandInset label
25010 name "tab:Colored-table-with"
25014 Colored table with dashed lines
25022 \begin_layout Plain Layout
25024 \begin_inset Tabular
25025 <lyxtabular version="3" rows="5" columns="5">
25026 <features tabularvalignment="middle">
25027 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
25028 <column alignment="center" valignment="top" width="0pt">
25029 <column alignment="center" valignment="top" width="0pt" special=":c">
25030 <column alignment="center" valignment="top">
25031 <column alignment="center" valignment="top">
25033 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25036 \begin_layout Plain Layout
25042 <cell alignment="center" valignment="top" topline="true" usebox="none">
25045 \begin_layout Plain Layout
25051 <cell alignment="center" valignment="top" topline="true" usebox="none">
25054 \begin_layout Plain Layout
25060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25063 \begin_layout Plain Layout
25069 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25072 \begin_layout Plain Layout
25080 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25083 \begin_layout Plain Layout
25089 <cell alignment="center" valignment="top" topline="true" usebox="none">
25092 \begin_layout Plain Layout
25098 <cell alignment="center" valignment="top" topline="true" usebox="none">
25101 \begin_layout Plain Layout
25107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25110 \begin_layout Plain Layout
25116 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25119 \begin_layout Plain Layout
25127 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25130 \begin_layout Plain Layout
25134 \begin_layout Plain Layout
25147 \begin_layout Plain Layout
25161 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25164 \begin_layout Plain Layout
25170 <cell alignment="center" valignment="top" usebox="none">
25173 \begin_layout Plain Layout
25179 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25182 \begin_layout Plain Layout
25188 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25191 \begin_layout Plain Layout
25199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25202 \begin_layout Plain Layout
25206 \begin_layout Plain Layout
25220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25223 \begin_layout Plain Layout
25229 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
25232 \begin_layout Plain Layout
25238 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25241 \begin_layout Plain Layout
25247 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25250 \begin_layout Plain Layout
25258 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25261 \begin_layout Plain Layout
25267 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25270 \begin_layout Plain Layout
25276 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25279 \begin_layout Plain Layout
25285 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25288 \begin_layout Plain Layout
25294 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25297 \begin_layout Plain Layout
25301 \begin_layout Plain Layout
25328 \begin_layout Standard
25332 \begin_layout Plain Layout
25346 \begin_inset Note Note
25349 \begin_layout Plain Layout
25358 \begin_layout Standard
25362 \begin_layout Plain Layout
25376 \begin_inset Note Note
25379 \begin_layout Plain Layout
25388 \begin_layout Standard
25392 \begin_layout Plain Layout
25402 \begin_inset Note Note
25405 \begin_layout Plain Layout
25414 \begin_layout Standard
25418 \begin_layout Plain Layout
25424 arrayrulewidth}{0.4pt}
25430 \begin_inset Note Note
25433 \begin_layout Plain Layout
25442 \begin_layout Standard
25443 The coloring of lines, columns and lines works as decribed in section
25444 \begin_inset space ~
25448 \begin_inset CommandInset ref
25450 reference "sec:Colored-Tables"
25455 Coloring horizontal lines works analogically as described there as well,
25456 one only needs to replace in the commands
25480 ; so one uses the command
25483 \begin_layout Standard
25493 \begin_inset Newline newline
25501 \begin_inset Newline newline
25505 \begin_inset Phantom HPhantom
25508 \begin_layout Plain Layout
25509 \begin_inset space ~
25519 arrayrulecolor{red}
25523 arrayrulecolor{black}}
25526 \begin_layout Standard
25536 \begin_layout Standard
25546 \begin_inset Newline newline
25554 \begin_inset Newline newline
25558 \begin_inset Phantom HPhantom
25561 \begin_layout Plain Layout
25562 \begin_inset space ~
25572 arrayrulecolor{red}
25576 arrayrulecolor{black}}
25579 \begin_layout Standard
25580 To get back the black line color, one needs to insert the following commands
25581 as \SpecialChar TeX
25582 Code behind the table:
25585 \begin_layout Standard
25593 \begin_layout Standard
25605 \begin_layout Standard
25613 \begin_layout Standard
25625 \begin_layout Standard
25626 To color the gaps between the dashes the command
25629 \begin_layout Standard
25634 dashgapcolor{color}
25637 \begin_layout Standard
25638 can be used in front of a table as \SpecialChar TeX
25640 color is hereby the name of a defined color.
25644 \begin_layout Standard
25652 \begin_layout Standard
25653 unsets the changes made by
25662 \begin_layout Standard
25663 \begin_inset Note Greyedout
25666 \begin_layout Plain Layout
25672 : If there are multiple commands in a cell, the command of
25676 needs to be the first one in the cell.
25682 \begin_inset space ~
25686 \begin_inset CommandInset ref
25688 reference "tab:Colored-table-with"
25712 \begin_layout Standard
25713 \begin_inset Note Greyedout
25716 \begin_layout Plain Layout
25722 The \SpecialChar LaTeX
25727 must be loaded in the document preamble before the \SpecialChar LaTeX
25733 \begin_inset Index idx
25736 \begin_layout Plain Layout
25738 -packages ! colortbl
25751 \begin_layout Standard
25755 \begin_layout Plain Layout
25765 \begin_inset Note Note
25768 \begin_layout Plain Layout
25769 The following will be displayed when the \SpecialChar LaTeX
25782 \begin_layout Standard
25783 You need to install the package
25787 to see the content of this section in the output.
25790 \begin_layout Standard
25794 \begin_layout Plain Layout
25806 \begin_layout Standard
25807 For more information about dashed lines see the documentation of
25812 \begin_inset CommandInset citation
25822 \begin_layout Chapter
25824 \begin_inset CommandInset label
25831 \begin_inset Index idx
25834 \begin_layout Plain Layout
25843 \begin_layout Section
25845 \begin_inset CommandInset label
25847 name "sec:FloatIntroduction"
25852 \begin_inset Index idx
25855 \begin_layout Plain Layout
25856 Floats ! Introduction
25864 \begin_layout Standard
25865 A float is a block of text associated with some sort of label, which doesn't
25866 have a fixed location.
25868 \begin_inset Quotes eld
25872 \begin_inset Quotes erd
25875 forward or backward a page or two, to wherever it fits best.
25883 \begin_inset space ~
25888 are also floats because they can float to the next page when there are
25889 too many notes on the page.
25892 \begin_layout Standard
25893 Floats allow a high quality layout.
25894 Images and tables can be spread evenly among the pages to avoid white space
25895 and pages without text.
25896 As the floating often destroys the context between the text and the image/table
25897 , every float can be referenced in the text.
25898 Floats are therefore numbered.
25899 Referencing is described in section
25900 \begin_inset space ~
25904 \begin_inset CommandInset ref
25906 reference "sec:Referencing-Floats"
25913 \begin_layout Standard
25914 To insert a float, use the menu
25916 Insert\SpecialChar menuseparator
25922 arg "float-insert figure"
25928 arg "float-insert table"
25936 inset, a box with a label.
25937 The label will automatically be translated to the document language in
25939 After the label you can insert the caption text.
25940 The image or table is inserted above or below the caption in a separate
25941 paragraph within the float.
25942 More about the caption placement is contained in section
25943 \begin_inset space ~
25947 \begin_inset CommandInset ref
25949 reference "sec:Caption-Placement"
25954 To keep your \SpecialChar LyX
25955 document readable, you can open and close the float box by
25956 left-clicking on the box label.
25957 A closed float box looks like this:
25958 \begin_inset Graphics
25959 filename clipart/float.png
25961 scaleBeforeRotation
25965 – a gray button with a red label.
25968 \begin_layout Standard
25969 It is recommended that you insert floats as separate standard paragraphs
25970 to avoid possible \SpecialChar LaTeX
25971 -errors that can occur when the surrounding text is specially
25975 \begin_layout Standard
25976 Existing figures or tables can be put into a float by highlighting them
25977 and then pressing the corresponding toolbar button for a new float.
25980 \begin_layout Section
25984 \begin_layout Standard
25985 Besides figure and table floats that are described in sections
25986 \begin_inset space ~
25990 \begin_inset CommandInset ref
25992 reference "sec:Figure-Floats"
25997 \begin_inset CommandInset ref
25999 reference "sec:Table-Floats"
26003 respectively, \SpecialChar LyX
26004 offers the float types
26013 The latter are explained in sec.
26014 \begin_inset space \thinspace{}
26018 \begin_inset CommandInset ref
26020 reference "sec:Wrap-Floats"
26027 \begin_layout Subsection
26029 \begin_inset Index idx
26032 \begin_layout Plain Layout
26033 Floats ! Algorithms
26041 \begin_layout Standard
26042 \begin_inset Float algorithm
26049 \begin_layout Plain Layout
26050 \begin_inset Caption Standard
26052 \begin_layout Plain Layout
26053 \begin_inset CommandInset label
26055 name "alg:Example-Algorithm-float"
26059 Example Algorithm float
26067 \begin_layout LyX-Code
26069 \begin_inset Newline newline
26072 Sum := Sum + A(I); /* comment */
26073 \begin_inset Newline newline
26077 \begin_inset VSpace -4mm
26088 \begin_layout Standard
26089 This float type is inserted with the menu
26091 Insert\SpecialChar menuseparator
26092 Float\SpecialChar menuseparator
26096 It is used for program codes and descriptions of algorithms and can be
26097 seen as an alternative to program code listings that are explained in chapter
26098 \begin_inset space ~
26102 \begin_inset CommandInset ref
26104 reference "cha:Program-Code-Listings"
26109 A possible environment for algorithms is the
26114 , described in \SpecialChar LyX
26121 \begin_inset space ~
26125 \begin_inset CommandInset ref
26127 reference "alg:Example-Algorithm-float"
26131 is an example of an algorithm float where -4
26132 \begin_inset space \thinspace{}
26135 mm vertical space was added at the end of the float to have the bottom rule
26136 exactly below the last text line.
26139 \begin_layout Standard
26140 The float label is not automatically translated into the document language.
26141 If your document is not in English, you have to do this manually by adding
26142 the following line to the document preamble
26147 \begin_layout Standard
26152 floatname{algorithm}{your
26153 \begin_inset space ~
26159 \begin_layout Standard
26163 \begin_inset space ~
26169 \begin_inset Quotes eld
26177 \begin_inset Quotes erd
26183 \begin_layout Standard
26184 To insert the list of algorithms you can use the menu
26186 Insert\SpecialChar menuseparator
26188 \begin_inset space \thinspace{}
26192 \begin_inset space \thinspace{}
26195 TOC\SpecialChar menuseparator
26198 when your document has the same language as \SpecialChar LyX
26200 In other cases use this command in \SpecialChar TeX
26204 \begin_layout Standard
26209 listof{algorithm}{your
26210 \begin_inset space ~
26216 \begin_layout Standard
26220 \begin_inset space ~
26226 \begin_inset Quotes eld
26234 \begin_inset Quotes erd
26240 \begin_layout Standard
26241 Algorithm floats are not by default numbered in the scheme
26242 \begin_inset Quotes eld
26246 \begin_inset Quotes erd
26249 as is the case for table and figure floats in many document-classes.
26250 To number algorithm floats in the same scheme, add this command to your
26254 \begin_layout Standard
26259 numberwithin{algorithm}{chapter}
26262 \begin_layout Standard
26263 To be able to use the command
26272 \begin_inset space ~
26277 in the document settings the option
26280 \begin_inset space ~
26284 \begin_inset space ~
26288 \begin_inset space ~
26296 \begin_layout Section
26298 \begin_inset Index idx
26301 \begin_layout Plain Layout
26310 \begin_layout Standard
26311 Floats are usually numbered either independently from the sections the floats
26312 are in, or in the scheme
26313 \begin_inset Quotes eld
26317 \begin_inset Quotes erd
26321 \begin_inset Quotes eld
26325 \begin_inset Quotes erd
26329 This depends on the document class used.
26332 \begin_layout Standard
26333 To change section-independent numbering, you can use this command in the
26337 \begin_layout Standard
26349 \begin_layout Standard
26356 is the command that prints the table number.
26357 For figure floats, the command would be
26370 in the command above prints the table number as a small roman number.
26373 \begin_layout Standard
26374 To change the numbering scheme for example to
26375 \begin_inset Quotes eld
26379 \begin_inset Quotes erd
26382 , use this command in the preamble:
26385 \begin_layout Standard
26390 numberwithin{table}{subsection}
26393 \begin_layout Standard
26394 To be able to use the command
26403 \begin_inset space ~
26408 in the document settings the option
26411 \begin_inset space ~
26415 \begin_inset space ~
26419 \begin_inset space ~
26427 \begin_layout Standard
26428 Please also have a look at section
26429 \begin_inset space ~
26433 \begin_inset CommandInset ref
26435 reference "subsec:Footnote-Numbering"
26439 for the details and important notes about the numbering commands.
26442 \begin_layout Section
26444 \begin_inset CommandInset label
26446 name "sec:Referencing-Floats"
26451 \begin_inset Index idx
26454 \begin_layout Plain Layout
26455 Floats ! References
26461 \begin_inset Index idx
26464 \begin_layout Plain Layout
26465 References ! to Floats
26473 \begin_layout Standard
26474 To reference a float, insert a label into its caption using the menu
26476 Insert\SpecialChar menuseparator
26479 or the toolbar button
26486 A grey label box like this one:
26487 \begin_inset Graphics
26488 filename clipart/label.png
26489 scaleBeforeRotation
26493 will be inserted and the label window pops up asking for the label text.
26495 offers as text the first words of the caption with a prefix.
26496 The prefix depends on the float type, e.
26497 \begin_inset space \thinspace{}
26501 \begin_inset space \space{}
26504 for figure floats the prefix will be "
26511 \begin_layout Standard
26512 The label is used as anchor and name for the reference.
26513 You can refer to the label using the menu
26515 Insert\SpecialChar menuseparator
26518 or the toolbar button
26521 arg "dialog-show-new-inset ref"
26525 The cross-reference window appears showing all labels of the document.
26526 If you have multiple \SpecialChar LyX
26527 documents opened, choose the one you are working
26528 on from the drop-list at the top of the dialog.
26529 You can now sort the labels alphabetically and then choose one.
26530 A grey cross-reference box like this one:
26531 \begin_inset Graphics
26532 filename clipart/reference.png
26533 scaleBeforeRotation
26538 At the position of the cross-reference box the float number will appear
26542 \begin_layout Standard
26543 It is recommended that you use a
26544 \change_deleted 177693 1654669168
26546 \change_inserted 177693 1654669170
26549 space between the cross-reference name and its number to avoid line breaks
26551 If a cross-reference refers to a non-existing label, you will see two question
26552 marks in the output instead of the reference.
26555 \begin_layout Standard
26556 You can change labels at any time by clicking on the label box.
26557 References to the changed label will automatically update their links to
26558 the new label text.
26561 \begin_layout Standard
26565 \begin_inset space ~
26569 \begin_inset space ~
26574 in the cross-reference window sets the cursor before the referred label.
26575 The button text changes then to Go
26576 \begin_inset space ~
26579 Back and you can use it to set the cursor back to the cross-reference.
26582 \begin_layout Subsection
26583 Cross-Reference Formats
26584 \begin_inset CommandInset label
26586 name "subsec:Cross-Reference-Formats"
26591 \begin_inset Index idx
26594 \begin_layout Plain Layout
26595 References ! Formats
26603 \begin_layout Standard
26604 There are six varieties of cross-references:
26607 \begin_layout Description
26608 <reference>: prints the float number, this is the default:
26609 \begin_inset CommandInset ref
26611 reference "fig:Two-distorted-images"
26618 \begin_layout Description
26619 (<reference>): prints the float number within two parentheses, this is the
26620 style normally used to reference formulas, especially when the reference
26622 \begin_inset Quotes eld
26626 \begin_inset Quotes erd
26630 \begin_inset CommandInset ref
26639 \begin_layout Description
26640 <page>: prints the page number: Page
26641 \begin_inset space ~
26645 \begin_inset CommandInset ref
26646 LatexCommand pageref
26647 reference "fig:Two-distorted-images"
26654 \begin_layout Description
26656 \begin_inset space ~
26660 \begin_inset space ~
26663 <page>: prints the text "on page" and the page number:
26664 \begin_inset CommandInset ref
26665 LatexCommand vpageref
26666 reference "fig:Two-distorted-images"
26673 \begin_layout Description
26675 \begin_inset space ~
26679 \begin_inset space ~
26683 \begin_inset space ~
26686 <page>: prints the float number, the text "on page", and the page number:
26688 \begin_inset CommandInset ref
26690 reference "fig:Two-distorted-images"
26697 \begin_layout Description
26699 \begin_inset space ~
26702 reference: prints a self-defined cross-reference format.
26703 \begin_inset Newline newline
26707 \begin_inset Note Greyedout
26710 \begin_layout Plain Layout
26715 This feature is only available when you have the \SpecialChar LaTeX
26725 \begin_inset Index idx
26728 \begin_layout Plain Layout
26730 -packages ! prettyref
26736 \begin_inset Index idx
26739 \begin_layout Plain Layout
26741 -packages ! refstyle
26752 \begin_inset Newline newline
26755 You can select which \SpecialChar LaTeX
26756 -package should be used for this feature by setting
26759 Use refstyle (not prettyref) for cross-references
26763 Document\SpecialChar menuseparator
26764 Settings\SpecialChar menuseparator
26768 The format is specified by adding the command
26780 (refstyle) to the preamble of the document.
26781 For example redefining all references to figures (which have the label
26783 \begin_inset Quotes eld
26791 \begin_inset Quotes erd
26794 ) can be done with this command
26795 \begin_inset Newline newline
26802 newref{fig}{refcmd={Image on page
26807 \begin_inset Newline newline
26810 For more information about the format, have a look at the package documentations
26812 \begin_inset CommandInset citation
26814 key "prettyref,refstyle"
26820 \begin_inset Newline newline
26831 are only available if you use the \SpecialChar LaTeX
26846 \begin_inset space \thinspace{}
26850 \begin_inset space \space{}
26854 \begin_inset Quotes eld
26858 \begin_inset Quotes erd
26865 outputs the name capitalized, e.
26866 \begin_inset space \thinspace{}
26870 \begin_inset space \space{}
26874 \begin_inset Quotes eld
26878 \begin_inset Quotes erd
26882 Both options can be combined to get e.
26883 \begin_inset space \thinspace{}
26887 \begin_inset space \space{}
26891 \begin_inset Quotes eld
26895 \begin_inset Quotes erd
26901 \begin_layout Description
26903 \begin_inset space ~
26906 reference: prints the caption of the reference:
26907 \begin_inset CommandInset ref
26908 LatexCommand nameref
26909 reference "fig:Two-distorted-images"
26916 \begin_layout Description
26918 \begin_inset space ~
26921 only: prints only the \SpecialChar LaTeX
26922 label for the reference:
26923 \begin_inset CommandInset ref
26924 LatexCommand labelonly
26925 reference "fig:Two-distorted-images"
26933 \begin_inset Newline newline
26936 This allows to use the label for commands in \SpecialChar TeX
26942 one can omit the prefix of the label name:
26943 \begin_inset CommandInset ref
26944 LatexCommand labelonly
26945 reference "fig:Two-distorted-images"
26955 \begin_layout Standard
26960 will not print the page number if the label is on the previous, the same,
26963 \begin_inset space \thinspace{}
26967 \begin_inset space \space{}
26971 \begin_inset Quotes eld
26979 \begin_inset Quotes erd
26985 <reference> on page <page>
26987 will not print anything about the page if the label is on the same page.
26990 \begin_layout Standard
26991 The number and current page of the part of the document referred to in the
26992 output is automatically calculated by \SpecialChar LaTeX
26994 The varieties are adjusted in the field
26998 of the cross-reference window that appears when you click on the cross-referenc
27002 \begin_layout Standard
27003 \begin_inset Note Greyedout
27006 \begin_layout Plain Layout
27011 It is recommended to use the \SpecialChar LaTeX
27017 \begin_inset Index idx
27020 \begin_layout Plain Layout
27022 -packages ! refstyle
27032 \begin_inset Index idx
27035 \begin_layout Plain Layout
27037 -packages ! prettyref
27042 does not know all of \SpecialChar LyX
27043 's possible label shortcuts
27047 \begin_layout Plain Layout
27048 \begin_inset Quotes eld
27052 \begin_inset Quotes erd
27055 is for example \SpecialChar LyX
27056 's shortcut for labels in figure captions.
27061 and is not internationalized.
27069 \begin_layout Subsection
27070 Automatic Reference Naming
27071 \begin_inset Index idx
27074 \begin_layout Plain Layout
27075 References ! Automatic Reference Naming
27083 \begin_layout Standard
27084 The \SpecialChar LaTeX
27090 \begin_inset Index idx
27093 \begin_layout Plain Layout
27095 -packages ! hyperref
27100 , that is enabled in the
27108 dialog, provides a very useful feature that cross-references automatically
27109 include the name of the referenced floats (or text parts like
27114 So you will save having to write e.
27115 \begin_inset space \thinspace{}
27119 \begin_inset space \space{}
27123 \begin_inset Quotes eld
27127 \begin_inset Quotes erd
27130 before every reference to a figure.
27131 To use this feature, enable
27135 and insert this line to the \SpecialChar LaTeX
27139 \begin_layout Standard
27155 \begin_layout Standard
27156 When you prefer other reference names than the default ones, for example
27157 you want instead of
27158 \begin_inset Quotes eld
27162 \begin_inset Quotes erd
27166 \begin_inset Quotes eld
27170 \begin_inset space \thinspace{}
27174 \begin_inset Quotes eld
27177 , you can redefine the name by inserting this in the preamble:
27180 \begin_layout Standard
27191 sectionautorefname}
27192 \begin_inset Newline newline
27196 \begin_inset Phantom HPhantom
27199 \begin_layout Plain Layout
27202 \begin_inset space ~
27215 \begin_layout Standard
27216 When you are using another document language than English, replace
27217 \begin_inset Newline newline
27232 , where *** is the name of the language used.
27235 \begin_layout Standard
27236 To get automatic names, but not for certain reference types, for example
27237 not for equations, use this preamble code:
27240 \begin_layout Standard
27251 equationautorefname}[1]{}}
27254 \begin_layout Standard
27255 More about this topic can be found in
27260 \begin_inset CommandInset citation
27270 \begin_layout Standard
27271 \begin_inset Note Greyedout
27274 \begin_layout Plain Layout
27279 Automatic reference naming cannot be used when you use cross-references
27283 \begin_inset space ~
27288 style, as described in section
27289 \begin_inset space ~
27293 \begin_inset CommandInset ref
27295 reference "subsec:Cross-Reference-Formats"
27307 \begin_layout Standard
27312 manual is an example where automatic reference naming is used.
27315 \begin_layout Subsection
27317 \begin_inset CommandInset label
27319 name "subsec:Reference-Position"
27324 \begin_inset Index idx
27327 \begin_layout Plain Layout
27328 References ! Reference Position
27336 \begin_layout Standard
27342 \begin_inset Index idx
27345 \begin_layout Plain Layout
27347 -packages ! hyperref
27360 dialog to link cross-references in the output, you will see that clicking
27361 on an image float reference jumps to the image label.
27362 The caption will be the first text part on the screen, so that you cannot
27363 see the image without scrolling.
27364 This is because the reference link anchor is placed at the position of
27366 With the use of the package
27371 \begin_inset Index idx
27374 \begin_layout Plain Layout
27381 , which is part of the \SpecialChar LaTeX
27387 \begin_inset Index idx
27390 \begin_layout Plain Layout
27392 -packages ! oberdiek
27397 , the link anchor is placed at the beginning of a float.
27398 To use this feature for figure floats, load
27402 in the document preamble with the line
27405 \begin_layout Standard
27410 usepackage[figure]{hypcap}
27413 \begin_layout Standard
27418 for all float types but this is not recommended for stability reasons.
27419 For more information, have a look at
27424 \begin_inset CommandInset citation
27434 \begin_layout Standard
27435 \begin_inset Note Greyedout
27438 \begin_layout Plain Layout
27447 has no effect on references to subfigures.
27455 \begin_layout Section
27457 \change_deleted -712698321 1526031763
27459 \change_inserted -712698321 1526031765
27463 \begin_inset CommandInset label
27465 name "sec:Float-Settings"
27470 \begin_inset Index idx
27473 \begin_layout Plain Layout
27475 \change_deleted -712698321 1526031841
27477 \change_inserted -712698321 1526031842
27488 \begin_layout Standard
27490 \change_inserted -712698321 1526033385
27491 Float Settings can be adjusted at two places in \SpecialChar LyX
27493 \change_inserted 630872221 1622709604
27495 \change_deleted 630872221 1622709603
27497 \change_inserted -712698321 1526033385
27500 Document\SpecialChar menuseparator
27501 Settings\SpecialChar ldots
27502 \SpecialChar menuseparator
27505 , you can set some options that are used by default for all floats of the
27506 document (placement on page and alignment of contents), unless you modify
27507 the local settings of a float.
27512 \begin_layout Standard
27514 \change_inserted -712698321 1526032513
27515 The latter can be done by
27516 \change_deleted -712698321 1526032513
27518 \change_inserted -712698321 1526032513
27521 ight-clicking on a float-box and clicking on
27524 \change_inserted -712698321 1526033387
27531 \change_inserted -712698321 1526032520
27534 opens a dialog where you can
27535 \change_inserted -712698321 1526032584
27536 , now only for the given float,
27539 \change_inserted -712698321 1526033452
27543 \change_deleted -712698321 1526033439
27544 options that \SpecialChar LaTeX
27545 uses for positioning the float
27546 \change_inserted -712698321 1526033493
27547 and alignment options, and adapt some other options that are only available
27552 \change_inserted -712698321 1526032658
27553 All these options, both for
27555 Document\SpecialChar menuseparator
27556 Settings\SpecialChar menuseparator
27563 , are described in turn.
27564 \change_deleted -712698321 1526031652
27566 \begin_inset Newline newline
27572 \begin_inset space ~
27577 is only useful for two-column documents: If you select it, the float will
27578 span both columns on the page instead of being confined to just one.
27579 \begin_inset Newline newline
27585 \begin_inset space ~
27590 is used to rotate floats, see section
27591 \begin_inset CommandInset ref
27593 reference "sec:Rotated-Floats"
27602 \begin_layout Subsection
27604 \change_inserted -712698321 1526031775
27606 \begin_inset CommandInset label
27608 name "sec:Float-Placement"
27613 \begin_inset Index idx
27616 \begin_layout Plain Layout
27618 \change_inserted -712698321 1526031775
27631 \begin_layout Standard
27633 \change_inserted -712698321 1526032697
27636 Document\SpecialChar menuseparator
27637 Settings\SpecialChar menuseparator
27645 \change_deleted -712698321 1526032811
27646 You can use one or more of the following options in the float dialog to
27648 \change_inserted -712698321 1526032812
27652 \change_inserted -712698321 1526033558
27653 algorithm that \SpecialChar LaTeX
27654 uses for positioning floats on the page, either
27657 \change_inserted -712698321 1526033535
27660 Document\SpecialChar menuseparator
27661 Settings\SpecialChar menuseparator
27667 \change_inserted -712698321 1526033570
27678 By default, this is set to
27681 \change_inserted -712698321 1526033604
27688 Document\SpecialChar menuseparator
27689 Settings\SpecialChar menuseparator
27692 (meaning that the default placement algorithm of the document class is
27701 dialog (meaning that the settings in
27703 Document\SpecialChar menuseparator
27704 Settings\SpecialChar menuseparator
27707 are used, which are the Class Defaults by default).
27708 If you want to change this,
27709 \change_deleted -712698321 1526033009
27711 \change_inserted -712698321 1526033535
27715 \change_deleted -712698321 1526031920
27717 \change_inserted -712698321 1526033535
27720 Placement Settings:
27725 \change_inserted -712698321 1526033535
27729 \change_deleted -712698321 1526031908
27731 \begin_inset space ~
27735 \begin_inset space ~
27739 \change_inserted -712698321 1526033535
27742 This allows you to select one or more from
27747 \begin_layout Description
27749 \begin_inset space ~
27753 \begin_inset space ~
27756 possible try to place the float on the position where it has been inserted
27757 \change_inserted 630872221 1622713522
27761 \begin_layout Description
27763 \change_inserted 630872221 1622713704
27765 \begin_inset space ~
27768 definitely forces the placement of the float on the position where it has
27774 \begin_layout Description
27776 \begin_inset space ~
27780 \begin_inset space ~
27783 page try to place the float at the top of the current page
27786 \begin_layout Description
27788 \begin_inset space ~
27792 \begin_inset space ~
27795 page try to place the float at the bottom of the current page
27798 \begin_layout Description
27800 \begin_inset space ~
27804 \begin_inset space ~
27807 floats try to place the float on its own page
27810 \begin_layout Standard
27811 The order of the above option is
27815 used by \SpecialChar LaTeX
27817 That means, if you use the default placement, \SpecialChar LaTeX
27821 \begin_inset space ~
27825 \begin_inset space ~
27833 \begin_inset space ~
27837 \begin_inset space ~
27842 , and then the others.
27843 If you do not use the default, \SpecialChar LaTeX
27844 will try only the checked options but in
27847 \begin_inset space ~
27850 placements is possible the procedure is internally repeated trying to put
27851 the float on the following page.
27854 \begin_layout Standard
27855 By default, each option has its own rules:
27858 \begin_layout Labeling
27859 \labelwidthstring 00.00.0000
27863 \begin_inset space ~
27867 \begin_inset space ~
27872 only floats occupying less than 70
27873 \begin_inset space \thinspace{}
27876 % of the page can be placed at the top of a page (
27885 \begin_layout Labeling
27886 \labelwidthstring 00.00.0000
27890 \begin_inset space ~
27894 \begin_inset space ~
27899 : only floats occupying less than 30
27900 \begin_inset space \thinspace{}
27903 % of the page can be placed at the bottom of a page.
27913 \begin_layout Labeling
27914 \labelwidthstring 00.00.0000
27918 \begin_inset space ~
27922 \begin_inset space ~
27927 : only if more than 50
27928 \begin_inset space \thinspace{}
27931 % of the page is occupied by floats, several floats can be set together
27942 \begin_layout Standard
27943 If you don't like these rules, you can ignore them by using the additional
27947 \begin_inset space ~
27952 \begin_inset space ~
27958 \begin_inset Newline newline
27961 You can also redefine the rules with \SpecialChar LaTeX
27962 -commands that are given in parentheses
27963 after the rules description above.
27964 To increase for example the often too small default of the bottom-rule
27966 \begin_inset space \thinspace{}
27969 % of the page, add this line to your document preamble:
27972 \begin_layout Standard
27979 bottomfraction}{0.5}
27982 \begin_layout Standard
27983 Sometimes you might need, under all circumstances, a float to be placed
27984 exactly at the position where it is inserted.
27985 For this case you can use the option
27988 \begin_inset space ~
27994 Use this option very rarely and only if the document is almost ready to
27995 be printed, because the float is then no longer able to
27996 \begin_inset Quotes eld
28000 \begin_inset Quotes erd
28003 when you change your document and this will often destroy the page layout.
28006 \begin_layout Standard
28007 There are no placement options for text wrap floats, because they are always
28008 surrounded by the text of a certain paragraph.
28009 \begin_inset VSpace bigskip
28015 \begin_layout Standard
28016 Sometimes you have the problem that a float is placed at the top of a page
28017 while its corresponding section starts at the middle of the page, so that
28018 the reader could think the float is part of the previous section.
28019 To avoid this the \SpecialChar LaTeX
28027 It suppresses a given float placement for the page where it is inserted
28028 and can therefore be used to avoid floats being set before a section starts.
28029 To get this, add these commands to your document preamble:
28032 \begin_layout Standard
28042 \begin_inset Newline newline
28056 \begin_layout Standard
28057 You can define the same for all section headings, like chapters and subsections.
28058 This definition is not recommended to be used for small text parts like
28059 subsubsections because \SpecialChar LaTeX
28060 may then have problems finding a suitable placement.
28063 \begin_layout Standard
28064 \begin_inset VSpace bigskip
28067 In some cases it is required to have all figures/tables at the end of the
28069 For this purpose the \SpecialChar LaTeX
28075 \begin_inset Index idx
28078 \begin_layout Plain Layout
28080 -packages ! endfloat
28086 It puts all figure and table floats at the end of the document into their
28088 At the original float position a text hint like
28089 \begin_inset Quotes eld
28095 \begin_inset space ~
28101 \begin_inset Quotes erd
28105 The endfloat-package is loaded in the preamble with the line
28108 \begin_layout Standard
28113 usepackage[options]{endfloat}
28116 \begin_layout Standard
28117 There are various package options to format the created figure/table sections.
28118 For more information we refer you to the
28123 \begin_inset CommandInset citation
28131 \begin_inset Newline newline
28135 \begin_inset Note Greyedout
28138 \begin_layout Plain Layout
28143 doesn't provide an automatic translation for the text hint, you have to
28144 do this manually, see section
28145 \begin_inset space ~
28149 \begin_inset CommandInset citation
28162 \begin_inset Newline newline
28166 \begin_inset Note Greyedout
28169 \begin_layout Plain Layout
28174 There is currently a bug in
28178 when the caption contains a German
28179 \begin_inset Quotes eld
28183 \begin_inset Quotes erd
28187 Use in this case the command
28188 \begin_inset Quotes eld
28198 \begin_inset Quotes erd
28201 in \SpecialChar TeX
28203 \begin_inset Quotes eld
28207 \begin_inset Quotes erd
28218 \begin_layout Standard
28219 \begin_inset VSpace bigskip
28222 For more details about float placements, have a look at \SpecialChar LaTeX
28224 \begin_inset CommandInset citation
28226 key "latexcompanion,latexguide,latexbook"
28232 \change_inserted -712698321 1526030561
28236 \begin_layout Subsection
28238 \change_inserted -712698321 1526031989
28239 Alignment of Float Contents
28242 \begin_layout Standard
28244 \change_inserted -712698321 1526032316
28245 In this list of options, you can define how the contents of a float (or
28246 all floats by default, if selected from
28248 Document\SpecialChar menuseparator
28256 means that the alignment of the class, or the default alignment of \SpecialChar LaTeX
28263 (only visible in the
28269 Document\SpecialChar menuseparator
28272 ) takes the setting specified in
28274 Document\SpecialChar menuseparator
28275 Settings\SpecialChar menuseparator
28279 The other three options,
28291 , are self-explanatory.
28292 If one of these is selected in
28294 Document\SpecialChar menuseparator
28295 Settings\SpecialChar menuseparator
28298 , all floats of the document will have this setting by default (so it is
28299 fairly easy, for instance, to center all floats).
28304 \begin_layout Subsection
28306 \change_inserted -712698321 1526030571
28307 Other Float Options
28310 \begin_layout Standard
28312 \change_inserted -712698321 1526035716
28313 These two options are only visible in the local
28319 Document\SpecialChar menuseparator
28325 \begin_layout Standard
28327 \change_inserted -712698321 1526033931
28331 \begin_inset space ~
28336 is useful for two-column documents: If you select it, the float will span
28337 both columns on the page instead of being confined to just one.
28340 \begin_layout Standard
28342 \change_inserted -712698321 1526030572
28346 \begin_inset space ~
28351 is used to rotate floats, see section
28352 \begin_inset CommandInset ref
28354 reference "sec:Rotated-Floats"
28363 \begin_layout Section
28365 \begin_inset CommandInset label
28367 name "sec:Rotated-Floats"
28372 \begin_inset Index idx
28375 \begin_layout Plain Layout
28384 \begin_layout Standard
28385 Especially for wide tables you might have floats rotated.
28386 To rotate a whole float including the caption, right-click on the float-box
28390 \begin_inset space ~
28398 \begin_layout Standard
28399 Rotated floats are always placed on a page of their own (or column of their
28400 own; in case you have a multi-column document).
28401 You can let them span several columns using the float settings option
28404 \begin_inset space ~
28410 Floats are rotated so that you can read them from the outside margin.
28411 To force a certain rotation direction for all pages, you can add either
28420 to the document class options.
28423 \begin_layout Standard
28424 Referencing rotated floats is the same as for normal floats, the caption
28425 format is also the same: Table
28426 \begin_inset space ~
28430 \begin_inset CommandInset ref
28432 reference "tab:Rotated-table"
28436 is an example of a rotated table float.
28439 \begin_layout Standard
28440 \begin_inset Note Greyedout
28443 \begin_layout Plain Layout
28448 Not all DVI-viewers are able to display rotated floats.
28456 \begin_layout Standard
28457 \begin_inset Float table
28464 \begin_layout Plain Layout
28465 \begin_inset Caption Standard
28467 \begin_layout Plain Layout
28468 \begin_inset CommandInset label
28470 name "tab:Rotated-table"
28482 \begin_layout Plain Layout
28484 \begin_inset Tabular
28485 <lyxtabular version="3" rows="1" columns="5">
28486 <features tabularvalignment="middle">
28487 <column alignment="center" valignment="top">
28488 <column alignment="center" valignment="top">
28489 <column alignment="center" valignment="top">
28490 <column alignment="center" valignment="top">
28491 <column alignment="center" valignment="top">
28493 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28496 \begin_layout Plain Layout
28502 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28505 \begin_layout Plain Layout
28511 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28514 \begin_layout Plain Layout
28520 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28523 \begin_layout Plain Layout
28529 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28532 \begin_layout Plain Layout
28551 \begin_layout Section
28553 \begin_inset Index idx
28556 \begin_layout Plain Layout
28565 \begin_layout Standard
28566 Subfloats are for example used when a figure consists of several images.
28567 They are created by inserting a float into an existing float.
28568 The placement of the subfloats can be controlled in the same way as for
28569 paragraphs as shown in table
28570 \begin_inset space ~
28574 \begin_inset CommandInset ref
28576 reference "tab:Two-subtables-side"
28581 \begin_inset CommandInset ref
28583 reference "tab:Two-subtables-upon"
28590 \begin_layout Standard
28591 Referencing subfloats works as for normal floats: Table
28592 \begin_inset space ~
28596 \begin_inset CommandInset ref
28598 reference "tab:This-is-subtable-a"
28603 \begin_inset CommandInset ref
28605 reference "tab:This-is-subtable-b"
28609 are subtables of table
28610 \begin_inset space ~
28614 \begin_inset CommandInset ref
28616 reference "tab:Two-subtables-side"
28623 \begin_layout Standard
28624 \begin_inset Float table
28631 \begin_layout Plain Layout
28632 \begin_inset Caption Standard
28634 \begin_layout Plain Layout
28635 \begin_inset CommandInset label
28637 name "tab:Two-subtables-side"
28641 Two subtables placed side by side.
28649 \begin_layout Plain Layout
28651 \begin_inset space \hfill{}
28655 \begin_inset Float table
28662 \begin_layout Plain Layout
28663 \begin_inset Caption Standard
28665 \begin_layout Plain Layout
28666 \begin_inset CommandInset label
28668 name "tab:This-is-subtable-a"
28672 This is subtable a.
28680 \begin_layout Plain Layout
28682 \begin_inset Tabular
28683 <lyxtabular version="3" rows="1" columns="5">
28684 <features tabularvalignment="middle">
28685 <column alignment="center" valignment="top">
28686 <column alignment="center" valignment="top">
28687 <column alignment="center" valignment="top">
28688 <column alignment="center" valignment="top">
28689 <column alignment="center" valignment="top">
28691 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28694 \begin_layout Plain Layout
28700 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28703 \begin_layout Plain Layout
28709 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28712 \begin_layout Plain Layout
28718 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28721 \begin_layout Plain Layout
28727 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28730 \begin_layout Plain Layout
28747 \begin_inset space \hfill{}
28751 \begin_inset Float table
28758 \begin_layout Plain Layout
28759 \begin_inset Caption Standard
28761 \begin_layout Plain Layout
28762 \begin_inset CommandInset label
28764 name "tab:This-is-subtable-b"
28768 This is subtable b.
28776 \begin_layout Plain Layout
28778 \begin_inset Tabular
28779 <lyxtabular version="3" rows="1" columns="5">
28780 <features tabularvalignment="middle">
28781 <column alignment="center" valignment="top">
28782 <column alignment="center" valignment="top">
28783 <column alignment="center" valignment="top">
28784 <column alignment="center" valignment="top">
28785 <column alignment="center" valignment="top">
28787 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28790 \begin_layout Plain Layout
28796 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28799 \begin_layout Plain Layout
28805 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28808 \begin_layout Plain Layout
28814 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28817 \begin_layout Plain Layout
28823 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28826 \begin_layout Plain Layout
28843 \begin_inset space \hfill{}
28854 \begin_layout Standard
28855 \begin_inset Float table
28862 \begin_layout Plain Layout
28863 \begin_inset Caption Standard
28865 \begin_layout Plain Layout
28866 \begin_inset CommandInset label
28868 name "tab:Two-subtables-upon"
28872 Two subtables placed one above the other.
28873 (a) table with 4 cells, (b) table with 5 cells.
28881 \begin_layout Plain Layout
28883 \begin_inset Float table
28890 \begin_layout Plain Layout
28891 \begin_inset Caption Standard
28893 \begin_layout Plain Layout
28902 \begin_layout Plain Layout
28904 \begin_inset Tabular
28905 <lyxtabular version="3" rows="1" columns="4">
28906 <features tabularvalignment="middle">
28907 <column alignment="center" valignment="top">
28908 <column alignment="center" valignment="top">
28909 <column alignment="center" valignment="top">
28910 <column alignment="center" valignment="top">
28912 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28915 \begin_layout Plain Layout
28921 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28924 \begin_layout Plain Layout
28930 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28933 \begin_layout Plain Layout
28939 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28942 \begin_layout Plain Layout
28961 \begin_layout Plain Layout
28963 \begin_inset Float table
28970 \begin_layout Plain Layout
28971 \begin_inset Caption Standard
28973 \begin_layout Plain Layout
28982 \begin_layout Plain Layout
28984 \begin_inset Tabular
28985 <lyxtabular version="3" rows="1" columns="5">
28986 <features tabularvalignment="middle">
28987 <column alignment="center" valignment="top">
28988 <column alignment="center" valignment="top">
28989 <column alignment="center" valignment="top">
28990 <column alignment="center" valignment="top">
28991 <column alignment="center" valignment="top">
28993 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28996 \begin_layout Plain Layout
29002 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29005 \begin_layout Plain Layout
29011 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29014 \begin_layout Plain Layout
29020 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29023 \begin_layout Plain Layout
29029 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29032 \begin_layout Plain Layout
29056 \begin_layout Section
29057 Floats Side by Side
29058 \begin_inset Index idx
29061 \begin_layout Plain Layout
29062 Floats ! Side by side
29070 \begin_layout Standard
29071 To place floats side by side, as in Figures
29072 \begin_inset space ~
29076 \begin_inset CommandInset ref
29078 reference "fig:Float-left"
29083 \begin_inset CommandInset ref
29085 reference "fig:Float-right"
29094 In it two minipage boxes are inserted.
29098 \begin_layout Plain Layout
29099 Minipages are explained in section
29100 \begin_inset space ~
29104 \begin_inset CommandInset ref
29106 reference "sec:Minipages"
29115 The width is set to 45
29116 \begin_inset space \thinspace{}
29120 \begin_inset space \thinspace{}
29123 column% and the box alignment to
29128 The minipage boxes contain the image and the caption in the same way as
29129 they are in a float.
29130 The only difference is that the image unit
29133 \begin_inset space ~
29137 \begin_inset space ~
29142 is now calculated according to the width of the minipage boxes.
29145 \begin_layout Standard
29146 \begin_inset Float figure
29153 \begin_layout Plain Layout
29154 \begin_inset Box Frameless
29164 height_special "totalheight"
29169 backgroundcolor "none"
29172 \begin_layout Plain Layout
29174 \begin_inset Graphics
29175 filename clipart/2D-intensity-plot.pdf
29177 scaleBeforeRotation
29184 \begin_layout Plain Layout
29185 \begin_inset Caption Standard
29187 \begin_layout Plain Layout
29188 \begin_inset CommandInset label
29190 name "fig:Float-left"
29194 Float on the left side.
29205 \begin_inset space \hfill{}
29209 \begin_inset Box Frameless
29219 height_special "totalheight"
29224 backgroundcolor "none"
29227 \begin_layout Plain Layout
29229 \begin_inset Graphics
29230 filename clipart/Star-structure.pdf
29232 scaleBeforeRotation
29239 \begin_layout Plain Layout
29240 \begin_inset Caption Standard
29242 \begin_layout Plain Layout
29243 \begin_inset CommandInset label
29245 name "fig:Float-right"
29249 Float on the right side.
29267 \begin_layout Standard
29268 An alternative and simpler solution is to use the module
29270 Variable-width Minipages
29273 \begin_inset space \thinspace{}
29277 \begin_inset CommandInset ref
29279 reference "sec:Minipages"
29284 Variable-width minipages adapt automatically to the width of the figures
29286 They do not require an explicit width to be given, and they improve the
29287 horizontal alignment of the figures.
29288 The LyX example file
29290 varwidth-floats-side-by-side
29292 gives examples of how to do this.
29295 \begin_layout Section
29297 \begin_inset Index idx
29300 \begin_layout Plain Layout
29301 Caption ! Formatting
29307 \begin_inset Index idx
29310 \begin_layout Plain Layout
29311 Floats ! Caption Formatting
29317 \begin_inset CommandInset label
29319 name "sec:Caption-Formatting"
29326 \begin_layout Standard
29331 environment is the default paragraph environment for
29336 On the \SpecialChar LyX
29337 screen captions appear as a label, e.
29338 \begin_inset space \thinspace{}
29342 \begin_inset space \space{}
29346 \begin_inset Quotes eld
29354 \begin_inset Quotes erd
29357 followed by the caption text.
29359 \begin_inset Quotes eld
29363 \begin_inset Quotes erd
29366 is the actual reference number.
29367 By default the label and the number are in the same font as the caption
29368 text and a colon follows the number to divide the label from the text.
29369 This caption format is suitable for many but not all documents.
29373 \begin_layout Standard
29374 To change the default caption format, load the \SpecialChar LaTeX
29380 \begin_inset Index idx
29383 \begin_layout Plain Layout
29385 -packages ! caption
29390 in the document preamble with this line:
29393 \begin_layout Standard
29398 usepackage[format definition]{caption}
29401 \begin_layout Standard
29402 To have for example the label and the number in sans-serif, bold font and
29403 the table captions always above the table as in this document, use the
29407 \begin_layout Standard
29412 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
29415 \begin_layout Standard
29416 You can also define different caption formats for the different float types.
29417 In this case load the
29421 package without format specific options and define the different formats
29422 with the help of the command
29425 \begin_layout Standard
29430 captionsetup[float type]{format definition}
29433 \begin_layout Standard
29434 in the document preamble.
29435 For example the caption formats of Figure
29436 \begin_inset space ~
29440 \begin_inset CommandInset ref
29442 reference "fig:This-is-an-fig"
29447 \begin_inset space ~
29451 \begin_inset CommandInset ref
29453 reference "tab:This-is-an-tab"
29457 can be created using these commands in the document preamble:
29460 \begin_layout Standard
29465 usepackage[tableposition=top]{caption}
29468 \begin_inset Newline newline
29475 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
29476 \begin_inset Newline newline
29480 \begin_inset Phantom HPhantom
29483 \begin_layout Plain Layout
29488 captionsetup[figure]{
29494 \begin_inset Newline newline
29499 captionsetup[table]{labelfont={bf,sf}}
29502 \begin_layout Standard
29503 \begin_inset Note Greyedout
29506 \begin_layout Plain Layout
29515 has no effect when a
29520 \begin_inset Index idx
29523 \begin_layout Plain Layout
29525 -packages ! KOMA-Script
29530 document class is used.
29531 In this case the document class option
29533 captions=tableheading
29543 \begin_layout Standard
29544 For more information about the package
29548 we refer to its documentation
29549 \begin_inset CommandInset citation
29559 \begin_layout Standard
29560 To change the label name from e.
29561 \begin_inset space \thinspace{}
29565 \begin_inset space \space{}
29569 \begin_inset Quotes eld
29573 \begin_inset Quotes erd
29577 \begin_inset Quotes eld
29581 \begin_inset Quotes erd
29584 use this preamble command:
29587 \begin_layout Standard
29594 fnum@figure}{Image~
29599 \begin_layout Standard
29606 inserts the figure number and
29609 \begin_inset Quotes eld
29615 \begin_inset Quotes erd
29619 \change_deleted 177693 1654669177
29621 \change_inserted 177693 1654669179
29627 \begin_layout Standard
29628 \begin_inset VSpace bigskip
29636 \begin_inset Index idx
29639 \begin_layout Plain Layout
29641 -packages ! KOMA-Script
29648 article (KOMA-Script)
29656 letter (KOMA-Script)
29660 report (KOMA-Script)
29663 \begin_inset space \thinspace{}
29666 ), you can alternatively to the
29674 's built-in command
29681 For example, to have the caption label in bold, add this command to your
29685 \begin_layout Standard
29690 setkomafont{captionlabel}{
29695 \begin_layout Standard
29696 For more information about
29707 \begin_inset CommandInset citation
29717 \begin_layout Standard
29721 \begin_layout Plain Layout
29725 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
29732 \begin_inset Note Note
29735 \begin_layout Plain Layout
29736 The caption format is changed only for this example.
29744 \begin_layout Standard
29745 \begin_inset Float figure
29752 \begin_layout Plain Layout
29754 \begin_inset Graphics
29755 filename clipart/2D-intensity-plot.pdf
29756 scaleBeforeRotation
29763 \begin_layout Plain Layout
29764 \begin_inset Caption Standard
29766 \begin_layout Plain Layout
29767 \begin_inset CommandInset label
29769 name "fig:This-is-an-fig"
29773 This is an example figure caption that is longer than one line to show the
29774 different caption format.
29775 Here a self-defined caption format is used.
29788 \begin_layout Standard
29792 \begin_layout Plain Layout
29796 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
29805 \begin_layout Standard
29806 \begin_inset Float table
29813 \begin_layout Plain Layout
29814 \begin_inset Caption Standard
29816 \begin_layout Plain Layout
29817 \begin_inset CommandInset label
29819 name "tab:This-is-an-tab"
29823 This is an example table caption that is longer than one line to show the
29824 different caption format.
29825 Here the standard caption format for tables in this document is used.
29833 \begin_layout Plain Layout
29835 \begin_inset Tabular
29836 <lyxtabular version="3" rows="1" columns="5">
29837 <features tabularvalignment="middle">
29838 <column alignment="center" valignment="top">
29839 <column alignment="center" valignment="top">
29840 <column alignment="center" valignment="top">
29841 <column alignment="center" valignment="top">
29842 <column alignment="center" valignment="top">
29844 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29847 \begin_layout Plain Layout
29853 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29856 \begin_layout Plain Layout
29862 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29865 \begin_layout Plain Layout
29871 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29874 \begin_layout Plain Layout
29880 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29883 \begin_layout Plain Layout
29902 \begin_layout Section
29904 \begin_inset Index idx
29907 \begin_layout Plain Layout
29908 Caption ! Placement
29914 \begin_inset Index idx
29917 \begin_layout Plain Layout
29918 Floats ! Caption Placement
29924 \begin_inset CommandInset label
29926 name "sec:Caption-Placement"
29933 \begin_layout Standard
29934 The common caption placement rule is:
29937 \begin_layout Description
29938 Figure: Caption is set below the figure
29941 \begin_layout Description
29942 Table: Caption is set above the table
29945 \begin_layout Standard
29946 Having the caption above the table is unfortunately not supported in \SpecialChar LaTeX
29949 That means if you are using the document classes
29965 there will be no space between the caption and the table.
29966 To insert the necessary space, load the \SpecialChar LaTeX
29972 \begin_inset Index idx
29975 \begin_layout Plain Layout
29977 -packages ! caption
29982 in your document preamble with the option
29986 \begin_layout Plain Layout
29988 \begin_inset space ~
29992 \begin_inset CommandInset ref
29994 reference "sec:Caption-Formatting"
29998 for more information of the package
30010 \begin_layout Standard
30016 \begin_layout Standard
30022 \begin_inset Index idx
30025 \begin_layout Plain Layout
30027 -packages ! KOMA-Script
30034 article (KOMA-Script)
30042 letter (KOMA-Script)
30046 report (KOMA-Script)
30049 \begin_inset space \thinspace{}
30052 ), you can alternatively to the
30056 package set the document class option
30060 \begin_layout Plain Layout
30061 That option is used in this document.
30069 \begin_layout Standard
30072 captions=tableheading
30075 \begin_layout Standard
30076 In documents with a KOMA-Script document class you can also right-click
30077 on a caption and mark in the context menu if this should be a caption above
30078 or below the table/figure.
30079 This way you can override the document-wide caption placement for certain
30082 \begin_inset space ~
30086 \begin_inset CommandInset ref
30088 reference "tab:A-caption-marked"
30092 is an example where the caption is marked a being below the table while
30094 For comparison the caption in Table
30095 \begin_inset space ~
30099 \begin_inset CommandInset ref
30101 reference "tab:A-standard-table"
30108 \begin_layout Standard
30109 \begin_inset Float table
30116 \begin_layout Plain Layout
30117 \begin_inset Caption Below
30119 \begin_layout Plain Layout
30120 \begin_inset CommandInset label
30122 name "tab:A-caption-marked"
30126 A caption marked as being below the table.
30134 \begin_layout Plain Layout
30136 \begin_inset Tabular
30137 <lyxtabular version="3" rows="3" columns="3">
30138 <features tabularvalignment="middle">
30139 <column alignment="center" valignment="top" width="0pt">
30140 <column alignment="center" valignment="top" width="0pt">
30141 <column alignment="center" valignment="top" width="0pt">
30143 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30146 \begin_layout Plain Layout
30152 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30155 \begin_layout Plain Layout
30161 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30164 \begin_layout Plain Layout
30172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30175 \begin_layout Plain Layout
30181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30184 \begin_layout Plain Layout
30190 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30193 \begin_layout Plain Layout
30201 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30204 \begin_layout Plain Layout
30205 \begin_inset Formula $\int x^{2}dx$
30213 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30216 \begin_layout Plain Layout
30217 \begin_inset Formula $\left[\begin{array}{cc}
30220 \end{array}\right]$
30228 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30231 \begin_layout Plain Layout
30232 \begin_inset Formula $1+1=2$
30253 \begin_layout Standard
30254 \begin_inset Float table
30261 \begin_layout Plain Layout
30262 \begin_inset Caption Standard
30264 \begin_layout Plain Layout
30265 \begin_inset CommandInset label
30267 name "tab:A-standard-table"
30271 A standard table caption.
30279 \begin_layout Plain Layout
30281 \begin_inset Tabular
30282 <lyxtabular version="3" rows="3" columns="3">
30283 <features tabularvalignment="middle">
30284 <column alignment="center" valignment="top" width="0pt">
30285 <column alignment="center" valignment="top" width="0pt">
30286 <column alignment="center" valignment="top" width="0pt">
30288 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30291 \begin_layout Plain Layout
30297 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30300 \begin_layout Plain Layout
30306 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30309 \begin_layout Plain Layout
30317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30320 \begin_layout Plain Layout
30326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30329 \begin_layout Plain Layout
30335 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30338 \begin_layout Plain Layout
30346 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30349 \begin_layout Plain Layout
30350 \begin_inset Formula $\int x^{2}dx$
30358 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30361 \begin_layout Plain Layout
30362 \begin_inset Formula $\left[\begin{array}{cc}
30365 \end{array}\right]$
30373 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30376 \begin_layout Plain Layout
30377 \begin_inset Formula $1+1=2$
30398 \begin_layout Standard
30399 \begin_inset VSpace bigskip
30402 It is also possible to set the caption beside a figure or table.
30403 To get this the \SpecialChar LaTeX
30409 \begin_inset Index idx
30412 \begin_layout Plain Layout
30414 -packages ! sidecap
30419 has to be loaded in the document preamble with the line
30422 \begin_layout Standard
30427 usepackage[option]{sidecap}
30430 \begin_layout Standard
30431 If you set no option, the caption is placed on the side of the outer page
30432 margin – to the right on odd pages, to the left on even pages.
30433 You can change the placement to inner margin with the option
30438 To force the placement always to the right or left, use the option
30449 \begin_layout Standard
30453 \begin_layout Plain Layout
30463 \begin_inset Note Note
30466 \begin_layout Plain Layout
30467 The following section will only be displayed when the \SpecialChar LaTeX
30480 \begin_layout Standard
30481 To place in \SpecialChar LyX
30482 the caption of a float on the side, it is necessary to add
30483 these commands to the document preamble:
30486 \begin_layout Standard
30488 \begin_inset CommandInset line
30499 \begin_layout Standard
30506 TabBesBeg}[1][1.0]{%
30507 \begin_inset Newline newline
30511 \begin_inset Phantom HPhantom
30514 \begin_layout Plain Layout
30515 \begin_inset space ~
30530 \begin_inset Newline newline
30534 \begin_inset Phantom HPhantom
30537 \begin_layout Plain Layout
30540 \begin_inset space ~
30555 \begin_inset Newline newline
30559 \begin_inset Phantom HPhantom
30562 \begin_layout Plain Layout
30565 \begin_inset space ~
30575 renewenvironment{table}[1]{
30577 begin{SCtable}[#1]##1}{
30582 \begin_layout Standard
30590 \begin_inset Newline newline
30594 \begin_inset Phantom HPhantom
30597 \begin_layout Plain Layout
30598 \begin_inset space ~
30613 \begin_inset Newline newline
30617 \begin_inset Phantom HPhantom
30620 \begin_layout Plain Layout
30621 \begin_inset space ~
30638 \begin_layout Standard
30645 FigBesBeg}[1][1.0]{%
30646 \begin_inset Newline newline
30650 \begin_inset Phantom HPhantom
30653 \begin_layout Plain Layout
30654 \begin_inset space ~
30669 \begin_inset Newline newline
30673 \begin_inset Phantom HPhantom
30676 \begin_layout Plain Layout
30677 \begin_inset space ~
30692 \begin_inset Newline newline
30696 \begin_inset Phantom HPhantom
30699 \begin_layout Plain Layout
30700 \begin_inset space ~
30710 renewenvironment{figure}[1]{
30712 begin{SCfigure}[#1]##1}{
30717 \begin_layout Standard
30725 \begin_inset Newline newline
30729 \begin_inset Phantom HPhantom
30732 \begin_layout Plain Layout
30733 \begin_inset space ~
30748 \begin_inset Newline newline
30752 \begin_inset Phantom HPhantom
30755 \begin_layout Plain Layout
30756 \begin_inset space ~
30773 \begin_layout Standard
30775 \begin_inset CommandInset line
30786 \begin_layout Standard
30787 The commands allow you to redefine the floats so that the caption is set
30789 For figure floats use the command
30792 \begin_layout Standard
30800 \begin_layout Standard
30801 in \SpecialChar TeX
30802 Code before the float.
30803 And insert the command
30806 \begin_layout Standard
30814 \begin_layout Standard
30815 in \SpecialChar TeX
30816 Code at the point where you want to get back to the original float definitio
30820 \begin_layout Standard
30821 For table floats use the corresponding commands
30824 \begin_layout Standard
30838 \begin_layout Standard
30840 \begin_inset space ~
30844 \begin_inset CommandInset ref
30846 reference "fig:cap-beside-fig"
30851 \begin_inset space ~
30855 \begin_inset CommandInset ref
30857 reference "tab:cap-beside-tab"
30861 are examples where the caption is set beside.
30864 \begin_layout Standard
30865 You can see in the examples that the caption text appears at the top of
30866 the floats for table floats and at the bottom for figure floats.
30867 To change this, you can use the command
30870 \begin_layout Standard
30875 sidecaptionvpos{float type}{placement}
30878 \begin_layout Standard
30879 in the document preamble or in \SpecialChar TeX
30880 Code before the float.
30881 The float type is either
30889 , the placement can be
30890 \begin_inset Quotes eld
30898 \begin_inset Quotes erd
30902 \begin_inset Quotes eld
30910 \begin_inset Quotes erd
30914 \begin_inset Quotes eld
30922 \begin_inset Quotes erd
30926 To have for example the caption of figure floats vertically centered, use
30930 \begin_layout Standard
30935 sidecaptionvpos{figure}{c}
30938 \begin_layout Standard
30939 This was used for Figure
30940 \begin_inset space ~
30944 \begin_inset CommandInset ref
30946 reference "fig:cap-beside-fig-2"
30953 \begin_layout Standard
30954 \begin_inset VSpace medskip
30960 \begin_layout Standard
30961 The default caption width is the width of the image/table.
30962 For thin image/tables, like in Table
30963 \begin_inset space ~
30967 \begin_inset CommandInset ref
30969 reference "tab:cap-beside-tab"
30973 , this leads to captions that are too thin.
30974 You can increase the width by specifying a factor that will be multiplied
30975 with the image/table width to get the caption width.
30976 The caption width will automatically be recalculated in case it would protrude
30977 over the page or column margin due to the specified width.
30982 can either be given as optional argument for
30991 \begin_layout Standard
30999 \begin_layout Standard
31000 or in the definition of
31010 with another value.
31011 If you do the latter, your factor will be the default if
31017 is used without an argument.
31019 \begin_inset space ~
31023 \begin_inset CommandInset ref
31025 reference "tab:cap-beside-tab-wider"
31029 the factor 5 was used.
31032 \begin_layout Standard
31033 \begin_inset Note Greyedout
31036 \begin_layout Plain Layout
31041 For floats with captions set beside, you cannot use the float placement
31045 \begin_inset space ~
31050 because it is not supported by
31062 \begin_layout Standard
31063 \begin_inset VSpace medskip
31066 For more information about the package
31070 we refer to its documentation
31071 \begin_inset CommandInset citation
31081 \begin_layout Standard
31082 \begin_inset Note Greyedout
31085 \begin_layout Plain Layout
31090 The \SpecialChar LaTeX
31096 \begin_inset Index idx
31099 \begin_layout Plain Layout
31106 , described in section
31107 \begin_inset space ~
31111 \begin_inset CommandInset ref
31113 reference "subsec:Reference-Position"
31117 , has no effect on floats with the caption set beside.
31125 \begin_layout Standard
31129 \begin_layout Plain Layout
31141 \begin_layout Standard
31142 \begin_inset Float figure
31149 \begin_layout Plain Layout
31150 \begin_inset Graphics
31151 filename clipart/3D-structure-distort.pdf
31153 scaleBeforeRotation
31160 \begin_layout Plain Layout
31161 \begin_inset Caption Standard
31163 \begin_layout Plain Layout
31164 \begin_inset CommandInset label
31166 name "fig:cap-beside-fig"
31170 This is a caption beside a figure.
31183 \begin_layout Standard
31187 \begin_layout Plain Layout
31199 \begin_layout Standard
31203 \begin_layout Plain Layout
31215 \begin_layout Standard
31216 \begin_inset Float table
31223 \begin_layout Plain Layout
31224 \begin_inset Caption Standard
31226 \begin_layout Plain Layout
31227 \begin_inset CommandInset label
31229 name "tab:cap-beside-tab"
31233 This is a caption beside a table.
31241 \begin_layout Plain Layout
31242 \begin_inset Tabular
31243 <lyxtabular version="3" rows="4" columns="5">
31244 <features tabularvalignment="middle">
31245 <column alignment="center" valignment="top">
31246 <column alignment="center" valignment="top">
31247 <column alignment="center" valignment="top">
31248 <column alignment="center" valignment="top">
31249 <column alignment="center" valignment="top">
31251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31254 \begin_layout Plain Layout
31260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31263 \begin_layout Plain Layout
31269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31272 \begin_layout Plain Layout
31278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31281 \begin_layout Plain Layout
31287 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31290 \begin_layout Plain Layout
31298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31301 \begin_layout Plain Layout
31307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31310 \begin_layout Plain Layout
31316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31319 \begin_layout Plain Layout
31325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31328 \begin_layout Plain Layout
31334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31337 \begin_layout Plain Layout
31345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31348 \begin_layout Plain Layout
31354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31357 \begin_layout Plain Layout
31363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31366 \begin_layout Plain Layout
31372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31375 \begin_layout Plain Layout
31381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31384 \begin_layout Plain Layout
31392 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31395 \begin_layout Plain Layout
31401 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31404 \begin_layout Plain Layout
31410 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31413 \begin_layout Plain Layout
31419 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31422 \begin_layout Plain Layout
31428 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31431 \begin_layout Plain Layout
31450 \begin_layout Standard
31454 \begin_layout Plain Layout
31466 \begin_layout Standard
31470 \begin_layout Plain Layout
31483 \begin_layout Plain Layout
31487 sidecaptionvpos{figure}{c}
31493 \begin_inset Float figure
31500 \begin_layout Plain Layout
31501 \begin_inset Graphics
31502 filename clipart/3D-structure-distort.pdf
31504 scaleBeforeRotation
31511 \begin_layout Plain Layout
31512 \begin_inset Caption Standard
31514 \begin_layout Plain Layout
31515 \begin_inset CommandInset label
31517 name "fig:cap-beside-fig-2"
31521 This is a vertically centered caption beside a figure.
31534 \begin_layout Standard
31538 \begin_layout Plain Layout
31550 \begin_layout Standard
31554 \begin_layout Plain Layout
31566 \begin_layout Standard
31567 \begin_inset Float table
31574 \begin_layout Plain Layout
31575 \begin_inset Caption Standard
31577 \begin_layout Plain Layout
31578 \begin_inset CommandInset label
31580 name "tab:cap-beside-tab-wider"
31584 This caption is wider than the one in Table
31585 \begin_inset space ~
31589 \begin_inset CommandInset ref
31591 reference "tab:cap-beside-tab"
31603 \begin_layout Plain Layout
31604 \begin_inset Tabular
31605 <lyxtabular version="3" rows="4" columns="5">
31606 <features tabularvalignment="middle">
31607 <column alignment="center" valignment="top">
31608 <column alignment="center" valignment="top">
31609 <column alignment="center" valignment="top">
31610 <column alignment="center" valignment="top">
31611 <column alignment="center" valignment="top">
31613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31616 \begin_layout Plain Layout
31622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31625 \begin_layout Plain Layout
31631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31634 \begin_layout Plain Layout
31640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31643 \begin_layout Plain Layout
31649 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31652 \begin_layout Plain Layout
31660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31663 \begin_layout Plain Layout
31669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31672 \begin_layout Plain Layout
31678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31681 \begin_layout Plain Layout
31687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31690 \begin_layout Plain Layout
31696 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31699 \begin_layout Plain Layout
31707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31710 \begin_layout Plain Layout
31716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31719 \begin_layout Plain Layout
31725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31728 \begin_layout Plain Layout
31734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31737 \begin_layout Plain Layout
31743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31746 \begin_layout Plain Layout
31754 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31757 \begin_layout Plain Layout
31763 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31766 \begin_layout Plain Layout
31772 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31775 \begin_layout Plain Layout
31781 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31784 \begin_layout Plain Layout
31790 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31793 \begin_layout Plain Layout
31812 \begin_layout Standard
31816 \begin_layout Plain Layout
31828 \begin_layout Standard
31832 \begin_layout Plain Layout
31842 \begin_inset Note Note
31845 \begin_layout Plain Layout
31846 The following will be displayed when the \SpecialChar LaTeX
31859 \begin_layout Standard
31860 You need to install the \SpecialChar LaTeX
31865 to see the following part of this section in the output.
31868 \begin_layout Standard
31872 \begin_layout Plain Layout
31884 \begin_layout Section
31886 \begin_inset Index idx
31889 \begin_layout Plain Layout
31890 Floats ! Float Lists
31898 \begin_layout Standard
31899 Similar to the table of contents where the sections of the document are
31900 listed, there are listings for all float types, like the figures of the
31902 You can insert them via the
31904 Insert\SpecialChar menuseparator
31906 \begin_inset space ~
31910 \begin_inset space ~
31918 \begin_layout Standard
31919 The list entries are the float captions or its short title, the float number,
31920 and the page number where they appear in the document.
31923 \begin_layout Standard
31924 You can find the list of figures and tables at the end of this document.
31927 \begin_layout Chapter
31931 \begin_layout Section
31934 \begin_inset Index idx
31937 \begin_layout Plain Layout
31938 Notes ! \SpecialChar LyX
31947 \begin_layout Standard
31948 Notes are inserted with the toolbar button
31956 Insert\SpecialChar menuseparator
31960 There are three types of notes:
31963 \begin_layout Description
31966 \begin_inset space ~
31969 Note This note type is for internal notes that won't appear in the output.
31970 Its note-box looks like this:
31971 \begin_inset Newline newline
31975 \begin_inset Newline newline
31979 \begin_inset Graphics
31980 filename clipart/LyXNoteImage.png
31982 scaleBeforeRotation
31987 \begin_inset Note Note
31990 \begin_layout Plain Layout
31991 This is text in a note box that doesn't appear in the output.
31999 \begin_layout Description
32000 Comment This note also doesn't appear in the output but it appears as \SpecialChar LaTeX
32002 when you export the document to \SpecialChar LaTeX
32005 File\SpecialChar menuseparator
32006 Export\SpecialChar menuseparator
32008 \begin_inset space ~
32011 (pdflatex) / (plain)
32014 Its note-box looks like this:
32015 \begin_inset Newline newline
32019 \begin_inset Newline newline
32023 \begin_inset Graphics
32024 filename clipart/CommentNoteImage.png
32026 scaleBeforeRotation
32031 \begin_inset Note Comment
32034 \begin_layout Plain Layout
32035 This is text in a note box that only appears as comment in \SpecialChar LaTeX
32044 \begin_layout Description
32046 \begin_inset space ~
32049 Out This note will appear in the output as grey text.
32050 Its note-box looks like this:
32051 \begin_inset Newline newline
32055 \begin_inset Newline newline
32059 \begin_inset Graphics
32060 filename clipart/GreyedOutNoteImage.png
32062 scaleBeforeRotation
32067 \begin_inset Newline newline
32074 \begin_layout Plain Layout
32078 renewenvironment{lyxgreyedout}
32081 \begin_layout Plain Layout
32085 textcolor[gray]{0.8}
32095 \begin_inset Note Greyedout
32098 \begin_layout Plain Layout
32099 This is text of a comment that appears grey in the output.
32108 \begin_layout Plain Layout
32112 renewenvironment{lyxgreyedout}
32115 \begin_layout Plain Layout
32129 \begin_inset Note Note
32132 \begin_layout Plain Layout
32133 The greyed out note is here redefined to show it with the original \SpecialChar LyX
32135 because greyed out notes are redefined in the preamble of this document,
32136 as described below, to have blue text.
32142 \begin_inset Newline newline
32146 \begin_inset Newline newline
32149 As you can see in the example, the first line of greyed out notes is a bit
32150 indented and greyed out notes can have footnotes.
32153 \begin_layout Standard
32154 \begin_inset VSpace bigskip
32157 When you use the toolbar button
32167 \begin_inset space ~
32173 You can switch between the three note types by right-clicking on the note-box.
32178 If you want to turn existing text into a note, mark it and click on the
32192 To change a note to text, press the backspace key when the cursor is in
32193 the first position of a note, or press the delete key when the cursor is
32194 in the very last position of the note, respectively.
32197 \begin_layout Standard
32198 \begin_inset VSpace bigskip
32201 You can change the text color of the greyed out notes in the menu
32203 Document\SpecialChar menuseparator
32204 Settings\SpecialChar menuseparator
32210 \begin_layout Section
32212 \begin_inset CommandInset label
32214 name "sec:Footnotes"
32219 \begin_inset Index idx
32222 \begin_layout Plain Layout
32229 \begin_inset Index idx
32232 \begin_layout Plain Layout
32241 \begin_layout Standard
32242 Footnotes can be inserted using the toolbar button
32245 arg "footnote-insert"
32250 Insert\SpecialChar menuseparator
32254 You will then see the following footnote-box:
32255 \begin_inset Graphics
32256 filename clipart/footnote.png
32258 scaleBeforeRotation
32266 where you can enter the footnote text.
32267 If you want to turn existing text into a footnote, mark it and click on
32293 key when the cursor is in the first position of a
32305 key when the cursor is in the very last position of the
32316 \begin_layout Standard
32317 Here is an example footnote:
32325 \begin_layout Plain Layout
32326 \begin_inset CommandInset label
32328 name "foot:This-is-an"
32332 This is an example footnote.
32345 \begin_layout Plain Layout
32349 newcounter{MyRepeatFoot}
32352 \begin_layout Plain Layout
32356 setcounter{MyRepeatFoot}{
32366 \begin_layout Standard
32367 The footnote will appear in the output as a superscript number at the text
32368 position where the footnote box is placed.
32369 The footnote text is placed at the bottom of the current page.
32370 The footnote number is calculated by \SpecialChar LaTeX
32371 ; the numbers are consecutive.
32372 Whether the footnote number is reset for every chapter depends on your
32376 \begin_layout Standard
32377 Footnotes can be referenced like floats: Insert a label into the footnote
32378 and cross-reference this label in the text as described in section
32379 \begin_inset space ~
32383 \begin_inset CommandInset ref
32385 reference "sec:Referencing-Floats"
32390 \begin_inset Newline newline
32393 This is a cross-reference of Footnote
32394 \begin_inset space ~
32398 \begin_inset CommandInset ref
32400 reference "foot:This-is-an"
32407 \begin_layout Standard
32408 \begin_inset VSpace defskip
32411 Footnotes in title environments are usually not numbered with symbols and
32412 they cannot contain several paragraphs.
32413 See for example the footnote in the titling of this document.
32416 \begin_layout Standard
32417 Footnotes in multi-page tables are described in section
32418 \begin_inset space ~
32422 \begin_inset CommandInset ref
32424 reference "subsec:Footnotes-in-Multi-page"
32431 \begin_layout Standard
32432 \begin_inset VSpace defskip
32438 \begin_layout Standard
32439 Footnotes in minipage boxes are printed, but inside the box and with a different
32440 numbering because a minipage box is like a page inside a page.
32441 (For more about minipages, see section
32442 \begin_inset space ~
32446 \begin_inset CommandInset ref
32448 reference "sec:Minipages"
32452 .) To get a footnote in the minipage that is output at the bottom of the
32453 page like normal footnotes use this method: Instead of the footnote the
32460 is inserted as \SpecialChar TeX
32462 The text of the footnote is entered as an argument of the \SpecialChar TeX
32470 after the minipage.
32471 \begin_inset Newline newline
32474 This was done for the following minipage with the command
32477 \begin_layout Standard
32484 Footnote outside the minipage.
32489 \begin_layout Standard
32490 \begin_inset Box Frameless
32500 height_special "totalheight"
32505 backgroundcolor "none"
32508 \begin_layout Plain Layout
32509 This an example text in a minipage.
32513 \begin_layout Plain Layout
32514 Footnote in the minipage.
32522 \begin_layout Plain Layout
32523 This an example text in a minipage.
32527 \begin_layout Plain Layout
32544 \begin_layout Standard
32548 \begin_layout Plain Layout
32557 Footnote outside the minipage.
32561 \begin_layout Plain Layout
32571 \begin_layout Standard
32572 \begin_inset VSpace defskip
32578 \begin_layout Standard
32579 To refer to the same footnote several times without printing the footnote
32580 text every time, use the command
32584 footnotemark[number]
32586 in \SpecialChar TeX
32588 \begin_inset Newline newline
32591 As you do not know the number of the repeating footnote while you are writing
32592 the text, you have to store its number.
32593 For the following footnote mark example, these commands were inserted in
32595 code after Footnote
32596 \begin_inset space ~
32600 \begin_inset CommandInset ref
32602 reference "foot:This-is-an"
32606 to store the footnote number:
32609 \begin_layout Standard
32614 newcounter{MyRepeatFoot}
32615 \begin_inset Newline newline
32620 setcounter{MyRepeatFoot}{
32625 \begin_layout Standard
32626 The footnote mark was then created with this command:
32629 \begin_layout Standard
32639 \begin_layout Standard
32640 Here is a repeated footnote:
32648 \begin_layout Plain Layout
32662 \begin_layout Standard
32663 If you want to repeat the previous footnote, you can omit the storage of
32664 the footnote number and just use this command instead:
32667 \begin_layout Standard
32677 \begin_layout Standard
32678 Here is another repeated footnote:
32686 \begin_layout Plain Layout
32700 \begin_layout Subsection
32702 \begin_inset CommandInset label
32704 name "subsec:Footnote-Numbering"
32709 \begin_inset Index idx
32712 \begin_layout Plain Layout
32713 Footnotes ! Numbering
32721 \begin_layout Standard
32722 To reset the footnote number back to 1 after each section
32724 , add this command to your document preamble:
32727 \begin_layout Standard
32732 @addtoreset{footnote}{section}
32735 \begin_layout Standard
32736 \begin_inset VSpace bigskip
32739 The following preamble command changes the footnote numbering style to small
32743 \begin_layout Standard
32755 \begin_layout Standard
32759 \begin_layout Plain Layout
32772 This is a footnote with roman numbering:
32776 \begin_layout Plain Layout
32777 This is an example footnote with roman numbering.
32785 \begin_layout Standard
32786 To change the numbering style to capital roman numerals replace in the command
32801 \begin_inset Quotes eld
32805 \begin_inset Quotes erd
32808 footnotes with capital or small Latin letters use
32822 \begin_inset Quotes eld
32826 \begin_inset Quotes erd
32829 footnotes with symbols use
32838 \begin_layout Standard
32839 \begin_inset Note Greyedout
32842 \begin_layout Plain Layout
32847 You can only number 26 footnotes with Latin letters, because this numbering
32848 is limited to single letters.
32854 \begin_inset Newline newline
32858 \begin_inset Note Greyedout
32861 \begin_layout Plain Layout
32866 You can only number 9 footnotes with symbols.
32874 \begin_layout Standard
32875 To return to the default numbering style after you have changed to another
32888 in the command above.
32892 \begin_layout Plain Layout
32908 \begin_layout Standard
32909 \begin_inset VSpace bigskip
32915 \begin_layout Standard
32916 If you want to have footnotes numbered in the scheme
32917 \begin_inset Quotes eld
32921 \begin_inset Quotes erd
32924 , add the following command to your document preamble:
32927 \begin_layout Standard
32932 numberwithin{footnote}{chapter}
32935 \begin_layout Standard
32936 To be able to use the command
32945 \begin_inset space ~
32950 in the document settings the option
32953 \begin_inset space ~
32957 \begin_inset space ~
32961 \begin_inset space ~
32969 \begin_layout Standard
32973 \begin_layout Plain Layout
32977 numberwithin{footnote}{chapter}
32982 This is another example footnote:
32988 \begin_layout Plain Layout
32989 This is a footnote numbered in the scheme
32990 \begin_inset Quotes eld
32994 \begin_inset Quotes erd
33008 \begin_layout Plain Layout
33024 \begin_layout Standard
33025 \begin_inset Note Greyedout
33028 \begin_layout Plain Layout
33039 always prints out the footnote number as arabic number; previous redefinitions
33040 to get non-arabic numbers are overwritten.
33048 \begin_layout Standard
33049 So to get for example the scheme
33050 \begin_inset Quotes eld
33056 \begin_inset Quotes erd
33059 , use this command instead of
33068 \begin_layout Standard
33082 \begin_layout Subsection
33084 \begin_inset Index idx
33087 \begin_layout Plain Layout
33088 Footnotes ! Placement
33096 \begin_layout Standard
33097 If you have several footnotes in one page, they appear without vertical
33098 space between them at the bottom of the page.
33099 To make them more readable you can e.
33100 \begin_inset space \thinspace{}
33104 \begin_inset space \space{}
33108 \begin_inset space \thinspace{}
33111 mm space with the following preamble command:
33114 \begin_layout Standard
33124 \begin_inset Newline newline
33138 \begin_layout Standard
33139 \begin_inset VSpace bigskip
33142 In a two-column document the footnotes appear at the bottom of every column,
33144 \begin_inset space ~
33148 \begin_inset CommandInset ref
33150 reference "fig:Standard-footnote-placement"
33155 If the footnotes should only appear at the bottom of the right column,
33157 \begin_inset space ~
33161 \begin_inset CommandInset ref
33163 reference "fig:Footnote-placement-in"
33167 , use the \SpecialChar LaTeX
33173 \begin_inset Index idx
33176 \begin_layout Plain Layout
33178 -packages ! ftnright
33183 with this command in the document preamble:
33186 \begin_layout Standard
33191 usepackage{ftnright}
33194 \begin_layout Standard
33195 \begin_inset Float figure
33202 \begin_layout Plain Layout
33205 \begin_inset Box Boxed
33215 height_special "totalheight"
33220 backgroundcolor "none"
33223 \begin_layout Plain Layout
33224 \begin_inset Graphics
33225 filename clipart/without_fntright.pdf
33227 scaleBeforeRotation
33239 \begin_layout Plain Layout
33240 \begin_inset Caption Standard
33242 \begin_layout Plain Layout
33243 \begin_inset CommandInset label
33245 name "fig:Standard-footnote-placement"
33249 Standard footnote placement in two-column documents.
33262 \begin_layout Standard
33263 \begin_inset Float figure
33270 \begin_layout Plain Layout
33273 \begin_inset Box Boxed
33283 height_special "totalheight"
33288 backgroundcolor "none"
33291 \begin_layout Plain Layout
33292 \begin_inset Graphics
33293 filename clipart/with_fntright.pdf
33295 scaleBeforeRotation
33307 \begin_layout Plain Layout
33308 \begin_inset Caption Standard
33310 \begin_layout Plain Layout
33311 \begin_inset CommandInset label
33313 name "fig:Footnote-placement-in"
33317 Footnote placement in two-column documents when the \SpecialChar LaTeX
33335 \begin_layout Standard
33336 \begin_inset VSpace bigskip
33339 In some scientific literature it is usual to collect the footnotes and print
33340 them in a separate paragraph at the end of a section, as in Figure
33341 \begin_inset space ~
33345 \begin_inset CommandInset ref
33347 reference "fig:Endnotes"
33352 They are then called
33353 \begin_inset Quotes eld
33357 \begin_inset Quotes erd
33361 \begin_inset Index idx
33364 \begin_layout Plain Layout
33370 To use endnotes instead of footnotes in your document, load in the menu
33373 Document\SpecialChar menuseparator
33374 Settings\SpecialChar menuseparator
33380 \begin_inset space ~
33384 \begin_inset space ~
33390 To insert the collected footnotes, insert the command
33393 \begin_layout Standard
33401 \begin_layout Standard
33402 in \SpecialChar TeX
33403 Code at the end of a section or chapter.
33406 \begin_layout Standard
33407 \begin_inset Float figure
33414 \begin_layout Plain Layout
33417 \begin_inset Box Boxed
33427 height_special "totalheight"
33432 backgroundcolor "none"
33435 \begin_layout Plain Layout
33436 \begin_inset Graphics
33437 filename clipart/endnotes.pdf
33439 scaleBeforeRotation
33451 \begin_layout Plain Layout
33452 \begin_inset Caption Standard
33454 \begin_layout Plain Layout
33455 \begin_inset CommandInset label
33457 name "fig:Endnotes"
33461 Endnotes – footnotes are printed in a separate paragraph at the end of sections
33475 \begin_layout Standard
33476 \begin_inset VSpace medskip
33479 The paragraph heading for the endnotes isn't automatically translated into
33480 the document language, this must be done manually.
33481 The following preamble command translates the default English
33482 \begin_inset Quotes eld
33486 \begin_inset Quotes erd
33490 \begin_inset Quotes eld
33494 \begin_inset Quotes erd
33500 \begin_layout Standard
33507 notesname}{Anmerkungen}
33510 \begin_layout Standard
33511 \begin_inset VSpace medskip
33514 The numbering of endnotes can be changed like the footnote numbering as
33515 described in section
33516 \begin_inset space ~
33520 \begin_inset CommandInset ref
33522 reference "subsec:Footnote-Numbering"
33526 ; just replace the command
33539 To reset the endnote number use the command
33545 as described in section
33546 \begin_inset space ~
33550 \begin_inset CommandInset ref
33552 reference "subsec:Footnote-Numbering"
33556 and replace the command parameter
33567 \begin_layout Standard
33568 For endnotes there is the command
33572 endnotemark[number]
33574 similar to the command
33580 , that is described in section
33581 \begin_inset space ~
33585 \begin_inset CommandInset ref
33587 reference "sec:Footnotes"
33594 \begin_layout Standard
33595 \begin_inset VSpace bigskip
33598 Footnotes can also be placed in the page margin and the footnote text alignment
33599 can be changed, see the \SpecialChar LaTeX
33605 \begin_inset Index idx
33608 \begin_layout Plain Layout
33610 -packages ! footmisc
33616 \begin_inset CommandInset citation
33623 for more information about this.
33626 \begin_layout Standard
33627 For various further footnote formatting issues have a look at \SpecialChar LaTeX
33629 \begin_inset CommandInset citation
33631 key "latexcompanion,latexguide,latexbook"
33642 \begin_inset Index idx
33645 \begin_layout Plain Layout
33647 -packages ! KOMA-Script
33652 document class, you can adjust all footnote settings using class-specific
33654 \begin_inset CommandInset citation
33664 \begin_layout Section
33666 \begin_inset Index idx
33669 \begin_layout Plain Layout
33670 Notes ! Margin Notes
33678 \begin_layout Standard
33679 Margin notes look and behave in \SpecialChar LyX
33681 They are inserted via the menu
33683 Insert\SpecialChar menuseparator
33685 \begin_inset space ~
33690 or the toolbar button
33693 arg "marginalnote-insert"
33707 \begin_inset Quotes eld
33711 \begin_inset Quotes erd
33714 appears where you can enter the text of the margin note.
33717 \begin_layout Standard
33718 At the side is an example margin note.
33723 \begin_inset Marginal
33726 \begin_layout Plain Layout
33727 This is a margin note.
33735 \begin_layout Standard
33736 Margin notes appear at the right side in single-sided documents.
33737 In double-sided documents they appear in the outer margin – left on even
33738 pages, right on odd pages.
33739 The text of margin notes is aligned opposite to the outer margin – right-aligne
33740 d when the note appears in the left margin.
33741 The first line of the margin note is placed at the position of the text
33742 line where it is inserted in the document.
33745 \begin_layout Standard
33746 \begin_inset VSpace bigskip
33749 To place the margin note in the inner margin, add the command
33752 \begin_layout Standard
33760 \begin_layout Standard
33761 in \SpecialChar TeX
33762 Code before a margin note.
33763 The new placement is valid for all subsequent margin notes.
33768 \begin_layout Plain Layout
33778 \begin_inset Marginal
33781 \begin_layout Plain Layout
33782 This is a margin note in the inner margin.
33790 \begin_inset Newline newline
33796 \begin_inset Note Greyedout
33799 \begin_layout Plain Layout
33804 There is often not enough space in the inner margin so that the notes are
33805 not correctly displayed in the output.
33813 \begin_layout Standard
33814 To return to the default placement insert the command
33817 \begin_layout Standard
33825 \begin_layout Standard
33826 in \SpecialChar TeX
33831 \begin_layout Plain Layout
33841 \begin_inset Note Greyedout
33844 \begin_layout Plain Layout
33849 The command is ignored when it is within a paragraph where also the command
33864 \begin_layout Standard
33865 \begin_inset VSpace bigskip
33872 \begin_inset Marginal
33875 \begin_layout Plain Layout
33876 AVeryLongMarginParWord that isn't hyphenated.
33884 Similar to the case described in section
33885 \begin_inset space ~
33889 \begin_inset CommandInset ref
33891 reference "subsec:Multiple-Lines-in"
33895 , long words cannot be hyphenated when they are the first word in a margin
33897 To avoid this, insert 0
33898 \begin_inset space \thinspace{}
33901 pt horizontal space before the word
33906 \begin_inset Marginal
33909 \begin_layout Plain Layout
33910 \begin_inset space \hspace*{}
33914 AVeryLongMarginParWord that is hyphenated.
33922 \begin_layout Standard
33923 \begin_inset VSpace bigskip
33929 \begin_layout Standard
33930 \begin_inset Note Greyedout
33933 \begin_layout Plain Layout
33938 Margin notes can normally not be used inside tables, floats, and footnotes.
33946 \begin_layout Standard
33947 \begin_inset VSpace bigskip
33953 \begin_layout Standard
33957 \begin_layout Plain Layout
33967 \begin_inset Note Note
33970 \begin_layout Plain Layout
33971 The following section will only be displayed when the \SpecialChar LaTeX
33984 \begin_layout Standard
33985 This restriction can be evaded by using the \SpecialChar LaTeX
33991 \begin_inset Index idx
33994 \begin_layout Plain Layout
33996 -packages ! marginnote
34002 By adding these two lines to your document preamble, the command used by
34004 for margin notes is redefined to use the command provided by the
34011 \begin_layout Standard
34016 usepackage{marginnote}
34017 \begin_inset Newline newline
34029 \begin_layout Standard
34030 This is also used in this document because
34034 has another useful feature: You can set a vertical offset for the note.
34035 This is often needed when too many margin notes are too close together
34036 or for a better page layout.
34037 The offset is set in \SpecialChar LyX
34038 as \SpecialChar TeX
34039 Code directly after the margin note in the scheme
34042 \begin_layout Standard
34048 \begin_layout Standard
34049 where the offset is a length with one of the units listed in Table
34050 \begin_inset space ~
34054 \begin_inset CommandInset ref
34056 reference "tab:Units"
34061 A negative value shifts the note up, a positive value shifts it down.
34065 For example the margin note beside this text line is shifted up 1.5
34066 \begin_inset space \thinspace{}
34069 cm with the \SpecialChar TeX
34071 \begin_inset Quotes eld
34081 \begin_inset Quotes erd
34085 \begin_inset Marginal
34088 \begin_layout Plain Layout
34089 This margin note is shifted up 1.5
34090 \begin_inset space \thinspace{}
34093 cm from its original position.
34105 \begin_layout Plain Layout
34115 \begin_layout Standard
34116 \begin_inset VSpace medskip
34123 you can also change the alignment of the text in the margin note.
34124 For example the commands
34127 \begin_layout Standard
34134 raggedleftmarginnote}{
34137 \begin_inset Newline newline
34144 raggedrightmarginnote}{
34149 \begin_layout Standard
34150 set the alignment to centered.
34155 raggedleftmarginnote
34157 denotes margin notes that appear at the left side.
34164 \begin_layout Plain Layout
34170 raggedleftmarginnote}{
34175 \begin_layout Plain Layout
34181 raggedrightmarginnote}{
34189 \begin_inset Marginal
34192 \begin_layout Plain Layout
34193 The text of this margin note is centered.
34204 \begin_layout Standard
34211 raggedleftmarginnote}{
34214 \begin_inset Newline newline
34221 raggedrightmarginnote}{
34230 \begin_layout Plain Layout
34236 raggedleftmarginnote}{
34241 \begin_layout Plain Layout
34247 raggedrightmarginnote}{
34257 \begin_layout Standard
34258 \begin_inset VSpace medskip
34261 For the other features of
34265 refer to its documentation
34266 \begin_inset CommandInset citation
34276 \begin_layout Standard
34277 \begin_inset VSpace bigskip
34280 You can adjust the layout of margin notes by changing its definition.
34281 To create for example a header for all margin notes with the underlined,
34282 sans-serif, and bold header text
34283 \begin_inset Quotes eld
34295 \begin_inset Quotes erd
34298 , add this to your document preamble:
34301 \begin_layout Standard
34311 \begin_inset Newline newline
34321 \begin_inset Newline newline
34325 \begin_inset Phantom HPhantom
34328 \begin_layout Plain Layout
34331 \begin_inset space ~
34347 underbar{Attention!}}}%
34348 \begin_inset Newline newline
34352 \begin_inset Phantom HPhantom
34355 \begin_layout Plain Layout
34358 \begin_inset space ~
34375 \begin_layout Standard
34382 \begin_layout Plain Layout
34393 \begin_layout Plain Layout
34404 \begin_layout Plain Layout
34412 underbar{Attention!}}}%
34415 \begin_layout Plain Layout
34429 \begin_inset Marginal
34432 \begin_layout Plain Layout
34433 This is a margin note with a defined heading.
34445 \begin_layout Plain Layout
34459 \begin_layout Plain Layout
34476 \begin_inset Note Note
34479 \begin_layout Plain Layout
34480 The margin note format is changed only for this example.
34488 \begin_layout Standard
34492 \begin_layout Plain Layout
34502 \begin_inset Note Note
34505 \begin_layout Plain Layout
34506 The following will be displayed when the \SpecialChar LaTeX
34519 \begin_layout Standard
34520 You need to install the \SpecialChar LaTeX
34525 to see the following part of this section in the output.
34528 \begin_layout Standard
34532 \begin_layout Plain Layout
34544 \begin_layout Chapter
34548 \begin_layout Section
34550 \begin_inset Index idx
34553 \begin_layout Plain Layout
34554 Boxes ! Introduction
34562 \begin_layout Standard
34563 Boxes are used to format a block of text.
34564 Boxes can be used to write documents with multiple languages, see section
34565 \begin_inset space ~
34569 \begin_inset CommandInset ref
34571 reference "sec:Minipages"
34575 , to frame texts, see section
34576 \begin_inset space ~
34580 \begin_inset CommandInset ref
34582 reference "sec:Decoration"
34586 , to prevent words from being hyphenated, see section
34587 \begin_inset space ~
34591 \begin_inset CommandInset ref
34593 reference "sec:Prevent-Hyphenation"
34597 , to align text, see section
34598 \begin_inset space ~
34602 \begin_inset CommandInset ref
34604 reference "subsec:Vertical-Alignment"
34608 , or to set the background color of texts, see section
34609 \begin_inset space ~
34613 \begin_inset CommandInset ref
34615 reference "sec:Colored-Boxes"
34622 \begin_layout Standard
34623 Boxes can be inserted with the menu
34625 Insert\SpecialChar menuseparator
34628 or the toolbar button
34631 arg "box-insert Frameless"
34635 A grey box with the label
34640 \begin_inset Graphics
34641 filename clipart/BoxInsetDefault.png
34643 scaleBeforeRotation
34648 The box type can be specified by right-clicking on the box and selecting
34654 The box dialog offers the
34657 \begin_inset space ~
34679 is the default for new boxes and is explained in section
34680 \begin_inset space ~
34684 \begin_inset CommandInset ref
34686 reference "sec:Minipages"
34694 is described in section
34695 \begin_inset space ~
34699 \begin_inset CommandInset ref
34701 reference "sec:Parboxes"
34710 \begin_inset CommandInset ref
34712 reference "sec:Prevent-Hyphenation"
34719 \begin_layout Standard
34720 Boxes are not numbered and can therefore not be referenced like floats or
34724 \begin_layout Standard
34725 \begin_inset Note Greyedout
34728 \begin_layout Plain Layout
34733 Boxes must not be the item in an
34749 \begin_layout Standard
34750 \begin_inset Note Greyedout
34753 \begin_layout Plain Layout
34758 For an unknown reason you can only set the
34761 \begin_inset space ~
34770 when you use a framed box.
34774 \begin_inset space ~
34779 type and without frames are explained in section
34780 \begin_inset space ~
34784 \begin_inset CommandInset ref
34786 reference "sec:Prevent-Hyphenation"
34798 \begin_layout Section
34800 \begin_inset CommandInset label
34802 name "sec:Box-Dialog"
34807 \begin_inset Index idx
34810 \begin_layout Plain Layout
34819 \begin_layout Subsection
34821 \begin_inset Index idx
34824 \begin_layout Plain Layout
34833 \begin_layout Standard
34834 In the box dialog you can adjust the box geometry in the fields
34843 The available units for the geometry are explained in Table
34844 \begin_inset space ~
34848 \begin_inset CommandInset ref
34850 reference "tab:Units"
34859 offers the following additional sizes:
34862 \begin_layout Description
34863 Depth This is the plain text
34864 \begin_inset Quotes eld
34868 \begin_inset Quotes erd
34872 It ignores the total depth when there are multiple text lines in the box:
34873 \begin_inset Newline newline
34877 \begin_inset Newline newline
34881 \begin_inset Newline newline
34885 \begin_inset Box Boxed
34895 height_special "depth"
34900 backgroundcolor "none"
34903 \begin_layout Plain Layout
34905 Box height set to 1
34906 \begin_inset space \thinspace{}
34915 \begin_inset Newline newline
34919 \begin_inset Newline newline
34925 \begin_layout Description
34926 Height This is the height of the text that is inside the box.
34928 \begin_inset space \thinspace{}
34932 \begin_inset space \space{}
34935 2 for this size will set the box height to 2
34936 \begin_inset space ~
34939 times the text height:
34940 \begin_inset Box Boxed
34950 height_special "height"
34955 backgroundcolor "none"
34958 \begin_layout Plain Layout
34960 Box height set to 2
34961 \begin_inset space \thinspace{}
34972 \begin_layout Description
34974 \begin_inset space ~
34977 Height This is the Height
34978 \begin_inset space \thinspace{}
34982 \begin_inset space \thinspace{}
34986 \begin_inset Box Boxed
34996 height_special "totalheight"
35001 backgroundcolor "none"
35004 \begin_layout Plain Layout
35006 Box height set to 1
35007 \begin_inset space \thinspace{}
35011 \begin_inset space ~
35022 \begin_layout Description
35023 Width This sets the width of the box as height:
35024 \begin_inset Box Boxed
35034 height_special "width"
35039 backgroundcolor "none"
35042 \begin_layout Plain Layout
35044 Box height set to 1
35045 \begin_inset space \thinspace{}
35056 \begin_layout Subsection
35058 \begin_inset Index idx
35061 \begin_layout Plain Layout
35070 \begin_layout Standard
35071 When you have chosen an
35074 \begin_inset space ~
35079 , the vertical box alignment can be:
35082 \begin_layout Description
35083 Top This is an example text line.
35085 \begin_inset Box Boxed
35095 height_special "totalheight"
35100 backgroundcolor "none"
35103 \begin_layout Plain Layout
35105 This box is top-aligned.
35110 This is an example text line.
35113 \begin_layout Description
35114 Middle This is an example text line.
35116 \begin_inset Box Boxed
35126 height_special "totalheight"
35131 backgroundcolor "none"
35134 \begin_layout Plain Layout
35136 This box is middle-aligned.
35141 This is an example text line.
35144 \begin_layout Description
35145 Bottom This is an example text line.
35147 \begin_inset Box Boxed
35157 height_special "totalheight"
35162 backgroundcolor "none"
35165 \begin_layout Plain Layout
35167 This box is bottom-aligned.
35172 This is an example text line.
35175 \begin_layout Standard
35176 \begin_inset Note Greyedout
35179 \begin_layout Plain Layout
35184 The vertical box alignment can be lost in the output when you have two
35185 boxes in a line and one has e.
35186 \begin_inset space \thinspace{}
35190 \begin_inset space \space{}
35193 a shadow and the other one not.
35201 \begin_layout Standard
35202 The horizontal box alignment can be set via \SpecialChar LyX
35203 's paragraph dialog when you
35204 set the box into its own paragraph.
35207 \begin_layout Standard
35208 \begin_inset VSpace bigskip
35211 When you have chosen an
35214 \begin_inset space ~
35219 , the box content can be aligned vertically to:
35222 \begin_layout Description
35223 top This is an example text line.
35225 \begin_inset Box Boxed
35235 height_special "totalheight"
35240 backgroundcolor "none"
35243 \begin_layout Plain Layout
35245 This box text is top-aligned.
35250 This is an example text line.
35253 \begin_layout Description
35254 middle This is an example text line.
35256 \begin_inset Box Boxed
35266 height_special "totalheight"
35271 backgroundcolor "none"
35274 \begin_layout Plain Layout
35276 This box text is middle-aligned.
35281 This is an example text line.
35284 \begin_layout Description
35285 bottom This is an example text line.
35287 \begin_inset Box Boxed
35297 height_special "totalheight"
35302 backgroundcolor "none"
35305 \begin_layout Plain Layout
35307 This box text is bottom-aligned.
35312 This is an example text line.
35315 \begin_layout Description
35316 stretch This is an example text line.
35318 \begin_inset Box Boxed
35328 height_special "totalheight"
35333 backgroundcolor "none"
35336 \begin_layout Plain Layout
35341 \begin_layout Plain Layout
35346 \begin_layout Plain Layout
35353 This is an example text line.
35356 \begin_layout Standard
35357 To stretch the box content, it must consist of more than one paragraph.
35358 In the example above every text line is in an own paragraph.
35361 \begin_layout Standard
35362 \begin_inset VSpace bigskip
35365 To align the box content horizontally you can use \SpecialChar LyX
35366 's paragraph dialog when
35370 \begin_inset space ~
35378 \begin_layout Standard
35380 \begin_inset Box Boxed
35390 height_special "totalheight"
35395 backgroundcolor "none"
35398 \begin_layout Plain Layout
35403 \begin_layout Plain Layout
35408 \begin_layout Plain Layout
35418 \begin_layout Standard
35419 If you have not set an
35422 \begin_inset space ~
35427 , you can align the box content horizontally in the box dialog.
35430 \begin_layout Standard
35432 \begin_inset Box Boxed
35442 height_special "totalheight"
35447 backgroundcolor "none"
35450 \begin_layout Plain Layout
35451 This box text is horizontally stretched.
35459 \begin_layout Subsection
35461 \begin_inset CommandInset label
35463 name "sec:Decoration"
35468 \begin_inset Index idx
35471 \begin_layout Plain Layout
35480 \begin_layout Standard
35481 The type of the box can be specified in the box dialog in the drop-down
35487 The following types are possible:
35490 \begin_layout Description
35492 \begin_inset space ~
35495 frame Nothing is drawn.
35498 \begin_layout Description
35500 \begin_inset space ~
35504 \begin_inset space ~
35507 frame This draws a rectangular frame around the box.
35508 The frame line thickness can be specified.
35510 \begin_inset Box Boxed
35520 height_special "totalheight"
35525 backgroundcolor "none"
35528 \begin_layout Plain Layout
35538 \begin_layout Description
35540 \begin_inset space ~
35544 \begin_inset space ~
35547 thin This draws an oval frame around the box.
35548 The frame line thickness has the size 0.4
35549 \begin_inset space \thinspace{}
35554 \begin_inset Box ovalbox
35564 height_special "totalheight"
35569 backgroundcolor "none"
35572 \begin_layout Plain Layout
35582 \begin_layout Description
35584 \begin_inset space ~
35588 \begin_inset space ~
35591 thick This draws an oval frame around the box.
35592 The frame line thickness has the size 0.8
35593 \begin_inset space \thinspace{}
35598 \begin_inset Box Ovalbox
35608 height_special "totalheight"
35613 backgroundcolor "none"
35616 \begin_layout Plain Layout
35626 \begin_layout Description
35628 \begin_inset space ~
35631 shadow This draws a rectangular frame with a shadow around the box.
35632 The frame line thickness and the shadow can be specified.
35634 \begin_inset Box Shadowbox
35644 height_special "totalheight"
35649 backgroundcolor "none"
35652 \begin_layout Plain Layout
35662 \begin_layout Description
35664 \begin_inset space ~
35667 background This draws a box with a red background.
35668 Unlike colored boxes
35672 \begin_layout Plain Layout
35674 \begin_inset space \thinspace{}
35678 \begin_inset CommandInset ref
35680 reference "sec:Colored-Boxes"
35689 , it always uses the whole column width and the box is set as its own paragraph.
35691 \begin_inset Box Shaded
35701 height_special "totalheight"
35706 backgroundcolor "none"
35709 \begin_layout Plain Layout
35710 Shaded background box
35718 \begin_layout Description
35720 \begin_inset space ~
35724 \begin_inset space ~
35727 frame This draws a double-line rectangular frame around the box.
35728 The line thickness of the inner frame is 0.75
35729 \begin_inset space \thinspace{}
35733 \begin_inset space ~
35736 thickness, the thickness of the outer frame is 1.5
35737 \begin_inset space \thinspace{}
35741 \begin_inset space ~
35745 The distance between the lines is 1.5
35746 \begin_inset space \thinspace{}
35750 \begin_inset space ~
35754 \begin_inset space \thinspace{}
35758 \begin_inset space \thinspace{}
35762 \begin_inset space \thinspace{}
35767 \begin_inset Box Doublebox
35777 height_special "totalheight"
35782 backgroundcolor "none"
35785 \begin_layout Plain Layout
35787 Double rectangular box
35795 \begin_layout Standard
35796 \begin_inset VSpace bigskip
35800 's box label will reflect the different frame types.
35801 To be able to use all types, the \SpecialChar LaTeX
35807 \begin_inset Index idx
35810 \begin_layout Plain Layout
35812 -packages ! fancybox
35820 \begin_layout Standard
35821 \begin_inset VSpace bigskip
35824 When you use the decoration
35826 simple rectangular frame
35828 and no inner box, you can allow page breaks within a box.
35829 Note that then, unlike other framed boxes, the frame always uses the whole
35830 column width and the box is set as its own paragraph:
35831 \begin_inset Box Framed
35841 height_special "totalheight"
35846 backgroundcolor "none"
35849 \begin_layout Plain Layout
35850 Allow page break box
35858 \begin_layout Section
35860 \begin_inset Index idx
35863 \begin_layout Plain Layout
35864 Boxes ! Customization
35872 \begin_layout Standard
35873 The diameter of the round corners of the oval boxes can be set with the
35884 \begin_layout Standard
35892 \begin_layout Standard
35893 sets the diameter to 1
35894 \begin_inset space \thinspace{}
35901 \begin_layout Standard
35909 \begin_layout Standard
35910 sets the diameter to
35913 \begin_inset space \thinspace{}
35917 \begin_inset space \thinspace{}
35920 minimum(width and height of box)
35932 \begin_layout Standard
35936 \begin_layout Plain Layout
35946 \begin_inset Box Ovalbox
35956 height_special "totalheight"
35961 backgroundcolor "none"
35964 \begin_layout Plain Layout
35973 \begin_inset space \thinspace{}
35977 \begin_inset space \thinspace{}
35981 \begin_inset space \thinspace{}
35993 \begin_layout Plain Layout
36005 \begin_layout Standard
36006 \begin_inset VSpace bigskip
36012 \begin_layout Standard
36013 The default background color red of
36017 boxes can either be changed locally with the command
36021 definecolor{shadecolor}
36023 or globally with the menu
36025 Tools\SpecialChar menuseparator
36026 Preferences\SpecialChar menuseparator
36027 Colors\SpecialChar menuseparator
36029 \begin_inset space ~
36041 command is explained in section
36042 \begin_inset space ~
36046 \begin_inset CommandInset ref
36048 reference "sec:Colored-Tables"
36056 \begin_layout Plain Layout
36063 requires the \SpecialChar LaTeX
36068 in the preamble, see section
36069 \begin_inset space ~
36073 \begin_inset CommandInset ref
36075 reference "sec:Colored-Boxes"
36084 For example the appearance of the following shaded background box is set
36085 with the \SpecialChar TeX
36089 \begin_layout Standard
36094 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
36097 \begin_layout Standard
36101 \begin_layout Plain Layout
36105 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
36111 \begin_inset Box Shaded
36121 height_special "totalheight"
36126 backgroundcolor "none"
36129 \begin_layout Plain Layout
36132 This is yellow text in a
36142 box with dark green background.
36151 \begin_layout Plain Layout
36155 definecolor{shadecolor}{rgb}{1,0,0}
36163 \begin_layout Standard
36164 \begin_inset VSpace bigskip
36167 Manually changed sizes and colors are valid for all boxes following the
36168 commands that change them.
36171 \begin_layout Section
36173 \begin_inset CommandInset label
36175 name "sec:Minipages"
36180 \begin_inset Index idx
36183 \begin_layout Plain Layout
36192 \begin_layout Standard
36193 Minipages are treated by \SpecialChar LaTeX
36194 as pages within pages and can therefore for example
36195 have their own footnotes.
36198 \begin_layout Standard
36199 Minipages are useful when you write documents with different languages.
36202 \begin_layout Standard
36203 Below are two example minipages side by side.
36204 Their width is set to 45
36205 \begin_inset space \thinspace{}
36208 col% and they are separated by a horizontal fill, that was inserted via
36211 Insert\SpecialChar menuseparator
36213 \begin_inset space ~
36216 Formatting\SpecialChar menuseparator
36218 \begin_inset space ~
36224 \begin_inset Newpage newpage
36230 \begin_layout Standard
36231 \begin_inset Box Frameless
36241 height_special "totalheight"
36246 backgroundcolor "none"
36249 \begin_layout Plain Layout
36252 Dies ist ein deutscher Text.
36253 Dies ist ein deutscher Text.
36254 Dies ist ein deutscher Text.
36255 Dies ist ein deutscher Text.
36256 Dies ist ein deutscher Text.
36257 Dies ist ein deutscher Text.
36258 Dies ist ein deutscher Text.
36259 Dies ist ein deutscher Text.
36260 Dies ist ein deutscher Text.
36261 Dies ist ein deutscher Text.
36262 Dies ist ein deutscher Text.
36263 Dies ist ein deutscher Text.
36264 Dies ist ein deutscher Text
36268 \begin_layout Plain Layout
36271 Dies ist eine deutsche Fußnote.
36277 Dies ist ein deutscher Text.
36278 Dies ist ein deutscher Text.
36284 \begin_inset space \hfill{}
36288 \begin_inset Box Frameless
36298 height_special "totalheight"
36303 backgroundcolor "none"
36306 \begin_layout Plain Layout
36307 This is an English Text.
36308 This is an English Text.
36309 This is an English Text.
36310 This is an English Text.
36311 This is an English Text.
36312 This is an English Text.
36313 This is an English Text.
36314 This is an English Text.
36315 This is an English Text.
36316 This is an English Text.
36317 This is an English Text.
36318 This is an English Text.
36319 This is an English Text.
36320 This is an English Text.
36321 This is an English Text.
36322 This is an English Text.
36326 \begin_layout Plain Layout
36327 This is an English footnote.
36332 This is an English Text.
36340 \begin_layout Standard
36341 \begin_inset VSpace bigskip
36344 The document-wide paragraph settings are ignored within minipages.
36345 That means that there will be no space between paragraphs in minipages
36346 although you set it to e.
36347 \begin_inset space \thinspace{}
36351 \begin_inset space \space{}
36358 in the document settings.
36361 \begin_layout Standard
36362 Minipages can also be used to set a background color for text parts, see
36364 \begin_inset space ~
36368 \begin_inset CommandInset ref
36370 reference "sec:Colored-Boxes"
36377 \begin_layout Standard
36378 \begin_inset Note Greyedout
36381 \begin_layout Plain Layout
36386 You cannot have floats or margin notes inside minipages but minipages can
36387 be used inside tables, floats, and other boxes.
36395 \begin_layout Standard
36396 \begin_inset VSpace bigskip
36402 \begin_layout Standard
36404 has also basic support for minipages whose size is automatically determined
36405 by the width of their contents, via the module
36407 Variable-width Minipages
36410 The \SpecialChar LyX
36413 varwidth-floats-side-by-side
36415 gives examples of variable-width minipages used for placing two floats
36419 \begin_layout Section
36421 \begin_inset CommandInset label
36423 name "sec:Parboxes"
36428 \begin_inset Index idx
36431 \begin_layout Plain Layout
36440 \begin_layout Standard
36441 Parboxes are very similar to minipages with the difference that they cannot
36445 \begin_layout Standard
36447 \begin_inset Box Frameless
36457 height_special "totalheight"
36462 backgroundcolor "none"
36465 \begin_layout Plain Layout
36466 This a text within a parbox.
36467 This a text within a parbox.
36470 \begin_layout Plain Layout
36471 This footnote won't appear:
36475 \begin_layout Plain Layout
36476 This footnote is inside a parbox and will therefore not appear.
36489 \begin_layout Section
36490 Boxes for Words and Characters
36491 \begin_inset Index idx
36494 \begin_layout Plain Layout
36495 Boxes ! for Characters
36503 \begin_layout Subsection
36504 Prevent Hyphenation
36505 \begin_inset CommandInset label
36507 name "sec:Prevent-Hyphenation"
36512 \begin_inset Index idx
36515 \begin_layout Plain Layout
36516 Boxes ! to Prevent Hyphenation
36524 \begin_layout Standard
36525 You can use the box type
36529 to prevent words or text from being hyphenated.
36530 \begin_inset Newline newline
36533 Here is an example text:
36536 \begin_layout Standard
36537 This line is an example to show how you can prevent the hyphenation of
36538 \begin_inset Quotes eld
36542 \begin_inset Quotes erd
36548 \begin_layout Standard
36549 To prevent the hyphenation of the word
36550 \begin_inset Quotes eld
36554 \begin_inset Quotes erd
36557 , put the word into a box, set the
36560 \begin_inset space ~
36569 and use no explicit width.
36572 \begin_layout Standard
36573 This is the result:
36576 \begin_layout Standard
36577 This line is an example to show how you can prevent the hyphenation of
36578 \begin_inset Box Frameless
36588 height_special "totalheight"
36593 backgroundcolor "none"
36596 \begin_layout Plain Layout
36597 \begin_inset Quotes eld
36601 \begin_inset Quotes erd
36612 \begin_layout Standard
36613 You can alternatively set the command
36614 \begin_inset Quotes eld
36624 \begin_inset Quotes grd
36627 as \SpecialChar TeX
36628 Code directly before the word:
36631 \begin_layout Standard
36632 This line is an example to show how you can prevent the hyphenation of
36633 \begin_inset Quotes eld
36640 \begin_layout Plain Layout
36650 \begin_inset Quotes erd
36656 \begin_layout Standard
36657 Of course the word now protrudes over the side margin.
36658 To avoid this, add via the menu
36660 Insert\SpecialChar menuseparator
36661 Formatting\SpecialChar menuseparator
36663 \begin_inset space ~
36667 \begin_inset space ~
36675 arg "newline-insert newline"
36678 ) a line break before the word:
36681 \begin_layout Standard
36682 This line is an example to show how you can prevent the hyphenation of
36683 \begin_inset Newline newline
36687 \begin_inset Box Frameless
36697 height_special "totalheight"
36702 backgroundcolor "none"
36705 \begin_layout Plain Layout
36706 \begin_inset Quotes eld
36710 \begin_inset Quotes erd
36721 \begin_layout Subsection
36723 \begin_inset CommandInset label
36725 name "subsec:Vertical-Alignment"
36730 \begin_inset Index idx
36733 \begin_layout Plain Layout
36734 Boxes ! for Vertical Alignment
36740 \begin_inset Index idx
36743 \begin_layout Plain Layout
36752 \begin_layout Standard
36753 With the help of the command
36759 you can align words, characters or other boxes vertically relative to the
36767 is used with the following scheme:
36770 \begin_layout Standard
36775 raisebox{lift}[height][depth]{box content}
36778 \begin_layout Standard
36779 The lift can be a positive value to raise the box or a negative value to
36783 \begin_layout Standard
36784 To align for example the word
36785 \begin_inset Quotes eld
36789 \begin_inset Quotes erd
36792 so that the bottom of the
36793 \begin_inset Quotes eld
36797 \begin_inset Quotes erd
36801 \begin_inset Quotes eld
36805 \begin_inset Quotes erd
36808 is at the baseline, insert the command
36811 \begin_layout Standard
36821 \begin_layout Standard
36822 in \SpecialChar TeX
36823 Code before the word.
36824 After the word insert a closing brace
36825 \begin_inset Quotes eld
36833 \begin_inset Quotes erd
36836 in \SpecialChar TeX
36838 \begin_inset Newline newline
36841 This is the result:
36844 \begin_layout Standard
36845 This is a text line with the word
36849 \begin_layout Plain Layout
36861 \begin_inset Quotes eld
36865 \begin_inset Quotes erd
36872 \begin_layout Plain Layout
36882 \begin_layout Standard
36883 \begin_inset VSpace bigskip
36886 When you raise or lower characters in a line, the line distance will be
36890 \begin_layout Standard
36891 This is a text line with the word
36895 \begin_layout Plain Layout
36907 \begin_inset Quotes eld
36911 \begin_inset Quotes erd
36918 \begin_layout Plain Layout
36926 \begin_inset Newline newline
36929 This is a text line with the word
36933 \begin_layout Plain Layout
36943 \begin_inset Quotes eld
36947 \begin_inset Quotes erd
36954 \begin_layout Plain Layout
36964 \begin_layout Standard
36965 If you want to prevent this for a certain reason, set the box height to
36970 \begin_layout Standard
36980 \begin_layout Standard
36981 This is a text line with the word
36985 \begin_layout Plain Layout
36997 \begin_inset Quotes eld
37001 \begin_inset Quotes erd
37008 \begin_layout Plain Layout
37016 \begin_inset Newline newline
37020 \begin_inset Newline newline
37023 This is a text line with the word
37027 \begin_layout Plain Layout
37031 raisebox{0.5cm}[0pt]{
37037 \begin_inset Quotes eld
37041 \begin_inset Quotes erd
37048 \begin_layout Plain Layout
37058 \begin_layout Section
37060 \begin_inset CommandInset label
37062 name "sec:Colored-Boxes"
37067 \begin_inset Index idx
37070 \begin_layout Plain Layout
37079 \begin_layout Standard
37080 To color the background of a box just select the color you like in the box
37082 This is for example a box with orange background:
37083 \begin_inset Box Frameless
37093 height_special "totalheight"
37098 backgroundcolor "orange"
37101 \begin_layout Plain Layout
37102 Box with orange background
37110 \begin_layout Standard
37111 If you use the decoration
37114 \begin_inset space ~
37118 \begin_inset space ~
37123 you can set a frame color.
37124 In this case you must also specify a background color (LyX sets white as
37126 Here is an example:
37127 \begin_inset Box Boxed
37137 height_special "totalheight"
37142 backgroundcolor "yellow"
37145 \begin_layout Plain Layout
37146 Box with teal frame color and yellow background color
37154 \begin_layout Standard
37155 \begin_inset VSpace bigskip
37158 Of course you can also have colored text inside a colored box:
37159 \begin_inset Newline newline
37163 \begin_inset Box Boxed
37173 height_special "totalheight"
37178 backgroundcolor "magenta"
37181 \begin_layout Plain Layout
37184 This is colored text within a colored, framed box
37192 \begin_layout Standard
37193 \begin_inset VSpace bigskip
37199 \begin_layout Standard
37200 If you need another color than the predefined ones, you can define your
37201 own color as described in section
37202 \begin_inset space ~
37206 \begin_inset CommandInset ref
37208 reference "sec:Colored-Tables"
37213 To use your own color you must typeset the box by using TeX code:
37216 \begin_layout Standard
37217 Colored boxes without frame are created with the command
37224 It has the following scheme:
37227 \begin_layout Standard
37232 colorbox{color}{box content}
37235 \begin_layout Standard
37236 The box content can also be a box and colored boxes can also be within other
37239 \begin_inset space \thinspace{}
37243 \begin_inset space \space{}
37246 a darkgreen background for a word, insert the command
37249 \begin_layout Standard
37254 colorbox{darkgreen}{
37257 \begin_layout Standard
37258 before the word in \SpecialChar TeX
37260 After the word insert a closing brace
37261 \begin_inset Quotes eld
37269 \begin_inset Quotes erd
37272 in \SpecialChar TeX
37274 \begin_inset Newline newline
37277 This is the result:
37280 \begin_layout Standard
37281 This is a line where the word
37285 \begin_layout Plain Layout
37289 colorbox{darkgreen}{
37295 \begin_inset Quotes eld
37299 \begin_inset Quotes erd
37306 \begin_layout Plain Layout
37313 has a darkgreen background.
37316 \begin_layout Standard
37317 Framed, colored boxes are created with the command
37324 It has the following scheme:
37327 \begin_layout Standard
37332 fcolorbox{frame color}{box color}{box content}
37335 \begin_layout Section
37336 Rotated and Scaled Boxes
37339 \begin_layout Standard
37340 To use the boxes described in this section, the module
37344 must be loaded in the document settings.
37347 \begin_layout Standard
37348 \begin_inset Note Greyedout
37351 \begin_layout Plain Layout
37356 Not all DVI viewers are able to display rotated or scaled material.
37364 \begin_layout Standard
37365 \begin_inset Note Greyedout
37368 \begin_layout Plain Layout
37373 Floats are not allowed inside a rotated or scaled box.
37381 \begin_layout Subsection
37383 \begin_inset Index idx
37386 \begin_layout Plain Layout
37393 \begin_inset Index idx
37396 \begin_layout Plain Layout
37405 \begin_layout Standard
37406 To rotate material, you can put it into a
37411 Such a box is inserted via the menu
37413 Insert\SpecialChar menuseparator
37414 Custom Insets\SpecialChar menuseparator
37420 \begin_layout Standard
37421 The rotation origin can be specified via the inset
37427 Insert\SpecialChar menuseparator
37435 The following positions are possible:
37455 (top), along with meaningful combinations of the four base positions.
37460 means that the rotation origin is at the top left corner of the box.
37461 When no rotation origin is specified, the position
37466 The rotation angle is a number that can be negative that specifies the
37468 The rotation direction is counterclockwise.
37471 \begin_layout Standard
37472 In the following example
37476 was inserted to the
37484 was inserted to the
37491 \begin_layout Standard
37493 \begin_inset Flex Rotatebox
37496 \begin_layout Plain Layout
37497 \begin_inset Argument 1
37500 \begin_layout Plain Layout
37507 \begin_inset Argument 2
37510 \begin_layout Plain Layout
37524 \begin_layout Standard
37525 The box content can also be another box or an inline formula:
37528 \begin_layout Standard
37530 \begin_inset Flex Rotatebox
37533 \begin_layout Plain Layout
37534 \begin_inset Argument 1
37537 \begin_layout Plain Layout
37544 \begin_inset Argument 2
37547 \begin_layout Plain Layout
37554 \begin_inset Box Doublebox
37564 height_special "totalheight"
37569 backgroundcolor "none"
37572 \begin_layout Plain Layout
37584 \begin_inset Flex Rotatebox
37587 \begin_layout Plain Layout
37588 \begin_inset Argument 1
37591 \begin_layout Plain Layout
37598 \begin_inset Argument 2
37601 \begin_layout Plain Layout
37608 \begin_inset Formula $\int A\,\mathrm{d}x=B$
37619 \begin_layout Standard
37620 or an image or table:
37623 \begin_layout Standard
37625 \begin_inset Flex Rotatebox
37628 \begin_layout Plain Layout
37629 \begin_inset Argument 1
37632 \begin_layout Plain Layout
37639 \begin_inset Argument 2
37642 \begin_layout Plain Layout
37649 \begin_inset Graphics
37650 filename clipart/Star-structure.pdf
37661 with a rotated image
37662 \begin_inset Flex Rotatebox
37665 \begin_layout Plain Layout
37666 \begin_inset Argument 2
37669 \begin_layout Plain Layout
37676 \begin_inset Tabular
37677 <lyxtabular version="3" rows="2" columns="2">
37678 <features tabularvalignment="middle">
37679 <column alignment="center" valignment="top">
37680 <column alignment="center" valignment="top">
37682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37685 \begin_layout Plain Layout
37691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37694 \begin_layout Plain Layout
37702 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37705 \begin_layout Plain Layout
37711 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
37714 \begin_layout Plain Layout
37731 \begin_inset Index idx
37734 \begin_layout Plain Layout
37741 \begin_inset Index idx
37744 \begin_layout Plain Layout
37745 Table Customization ! Rotating
37753 \begin_layout Standard
37754 \begin_inset Note Greyedout
37757 \begin_layout Plain Layout
37766 inset is empty or contains other characters than numbers you will get \SpecialChar LaTeX
37768 errors when viewing/exporting the document.
37776 \begin_layout Subsection
37778 \begin_inset Index idx
37781 \begin_layout Plain Layout
37788 \begin_inset Index idx
37791 \begin_layout Plain Layout
37800 \begin_layout Standard
37801 To scale material put it into a
37806 Such a box is inserted via the menu
37808 Insert\SpecialChar menuseparator
37809 Custom Insets\SpecialChar menuseparator
37815 \begin_layout Standard
37820 inset has the mandatory inset
37824 and the optional inset
37828 (inserted via the menu
37830 Insert\SpecialChar menuseparator
37834 Input there the horizontal and vertical scale factor, respectively.
37839 inset is used, the horizontal factor will also be used as the vertical
37843 \begin_layout Standard
37844 To get for example the double text size, compared to the document text size,
37855 \begin_inset Flex Scalebox
37858 \begin_layout Plain Layout
37859 \begin_inset Argument 1
37862 \begin_layout Plain Layout
37876 \begin_layout Standard
37894 \begin_inset Flex Scalebox
37897 \begin_layout Plain Layout
37898 \begin_inset Argument 1
37901 \begin_layout Plain Layout
37908 \begin_inset Argument 2
37911 \begin_layout Plain Layout
37925 \begin_layout Standard
37926 If the scaling factor is negative, the box content will be mirrored.
37943 can be used to create mirror writing:
37944 \begin_inset Flex Scalebox
37947 \begin_layout Plain Layout
37948 \begin_inset Argument 1
37951 \begin_layout Plain Layout
37958 \begin_inset Argument 2
37961 \begin_layout Plain Layout
37975 \begin_layout Standard
37993 \begin_inset Flex Scalebox
37996 \begin_layout Plain Layout
37997 \begin_inset Argument 1
38000 \begin_layout Plain Layout
38007 \begin_inset Argument 2
38010 \begin_layout Plain Layout
38024 \begin_layout Standard
38031 Insert\SpecialChar menuseparator
38032 Custom Insets\SpecialChar menuseparator
38058 \begin_layout Standard
38059 \begin_inset Note Greyedout
38062 \begin_layout Plain Layout
38071 inset is empty or contains other characters than numbers you will get LaTeX
38072 errors when viewing/exporting the document.
38080 \begin_layout Standard
38081 \begin_inset VSpace bigskip
38090 Insert\SpecialChar menuseparator
38091 Custom Insets\SpecialChar menuseparator
38094 ) is used to scale the content to a defined width and height.
38099 inset has the mandatory inset
38103 and the optional inset
38107 (inserted via the menu
38109 Insert\SpecialChar menuseparator
38113 Input there the width and height, respectively, as value with a unit.
38115 \begin_inset CommandInset ref
38117 reference "tab:Units"
38121 lists the possible units.
38122 If there is an exclamation mark
38126 in one of the two insets, the size is set so that the aspect ratio of the
38127 box content is kept.
38132 inset is used an exclamation mark will internally be used for the height.
38135 \begin_layout Standard
38153 \begin_inset Flex Resizebox
38156 \begin_layout Plain Layout
38157 \begin_inset Argument 1
38160 \begin_layout Plain Layout
38167 \begin_inset Argument 2
38170 \begin_layout Plain Layout
38182 \begin_inset Newline newline
38206 \begin_inset Flex Resizebox
38209 \begin_layout Plain Layout
38210 \begin_inset Argument 1
38213 \begin_layout Plain Layout
38220 \begin_inset Argument 2
38223 \begin_layout Plain Layout
38237 \begin_layout Standard
38238 \begin_inset Note Greyedout
38241 \begin_layout Plain Layout
38250 inset is empty or contains an invalid unit you will get LaTeX errors when
38251 viewing/exporting the document.
38259 \begin_layout Standard
38260 \begin_inset VSpace bigskip
38266 \begin_layout Standard
38267 The boxes can be combined in any order.
38276 which is in turn inside a
38283 \begin_layout Standard
38286 \begin_inset Flex Rotatebox
38289 \begin_layout Plain Layout
38290 \begin_inset Argument 1
38293 \begin_layout Plain Layout
38300 \begin_inset Argument 2
38303 \begin_layout Plain Layout
38310 \begin_inset Flex Resizebox
38313 \begin_layout Plain Layout
38314 \begin_inset Argument 1
38317 \begin_layout Plain Layout
38324 \begin_inset Flex Reflectbox
38327 \begin_layout Plain Layout
38346 \begin_layout Standard
38348 Images, tables, and inline formulas are allowed as box content:
38351 \begin_layout Standard
38354 \begin_inset Flex Resizebox
38357 \begin_layout Plain Layout
38358 \begin_inset Argument 1
38361 \begin_layout Plain Layout
38368 \begin_inset Flex Reflectbox
38371 \begin_layout Plain Layout
38372 \begin_inset Graphics
38373 filename clipart/Star-structure.pdf
38390 \begin_inset Flex Resizebox
38393 \begin_layout Plain Layout
38394 \begin_inset Argument 1
38397 \begin_layout Plain Layout
38404 \begin_inset Flex Reflectbox
38407 \begin_layout Plain Layout
38408 \begin_inset Tabular
38409 <lyxtabular version="3" rows="2" columns="2">
38410 <features tabularvalignment="middle">
38411 <column alignment="center" valignment="top">
38412 <column alignment="center" valignment="top">
38414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38417 \begin_layout Plain Layout
38423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38426 \begin_layout Plain Layout
38434 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38437 \begin_layout Plain Layout
38443 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38446 \begin_layout Plain Layout
38468 \begin_inset Flex Resizebox
38471 \begin_layout Plain Layout
38472 \begin_inset Argument 1
38475 \begin_layout Plain Layout
38482 \begin_inset Flex Reflectbox
38485 \begin_layout Plain Layout
38486 \begin_inset Formula $\int A\,\mathrm{d}x=B$
38500 \begin_inset Index idx
38503 \begin_layout Plain Layout
38510 \begin_inset Index idx
38513 \begin_layout Plain Layout
38514 Table Customization ! Scaling
38522 \begin_layout Standard
38523 When the global formula style
38527 is used in the document
38531 \begin_layout Plain Layout
38533 \begin_inset Quotes eld
38537 \begin_inset Quotes erd
38540 is added to the document class options.
38545 , display style formulas can also be scaled.
38548 \begin_layout Chapter
38549 Objects Surrounded by Text
38550 \begin_inset Index idx
38553 \begin_layout Plain Layout
38562 \begin_layout Section
38564 \begin_inset CommandInset label
38566 name "sec:Wrap-Floats"
38571 \begin_inset Index idx
38574 \begin_layout Plain Layout
38575 Floats ! Wrap Floats
38581 \begin_inset Index idx
38584 \begin_layout Plain Layout
38585 Surrounded by text ! Wrap Floats
38593 \begin_layout Standard
38594 \begin_inset Wrap figure
38601 \begin_layout Plain Layout
38602 \begin_inset Graphics
38603 filename clipart/2D-intensity-plot.pdf
38605 scaleBeforeRotation
38606 rotateOrigin center
38613 \begin_layout Plain Layout
38614 \begin_inset Caption Standard
38616 \begin_layout Plain Layout
38617 \begin_inset CommandInset label
38619 name "fig:This-is-a"
38623 This is a figure wrap float.
38633 This float type is used if you want to wrap text around a figure or table
38634 so that it only occupies some fraction of the column width.
38635 It can be inserted using the menu
38637 Insert\SpecialChar menuseparator
38638 Floats\SpecialChar menuseparator
38640 \begin_inset space ~
38644 \begin_inset space ~
38652 \begin_inset space ~
38656 \begin_inset space ~
38661 if the \SpecialChar LaTeX
38667 \begin_inset Index idx
38670 \begin_layout Plain Layout
38672 -packages ! wrapfig
38681 \begin_layout Plain Layout
38682 Installing a \SpecialChar LaTeX
38683 -package is explained it in the
38687 \begin_inset space ~
38697 The settings of the float can be modified by right-clicking on the float
38699 The mandatory settings are the float
38712 that specifies how much the float is set into the paragraph
38713 \begin_inset space \thinspace{}
38717 \begin_inset space \thinspace{}
38720 page margin, and the
38723 \begin_inset space ~
38728 that specifies how many text lines the float will approximately need.
38729 The line span is often hard to approximate; so it is better only to use
38730 it when you encounter float placement problems.
38731 You can furthermore decide if \SpecialChar LaTeX
38732 is allowed to let the float float within
38733 the paragraph or to surrounding paragraphs.
38735 \begin_inset space ~
38739 \begin_inset CommandInset ref
38741 reference "fig:This-is-a"
38745 is an example text wrap float with a width of 40
38746 \begin_inset space \thinspace{}
38750 \begin_inset space \thinspace{}
38753 cm overhang, set to the left.
38756 \begin_layout Standard
38757 \begin_inset Note Greyedout
38760 \begin_layout Plain Layout
38766 \begin_inset space ~
38769 wrap float floats are fragile! E.
38770 \begin_inset space \thinspace{}
38774 \begin_inset space \space{}
38777 having a figure too close to the bottom of the page can mess things up in
38778 such a way that the float does not appear in the output or that it is placed
38779 over some other text.
38787 \begin_layout Standard
38788 In general, the following applies for wrap floats:
38791 \begin_layout Itemize
38792 They should not be placed in paragraphs that run over a page break.
38793 That means that wrap floats are better inserted in their exact place when
38794 the document is almost finished and you are able to estimate where page
38795 breaks will appear.
38798 \begin_layout Itemize
38799 They should either be placed in their own paragraph before the paragraph
38800 where they should wrap into or within a paragraph.
38803 \begin_layout Itemize
38804 In consecutive paragraphs they may cause troubles, so ensure that there
38805 is a text paragraph between them as separator.
38808 \begin_layout Itemize
38809 They are not allowed in section headings or tables.
38812 \begin_layout Itemize
38813 Their numbering and referencing works as described in chap.
38814 \begin_inset space \thinspace{}
38818 \begin_inset CommandInset ref
38820 reference "chap:Floats"
38827 \begin_layout Section
38828 Surrounded Fixed Objects
38829 \begin_inset Index idx
38832 \begin_layout Plain Layout
38833 Surrounded by text ! Fixed objects
38841 \begin_layout Standard
38842 The wrap floats described in sec.
38843 \begin_inset space \thinspace{}
38847 \begin_inset CommandInset ref
38849 reference "sec:Wrap-Floats"
38853 have these positions in the paragraph:
38856 \begin_layout Standard
38859 \begin_inset Tabular
38860 <lyxtabular version="3" rows="2" columns="2">
38861 <features tabularvalignment="middle">
38862 <column alignment="center" valignment="top">
38863 <column alignment="center" valignment="top">
38865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38868 \begin_layout Plain Layout
38871 arg "dialog-show-new-inset graphics"
38879 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38882 \begin_layout Plain Layout
38890 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38893 \begin_layout Plain Layout
38899 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38902 \begin_layout Plain Layout
38914 \begin_inset Tabular
38915 <lyxtabular version="3" rows="2" columns="2">
38916 <features tabularvalignment="middle">
38917 <column alignment="center" valignment="top">
38918 <column alignment="center" valignment="top">
38920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38923 \begin_layout Plain Layout
38929 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38932 \begin_layout Plain Layout
38935 arg "dialog-show-new-inset graphics"
38945 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38948 \begin_layout Plain Layout
38954 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38957 \begin_layout Plain Layout
38971 \begin_layout Standard
38972 To get an object exactly at the position where it is inserted, for example
38973 to get one of these positions:
38974 \begin_inset VSpace defskip
38980 \begin_layout Standard
38983 \begin_inset Tabular
38984 <lyxtabular version="3" rows="2" columns="2">
38985 <features tabularvalignment="middle">
38986 <column alignment="center" valignment="top">
38987 <column alignment="center" valignment="top">
38989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38992 \begin_layout Plain Layout
38998 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39001 \begin_layout Plain Layout
39009 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39012 \begin_layout Plain Layout
39015 arg "dialog-show-new-inset graphics"
39023 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39026 \begin_layout Plain Layout
39038 \begin_inset Tabular
39039 <lyxtabular version="3" rows="2" columns="2">
39040 <features tabularvalignment="middle">
39041 <column alignment="center" valignment="top">
39042 <column alignment="center" valignment="top">
39044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39047 \begin_layout Plain Layout
39053 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39056 \begin_layout Plain Layout
39064 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39067 \begin_layout Plain Layout
39073 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39076 \begin_layout Plain Layout
39079 arg "dialog-show-new-inset graphics"
39093 \begin_inset Tabular
39094 <lyxtabular version="3" rows="2" columns="3">
39095 <features tabularvalignment="middle">
39096 <column alignment="center" valignment="top">
39097 <column alignment="center" valignment="top">
39098 <column alignment="center" valignment="top">
39100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39103 \begin_layout Plain Layout
39109 <cell alignment="center" valignment="top" topline="true" usebox="none">
39112 \begin_layout Plain Layout
39115 arg "dialog-show-new-inset graphics"
39123 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39126 \begin_layout Plain Layout
39134 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39137 \begin_layout Plain Layout
39143 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
39146 \begin_layout Plain Layout
39152 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39155 \begin_layout Plain Layout
39167 \begin_inset Tabular
39168 <lyxtabular version="3" rows="2" columns="3">
39169 <features tabularvalignment="middle">
39170 <column alignment="center" valignment="top">
39171 <column alignment="center" valignment="top">
39172 <column alignment="center" valignment="top">
39174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39177 \begin_layout Plain Layout
39183 <cell alignment="center" valignment="top" topline="true" usebox="none">
39186 \begin_layout Plain Layout
39192 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39195 \begin_layout Plain Layout
39203 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39206 \begin_layout Plain Layout
39212 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
39215 \begin_layout Plain Layout
39218 arg "dialog-show-new-inset graphics"
39226 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39229 \begin_layout Plain Layout
39243 \begin_layout Standard
39246 \begin_inset Tabular
39247 <lyxtabular version="3" rows="3" columns="2">
39248 <features tabularvalignment="middle">
39249 <column alignment="center" valignment="top">
39250 <column alignment="center" valignment="top">
39252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39255 \begin_layout Plain Layout
39261 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39264 \begin_layout Plain Layout
39272 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39275 \begin_layout Plain Layout
39278 arg "dialog-show-new-inset graphics"
39286 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39289 \begin_layout Plain Layout
39297 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39300 \begin_layout Plain Layout
39306 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39309 \begin_layout Plain Layout
39321 \begin_inset Tabular
39322 <lyxtabular version="3" rows="3" columns="3">
39323 <features tabularvalignment="middle">
39324 <column alignment="center" valignment="top">
39325 <column alignment="center" valignment="top">
39326 <column alignment="center" valignment="top">
39328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39331 \begin_layout Plain Layout
39337 <cell alignment="center" valignment="top" topline="true" usebox="none">
39340 \begin_layout Plain Layout
39346 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39349 \begin_layout Plain Layout
39357 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39360 \begin_layout Plain Layout
39366 <cell alignment="center" valignment="top" usebox="none">
39369 \begin_layout Plain Layout
39372 arg "dialog-show-new-inset graphics"
39380 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39383 \begin_layout Plain Layout
39391 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39394 \begin_layout Plain Layout
39400 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
39403 \begin_layout Plain Layout
39409 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39412 \begin_layout Plain Layout
39424 \begin_inset Tabular
39425 <lyxtabular version="3" rows="3" columns="2">
39426 <features tabularvalignment="middle">
39427 <column alignment="center" valignment="top">
39428 <column alignment="center" valignment="top">
39430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39433 \begin_layout Plain Layout
39439 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39442 \begin_layout Plain Layout
39450 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39453 \begin_layout Plain Layout
39459 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39462 \begin_layout Plain Layout
39465 arg "dialog-show-new-inset graphics"
39475 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39478 \begin_layout Plain Layout
39484 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39487 \begin_layout Plain Layout
39501 \begin_layout Standard
39503 you can use the \SpecialChar LaTeX
39509 \begin_inset Index idx
39512 \begin_layout Plain Layout
39514 -packages ! picinpar
39520 Here is an example:
39523 \begin_layout Standard
39527 \begin_layout Plain Layout
39537 \begin_inset Note Note
39540 \begin_layout Plain Layout
39541 The following section will only be displayed when the \SpecialChar LaTeX
39554 \begin_layout Standard
39558 \begin_layout Plain Layout
39562 begin{window}[2,c,{
39568 \begin_inset Graphics
39569 filename clipart/2D-intensity-plot.pdf
39572 scaleBeforeRotation
39573 rotateOrigin center
39581 \begin_layout Plain Layout
39586 \begin_layout Plain Layout
39595 It was in the spring of the year 1894 that all London was interested, and
39596 the fashionable world dismayed, by the murder of the Honourable Ronald
39597 Adair under most unusual and inexplicable circumstances.
39598 The public has already learned those particulars of the crime which
39604 \begin_layout Plain Layout
39615 came out in the police investigation, but a good deal was suppressed upon
39616 that occasion, since the case for the prosecution was so overwhelmingly
39617 strong that it was not necessary to bring forward all the facts.
39618 Only now, at the end of nearly ten years, am I allowed to supply those
39619 missing links which make up the whole of that remarkable chain.
39625 \begin_layout Plain Layout
39637 \begin_layout Standard
39641 \begin_layout Plain Layout
39650 Footnote of the paragraph with the fixed object.
39654 \begin_layout Plain Layout
39664 \begin_layout Standard
39665 Surrounded fixed objects are used to let text float around them, at which
39666 the object's position in the paragraph can be determined by the number
39668 In contrary to floats is it not possible to have a numbered caption.
39671 \begin_layout Standard
39672 A fixed object is inserted by adding the command
39675 \begin_layout Standard
39680 begin{window}[2,c,{
39683 \begin_layout Standard
39684 as \SpecialChar TeX
39685 Code at the beginning of the paragraph.
39686 The first parameter in the bracket, here '2', defines the number of lines
39687 above the object, the second, here 'c', the position of the object.
39688 The positions 'l', 'c' and 'r' (for left, center, right) are possible.
39689 Behind the command you insert the object.
39690 In this example an image with a width of 40
39691 \begin_inset space \thinspace{}
39694 % of the text column width was inserted.
39695 The object can also be a table, a box or an equation.
39696 Behind the object the command
39699 \begin_layout Standard
39702 },description text]
39703 \begin_inset Newline newline
39709 \begin_layout Standard
39712 \begin_inset Quotes eld
39720 \begin_inset Quotes erd
39723 is in the second line.
39724 The description text is optional.
39725 The text surrounding the object must be in the same paragraph as the object,
39726 so it must begin directly after the
39731 At the end of the paragraph insert the command:
39734 \begin_layout Standard
39742 \begin_layout Standard
39743 Within a paragraph with a fixed object, you cannot insert footnotes in the
39745 You have to use instead the command
39751 inside the paragraph and outside the command
39757 as described in sec.
39758 \begin_inset space \thinspace{}
39762 \begin_inset CommandInset ref
39764 reference "sec:Footnotes"
39771 \begin_layout Standard
39775 \begin_layout Plain Layout
39785 \begin_inset Note Note
39788 \begin_layout Plain Layout
39789 The following will be displayed when the \SpecialChar LaTeX
39802 \begin_layout Standard
39803 You need to install the \SpecialChar LaTeX
39808 to see the following part of this section in the output.
39811 \begin_layout Standard
39815 \begin_layout Plain Layout
39827 \begin_layout Section
39829 \begin_inset Index idx
39832 \begin_layout Plain Layout
39839 \begin_inset Index idx
39842 \begin_layout Plain Layout
39843 Surrounded by text ! Initials
39851 \begin_layout Standard
39852 To use initials, you must have the \SpecialChar LaTeX
39858 \begin_inset Index idx
39861 \begin_layout Plain Layout
39863 -packages ! lettrine
39868 installed and use the module
39872 in your document (menu
39874 Document\SpecialChar menuseparator
39875 Settings\SpecialChar menuseparator
39879 To insert an initial, use the style
39884 This style has a mandatory and two optional arguments.
39885 The arguments are inserted via the
39890 The mandatory argument
39894 contains the letter(s) that is the initial, the argument
39897 \begin_inset space ~
39901 \begin_inset space ~
39906 contains the rest of the word or text of the initial letter(s).
39911 contains parameters to modify the initial.
39912 For more information about the possible parameters see the documentation
39918 \begin_inset CommandInset citation
39926 The style itself contains the text that is surrounding the initial.
39927 The usual style is hereby that the word whose first letter is the initial,
39935 \begin_layout Standard
39936 Here are some examples:
39939 \begin_layout Standard
39943 \begin_layout Plain Layout
39953 \begin_inset Note Note
39956 \begin_layout Plain Layout
39957 The following section will only be displayed when the \SpecialChar LaTeX
39970 \begin_layout Enumerate
39971 No optional argument, the initial is the letter 'I' in the math font
39972 \begin_inset Formula $\mathfrak{Fraktur}$
39979 \begin_layout Initial
39980 \begin_inset Argument 2
39983 \begin_layout Plain Layout
39984 \begin_inset Formula $\mathfrak{I}$
39993 \begin_inset Argument 3
39996 \begin_layout Plain Layout
40002 was in the spring of the year 1894 that all London was interested, and
40003 the fashionable world dismayed, by the murder of the Honourable Ronald
40004 Adair under most unusual and inexplicable circumstances.
40005 The public has already learned those particulars of the crime which came
40006 out in the police investigation, but a good deal was suppressed upon that
40007 occasion, since the case for the prosecution was so overwhelmingly strong
40008 that it was not necessary to bring forward all the facts.
40009 \begin_inset Newpage newpage
40016 \begin_layout Enumerate
40017 Only one line is surrounding the initial, which is formed by two letters
40018 in standard font and no text is printed in small caps:
40022 \begin_layout Initial
40023 \begin_inset Argument 1
40026 \begin_layout Plain Layout
40033 \begin_inset Argument 2
40036 \begin_layout Plain Layout
40042 was in the spring of the year 1894 that all London was interested, and
40043 the fashionable world dismayed, by the murder of the Honourable Ronald
40044 Adair under most unusual and inexplicable circumstances.
40045 The public has already learned those particulars of the crime which came
40046 out in the police investigation, but a good deal was suppressed upon that
40047 occasion, since the case for the prosecution was so overwhelmingly strong
40048 that it was not necessary to bring forward all the facts.
40052 \begin_layout Enumerate
40053 Magenta, hanging initial over 3
40054 \begin_inset space ~
40057 lines in the math font
40058 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
40062 \begin_inset Quotes eld
40065 t was in the spring
40066 \begin_inset Quotes erd
40073 ; to color the initial, you must insert this command before the initial:
40074 \begin_inset Newline newline
40088 \begin_inset Newline newline
40096 \begin_inset Quotes eld
40100 \begin_inset Quotes erd
40104 \begin_inset Quotes eld
40108 \begin_inset Quotes erd
40112 \begin_inset Quotes eld
40116 \begin_inset Quotes erd
40120 \begin_inset Quotes eld
40124 \begin_inset Quotes erd
40128 \begin_inset Quotes eld
40132 \begin_inset Quotes erd
40136 \begin_inset Quotes eld
40140 \begin_inset Quotes erd
40144 \begin_inset Quotes eld
40148 \begin_inset Quotes erd
40152 \begin_inset Quotes eld
40156 \begin_inset Quotes erd
40159 , and add this command to the document preamble:
40160 \begin_inset Newline newline
40167 @ifundefined{textcolor}
40168 \begin_inset Newline newline
40172 \begin_inset space ~
40177 usepackage{color}}{}
40181 \begin_layout Standard
40185 \begin_layout Plain Layout
40199 \begin_inset Note Note
40202 \begin_layout Plain Layout
40203 makes the initial magenta
40211 \begin_layout Initial
40212 \begin_inset Argument 1
40215 \begin_layout Plain Layout
40216 lines=3, lhang=0.33, loversize=0.25
40222 \begin_inset Argument 2
40225 \begin_layout Plain Layout
40226 \begin_inset Formula $\mathcal{I}$
40235 \begin_inset Argument 3
40238 \begin_layout Plain Layout
40239 t was in the spring
40244 of the year 1894 that all London was interested, and the fashionable world
40245 dismayed, by the murder of the Honourable Ronald Adair under most unusual
40246 and inexplicable circumstances.
40247 The public has already learned those particulars of the crime which came
40248 out in the police investigation, but a good deal was suppressed upon that
40249 occasion, since the case for the prosecution was so overwhelmingly strong
40250 that it was not necessary to bring forward all the facts.
40254 \begin_layout Standard
40258 \begin_layout Plain Layout
40268 \begin_inset Note Note
40271 \begin_layout Plain Layout
40272 The following will be displayed when the \SpecialChar LaTeX
40285 \begin_layout Standard
40286 You need to install the \SpecialChar LaTeX
40291 to see the following part of this section in the output.
40294 \begin_layout Standard
40298 \begin_layout Plain Layout
40310 \begin_layout Chapter
40311 External Document Parts
40312 \begin_inset Index idx
40315 \begin_layout Plain Layout
40316 External Document Parts
40324 \begin_layout Standard
40327 Insert\SpecialChar menuseparator
40330 you can insert external material into your document.
40334 \begin_layout Description
40336 \begin_inset space ~
40339 Document Another \SpecialChar LyX
40340 document; its content is directly inserted to your document.
40343 \begin_layout Description
40345 \begin_inset space ~
40348 Text A text document; each line is inserted in your document as a separate
40352 \begin_layout Description
40354 \begin_inset space ~
40358 \begin_inset space ~
40362 \begin_inset space ~
40365 Lines A text document; text lines are inserted in your document continuously
40366 but an empty text line creates a new paragraph.
40369 \begin_layout Description
40371 \begin_inset space ~
40374 Material Files in various formats.
40377 \begin_layout Description
40379 \begin_inset space ~
40382 Document \SpecialChar LyX
40383 or \SpecialChar LaTeX
40387 \begin_layout Section
40389 \begin_inset Index idx
40392 \begin_layout Plain Layout
40393 External Document Parts ! External Material
40401 \begin_layout Standard
40402 The external material feature allows you to insert files into your document
40403 without converting them to a format that can be read by the document output
40406 takes care of the necessary conversions.
40407 This is similar to images that can be inserted in various image formats
40408 in \SpecialChar LyX
40410 When you have enabled Instant Preview in \SpecialChar LyX
40411 's preferences under
40414 \begin_inset space ~
40418 \begin_inset space ~
40421 feel\SpecialChar menuseparator
40424 , the external material types Dia and Xfig are directly shown in \SpecialChar LyX
40428 \begin_layout Standard
40429 External material can be inserted via the
40433 dialog that is accessible with the menu
40435 Insert\SpecialChar menuseparator
40436 File\SpecialChar menuseparator
40438 \begin_inset space ~
40444 Currently the following file types (
40451 \begin_layout Description
40453 \begin_inset space ~
40456 diagram This template supports chess position diagrams made with the program
40460 \begin_inset CommandInset href
40463 target "https://en.wikipedia.org/wiki/XBoard"
40473 \begin_layout Description
40475 \begin_inset space ~
40478 diagram This template supports diagrams created with the program
40481 \begin_inset CommandInset href
40484 target "https://en.wikipedia.org/wiki/Dia_(software)"
40494 \begin_layout Description
40496 \begin_inset space ~
40499 figure This template supports specific scalable images derived from scalable
40500 vector graphics (SVG), in which the contained text is replaced by a version
40501 typeset by \SpecialChar LaTeX
40502 (and hence in the current document font).
40503 It relies on a feature of the program
40506 \begin_inset CommandInset href
40509 target "https://inkscape.org/"
40516 which creates a special PDF or EPS and \SpecialChar LaTeX
40517 file from a given SVG file (in
40522 itself, the feature is available via the option
40524 Omit text in PDF and create LaTeX file
40526 when saving a drawing as PDF or EPS).
40527 The benefit of such files is a uniform text style throughout the whole
40529 \begin_inset Newline newline
40532 The external template reads SVG files and uses a converter program to generate
40533 the respective PDF\SpecialChar breakableslash
40534 EPS and \SpecialChar LaTeX
40543 on the fly, so you don't have to export those files yourself.
40544 If you prefer the latter and want use given
40560 files instead, simply input the respective
40573 \begin_inset space ~
40577 \begin_inset CommandInset ref
40579 reference "sec:Child-Documents"
40583 ) rather than using this template.
40584 \begin_inset Newline newline
40587 You can use \SpecialChar TeX
40588 code commands such as
40601 \begin_inset space \space{}
40604 in the text of the SVG.
40605 The size of the font will be taken from the settings of the \SpecialChar LyX
40608 \begin_inset CommandInset citation
40615 for more information and examples.
40618 \begin_layout Description
40620 \begin_inset space ~
40624 \begin_inset space ~
40627 music This template is used for music notation typeset with the program
40628 \begin_inset Newline linebreak
40634 \begin_inset CommandInset href
40637 target "https://en.wikipedia.org/wiki/LilyPond"
40645 For \SpecialChar LyX
40646 's extended support for LilyPond have a look at \SpecialChar LyX
40654 \begin_layout Description
40656 \begin_inset space ~
40659 pages With this template you can insert PDF documents to your document.
40660 To specify the range of pages that should be included, use the option
40670 LaTeX and LyX options
40673 The argument of this option is a comma separated list, containing page
40674 numbers (insert as option
40678 ), ranges of page numbers (
40682 ) or any combination.
40683 To insert empty pages use {}.
40685 \begin_inset space \thinspace{}
40689 \begin_inset space ~
40694 pages={3,{},8-11,15}
40696 will insert page 3, an empty page, and pages 8, 9, 10, 11 and 15.
40697 Page ranges are specified in the syntax
40706 This selects all pages from
40719 defaults to the first page; omitting
40723 defaults to the last page of the document.
40724 The last page can also be selected with the keyword
40729 (This is only permitted in a page range.) So
40733 will insert all pages of the document and
40737 will insert all pages in reverse order.
40738 If the pages option is not specified, only the first page of the PDF is
40740 \begin_inset Newline newline
40747 inserts the pages with their original size, if this option is not given,
40748 the pages will be resized to fith the width of the page of your document.
40753 you can specify the width and height of the input pages and their rotation.
40754 If another width than 100
40755 \begin_inset space \thinspace{}
40758 Scale% is used, the option
40762 will be overwritten.
40763 For more info and possible options, have a look into the documentation
40764 of the \SpecialChar LaTeX
40770 \begin_inset CommandInset citation
40778 \begin_inset Index idx
40781 \begin_layout Plain Layout
40783 -packages ! pdfpages
40789 \begin_inset Newline newline
40792 To use this template in a
40796 presentation you need to first insert an
40800 environment and in a subsequent paragraph a \SpecialChar TeX
40801 Code box containing the command
40806 setbeamertemplate{background canvas}{}
40809 Then you can insert as many paragraphs containing the PDFPages template
40811 Behind the included PDF pages you can resume the Beamer presentation by
40812 beginning a new frame or by starting a new section.
40813 To avoid stray blank pages prior to the PDF pages, make sure to use the
40818 alignment for the paragraph containing the template.
40819 \begin_inset Newline newline
40822 Here is an included PDF which is rotated by -5°:
40823 \begin_inset External
40825 filename clipart/Abstract.pdf
40826 extra LaTeX "noautoscale, pages=-"
40828 rotateOrigin bottomleft
40835 \begin_layout Description
40837 \begin_inset space ~
40840 image This can be used for bitmap images.
40841 The image can be treated in the
40845 dialog like the images that are usually included via the
40849 dialog as described in section
40850 \begin_inset space ~
40854 \begin_inset CommandInset ref
40856 reference "sec:Graphics-Dialog"
40861 Here is an inserted raster image:
40862 \begin_inset External
40863 template RasterImage
40864 filename clipart/ToolbarEnvBox.png
40871 \begin_layout Description
40872 Spreadsheet With this template you can insert spreadsheets
40873 \begin_inset space \thinspace{}
40877 \begin_inset space \thinspace{}
40880 tables in the format of
40883 \begin_inset CommandInset href
40886 target "https://en.wikipedia.org/wiki/Gnumeric"
40894 \begin_inset CommandInset href
40896 name "OpenDocument"
40897 target "https://en.wikipedia.org/wiki/OpenDocument"
40903 \begin_inset CommandInset href
40905 name "Microsoft Office XML"
40906 target "https://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
40912 \begin_inset CommandInset href
40914 name "Office Open XML"
40915 target "https://en.wikipedia.org/wiki/Office_Open_XML"
40921 For this feature \SpecialChar LyX
40922 must have found the program
40926 during its configuration.
40927 This program is part of Gnumeric, so that you must have Gnumeric installed,
40928 also if you don't have tables in the Gnumeric format.
40929 For examples and possible limitations have a look at \SpecialChar LyX
40937 \begin_layout Description
40939 \begin_inset space ~
40942 graphics This can be used for vector graphics.
40943 The image can be treated in the
40947 dialog like the images that are usually included via the
40951 dialog as described in section
40952 \begin_inset space ~
40956 \begin_inset CommandInset ref
40958 reference "sec:Graphics-Dialog"
40963 Here is an inserted vector graphics:
40964 \begin_inset External
40965 template VectorGraphics
40966 filename clipart/SVG-Drawing.svg
40975 \begin_layout Description
40977 \begin_inset space ~
40980 figure This template supports images created with the program
40981 \begin_inset CommandInset href
40984 target "https://en.wikipedia.org/wiki/Xfig"
40992 \begin_layout Standard
40993 When you use the option
41005 dialog, only the path to the inserted file is shown in the output.
41006 \begin_inset Newline newline
41009 External material is displayed in \SpecialChar LyX
41010 either as a box like this:
41011 \begin_inset Graphics
41012 filename clipart/ExternalMaterial.png
41014 scaleBeforeRotation
41018 or as image, depending on the option
41024 LaTeX and LyX options
41029 \begin_layout Standard
41036 manual explains how you can define your own templates.
41039 \begin_layout Section
41041 \begin_inset CommandInset label
41043 name "sec:Child-Documents"
41048 \begin_inset Index idx
41051 \begin_layout Plain Layout
41052 External Document Parts ! Child Documents
41058 \begin_inset Index idx
41061 \begin_layout Plain Layout
41070 \begin_layout Standard
41071 Child documents are used if you have a long document consisting of several
41072 larger parts or sections.
41073 For maintenance it is often useful and sometimes even required to split
41074 the document into several files that can be revised separately.
41075 The different documents are then the so called
41076 \begin_inset Quotes eld
41080 \begin_inset Quotes erd
41083 , and a master document connects them to print the full document or parts
41085 A child document inherits elements from its master, for example the \SpecialChar LaTeX
41087 the bibliography, and labels for cross-references.
41090 \begin_layout Standard
41091 To be able to work on child documents without the need to open their master,
41092 specify in the child document the master in the menu
41094 Document\SpecialChar menuseparator
41095 Settings\SpecialChar menuseparator
41097 \begin_inset space ~
41103 This master document will then be used in the background by \SpecialChar LyX
41105 the child document.
41108 \begin_layout Standard
41109 Included documents are displayed in \SpecialChar LyX
41110 as a box like this:
41111 \begin_inset Graphics
41112 filename clipart/ChildDocument.png
41114 scaleBeforeRotation
41118 To include child documents in a master document use the menu
41120 Insert\SpecialChar menuseparator
41121 File\SpecialChar menuseparator
41123 \begin_inset space ~
41129 A dialog pops up where you can choose between four include methods:
41132 \begin_layout Description
41133 Include You can include \SpecialChar LyX
41134 and \SpecialChar LaTeX
41144 dialog, the included document will be opened in \SpecialChar LyX
41145 in a new file tab so that
41147 \begin_inset Newline newline
41153 \begin_layout Standard
41154 Here is a child document inserted using
41159 \begin_inset CommandInset include
41160 LatexCommand include
41161 filename "DummyDocument1.lyx"
41169 \begin_layout Standard
41170 The section numbering includes the sections of the included files in the
41171 order they are inserted in the master document.
41172 The included example document has for example a subsection that is numbered
41173 as a subsection of this section.
41174 Labels of included documents can be referenced: Subsection
41175 \begin_inset space ~
41179 \begin_inset CommandInset ref
41181 reference "subsec:External-Subsection-1"
41188 \begin_layout Standard
41189 The preamble of the child document is ignored; only the preamble of the
41190 master document is used.
41191 Branches in child documents will be ignored by the master document when
41192 the master document does not have a branch with the same name.
41193 Included documents are inserted starting on a new page and ending with
41197 \begin_layout Standard
41198 \begin_inset Note Greyedout
41201 \begin_layout Plain Layout
41206 If you have included a \SpecialChar LyX
41207 or \SpecialChar LaTeX
41208 file, you are warned when you export/view the
41209 document in case the child document uses another document class than the
41210 master document as this will lead to unexpected outputs.
41218 \begin_layout Description
41219 Input This method is very similar to the Include method.
41220 The differences are:
41224 \begin_layout Itemize
41225 Input files don't start with a new page and don't end with a page break.
41228 \begin_layout Itemize
41229 Input files can be previewed in \SpecialChar LyX
41233 \begin_inset space ~
41238 is enabled in \SpecialChar LyX
41239 's preferences under
41242 \begin_inset space ~
41246 \begin_inset space ~
41249 feel\SpecialChar menuseparator
41255 \begin_layout Itemize
41256 You cannot exclude Input files via the menu
41258 Document\SpecialChar menuseparator
41259 Settings\SpecialChar menuseparator
41266 \begin_layout Standard
41267 Here is a child document inserted using
41272 \begin_inset CommandInset include
41274 filename "DummyDocument2.lyx"
41282 \begin_layout Description
41283 Verbatim With this method any text file can be included.
41284 The file is shown in the output with its source code; no command used in
41285 the text is invoked.
41286 You can use the option
41288 Mark spaces in output
41290 that displays the character
41291 \begin_inset Quotes eld
41298 \begin_layout Plain Layout
41308 \begin_inset Quotes erd
41311 for every space character in the source code.
41312 The difference from the method via the menu
41314 Insert\SpecialChar menuseparator
41315 File\SpecialChar menuseparator
41317 \begin_inset space ~
41322 is that the document content is not shown in \SpecialChar LyX
41326 \begin_layout Standard
41327 Here is a child document inserted as Verbatim:
41328 \begin_inset CommandInset include
41329 LatexCommand verbatiminput
41330 filename "DummyTextDocument.txt"
41336 \begin_inset VSpace bigskip
41339 Here is a child document inserted as Verbatim using the
41341 Mark spaces in output
41344 \begin_inset CommandInset include
41345 LatexCommand verbatiminput*
41346 filename "DummyTextDocument.txt"
41354 \begin_layout Standard
41355 \begin_inset VSpace bigskip
41361 \begin_layout Standard
41362 \begin_inset Note Greyedout
41365 \begin_layout Plain Layout
41370 As you can see in the examples above, the text of the documents included
41375 is not broken at the end of the document lines.
41383 \begin_layout Description
41384 Listings This type is described in chapter
41385 \begin_inset space ~
41389 \begin_inset CommandInset ref
41391 reference "cha:Program-Code-Listings"
41398 \begin_layout Standard
41399 \begin_inset Note Greyedout
41402 \begin_layout Plain Layout
41407 Including the same document twice in a document using different methods
41408 could cause \SpecialChar LaTeX
41417 \begin_layout Standard
41418 If you want to view/export only selected children of your master document,
41419 either because you want to save compiling time or because you want to distribut
41420 e single chapters of the book you are just writing, you can exclude children
41422 This is done via the menu
41424 Document\SpecialChar menuseparator
41425 Settings\SpecialChar menuseparator
41429 You can exclude\SpecialChar breakableslash
41430 include children by double-clicking on the
41434 column of the respective child document in the list (note that this only
41435 works for documents embedded via
41436 \begin_inset Quotes eld
41440 \begin_inset Quotes erd
41444 \begin_inset Quotes eld
41448 \begin_inset Quotes erd
41453 \change_inserted -712698321 1584102244
41457 \begin_layout Standard
41459 \change_inserted -712698321 1584102427
41462 Global Counters & References
41464 you can set how page numbers, references, section counters etc.
41468 \begin_layout Itemize
41470 \change_inserted -712698321 1584102377
41476 \change_deleted -712698321 1584102385
41479 Maintain counters and references
41484 will assure that all page numbers, references etc.
41485 \begin_inset space ~
41488 are correct as if the whole document was
41489 \change_deleted -712698321 1584108508
41491 \change_inserted -712698321 1584108509
41495 This is useful if you want the selected sub-documents to look exactly as
41496 in the context of the whole document.
41497 However, \SpecialChar LyX
41498 needs to process the whole document in the background for this
41500 \change_inserted -712698321 1584102406
41501 , which can take a long time
41505 \change_deleted -712698321 1584103026
41507 \change_inserted -712698321 1584102447
41511 \begin_layout Itemize
41513 \change_inserted -712698321 1584102489
41522 \change_inserted -712698321 1584103270
41523 only compiles the master and the included documents.
41524 Thus the counters will differ from the complete document, and references
41525 to excluded child documents will not be resolved.
41527 \change_deleted -712698321 1584102517
41529 \change_inserted -712698321 1584102518
41532 f you want to save compile time and if counters and references do not need
41534 \change_deleted -712698321 1584102523
41535 disable this checkbox
41536 \change_inserted -712698321 1584102546
41537 use this option as this is the fastest one
41540 \change_inserted -712698321 1584102550
41544 \begin_layout Itemize
41546 \change_inserted -712698321 1584109486
41551 is somewhat in-between the above two.
41552 If this is selected, \SpecialChar LyX
41553 will compile the whole document at the first output,
41554 which sets up counters and references correctly.
41555 In subsequent outputs, it will compile the whole document only if a change
41556 has been made in an excluded child document.
41557 As long as you only edit the included files, this approach is as fast as
41558 the second one, while giving you more or less correct counters and references.
41559 They are only more or less correct since the change of size of included
41560 documents obviously also changes the pagination of excluded documents,
41561 but this change cannot be tracked with this method.
41566 \begin_layout Standard
41567 Alternatively, you can put each included file into a branch.
41571 \begin_layout Plain Layout
41572 Branches are described in section
41576 of the \SpecialChar LyX
41586 By enabling\SpecialChar breakableslash
41587 disabling branches you can decide which included files will
41588 appear in the output.
41589 This has the advantage that it also works with Input'ed sub-documents.
41590 However, counters and references will not be maintained with this approach.
41593 \begin_layout Chapter
41594 Program Code Listings
41595 \begin_inset CommandInset label
41597 name "cha:Program-Code-Listings"
41602 \begin_inset Index idx
41605 \begin_layout Plain Layout
41612 \begin_inset Index idx
41615 \begin_layout Plain Layout
41622 \begin_inset Index idx
41625 \begin_layout Plain Layout
41634 \begin_layout Standard
41635 To include and typeset program code you can use the
41639 inset that can be inserted via the menu
41641 Insert\SpecialChar menuseparator
41645 The \SpecialChar LaTeX
41651 \begin_inset Index idx
41654 \begin_layout Plain Layout
41656 -packages ! listings
41666 \begin_inset Index idx
41669 \begin_layout Plain Layout
41676 provide a powerful and flexible way to insert program source code into
41678 One can only use one of these packages in a document.
41683 is used by default.
41686 \begin_layout Standard
41687 \begin_inset Note Note
41690 \begin_layout Plain Layout
41696 does NOT want to encourage users to add the
41700 option to converter definitions.
41701 It works, but it is a huge security risk.
41702 There is an active discussion about how to handle this.
41703 Once that's been resolved, this can be updated appropriately.
41706 \begin_layout Plain Layout
41710 \begin_layout Plain Layout
41715 , you need to select it as the syntax highlighting package in the document
41725 requires also additionally the module
41737 \begin_layout Plain Layout
41738 Under \SpecialChar LyX
41743 is already installed.
41752 for the \SpecialChar LaTeX
41754 If you want for example view or export your document as the format
41757 \begin_inset space ~
41762 , go to the \SpecialChar LyX
41763 preferences and there to the section
41766 \begin_inset space ~
41769 Handling\SpecialChar menuseparator
41773 There go to the entry
41776 \begin_inset space ~
41780 \begin_inset space ~
41785 and look at the field
41790 There you see by default the content
41791 \begin_inset Newline newline
41799 \begin_inset Newline newline
41803 \begin_inset Newline newline
41808 pdflatex $$i -shell-escape
41809 \begin_inset Newline newline
41818 button and subsequently
41827 The same can be done for the output formats
41830 \begin_inset space ~
41838 \begin_inset space ~
41851 \begin_layout Standard
41852 Right-clicking on a listings inset opens the context menu containing where
41853 you can set the listings format.
41856 \begin_layout Standard
41857 By default, a listing starts a new paragraph in the output.
41858 The placement option
41861 \begin_inset space ~
41866 prints the listing inline like this:
41867 \begin_inset listings
41868 lstparams "language={C++}"
41872 \begin_layout Plain Layout
41880 \begin_inset Newline newline
41887 creates a listings float where you can specify the placement options
41888 \begin_inset Quotes eld
41896 \begin_inset Quotes erd
41900 \begin_inset Quotes eld
41908 \begin_inset Quotes erd
41912 \begin_inset Quotes eld
41920 \begin_inset Quotes erd
41924 \begin_inset Quotes eld
41932 \begin_inset Quotes erd
41935 corresponding to the float placement options described in section
41936 \begin_inset space ~
41940 \begin_inset CommandInset ref
41942 reference "sec:Float-Settings"
41947 The placement options can be mixed and are inserted without any separation,
41949 \begin_inset space \thinspace{}
41953 \begin_inset space \space{}
41957 \begin_inset Quotes eld
41965 \begin_inset Quotes erd
41970 \begin_inset Quotes eld
41974 \begin_inset Quotes erd
41977 has sometimes no effect, but you don't need to use the
41981 option in this case as also non-float listings can have captions and be
41985 \begin_layout Standard
41986 You can add captions to listings that are not inline with the menu
41988 Insert\SpecialChar menuseparator
41992 Listings can be referenced like floats: Listing
41993 \begin_inset space ~
41997 \begin_inset CommandInset ref
41999 reference "lst:Example-Listing"
42004 A list of listings which contains all listings with captions can be created
42007 Insert\SpecialChar menuseparator
42009 \begin_inset space ~
42013 \begin_inset space ~
42016 TOC\SpecialChar menuseparator
42020 The list entries are the listing caption and the listing number.
42023 \begin_layout Standard
42024 \begin_inset listings
42025 lstparams "language=Python"
42029 \begin_layout Plain Layout
42031 \begin_inset Caption Standard
42033 \begin_layout Plain Layout
42034 \begin_inset CommandInset label
42036 name "lst:Example-Listing"
42040 Example Listing float
42045 # Example listing float
42048 \begin_layout Plain Layout
42053 \begin_layout Plain Layout
42055 'this is a python function'
42058 \begin_layout Plain Layout
42068 \begin_layout Standard
42069 \begin_inset Note Greyedout
42072 \begin_layout Plain Layout
42081 package places captions before the listing by default.
42082 \begin_inset Newline newline
42089 package places them after the listing by default if it is floating.
42090 If it is not floating, caption will be typeset before the listing if it
42091 is inserted to its first line, otherwise it will be typeset after the listing.
42092 If you want to force the placement in every case before the listing, you
42093 have to add the following lines as last thing to the preamble:
42094 \begin_inset Newline newline
42101 @ifundefined{newfloat}
42102 \begin_inset Newline newline
42106 \begin_inset Phantom HPhantom
42109 \begin_layout Plain Layout
42112 \begin_inset space ~
42122 usepackage{float}}{}
42123 \begin_inset Newline newline
42128 floatstyle{plaintop}
42131 \begin_inset Note Note
42134 \begin_layout Plain Layout
42139 will be loaded automatically by \SpecialChar LyX
42140 when you use special document-wide float
42141 placement settings.
42142 To avoid that it is loaded twice the command
42148 is used in the above command.
42161 \begin_layout Standard
42162 When you have set a programming language in the listings dialog, the keywords
42163 of this language will be recognized and specially typeset in the output.
42164 In the example listings the Python keyword
42165 \begin_inset Quotes eld
42169 \begin_inset Quotes erd
42172 is recognized and printed bold in the output.
42175 \begin_layout Standard
42176 \begin_inset Note Greyedout
42179 \begin_layout Plain Layout
42184 If you don't get bold keywords when using typewriter fonts, your
42188 font probably doesn't provide a bold shape.
42189 In this case select a different one in the menu
42191 Document\SpecialChar menuseparator
42192 Settings\SpecialChar menuseparator
42204 provide bold shapes.)
42212 \begin_layout Standard
42216 \begin_inset space ~
42221 of the listings dialog you can specify the line numbering style.
42222 You can insert a number to specify which lines are numbered in the field
42229 \begin_inset space \thinspace{}
42233 \begin_inset space \space{}
42237 \begin_inset Quotes eld
42241 \begin_inset Quotes erd
42244 , only every 3rd line will be numbered.
42247 \begin_layout Standard
42248 You can furthermore specify a range of lines; only these will then appear
42252 Extended character table
42254 is only meaningful for the
42258 package and should be used when you use national characters like the German
42259 umlauts in the listing.
42260 \begin_inset Newline newline
42263 Here is an example listing with left line numbering, step
42264 \begin_inset Quotes eld
42268 \begin_inset Quotes erd
42272 \begin_inset Quotes eld
42276 \begin_inset Quotes erd
42280 \begin_inset Quotes eld
42283 Extended character table
42284 \begin_inset Quotes erd
42288 \begin_inset Quotes eld
42292 \begin_inset space ~
42296 \begin_inset space ~
42300 \begin_inset Quotes erd
42304 \begin_inset space \thinspace{}
42308 \begin_inset space \thinspace{}
42314 \begin_layout Standard
42315 \begin_inset listings
42316 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
42320 \begin_layout Plain Layout
42325 \begin_layout Plain Layout
42327 'this is a python function'
42330 \begin_layout Plain Layout
42335 \begin_layout Plain Layout
42340 \begin_layout Plain Layout
42342 'This is a German word: Tschüß'
42345 \begin_layout Plain Layout
42350 \begin_layout Plain Layout
42355 \begin_layout Plain Layout
42357 'this is a python function'
42360 \begin_layout Plain Layout
42370 \begin_layout Standard
42371 When you have tabulators in your listing, you can specify the number of
42372 characters that are spanned by a tabulator in the field
42375 \begin_inset space ~
42383 \begin_layout Standard
42384 \begin_inset Note Greyedout
42387 \begin_layout Plain Layout
42392 Due to a bug in the
42396 package the line numbering is shifted by a line by every previous listing.
42397 That's the reason why the lines 2 and 5 are numbered in the above listing
42398 and not the lines 3 and 6.
42406 \begin_layout Standard
42407 \begin_inset VSpace bigskip
42413 \begin_layout Standard
42414 It is also possible to print lines from a file as listing.
42415 To do this, use the menu
42417 Insert\SpecialChar menuseparator
42418 File\SpecialChar menuseparator
42421 and choose the type
42429 \begin_layout Plain Layout
42430 The other child document types are described in section
42431 \begin_inset space ~
42435 \begin_inset CommandInset ref
42437 reference "sec:Child-Documents"
42446 In the child document dialog you can specify the listing parameters in
42448 To show a list of all available parameters, type in a question mark
42449 \begin_inset Quotes eld
42453 \begin_inset Quotes erd
42459 \begin_layout Standard
42460 To reference child document listings, write a label text into the corresponding
42461 field of the child document dialog.
42462 The label can then be referenced using the menu
42464 Insert\SpecialChar menuseparator
42470 \begin_layout Standard
42472 \begin_inset space ~
42476 \begin_inset CommandInset ref
42478 reference "lst:file-listing"
42482 is an example for a listing of a file; there the lines 10
42483 \begin_inset space \thinspace{}
42487 \begin_inset space \thinspace{}
42490 15 of this \SpecialChar LyX
42494 \begin_layout Standard
42495 \begin_inset CommandInset include
42496 LatexCommand lstinputlisting
42497 filename "EmbeddedObjects.lyx"
42498 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
42506 \begin_layout Standard
42507 \begin_inset VSpace bigskip
42513 \begin_layout Standard
42514 Inserting a formula into a listing can be done the following way:
42517 \begin_layout Enumerate
42518 Open the listings dialog and add
42519 \begin_inset Newline newline
42527 \begin_inset Newline newline
42530 to the field of the
42537 \begin_layout Enumerate
42538 Create a formula outside the listing
42541 \begin_layout Enumerate
42542 Copy the content of the formula (not the formula inset) to the clipboard
42552 \begin_layout Enumerate
42553 In the listing write
42554 \begin_inset Quotes eld
42562 \begin_inset Quotes erd
42565 and copy from the clipboard between the dollar-signs (shortcut
42574 \begin_layout Standard
42575 \begin_inset listings
42576 lstparams "language=Python,mathescape=true"
42580 \begin_layout Plain Layout
42582 \begin_inset Caption Standard
42584 \begin_layout Plain Layout
42585 Example Listing float containing a formula
42590 # Example listing float
42593 \begin_layout Plain Layout
42598 \begin_layout Plain Layout
42611 \begin_layout Plain Layout
42621 \begin_layout Standard
42622 \begin_inset VSpace bigskip
42628 \begin_layout Standard
42629 Global listings settings can be set in the
42631 Document\SpecialChar menuseparator
42632 Settings\SpecialChar menuseparator
42636 To get there a list of available options, type in a question mark
42637 \begin_inset Quotes eld
42641 \begin_inset Quotes erd
42647 \begin_layout Standard
42648 For more information about the
42656 packages, we refer to their documentation
42657 \begin_inset CommandInset citation
42659 key "listings,minted"
42667 \begin_layout Standard
42668 \begin_inset Newpage newpage
42674 \begin_layout Chapter
42676 Units available in \SpecialChar LyX
42678 \begin_inset Index idx
42681 \begin_layout Plain Layout
42688 \begin_inset CommandInset label
42690 name "cha:Units-available-in"
42697 \begin_layout Standard
42698 To understand the units described in this documentation, Table
42699 \begin_inset space ~
42703 \begin_inset CommandInset ref
42705 reference "tab:Units"
42709 explains all units available in \SpecialChar LyX
42713 \begin_layout Standard
42714 \begin_inset Float table
42721 \begin_layout Plain Layout
42722 \begin_inset Caption Standard
42724 \begin_layout Plain Layout
42725 \begin_inset CommandInset label
42739 \begin_layout Plain Layout
42740 \begin_inset VSpace medskip
42746 \begin_layout Plain Layout
42748 \begin_inset Tabular
42749 <lyxtabular version="3" rows="21" columns="3">
42750 <features tabularvalignment="middle">
42751 <column alignment="center" valignment="top">
42752 <column alignment="center" valignment="middle" width="50col%">
42753 <column alignment="center" valignment="top">
42755 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
42758 \begin_layout Plain Layout
42764 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
42767 \begin_layout Plain Layout
42773 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
42776 \begin_layout Plain Layout
42785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42788 \begin_layout Plain Layout
42794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42797 \begin_layout Plain Layout
42799 \begin_inset space \thinspace{}
42803 \begin_inset space \thinspace{}
42811 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42814 \begin_layout Plain Layout
42822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42825 \begin_layout Plain Layout
42831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42834 \begin_layout Plain Layout
42836 \begin_inset space \thinspace{}
42840 \begin_inset space \thinspace{}
42848 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42851 \begin_layout Plain Layout
42859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42862 \begin_layout Plain Layout
42868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42871 \begin_layout Plain Layout
42877 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42880 \begin_layout Plain Layout
42888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42891 \begin_layout Plain Layout
42897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42900 \begin_layout Plain Layout
42902 \begin_inset space \thinspace{}
42906 \begin_inset Formula $\approx$
42910 \begin_inset space \thinspace{}
42918 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42921 \begin_layout Plain Layout
42929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42932 \begin_layout Plain Layout
42938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42941 \begin_layout Plain Layout
42951 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42954 \begin_layout Plain Layout
42962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42965 \begin_layout Plain Layout
42971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42974 \begin_layout Plain Layout
42984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42987 \begin_layout Plain Layout
42995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42998 \begin_layout Plain Layout
43004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43007 \begin_layout Plain Layout
43013 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43016 \begin_layout Plain Layout
43024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43027 \begin_layout Plain Layout
43033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43036 \begin_layout Plain Layout
43042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43045 \begin_layout Plain Layout
43053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43056 \begin_layout Plain Layout
43062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43065 \begin_layout Plain Layout
43067 \begin_inset space \thinspace{}
43071 \begin_inset space \thinspace{}
43079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43082 \begin_layout Plain Layout
43090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43093 \begin_layout Plain Layout
43099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43102 \begin_layout Plain Layout
43104 \begin_inset space \thinspace{}
43108 \begin_inset space \thinspace{}
43116 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43119 \begin_layout Plain Layout
43127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43130 \begin_layout Plain Layout
43136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43139 \begin_layout Plain Layout
43141 \begin_inset space \thinspace{}
43145 \begin_inset space \thinspace{}
43153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43156 \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" usebox="none">
43176 \begin_layout Plain Layout
43177 scaled point (65536
43178 \begin_inset space \thinspace{}
43182 \begin_inset space \thinspace{}
43190 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43193 \begin_layout Plain Layout
43201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43204 \begin_layout Plain Layout
43210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43213 \begin_layout Plain Layout
43219 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43222 \begin_layout Plain Layout
43232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43235 \begin_layout Plain Layout
43241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43244 \begin_layout Plain Layout
43245 % of height between baselines of two subsequent text lines
43250 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43253 \begin_layout Plain Layout
43263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43266 \begin_layout Plain Layout
43272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43275 \begin_layout Plain Layout
43281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43284 \begin_layout Plain Layout
43294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43297 \begin_layout Plain Layout
43303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43306 \begin_layout Plain Layout
43312 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43315 \begin_layout Plain Layout
43325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43328 \begin_layout Plain Layout
43334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43337 \begin_layout Plain Layout
43343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43346 \begin_layout Plain Layout
43356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43359 \begin_layout Plain Layout
43365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43368 \begin_layout Plain Layout
43369 % of original image width
43374 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43377 \begin_layout Plain Layout
43385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43388 \begin_layout Plain Layout
43394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43397 \begin_layout Plain Layout
43403 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43406 \begin_layout Plain Layout
43416 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43419 \begin_layout Plain Layout
43425 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43428 \begin_layout Plain Layout
43434 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
43437 \begin_layout Plain Layout
43458 \begin_layout Chapter
43459 Output File Formats with Graphics
43460 \begin_inset CommandInset label
43462 name "cha:Output-File-Formats"
43469 \begin_layout Section
43471 \begin_inset Index idx
43474 \begin_layout Plain Layout
43481 \begin_inset Index idx
43484 \begin_layout Plain Layout
43489 \begin_layout Plain Layout
43500 \begin_layout Plain Layout
43515 \begin_layout Standard
43516 This file type has the extension
43517 \begin_inset Quotes eld
43525 \begin_inset Quotes erd
43530 \begin_inset Quotes eld
43534 \begin_inset Quotes erd
43537 (DVI), because it is completely portable; you can move them from one machine
43538 to another without needing to do any sort of conversion.
43539 At the time when this file-format was developed, this was no matter of
43541 DVIs are used for quick previews and as pre-stage for other output formats,
43545 \begin_layout Standard
43546 \begin_inset Note Greyedout
43549 \begin_layout Plain Layout
43554 DVI-files do not contain images; they will only be a linked.
43559 So don't forget this, if you move your
43563 file to another computer.
43564 This property can also slow down your computer when you view the DVI, because
43565 the DVI-viewer has to convert the image in the background to make it visible
43566 when you scroll in the DVI.
43567 So it is recommended that you use PDF for files with many images.
43570 \begin_layout Standard
43571 You can export your document to DVI by using the menu
43573 File\SpecialChar menuseparator
43574 Export\SpecialChar menuseparator
43578 You can view your document as DVI via the
43585 \begin_layout Section
43587 \begin_inset Index idx
43590 \begin_layout Plain Layout
43591 File Formats ! PostScript
43597 \begin_inset Index idx
43600 \begin_layout Plain Layout
43605 \begin_layout Plain Layout
43616 \begin_layout Plain Layout
43631 \begin_layout Standard
43632 This file type has the extension
43633 \begin_inset Quotes eld
43641 \begin_inset Quotes erd
43645 PostScript was developed by the company
43649 as a printer language.
43650 The file therefore contains commands that the printer uses to print the
43652 PostScript can be seen as a
43653 \begin_inset Quotes eld
43656 programming language
43657 \begin_inset Quotes erd
43660 ; you can calculate with it and draw diagrams and images.
43664 \begin_layout Plain Layout
43665 If you are interested to learn more about this, have a look at the \SpecialChar LaTeX
43672 \begin_inset CommandInset citation
43684 Due to this ability, the files are often bigger than PDFs.
43687 \begin_layout Standard
43688 PostScript can only contain images in the format
43689 \begin_inset Quotes eld
43692 Encapsulated PostScript
43693 \begin_inset Quotes erd
43696 (EPS, file extension
43697 \begin_inset Quotes eld
43705 \begin_inset Quotes erd
43709 As \SpecialChar LyX
43710 allows you to use any known image format in your document, it has to
43711 convert images in the background to EPS.
43713 \begin_inset space ~
43717 \begin_inset space ~
43720 images in your document, \SpecialChar LyX
43722 \begin_inset space ~
43725 conversions whenever you view or export your document.
43726 This will slow down your work flow with \SpecialChar LyX
43728 So if you plan to use PostScript, you can insert your images directly as
43729 EPS to avoid this problem.
43732 \begin_layout Standard
43733 You can export your document to PostScript using the menu
43735 File\SpecialChar menuseparator
43736 Export\SpecialChar menuseparator
43740 You can view your document as PostScript via the
43747 \begin_layout Section
43749 \begin_inset Index idx
43752 \begin_layout Plain Layout
43759 \begin_inset Index idx
43762 \begin_layout Plain Layout
43771 \begin_layout Standard
43772 This file type has the extension
43773 \begin_inset Quotes eld
43781 \begin_inset Quotes erd
43786 \begin_inset Quotes eld
43789 Portable Document Format
43790 \begin_inset Quotes erd
43793 (PDF) was developed by
43797 as a derivative of PostScript.
43798 It is more compressed and it uses fewer commands than PostScript.
43800 \begin_inset Quotes eld
43804 \begin_inset Quotes erd
43807 implies, it can be processed at any computer system and the printed output
43808 looks exactly the same.
43811 \begin_layout Standard
43812 PDF can contain images in its own PDF format, in the format
43813 \begin_inset Quotes eld
43816 Joint Photographic Experts Group
43817 \begin_inset Quotes erd
43820 (JPG, file extension
43821 \begin_inset Quotes eld
43829 \begin_inset Quotes erd
43833 \begin_inset Quotes eld
43841 \begin_inset Quotes erd
43844 ), and in the format
43845 \begin_inset Quotes eld
43848 Portable Network Graphics
43849 \begin_inset Quotes erd
43852 (PNG, file extension
43853 \begin_inset Quotes eld
43861 \begin_inset Quotes erd
43865 Nevertheless you can use any other image format, because \SpecialChar LyX
43867 in the background to one of these formats.
43868 But as described in the section about PostScript, the image conversion
43869 will slow down your work flow.
43870 So it is recommended that you use images in one of the three mentioned
43874 \begin_layout Standard
43875 You can export your document to PDF via the menu
43877 File\SpecialChar menuseparator
43880 in three different ways:
43883 \begin_layout Description
43885 \begin_inset space ~
43888 (ps2pdf) This uses the program
43892 that creates a PDF from a PostScript-version of your file.
43893 The PostScript-version is produced by the program
43897 which uses a DVI-version as intermediate step.
43898 So this export variant consists of three conversions.
43901 \begin_layout Description
43903 \begin_inset space ~
43906 (dvipdfm) This uses the program
43910 that converts your file in the background to DVI and in a second step to
43914 \begin_layout Description
43916 \begin_inset space ~
43919 (pdflatex) This uses the program
43923 that converts your file directly to PDF.
43926 \begin_layout Standard
43927 It is recommended that you use
43930 \begin_inset space ~
43939 supports all features of actual PDF-versions, is quick and works stable.
43944 is not under development and therefore a bit outdated.
43947 \begin_layout Standard
43948 You can view your document as PDF via the
43952 menu or by using a toolbar button.
43955 \begin_layout Chapter
43956 List of dvips color names
43957 \begin_inset CommandInset label
43959 name "chap:List-of-dvips-colornames"
43966 \begin_layout Standard
43967 \begin_inset Tabular
43968 <lyxtabular version="3" rows="17" columns="4">
43969 <features tabularvalignment="middle">
43970 <column alignment="left" valignment="top" width="0pt">
43971 <column alignment="left" valignment="top" width="0pt">
43972 <column alignment="left" valignment="top" width="0pt">
43973 <column alignment="left" valignment="top" width="0pt">
43975 <cell alignment="left" valignment="top" usebox="none">
43978 \begin_layout Plain Layout
43982 \begin_layout Plain Layout
43995 \begin_layout Plain Layout
44006 \begin_layout Plain Layout
44018 <cell alignment="left" valignment="top" usebox="none">
44021 \begin_layout Plain Layout
44025 \begin_layout Plain Layout
44038 \begin_layout Plain Layout
44049 \begin_layout Plain Layout
44061 <cell alignment="left" valignment="top" usebox="none">
44064 \begin_layout Plain Layout
44068 \begin_layout Plain Layout
44081 \begin_layout Plain Layout
44092 \begin_layout Plain Layout
44104 <cell alignment="left" valignment="top" usebox="none">
44107 \begin_layout Plain Layout
44111 \begin_layout Plain Layout
44124 \begin_layout Plain Layout
44135 \begin_layout Plain Layout
44149 <cell alignment="center" valignment="top" usebox="none">
44152 \begin_layout Plain Layout
44156 \begin_layout Plain Layout
44169 \begin_layout Plain Layout
44177 \begin_inset Phantom Phantom
44180 \begin_layout Plain Layout
44190 \begin_layout Plain Layout
44202 <cell alignment="center" valignment="top" usebox="none">
44205 \begin_layout Plain Layout
44209 \begin_layout Plain Layout
44222 \begin_layout Plain Layout
44230 \begin_inset Phantom Phantom
44233 \begin_layout Plain Layout
44243 \begin_layout Plain Layout
44255 <cell alignment="center" valignment="top" usebox="none">
44258 \begin_layout Plain Layout
44262 \begin_layout Plain Layout
44275 \begin_layout Plain Layout
44283 \begin_inset Phantom Phantom
44286 \begin_layout Plain Layout
44296 \begin_layout Plain Layout
44308 <cell alignment="center" valignment="top" usebox="none">
44311 \begin_layout Plain Layout
44315 \begin_layout Plain Layout
44328 \begin_layout Plain Layout
44336 \begin_inset Phantom Phantom
44339 \begin_layout Plain Layout
44349 \begin_layout Plain Layout
44363 <cell alignment="left" valignment="top" usebox="none">
44366 \begin_layout Plain Layout
44370 \begin_layout Plain Layout
44383 \begin_layout Plain Layout
44391 \begin_inset Phantom Phantom
44394 \begin_layout Plain Layout
44404 \begin_layout Plain Layout
44416 <cell alignment="left" valignment="top" usebox="none">
44419 \begin_layout Plain Layout
44423 \begin_layout Plain Layout
44436 \begin_layout Plain Layout
44444 \begin_inset Phantom Phantom
44447 \begin_layout Plain Layout
44457 \begin_layout Plain Layout
44469 <cell alignment="left" valignment="top" usebox="none">
44472 \begin_layout Plain Layout
44476 \begin_layout Plain Layout
44489 \begin_layout Plain Layout
44497 \begin_inset Phantom Phantom
44500 \begin_layout Plain Layout
44510 \begin_layout Plain Layout
44522 <cell alignment="left" valignment="top" usebox="none">
44525 \begin_layout Plain Layout
44529 \begin_layout Plain Layout
44542 \begin_layout Plain Layout
44550 \begin_inset Phantom Phantom
44553 \begin_layout Plain Layout
44563 \begin_layout Plain Layout
44577 <cell alignment="left" valignment="top" usebox="none">
44580 \begin_layout Plain Layout
44584 \begin_layout Plain Layout
44597 \begin_layout Plain Layout
44605 \begin_inset Phantom Phantom
44608 \begin_layout Plain Layout
44618 \begin_layout Plain Layout
44630 <cell alignment="left" valignment="top" usebox="none">
44633 \begin_layout Plain Layout
44637 \begin_layout Plain Layout
44650 \begin_layout Plain Layout
44658 \begin_inset Phantom Phantom
44661 \begin_layout Plain Layout
44671 \begin_layout Plain Layout
44683 <cell alignment="left" valignment="top" usebox="none">
44686 \begin_layout Plain Layout
44690 \begin_layout Plain Layout
44703 \begin_layout Plain Layout
44711 \begin_inset Phantom Phantom
44714 \begin_layout Plain Layout
44724 \begin_layout Plain Layout
44736 <cell alignment="left" valignment="top" usebox="none">
44739 \begin_layout Plain Layout
44743 \begin_layout Plain Layout
44756 \begin_layout Plain Layout
44764 \begin_inset Phantom Phantom
44767 \begin_layout Plain Layout
44777 \begin_layout Plain Layout
44791 <cell alignment="left" valignment="top" usebox="none">
44794 \begin_layout Plain Layout
44798 \begin_layout Plain Layout
44811 \begin_layout Plain Layout
44819 \begin_inset Phantom Phantom
44822 \begin_layout Plain Layout
44832 \begin_layout Plain Layout
44844 <cell alignment="left" valignment="top" usebox="none">
44847 \begin_layout Plain Layout
44851 \begin_layout Plain Layout
44864 \begin_layout Plain Layout
44872 \begin_inset Phantom Phantom
44875 \begin_layout Plain Layout
44885 \begin_layout Plain Layout
44897 <cell alignment="left" valignment="top" usebox="none">
44900 \begin_layout Plain Layout
44904 \begin_layout Plain Layout
44917 \begin_layout Plain Layout
44925 \begin_inset Phantom Phantom
44928 \begin_layout Plain Layout
44938 \begin_layout Plain Layout
44950 <cell alignment="left" valignment="top" usebox="none">
44953 \begin_layout Plain Layout
44957 \begin_layout Plain Layout
44970 \begin_layout Plain Layout
44978 \begin_inset Phantom Phantom
44981 \begin_layout Plain Layout
44991 \begin_layout Plain Layout
45005 <cell alignment="left" valignment="top" usebox="none">
45008 \begin_layout Plain Layout
45012 \begin_layout Plain Layout
45025 \begin_layout Plain Layout
45033 \begin_inset Phantom Phantom
45036 \begin_layout Plain Layout
45046 \begin_layout Plain Layout
45058 <cell alignment="left" valignment="top" usebox="none">
45061 \begin_layout Plain Layout
45065 \begin_layout Plain Layout
45078 \begin_layout Plain Layout
45086 \begin_inset Phantom Phantom
45089 \begin_layout Plain Layout
45099 \begin_layout Plain Layout
45111 <cell alignment="left" valignment="top" usebox="none">
45114 \begin_layout Plain Layout
45118 \begin_layout Plain Layout
45131 \begin_layout Plain Layout
45139 \begin_inset Phantom Phantom
45142 \begin_layout Plain Layout
45152 \begin_layout Plain Layout
45164 <cell alignment="left" valignment="top" usebox="none">
45167 \begin_layout Plain Layout
45171 \begin_layout Plain Layout
45184 \begin_layout Plain Layout
45192 \begin_inset Phantom Phantom
45195 \begin_layout Plain Layout
45205 \begin_layout Plain Layout
45219 <cell alignment="center" valignment="top" usebox="none">
45222 \begin_layout Plain Layout
45226 \begin_layout Plain Layout
45239 \begin_layout Plain Layout
45247 \begin_inset Phantom Phantom
45250 \begin_layout Plain Layout
45260 \begin_layout Plain Layout
45272 <cell alignment="center" valignment="top" usebox="none">
45275 \begin_layout Plain Layout
45279 \begin_layout Plain Layout
45292 \begin_layout Plain Layout
45300 \begin_inset Phantom Phantom
45303 \begin_layout Plain Layout
45313 \begin_layout Plain Layout
45325 <cell alignment="center" valignment="top" usebox="none">
45328 \begin_layout Plain Layout
45332 \begin_layout Plain Layout
45345 \begin_layout Plain Layout
45353 \begin_inset Phantom Phantom
45356 \begin_layout Plain Layout
45366 \begin_layout Plain Layout
45378 <cell alignment="center" valignment="top" usebox="none">
45381 \begin_layout Plain Layout
45385 \begin_layout Plain Layout
45398 \begin_layout Plain Layout
45406 \begin_inset Phantom Phantom
45409 \begin_layout Plain Layout
45419 \begin_layout Plain Layout
45433 <cell alignment="left" valignment="top" usebox="none">
45436 \begin_layout Plain Layout
45440 \begin_layout Plain Layout
45453 \begin_layout Plain Layout
45461 \begin_inset Phantom Phantom
45464 \begin_layout Plain Layout
45474 \begin_layout Plain Layout
45486 <cell alignment="left" valignment="top" usebox="none">
45489 \begin_layout Plain Layout
45493 \begin_layout Plain Layout
45506 \begin_layout Plain Layout
45514 \begin_inset Phantom Phantom
45517 \begin_layout Plain Layout
45527 \begin_layout Plain Layout
45539 <cell alignment="left" valignment="top" usebox="none">
45542 \begin_layout Plain Layout
45546 \begin_layout Plain Layout
45559 \begin_layout Plain Layout
45567 \begin_inset Phantom Phantom
45570 \begin_layout Plain Layout
45580 \begin_layout Plain Layout
45592 <cell alignment="left" valignment="top" usebox="none">
45595 \begin_layout Plain Layout
45599 \begin_layout Plain Layout
45612 \begin_layout Plain Layout
45620 \begin_inset Phantom Phantom
45623 \begin_layout Plain Layout
45633 \begin_layout Plain Layout
45647 <cell alignment="left" valignment="top" usebox="none">
45650 \begin_layout Plain Layout
45654 \begin_layout Plain Layout
45667 \begin_layout Plain Layout
45675 \begin_inset Phantom Phantom
45678 \begin_layout Plain Layout
45688 \begin_layout Plain Layout
45700 <cell alignment="left" valignment="top" usebox="none">
45703 \begin_layout Plain Layout
45707 \begin_layout Plain Layout
45720 \begin_layout Plain Layout
45728 \begin_inset Phantom Phantom
45731 \begin_layout Plain Layout
45741 \begin_layout Plain Layout
45753 <cell alignment="left" valignment="top" usebox="none">
45756 \begin_layout Plain Layout
45760 \begin_layout Plain Layout
45773 \begin_layout Plain Layout
45781 \begin_inset Phantom Phantom
45784 \begin_layout Plain Layout
45794 \begin_layout Plain Layout
45806 <cell alignment="left" valignment="top" usebox="none">
45809 \begin_layout Plain Layout
45813 \begin_layout Plain Layout
45826 \begin_layout Plain Layout
45834 \begin_inset Phantom Phantom
45837 \begin_layout Plain Layout
45847 \begin_layout Plain Layout
45861 <cell alignment="left" valignment="top" usebox="none">
45864 \begin_layout Plain Layout
45868 \begin_layout Plain Layout
45881 \begin_layout Plain Layout
45889 \begin_inset Phantom Phantom
45892 \begin_layout Plain Layout
45902 \begin_layout Plain Layout
45914 <cell alignment="left" valignment="top" usebox="none">
45917 \begin_layout Plain Layout
45921 \begin_layout Plain Layout
45934 \begin_layout Plain Layout
45942 \begin_inset Phantom Phantom
45945 \begin_layout Plain Layout
45955 \begin_layout Plain Layout
45967 <cell alignment="left" valignment="top" usebox="none">
45970 \begin_layout Plain Layout
45974 \begin_layout Plain Layout
45987 \begin_layout Plain Layout
45995 \begin_inset Phantom Phantom
45998 \begin_layout Plain Layout
46008 \begin_layout Plain Layout
46020 <cell alignment="left" valignment="top" usebox="none">
46023 \begin_layout Plain Layout
46027 \begin_layout Plain Layout
46040 \begin_layout Plain Layout
46048 \begin_inset Phantom Phantom
46051 \begin_layout Plain Layout
46061 \begin_layout Plain Layout
46075 <cell alignment="left" valignment="top" usebox="none">
46078 \begin_layout Plain Layout
46082 \begin_layout Plain Layout
46095 \begin_layout Plain Layout
46103 \begin_inset Phantom Phantom
46106 \begin_layout Plain Layout
46116 \begin_layout Plain Layout
46128 <cell alignment="left" valignment="top" usebox="none">
46131 \begin_layout Plain Layout
46135 \begin_layout Plain Layout
46148 \begin_layout Plain Layout
46156 \begin_inset Phantom Phantom
46159 \begin_layout Plain Layout
46169 \begin_layout Plain Layout
46181 <cell alignment="left" valignment="top" usebox="none">
46184 \begin_layout Plain Layout
46188 \begin_layout Plain Layout
46201 \begin_layout Plain Layout
46209 \begin_inset Phantom Phantom
46212 \begin_layout Plain Layout
46222 \begin_layout Plain Layout
46234 <cell alignment="left" valignment="top" usebox="none">
46237 \begin_layout Plain Layout
46241 \begin_layout Plain Layout
46254 \begin_layout Plain Layout
46262 \begin_inset Phantom Phantom
46265 \begin_layout Plain Layout
46275 \begin_layout Plain Layout
46289 <cell alignment="left" valignment="top" usebox="none">
46292 \begin_layout Plain Layout
46296 \begin_layout Plain Layout
46309 \begin_layout Plain Layout
46317 \begin_inset Phantom Phantom
46320 \begin_layout Plain Layout
46330 \begin_layout Plain Layout
46342 <cell alignment="left" valignment="top" usebox="none">
46345 \begin_layout Plain Layout
46349 \begin_layout Plain Layout
46362 \begin_layout Plain Layout
46370 \begin_inset Phantom Phantom
46373 \begin_layout Plain Layout
46383 \begin_layout Plain Layout
46395 <cell alignment="left" valignment="top" usebox="none">
46398 \begin_layout Plain Layout
46402 \begin_layout Plain Layout
46415 \begin_layout Plain Layout
46423 \begin_inset Phantom Phantom
46426 \begin_layout Plain Layout
46436 \begin_layout Plain Layout
46448 <cell alignment="left" valignment="top" usebox="none">
46451 \begin_layout Plain Layout
46455 \begin_layout Plain Layout
46468 \begin_layout Plain Layout
46476 \begin_inset Phantom Phantom
46479 \begin_layout Plain Layout
46489 \begin_layout Plain Layout
46503 <cell alignment="left" valignment="top" usebox="none">
46506 \begin_layout Plain Layout
46510 \begin_layout Plain Layout
46523 \begin_layout Plain Layout
46531 \begin_inset Phantom Phantom
46534 \begin_layout Plain Layout
46544 \begin_layout Plain Layout
46556 <cell alignment="left" valignment="top" usebox="none">
46559 \begin_layout Plain Layout
46563 \begin_layout Plain Layout
46576 \begin_layout Plain Layout
46584 \begin_inset Phantom Phantom
46587 \begin_layout Plain Layout
46597 \begin_layout Plain Layout
46609 <cell alignment="left" valignment="top" usebox="none">
46612 \begin_layout Plain Layout
46616 \begin_layout Plain Layout
46629 \begin_layout Plain Layout
46637 \begin_inset Phantom Phantom
46640 \begin_layout Plain Layout
46650 \begin_layout Plain Layout
46662 <cell alignment="left" valignment="top" usebox="none">
46665 \begin_layout Plain Layout
46669 \begin_layout Plain Layout
46682 \begin_layout Plain Layout
46690 \begin_inset Phantom Phantom
46693 \begin_layout Plain Layout
46703 \begin_layout Plain Layout
46717 <cell alignment="left" valignment="top" usebox="none">
46720 \begin_layout Plain Layout
46724 \begin_layout Plain Layout
46737 \begin_layout Plain Layout
46745 \begin_inset Phantom Phantom
46748 \begin_layout Plain Layout
46758 \begin_layout Plain Layout
46770 <cell alignment="left" valignment="top" usebox="none">
46773 \begin_layout Plain Layout
46777 \begin_layout Plain Layout
46790 \begin_layout Plain Layout
46798 \begin_inset Phantom Phantom
46801 \begin_layout Plain Layout
46811 \begin_layout Plain Layout
46823 <cell alignment="left" valignment="top" usebox="none">
46826 \begin_layout Plain Layout
46830 \begin_layout Plain Layout
46843 \begin_layout Plain Layout
46851 \begin_inset Phantom Phantom
46854 \begin_layout Plain Layout
46864 \begin_layout Plain Layout
46876 <cell alignment="left" valignment="top" usebox="none">
46879 \begin_layout Plain Layout
46883 \begin_layout Plain Layout
46896 \begin_layout Plain Layout
46904 \begin_inset Phantom Phantom
46907 \begin_layout Plain Layout
46917 \begin_layout Plain Layout
46931 <cell alignment="left" valignment="top" usebox="none">
46934 \begin_layout Plain Layout
46938 \begin_layout Plain Layout
46951 \begin_layout Plain Layout
46959 \begin_inset Phantom Phantom
46962 \begin_layout Plain Layout
46972 \begin_layout Plain Layout
46984 <cell alignment="left" valignment="top" usebox="none">
46987 \begin_layout Plain Layout
46991 \begin_layout Plain Layout
47004 \begin_layout Plain Layout
47012 \begin_inset Phantom Phantom
47015 \begin_layout Plain Layout
47025 \begin_layout Plain Layout
47037 <cell alignment="left" valignment="top" usebox="none">
47040 \begin_layout Plain Layout
47044 \begin_layout Plain Layout
47057 \begin_layout Plain Layout
47065 \begin_inset Phantom Phantom
47068 \begin_layout Plain Layout
47078 \begin_layout Plain Layout
47090 <cell alignment="left" valignment="top" usebox="none">
47093 \begin_layout Plain Layout
47097 \begin_layout Plain Layout
47110 \begin_layout Plain Layout
47118 \begin_inset Phantom Phantom
47121 \begin_layout Plain Layout
47131 \begin_layout Plain Layout
47145 <cell alignment="left" valignment="top" usebox="none">
47148 \begin_layout Plain Layout
47152 \begin_layout Plain Layout
47165 \begin_layout Plain Layout
47173 \begin_inset Phantom Phantom
47176 \begin_layout Plain Layout
47186 \begin_layout Plain Layout
47198 <cell alignment="left" valignment="top" usebox="none">
47201 \begin_layout Plain Layout
47205 \begin_layout Plain Layout
47218 \begin_layout Plain Layout
47226 \begin_inset Phantom Phantom
47229 \begin_layout Plain Layout
47239 \begin_layout Plain Layout
47251 <cell alignment="left" valignment="top" usebox="none">
47254 \begin_layout Plain Layout
47258 \begin_layout Plain Layout
47271 \begin_layout Plain Layout
47279 \begin_inset Phantom Phantom
47282 \begin_layout Plain Layout
47292 \begin_layout Plain Layout
47304 <cell alignment="left" valignment="top" usebox="none">
47307 \begin_layout Plain Layout
47311 \begin_layout Plain Layout
47324 \begin_layout Plain Layout
47332 \begin_inset Phantom Phantom
47335 \begin_layout Plain Layout
47345 \begin_layout Plain Layout
47359 <cell alignment="left" valignment="top" usebox="none">
47362 \begin_layout Plain Layout
47366 \begin_layout Plain Layout
47379 \begin_layout Plain Layout
47387 \begin_inset Phantom Phantom
47390 \begin_layout Plain Layout
47400 \begin_layout Plain Layout
47412 <cell alignment="left" valignment="top" usebox="none">
47415 \begin_layout Plain Layout
47421 <cell alignment="left" valignment="top" usebox="none">
47424 \begin_layout Plain Layout
47430 <cell alignment="left" valignment="top" usebox="none">
47433 \begin_layout Plain Layout
47447 \begin_layout Chapter
47448 Explanation of Equation
47449 \begin_inset space ~
47453 \begin_inset CommandInset ref
47460 \begin_inset CommandInset label
47462 name "cha:Explanation-of-Equation"
47469 \begin_layout Standard
47470 We can calculate the total width of
47475 \begin_inset Formula $W_{\mathrm{tot\,n}}$
47479 \begin_inset Formula
47481 W_{\mathrm{tot}\,n}=n\cdot(W_{g\,n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
47487 \begin_inset Formula $W_{g\,n}$
47490 is the given width of all cells,
47496 is the \SpecialChar LaTeX
47497 -length between the cell text and the cell border (its default value
47499 \begin_inset space \thinspace{}
47509 is the thickness of the cell border line, the default is 0.4
47510 \begin_inset space \thinspace{}
47516 \begin_layout Standard
47518 \begin_inset space ~
47522 \begin_inset CommandInset ref
47524 reference "eq:Wtot_n"
47528 , the total width of a multicolumn
47529 \begin_inset Formula $W_{\mathrm{tot\,mult}}$
47533 \begin_inset Formula
47535 W_{\mathrm{tot\,mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
47543 \begin_layout Standard
47544 By setting equation
47545 \begin_inset space ~
47549 \begin_inset CommandInset ref
47551 reference "eq:Wtot_n"
47556 \begin_inset CommandInset ref
47558 reference "eq:Wtot_mult"
47562 equal we can calculate the needed given width
47563 \begin_inset Formula $W_{g\,n}$
47570 columns are spanned, so that each column has a total width of
47571 \begin_inset Formula $W_{\mathrm{tot\,mult}}/n$
47575 \begin_inset Formula
47577 W_{g\,n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
47585 \begin_layout Bibliography
47586 \begin_inset CommandInset bibitem
47587 LatexCommand bibitem
47588 key "latexcompanion"
47593 Frank Mittelbach and Michel Goossens:
47595 The \SpecialChar LaTeX
47596 Companion Second Edition.
47599 Addison-Wesley, 2004
47602 \begin_layout Bibliography
47603 \begin_inset CommandInset bibitem
47604 LatexCommand bibitem
47610 Helmut Kopka and Patrick W.
47613 A Guide to \SpecialChar LaTeX
47617 Addison-Wesley, 2003
47620 \begin_layout Bibliography
47621 \begin_inset CommandInset bibitem
47622 LatexCommand bibitem
47631 : A Document Preparation System.
47634 Addison-Wesley, second edition, 1994
47637 \begin_layout Bibliography
47638 \begin_inset CommandInset bibitem
47639 LatexCommand bibitem
47645 Documentation of the \SpecialChar LaTeX
47649 \begin_inset CommandInset href
47652 target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
47660 \begin_inset Index idx
47663 \begin_layout Plain Layout
47665 -packages ! arydshln
47673 \begin_layout Bibliography
47674 \begin_inset CommandInset bibitem
47675 LatexCommand bibitem
47681 Documentation of the \SpecialChar LaTeX
47685 \begin_inset CommandInset href
47688 target "https://www.ctan.org/tex-archive/macros/latex/contrib//booktabs/booktabs.pdf"
47696 \begin_inset Index idx
47699 \begin_layout Plain Layout
47701 -packages ! booktabs
47709 \begin_layout Bibliography
47710 \begin_inset CommandInset bibitem
47711 LatexCommand bibitem
47717 Documentation of the \SpecialChar LaTeX
47721 \begin_inset CommandInset href
47724 target "https://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"
47732 \begin_inset Index idx
47735 \begin_layout Plain Layout
47737 -packages ! caption
47745 \begin_layout Bibliography
47746 \begin_inset CommandInset bibitem
47747 LatexCommand bibitem
47753 Documentation of the \SpecialChar LaTeX
47757 \begin_inset CommandInset href
47760 target "https://www.ctan.org/tex-archive/macros/latex/contrib//diagbox/diagbox.pdf"
47768 \begin_inset Index idx
47771 \begin_layout Plain Layout
47773 -packages ! diagbox
47781 \begin_layout Bibliography
47782 \begin_inset CommandInset bibitem
47783 LatexCommand bibitem
47789 Documentation of the \SpecialChar LaTeX
47793 \begin_inset CommandInset href
47796 target "https://www.ctan.org/tex-archive/macros/latex/contrib//endfloat/endfloat.pdf"
47804 \begin_inset Index idx
47807 \begin_layout Plain Layout
47809 -packages ! endfloat
47817 \begin_layout Bibliography
47818 \begin_inset CommandInset bibitem
47819 LatexCommand bibitem
47825 Documentation of the \SpecialChar LaTeX
47829 \begin_inset CommandInset href
47832 target "https://www.ctan.org/tex-archive/macros/latex/contrib//footmisc/footmisc.pdf"
47840 \begin_inset Index idx
47843 \begin_layout Plain Layout
47845 -packages ! footmisc
47853 \begin_layout Bibliography
47854 \begin_inset CommandInset bibitem
47855 LatexCommand bibitem
47861 Documentation of the \SpecialChar LaTeX
47865 \begin_inset CommandInset href
47868 target "https://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
47876 \begin_inset Index idx
47879 \begin_layout Plain Layout
47881 -packages ! hyperref
47889 \begin_layout Bibliography
47890 \begin_inset CommandInset bibitem
47891 LatexCommand bibitem
47897 Documentation of the \SpecialChar LaTeX
47901 \begin_inset CommandInset href
47904 target "https://www.ctan.org/tex-archive/macros/latex/contrib//hyperref/hyperref.pdf"
47912 \begin_inset Index idx
47915 \begin_layout Plain Layout
47917 -packages ! hyperref
47925 \begin_layout Bibliography
47926 \begin_inset CommandInset bibitem
47927 LatexCommand bibitem
47933 Documentation of the \SpecialChar LaTeX
47937 \begin_inset CommandInset href
47940 target "https://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf"
47948 \begin_inset Index idx
47951 \begin_layout Plain Layout
47953 -packages ! KOMA-Script
47961 \begin_layout Bibliography
47962 \begin_inset CommandInset bibitem
47963 LatexCommand bibitem
47969 Documentation of the \SpecialChar LaTeX
47973 \begin_inset CommandInset href
47976 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/lettrine.pdf"
47984 \begin_inset CommandInset href
47987 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/demo.pdf"
47993 \begin_inset Index idx
47996 \begin_layout Plain Layout
47998 -packages ! lettrine
48006 \begin_layout Bibliography
48007 \begin_inset CommandInset bibitem
48008 LatexCommand bibitem
48014 Documentation of the \SpecialChar LaTeX
48018 \begin_inset CommandInset href
48021 target "https://www.ctan.org/tex-archive/macros/latex/contrib//listings/listings.pdf"
48029 \begin_inset Index idx
48032 \begin_layout Plain Layout
48034 -packages ! listings
48042 \begin_layout Bibliography
48043 \begin_inset CommandInset bibitem
48044 LatexCommand bibitem
48050 Documentation of the \SpecialChar LaTeX
48054 \begin_inset CommandInset href
48057 target "https://www.ctan.org/tex-archive/macros/latex/contrib//minted/minted.pdf"
48065 \begin_inset Index idx
48068 \begin_layout Plain Layout
48078 \begin_layout Bibliography
48079 \begin_inset CommandInset bibitem
48080 LatexCommand bibitem
48086 Documentation of the \SpecialChar LaTeX
48090 \begin_inset CommandInset href
48093 target "https://www.ctan.org/tex-archive/macros/latex/contrib//marginnote/marginnote.pdf"
48101 \begin_inset Index idx
48104 \begin_layout Plain Layout
48106 -packages ! marginnote
48114 \begin_layout Bibliography
48115 \begin_inset CommandInset bibitem
48116 LatexCommand bibitem
48122 Documentation of the \SpecialChar LaTeX
48126 \begin_inset CommandInset href
48129 target "https://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
48137 \begin_inset Index idx
48140 \begin_layout Plain Layout
48142 -packages ! pdfpages
48150 \begin_layout Bibliography
48151 \begin_inset CommandInset bibitem
48152 LatexCommand bibitem
48158 Documentation of the \SpecialChar LaTeX
48162 \begin_inset CommandInset href
48165 target "https://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
48173 \begin_inset Index idx
48176 \begin_layout Plain Layout
48178 -packages ! prettyref
48186 \begin_layout Bibliography
48187 \begin_inset CommandInset bibitem
48188 LatexCommand bibitem
48194 Web page of the \SpecialChar LaTeX
48198 \begin_inset CommandInset href
48201 target "http://tug.org/PSTricks/"
48209 \begin_inset Index idx
48212 \begin_layout Plain Layout
48214 -packages ! PSTricks
48222 \begin_layout Bibliography
48223 \begin_inset CommandInset bibitem
48224 LatexCommand bibitem
48230 Documentation of the \SpecialChar LaTeX
48234 \begin_inset CommandInset href
48237 target "https://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
48245 \begin_inset Index idx
48248 \begin_layout Plain Layout
48250 -packages ! refstyle
48258 \begin_layout Bibliography
48259 \begin_inset CommandInset bibitem
48260 LatexCommand bibitem
48266 Documentation of the \SpecialChar LaTeX
48270 \begin_inset CommandInset href
48273 target "https://www.ctan.org/tex-archive/macros/latex/contrib//sidecap/sidecap.pdf"
48281 \begin_inset Index idx
48284 \begin_layout Plain Layout
48286 -packages ! sidecap
48294 \begin_layout Bibliography
48295 \begin_inset CommandInset bibitem
48296 LatexCommand bibitem
48302 Documentation of the option
48303 \begin_inset CommandInset href
48305 name "Omit text in PDF"
48306 target "https://www.ctan.org/tex-archive/info/svg-inkscape/InkscapePDFLaTeX.pdf"
48314 \begin_inset CommandInset href
48317 target "https://inkscape.org"
48325 \begin_layout Standard
48326 \begin_inset CommandInset index_print
48327 LatexCommand printindex