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 274215730 "scott"
257 \author 630872221 "Jean-Pierre Chrétien" jeanpierre.chretien@free.fr
268 Boxes and External Material manual
272 by the \SpecialChar LyX
277 \begin_layout Plain Layout
279 If you have comments or error corrections,
280 please send them to the \SpecialChar LyX
281 Documentation mailing list:
283 \begin_inset CommandInset href
285 name "lyx-docs@lists.lyx.org"
286 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
298 \begin_inset Note Note
301 \begin_layout Plain Layout
309 \begin_inset Newline newline
313 \begin_inset Newline newline
321 \begin_layout Standard
322 \begin_inset CommandInset toc
323 LatexCommand tableofcontents
330 \begin_layout Standard
331 \begin_inset Note Note
334 \begin_layout Plain Layout
335 To export all parts of this document to PDF,
337 or DVI the \SpecialChar LaTeX
360 If they are not installed you can export the document anyway but the sections where the packages are required won't appear in the output.
363 \begin_layout Plain Layout
364 The latest PDF-version of this document can be found here:
365 \begin_inset Newline newline
370 https://wiki.lyx.org/LyX/Manuals#EmbeddedObjects
378 \begin_layout Chapter
380 \begin_inset Index idx
385 \begin_layout Plain Layout
392 \begin_inset Index idx
397 \begin_layout Plain Layout
399 \begin_inset IndexMacro see
402 \begin_layout Plain Layout
416 \begin_layout Section
418 \begin_inset Index idx
423 \begin_layout Plain Layout
425 \begin_inset IndexMacro subentry
428 \begin_layout Plain Layout
440 \begin_inset CommandInset label
442 name "sec:Graphics-Dialog"
449 \begin_layout Standard
450 To insert an image into your document,
451 place the cursor at the text position you want and click on the toolbar icon
454 arg "dialog-show-new-inset graphics"
459 Insert\SpecialChar menuseparator
463 Then a dialog will appear to choose the file to load.
464 The image will appear in the output exactly at the position where it is in the text.
467 \begin_layout Standard
468 The graphics dialog can be called at any time by clicking on an image.
469 This dialog has three tabs:
472 \begin_layout Description
477 Here you can choose an image file and adjust its appearance in the output.
478 The available units for the image size are explained in appendix
483 \begin_inset CommandInset ref
485 reference "cha:Units-available-in"
491 \begin_inset Newline newline
495 \begin_inset Index idx
500 \begin_layout Plain Layout
502 \begin_inset IndexMacro subentry
505 \begin_layout Plain Layout
516 You can rotate images counter-clockwise by setting a rotation angle and a rotation origin.
517 The image will also be rotated inside \SpecialChar LyX
519 \begin_inset Newline newline
523 \begin_inset Index idx
528 \begin_layout Plain Layout
530 \begin_inset IndexMacro subentry
533 \begin_layout Plain Layout
544 Images can be scaled by using a percentage value or by setting the width and height explicitly.
545 If you set only the width or only the height,
546 the other size will be determined automatically.
548 then the image will be transformed to the given size,
549 possibly distorting it.
550 To prevent the image from distortion,
553 Maintain aspect ratio
556 The image will then be scaled so that its width and height don't exceed the specified dimensions.
557 \begin_inset Newline newline
560 Images can be opened in a program of your choice by right-clicking on it and choosing the entry
569 The program can be set for every image format in the file format settings in \SpecialChar LyX
573 \begin_layout Description
586 Alternatively to the usage of scaling units it is possible to set image coordinates to adjust the height and width of the image in the output.
587 The coordinates can also be calculated automatically by pressing the button
616 will only print the image region within the given coordinates.
617 Normally you don't need to worry about image coordinates and can ignore this tab.
620 \begin_layout Description
637 In this tab you can modify the appearance of the image within \SpecialChar LyX
638 and \SpecialChar LaTeX
639 experts can specify additional \SpecialChar LaTeX
641 \begin_inset Newline newline
652 makes the image appear in the output only as a frame with the size of the image.
653 \begin_inset Newline newline
664 you can define or join an image settings group.
665 \begin_inset Index idx
670 \begin_layout Plain Layout
672 \begin_inset IndexMacro subentry
675 \begin_layout Plain Layout
686 Images within such a group share their settings,
687 so adjusting one image of the group automatically also adjusts all other images of the group in the same way.
688 So you can for example change the size for a bunch of images without the need to manually change each of them.
689 Joining an existing group can also be done using the context menu of the image by checking the name of the desired group.
692 \begin_layout Standard
693 \begin_inset VSpace bigskip
699 \begin_layout Standard
700 This is an example image in PDF format
704 \begin_layout Plain Layout
705 Image formats are explained in section
710 \begin_inset CommandInset ref
712 reference "sec:Image-Formats"
723 horizontally centered paragraph:
726 \begin_layout Standard
728 \begin_inset Graphics
729 filename clipart/2D-intensity-plot.pdf
738 \begin_layout Standard
739 This is the same image like the one above but in draft mode:
742 \begin_layout Standard
744 \begin_inset Graphics
745 filename clipart/2D-intensity-plot.pdf
755 \begin_layout Standard
756 \begin_inset Newpage newpage
762 \begin_layout Section
764 \begin_inset CommandInset label
766 name "sec:Figure-Floats"
771 \begin_inset Index idx
776 \begin_layout Plain Layout
778 \begin_inset IndexMacro subentry
781 \begin_layout Plain Layout
793 \begin_inset Index idx
798 \begin_layout Plain Layout
800 \begin_inset IndexMacro subentry
803 \begin_layout Plain Layout
817 \begin_layout Standard
818 For general explanations about floats,
819 have a look at section
824 \begin_inset CommandInset ref
826 reference "sec:FloatIntroduction"
834 \begin_layout Standard
838 arg "float-insert figure"
843 Insert\SpecialChar menuseparator
844 Float\SpecialChar menuseparator
847 inserts a float with a caption that has the label
848 \begin_inset Quotes eld
856 \begin_inset Quotes erd
859 (# is the actual number).
860 You can insert the image above the caption,
866 \begin_inset CommandInset ref
868 reference "fig:A-star-in"
873 or below the caption,
879 \begin_inset CommandInset ref
881 reference "fig:A-3D-object"
887 More about caption placement is described in section
892 \begin_inset CommandInset ref
894 reference "sec:Caption-Placement"
902 \begin_layout Standard
903 \begin_inset Float figure
910 \begin_layout Plain Layout
912 \begin_inset Graphics
913 filename clipart/Star-structure.pdf
924 \begin_layout Plain Layout
925 \begin_inset Caption Standard
927 \begin_layout Plain Layout
928 \begin_inset CommandInset label
947 \begin_layout Standard
948 \begin_inset Float figure
955 \begin_layout Plain Layout
956 \begin_inset Caption Standard
958 \begin_layout Plain Layout
959 \begin_inset CommandInset label
961 name "fig:A-3D-object"
973 \begin_layout Plain Layout
975 \begin_inset Graphics
976 filename clipart/3D-structure-distort.pdf
992 \begin_layout Standard
993 \begin_inset Index idx
998 \begin_layout Plain Layout
1000 \begin_inset IndexMacro subentry
1003 \begin_layout Plain Layout
1015 \begin_inset space ~
1019 \begin_inset CommandInset ref
1021 reference "fig:A-star-in"
1027 \begin_inset CommandInset ref
1029 reference "fig:A-3D-object"
1034 are examples of referenced figures.
1035 Figures can be referenced in the text by referencing their label.
1036 To do this insert a label in the caption using the menu
1038 Insert\SpecialChar menuseparator
1041 or the toolbar button
1048 You can now refer to the label using the menu
1050 Insert\SpecialChar menuseparator
1052 \begin_inset space ~
1057 or the toolbar button
1060 arg "dialog-show-new-inset ref"
1064 It is important to use references to floats,
1065 rather than using vague references like
1066 \begin_inset Quotes eld
1070 \begin_inset Quotes erd
1074 because \SpecialChar LaTeX
1075 will reposition the floats in the final document and it might not be
1076 \begin_inset Quotes eld
1080 \begin_inset Quotes erd
1084 \begin_inset Newline newline
1087 Referencing is explained in detail in section
1088 \begin_inset space ~
1092 \begin_inset CommandInset ref
1094 reference "sec:Referencing-Floats"
1102 \begin_layout Standard
1103 Normally only one image is inserted to a figure float,
1104 but sometimes you might want to use two images with separate subcaptions.
1105 This can be done by inserting image floats into existing image floats.
1106 Note that only the main caption of the float is added to the List of Figures.
1108 \begin_inset space ~
1112 \begin_inset CommandInset ref
1114 reference "fig:Two-distorted-images"
1119 is an example of a figure float with two images set side by side.
1120 You can also set the images one below the other.
1122 \begin_inset space ~
1126 \begin_inset CommandInset ref
1128 reference "fig:Pink-object"
1134 \begin_inset CommandInset ref
1136 reference "fig:A-star"
1144 \begin_layout Standard
1145 \begin_inset Float figure
1152 \begin_layout Plain Layout
1153 \begin_inset space \hfill{}
1157 \begin_inset Float figure
1164 \begin_layout Plain Layout
1165 \begin_inset Caption Standard
1167 \begin_layout Plain Layout
1168 \begin_inset CommandInset label
1170 name "fig:Pink-object"
1182 \begin_layout Plain Layout
1183 \begin_inset Graphics
1184 filename clipart/3D-structure-distort.pdf
1197 \begin_inset space \hfill{}
1201 \begin_inset Float figure
1208 \begin_layout Plain Layout
1209 \begin_inset Caption Standard
1211 \begin_layout Plain Layout
1212 \begin_inset CommandInset label
1226 \begin_layout Plain Layout
1227 \begin_inset Graphics
1228 filename clipart/Star-structure.pdf
1241 \begin_inset space \hfill{}
1247 \begin_layout Plain Layout
1248 \begin_inset Caption Standard
1250 \begin_layout Plain Layout
1251 \begin_inset CommandInset label
1253 name "fig:Two-distorted-images"
1257 Two distorted images.
1258 Both images are in the image settings group named
1259 \begin_inset Quotes eld
1263 \begin_inset Quotes erd
1279 \begin_layout Standard
1280 \begin_inset Newpage newpage
1286 \begin_layout Section
1288 \begin_inset CommandInset label
1290 name "sec:Image-Formats"
1295 \begin_inset Index idx
1300 \begin_layout Plain Layout
1307 \begin_inset Index idx
1312 \begin_layout Plain Layout
1314 \begin_inset IndexMacro subentry
1317 \begin_layout Plain Layout
1331 \begin_layout Standard
1332 You can insert images in any known file format.
1333 But as explained in appendix
1334 \begin_inset space ~
1338 \begin_inset CommandInset ref
1340 reference "cha:Output-File-Formats"
1346 each output document format allows only a few image formats.
1348 uses therefore the program
1352 in the background to convert the images to the right format.
1353 To increase your work flow by avoiding these conversions in the background,
1354 you could choose to use only the image formats that can directly be embedded in the output file format.
1355 The output file formats are explained in appendix
1356 \begin_inset space ~
1360 \begin_inset CommandInset ref
1362 reference "cha:Output-File-Formats"
1370 \begin_layout Standard
1371 Similar to fonts there are two types of image formats:
1374 \begin_layout Description
1376 \begin_inset space ~
1379 images consist of pixel values,
1380 often in a compressed form.
1381 They are therefore not fully scalable and look pixelated in large zooms.
1382 Well-known bitmap image formats are
1383 \begin_inset Quotes eld
1386 Graphics Interchange Format
1387 \begin_inset Quotes erd
1392 \begin_inset Quotes eld
1400 \begin_inset Quotes erd
1404 \begin_inset Index idx
1409 \begin_layout Plain Layout
1411 \begin_inset IndexMacro see
1414 \begin_layout Plain Layout
1427 \begin_inset Quotes eld
1430 Portable Network Graphics
1431 \begin_inset Quotes erd
1436 \begin_inset Quotes eld
1444 \begin_inset Quotes erd
1448 \begin_inset Index idx
1453 \begin_layout Plain Layout
1455 \begin_inset IndexMacro see
1458 \begin_layout Plain Layout
1471 \begin_inset Quotes eld
1474 Joint Photographic Experts Group
1475 \begin_inset Quotes erd
1480 \begin_inset Quotes eld
1488 \begin_inset Quotes erd
1492 \begin_inset Quotes eld
1500 \begin_inset Quotes erd
1504 \begin_inset Index idx
1509 \begin_layout Plain Layout
1511 \begin_inset IndexMacro see
1514 \begin_layout Plain Layout
1528 \begin_layout Description
1530 \begin_inset space ~
1533 images consist of vectors and can therefore be scaled to any size without data loss.
1534 The scaling ability is necessary if you want to create presentations,
1535 because presentations are always scaled by the video projector.
1536 Scaling is also useful for online documents to let the user zoom into diagrams.
1537 \begin_inset Newline newline
1540 Well-known scalable image formats are
1541 \begin_inset Quotes eld
1544 Scalable Vector Graphics
1545 \begin_inset Quotes erd
1550 \begin_inset Quotes eld
1558 \begin_inset Quotes erd
1562 \begin_inset Index idx
1567 \begin_layout Plain Layout
1569 \begin_inset IndexMacro see
1572 \begin_layout Plain Layout
1585 \begin_inset Quotes eld
1588 Encapsulated PostScript
1589 \begin_inset Quotes erd
1594 \begin_inset Quotes eld
1602 \begin_inset Quotes erd
1606 \begin_inset Index idx
1611 \begin_layout Plain Layout
1613 \begin_inset IndexMacro see
1616 \begin_layout Plain Layout
1629 \begin_inset Quotes eld
1632 Portable Document Format
1633 \begin_inset Quotes erd
1638 \begin_inset Quotes eld
1646 \begin_inset Quotes erd
1650 \begin_inset Index idx
1655 \begin_layout Plain Layout
1663 \begin_inset Quotes eld
1667 \begin_inset Quotes erd
1672 \begin_inset Quotes eld
1680 \begin_inset Quotes erd
1684 \begin_inset Index idx
1689 \begin_layout Plain Layout
1691 \begin_inset IndexMacro see
1694 \begin_layout Plain Layout
1707 \begin_inset Quotes eld
1711 \begin_inset Quotes erd
1715 because you can convert any bitmap image to a PDF or EPS-image and the result will still be a bitmap image.
1716 In such cases only a header with the image properties is added to the original image
1720 \begin_layout Plain Layout
1722 the original image is additionally compressed.
1728 The PDF-files generated by
1732 are for example bitmap images.
1735 \begin_layout Standard
1736 Normally it is not possible to convert a bitmap image into a scalable one,
1738 Only the image formats PDF and EPS can directly be embedded to PDF and PostScript output files,
1740 SVG and WMF-images are recalculated to bitmaps when the output file is generated because there is currently no adequate WMF/SVG
1741 \begin_inset Formula $\to$
1744 PDF/EPS converter available.
1747 \begin_layout Chapter
1749 \begin_inset Index idx
1754 \begin_layout Plain Layout
1763 \begin_layout Section
1765 \begin_inset Index idx
1770 \begin_layout Plain Layout
1772 \begin_inset IndexMacro subentry
1775 \begin_layout Plain Layout
1789 \begin_layout Standard
1790 You can insert a table using either the toolbar button
1793 arg "tabular-insert"
1798 Insert\SpecialChar menuseparator
1802 The toolbar button offers you a graphical selection:
1803 move the mouse to set the column/row number of the table that should be created and then press a mouse button.
1804 When you use the menu to create a table,
1805 a dialog will appear,
1806 asking you for the number of rows and columns
1807 \change_inserted -712698321 1554289643
1809 and you can select a specific (border) style
1812 \change_deleted -712698321 1554289644
1814 \begin_inset Newline newline
1818 \change_inserted -712698321 1554289645
1822 \begin_layout Standard
1823 The default table has lines around any cell and the first row appears separated from the rest of the table.
1824 This separation occurs due to a double line:
1825 The cells of the first row have a line below them and the cells of the second row have a line above them.
1826 Here is an example table:
1829 \begin_layout Standard
1831 \begin_inset Tabular
1832 <lyxtabular version="3" rows="4" columns="4">
1833 <features tabularvalignment="middle">
1834 <column alignment="center" valignment="top">
1835 <column alignment="center" valignment="top">
1836 <column alignment="center" valignment="top">
1837 <column alignment="center" valignment="top">
1839 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1842 \begin_layout Plain Layout
1848 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1851 \begin_layout Plain Layout
1866 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1869 \begin_layout Plain Layout
1875 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1878 \begin_layout Plain Layout
1886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1889 \begin_layout Plain Layout
1904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1907 \begin_layout Plain Layout
1913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1916 \begin_layout Plain Layout
1922 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1925 \begin_layout Plain Layout
1933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1936 \begin_layout Plain Layout
1951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1954 \begin_layout Plain Layout
1960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1963 \begin_layout Plain Layout
1969 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1972 \begin_layout Plain Layout
1980 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1983 \begin_layout Plain Layout
1998 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2001 \begin_layout Plain Layout
2007 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2010 \begin_layout Plain Layout
2016 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2019 \begin_layout Plain Layout
2033 \begin_layout Standard
2035 \change_inserted -712698321 1554289664
2036 This corresponds to the
2037 \begin_inset Quotes eld
2041 \begin_inset Quotes erd
2044 table style listed in the style selection.
2047 \begin_layout Standard
2049 \change_inserted -712698321 1554289664
2050 Other available styles include:
2053 \begin_layout Itemize
2055 \change_inserted -712698321 1554289664
2057 \begin_inset Quotes eld
2061 \begin_inset Quotes erd
2064 which looks line the above table,
2065 but without the first row being separated via double line,
2068 \begin_layout Itemize
2070 \change_inserted -712698321 1554289664
2071 a border-less table with no lines at all,
2074 \begin_layout Itemize
2076 \change_inserted -712698321 1554289664
2078 \begin_inset Quotes eld
2082 \begin_inset Quotes erd
2085 as often used in professional publishing with horizontal lines only and bold top/bottom lines (see
2096 \change_inserted 630872221 1622640694
2097 It is also possible to have an horizontal (thin) Footline above the last line.
2102 \begin_layout Standard
2104 \change_inserted -712698321 1554289664
2105 The default style used in the dialog as well as the style used by the toolbar button can be changed in
2107 Document\SpecialChar menuseparator
2108 Settings\SpecialChar menuseparator
2112 So if the default style above is not the one you need,
2113 you should alter this setting.
2116 \begin_layout Section
2118 \begin_inset Index idx
2123 \begin_layout Plain Layout
2125 \begin_inset IndexMacro subentry
2128 \begin_layout Plain Layout
2142 \begin_layout Standard
2143 You can alter a table by clicking on it with the right mouse button,
2144 which brings up the context menu.
2145 Under the menu entry
2149 you can adjust the settings of that cell and row/column respectively where the cursor is currently placed.
2152 More\SpecialChar menuseparator
2155 opens the table dialog where you can adjust more things.
2156 Most of the dialog options also work on selections.
2157 This means if you select more cells,
2159 the action is done for the whole selection.
2160 Note that there is a difference between selecting the
2165 and the cell itself.
2166 \begin_inset Newline newline
2169 With the dialog option
2172 \begin_inset space ~
2177 every change you make in the dialog is directly applied.
2178 If you move the cursor to another table cell the dialog will then also be updated with the parameters of the new cell.
2179 If you change length values in the dialog you must press
2183 to get the change applied.
2184 \begin_inset Newline newline
2187 You can alter tables with the following tabs of the table dialog:
2190 \begin_layout Description
2192 \begin_inset space ~
2195 Settings Here you can set the table width
2196 \begin_inset Index idx
2201 \begin_layout Plain Layout
2203 \begin_inset IndexMacro subentry
2206 \begin_layout Plain Layout
2218 and the horizontal alignment and the width of the current column.
2222 \begin_inset space ~
2226 \begin_inset space ~
2231 is described in section
2232 \begin_inset space ~
2236 \begin_inset CommandInset ref
2238 reference "subsec:Special-Cell-Alignment"
2244 When you have set a width you can also adjust the vertical alignment of the current row.
2245 A given width will allow the cell to have line breaks and multiple paragraphs of text,
2247 \begin_inset space \thinspace{}
2251 \begin_inset CommandInset ref
2253 reference "subsec:Multiple-Lines-in"
2259 If you set no width,
2260 the column is as wide as the content of its widest cell.
2261 \begin_inset Newline newline
2265 you can mark one or multiple cells of one row as a multicolumn cell,
2267 \begin_inset space \thinspace{}
2271 \begin_inset CommandInset ref
2273 reference "subsec:Multicolumns"
2278 or the cells of one column as multirow cell,
2280 \begin_inset space \thinspace{}
2284 \begin_inset CommandInset ref
2286 reference "subsec:Multirows"
2292 \begin_inset Newline newline
2295 The rotate check boxes rotate the current cell,
2297 or the whole table counter-clockwise by 90
2298 \begin_inset space \thinspace{}
2302 The rotation is not shown within \SpecialChar LyX
2305 For more information see sec.
2306 \begin_inset space \thinspace{}
2310 \begin_inset CommandInset ref
2312 reference "sec:Rotated-Table-Cells"
2318 \begin_inset Newline newline
2322 \begin_inset Note Greyedout
2325 \begin_layout Plain Layout
2331 Not all DVI-viewers are able to display rotations.
2337 \begin_inset Newline newline
2340 The table-wide vertical alignment is used for tables within text lines:
2341 \begin_inset Newline newline
2344 A line with tables with different alignments:
2346 \begin_inset Tabular
2347 <lyxtabular version="3" rows="2" columns="2">
2348 <features tabularvalignment="top">
2349 <column alignment="center" valignment="top" width="0pt">
2350 <column alignment="center" valignment="top">
2352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2355 \begin_layout Plain Layout
2361 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2364 \begin_layout Plain Layout
2381 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2384 \begin_layout Plain Layout
2399 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2402 \begin_layout Plain Layout
2414 \begin_inset Tabular
2415 <lyxtabular version="3" rows="2" columns="2">
2416 <features tabularvalignment="middle">
2417 <column alignment="center" valignment="top">
2418 <column alignment="center" valignment="top">
2420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2423 \begin_layout Plain Layout
2429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2432 \begin_layout Plain Layout
2449 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2452 \begin_layout Plain Layout
2467 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2470 \begin_layout Plain Layout
2482 \begin_inset Tabular
2483 <lyxtabular version="3" rows="2" columns="2">
2484 <features tabularvalignment="bottom">
2485 <column alignment="center" valignment="top" width="0pt">
2486 <column alignment="center" valignment="top">
2488 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2491 \begin_layout Plain Layout
2497 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2500 \begin_layout Plain Layout
2517 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2520 \begin_layout Plain Layout
2535 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2538 \begin_layout Plain Layout
2550 \begin_inset Newline newline
2553 It is also possible to enter a \SpecialChar LaTeX
2554 -argument which is needed for special table formattings,
2556 \begin_inset space \thinspace{}
2560 \begin_inset CommandInset ref
2562 reference "subsec:Multicolumn-Calculations"
2568 \begin_inset CommandInset ref
2570 reference "sec:Colored-Tables"
2578 \begin_layout Description
2579 Borders In this tab you can add and delete border lines for the current row/column.
2580 \begin_inset Newline newline
2583 Using the style option
2587 will convert the table to a formal table as described in sec.
2588 \begin_inset space \thinspace{}
2592 \begin_inset CommandInset ref
2594 reference "sec:Formal-Tables"
2600 \begin_inset Newline newline
2603 You can also add space here to table rows as described in sec.
2604 \begin_inset space \thinspace{}
2608 \begin_inset CommandInset ref
2610 reference "subsec:Row-Spacing"
2618 \begin_layout Description
2620 \begin_inset space ~
2623 table This tab is to make a table a multi-page table that can run over several pages.
2625 \begin_inset space ~
2629 \begin_inset CommandInset ref
2631 reference "sec:Multi-page-Tables"
2637 \begin_inset CommandInset ref
2639 reference "sec:Special-Longtable-Issues"
2644 describe the multi-page table features in detail.
2647 \begin_layout Section
2649 \begin_inset Index idx
2654 \begin_layout Plain Layout
2656 \begin_inset IndexMacro subentry
2659 \begin_layout Plain Layout
2673 \begin_layout Standard
2674 The table toolbar is an alternative to the table dialog to be able to alter tables faster.
2675 It should normally appear at the bottom of \SpecialChar LyX
2676 's main window when the cursor is inside a table.
2677 You can alternatively switch it on to appear always,
2678 by right-clicking in \SpecialChar LyX
2682 \begin_layout Standard
2683 The toolbar has the following icons:
2686 \begin_layout Labeling
2687 \labelwidthstring 00.00.0000
2690 arg "tabular-feature append-row"
2693 adds a row below the current cell or selection
2696 \begin_layout Labeling
2697 \labelwidthstring 00.00.0000
2700 arg "tabular-feature append-column"
2703 adds a column right beside the current cell or selection
2706 \begin_layout Labeling
2707 \labelwidthstring 00.00.0000
2710 arg "tabular-feature delete-row"
2713 deletes the current row or selection
2716 \begin_layout Labeling
2717 \labelwidthstring 00.00.0000
2720 arg "tabular-feature delete-column"
2723 deletes the current column or selection
2726 \begin_layout Labeling
2727 \labelwidthstring 00.00.0000
2730 arg "tabular-feature move-row-up"
2736 \begin_layout Labeling
2737 \labelwidthstring 00.00.0000
2740 arg "tabular-feature move-column-left"
2743 moves the column to the left
2746 \begin_layout Labeling
2747 \labelwidthstring 00.00.0000
2750 arg "tabular-feature move-row-down"
2756 \begin_layout Labeling
2757 \labelwidthstring 00.00.0000
2760 arg "tabular-feature move-column-right"
2763 moves the column to the right
2766 \begin_layout Labeling
2767 \labelwidthstring 00.00.0000
2770 arg "tabular-feature toggle-line-top"
2774 \change_deleted -1382599118 1647157945
2776 \change_inserted -1382599118 1647157946
2779 a line at the top of
2780 \change_inserted -1382599118 1647158116
2784 \change_inserted -1382599118 1647157889
2786 \change_deleted -1382599118 1647157917
2790 \change_deleted -1382599118 1647157923
2792 \change_inserted -1382599118 1647157925
2798 \begin_layout Labeling
2799 \labelwidthstring 00.00.0000
2802 arg "tabular-feature toggle-line-bottom"
2806 \change_deleted -1382599118 1647157963
2808 \change_inserted -1382599118 1647157964
2811 a line at the bottom of
2812 \change_inserted -1382599118 1647158114
2816 \change_inserted -1382599118 1647157991
2818 \change_deleted -1382599118 1647158003
2822 \change_deleted -1382599118 1647158007
2824 \change_inserted -1382599118 1647158009
2830 \begin_layout Labeling
2831 \labelwidthstring 00.00.0000
2834 arg "tabular-feature toggle-line-left"
2838 \change_deleted -1382599118 1647157971
2840 \change_inserted -1382599118 1647157972
2843 a line at the left side of
2844 \change_inserted -1382599118 1647158111
2848 \change_inserted -1382599118 1647158027
2850 \change_deleted -1382599118 1647158069
2854 \change_deleted -1382599118 1647158043
2856 \change_inserted -1382599118 1647158044
2862 \begin_layout Labeling
2863 \labelwidthstring 00.00.0000
2866 arg "tabular-feature toggle-line-right"
2870 \change_deleted -1382599118 1647157974
2872 \change_inserted -1382599118 1647157975
2875 a line at the right side of
2876 \change_inserted -1382599118 1647158109
2880 \change_inserted -1382599118 1647158061
2882 \change_deleted -1382599118 1647158072
2886 \change_deleted -1382599118 1647158078
2888 \change_inserted -1382599118 1647158082
2890 \change_inserted -712698321 1554289731
2894 \begin_layout Labeling
2895 \labelwidthstring 00.00.0000
2897 \change_inserted -712698321 1554289910
2900 arg "tabular-feature toggle-border-lines"
2904 \change_deleted -1382599118 1647157966
2906 \change_inserted -1382599118 1647157967
2908 \change_inserted -712698321 1554289910
2909 a border around the currently selected cells
2910 \change_inserted -1382599118 1647040213
2914 \begin_layout Labeling
2915 \labelwidthstring 00.00.0000
2917 \change_inserted -1382599118 1647158092
2920 arg "tabular-feature toggle-inner-lines"
2923 toggles inner lines for the currently selected cells
2928 \begin_layout Labeling
2929 \labelwidthstring 00.00.0000
2932 arg "tabular-feature toggle-all-lines"
2935 adds lines around the current or selected cells - if the current cell is not a multicolumn cell this also affects the current row and column
2938 \begin_layout Labeling
2939 \labelwidthstring 00.00.0000
2942 arg "tabular-feature unset-all-lines"
2945 deletes all lines of the current or selected cells - if the current cell is not a multicolumn cell this also affects the current row and column
2946 \change_inserted -712698321 1554289920
2950 \begin_layout Labeling
2951 \labelwidthstring 00.00.0000
2953 \change_inserted -712698321 1554292586
2956 arg "tabular-feature reset-formal-default"
2959 If using a formal table,
2960 this resets the border to its default (only horizontal lines in top and bottom rows)
2965 \begin_layout Labeling
2966 \labelwidthstring 00.00.0000
2969 arg "tabular-feature m-align-left"
2972 left-aligns the content of the current cell / column
2975 \begin_layout Labeling
2976 \labelwidthstring 00.00.0000
2979 arg "tabular-feature m-align-center"
2982 centers the content of the current cell / column horizontally
2985 \begin_layout Labeling
2986 \labelwidthstring 00.00.0000
2989 arg "tabular-feature m-align-right"
2992 right-aligns the content of the current cell / column
2995 \begin_layout Labeling
2996 \labelwidthstring 00.00.0000
2999 arg "tabular-feature align-decimal"
3002 aligns the content of the current column at a character
3005 \begin_layout Labeling
3006 \labelwidthstring 00.00.0000
3009 arg "tabular-feature m-valign-top"
3012 aligns the content of the current cell vertically to the top
3015 \begin_layout Labeling
3016 \labelwidthstring 00.00.0000
3019 arg "tabular-feature m-valign-middle"
3022 centers the content of the current cell vertically
3025 \begin_layout Labeling
3026 \labelwidthstring 00.00.0000
3029 arg "tabular-feature m-valign-bottom"
3032 aligns the content of the current cell vertically to the bottom
3035 \begin_layout Labeling
3036 \labelwidthstring 00.00.0000
3039 arg "tabular-feature set-rotate-cell"
3042 rotates the current cell or selection counter-clockwise by 90°
3045 \begin_layout Labeling
3046 \labelwidthstring 00.00.0000
3049 arg "tabular-feature set-rotate-tabular"
3052 rotates the whole table counter-clockwise by 90°
3055 \begin_layout Labeling
3056 \labelwidthstring 00.00.0000
3059 arg "tabular-feature multicolumn"
3062 sets the current cell or selection as a multicolumn
3065 \begin_layout Labeling
3066 \labelwidthstring 00.00.0000
3069 arg "tabular-feature multirow"
3072 sets the current cell or selection as a multirow
3075 \begin_layout Standard
3076 \begin_inset Note Greyedout
3079 \begin_layout Plain Layout
3085 For the output the vertical alignment of the first cell in a row is used for all following cells in the row.
3093 \begin_layout Section
3095 \begin_inset Index idx
3100 \begin_layout Plain Layout
3102 \begin_inset IndexMacro subentry
3105 \begin_layout Plain Layout
3119 \begin_layout Standard
3120 In addition to the table dialog and toolbar,
3123 Edit\SpecialChar menuseparator
3126 allows you to add and delete border lines for the current row/column and to set the current selection as multicolumn.
3127 The menu is only available when the cursor is inside a table.
3130 \begin_layout Section
3132 \begin_inset CommandInset label
3134 name "sec:Table-Floats"
3139 \begin_inset Index idx
3144 \begin_layout Plain Layout
3146 \begin_inset IndexMacro subentry
3149 \begin_layout Plain Layout
3161 \begin_inset Index idx
3166 \begin_layout Plain Layout
3168 \begin_inset IndexMacro subentry
3171 \begin_layout Plain Layout
3185 \begin_layout Standard
3186 For general explanations about floats,
3187 have a look at section
3188 \begin_inset space ~
3192 \begin_inset CommandInset ref
3194 reference "sec:FloatIntroduction"
3202 \begin_layout Standard
3203 \begin_inset Float table
3210 \begin_layout Plain Layout
3211 \begin_inset Caption Standard
3213 \begin_layout Plain Layout
3214 \begin_inset CommandInset label
3216 name "tab:a table float"
3228 \begin_layout Plain Layout
3230 \begin_inset Tabular
3231 <lyxtabular version="3" rows="3" columns="3">
3232 <features tabularvalignment="middle">
3233 <column alignment="center" valignment="top" width="0pt">
3234 <column alignment="center" valignment="top" width="0pt">
3235 <column alignment="center" valignment="top" width="0pt">
3237 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3240 \begin_layout Plain Layout
3255 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3258 \begin_layout Plain Layout
3273 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3276 \begin_layout Plain Layout
3293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3296 \begin_layout Plain Layout
3311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3314 \begin_layout Plain Layout
3329 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3332 \begin_layout Plain Layout
3349 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3352 \begin_layout Plain Layout
3362 \begin_inset Formula $\int x^{2}dx$
3370 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3373 \begin_layout Plain Layout
3383 \begin_inset Formula $\left[\begin{array}{cc}
3394 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3397 \begin_layout Plain Layout
3407 \begin_inset Formula $1+1=2$
3428 \begin_layout Standard
3429 Table floats can be inserted using the menu
3431 Insert\SpecialChar menuseparator
3432 Float\SpecialChar menuseparator
3435 or the toolbar button
3438 arg "float-insert table"
3444 \begin_layout Standard
3445 The float appears as a collapsible box with a caption that has the label
3446 \begin_inset Quotes eld
3450 \begin_inset space ~
3454 \begin_inset Quotes erd
3457 (# is the actual table number).
3458 You can insert tables in the float above or below the caption.
3461 \begin_layout Standard
3463 \begin_inset space ~
3467 \begin_inset CommandInset ref
3469 reference "tab:a table float"
3474 is an example table within a table float.
3477 \begin_layout Standard
3478 Having the caption above the table is the common rule that is unfortunately not supported in \SpecialChar LaTeX
3479 's standard classes.
3481 if you are using the document classes
3501 there will be no space between the caption and the table.
3502 To insert the needed space,
3503 add the following option to the load command of the \SpecialChar LaTeX
3509 \begin_inset Index idx
3514 \begin_layout Plain Layout
3517 \begin_inset IndexMacro subentry
3520 \begin_layout Plain Layout
3531 in your document preamble:
3535 \begin_layout Plain Layout
3536 For more information have a look at section
3537 \begin_inset space ~
3541 \begin_inset CommandInset ref
3543 reference "sec:Caption-Placement"
3556 \begin_layout Standard
3562 \begin_layout Standard
3568 which is described in section
3569 \begin_inset space ~
3573 \begin_inset CommandInset ref
3575 reference "sec:Caption-Formatting"
3581 is used to adjust the caption format.
3584 \begin_layout Standard
3585 \begin_inset Index idx
3590 \begin_layout Plain Layout
3592 \begin_inset IndexMacro subentry
3595 \begin_layout Plain Layout
3606 Tables can be cross-referenced in the text by referencing their label.
3607 To do this insert a label in the caption using the menu
3609 Insert\SpecialChar menuseparator
3612 or the toolbar button
3619 You can now refer to the label using the menu
3621 Insert\SpecialChar menuseparator
3623 \begin_inset space ~
3628 or the toolbar button
3631 arg "dialog-show-new-inset ref"
3635 \begin_inset Newline newline
3638 Referencing is explained in detail in section
3639 \begin_inset space ~
3643 \begin_inset CommandInset ref
3645 reference "sec:Referencing-Floats"
3653 \begin_layout Section
3659 \begin_inset CommandInset label
3661 name "sec:Multi-page-Tables"
3666 \begin_inset Index idx
3671 \begin_layout Plain Layout
3678 \begin_inset Index idx
3683 \begin_layout Plain Layout
3685 \begin_inset IndexMacro subentry
3688 \begin_layout Plain Layout
3702 \begin_layout Standard
3703 If the table is too long to fit on one page,
3704 you can use the option
3707 \begin_inset space ~
3715 \begin_inset space ~
3720 of the table dialog to split the table automatically over more pages.
3721 Doing this enables the following options:
3724 \begin_layout Description
3726 The current row is defined to be a header row that appears on all pages of the multi-page table;
3727 except for the first page,
3731 \begin_inset space ~
3737 This is therefore called the main header.
3740 \begin_layout Description
3742 \begin_inset space ~
3746 The current row is defined to be a header row that appears on the first page of the multi-page table.
3749 \begin_layout Description
3751 The current row is defined to be a footer row that appears on all pages of the multi-page table;
3752 except for the last page,
3756 \begin_inset space ~
3764 \begin_layout Description
3766 \begin_inset space ~
3770 The current row is defined to be a footer row that appears on the last page of the multi-page table.
3773 \begin_layout Description
3775 The current row contains the table caption.
3776 The row is reset as single column and a caption is inserted.
3777 More about multi-page table captions is explained in sec.
3778 \begin_inset space \thinspace{}
3782 \begin_inset CommandInset ref
3784 reference "subsec:Multi-page-Table-Captions"
3792 \begin_layout Standard
3793 You can also specify a row where the table is split.
3794 See the following multi-page table to see how it works:
3797 \begin_layout Standard
3799 \begin_inset Tabular
3800 <lyxtabular version="3" rows="69" columns="3">
3801 <features islongtable="true" longtabularalignment="center">
3802 <column alignment="left" valignment="top" width="0cm">
3803 <column alignment="left" valignment="top" width="0pt">
3804 <column alignment="center" valignment="top" width="0pt">
3805 <row endfirsthead="true">
3806 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3809 \begin_layout Plain Layout
3812 Example Phone List (ignore the names)
3817 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3820 \begin_layout Plain Layout
3826 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3829 \begin_layout Plain Layout
3836 <row endfirsthead="true">
3837 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3840 \begin_layout Plain Layout
3848 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3851 \begin_layout Plain Layout
3857 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3860 \begin_layout Plain Layout
3869 <row endhead="true">
3870 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3873 \begin_layout Plain Layout
3881 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3884 \begin_layout Plain Layout
3890 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3893 \begin_layout Plain Layout
3900 <row endhead="true">
3901 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3904 \begin_layout Plain Layout
3912 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3915 \begin_layout Plain Layout
3921 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3924 \begin_layout Plain Layout
3933 <row endfoot="true">
3934 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3937 \begin_layout Plain Layout
3938 continued on next page
3943 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3946 \begin_layout Plain Layout
3952 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3955 \begin_layout Plain Layout
3963 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3966 \begin_layout Plain Layout
3974 <cell alignment="center" valignment="top" usebox="none">
3977 \begin_layout Plain Layout
3983 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3986 \begin_layout Plain Layout
3994 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3997 \begin_layout Plain Layout
4005 <cell alignment="center" valignment="top" usebox="none">
4008 \begin_layout Plain Layout
4014 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4017 \begin_layout Plain Layout
4025 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4028 \begin_layout Plain Layout
4036 <cell alignment="center" valignment="top" usebox="none">
4039 \begin_layout Plain Layout
4045 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4048 \begin_layout Plain Layout
4056 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4059 \begin_layout Plain Layout
4067 <cell alignment="center" valignment="top" usebox="none">
4070 \begin_layout Plain Layout
4076 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4079 \begin_layout Plain Layout
4087 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4090 \begin_layout Plain Layout
4098 <cell alignment="center" valignment="top" usebox="none">
4101 \begin_layout Plain Layout
4107 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4110 \begin_layout Plain Layout
4118 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4121 \begin_layout Plain Layout
4129 <cell alignment="center" valignment="top" usebox="none">
4132 \begin_layout Plain Layout
4138 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4141 \begin_layout Plain Layout
4149 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4152 \begin_layout Plain Layout
4160 <cell alignment="center" valignment="top" usebox="none">
4163 \begin_layout Plain Layout
4169 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4172 \begin_layout Plain Layout
4180 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4183 \begin_layout Plain Layout
4191 <cell alignment="center" valignment="top" usebox="none">
4194 \begin_layout Plain Layout
4200 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4203 \begin_layout Plain Layout
4211 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4214 \begin_layout Plain Layout
4222 <cell alignment="center" valignment="top" usebox="none">
4225 \begin_layout Plain Layout
4231 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4234 \begin_layout Plain Layout
4242 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4245 \begin_layout Plain Layout
4253 <cell alignment="center" valignment="top" usebox="none">
4256 \begin_layout Plain Layout
4262 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4265 \begin_layout Plain Layout
4273 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4276 \begin_layout Plain Layout
4284 <cell alignment="center" valignment="top" usebox="none">
4287 \begin_layout Plain Layout
4293 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4296 \begin_layout Plain Layout
4304 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4307 \begin_layout Plain Layout
4315 <cell alignment="center" valignment="top" usebox="none">
4318 \begin_layout Plain Layout
4324 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4327 \begin_layout Plain Layout
4335 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4338 \begin_layout Plain Layout
4346 <cell alignment="center" valignment="top" usebox="none">
4349 \begin_layout Plain Layout
4355 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4358 \begin_layout Plain Layout
4366 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4369 \begin_layout Plain Layout
4377 <cell alignment="center" valignment="top" usebox="none">
4380 \begin_layout Plain Layout
4386 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4389 \begin_layout Plain Layout
4397 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4400 \begin_layout Plain Layout
4408 <cell alignment="center" valignment="top" usebox="none">
4411 \begin_layout Plain Layout
4417 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4420 \begin_layout Plain Layout
4428 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4431 \begin_layout Plain Layout
4439 <cell alignment="center" valignment="top" usebox="none">
4442 \begin_layout Plain Layout
4448 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4451 \begin_layout Plain Layout
4459 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4462 \begin_layout Plain Layout
4470 <cell alignment="center" valignment="top" usebox="none">
4473 \begin_layout Plain Layout
4479 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4482 \begin_layout Plain Layout
4490 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4493 \begin_layout Plain Layout
4501 <cell alignment="center" valignment="top" usebox="none">
4504 \begin_layout Plain Layout
4510 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4513 \begin_layout Plain Layout
4521 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4524 \begin_layout Plain Layout
4532 <cell alignment="center" valignment="top" usebox="none">
4535 \begin_layout Plain Layout
4541 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4544 \begin_layout Plain Layout
4552 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4555 \begin_layout Plain Layout
4563 <cell alignment="center" valignment="top" usebox="none">
4566 \begin_layout Plain Layout
4572 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4575 \begin_layout Plain Layout
4583 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4586 \begin_layout Plain Layout
4594 <cell alignment="center" valignment="top" usebox="none">
4597 \begin_layout Plain Layout
4603 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4606 \begin_layout Plain Layout
4614 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4617 \begin_layout Plain Layout
4625 <cell alignment="center" valignment="top" usebox="none">
4628 \begin_layout Plain Layout
4634 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4637 \begin_layout Plain Layout
4646 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4649 \begin_layout Plain Layout
4657 <cell alignment="center" valignment="top" usebox="none">
4660 \begin_layout Plain Layout
4666 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4669 \begin_layout Plain Layout
4677 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4680 \begin_layout Plain Layout
4688 <cell alignment="center" valignment="top" usebox="none">
4691 \begin_layout Plain Layout
4697 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4700 \begin_layout Plain Layout
4708 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4711 \begin_layout Plain Layout
4719 <cell alignment="center" valignment="top" usebox="none">
4722 \begin_layout Plain Layout
4728 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4731 \begin_layout Plain Layout
4739 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4742 \begin_layout Plain Layout
4750 <cell alignment="center" valignment="top" usebox="none">
4753 \begin_layout Plain Layout
4759 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4762 \begin_layout Plain Layout
4770 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4773 \begin_layout Plain Layout
4781 <cell alignment="center" valignment="top" usebox="none">
4784 \begin_layout Plain Layout
4790 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4793 \begin_layout Plain Layout
4801 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4804 \begin_layout Plain Layout
4812 <cell alignment="center" valignment="top" usebox="none">
4815 \begin_layout Plain Layout
4821 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4824 \begin_layout Plain Layout
4832 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4835 \begin_layout Plain Layout
4843 <cell alignment="center" valignment="top" usebox="none">
4846 \begin_layout Plain Layout
4852 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4855 \begin_layout Plain Layout
4863 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4866 \begin_layout Plain Layout
4874 <cell alignment="center" valignment="top" usebox="none">
4877 \begin_layout Plain Layout
4883 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4886 \begin_layout Plain Layout
4894 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4897 \begin_layout Plain Layout
4905 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4908 \begin_layout Plain Layout
4914 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4917 \begin_layout Plain Layout
4925 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4928 \begin_layout Plain Layout
4934 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4937 \begin_layout Plain Layout
4943 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4946 \begin_layout Plain Layout
4954 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4957 \begin_layout Plain Layout
4965 <cell alignment="center" valignment="top" usebox="none">
4968 \begin_layout Plain Layout
4974 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4977 \begin_layout Plain Layout
4985 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4988 \begin_layout Plain Layout
4996 <cell alignment="center" valignment="top" usebox="none">
4999 \begin_layout Plain Layout
5005 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5008 \begin_layout Plain Layout
5016 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5019 \begin_layout Plain Layout
5027 <cell alignment="center" valignment="top" usebox="none">
5030 \begin_layout Plain Layout
5036 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5039 \begin_layout Plain Layout
5047 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5050 \begin_layout Plain Layout
5058 <cell alignment="center" valignment="top" usebox="none">
5061 \begin_layout Plain Layout
5067 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5070 \begin_layout Plain Layout
5078 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5081 \begin_layout Plain Layout
5089 <cell alignment="center" valignment="top" usebox="none">
5092 \begin_layout Plain Layout
5098 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5101 \begin_layout Plain Layout
5109 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5112 \begin_layout Plain Layout
5120 <cell alignment="center" valignment="top" usebox="none">
5123 \begin_layout Plain Layout
5129 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5132 \begin_layout Plain Layout
5140 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5143 \begin_layout Plain Layout
5151 <cell alignment="center" valignment="top" usebox="none">
5154 \begin_layout Plain Layout
5160 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5163 \begin_layout Plain Layout
5171 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5174 \begin_layout Plain Layout
5182 <cell alignment="center" valignment="top" usebox="none">
5185 \begin_layout Plain Layout
5191 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5194 \begin_layout Plain Layout
5202 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5205 \begin_layout Plain Layout
5213 <cell alignment="center" valignment="top" usebox="none">
5216 \begin_layout Plain Layout
5222 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5225 \begin_layout Plain Layout
5233 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5236 \begin_layout Plain Layout
5244 <cell alignment="center" valignment="top" usebox="none">
5247 \begin_layout Plain Layout
5253 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5256 \begin_layout Plain Layout
5264 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5267 \begin_layout Plain Layout
5275 <cell alignment="center" valignment="top" usebox="none">
5278 \begin_layout Plain Layout
5284 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5287 \begin_layout Plain Layout
5295 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5298 \begin_layout Plain Layout
5306 <cell alignment="center" valignment="top" usebox="none">
5309 \begin_layout Plain Layout
5315 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5318 \begin_layout Plain Layout
5326 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5329 \begin_layout Plain Layout
5337 <cell alignment="center" valignment="top" usebox="none">
5340 \begin_layout Plain Layout
5346 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5349 \begin_layout Plain Layout
5357 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5360 \begin_layout Plain Layout
5368 <cell alignment="center" valignment="top" usebox="none">
5371 \begin_layout Plain Layout
5377 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5380 \begin_layout Plain Layout
5388 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5391 \begin_layout Plain Layout
5399 <cell alignment="center" valignment="top" usebox="none">
5402 \begin_layout Plain Layout
5408 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5411 \begin_layout Plain Layout
5419 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5422 \begin_layout Plain Layout
5430 <cell alignment="center" valignment="top" usebox="none">
5433 \begin_layout Plain Layout
5439 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5442 \begin_layout Plain Layout
5450 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5453 \begin_layout Plain Layout
5461 <cell alignment="center" valignment="top" usebox="none">
5464 \begin_layout Plain Layout
5470 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5473 \begin_layout Plain Layout
5481 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5484 \begin_layout Plain Layout
5492 <cell alignment="center" valignment="top" usebox="none">
5495 \begin_layout Plain Layout
5501 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5504 \begin_layout Plain Layout
5512 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5515 \begin_layout Plain Layout
5523 <cell alignment="center" valignment="top" usebox="none">
5526 \begin_layout Plain Layout
5532 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5535 \begin_layout Plain Layout
5543 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5546 \begin_layout Plain Layout
5554 <cell alignment="center" valignment="top" usebox="none">
5557 \begin_layout Plain Layout
5563 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5566 \begin_layout Plain Layout
5574 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5577 \begin_layout Plain Layout
5585 <cell alignment="center" valignment="top" usebox="none">
5588 \begin_layout Plain Layout
5594 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5597 \begin_layout Plain Layout
5605 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5608 \begin_layout Plain Layout
5616 <cell alignment="center" valignment="top" usebox="none">
5619 \begin_layout Plain Layout
5625 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5628 \begin_layout Plain Layout
5637 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5640 \begin_layout Plain Layout
5648 <cell alignment="center" valignment="top" usebox="none">
5651 \begin_layout Plain Layout
5657 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5660 \begin_layout Plain Layout
5668 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5671 \begin_layout Plain Layout
5679 <cell alignment="center" valignment="top" usebox="none">
5682 \begin_layout Plain Layout
5688 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5691 \begin_layout Plain Layout
5699 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5702 \begin_layout Plain Layout
5710 <cell alignment="center" valignment="top" usebox="none">
5713 \begin_layout Plain Layout
5719 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5722 \begin_layout Plain Layout
5730 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5733 \begin_layout Plain Layout
5741 <cell alignment="center" valignment="top" usebox="none">
5744 \begin_layout Plain Layout
5750 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5753 \begin_layout Plain Layout
5761 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5764 \begin_layout Plain Layout
5772 <cell alignment="center" valignment="top" usebox="none">
5775 \begin_layout Plain Layout
5781 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5784 \begin_layout Plain Layout
5792 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5795 \begin_layout Plain Layout
5803 <cell alignment="center" valignment="top" usebox="none">
5806 \begin_layout Plain Layout
5812 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5815 \begin_layout Plain Layout
5823 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5826 \begin_layout Plain Layout
5834 <cell alignment="center" valignment="top" usebox="none">
5837 \begin_layout Plain Layout
5843 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5846 \begin_layout Plain Layout
5854 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5857 \begin_layout Plain Layout
5865 <cell alignment="center" valignment="top" usebox="none">
5868 \begin_layout Plain Layout
5874 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5877 \begin_layout Plain Layout
5885 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5888 \begin_layout Plain Layout
5896 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5899 \begin_layout Plain Layout
5905 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5908 \begin_layout Plain Layout
5915 <row endlastfoot="true">
5916 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5919 \begin_layout Plain Layout
5925 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5928 \begin_layout Plain Layout
5934 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5937 \begin_layout Plain Layout
5952 \begin_layout Plain Layout
5956 addtocounter{table}{-1}
5962 \begin_inset Note Note
5965 \begin_layout Plain Layout
5966 See the first greyed-out note in section
5967 \begin_inset space ~
5971 \begin_inset CommandInset ref
5973 reference "subsec:Multi-page-Table-Captions"
5978 for an explanation of this command.
5986 \begin_layout Subsection
5987 Footnotes in Multi-page tables
5988 \begin_inset CommandInset label
5990 name "subsec:Footnotes-in-Multi-page"
5995 \begin_inset Index idx
6000 \begin_layout Plain Layout
6002 \begin_inset IndexMacro subentry
6005 \begin_layout Plain Layout
6012 \begin_inset IndexMacro subentry
6015 \begin_layout Plain Layout
6029 \begin_layout Standard
6030 Footnotes can be inserted to every Multi-page table cell.
6031 They appear at the bottom of the page where the table cell with the footnote appears.
6033 \begin_inset space ~
6037 \begin_inset CommandInset ref
6039 reference "tab:DiffCaptions"
6044 has for example a footnote.
6047 \begin_layout Subsection
6048 Multi-page Table Alignment
6049 \begin_inset Index idx
6054 \begin_layout Plain Layout
6056 \begin_inset IndexMacro subentry
6059 \begin_layout Plain Layout
6066 \begin_inset IndexMacro subentry
6069 \begin_layout Plain Layout
6083 \begin_layout Standard
6084 The horizontal alignment of multi-page tables can be set in the table settings dialog.
6085 For left- and right-alignment the table will be directly at the page border.
6086 To add space between the table and the border one has to set the alignment to center and change the value of the \SpecialChar LaTeX
6099 by inserting this line as \SpecialChar TeX
6100 Code before the multi-page table:
6103 \begin_layout Standard
6113 \begin_layout Standard
6114 The value can have any of the units listed in Table
6115 \begin_inset space ~
6119 \begin_inset CommandInset ref
6121 reference "tab:Units"
6133 controls the horizontal distance from the left page border to the multi-page table,
6140 the distance from the right side.
6141 The default value for both lengths is
6148 which is in this case the same as an horizontal fill in \SpecialChar LyX
6152 \begin_layout Standard
6153 The following multi-page table was centered and
6169 \begin_layout Plain Layout
6185 \begin_layout Standard
6186 \begin_inset Tabular
6187 <lyxtabular version="3" rows="5" columns="5">
6188 <features islongtable="true" longtabularalignment="center">
6189 <column alignment="center" valignment="top">
6190 <column alignment="center" valignment="top" width="0pt">
6191 <column alignment="center" valignment="top">
6192 <column alignment="center" valignment="top">
6193 <column alignment="center" valignment="top">
6195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6198 \begin_layout Plain Layout
6204 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6207 \begin_layout Plain Layout
6213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6216 \begin_layout Plain Layout
6222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6225 \begin_layout Plain Layout
6231 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6234 \begin_layout Plain Layout
6242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6245 \begin_layout Plain Layout
6251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6254 \begin_layout Plain Layout
6260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6263 \begin_layout Plain Layout
6269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6272 \begin_layout Plain Layout
6278 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6281 \begin_layout Plain Layout
6289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6292 \begin_layout Plain Layout
6298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6301 \begin_layout Plain Layout
6307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6310 \begin_layout Plain Layout
6316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6319 \begin_layout Plain Layout
6325 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6328 \begin_layout Plain Layout
6336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6339 \begin_layout Plain Layout
6345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6348 \begin_layout Plain Layout
6354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6357 \begin_layout Plain Layout
6363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6366 \begin_layout Plain Layout
6372 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6375 \begin_layout Plain Layout
6383 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6386 \begin_layout Plain Layout
6392 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6395 \begin_layout Plain Layout
6401 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6404 \begin_layout Plain Layout
6410 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6413 \begin_layout Plain Layout
6419 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6422 \begin_layout Plain Layout
6437 \begin_layout Plain Layout
6454 \begin_layout Plain Layout
6458 addtocounter{table}{-1}
6464 \begin_inset Note Note
6467 \begin_layout Plain Layout
6468 See the first greyed-out note in section
6469 \begin_inset space ~
6473 \begin_inset CommandInset ref
6475 reference "subsec:Multi-page-Table-Captions"
6480 for an explanation of this command.
6488 \begin_layout Subsection
6489 Multi-page Table Captions
6490 \begin_inset Index idx
6495 \begin_layout Plain Layout
6497 \begin_inset IndexMacro subentry
6500 \begin_layout Plain Layout
6507 \begin_inset IndexMacro subentry
6510 \begin_layout Plain Layout
6522 \begin_inset CommandInset label
6524 name "subsec:Multi-page-Table-Captions"
6531 \begin_layout Standard
6532 A multi-page table cannot be put into a table float because floats can only be on one page.
6533 But the caption environment of floats can also be used for multi-page tables when you use the multi-page table option
6537 as described in sec.
6538 \begin_inset space \thinspace{}
6542 \begin_inset CommandInset ref
6544 reference "sec:Multi-page-Tables"
6550 Only one table row should contain a caption,
6551 either a header or a footer row.
6554 \begin_layout Standard
6555 Here is a short multi-page table to see how it works:
6558 \begin_layout Standard
6559 \begin_inset Tabular
6560 <lyxtabular version="3" rows="6" columns="5">
6561 <features islongtable="true" longtabularalignment="center">
6562 <column alignment="center" valignment="top">
6563 <column alignment="center" valignment="top">
6564 <column alignment="center" valignment="top">
6565 <column alignment="center" valignment="top">
6566 <column alignment="center" valignment="top">
6567 <row endfirsthead="true" caption="true">
6568 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6571 \begin_layout Plain Layout
6572 \begin_inset Caption Standard
6574 \begin_layout Plain Layout
6575 Multi-page table with caption
6576 \begin_inset Argument 1
6579 \begin_layout Plain Layout
6595 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6598 \begin_layout Plain Layout
6604 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6607 \begin_layout Plain Layout
6613 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6616 \begin_layout Plain Layout
6622 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6625 \begin_layout Plain Layout
6633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6636 \begin_layout Plain Layout
6642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6645 \begin_layout Plain Layout
6651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6654 \begin_layout Plain Layout
6660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6663 \begin_layout Plain Layout
6669 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6672 \begin_layout Plain Layout
6680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6683 \begin_layout Plain Layout
6689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6692 \begin_layout Plain Layout
6698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6701 \begin_layout Plain Layout
6707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6710 \begin_layout Plain Layout
6716 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6719 \begin_layout Plain Layout
6727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6730 \begin_layout Plain Layout
6736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6739 \begin_layout Plain Layout
6745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6748 \begin_layout Plain Layout
6754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6757 \begin_layout Plain Layout
6763 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6766 \begin_layout Plain Layout
6774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6777 \begin_layout Plain Layout
6783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6786 \begin_layout Plain Layout
6792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6795 \begin_layout Plain Layout
6801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6804 \begin_layout Plain Layout
6810 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6813 \begin_layout Plain Layout
6821 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6824 \begin_layout Plain Layout
6830 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6833 \begin_layout Plain Layout
6839 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6842 \begin_layout Plain Layout
6848 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6851 \begin_layout Plain Layout
6857 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6860 \begin_layout Plain Layout
6874 \begin_layout Standard
6875 \begin_inset VSpace medskip
6879 \begin_inset Note Greyedout
6882 \begin_layout Plain Layout
6886 \begin_inset space ~
6892 The table number is increased for every multi-page table,
6893 even if you did not set a caption for it.
6894 For this reason you could have the case that e.
6895 \begin_inset space \thinspace{}
6899 \begin_inset space \space{}
6903 \begin_inset space ~
6907 \begin_inset space ~
6910 2.1 in the list of tables if there are two multi-page tables without captions.
6911 To avoid this you can add the following command in \SpecialChar TeX
6912 Code after every multi-page table without a caption:
6915 \begin_layout Plain Layout
6920 addtocounter{table}{-1}
6923 \begin_layout Plain Layout
6924 This is not needed when none of your multi-page tables has a caption and you add the following code to the document preamble:
6927 \begin_layout Plain Layout
6937 \begin_inset Newline newline
6948 addtocounter{table}{-1}}
6956 \begin_layout Standard
6957 \begin_inset Note Greyedout
6960 \begin_layout Plain Layout
6964 \begin_inset space ~
6975 \begin_inset Index idx
6980 \begin_layout Plain Layout
6983 \begin_inset IndexMacro subentry
6986 \begin_layout Plain Layout
7005 dialog to link cross-references,
7006 the link to a multi-page table caption will always point to the beginning of the document.
7014 \begin_layout Subsubsection
7015 References to multi-page tables
7016 \begin_inset Index idx
7021 \begin_layout Plain Layout
7023 \begin_inset IndexMacro subentry
7026 \begin_layout Plain Layout
7033 \begin_inset IndexMacro subentry
7036 \begin_layout Plain Layout
7050 \begin_layout Standard
7051 \begin_inset Tabular
7052 <lyxtabular version="3" rows="6" columns="5">
7053 <features islongtable="true" longtabularalignment="center">
7054 <column alignment="center" valignment="top">
7055 <column alignment="center" valignment="top">
7056 <column alignment="center" valignment="top">
7057 <column alignment="center" valignment="top">
7058 <column alignment="center" valignment="top">
7059 <row endfirsthead="true" caption="true">
7060 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7063 \begin_layout Plain Layout
7064 \begin_inset Caption Standard
7066 \begin_layout Plain Layout
7067 Referenced multi-page table
7068 \begin_inset CommandInset label
7070 name "tab:Referenced-multi-page-table"
7084 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7087 \begin_layout Plain Layout
7093 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7096 \begin_layout Plain Layout
7102 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7105 \begin_layout Plain Layout
7111 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7114 \begin_layout Plain Layout
7122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7125 \begin_layout Plain Layout
7131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7134 \begin_layout Plain Layout
7140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7143 \begin_layout Plain Layout
7149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7152 \begin_layout Plain Layout
7158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7161 \begin_layout Plain Layout
7169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7172 \begin_layout Plain Layout
7178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7181 \begin_layout Plain Layout
7187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7190 \begin_layout Plain Layout
7196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7199 \begin_layout Plain Layout
7205 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7208 \begin_layout Plain Layout
7216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7219 \begin_layout Plain Layout
7225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7228 \begin_layout Plain Layout
7234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7237 \begin_layout Plain Layout
7243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7246 \begin_layout Plain Layout
7252 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7255 \begin_layout Plain Layout
7263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7266 \begin_layout Plain Layout
7272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7275 \begin_layout Plain Layout
7281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7284 \begin_layout Plain Layout
7290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7293 \begin_layout Plain Layout
7299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7302 \begin_layout Plain Layout
7310 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7313 \begin_layout Plain Layout
7319 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7322 \begin_layout Plain Layout
7328 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7331 \begin_layout Plain Layout
7337 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7340 \begin_layout Plain Layout
7346 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7349 \begin_layout Plain Layout
7363 \begin_layout Standard
7364 To reference a multi-page table,
7365 insert a label into the caption.
7368 \begin_layout Standard
7369 This is a reference to Table
7370 \begin_inset space ~
7374 \begin_inset CommandInset ref
7376 reference "tab:Referenced-multi-page-table"
7384 \begin_layout Standard
7385 The caption layout can be set together with all other captions of your document using the \SpecialChar LaTeX
7391 \begin_inset Index idx
7396 \begin_layout Plain Layout
7399 \begin_inset IndexMacro subentry
7402 \begin_layout Plain Layout
7415 \begin_inset space ~
7419 \begin_inset CommandInset ref
7421 reference "sec:Caption-Formatting"
7429 \begin_layout Subsubsection
7431 \begin_inset Index idx
7436 \begin_layout Plain Layout
7438 \begin_inset IndexMacro subentry
7441 \begin_layout Plain Layout
7448 \begin_inset IndexMacro subentry
7451 \begin_layout Plain Layout
7465 \begin_layout Standard
7466 The maximal width of caption lines is defined by the length
7473 Its default value is 4
7474 \begin_inset space \thinspace{}
7478 To change it add the following command to your document preamble or as \SpecialChar TeX
7479 Code into your document before the multi-page table that should be affected
7482 \begin_layout Standard
7492 \begin_layout Standard
7497 can have one of the units listed in appendix
7498 \begin_inset space ~
7502 \begin_inset CommandInset ref
7504 reference "cha:Units-available-in"
7512 \begin_layout Standard
7513 The following tables show the difference:
7516 \begin_layout Standard
7517 \begin_inset Tabular
7518 <lyxtabular version="3" rows="6" columns="5">
7519 <features islongtable="true" longtabularalignment="center">
7520 <column alignment="center" valignment="top">
7521 <column alignment="center" valignment="top">
7522 <column alignment="center" valignment="top">
7523 <column alignment="center" valignment="top">
7524 <column alignment="center" valignment="top">
7525 <row endfirsthead="true" caption="true">
7526 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7529 \begin_layout Plain Layout
7530 \begin_inset Caption Standard
7532 \begin_layout Plain Layout
7533 Long full title with default width long full title with default width long full title with default width
7534 \begin_inset Argument 1
7537 \begin_layout Plain Layout
7538 caption with default width
7553 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7556 \begin_layout Plain Layout
7562 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7565 \begin_layout Plain Layout
7571 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7574 \begin_layout Plain Layout
7580 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7583 \begin_layout Plain Layout
7591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7594 \begin_layout Plain Layout
7600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7603 \begin_layout Plain Layout
7609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7612 \begin_layout Plain Layout
7618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7621 \begin_layout Plain Layout
7627 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7630 \begin_layout Plain Layout
7638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7641 \begin_layout Plain Layout
7647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7650 \begin_layout Plain Layout
7656 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7659 \begin_layout Plain Layout
7665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7668 \begin_layout Plain Layout
7674 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7677 \begin_layout Plain Layout
7685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7688 \begin_layout Plain Layout
7694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7697 \begin_layout Plain Layout
7703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7706 \begin_layout Plain Layout
7712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7715 \begin_layout Plain Layout
7721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7724 \begin_layout Plain Layout
7732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7735 \begin_layout Plain Layout
7741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7744 \begin_layout Plain Layout
7750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7753 \begin_layout Plain Layout
7759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7762 \begin_layout Plain Layout
7768 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7771 \begin_layout Plain Layout
7779 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7782 \begin_layout Plain Layout
7788 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7791 \begin_layout Plain Layout
7797 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7800 \begin_layout Plain Layout
7806 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7809 \begin_layout Plain Layout
7815 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7818 \begin_layout Plain Layout
7832 \begin_layout Standard
7836 \begin_layout Plain Layout
7848 \begin_inset Tabular
7849 <lyxtabular version="3" rows="6" columns="5">
7850 <features islongtable="true" longtabularalignment="center">
7851 <column alignment="center" valignment="top">
7852 <column alignment="center" valignment="top">
7853 <column alignment="center" valignment="top">
7854 <column alignment="center" valignment="top">
7855 <column alignment="center" valignment="top">
7856 <row endfirsthead="true" caption="true">
7857 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7860 \begin_layout Plain Layout
7861 \begin_inset Caption Standard
7863 \begin_layout Plain Layout
7864 Long full title with width set to 5
7865 \begin_inset space \thinspace{}
7868 cm long full title with width set to 5
7869 \begin_inset space \thinspace{}
7872 cm long full title with width set to 5
7873 \begin_inset space \thinspace{}
7877 \begin_inset Argument 1
7880 \begin_layout Plain Layout
7882 \begin_inset space \thinspace{}
7886 \begin_inset space \thinspace{}
7890 \begin_inset space \thinspace{}
7908 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7911 \begin_layout Plain Layout
7917 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7920 \begin_layout Plain Layout
7926 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7929 \begin_layout Plain Layout
7935 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7938 \begin_layout Plain Layout
7946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7949 \begin_layout Plain Layout
7955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7958 \begin_layout Plain Layout
7964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7967 \begin_layout Plain Layout
7973 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7976 \begin_layout Plain Layout
7982 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7985 \begin_layout Plain Layout
7993 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7996 \begin_layout Plain Layout
8002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8005 \begin_layout Plain Layout
8011 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8014 \begin_layout Plain Layout
8020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8023 \begin_layout Plain Layout
8029 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8032 \begin_layout Plain Layout
8040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8043 \begin_layout Plain Layout
8049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8052 \begin_layout Plain Layout
8058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8061 \begin_layout Plain Layout
8067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8070 \begin_layout Plain Layout
8076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8079 \begin_layout Plain Layout
8087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8090 \begin_layout Plain Layout
8096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8099 \begin_layout Plain Layout
8105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8108 \begin_layout Plain Layout
8114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8117 \begin_layout Plain Layout
8123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8126 \begin_layout Plain Layout
8134 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8137 \begin_layout Plain Layout
8143 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8146 \begin_layout Plain Layout
8152 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8155 \begin_layout Plain Layout
8161 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8164 \begin_layout Plain Layout
8170 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8173 \begin_layout Plain Layout
8187 \begin_layout Standard
8191 \begin_layout Plain Layout
8205 \begin_layout Standard
8206 \begin_inset Note Greyedout
8209 \begin_layout Plain Layout
8215 When the \SpecialChar LaTeX
8221 \begin_inset Index idx
8226 \begin_layout Plain Layout
8229 \begin_inset IndexMacro subentry
8232 \begin_layout Plain Layout
8244 as in this document,
8245 the full page width is used for the caption when you use the default value of 4
8246 \begin_inset space \thinspace{}
8256 To get in this case exactly a 4
8257 \begin_inset space \thinspace{}
8261 you can either use a value slightly different from 4.0
8262 \begin_inset space \thinspace{}
8267 \begin_inset space \thinspace{}
8271 \begin_inset space \space{}
8275 \begin_inset space \thinspace{}
8279 or the \SpecialChar LaTeX
8284 captionsetup{width=value}
8286 that is provided by the
8298 \begin_layout Subsubsection
8299 Different Captions for Table Pages
8300 \begin_inset Index idx
8305 \begin_layout Plain Layout
8307 \begin_inset IndexMacro subentry
8310 \begin_layout Plain Layout
8317 \begin_inset IndexMacro subentry
8320 \begin_layout Plain Layout
8321 Different Captions for Pages
8334 \begin_layout Standard
8335 When the table captions for the following pages should differ from the one of the first table page,
8336 mark a empty row as header which contains a caption.
8337 Then right-click on the caption and select in the context menu
8340 \begin_inset space ~
8347 \begin_inset space ~
8351 \begin_inset CommandInset ref
8353 reference "tab:DiffCaptions"
8358 is an example of a multi-page table with different heading where the second caption does not include the table number.
8361 \begin_layout Standard
8363 \begin_inset Tabular
8364 <lyxtabular version="3" rows="59" columns="3">
8365 <features islongtable="true" longtabularalignment="center">
8366 <column alignment="left" valignment="top" width="0cm">
8367 <column alignment="left" valignment="top" width="0pt">
8368 <column alignment="center" valignment="top" width="0pt">
8369 <row endfirsthead="true" caption="true">
8370 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8373 \begin_layout Plain Layout
8374 \begin_inset Caption Standard
8376 \begin_layout Plain Layout
8378 \begin_inset CommandInset label
8380 name "tab:DiffCaptions"
8385 \begin_inset Argument 1
8388 \begin_layout Plain Layout
8404 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8407 \begin_layout Plain Layout
8413 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8416 \begin_layout Plain Layout
8423 <row endfirsthead="true">
8424 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8427 \begin_layout Plain Layout
8430 Example Phone List (ignore the names)
8435 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
8438 \begin_layout Plain Layout
8444 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
8447 \begin_layout Plain Layout
8454 <row endfirsthead="true">
8455 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8458 \begin_layout Plain Layout
8466 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8469 \begin_layout Plain Layout
8475 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8478 \begin_layout Plain Layout
8487 <row endhead="true" caption="true">
8488 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8491 \begin_layout Plain Layout
8492 \begin_inset Caption Unnumbered
8494 \begin_layout Plain Layout
8495 Continued Example Phone List
8505 <cell multicolumn="2" alignment="left" valignment="top" leftline="true" usebox="none">
8508 \begin_layout Plain Layout
8514 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8517 \begin_layout Plain Layout
8524 <row endhead="true">
8525 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8528 \begin_layout Plain Layout
8536 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8539 \begin_layout Plain Layout
8545 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8548 \begin_layout Plain Layout
8555 <row endhead="true">
8556 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8559 \begin_layout Plain Layout
8567 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8570 \begin_layout Plain Layout
8576 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8579 \begin_layout Plain Layout
8588 <row endfoot="true">
8589 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
8592 \begin_layout Plain Layout
8593 continued on next page
8598 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8601 \begin_layout Plain Layout
8607 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8610 \begin_layout Plain Layout
8618 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8621 \begin_layout Plain Layout
8629 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8632 \begin_layout Plain Layout
8638 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8641 \begin_layout Plain Layout
8649 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8652 \begin_layout Plain Layout
8660 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8663 \begin_layout Plain Layout
8669 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8672 \begin_layout Plain Layout
8680 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8683 \begin_layout Plain Layout
8691 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8694 \begin_layout Plain Layout
8700 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8703 \begin_layout Plain Layout
8711 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8714 \begin_layout Plain Layout
8722 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8725 \begin_layout Plain Layout
8731 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8734 \begin_layout Plain Layout
8742 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8745 \begin_layout Plain Layout
8753 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8756 \begin_layout Plain Layout
8762 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8765 \begin_layout Plain Layout
8773 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8776 \begin_layout Plain Layout
8784 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8787 \begin_layout Plain Layout
8793 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8796 \begin_layout Plain Layout
8804 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8807 \begin_layout Plain Layout
8815 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8818 \begin_layout Plain Layout
8824 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8827 \begin_layout Plain Layout
8835 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8838 \begin_layout Plain Layout
8846 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8849 \begin_layout Plain Layout
8855 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8858 \begin_layout Plain Layout
8866 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8869 \begin_layout Plain Layout
8877 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8880 \begin_layout Plain Layout
8886 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8889 \begin_layout Plain Layout
8897 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8900 \begin_layout Plain Layout
8908 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8911 \begin_layout Plain Layout
8917 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8920 \begin_layout Plain Layout
8928 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8931 \begin_layout Plain Layout
8939 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8942 \begin_layout Plain Layout
8948 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8951 \begin_layout Plain Layout
8959 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8962 \begin_layout Plain Layout
8970 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8973 \begin_layout Plain Layout
8979 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8982 \begin_layout Plain Layout
8990 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8993 \begin_layout Plain Layout
9001 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9004 \begin_layout Plain Layout
9010 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9013 \begin_layout Plain Layout
9021 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9024 \begin_layout Plain Layout
9032 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9035 \begin_layout Plain Layout
9041 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9044 \begin_layout Plain Layout
9052 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9055 \begin_layout Plain Layout
9064 \begin_layout Plain Layout
9075 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9078 \begin_layout Plain Layout
9084 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9087 \begin_layout Plain Layout
9095 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9098 \begin_layout Plain Layout
9106 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9109 \begin_layout Plain Layout
9115 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9118 \begin_layout Plain Layout
9126 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9129 \begin_layout Plain Layout
9137 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9140 \begin_layout Plain Layout
9146 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9149 \begin_layout Plain Layout
9157 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9160 \begin_layout Plain Layout
9168 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9171 \begin_layout Plain Layout
9177 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9180 \begin_layout Plain Layout
9188 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9191 \begin_layout Plain Layout
9199 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9202 \begin_layout Plain Layout
9208 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9211 \begin_layout Plain Layout
9219 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9222 \begin_layout Plain Layout
9230 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9233 \begin_layout Plain Layout
9239 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9242 \begin_layout Plain Layout
9250 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9253 \begin_layout Plain Layout
9261 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9264 \begin_layout Plain Layout
9270 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9273 \begin_layout Plain Layout
9281 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9284 \begin_layout Plain Layout
9292 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9295 \begin_layout Plain Layout
9301 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9304 \begin_layout Plain Layout
9313 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9316 \begin_layout Plain Layout
9324 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9327 \begin_layout Plain Layout
9333 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9336 \begin_layout Plain Layout
9344 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9347 \begin_layout Plain Layout
9355 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9358 \begin_layout Plain Layout
9364 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9367 \begin_layout Plain Layout
9375 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9378 \begin_layout Plain Layout
9386 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9389 \begin_layout Plain Layout
9395 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9398 \begin_layout Plain Layout
9406 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9409 \begin_layout Plain Layout
9417 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9420 \begin_layout Plain Layout
9426 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9429 \begin_layout Plain Layout
9437 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9440 \begin_layout Plain Layout
9448 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9451 \begin_layout Plain Layout
9457 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9460 \begin_layout Plain Layout
9468 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9471 \begin_layout Plain Layout
9479 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9482 \begin_layout Plain Layout
9488 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9491 \begin_layout Plain Layout
9499 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9502 \begin_layout Plain Layout
9510 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9513 \begin_layout Plain Layout
9519 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9522 \begin_layout Plain Layout
9530 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9533 \begin_layout Plain Layout
9541 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9544 \begin_layout Plain Layout
9550 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9553 \begin_layout Plain Layout
9561 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9564 \begin_layout Plain Layout
9572 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9575 \begin_layout Plain Layout
9581 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9584 \begin_layout Plain Layout
9592 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9595 \begin_layout Plain Layout
9601 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
9604 \begin_layout Plain Layout
9610 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9613 \begin_layout Plain Layout
9621 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9624 \begin_layout Plain Layout
9632 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9635 \begin_layout Plain Layout
9641 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9644 \begin_layout Plain Layout
9652 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9655 \begin_layout Plain Layout
9663 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9666 \begin_layout Plain Layout
9672 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9675 \begin_layout Plain Layout
9683 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9686 \begin_layout Plain Layout
9694 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9697 \begin_layout Plain Layout
9703 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9706 \begin_layout Plain Layout
9714 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9717 \begin_layout Plain Layout
9725 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9728 \begin_layout Plain Layout
9734 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9737 \begin_layout Plain Layout
9745 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9748 \begin_layout Plain Layout
9756 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9759 \begin_layout Plain Layout
9765 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9768 \begin_layout Plain Layout
9776 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9779 \begin_layout Plain Layout
9787 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9790 \begin_layout Plain Layout
9796 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9799 \begin_layout Plain Layout
9807 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9810 \begin_layout Plain Layout
9818 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9821 \begin_layout Plain Layout
9827 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9830 \begin_layout Plain Layout
9838 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9841 \begin_layout Plain Layout
9849 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9852 \begin_layout Plain Layout
9858 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9861 \begin_layout Plain Layout
9869 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9872 \begin_layout Plain Layout
9880 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9883 \begin_layout Plain Layout
9889 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9892 \begin_layout Plain Layout
9900 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9903 \begin_layout Plain Layout
9911 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9914 \begin_layout Plain Layout
9920 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9923 \begin_layout Plain Layout
9931 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9934 \begin_layout Plain Layout
9942 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9945 \begin_layout Plain Layout
9951 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9954 \begin_layout Plain Layout
9962 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9965 \begin_layout Plain Layout
9973 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9976 \begin_layout Plain Layout
9982 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9985 \begin_layout Plain Layout
9993 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9996 \begin_layout Plain Layout
10004 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10007 \begin_layout Plain Layout
10013 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10016 \begin_layout Plain Layout
10024 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10027 \begin_layout Plain Layout
10035 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10038 \begin_layout Plain Layout
10044 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10047 \begin_layout Plain Layout
10055 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10058 \begin_layout Plain Layout
10066 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10069 \begin_layout Plain Layout
10075 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10078 \begin_layout Plain Layout
10086 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10089 \begin_layout Plain Layout
10097 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10100 \begin_layout Plain Layout
10106 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10109 \begin_layout Plain Layout
10117 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10120 \begin_layout Plain Layout
10128 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10131 \begin_layout Plain Layout
10137 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10140 \begin_layout Plain Layout
10148 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10151 \begin_layout Plain Layout
10159 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10162 \begin_layout Plain Layout
10168 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10171 \begin_layout Plain Layout
10179 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10182 \begin_layout Plain Layout
10190 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10193 \begin_layout Plain Layout
10199 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10202 \begin_layout Plain Layout
10210 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
10213 \begin_layout Plain Layout
10221 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
10224 \begin_layout Plain Layout
10230 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10233 \begin_layout Plain Layout
10247 \begin_layout Section
10248 Special Multi-page Table Issues
10249 \begin_inset CommandInset label
10251 name "sec:Special-Longtable-Issues"
10258 \begin_layout Subsection
10259 Multi-page Table Calculation
10260 \begin_inset Index idx
10265 \begin_layout Plain Layout
10267 \begin_inset IndexMacro subentry
10270 \begin_layout Plain Layout
10277 \begin_inset IndexMacro subentry
10280 \begin_layout Plain Layout
10294 \begin_layout Standard
10296 calculates the height of table pages and their page breaks using so called chunks.
10297 Chunks are parts of tables that held at the same time in \SpecialChar LaTeX
10299 The default value was historically set to only 20
10300 \begin_inset space ~
10304 If you are using multi-page tables with many pages this may slow down the creation of your document.
10305 You can safely increase the chunk size to values of 100
10306 \begin_inset space \thinspace{}
10310 \begin_inset space \thinspace{}
10313 1000 by adding this command line to your document preamble:
10316 \begin_layout Standard
10321 setcounter{LTchunksize}{100}
10324 \begin_layout Subsection
10325 Floats and Multi-page Tables
10326 \begin_inset Index idx
10331 \begin_layout Plain Layout
10333 \begin_inset IndexMacro subentry
10336 \begin_layout Plain Layout
10343 \begin_inset IndexMacro subentry
10346 \begin_layout Plain Layout
10360 \begin_layout Standard
10361 There might be problems when a float appears on the same page where a multi-page table starts.
10362 To avoid such a situation,
10364 \begin_inset Quotes eld
10368 \begin_inset Quotes erd
10373 Insert\SpecialChar menuseparator
10374 Formatting\SpecialChar menuseparator
10376 \begin_inset space ~
10381 ) before your multi-page table.
10384 \begin_layout Subsection
10386 \begin_inset Index idx
10391 \begin_layout Plain Layout
10393 \begin_inset IndexMacro subentry
10396 \begin_layout Plain Layout
10403 \begin_inset IndexMacro subentry
10406 \begin_layout Plain Layout
10420 \begin_layout Standard
10421 By default tables are only broken between rows.
10422 If you have a cell with multiples lines and want to have a page break within the cell,
10423 insert the new line command
10424 \begin_inset Quotes eld
10436 \begin_inset Quotes erd
10439 as \SpecialChar TeX
10440 Code at the point of the cell where it can be broken.
10449 command you have to insert in \SpecialChar TeX
10451 \begin_inset Quotes eld
10459 \begin_inset Quotes erd
10462 characters as the number of the following table columns.
10467 is the character to separate table cells.
10468 Write in \SpecialChar TeX
10473 the content of the corresponding following cell and delete the content of these cells.
10474 \begin_inset Newline newline
10490 characters as the number of table columns before the current column.
10492 \begin_inset space ~
10496 \begin_inset CommandInset ref
10498 reference "tab:ForcedPagebreak"
10503 the cell that should be broken is in the second column followed by another column.
10504 Therefore the following command was inserted in the cell as \SpecialChar TeX
10506 \begin_inset Quotes eld
10514 \begin_inset Quotes erd
10520 \begin_layout Standard
10530 \begin_inset Newline newline
10536 \begin_layout Standard
10538 \begin_inset Quotes eld
10542 \begin_inset Quotes erd
10545 in the third column of the row was deleted.
10552 is only needed when a page break should definitely occur at this position,
10553 otherwise it would be a conditional break.
10554 If your footer row of the multi-page table has for a certain reason no upper line but you would have a horizontal line where the cell is broken,
10555 use this command instead:
10558 \begin_layout Standard
10566 \begin_inset Newline newline
10574 \begin_layout Standard
10575 When the cell to be broken is in the last column,
10579 \begin_layout Standard
10589 \begin_layout Standard
10590 must be inserted as \SpecialChar TeX
10591 Code at the beginning of the cell.
10592 This ensures that the part of the cell that will be displayed on the new page appears with the full width.
10595 \begin_layout Standard
10597 \begin_inset Tabular
10598 <lyxtabular version="3" rows="38" columns="3">
10599 <features islongtable="true" longtabularalignment="center">
10600 <column alignment="left" valignment="top" width="0cm">
10601 <column alignment="left" valignment="top" width="3cm">
10602 <column alignment="center" valignment="top" width="0pt">
10603 <row endfirsthead="true" caption="true">
10604 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10607 \begin_layout Plain Layout
10608 \begin_inset Caption Standard
10610 \begin_layout Plain Layout
10611 Table with forced page break in table cell
10612 \begin_inset CommandInset label
10614 name "tab:ForcedPagebreak"
10619 \begin_inset Argument 1
10622 \begin_layout Plain Layout
10623 Table with forced page break in table cell
10638 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10641 \begin_layout Plain Layout
10647 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10650 \begin_layout Plain Layout
10657 <row endfirsthead="true">
10658 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10661 \begin_layout Plain Layout
10664 Example Phone List (ignore the names)
10669 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10672 \begin_layout Plain Layout
10678 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10681 \begin_layout Plain Layout
10688 <row endfirsthead="true">
10689 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10692 \begin_layout Plain Layout
10700 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10703 \begin_layout Plain Layout
10709 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10712 \begin_layout Plain Layout
10721 <row endhead="true" caption="true">
10722 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10725 \begin_layout Plain Layout
10726 \begin_inset Caption Unnumbered
10728 \begin_layout Plain Layout
10729 Continued Example Phone List
10739 <cell multicolumn="2" alignment="left" valignment="top" rightline="true" usebox="none">
10742 \begin_layout Plain Layout
10748 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
10751 \begin_layout Plain Layout
10758 <row endhead="true">
10759 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10762 \begin_layout Plain Layout
10770 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10773 \begin_layout Plain Layout
10779 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10782 \begin_layout Plain Layout
10789 <row endhead="true">
10790 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10793 \begin_layout Plain Layout
10801 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10804 \begin_layout Plain Layout
10810 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10813 \begin_layout Plain Layout
10822 <row endfoot="true">
10823 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10826 \begin_layout Plain Layout
10827 continued on next page
10832 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10835 \begin_layout Plain Layout
10841 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10844 \begin_layout Plain Layout
10852 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10855 \begin_layout Plain Layout
10863 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10866 \begin_layout Plain Layout
10872 <cell alignment="right" valignment="top" rightline="true" usebox="none">
10875 \begin_layout Plain Layout
10883 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10886 \begin_layout Plain Layout
10894 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10897 \begin_layout Plain Layout
10903 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10906 \begin_layout Plain Layout
10914 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10917 \begin_layout Plain Layout
10925 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10928 \begin_layout Plain Layout
10934 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10937 \begin_layout Plain Layout
10945 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10948 \begin_layout Plain Layout
10956 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10959 \begin_layout Plain Layout
10965 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10968 \begin_layout Plain Layout
10976 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10979 \begin_layout Plain Layout
10987 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10990 \begin_layout Plain Layout
10996 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10999 \begin_layout Plain Layout
11007 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11010 \begin_layout Plain Layout
11018 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11021 \begin_layout Plain Layout
11027 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11030 \begin_layout Plain Layout
11038 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11041 \begin_layout Plain Layout
11049 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11052 \begin_layout Plain Layout
11058 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11061 \begin_layout Plain Layout
11069 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11072 \begin_layout Plain Layout
11080 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11083 \begin_layout Plain Layout
11089 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11092 \begin_layout Plain Layout
11100 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11103 \begin_layout Plain Layout
11111 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11114 \begin_layout Plain Layout
11120 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11123 \begin_layout Plain Layout
11131 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11134 \begin_layout Plain Layout
11142 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11145 \begin_layout Plain Layout
11151 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11154 \begin_layout Plain Layout
11162 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11165 \begin_layout Plain Layout
11173 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11176 \begin_layout Plain Layout
11182 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11185 \begin_layout Plain Layout
11193 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11196 \begin_layout Plain Layout
11204 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11207 \begin_layout Plain Layout
11213 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11216 \begin_layout Plain Layout
11224 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11227 \begin_layout Plain Layout
11235 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11238 \begin_layout Plain Layout
11244 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11247 \begin_layout Plain Layout
11255 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11258 \begin_layout Plain Layout
11266 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11269 \begin_layout Plain Layout
11275 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11278 \begin_layout Plain Layout
11286 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11289 \begin_layout Plain Layout
11297 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11300 \begin_layout Plain Layout
11306 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11309 \begin_layout Plain Layout
11317 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11320 \begin_layout Plain Layout
11328 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11331 \begin_layout Plain Layout
11337 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11340 \begin_layout Plain Layout
11348 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11351 \begin_layout Plain Layout
11359 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11362 \begin_layout Plain Layout
11368 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11371 \begin_layout Plain Layout
11379 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11382 \begin_layout Plain Layout
11390 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11393 \begin_layout Plain Layout
11399 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11402 \begin_layout Plain Layout
11410 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11413 \begin_layout Plain Layout
11421 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11424 \begin_layout Plain Layout
11430 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11433 \begin_layout Plain Layout
11441 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11444 \begin_layout Plain Layout
11452 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11455 \begin_layout Plain Layout
11461 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11464 \begin_layout Plain Layout
11472 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11475 \begin_layout Plain Layout
11483 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11486 \begin_layout Plain Layout
11492 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11495 \begin_layout Plain Layout
11504 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11507 \begin_layout Plain Layout
11515 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11518 \begin_layout Plain Layout
11524 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11527 \begin_layout Plain Layout
11535 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11538 \begin_layout Plain Layout
11546 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11549 \begin_layout Plain Layout
11552 Fürst von Montecompatri,
11554 Fürst von Sulmona und Vivaro,
11556 Fürst von Rossano,
11558 Herzog von Canemorte,
11560 Herzog von Palombara,
11562 Herzog von Castelchiodato,
11566 \begin_layout Plain Layout
11577 \begin_layout Plain Layout
11585 Herzog von Poggionativo,
11587 Markis von Mentana,
11591 Moricone und Percille,
11593 Graf von Valinfreda,
11595 Baron von Cropalati,
11599 Patrizier von Venedig,
11605 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11608 \begin_layout Plain Layout
11616 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11619 \begin_layout Plain Layout
11627 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11630 \begin_layout Plain Layout
11636 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11639 \begin_layout Plain Layout
11647 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11650 \begin_layout Plain Layout
11658 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11661 \begin_layout Plain Layout
11667 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11670 \begin_layout Plain Layout
11678 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11681 \begin_layout Plain Layout
11689 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11692 \begin_layout Plain Layout
11698 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11701 \begin_layout Plain Layout
11709 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11712 \begin_layout Plain Layout
11720 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11723 \begin_layout Plain Layout
11729 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11732 \begin_layout Plain Layout
11740 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11743 \begin_layout Plain Layout
11751 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11754 \begin_layout Plain Layout
11760 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11763 \begin_layout Plain Layout
11771 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11774 \begin_layout Plain Layout
11782 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11785 \begin_layout Plain Layout
11791 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11794 \begin_layout Plain Layout
11802 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11805 \begin_layout Plain Layout
11813 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11816 \begin_layout Plain Layout
11822 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11825 \begin_layout Plain Layout
11833 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11836 \begin_layout Plain Layout
11844 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
11847 \begin_layout Plain Layout
11853 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11856 \begin_layout Plain Layout
11870 \begin_layout Section
11875 \begin_layout Subsection
11876 Multiple Lines in Table Cells
11877 \begin_inset CommandInset label
11879 name "subsec:Multiple-Lines-in"
11884 \begin_inset Index idx
11889 \begin_layout Plain Layout
11890 Multiple Lines in Table Cells
11896 \begin_inset Index idx
11901 \begin_layout Plain Layout
11903 \begin_inset IndexMacro subentry
11906 \begin_layout Plain Layout
11920 \begin_layout Standard
11922 \begin_inset Float table
11929 \begin_layout Plain Layout
11930 \begin_inset Caption Standard
11932 \begin_layout Plain Layout
11933 \begin_inset CommandInset label
11935 name "tab:Table-with-multiple"
11939 Table with multiple lines in cells
11947 \begin_layout Plain Layout
11949 \begin_inset Tabular
11950 <lyxtabular version="3" rows="3" columns="3">
11951 <features tabularvalignment="middle">
11952 <column alignment="center" valignment="middle" width="2.5cm">
11953 <column alignment="center" valignment="middle">
11954 <column alignment="center" valignment="middle">
11956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11959 \begin_layout Plain Layout
11961 \begin_inset Newline linebreak
11969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11972 \begin_layout Plain Layout
11978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11981 \begin_layout Plain Layout
11989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11992 \begin_layout Plain Layout
11998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12001 \begin_layout Plain Layout
12007 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12010 \begin_layout Plain Layout
12018 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12021 \begin_layout Plain Layout
12027 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12030 \begin_layout Plain Layout
12036 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12039 \begin_layout Plain Layout
12058 \begin_layout Standard
12059 Setting a fixed width for a column enables you to enter text as a paragraph with multiple lines and hyphenation.
12062 \begin_layout Standard
12064 \begin_inset space ~
12068 \begin_inset CommandInset ref
12070 reference "tab:Table-with-multiple"
12076 create a 3×3 table,
12077 mark the first cell and right-click on it.
12078 In the appearing table dialog we set a cell width of 2.5
12079 \begin_inset space \thinspace{}
12082 cm and choose centered for the vertical and horizontal alignment.
12083 The vertical alignment is used for all cells of the row.
12084 As our text is smaller than 2.5
12085 \begin_inset space \thinspace{}
12089 only one line will appear.
12091 a justified line break (shortcut
12094 arg "newline-insert linebreak"
12098 If the text is wider than the set cell width,
12099 it will automatically be broken to several lines.
12102 \begin_layout Standard
12103 If you have a long word in a cell with a fixed width,
12104 it cannot be hyphenated by \SpecialChar LaTeX
12105 if it is the first entry.
12106 Therefore you need to insert something to prevent the word not being the first entry.
12107 So add a horizontal space of 0
12108 \begin_inset space \thinspace{}
12111 pt before the word.
12112 As the space is zero,
12113 it doesn't change the output.
12115 \begin_inset space ~
12119 \begin_inset CommandInset ref
12121 reference "tab:Table-with-and"
12129 \begin_layout Standard
12130 \begin_inset Float table
12137 \begin_layout Plain Layout
12138 \begin_inset Caption Standard
12140 \begin_layout Plain Layout
12141 \begin_inset CommandInset label
12143 name "tab:Table-with-and"
12147 Table with and without hyphenation
12155 \begin_layout Plain Layout
12156 \begin_inset space \hfill{}
12160 \begin_inset Tabular
12161 <lyxtabular version="3" rows="3" columns="3">
12162 <features tabularvalignment="middle">
12163 <column alignment="center" valignment="middle" width="2.5cm">
12164 <column alignment="center" valignment="middle">
12165 <column alignment="center" valignment="middle">
12167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12170 \begin_layout Plain Layout
12171 verylongtablecellword
12176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12179 \begin_layout Plain Layout
12185 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12188 \begin_layout Plain Layout
12196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12199 \begin_layout Plain Layout
12205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12208 \begin_layout Plain Layout
12214 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12217 \begin_layout Plain Layout
12225 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12228 \begin_layout Plain Layout
12234 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12237 \begin_layout Plain Layout
12243 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12246 \begin_layout Plain Layout
12258 \begin_inset space \hfill{}
12262 \begin_inset Tabular
12263 <lyxtabular version="3" rows="3" columns="3">
12264 <features tabularvalignment="middle">
12265 <column alignment="center" valignment="middle" width="2.5cm">
12266 <column alignment="center" valignment="middle">
12267 <column alignment="center" valignment="middle">
12269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12272 \begin_layout Plain Layout
12273 \begin_inset space \hspace{}
12277 verylongtablecellword
12282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12285 \begin_layout Plain Layout
12291 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12294 \begin_layout Plain Layout
12302 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12305 \begin_layout Plain Layout
12311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12314 \begin_layout Plain Layout
12320 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12323 \begin_layout Plain Layout
12331 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12334 \begin_layout Plain Layout
12340 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12343 \begin_layout Plain Layout
12349 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12352 \begin_layout Plain Layout
12364 \begin_inset space \hfill{}
12375 \begin_layout Subsection
12377 \begin_inset CommandInset label
12379 name "subsec:Multicolumns"
12384 \begin_inset Index idx
12389 \begin_layout Plain Layout
12396 \begin_inset Index idx
12401 \begin_layout Plain Layout
12403 \begin_inset IndexMacro subentry
12406 \begin_layout Plain Layout
12420 \begin_layout Subsubsection
12424 \begin_layout Standard
12425 To merge cells over multiple columns,
12426 select as many cells within a row as you want to merge and use either the table-toolbar button
12429 arg "tabular-feature multicolumn"
12435 Edit\SpecialChar menuseparator
12436 Table\SpecialChar menuseparator
12440 or right click on the marked cells and choose
12444 in the context menu.
12447 \begin_layout Standard
12448 Multicolumns have their own cell settings.
12449 That means changing cell borders,
12451 and the width only affects the multicolumn.
12452 Here is an example table with a multicolumn cell in the first row and one in the last row without the upper border:
12455 \begin_layout Standard
12457 \begin_inset Tabular
12458 <lyxtabular version="3" rows="3" columns="4">
12459 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
12460 <column alignment="center" valignment="top" width="0pt">
12461 <column alignment="center" valignment="middle">
12462 <column alignment="center" valignment="top" width="0in">
12463 <column alignment="center" valignment="top" width="0pt">
12465 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12468 \begin_layout Plain Layout
12474 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12477 \begin_layout Plain Layout
12483 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12486 \begin_layout Plain Layout
12492 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12495 \begin_layout Plain Layout
12503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12506 \begin_layout Plain Layout
12521 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12524 \begin_layout Plain Layout
12530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12533 \begin_layout Plain Layout
12539 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12542 \begin_layout Plain Layout
12550 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12553 \begin_layout Plain Layout
12559 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
12562 \begin_layout Plain Layout
12568 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12571 \begin_layout Plain Layout
12577 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12580 \begin_layout Plain Layout
12594 \begin_layout Subsubsection
12595 Multicolumn Calculations
12596 \begin_inset CommandInset label
12598 name "subsec:Multicolumn-Calculations"
12603 \begin_inset Index idx
12608 \begin_layout Plain Layout
12610 \begin_inset IndexMacro subentry
12613 \begin_layout Plain Layout
12627 \begin_layout Standard
12629 supports multicolumns directly,
12630 but we have to take account of the cell width of the columns spanned by the multicolumn cell.
12633 \begin_layout Standard
12634 \begin_inset Float table
12641 \begin_layout Plain Layout
12642 \begin_inset Caption Standard
12644 \begin_layout Plain Layout
12645 \begin_inset CommandInset label
12647 name "tab:Table-with-centered"
12651 Table with centered multicolumn text above two columns that have exactly half the width of the multicolumn cell
12652 \begin_inset Argument 1
12655 \begin_layout Plain Layout
12656 Perfect multicolumn table
12669 \begin_layout Plain Layout
12671 \begin_inset Tabular
12672 <lyxtabular version="3" rows="3" columns="3">
12673 <features tabularvalignment="middle">
12674 <column alignment="center" valignment="middle" special=">{\centering}m{1.25cm-6.2pt}">
12675 <column alignment="center" valignment="middle">
12676 <column alignment="center" valignment="top">
12678 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
12681 \begin_layout Plain Layout
12682 multiple lines multicolumn
12687 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12690 \begin_layout Plain Layout
12696 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12699 \begin_layout Plain Layout
12707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12710 \begin_layout Plain Layout
12716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12719 \begin_layout Plain Layout
12725 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12728 \begin_layout Plain Layout
12736 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12739 \begin_layout Plain Layout
12745 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12748 \begin_layout Plain Layout
12754 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12757 \begin_layout Plain Layout
12776 \begin_layout Standard
12777 To create for example Table
12778 \begin_inset space ~
12782 \begin_inset CommandInset ref
12784 reference "tab:Table-with-centered"
12790 mark the first two cells in the first row of a 3×3 table and right-click on them.
12791 Now choose for this cell
12801 \begin_inset space \thinspace{}
12804 cm in the table dialog.
12805 The merged columns should have exactly half the width of the multicolumn cell,
12806 so that you would set a width of 1.25
12807 \begin_inset space \thinspace{}
12810 cm for the first column.
12811 The second column has then automatically a width of 1.25
12812 \begin_inset space \thinspace{}
12815 cm (multicolumn width - width of first column).
12816 This was done for Table
12817 \begin_inset space ~
12821 \begin_inset CommandInset ref
12823 reference "tab:Table-without-half"
12831 \begin_layout Standard
12832 \begin_inset Float table
12839 \begin_layout Plain Layout
12840 \begin_inset Caption Standard
12842 \begin_layout Plain Layout
12843 \begin_inset CommandInset label
12845 name "tab:Table-without-half"
12849 Table where the spanned table columns are not exactly half the width of the multicolumn cell
12850 \begin_inset Argument 1
12853 \begin_layout Plain Layout
12854 Imperfect multicolumn table
12867 \begin_layout Plain Layout
12869 \begin_inset Tabular
12870 <lyxtabular version="3" rows="3" columns="3">
12871 <features tabularvalignment="middle">
12872 <column alignment="center" valignment="top" width="1.25cm">
12873 <column alignment="center" valignment="top">
12874 <column alignment="center" valignment="top">
12876 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12879 \begin_layout Plain Layout
12880 multiple lines multicolumn
12885 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12888 \begin_layout Plain Layout
12894 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12897 \begin_layout Plain Layout
12905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12908 \begin_layout Plain Layout
12914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12917 \begin_layout Plain Layout
12923 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12926 \begin_layout Plain Layout
12934 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12937 \begin_layout Plain Layout
12943 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12946 \begin_layout Plain Layout
12952 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12955 \begin_layout Plain Layout
12974 \begin_layout Standard
12975 You can see that the first column is not half the width of the multicolumn cell,
12976 it is a bit bigger.
12977 The reason is that the specified width of a cell
12978 \begin_inset Formula $W_{g}$
12981 is not its total width
12982 \begin_inset Formula $W_{\mathrm{tot}}$
12985 because a cell is always a bit larger than specified.
12987 \begin_inset space ~
12991 \begin_inset CommandInset ref
12993 reference "cha:Explanation-of-Equation"
12998 explains this in detail.
13001 \begin_layout Standard
13003 \begin_inset Formula $W_{g\,n}$
13006 which the user needs to set when
13010 columns are spanned can be calculated,
13011 so that each column has a total width of
13012 \begin_inset Formula $W_{\mathrm{tot\,multicolumn}}/n$
13016 \begin_inset Formula
13018 W_{g\,n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
13026 \begin_layout Standard
13027 In our case we have
13028 \begin_inset Formula $n=2$
13033 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
13036 cm and the default values for the lengths,
13038 \begin_inset CommandInset ref
13046 \begin_inset Formula
13048 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
13056 \begin_layout Standard
13057 To enable calculations in \SpecialChar LaTeX
13059 the \SpecialChar LaTeX
13064 must be loaded with the document preamble line
13065 \begin_inset Index idx
13070 \begin_layout Plain Layout
13073 \begin_inset IndexMacro subentry
13076 \begin_layout Plain Layout
13090 \begin_layout Standard
13098 \begin_layout Standard
13100 does not allow you to calculate lengths in the
13104 field of the table dialog.
13105 Therefore you have to format the column by inserting a \SpecialChar LaTeX
13106 -argument in the dialog.
13107 Here is an overview about the arguments:
13110 \begin_layout Itemize
13115 creates cell with a fixed width,
13116 its text is vertically top-aligned
13119 \begin_layout Itemize
13124 creates cell with a fixed width,
13125 its text is vertically centered
13128 \begin_layout Itemize
13133 creates cell with a fixed width,
13134 its text is vertically bottom-aligned
13137 \begin_layout Standard
13138 By entering a \SpecialChar LaTeX
13140 all cell settings set in the table dialog are overwritten.
13143 \begin_layout Standard
13144 \begin_inset Note Greyedout
13147 \begin_layout Plain Layout
13155 shows the overwritten settings anyway.
13163 \begin_layout Standard
13164 As the text should be horizontally centered,
13172 You can now enter the following \SpecialChar LaTeX
13173 -argument for the first spanned column:
13176 \begin_layout Standard
13181 centering}m{1.25cm-6.2pt}
13184 \begin_layout Standard
13190 that the commands inside the braces are applied before the cell is created.
13193 \begin_layout Standard
13194 Although we have chosen centered alignment for the text of the multicolumn cell,
13195 it is still left aligned.
13196 This is because \SpecialChar LyX
13197 only applies the alignment to single columns.
13198 So for the multicolumn cell we have to use the \SpecialChar LaTeX
13202 \begin_layout Standard
13210 \begin_layout Subsection
13212 \begin_inset CommandInset label
13214 name "subsec:Multirows"
13219 \begin_inset Index idx
13224 \begin_layout Plain Layout
13231 \begin_inset Index idx
13236 \begin_layout Plain Layout
13238 \begin_inset IndexMacro subentry
13241 \begin_layout Plain Layout
13255 \begin_layout Standard
13256 To merge cells over multiple rows,
13257 select as many cells within a column as you want to merge and use either the table-toolbar button
13260 arg "tabular-feature multirow"
13266 Edit\SpecialChar menuseparator
13267 Table\SpecialChar menuseparator
13271 or right click on the marked cells and choose
13275 in the context menu.
13278 \begin_layout Standard
13279 Here is an example table with a multirow in the first column:
13282 \begin_layout Standard
13284 \begin_inset Tabular
13285 <lyxtabular version="3" rows="3" columns="3">
13286 <features tabularvalignment="middle">
13287 <column alignment="center" valignment="top" width="0pt">
13288 <column alignment="center" valignment="top">
13289 <column alignment="center" valignment="top">
13291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13294 \begin_layout Plain Layout
13300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13303 \begin_layout Plain Layout
13309 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13312 \begin_layout Plain Layout
13320 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13323 \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" leftline="true" rightline="true" usebox="none">
13341 \begin_layout Plain Layout
13349 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13352 \begin_layout Plain Layout
13358 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13361 \begin_layout Plain Layout
13367 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13370 \begin_layout Plain Layout
13384 \begin_layout Standard
13385 The width of multirow cells is set by setting the width and alignment for the whole column.
13390 shifts the content of the multirow up/down if the offset is positive/negative.
13393 \begin_layout Standard
13394 If the column of a multirow cell has no explicit width,
13395 the multirow cell inherits the alignment of the column.
13396 Otherwise it is by default left-aligned.
13397 To override the default,
13407 \begin_layout Standard
13419 \begin_layout Standard
13420 in the document preamble.
13421 Then all entries of multirow cells in the document are centered.
13422 If centering is only needed for several tables,
13423 you can renew the command in a \SpecialChar TeX
13424 Code box just before the table instead of the preamble.
13425 If the text should be right-aligned,
13439 To return to left-alignment
13448 \begin_layout Standard
13449 This is an example table with a right-aligned multirow cell that has a vertical offset of -4
13450 \begin_inset space \thinspace{}
13454 \begin_inset space \thinspace{}
13460 \begin_layout Standard
13466 \begin_layout Plain Layout
13480 \begin_inset Tabular
13481 <lyxtabular version="3" rows="4" columns="3">
13482 <features tabularvalignment="middle">
13483 <column alignment="center" valignment="top" width="3cm">
13484 <column alignment="center" valignment="top">
13485 <column alignment="center" valignment="top">
13487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13490 \begin_layout Plain Layout
13496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13499 \begin_layout Plain Layout
13505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13508 \begin_layout Plain Layout
13516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13519 \begin_layout Plain Layout
13525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13528 \begin_layout Plain Layout
13534 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13537 \begin_layout Plain Layout
13545 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13548 \begin_layout Plain Layout
13554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13557 \begin_layout Plain Layout
13563 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13566 \begin_layout Plain Layout
13574 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13577 \begin_layout Plain Layout
13583 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13586 \begin_layout Plain Layout
13592 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13595 \begin_layout Plain Layout
13610 \begin_layout Plain Layout
13626 \begin_layout Standard
13627 To start a new line in a multirow you can use a forced line break (shortcut
13630 arg "newline-insert newline"
13633 ) but this will not respect the cell lines as demonstrated in this table:
13636 \begin_layout Standard
13639 \begin_inset Tabular
13640 <lyxtabular version="3" rows="3" columns="2">
13641 <features tabularvalignment="middle">
13642 <column alignment="left" valignment="middle" width="2cm">
13643 <column alignment="center" valignment="top">
13645 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
13648 \begin_layout Plain Layout
13650 \begin_inset Newline newline
13654 \begin_inset Newline newline
13662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13665 \begin_layout Plain Layout
13673 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
13676 \begin_layout Plain Layout
13682 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13685 \begin_layout Plain Layout
13693 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13696 \begin_layout Plain Layout
13702 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13705 \begin_layout Plain Layout
13719 \begin_layout Standard
13720 Therefore be careful with forced line breaks.
13723 \begin_layout Subsection
13724 Cells with diagonal line(s)
13727 \begin_layout Standard
13728 To tell the reader what is meant by column and row headings in a table,
13729 it is helpful to split the first cell of the table by one or two diagonal lines.
13730 This can be achieved by loading the \SpecialChar LaTeX
13736 \begin_inset Index idx
13741 \begin_layout Plain Layout
13744 \begin_inset IndexMacro subentry
13747 \begin_layout Plain Layout
13758 in the document preamble.
13759 The package provides the command
13765 that is inserted as \SpecialChar TeX
13766 Code and that can take 2 or 3
13767 \begin_inset space ~
13773 \begin_layout Standard
13778 diagbox[options]{lower left}{upper right}
13781 \begin_layout Standard
13786 diagbox[options]{lower left}{upper left}{upper right}
13789 \begin_layout Standard
13790 The first scheme divides the cell by a single diagonal line and the arguments are placed below and above this line.
13791 The second scheme divides the cell by 2
13792 \begin_inset space ~
13798 \begin_layout Standard
13802 \begin_layout Plain Layout
13812 \begin_inset Note Note
13815 \begin_layout Plain Layout
13816 The following section will only be displayed when the \SpecialChar LaTeX
13829 \begin_layout Standard
13830 Here is an example table where
13836 is used in the 2-argument scheme in the first cell:
13837 \begin_inset VSpace medskip
13843 \begin_layout Standard
13845 \begin_inset Tabular
13846 <lyxtabular version="3" rows="4" columns="4">
13847 <features tabularvalignment="middle">
13848 <column alignment="center" valignment="top">
13849 <column alignment="center" valignment="top">
13850 <column alignment="center" valignment="top">
13851 <column alignment="center" valignment="top">
13853 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13856 \begin_layout Plain Layout
13860 \begin_layout Plain Layout
13873 \begin_layout Plain Layout
13884 \begin_layout Plain Layout
13896 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13899 \begin_layout Plain Layout
13905 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13908 \begin_layout Plain Layout
13914 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13917 \begin_layout Plain Layout
13925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13928 \begin_layout Plain Layout
13934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13937 \begin_layout Plain Layout
13943 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13946 \begin_layout Plain Layout
13952 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13955 \begin_layout Plain Layout
13963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13966 \begin_layout Plain Layout
13972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13975 \begin_layout Plain Layout
13981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13984 \begin_layout Plain Layout
13990 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13993 \begin_layout Plain Layout
14001 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14004 \begin_layout Plain Layout
14010 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14013 \begin_layout Plain Layout
14019 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14022 \begin_layout Plain Layout
14028 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14031 \begin_layout Plain Layout
14043 \begin_inset VSpace medskip
14049 \begin_layout Standard
14050 The 3-argument scheme is for example useful for cross-tables of sports leagues or distances:
14053 \begin_layout Standard
14056 \begin_inset Tabular
14057 <lyxtabular version="3" rows="4" columns="4">
14058 <features tabularvalignment="middle">
14059 <column alignment="center" valignment="top" width="0pt">
14060 <column alignment="center" valignment="top">
14061 <column alignment="center" valignment="top">
14062 <column alignment="center" valignment="top">
14064 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14067 \begin_layout Plain Layout
14071 \begin_layout Plain Layout
14084 \begin_layout Plain Layout
14095 \begin_layout Plain Layout
14106 \begin_layout Plain Layout
14118 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14121 \begin_layout Plain Layout
14127 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14130 \begin_layout Plain Layout
14136 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14139 \begin_layout Plain Layout
14147 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14150 \begin_layout Plain Layout
14156 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14159 \begin_layout Plain Layout
14166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14169 \begin_layout Plain Layout
14175 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14178 \begin_layout Plain Layout
14186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14189 \begin_layout Plain Layout
14195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14198 \begin_layout Plain Layout
14204 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14207 \begin_layout Plain Layout
14214 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14217 \begin_layout Plain Layout
14225 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14228 \begin_layout Plain Layout
14234 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14237 \begin_layout Plain Layout
14243 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14246 \begin_layout Plain Layout
14252 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14255 \begin_layout Plain Layout
14270 \begin_layout Standard
14271 For larger cross-tables one might use split cells in 2 or every corner of the table like in this example:
14274 \begin_layout Standard
14277 \begin_inset Tabular
14278 <lyxtabular version="3" rows="5" columns="5">
14279 <features tabularvalignment="middle">
14280 <column alignment="center" valignment="top" width="0pt">
14281 <column alignment="center" valignment="top">
14282 <column alignment="center" valignment="top">
14283 <column alignment="center" valignment="top">
14284 <column alignment="center" valignment="top">
14286 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14289 \begin_layout Plain Layout
14293 \begin_layout Plain Layout
14306 \begin_layout Plain Layout
14317 \begin_layout Plain Layout
14328 \begin_layout Plain Layout
14340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14343 \begin_layout Plain Layout
14349 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14352 \begin_layout Plain Layout
14358 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14361 \begin_layout Plain Layout
14367 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
14370 \begin_layout Plain Layout
14374 \begin_layout Plain Layout
14387 \begin_layout Plain Layout
14398 \begin_layout Plain Layout
14409 \begin_layout Plain Layout
14423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14426 \begin_layout Plain Layout
14432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14435 \begin_layout Plain Layout
14442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14445 \begin_layout Plain Layout
14451 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14454 \begin_layout Plain Layout
14460 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14463 \begin_layout Plain Layout
14471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14474 \begin_layout Plain Layout
14480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14483 \begin_layout Plain Layout
14489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14492 \begin_layout Plain Layout
14499 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14502 \begin_layout Plain Layout
14508 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14511 \begin_layout Plain Layout
14519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14522 \begin_layout Plain Layout
14528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14531 \begin_layout Plain Layout
14537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14540 \begin_layout Plain Layout
14546 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14549 \begin_layout Plain Layout
14556 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14559 \begin_layout Plain Layout
14567 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14570 \begin_layout Plain Layout
14574 \begin_layout Plain Layout
14587 \begin_layout Plain Layout
14598 \begin_layout Plain Layout
14609 \begin_layout Plain Layout
14621 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14624 \begin_layout Plain Layout
14630 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14633 \begin_layout Plain Layout
14639 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14642 \begin_layout Plain Layout
14648 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
14651 \begin_layout Plain Layout
14655 \begin_layout Plain Layout
14668 \begin_layout Plain Layout
14679 \begin_layout Plain Layout
14690 \begin_layout Plain Layout
14710 \begin_layout Standard
14711 To rotate the diagonal lines,
14739 and represent a point of a compass.
14744 is for example the south-west corner.
14745 Thus in the lower left cell of the above table the command
14748 \begin_layout Standard
14753 diagbox[dir=SW]{Team home}{Result}{Team away}
14756 \begin_layout Standard
14758 If no direction is given,
14762 \begin_layout Standard
14763 The necessary width of split cells is automatically calculated.
14764 Thus if you set a fixed column width smaller than the calculated one,
14765 the cell's content will protrude the cell borders:
14768 \begin_layout Standard
14771 \begin_inset Tabular
14772 <lyxtabular version="3" rows="2" columns="2">
14773 <features tabularvalignment="middle">
14774 <column alignment="center" valignment="top" width="3cm">
14775 <column alignment="center" valignment="top">
14777 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14780 \begin_layout Plain Layout
14784 \begin_layout Plain Layout
14797 \begin_layout Plain Layout
14808 \begin_layout Plain Layout
14820 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14823 \begin_layout Plain Layout
14831 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14834 \begin_layout Plain Layout
14840 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14843 \begin_layout Plain Layout
14857 \begin_layout Standard
14858 If you need a certain width for columns with a split cell,
14859 use the command option
14863 (replace '3cm' by the width you need).
14864 In the following table the width of the first column is set to 4
14865 \begin_inset space \thinspace{}
14876 \begin_inset space \thinspace{}
14880 \begin_inset space \thinspace{}
14885 tabcolsep is necessary because the overall width is the width for the text (in this case the 4
14886 \begin_inset space \thinspace{}
14889 cm) plus two times the separation of the text and the cell border.
14890 The calculation of the width cannot be done in the command option of
14896 so one needs to create a new length which can be used later.
14897 This is done with the \SpecialChar TeX
14901 \begin_layout Standard
14909 \begin_inset Newline newline
14921 \begin_layout Standard
14925 \begin_layout Plain Layout
14934 \begin_layout Plain Layout
14950 \begin_layout Standard
14951 To enable calculations in \SpecialChar LaTeX
14952 one needs to load the package
14957 \begin_inset Index idx
14962 \begin_layout Plain Layout
14965 \begin_inset IndexMacro subentry
14968 \begin_layout Plain Layout
14979 in the document preamble.
14982 \begin_layout Standard
14983 In this table you can now use the command
14986 \begin_layout Standard
14996 \begin_layout Standard
15000 \begin_layout Standard
15003 \begin_inset Tabular
15004 <lyxtabular version="3" rows="2" columns="2">
15005 <features tabularvalignment="middle">
15006 <column alignment="center" valignment="top" width="4cm">
15007 <column alignment="center" valignment="top">
15009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15012 \begin_layout Plain Layout
15016 \begin_layout Plain Layout
15031 \begin_layout Plain Layout
15042 \begin_layout Plain Layout
15054 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15057 \begin_layout Plain Layout
15065 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15068 \begin_layout Plain Layout
15074 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15077 \begin_layout Plain Layout
15091 \begin_layout Standard
15092 Note that the split cell needs to be the widest one in the column.
15093 Otherwise the length of the diagonal line cannot be calculated correctly like in this table:
15096 \begin_layout Standard
15099 \begin_inset Tabular
15100 <lyxtabular version="3" rows="2" columns="2">
15101 <features tabularvalignment="middle">
15102 <column alignment="center" valignment="top" width="0pt">
15103 <column alignment="center" valignment="top">
15105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15108 \begin_layout Plain Layout
15112 \begin_layout Plain Layout
15125 \begin_layout Plain Layout
15136 \begin_layout Plain Layout
15148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15151 \begin_layout Plain Layout
15159 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15162 \begin_layout Plain Layout
15168 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15171 \begin_layout Plain Layout
15185 \begin_layout Standard
15186 In this case use the
15197 It is then not necessary to add 2
15199 tabcolsep because the cell width is now the width of the column.
15200 In this table a width of 3
15201 \begin_inset space \thinspace{}
15207 \begin_layout Standard
15210 \begin_inset Tabular
15211 <lyxtabular version="3" rows="2" columns="2">
15212 <features tabularvalignment="middle">
15213 <column alignment="center" valignment="top" width="0pt">
15214 <column alignment="center" valignment="top">
15216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15219 \begin_layout Plain Layout
15223 \begin_layout Plain Layout
15227 diagbox[width=3cm]{
15236 \begin_layout Plain Layout
15247 \begin_layout Plain Layout
15259 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15262 \begin_layout Plain Layout
15270 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15273 \begin_layout Plain Layout
15279 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15282 \begin_layout Plain Layout
15296 \begin_layout Standard
15297 For multiple text lines in split cells one needs some extra height to fit the text to the cell.
15298 This can be achieved with the
15308 (replace '3cm' by the height you need).
15309 In the following table the command
15312 \begin_layout Standard
15317 diagbox[width=3cm,height=1.4cm]{A
15328 \begin_layout Standard
15329 is used in the first cell.
15338 creates hereby the line break.
15342 \begin_layout Plain Layout
15343 Breaking lines with
15347 is only possible when the column has a fixed width.
15355 \begin_layout Standard
15358 \begin_inset Tabular
15359 <lyxtabular version="3" rows="2" columns="2">
15360 <features tabularvalignment="middle">
15361 <column alignment="center" valignment="top">
15362 <column alignment="center" valignment="top">
15364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15367 \begin_layout Plain Layout
15371 \begin_layout Plain Layout
15375 diagbox[width=3cm,height=1.4cm]{
15384 \begin_layout Plain Layout
15399 \begin_layout Plain Layout
15410 \begin_layout Plain Layout
15425 \begin_layout Plain Layout
15437 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15440 \begin_layout Plain Layout
15448 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15451 \begin_layout Plain Layout
15457 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15460 \begin_layout Plain Layout
15474 \begin_layout Standard
15478 \begin_layout Plain Layout
15488 \begin_inset Note Note
15491 \begin_layout Plain Layout
15492 The following will be displayed when the \SpecialChar LaTeX
15505 \begin_layout Standard
15506 You need to install the \SpecialChar LaTeX
15511 to see the following part of this section in the output.
15514 \begin_layout Standard
15518 \begin_layout Plain Layout
15530 \begin_layout Standard
15531 For more info about the \SpecialChar LaTeX
15537 see its documentation,
15539 \begin_inset CommandInset citation
15549 \begin_layout Section
15551 \begin_inset CommandInset label
15553 name "sec:Formal-Tables"
15558 \begin_inset Index idx
15563 \begin_layout Plain Layout
15565 \begin_inset IndexMacro subentry
15568 \begin_layout Plain Layout
15582 \begin_layout Standard
15583 Tables are often typeset in books similar to Table
15584 \begin_inset space ~
15588 \begin_inset CommandInset ref
15590 reference "tab:Example-booktabs-table"
15596 This kind of tables is called
15597 \begin_inset Quotes eld
15605 \begin_inset Quotes erd
15609 To make a table a formal table
15610 \change_inserted -712698321 1554290084
15612 select the table style
15613 \begin_inset Quotes eld
15617 \change_deleted 630872221 1622707670
15619 \change_inserted 630872221 1622707670
15622 \change_inserted -712698321 1554290084
15624 \begin_inset Quotes erd
15627 in the Table Creation dialog or
15637 tab of the table dialog
15638 \change_inserted -712698321 1554290131
15639 (if you additionally check the option
15641 Use Default Formal Style
15644 the border lines are adapted to a sensible default)
15649 \begin_layout Standard
15650 \begin_inset Float table
15657 \begin_layout Plain Layout
15658 \begin_inset Caption Standard
15660 \begin_layout Plain Layout
15661 \begin_inset CommandInset label
15663 name "tab:Example-booktabs-table"
15668 \change_deleted -712698321 1554292310
15670 \change_inserted -712698321 1554292311
15681 \begin_layout Plain Layout
15683 \begin_inset Tabular
15684 <lyxtabular version="3" rows="8" columns="4">
15685 <features booktabs="true" tabularvalignment="middle">
15686 <column alignment="center" valignment="top">
15687 <column alignment="center" valignment="top" width="0pt">
15688 <column alignment="center" valignment="top" width="0pt">
15689 <column alignment="center" valignment="top">
15691 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15694 \begin_layout Plain Layout
15700 <cell alignment="center" valignment="top" topline="true" usebox="none">
15703 \begin_layout Plain Layout
15705 \begin_inset space \thinspace{}
15713 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
15716 \begin_layout Plain Layout
15718 \begin_inset space \thinspace{}
15726 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15729 \begin_layout Plain Layout
15737 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15740 \begin_layout Plain Layout
15742 \change_deleted -712698321 1554290161
15746 \begin_layout Plain Layout
15759 \begin_layout Plain Layout
15770 Detector thickness in µm
15775 <cell alignment="center" valignment="top" usebox="none">
15778 \begin_layout Plain Layout
15784 <cell alignment="center" valignment="top" usebox="none">
15787 \begin_layout Plain Layout
15793 <cell alignment="center" valignment="top" usebox="none">
15796 \begin_layout Plain Layout
15804 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15807 \begin_layout Plain Layout
15813 <cell alignment="center" valignment="top" topline="true" toplinertrim="true" usebox="none">
15816 \begin_layout Plain Layout
15822 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
15825 \begin_layout Plain Layout
15831 <cell alignment="center" valignment="top" topline="true" usebox="none">
15834 \begin_layout Plain Layout
15841 <row topspace="default">
15842 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15845 \begin_layout Plain Layout
15846 Spatial resolution in µm
15851 <cell alignment="center" valignment="top" usebox="none">
15854 \begin_layout Plain Layout
15860 <cell alignment="center" valignment="top" usebox="none">
15863 \begin_layout Plain Layout
15869 <cell alignment="center" valignment="top" usebox="none">
15872 \begin_layout Plain Layout
15879 <row topspace="default">
15880 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15883 \begin_layout Plain Layout
15885 \begin_inset Formula $f_{\mathrm{max}}$
15893 <cell alignment="center" valignment="top" usebox="none">
15896 \begin_layout Plain Layout
15902 <cell alignment="center" valignment="top" usebox="none">
15905 \begin_layout Plain Layout
15911 <cell alignment="center" valignment="top" usebox="none">
15914 \begin_layout Plain Layout
15921 <row topspace="default">
15922 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15925 \begin_layout Plain Layout
15927 \change_deleted -712698321 1554290260
15931 \begin_layout Plain Layout
15935 cmidrule[2pt](l{10pt}){1-1}
15942 LSF-spatial resolution
15947 <cell alignment="center" valignment="top" usebox="none">
15950 \begin_layout Plain Layout
15956 <cell alignment="center" valignment="top" usebox="none">
15959 \begin_layout Plain Layout
15965 <cell alignment="center" valignment="top" usebox="none">
15968 \begin_layout Plain Layout
15976 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15979 \begin_layout Plain Layout
15985 <cell alignment="center" valignment="top" usebox="none">
15988 \begin_layout Plain Layout
15994 <cell alignment="center" valignment="top" usebox="none">
15997 \begin_layout Plain Layout
16003 <cell alignment="center" valignment="top" usebox="none">
16006 \begin_layout Plain Layout
16014 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16017 \begin_layout Plain Layout
16023 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16026 \begin_layout Plain Layout
16032 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16035 \begin_layout Plain Layout
16041 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16044 \begin_layout Plain Layout
16063 \begin_layout Standard
16064 Spaces to table rows can be added using the
16068 tab of the table dialog as described in section
16069 \begin_inset space ~
16073 \begin_inset CommandInset ref
16075 reference "subsec:Row-Spacing"
16083 \begin_layout Standard
16084 Unlike normal tables,
16085 formal tables have no vertical table lines.
16086 The horizontal table lines can be set as for normal tables but they appear with different widths in the output:
16087 \begin_inset Newline newline
16090 The first and the last table line have a default width of 0.08
16091 \begin_inset space \thinspace{}
16094 em while the other lines have a default width of 0.05
16095 \begin_inset space \thinspace{}
16101 \begin_layout Standard
16102 The default widths can be changed with the following preamble lines
16105 \begin_layout Standard
16115 \begin_inset Newline newline
16127 \begin_layout Standard
16128 This example is for the first line,
16134 If you want to change the width for the last line,
16144 To change the width for the other lines replace
16153 You can use all units listed in appendix
16154 \begin_inset space ~
16158 \begin_inset CommandInset ref
16160 reference "cha:Units-available-in"
16168 \begin_layout Standard
16170 \change_deleted -712698321 1554290929
16171 Lines that do not span all table columns can be created by setting a table line for multicolumn cells.
16173 will then internally use the command
16179 to create this line.
16181 \change_inserted -712698321 1554291959
16183 \begin_inset space ~
16187 \begin_inset CommandInset ref
16189 reference "tab:Example-booktabs-table"
16195 formal tables often use shortened lines to group columns.
16196 This can be done in the borders widget of the table dialog.
16197 With formal tables,
16198 the top and bottom borders have to small offset lines to the left and the right.
16199 Clicking on these will trim the line respectively.
16204 \begin_layout Standard
16206 \change_inserted -712698321 1554291403
16207 If you need to adjust the length of the trimming or the height of the rules,
16208 you have to resort to \SpecialChar TeX
16210 The respective command (which is also used for the trimmed mid rules) is this:
16215 \begin_layout Standard
16220 cmidrule[height](trim){startcol-endcol}
16223 \begin_layout Standard
16225 \change_deleted -712698321 1554292020
16232 are currently not supported by \SpecialChar LyX
16233 so you have to use \SpecialChar TeX
16234 Code to be able to use them.
16241 s can manually be created by inserting the command as \SpecialChar TeX
16242 Code as the first cell entry of the first cell of a row.
16243 The line is then drawn in the output above the current row.
16248 \begin_layout Standard
16249 The default for the optional
16254 \begin_inset space \thinspace{}
16262 is the number of the column where the line starts and
16266 the column number where the line ends.
16271 always needs to be specified,
16272 also when the line should span only one column.
16273 The optional parameter
16290 Using for example the parameter
16294 means that the line is trimmed from its left end by 2
16295 \begin_inset space \thinspace{}
16299 If you don't specify the
16303 the line is trimmed by the default of 0.5
16304 \begin_inset space \thinspace{}
16308 \change_inserted -712698321 1554291561
16309 (this is what is done if you use trimming from the dialog)
16312 \change_inserted -712698321 1554292039
16316 \begin_layout Standard
16318 \change_inserted -712698321 1554292207
16329 is currently not supported by \SpecialChar LyX
16331 and neither are the
16336 If you need this you can manually insert a
16342 with the respective settings as \SpecialChar TeX
16343 Code as the first cell entry of the first cell of a row.
16344 The line is then drawn in the output above the current row.
16346 \begin_inset space ~
16350 \begin_inset CommandInset ref
16352 reference "tab:Special-booktabs-table"
16357 exemplifies this (in the sixth row).
16362 \begin_layout Standard
16364 \change_deleted -712698321 1554291078
16365 \begin_inset VSpace bigskip
16369 \begin_inset space ~
16373 \begin_inset CommandInset ref
16375 reference "tab:Example-booktabs-table"
16380 was created using the commands
16383 \begin_layout Standard
16385 \change_deleted -712698321 1554291077
16395 \begin_layout Standard
16397 \change_deleted -712698321 1554291077
16398 at the beginning of the second row and
16401 \begin_layout Standard
16403 \change_deleted -712698321 1554291077
16408 cmidrule[2pt](l{10pt}){1-1}
16411 \begin_layout Standard
16413 \change_deleted -712698321 1554291077
16419 \begin_layout Standard
16421 \change_deleted -712698321 1554292212
16422 \begin_inset VSpace bigskip
16430 \begin_layout Standard
16432 \change_inserted -712698321 1554291573
16435 might want to have overlapping
16442 \change_deleted -712698321 1554296804
16444 \change_inserted -712698321 1554296808
16445 exemplified as well
16448 \begin_inset space ~
16452 \begin_inset CommandInset ref
16454 reference "tab:Special-booktabs-table"
16460 \change_inserted -712698321 1554291601
16462 even though this is considered bad style (so only use it if you really need to)
16465 This can be achieved with the \SpecialChar TeX
16469 \begin_layout Standard
16477 \begin_layout Standard
16478 The command that was used for the second row of Table
16479 \begin_inset space ~
16483 \begin_inset CommandInset ref
16485 reference "tab:Special-booktabs-table"
16493 \begin_layout Standard
16495 \change_deleted -712698321 1554291798
16511 \begin_layout Standard
16512 The command for the sixth row is
16515 \begin_layout Standard
16517 \change_deleted -712698321 1554291810
16531 \begin_layout Standard
16532 \begin_inset VSpace bigskip
16538 \begin_layout Standard
16539 If you are in any way not satisfied with the border line spacing,
16540 you can use the following command to produce lines that span over all table columns
16545 \begin_layout Standard
16550 specialrule{width}{space above}{space below}
16553 \begin_layout Standard
16554 For more information about these features,
16555 refer to the manual of the \SpecialChar LaTeX
16561 \begin_inset CommandInset citation
16569 \begin_inset Index idx
16574 \begin_layout Plain Layout
16577 \begin_inset IndexMacro subentry
16580 \begin_layout Plain Layout
16594 \begin_layout Standard
16595 \begin_inset Float table
16602 \begin_layout Plain Layout
16603 \begin_inset Caption Standard
16605 \begin_layout Plain Layout
16606 \begin_inset CommandInset label
16608 name "tab:Special-booktabs-table"
16613 \change_inserted -712698321 1554292295
16615 \change_deleted -712698321 1554292304
16617 \change_inserted -712698321 1554292305
16619 \change_deleted -712698321 1554292300
16630 \begin_layout Plain Layout
16632 \begin_inset Tabular
16633 <lyxtabular version="3" rows="8" columns="4">
16634 <features booktabs="true" tabularvalignment="middle">
16635 <column alignment="center" valignment="top">
16636 <column alignment="center" valignment="top" width="0pt">
16637 <column alignment="center" valignment="top" width="0pt">
16638 <column alignment="center" valignment="top" width="0pt">
16640 <cell alignment="center" valignment="top" topline="true" usebox="none">
16643 \begin_layout Plain Layout
16649 <cell alignment="center" valignment="top" topline="true" bottomline="true" bottomlinertrim="true" usebox="none">
16652 \begin_layout Plain Layout
16654 \begin_inset space \thinspace{}
16662 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
16665 \begin_layout Plain Layout
16667 \begin_inset space \thinspace{}
16675 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16678 \begin_layout Plain Layout
16686 <cell alignment="center" valignment="top" usebox="none">
16689 \begin_layout Plain Layout
16691 \change_deleted -712698321 1554291732
16695 \begin_layout Plain Layout
16708 \begin_layout Plain Layout
16723 \begin_layout Plain Layout
16736 \begin_layout Plain Layout
16745 Detector thickness in µm
16750 <cell alignment="center" valignment="top" usebox="none">
16753 \begin_layout Plain Layout
16759 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
16762 \begin_layout Plain Layout
16768 <cell alignment="center" valignment="top" topline="true" usebox="none">
16771 \begin_layout Plain Layout
16779 <cell alignment="center" valignment="top" topline="true" usebox="none">
16782 \begin_layout Plain Layout
16788 <cell alignment="center" valignment="top" topline="true" usebox="none">
16791 \begin_layout Plain Layout
16797 <cell alignment="center" valignment="top" topline="true" usebox="none">
16800 \begin_layout Plain Layout
16806 <cell alignment="center" valignment="top" topline="true" usebox="none">
16809 \begin_layout Plain Layout
16816 <row topspace="default">
16817 <cell alignment="center" valignment="top" usebox="none">
16820 \begin_layout Plain Layout
16821 Spatial resolution in µm
16826 <cell alignment="center" valignment="top" usebox="none">
16829 \begin_layout Plain Layout
16835 <cell alignment="center" valignment="top" usebox="none">
16838 \begin_layout Plain Layout
16844 <cell alignment="center" valignment="top" usebox="none">
16847 \begin_layout Plain Layout
16854 <row topspace="default">
16855 <cell alignment="center" valignment="top" usebox="none">
16858 \begin_layout Plain Layout
16860 \begin_inset Formula $f_{\mathrm{max}}$
16868 <cell alignment="center" valignment="top" usebox="none">
16871 \begin_layout Plain Layout
16877 <cell alignment="center" valignment="top" usebox="none">
16880 \begin_layout Plain Layout
16886 <cell alignment="center" valignment="top" usebox="none">
16889 \begin_layout Plain Layout
16897 <cell alignment="center" valignment="top" topline="true" usebox="none">
16900 \begin_layout Plain Layout
16904 \begin_layout Plain Layout
16917 \begin_layout Plain Layout
16922 \change_inserted -712698321 1554291896
16930 LSF-spatial resolution
16935 <cell alignment="center" valignment="top" topline="true" usebox="none">
16938 \begin_layout Plain Layout
16944 <cell alignment="center" valignment="top" topline="true" usebox="none">
16947 \begin_layout Plain Layout
16953 <cell alignment="center" valignment="top" topline="true" usebox="none">
16956 \begin_layout Plain Layout
16964 <cell alignment="center" valignment="top" usebox="none">
16967 \begin_layout Plain Layout
16973 <cell alignment="center" valignment="top" usebox="none">
16976 \begin_layout Plain Layout
16982 <cell alignment="center" valignment="top" usebox="none">
16985 \begin_layout Plain Layout
16991 <cell alignment="center" valignment="top" usebox="none">
16994 \begin_layout Plain Layout
17002 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17005 \begin_layout Plain Layout
17011 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17014 \begin_layout Plain Layout
17020 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17023 \begin_layout Plain Layout
17029 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
17032 \begin_layout Plain Layout
17051 \begin_layout Section
17052 Vertical Table Alignment
17053 \begin_inset Index idx
17058 \begin_layout Plain Layout
17060 \begin_inset IndexMacro subentry
17063 \begin_layout Plain Layout
17077 \begin_layout Standard
17078 To align tables vertically in a text line,
17079 the table must be inside a box.
17080 The box can then be vertically aligned as described in section
17081 \begin_inset space ~
17085 \begin_inset CommandInset ref
17087 reference "sec:Box-Dialog"
17095 \begin_layout Standard
17096 In the following example the tables are inside a minipage
17100 \begin_layout Plain Layout
17101 Minipages are described in section
17102 \begin_inset space ~
17106 \begin_inset CommandInset ref
17108 reference "sec:Minipages"
17118 box that has a width of 15
17119 \begin_inset space \thinspace{}
17125 \begin_layout Itemize
17127 \begin_inset Box Frameless
17137 height_special "totalheight"
17142 backgroundcolor "none"
17145 \begin_layout Plain Layout
17146 \begin_inset Tabular
17147 <lyxtabular version="3" rows="3" columns="3">
17148 <features tabularvalignment="middle">
17149 <column alignment="center" valignment="top">
17150 <column alignment="center" valignment="top">
17151 <column alignment="center" valignment="top">
17153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17156 \begin_layout Plain Layout
17162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17165 \begin_layout Plain Layout
17171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17174 \begin_layout Plain Layout
17182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17185 \begin_layout Plain Layout
17191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17194 \begin_layout Plain Layout
17200 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17203 \begin_layout Plain Layout
17211 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17214 \begin_layout Plain Layout
17220 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17223 \begin_layout Plain Layout
17229 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17232 \begin_layout Plain Layout
17252 \begin_layout Plain Layout
17264 \begin_inset Box Frameless
17274 height_special "totalheight"
17279 backgroundcolor "none"
17282 \begin_layout Plain Layout
17283 \begin_inset Tabular
17284 <lyxtabular version="3" rows="3" columns="3">
17285 <features tabularvalignment="middle">
17286 <column alignment="center" valignment="top">
17287 <column alignment="center" valignment="top">
17288 <column alignment="center" valignment="top">
17290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17293 \begin_layout Plain Layout
17299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17302 \begin_layout Plain Layout
17308 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17311 \begin_layout Plain Layout
17319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17322 \begin_layout Plain Layout
17328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17331 \begin_layout Plain Layout
17337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17340 \begin_layout Plain Layout
17348 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17351 \begin_layout Plain Layout
17357 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17360 \begin_layout Plain Layout
17366 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17369 \begin_layout Plain Layout
17389 \begin_layout Plain Layout
17399 \begin_layout Itemize
17401 \begin_inset Box Frameless
17411 height_special "totalheight"
17416 backgroundcolor "none"
17419 \begin_layout Plain Layout
17420 \begin_inset Tabular
17421 <lyxtabular version="3" rows="3" columns="3">
17422 <features tabularvalignment="middle">
17423 <column alignment="center" valignment="top">
17424 <column alignment="center" valignment="top">
17425 <column alignment="center" valignment="top">
17427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17430 \begin_layout Plain Layout
17436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17439 \begin_layout Plain Layout
17445 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17448 \begin_layout Plain Layout
17456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17459 \begin_layout Plain Layout
17465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17468 \begin_layout Plain Layout
17474 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17477 \begin_layout Plain Layout
17485 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17488 \begin_layout Plain Layout
17494 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17497 \begin_layout Plain Layout
17503 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17506 \begin_layout Plain Layout
17525 \begin_layout Itemize
17527 \begin_inset Box Frameless
17537 height_special "totalheight"
17542 backgroundcolor "none"
17545 \begin_layout Plain Layout
17546 \begin_inset Tabular
17547 <lyxtabular version="3" rows="3" columns="3">
17548 <features tabularvalignment="middle">
17549 <column alignment="center" valignment="top">
17550 <column alignment="center" valignment="top">
17551 <column alignment="center" valignment="top">
17553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17556 \begin_layout Plain Layout
17562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17565 \begin_layout Plain Layout
17571 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17574 \begin_layout Plain Layout
17582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17585 \begin_layout Plain Layout
17591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17594 \begin_layout Plain Layout
17600 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17603 \begin_layout Plain Layout
17611 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17614 \begin_layout Plain Layout
17620 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17623 \begin_layout Plain Layout
17629 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17632 \begin_layout Plain Layout
17652 \begin_layout Plain Layout
17664 \begin_inset Box Frameless
17674 height_special "totalheight"
17679 backgroundcolor "none"
17682 \begin_layout Plain Layout
17683 \begin_inset Tabular
17684 <lyxtabular version="3" rows="3" columns="3">
17685 <features tabularvalignment="middle">
17686 <column alignment="center" valignment="top">
17687 <column alignment="center" valignment="top">
17688 <column alignment="center" valignment="top">
17690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17693 \begin_layout Plain Layout
17699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17702 \begin_layout Plain Layout
17708 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17711 \begin_layout Plain Layout
17719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17722 \begin_layout Plain Layout
17728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17731 \begin_layout Plain Layout
17737 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17740 \begin_layout Plain Layout
17748 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17751 \begin_layout Plain Layout
17757 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17760 \begin_layout Plain Layout
17766 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17769 \begin_layout Plain Layout
17789 \begin_layout Plain Layout
17799 \begin_layout Standard
17801 the content of the first and last table row is not correctly aligned.
17802 To get this alignment,
17803 the minipage box must be set into a raisebox.
17807 \begin_layout Plain Layout
17808 Raiseboxes are described in section
17809 \begin_inset space ~
17813 \begin_inset CommandInset ref
17815 reference "subsec:Vertical-Alignment"
17825 In the example above the second table in the first item is aligned using the \SpecialChar TeX
17829 \begin_layout Standard
17839 \begin_layout Standard
17841 After the box the closing brace
17845 is inserted as \SpecialChar TeX
17847 For the second table in the last item the command
17850 \begin_layout Standard
17860 \begin_layout Standard
17864 \begin_layout Standard
17865 \begin_inset Note Greyedout
17868 \begin_layout Plain Layout
17874 The alignment of the table row content to the surrounding text line is not exact.
17875 The required value for the
17881 command for this alignment depends on the document font,
17883 and the table line thickness.
17891 \begin_layout Section
17893 \begin_inset CommandInset label
17895 name "sec:Colored-Tables"
17900 \begin_inset Index idx
17905 \begin_layout Plain Layout
17907 \begin_inset IndexMacro subentry
17910 \begin_layout Plain Layout
17924 \begin_layout Subsection
17926 \begin_inset Index idx
17931 \begin_layout Plain Layout
17933 \begin_inset IndexMacro subentry
17936 \begin_layout Plain Layout
17948 \begin_inset Index idx
17953 \begin_layout Plain Layout
17955 \begin_inset IndexMacro subentry
17958 \begin_layout Plain Layout
17972 \begin_layout Standard
17973 \begin_inset Float table
17980 \begin_layout Plain Layout
17981 \begin_inset Caption Standard
17983 \begin_layout Plain Layout
17984 \begin_inset CommandInset label
17986 name "tab:Table-colored-without"
17990 Table colored without using the package
17995 \begin_inset Argument 1
17998 \begin_layout Plain Layout
17999 Table without colortbl
18012 \begin_layout Plain Layout
18014 \begin_inset Tabular
18015 <lyxtabular version="3" rows="3" columns="3">
18016 <features tabularvalignment="middle">
18017 <column alignment="center" valignment="top">
18018 <column alignment="center" valignment="top">
18019 <column alignment="center" valignment="top">
18021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18024 \begin_layout Plain Layout
18032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18035 \begin_layout Plain Layout
18043 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18046 \begin_layout Plain Layout
18056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18059 \begin_layout Plain Layout
18067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18070 \begin_layout Plain Layout
18078 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18081 \begin_layout Plain Layout
18091 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18094 \begin_layout Plain Layout
18102 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18105 \begin_layout Plain Layout
18113 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18116 \begin_layout Plain Layout
18137 \begin_layout Standard
18138 If you only need colored text,
18139 mark the cells and choose a color in the
18142 \begin_inset space ~
18147 dialog (toolbar button
18150 arg "dialog-show character"
18154 This was used to create Table
18155 \begin_inset space ~
18159 \begin_inset CommandInset ref
18161 reference "tab:Table-colored-without"
18167 In any other case you have to use the \SpecialChar LaTeX
18173 \begin_inset Index idx
18178 \begin_layout Plain Layout
18181 \begin_inset IndexMacro subentry
18184 \begin_layout Plain Layout
18198 \begin_layout Standard
18202 \begin_layout Plain Layout
18212 \begin_inset Note Note
18215 \begin_layout Plain Layout
18216 The following section part will only be displayed when the \SpecialChar LaTeX
18229 \begin_layout Standard
18230 To create colored tables,
18235 must be loaded in the preamble with the line
18238 \begin_layout Standard
18243 usepackage{colortbl}
18246 \begin_layout Standard
18247 The color of a column is adjusted with the command
18250 \begin_layout Standard
18255 columncolor{name of color}
18258 \begin_layout Standard
18264 More about the command
18268 is contained in section
18269 \begin_inset space ~
18273 \begin_inset CommandInset ref
18275 reference "subsec:Multicolumn-Calculations"
18283 \begin_layout Standard
18284 The following color names are predefined:
18287 \begin_layout Standard
18327 \begin_layout Standard
18328 \begin_inset VSpace medskip
18334 \begin_layout Standard
18335 If you add the option
18338 \begin_layout Standard
18344 \begin_layout Standard
18345 to the document class options in the document settings,
18346 you can additionally use further 61
18347 \begin_inset space ~
18351 These colors are listed in appendix
18352 \begin_inset space ~
18356 \begin_inset CommandInset ref
18358 reference "chap:List-of-dvips-colornames"
18364 One of these colors,
18370 is used as example in Table
18371 \begin_inset space ~
18375 \begin_inset CommandInset ref
18377 reference "tab:Table-colored-using"
18385 \begin_layout Standard
18386 \begin_inset VSpace medskip
18392 \begin_layout Standard
18393 You can also define your own color with the command
18396 \begin_layout Standard
18401 definecolor{color name}{color model}{color values}
18404 \begin_layout Standard
18405 The color model can be
18408 \begin_layout Labeling
18409 \labelwidthstring 00.00.0000
18417 \begin_layout Labeling
18418 \labelwidthstring 00.00.0000
18424 \begin_layout Labeling
18425 \labelwidthstring 00.00.0000
18429 \begin_layout Standard
18430 and the color values are comma separated numbers between 0 and 1 describing the factor for the corresponding color of the color model.
18433 \begin_layout Standard
18435 \begin_inset space \thinspace{}
18439 \begin_inset space \space{}
18446 " in the preamble with
18449 \begin_layout Standard
18454 definecolor{darkgreen}{cmyk}{0.5,
18460 \begin_layout Standard
18468 \begin_layout Standard
18473 definecolor{lightgray}{gray}{0.8}
18476 \begin_layout Standard
18477 \begin_inset VSpace medskip
18483 \begin_layout Standard
18484 Lines are colored with the command
18487 \begin_layout Standard
18492 rowcolor{name of color}
18495 \begin_layout Standard
18496 and cells are colored with the command
18499 \begin_layout Standard
18504 cellcolor{name of color}
18507 \begin_layout Standard
18508 Both commands are inserted at the beginning of a cell as \SpecialChar TeX
18512 \begin_layout Standard
18513 To color characters in the table,
18514 mark the cells and use the
18517 \begin_inset space ~
18523 If a cell contains \SpecialChar TeX
18524 Code mark only the characters,
18525 otherwise the colored \SpecialChar TeX
18526 Code will cause \SpecialChar LaTeX
18530 \begin_layout Standard
18531 \begin_inset Note Greyedout
18534 \begin_layout Plain Layout
18540 Not all DVI-viewers are able to display self-defined colors.
18548 \begin_layout Standard
18549 \begin_inset VSpace bigskip
18555 \begin_layout Standard
18557 \begin_inset space ~
18561 \begin_inset CommandInset ref
18563 reference "tab:Table-colored-using"
18569 The color of the first column should be
18577 \begin_layout Standard
18582 columncolor{darkgreen}
18587 \begin_layout Standard
18588 as \SpecialChar LaTeX
18589 -argument for this column.
18590 The first row should be light blue,
18591 therefore the \SpecialChar TeX
18595 \begin_layout Standard
18603 \begin_layout Standard
18604 is inserted to the first cell of this row.
18605 Note that this overwrites the column color for the first cell.
18606 The last cell of the last row is colored maroon by inserting the \SpecialChar TeX
18610 \begin_layout Standard
18618 \begin_layout Standard
18619 The characters could now be colored using the menu
18621 Edit\SpecialChar menuseparator
18623 \begin_inset space ~
18631 \begin_layout Standard
18632 \begin_inset Float table
18639 \begin_layout Plain Layout
18640 \begin_inset Caption Standard
18642 \begin_layout Plain Layout
18643 \begin_inset CommandInset label
18645 name "tab:Table-colored-using"
18649 Table colored using the package
18654 \begin_inset Argument 1
18657 \begin_layout Plain Layout
18658 Table with colortbl
18671 \begin_layout Plain Layout
18673 \begin_inset Tabular
18674 <lyxtabular version="3" rows="3" columns="3">
18675 <features tabularvalignment="middle">
18676 <column alignment="center" valignment="top" special=">{\columncolor{darkgreen}\centering}c">
18677 <column alignment="center" valignment="top">
18678 <column alignment="center" valignment="top">
18680 <cell alignment="center" valignment="top" usebox="none">
18683 \begin_layout Plain Layout
18687 \begin_layout Plain Layout
18703 <cell alignment="center" valignment="top" usebox="none">
18706 \begin_layout Plain Layout
18714 <cell alignment="center" valignment="top" usebox="none">
18717 \begin_layout Plain Layout
18727 <cell alignment="center" valignment="top" usebox="none">
18730 \begin_layout Plain Layout
18738 <cell alignment="center" valignment="top" usebox="none">
18741 \begin_layout Plain Layout
18749 <cell alignment="center" valignment="top" usebox="none">
18752 \begin_layout Plain Layout
18762 <cell alignment="center" valignment="top" usebox="none">
18765 \begin_layout Plain Layout
18773 <cell alignment="center" valignment="top" usebox="none">
18776 \begin_layout Plain Layout
18784 <cell alignment="center" valignment="top" usebox="none">
18787 \begin_layout Plain Layout
18791 \begin_layout Plain Layout
18820 \begin_layout Standard
18824 \begin_layout Plain Layout
18834 \begin_inset Note Note
18837 \begin_layout Plain Layout
18838 The following will be displayed when the \SpecialChar LaTeX
18851 \begin_layout Standard
18852 You need to install the package
18856 to see the content of this section in the output.
18859 \begin_layout Standard
18863 \begin_layout Plain Layout
18875 \begin_layout Subsection
18877 \begin_inset Index idx
18882 \begin_layout Plain Layout
18884 \begin_inset IndexMacro subentry
18887 \begin_layout Plain Layout
18899 \begin_inset Index idx
18904 \begin_layout Plain Layout
18906 \begin_inset IndexMacro subentry
18909 \begin_layout Plain Layout
18923 \begin_layout Standard
18924 In case every second table row needs to be colored there is an alternative to the method described in the previous section:
18925 One loads the package
18930 \begin_inset Index idx
18935 \begin_layout Plain Layout
18938 \begin_inset IndexMacro subentry
18941 \begin_layout Plain Layout
18952 in the document preamble with the command
18955 \begin_layout Standard
18960 usepackage[table]{xcolor}
18963 \begin_layout Standard
18968 automatically loads also the package
18973 \begin_inset Index idx
18978 \begin_layout Plain Layout
18981 \begin_inset IndexMacro subentry
18984 \begin_layout Plain Layout
19000 must be installed in your \SpecialChar LaTeX
19002 otherwise you get \SpecialChar LaTeX
19006 \begin_layout Standard
19010 \begin_layout Plain Layout
19020 \begin_inset Note Note
19023 \begin_layout Plain Layout
19024 The following section part will only be displayed when the \SpecialChar LaTeX
19037 \begin_layout Standard
19038 The table rows are colored with the command
19041 \begin_layout Standard
19046 rowcolors[commands]{row number}{odd row color}{even row color}
19049 \begin_layout Standard
19050 that is either inserted in the document preamble or as \SpecialChar TeX
19051 Code before the first table to be colored.
19053 \begin_inset space ~
19056 number is the number of the first row which should be colored according to the odd row color.
19057 commands can be additional commands that are executed before every table row.
19058 So for example the command
19061 \begin_layout Standard
19066 rowcolors{1}{white}{lightgray}
19069 \begin_layout Standard
19070 leads to the coloring scheme of Table
19071 \begin_inset space ~
19075 \begin_inset CommandInset ref
19077 reference "tab:Table-rowcolors"
19086 \begin_layout Standard
19093 hline]{1}{lightgray}{cyan}
19096 \begin_layout Standard
19097 leads to the coloring scheme of Table
19098 \begin_inset space ~
19102 \begin_inset CommandInset ref
19104 reference "tab:Table-rowcolors-2"
19111 \begin_inset space ~
19115 \begin_inset space ~
19119 \begin_inset space ~
19123 \begin_inset space ~
19126 color are left empty,
19127 no color will be used so that the command
19130 \begin_layout Standard
19138 \begin_layout Standard
19139 deletes all colors.
19146 affects all tables following that command.
19149 \begin_layout Standard
19153 \begin_layout Plain Layout
19157 rowcolors{1}{white}{lightgray}
19165 \begin_layout Standard
19166 \begin_inset Float table
19173 \begin_layout Plain Layout
19174 \begin_inset Caption Standard
19176 \begin_layout Plain Layout
19177 \begin_inset CommandInset label
19179 name "tab:Table-rowcolors"
19183 Table where every second row is colored light gray.
19191 \begin_layout Plain Layout
19193 \begin_inset Tabular
19194 <lyxtabular version="3" rows="4" columns="3">
19195 <features tabularvalignment="middle">
19196 <column alignment="center" valignment="top">
19197 <column alignment="center" valignment="top" width="0pt">
19198 <column alignment="center" valignment="top" width="0pt">
19200 <cell alignment="center" valignment="top" usebox="none">
19203 \begin_layout Plain Layout
19209 <cell alignment="center" valignment="top" usebox="none">
19212 \begin_layout Plain Layout
19218 <cell alignment="center" valignment="top" usebox="none">
19221 \begin_layout Plain Layout
19229 <cell alignment="center" valignment="top" usebox="none">
19232 \begin_layout Plain Layout
19238 <cell alignment="center" valignment="top" usebox="none">
19241 \begin_layout Plain Layout
19247 <cell alignment="center" valignment="top" usebox="none">
19250 \begin_layout Plain Layout
19258 <cell alignment="center" valignment="top" usebox="none">
19261 \begin_layout Plain Layout
19267 <cell alignment="center" valignment="top" usebox="none">
19270 \begin_layout Plain Layout
19276 <cell alignment="center" valignment="top" usebox="none">
19279 \begin_layout Plain Layout
19287 <cell alignment="center" valignment="top" usebox="none">
19290 \begin_layout Plain Layout
19296 <cell alignment="center" valignment="top" usebox="none">
19299 \begin_layout Plain Layout
19305 <cell alignment="center" valignment="top" usebox="none">
19308 \begin_layout Plain Layout
19327 \begin_layout Standard
19331 \begin_layout Plain Layout
19337 hline]{1}{lightgray}{cyan}
19345 \begin_layout Standard
19346 \begin_inset Float table
19353 \begin_layout Plain Layout
19354 \begin_inset Caption Standard
19356 \begin_layout Plain Layout
19357 \begin_inset CommandInset label
19359 name "tab:Table-rowcolors-2"
19363 Table where every second row is colored cyan and at which there is a line between each row.
19371 \begin_layout Plain Layout
19373 \begin_inset Tabular
19374 <lyxtabular version="3" rows="4" columns="3">
19375 <features tabularvalignment="middle">
19376 <column alignment="center" valignment="top">
19377 <column alignment="center" valignment="top">
19378 <column alignment="center" valignment="top" width="0pt">
19380 <cell alignment="center" valignment="top" usebox="none">
19383 \begin_layout Plain Layout
19389 <cell alignment="center" valignment="top" usebox="none">
19392 \begin_layout Plain Layout
19398 <cell alignment="center" valignment="top" usebox="none">
19401 \begin_layout Plain Layout
19409 <cell alignment="center" valignment="top" usebox="none">
19412 \begin_layout Plain Layout
19418 <cell alignment="center" valignment="top" usebox="none">
19421 \begin_layout Plain Layout
19427 <cell alignment="center" valignment="top" usebox="none">
19430 \begin_layout Plain Layout
19438 <cell alignment="center" valignment="top" usebox="none">
19441 \begin_layout Plain Layout
19447 <cell alignment="center" valignment="top" usebox="none">
19450 \begin_layout Plain Layout
19456 <cell alignment="center" valignment="top" usebox="none">
19459 \begin_layout Plain Layout
19467 <cell alignment="center" valignment="top" usebox="none">
19470 \begin_layout Plain Layout
19476 <cell alignment="center" valignment="top" usebox="none">
19479 \begin_layout Plain Layout
19485 <cell alignment="center" valignment="top" usebox="none">
19488 \begin_layout Plain Layout
19507 \begin_layout Standard
19511 \begin_layout Plain Layout
19521 \begin_inset Note Note
19524 \begin_layout Plain Layout
19525 turns off the row coloring
19533 \begin_layout Standard
19537 \begin_layout Plain Layout
19547 \begin_inset Note Note
19550 \begin_layout Plain Layout
19551 The following will be displayed when the \SpecialChar LaTeX
19564 \begin_layout Standard
19565 You need to install the package
19569 to see the content of this section in the output.
19572 \begin_layout Standard
19576 \begin_layout Plain Layout
19588 \begin_layout Subsection
19590 \begin_inset Index idx
19595 \begin_layout Plain Layout
19597 \begin_inset IndexMacro subentry
19600 \begin_layout Plain Layout
19612 \begin_inset Index idx
19617 \begin_layout Plain Layout
19619 \begin_inset IndexMacro subentry
19622 \begin_layout Plain Layout
19636 \begin_layout Standard
19637 As described in section
19638 \begin_inset space ~
19642 \begin_inset CommandInset ref
19644 reference "subsec:Line-Thickness"
19650 the line thickness for all lines in a table can be adjusted with the length
19658 \begin_inset space \thinspace{}
19661 pt for all tables of this section.
19665 \begin_layout Plain Layout
19671 arrayrulewidth}{1.5pt}
19679 \begin_layout Standard
19680 To color vertical lines for example with green,
19681 create the following column format in the document preamble,
19682 according to the description in section
19683 \begin_inset space ~
19687 \begin_inset CommandInset ref
19689 reference "subsec:Customized-Format"
19697 \begin_layout Standard
19702 newcolumntype{W}{!{
19709 \begin_layout Standard
19711 \begin_inset space ~
19715 \begin_inset CommandInset ref
19717 reference "tab:Table-with-vertical-colored"
19722 the \SpecialChar LaTeX
19727 was used for the last column and
19731 for the other columns.
19734 \begin_layout Standard
19735 If you want to have several colors,
19736 define more column formats.
19739 \begin_layout Standard
19740 \begin_inset Float table
19747 \begin_layout Plain Layout
19748 \begin_inset Caption Standard
19750 \begin_layout Plain Layout
19751 \begin_inset CommandInset label
19753 name "tab:Table-with-vertical-colored"
19757 Table with colored vertical lines
19765 \begin_layout Plain Layout
19767 \begin_inset Tabular
19768 <lyxtabular version="3" rows="3" columns="3">
19769 <features tabularvalignment="middle">
19770 <column alignment="center" valignment="top" special="Wc">
19771 <column alignment="center" valignment="top" special="Wc">
19772 <column alignment="center" valignment="top" special="WcW">
19774 <cell alignment="center" valignment="top" topline="true" usebox="none">
19777 \begin_layout Plain Layout
19783 <cell alignment="center" valignment="top" topline="true" usebox="none">
19786 \begin_layout Plain Layout
19792 <cell alignment="center" valignment="top" topline="true" usebox="none">
19795 \begin_layout Plain Layout
19803 <cell alignment="center" valignment="top" topline="true" usebox="none">
19806 \begin_layout Plain Layout
19812 <cell alignment="center" valignment="top" topline="true" usebox="none">
19815 \begin_layout Plain Layout
19821 <cell alignment="center" valignment="top" topline="true" usebox="none">
19824 \begin_layout Plain Layout
19832 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19835 \begin_layout Plain Layout
19841 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19844 \begin_layout Plain Layout
19850 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19853 \begin_layout Plain Layout
19872 \begin_layout Standard
19873 \begin_inset VSpace bigskip
19876 To color all horizontal lines for example with red,
19878 \begin_inset space ~
19882 \begin_inset CommandInset ref
19884 reference "tab:Table-with-horizontal-colored"
19890 insert these commands in \SpecialChar TeX
19891 code before the table or table float:
19894 \begin_layout Standard
19904 \begin_inset Newline newline
19912 \begin_inset Newline newline
19916 \begin_inset Phantom HPhantom
19919 \begin_layout Plain Layout
19922 \begin_inset space ~
19932 arrayrulecolor{red}
19936 arrayrulecolor{black}}
19939 \begin_layout Standard
19943 \begin_layout Plain Layout
19954 \begin_layout Plain Layout
19963 \begin_layout Plain Layout
19967 arrayrulecolor{red}
19971 arrayrulecolor{black}}
19977 \begin_inset Float table
19984 \begin_layout Plain Layout
19985 \begin_inset Caption Standard
19987 \begin_layout Plain Layout
19988 \begin_inset CommandInset label
19990 name "tab:Table-with-horizontal-colored"
19994 Table with colored horizontal lines
20002 \begin_layout Plain Layout
20004 \begin_inset Tabular
20005 <lyxtabular version="3" rows="3" columns="3">
20006 <features tabularvalignment="middle">
20007 <column alignment="center" valignment="top">
20008 <column alignment="center" valignment="top">
20009 <column alignment="center" valignment="top">
20011 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20014 \begin_layout Plain Layout
20020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20023 \begin_layout Plain Layout
20029 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20032 \begin_layout Plain Layout
20040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20043 \begin_layout Plain Layout
20049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20052 \begin_layout Plain Layout
20058 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20061 \begin_layout Plain Layout
20069 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20072 \begin_layout Plain Layout
20078 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20081 \begin_layout Plain Layout
20087 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20090 \begin_layout Plain Layout
20109 \begin_layout Standard
20110 To return to the default line color black,
20111 insert this command in \SpecialChar TeX
20112 code after the table or table float:
20115 \begin_layout Standard
20127 \begin_layout Standard
20129 \begin_inset space ~
20133 \begin_inset CommandInset ref
20135 reference "tab:Table-with-colored"
20140 is an example with colored vertical and horizontal lines.
20143 \begin_layout Standard
20144 \begin_inset Float table
20151 \begin_layout Plain Layout
20152 \begin_inset Caption Standard
20154 \begin_layout Plain Layout
20155 \begin_inset CommandInset label
20157 name "tab:Table-with-colored"
20161 Table with colored lines
20169 \begin_layout Plain Layout
20171 \begin_inset Tabular
20172 <lyxtabular version="3" rows="3" columns="3">
20173 <features tabularvalignment="middle">
20174 <column alignment="center" valignment="top" special="Wc">
20175 <column alignment="center" valignment="top" special="Wc">
20176 <column alignment="center" valignment="top" special="WcW">
20178 <cell alignment="center" valignment="top" topline="true" usebox="none">
20181 \begin_layout Plain Layout
20187 <cell alignment="center" valignment="top" topline="true" usebox="none">
20190 \begin_layout Plain Layout
20196 <cell alignment="center" valignment="top" topline="true" usebox="none">
20199 \begin_layout Plain Layout
20207 <cell alignment="center" valignment="top" topline="true" usebox="none">
20210 \begin_layout Plain Layout
20216 <cell alignment="center" valignment="top" topline="true" usebox="none">
20219 \begin_layout Plain Layout
20225 <cell alignment="center" valignment="top" topline="true" usebox="none">
20228 \begin_layout Plain Layout
20235 <row topspace="default">
20236 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20239 \begin_layout Plain Layout
20245 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20248 \begin_layout Plain Layout
20254 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20257 \begin_layout Plain Layout
20276 \begin_layout Standard
20280 \begin_layout Plain Layout
20296 \begin_layout Standard
20300 \begin_layout Plain Layout
20306 arrayrulewidth}{1.2pt}
20314 \begin_layout Standard
20315 To color only some of the table lines another strategy is necessary.
20316 To color all following horizontal lines,
20317 insert this command as \SpecialChar TeX
20318 code as last thing in the row that should be above the first colored line:
20321 \begin_layout Standard
20330 arrayrulecolor{blue}%
20333 \begin_layout Standard
20334 To go back to black lines,
20335 add this command as first thing in the row that is above the black lines:
20338 \begin_layout Standard
20343 arrayrulecolor{black}
20346 \begin_layout Standard
20347 With this one can color table lines like in Table
20348 \begin_inset space ~
20352 \begin_inset CommandInset ref
20354 reference "tab:Table-with-different-hor"
20361 with this method it is not possible to color the line above the first row of a table.
20364 \begin_layout Standard
20365 \begin_inset Float table
20372 \begin_layout Plain Layout
20373 \begin_inset Caption Standard
20375 \begin_layout Plain Layout
20376 \begin_inset CommandInset label
20378 name "tab:Table-with-different-hor"
20382 Table with different horizontal line colors.
20390 \begin_layout Plain Layout
20392 \begin_inset Tabular
20393 <lyxtabular version="3" rows="6" columns="7">
20394 <features tabularvalignment="middle">
20395 <column alignment="center" valignment="top">
20396 <column alignment="center" valignment="top">
20397 <column alignment="center" valignment="top">
20398 <column alignment="center" valignment="top">
20399 <column alignment="center" valignment="top">
20400 <column alignment="center" valignment="top">
20401 <column alignment="center" valignment="top">
20403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20406 \begin_layout Plain Layout
20412 <cell alignment="center" valignment="top" topline="true" usebox="none">
20415 \begin_layout Plain Layout
20421 <cell alignment="center" valignment="top" topline="true" usebox="none">
20424 \begin_layout Plain Layout
20430 <cell alignment="center" valignment="top" topline="true" usebox="none">
20433 \begin_layout Plain Layout
20439 <cell alignment="center" valignment="top" topline="true" usebox="none">
20442 \begin_layout Plain Layout
20448 <cell alignment="center" valignment="top" topline="true" usebox="none">
20451 \begin_layout Plain Layout
20457 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
20460 \begin_layout Plain Layout
20464 \begin_layout Plain Layout
20472 arrayrulecolor{blue}%
20484 <cell alignment="center" valignment="top" usebox="none">
20487 \begin_layout Plain Layout
20493 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20496 \begin_layout Plain Layout
20502 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20505 \begin_layout Plain Layout
20511 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20514 \begin_layout Plain Layout
20520 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20523 \begin_layout Plain Layout
20529 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
20532 \begin_layout Plain Layout
20538 <cell alignment="center" valignment="top" usebox="none">
20541 \begin_layout Plain Layout
20549 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20552 \begin_layout Plain Layout
20556 \begin_layout Plain Layout
20560 arrayrulecolor{black}
20570 <cell alignment="center" valignment="top" usebox="none">
20573 \begin_layout Plain Layout
20579 <cell alignment="center" valignment="top" usebox="none">
20582 \begin_layout Plain Layout
20588 <cell alignment="center" valignment="top" usebox="none">
20591 \begin_layout Plain Layout
20597 <cell alignment="center" valignment="top" usebox="none">
20600 \begin_layout Plain Layout
20606 <cell alignment="center" valignment="top" usebox="none">
20609 \begin_layout Plain Layout
20615 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20618 \begin_layout Plain Layout
20626 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20629 \begin_layout Plain Layout
20635 <cell alignment="center" valignment="top" usebox="none">
20638 \begin_layout Plain Layout
20644 <cell alignment="center" valignment="top" usebox="none">
20647 \begin_layout Plain Layout
20653 <cell alignment="center" valignment="top" usebox="none">
20656 \begin_layout Plain Layout
20662 <cell alignment="center" valignment="top" usebox="none">
20665 \begin_layout Plain Layout
20671 <cell alignment="center" valignment="top" usebox="none">
20674 \begin_layout Plain Layout
20680 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20683 \begin_layout Plain Layout
20687 \begin_layout Plain Layout
20695 arrayrulecolor{green}%
20707 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20710 \begin_layout Plain Layout
20716 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20719 \begin_layout Plain Layout
20725 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20728 \begin_layout Plain Layout
20734 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20737 \begin_layout Plain Layout
20743 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20746 \begin_layout Plain Layout
20752 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20755 \begin_layout Plain Layout
20761 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
20764 \begin_layout Plain Layout
20772 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20775 \begin_layout Plain Layout
20779 \begin_layout Plain Layout
20783 arrayrulecolor{black}
20793 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20796 \begin_layout Plain Layout
20802 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20805 \begin_layout Plain Layout
20811 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20814 \begin_layout Plain Layout
20820 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20823 \begin_layout Plain Layout
20829 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20832 \begin_layout Plain Layout
20838 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20841 \begin_layout Plain Layout
20845 \begin_layout Plain Layout
20853 arrayrulecolor{blue}%
20876 \begin_layout Standard
20877 To change the color of vertical lines within a row,
20879 \begin_inset space ~
20883 \begin_inset CommandInset ref
20885 reference "tab:Table-with-different-ver"
20891 one needs to use multicolumns.
20892 At first one needs to remove all vertical lines that don't run along the whole column.
20893 Now one colors all lines using the command
20896 \begin_layout Standard
20905 arrayrulecolor{blue}%
20908 \begin_layout Standard
20910 Finally one inserts this command as \SpecialChar TeX
20911 code to every cell in the row where one needs a vertical line in a different color:
20914 \begin_layout Standard
20930 \begin_layout Standard
20931 This adds a vertical line to both sides of the cell.
20932 The left one will be green,
20934 If no color change is necessary one can omit the
20940 command in the above command.
20941 To get for example a black left line and a blue right line you can write:
20944 \begin_layout Standard
20956 \begin_layout Standard
20957 because the color blue was already set for all lines.
20962 creates hereby the vertical line while
20975 To set vertical lines without changing any color use
20978 \begin_layout Standard
20983 multicolumn{1}{|c|}{
20986 \begin_layout Standard
20987 After this command insert the cell content the normal way and end the cell with a closing brace
20991 in \SpecialChar TeX
20995 \begin_layout Standard
20996 \begin_inset Float table
21003 \begin_layout Plain Layout
21004 \begin_inset Caption Standard
21006 \begin_layout Plain Layout
21007 \begin_inset CommandInset label
21009 name "tab:Table-with-different-ver"
21013 Table with different vertical line colors in one row.
21021 \begin_layout Plain Layout
21023 \begin_inset Tabular
21024 <lyxtabular version="3" rows="5" columns="7">
21025 <features tabularvalignment="middle">
21026 <column alignment="center" valignment="top">
21027 <column alignment="center" valignment="top">
21028 <column alignment="center" valignment="top">
21029 <column alignment="center" valignment="top">
21030 <column alignment="center" valignment="top">
21031 <column alignment="center" valignment="top">
21032 <column alignment="center" valignment="top">
21034 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21037 \begin_layout Plain Layout
21043 <cell alignment="center" valignment="top" topline="true" usebox="none">
21046 \begin_layout Plain Layout
21052 <cell alignment="center" valignment="top" topline="true" usebox="none">
21055 \begin_layout Plain Layout
21061 <cell alignment="center" valignment="top" topline="true" usebox="none">
21064 \begin_layout Plain Layout
21070 <cell alignment="center" valignment="top" topline="true" usebox="none">
21073 \begin_layout Plain Layout
21079 <cell alignment="center" valignment="top" topline="true" usebox="none">
21082 \begin_layout Plain Layout
21088 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
21091 \begin_layout Plain Layout
21095 \begin_layout Plain Layout
21103 arrayrulecolor{red}%
21115 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21118 \begin_layout Plain Layout
21122 \begin_layout Plain Layout
21139 \begin_layout Plain Layout
21151 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21154 \begin_layout Plain Layout
21160 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21163 \begin_layout Plain Layout
21169 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21172 \begin_layout Plain Layout
21178 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21181 \begin_layout Plain Layout
21187 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21190 \begin_layout Plain Layout
21194 \begin_layout Plain Layout
21198 multicolumn{1}{c|}{
21207 \begin_layout Plain Layout
21219 <cell alignment="center" valignment="top" rightline="true" usebox="none">
21222 \begin_layout Plain Layout
21226 \begin_layout Plain Layout
21243 \begin_layout Plain Layout
21257 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21260 \begin_layout Plain Layout
21264 \begin_layout Plain Layout
21268 arrayrulecolor{black}
21278 <cell alignment="center" valignment="top" usebox="none">
21281 \begin_layout Plain Layout
21287 <cell alignment="center" valignment="top" usebox="none">
21290 \begin_layout Plain Layout
21296 <cell alignment="center" valignment="top" usebox="none">
21299 \begin_layout Plain Layout
21305 <cell alignment="center" valignment="top" usebox="none">
21308 \begin_layout Plain Layout
21314 <cell alignment="center" valignment="top" usebox="none">
21317 \begin_layout Plain Layout
21323 <cell alignment="center" valignment="top" rightline="true" usebox="none">
21326 \begin_layout Plain Layout
21330 \begin_layout Plain Layout
21338 arrayrulecolor{magenta}%
21350 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21353 \begin_layout Plain Layout
21357 \begin_layout Plain Layout
21361 multicolumn{1}{|c!{
21374 \begin_layout Plain Layout
21386 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21389 \begin_layout Plain Layout
21393 \begin_layout Plain Layout
21410 \begin_layout Plain Layout
21422 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21425 \begin_layout Plain Layout
21429 \begin_layout Plain Layout
21446 \begin_layout Plain Layout
21458 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21461 \begin_layout Plain Layout
21465 \begin_layout Plain Layout
21482 \begin_layout Plain Layout
21494 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21497 \begin_layout Plain Layout
21501 \begin_layout Plain Layout
21518 \begin_layout Plain Layout
21530 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21533 \begin_layout Plain Layout
21537 \begin_layout Plain Layout
21554 \begin_layout Plain Layout
21566 <cell alignment="center" valignment="top" rightline="true" usebox="none">
21569 \begin_layout Plain Layout
21573 \begin_layout Plain Layout
21577 multicolumn{1}{c|}{
21586 \begin_layout Plain Layout
21600 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21603 \begin_layout Plain Layout
21607 \begin_layout Plain Layout
21611 arrayrulecolor{black}
21621 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21624 \begin_layout Plain Layout
21630 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21633 \begin_layout Plain Layout
21639 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21642 \begin_layout Plain Layout
21648 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21651 \begin_layout Plain Layout
21657 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21660 \begin_layout Plain Layout
21666 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
21669 \begin_layout Plain Layout
21688 \begin_layout Standard
21692 \begin_layout Plain Layout
21698 arrayrulewidth}{0.4pt}
21706 \begin_layout Section
21707 Rotated Table Cells
21708 \begin_inset CommandInset label
21710 name "sec:Rotated-Table-Cells"
21715 \begin_inset Index idx
21720 \begin_layout Plain Layout
21722 \begin_inset IndexMacro subentry
21725 \begin_layout Plain Layout
21737 \begin_inset Index idx
21742 \begin_layout Plain Layout
21751 \begin_layout Standard
21752 \begin_inset Note Greyedout
21755 \begin_layout Plain Layout
21761 Not all DVI-viewers are able to display rotations.
21769 \begin_layout Standard
21771 \begin_inset space ~
21775 \begin_inset CommandInset ref
21777 reference "tab:Table-with-rotated"
21785 is an example where 3
21786 \begin_inset space ~
21789 cells were rotated by 45
21790 \begin_inset space \thinspace{}
21796 \begin_layout Standard
21797 \begin_inset Float table
21804 \begin_layout Plain Layout
21805 \begin_inset Caption Standard
21807 \begin_layout Plain Layout
21808 \begin_inset CommandInset label
21810 name "tab:Table-with-rotated"
21814 Table with rotated cells in the first row.
21822 \begin_layout Plain Layout
21825 \begin_inset Tabular
21826 <lyxtabular version="3" rows="2" columns="3">
21827 <features tabularvalignment="middle">
21828 <column alignment="center" valignment="top" width="0pt">
21829 <column alignment="center" valignment="top" width="0pt">
21830 <column alignment="center" valignment="top" width="0pt">
21832 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21835 \begin_layout Plain Layout
21841 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21844 \begin_layout Plain Layout
21850 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21853 \begin_layout Plain Layout
21861 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21864 \begin_layout Plain Layout
21870 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21873 \begin_layout Plain Layout
21879 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21882 \begin_layout Plain Layout
21901 \begin_layout Standard
21902 \begin_inset Note Greyedout
21905 \begin_layout Plain Layout
21911 Line breaks (shortcut
21914 arg "newline-insert newline"
21917 ) are not allowed in rotated cells.
21925 \begin_layout Standard
21926 If you want to rotate table cells containing line breaks,
21927 you have to put the cell content into a minipage or a parbox.
21931 \begin_layout Plain Layout
21932 For more about these boxes see sec.
21933 \begin_inset space \thinspace{}
21937 \begin_inset CommandInset ref
21939 reference "sec:Minipages"
21945 \begin_inset CommandInset ref
21947 reference "sec:Parboxes"
21957 If you rotate this cell by 90
21958 \begin_inset space \thinspace{}
21961 ° the width of the box is the height of the cell.
21962 To avoid to estimate a suitable box width one can use a minipage with a variable width.
21963 Such a box is inserted by loading the module
21966 \begin_inset space ~
21971 in the document settings.
21972 Then one can use the menu
21974 Insert\SpecialChar menuseparator
21976 \begin_inset space ~
21979 Insets\SpecialChar menuseparator
21981 \begin_inset space ~
21987 \begin_inset space ~
21992 \begin_inset space ~
21996 \begin_inset CommandInset ref
21998 reference "tab:Table-with-rotated-multi"
22003 is an example for a rotated multiline cell where a variable width minipage is used.
22006 \begin_layout Standard
22007 \begin_inset Float table
22014 \begin_layout Plain Layout
22015 \begin_inset Caption Standard
22017 \begin_layout Plain Layout
22018 \begin_inset CommandInset label
22020 name "tab:Table-with-rotated-multi"
22024 Table with rotated multiline cell.
22032 \begin_layout Plain Layout
22035 \begin_inset Tabular
22036 <lyxtabular version="3" rows="2" columns="3">
22037 <features tabularvalignment="middle">
22038 <column alignment="center" valignment="top">
22039 <column alignment="center" valignment="top" width="0pt">
22040 <column alignment="center" valignment="top">
22042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22045 \begin_layout Plain Layout
22051 <cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
22054 \begin_layout Plain Layout
22055 \begin_inset Flex Minipage (Var. Width)
22058 \begin_layout Plain Layout
22060 \begin_inset Newline newline
22064 \begin_inset space ~
22077 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22080 \begin_layout Plain Layout
22088 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22091 \begin_layout Plain Layout
22097 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22100 \begin_layout Plain Layout
22106 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22109 \begin_layout Plain Layout
22128 \begin_layout Section
22129 Table Width Calculation
22130 \begin_inset CommandInset label
22132 name "sec:Table-Width-Calculation"
22139 \begin_layout Standard
22140 For wide tables it is sometimes difficult to assure that the table does not protrude over the page margin.
22141 Setting a fixed width for every column of the table is the solution,
22142 but what amount of space is needed for each column?
22145 \begin_layout Standard
22147 \begin_inset Formula $W_{\mathrm{table}}$
22151 Every column has the width of the specified column width
22152 \begin_inset Formula $W_{\mathrm{column}}$
22155 (that the content of the column can consume) plus two times the separation between the column content and the column border (\SpecialChar LaTeX
22164 \begin_inset space \thinspace{}
22167 pt) plus the width of a border line (\SpecialChar LaTeX
22176 \begin_inset space \thinspace{}
22181 \begin_inset Formula $n$
22185 \begin_inset space ~
22188 columns have the same width,
22190 \begin_inset Formula
22192 W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
22200 \begin_layout Standard
22201 The available width for a table is the space between the page margins or the width of a text column (for a two-column document) (\SpecialChar LaTeX
22209 If all table columns should have the same width and
22210 \begin_inset Formula $W_{\mathrm{table}}$
22214 \begin_inset space \thinspace{}
22221 \begin_inset Formula $W_{\mathrm{column}}$
22224 can easily be calculated.
22227 \begin_layout Standard
22228 To be able to perform calculations you need to load the \SpecialChar LaTeX
22234 \begin_inset Index idx
22239 \begin_layout Plain Layout
22242 \begin_inset IndexMacro subentry
22245 \begin_layout Plain Layout
22256 in the document preamble.
22257 To set the width in the table dialog you have to use the field
22263 The command scheme for this field is the same that is explained in section
22264 \begin_inset space ~
22268 \begin_inset CommandInset ref
22270 reference "subsec:Multicolumn-Calculations"
22277 \begin_inset space \thinspace{}
22280 columns with an uniform width and centered text,
22281 enter there for each column the command
22284 \begin_layout Standard
22291 columnwidth-62.4pt)/5}
22294 \begin_layout Standard
22296 \begin_inset space \thinspace{}
22299 columns where 2 should have 0.75
22300 \begin_inset space ~
22303 times the width than the 3 others,
22305 \begin_inset Formula
22307 \backslash\mbox{columnwidth} & =3\,W_{\mathrm{column}}+2\cdot0.75\,W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
22308 & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
22309 & =4.5\,W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
22310 W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
22318 \begin_layout Standard
22319 In the table therefore the command
22322 \begin_layout Standard
22329 columnwidth-62.4pt)/
22334 \begin_layout Standard
22335 is used for the wider columns and
22338 \begin_layout Standard
22345 columnwidth-62.4pt)/
22352 \begin_layout Standard
22353 for the smaller ones:
22356 \begin_layout Standard
22357 \begin_inset Tabular
22358 <lyxtabular version="3" rows="2" columns="5">
22359 <features tabularvalignment="middle">
22360 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
22361 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
22362 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
22363 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
22364 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
22366 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22369 \begin_layout Plain Layout
22375 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22378 \begin_layout Plain Layout
22384 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22387 \begin_layout Plain Layout
22393 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22396 \begin_layout Plain Layout
22402 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22405 \begin_layout Plain Layout
22413 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22416 \begin_layout Plain Layout
22417 111111 1111111 111111 111111111 11111 11111 1111
22422 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22425 \begin_layout Plain Layout
22431 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22434 \begin_layout Plain Layout
22435 2222 22222 222222 222222222 2222222 22 22222
22440 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22443 \begin_layout Plain Layout
22449 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22452 \begin_layout Plain Layout
22453 333333 333333 333333 33333 3333333 333
22466 \begin_layout Section
22467 Table Customization
22468 \begin_inset Index idx
22473 \begin_layout Plain Layout
22474 Table Customization
22480 \begin_inset Index idx
22485 \begin_layout Plain Layout
22487 \begin_inset IndexMacro subentry
22490 \begin_layout Plain Layout
22504 \begin_layout Subsection
22506 \begin_inset CommandInset label
22508 name "subsec:Row-Spacing"
22513 \begin_inset Index idx
22518 \begin_layout Plain Layout
22519 Table Customization
22520 \begin_inset IndexMacro subentry
22523 \begin_layout Plain Layout
22537 \begin_layout Standard
22538 You can add vertical space to table rows in the
22542 tab of the table dialog.
22543 You find there three possibilities:
22546 \begin_layout Description
22548 \begin_inset space ~
22552 \begin_inset space ~
22555 row will add space above the characters of the table row.
22556 If the table is a formal table
22560 \begin_layout Plain Layout
22561 Formal tables are explained in section
22562 \begin_inset space ~
22566 \begin_inset CommandInset ref
22568 reference "sec:Formal-Tables"
22579 will insert as default 0.5
22580 \begin_inset space \thinspace{}
22584 For normal tables the inserted space will unfortunately destroy the vertical table lines as in the following table:
22585 \begin_inset VSpace medskip
22589 \begin_inset Newline newline
22593 \begin_inset space \hspace*{}
22598 \begin_inset space \hfill{}
22602 \begin_inset Tabular
22603 <lyxtabular version="3" rows="3" columns="1">
22604 <features tabularvalignment="middle">
22605 <column alignment="center" valignment="top">
22607 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22610 \begin_layout Plain Layout
22617 <row topspace="3mm">
22618 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22621 \begin_layout Plain Layout
22623 \begin_inset space \thinspace{}
22626 mm space top of row
22633 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22636 \begin_layout Plain Layout
22648 \begin_inset space \hfill{}
22652 \begin_inset space \hspace*{}
22657 \begin_inset VSpace medskip
22661 \begin_inset Newline newline
22664 So inserting space in the top of row for normal tables is only useful when you don't have vertical lines.
22667 \begin_layout Description
22669 \begin_inset space ~
22673 \begin_inset space ~
22676 row will add space below the characters of the table row.
22677 If the table is a formal table \SpecialChar LyX
22678 will insert as default 0.5
22679 \begin_inset space \thinspace{}
22683 for normal tables the default size is 2
22684 \begin_inset space \thinspace{}
22690 \begin_layout Description
22692 \begin_inset space ~
22695 rows adds space between the current and the following row.
22696 If the table is a formal table \SpecialChar LyX
22697 will insert as default 0.5
22698 \begin_inset space \thinspace{}
22702 For normal tables the inserted space will unfortunately destroy the vertical table lines as in the following table:
22703 \begin_inset VSpace medskip
22707 \begin_inset Newline newline
22711 \begin_inset space \hspace*{}
22716 \begin_inset space \hfill{}
22720 \begin_inset Tabular
22721 <lyxtabular version="3" rows="3" columns="1">
22722 <features tabularvalignment="middle">
22723 <column alignment="center" valignment="top">
22725 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22728 \begin_layout Plain Layout
22735 <row interlinespace="3mm">
22736 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22739 \begin_layout Plain Layout
22740 \begin_inset Formula $\downarrow$
22744 \begin_inset space \thinspace{}
22747 mm space between row
22748 \begin_inset Formula $\downarrow$
22758 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22761 \begin_layout Plain Layout
22762 \begin_inset Formula $\uparrow$
22766 \begin_inset space \thinspace{}
22769 mm space between row
22770 \begin_inset Formula $\uparrow$
22784 \begin_inset space \hfill{}
22788 \begin_inset space \hspace*{}
22793 \begin_inset VSpace medskip
22797 \begin_inset Newline newline
22800 So inserting space between rows for normal tables is only useful when you don't have vertical lines.
22803 \begin_layout Standard
22804 \begin_inset VSpace bigskip
22807 When you want to add extra height to all cells of all tables,
22808 you can do this with the following preamble lines:
22811 \begin_layout Standard
22816 @ifundefined{extrarowheight}
22817 \begin_inset Newline newline
22821 \begin_inset Phantom HPhantom
22824 \begin_layout Plain Layout
22827 \begin_inset space ~
22837 usepackage{array}}{}
22838 \begin_inset Newline newline
22845 extrarowheight}{height}
22848 \begin_inset Note Note
22851 \begin_layout Plain Layout
22856 will be loaded automatically by \SpecialChar LyX
22857 when you use self defined table formats.
22858 To avoid that it is loaded twice the command
22864 is used in the above command.
22872 \begin_layout Standard
22877 can have one of the units listed in appendix
22878 \begin_inset space ~
22882 \begin_inset CommandInset ref
22884 reference "cha:Units-available-in"
22890 But this has the disadvantage that the cell texts are no longer exactly vertically centered.
22893 \begin_layout Standard
22894 If you are using font sizes larger than the normal size,
22895 the table borders are often too close to the letters.
22896 This can be corrected by inserting the command
22902 in \SpecialChar TeX
22903 Code at the beginning of a table row.
22905 \begin_inset space ~
22909 \begin_inset CommandInset ref
22911 reference "tab:Vertical-alignment-of"
22916 illustrates the effect.
22919 \begin_layout Standard
22921 \begin_inset Float table
22928 \begin_layout Plain Layout
22929 \begin_inset Caption Standard
22931 \begin_layout Plain Layout
22932 \begin_inset CommandInset label
22934 name "tab:Vertical-alignment-of"
22938 Vertical alignment of text with large font sizes.
22946 \begin_layout Plain Layout
22947 \begin_inset space \hfill{}
22951 \begin_inset Float table
22958 \begin_layout Plain Layout
22959 \begin_inset Caption Standard
22961 \begin_layout Plain Layout
22970 \begin_layout Plain Layout
22973 \begin_inset Tabular
22974 <lyxtabular version="3" rows="6" columns="1">
22975 <features tabularvalignment="middle">
22976 <column alignment="left" valignment="top">
22978 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22981 \begin_layout Plain Layout
22990 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22993 \begin_layout Plain Layout
23003 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23006 \begin_layout Plain Layout
23016 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23019 \begin_layout Plain Layout
23029 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23032 \begin_layout Plain Layout
23042 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23045 \begin_layout Plain Layout
23064 \begin_inset space \hfill{}
23068 \begin_inset Float table
23075 \begin_layout Plain Layout
23076 \begin_inset Caption Standard
23078 \begin_layout Plain Layout
23079 Table using the command
23093 \begin_layout Plain Layout
23096 \begin_inset Tabular
23097 <lyxtabular version="3" rows="6" columns="1">
23098 <features tabularvalignment="middle">
23099 <column alignment="left" valignment="top">
23101 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23104 \begin_layout Plain Layout
23113 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23116 \begin_layout Plain Layout
23122 \begin_layout Plain Layout
23138 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23141 \begin_layout Plain Layout
23147 \begin_layout Plain Layout
23163 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23166 \begin_layout Plain Layout
23172 \begin_layout Plain Layout
23188 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23191 \begin_layout Plain Layout
23197 \begin_layout Plain Layout
23213 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23216 \begin_layout Plain Layout
23222 \begin_layout Plain Layout
23249 \begin_inset space \hfill{}
23260 \begin_layout Subsection
23261 Special Cell Alignment
23262 \begin_inset CommandInset label
23264 name "subsec:Special-Cell-Alignment"
23269 \begin_inset Index idx
23274 \begin_layout Plain Layout
23275 Table Customization
23276 \begin_inset IndexMacro subentry
23279 \begin_layout Plain Layout
23280 Special Cell Alignment
23293 \begin_layout Standard
23294 Sometimes it looks better when the cell entries of a column are aligned with a special character,
23296 \begin_inset space \thinspace{}
23300 \begin_inset space \space{}
23303 with the decimal separator as in Table
23304 \begin_inset space ~
23308 \begin_inset CommandInset ref
23310 reference "tab:Table-cells-align"
23316 This alignment is achieved by setting the cursor into the column and then either pressing the toolbar button
23319 arg "tabular-feature align-decimal"
23322 or setting the alignment in the table settings to
23325 \begin_inset space ~
23329 \begin_inset space ~
23335 The alignment character can be a character of your choice and is specified in the table settings.
23338 \begin_layout Standard
23339 \begin_inset Float table
23346 \begin_layout Plain Layout
23347 \begin_inset Caption Standard
23349 \begin_layout Plain Layout
23350 \begin_inset CommandInset label
23352 name "tab:Table-cells-align"
23356 Table cells of a column aligned with the decimal separator.
23364 \begin_layout Plain Layout
23366 \begin_inset Tabular
23367 <lyxtabular version="3" rows="4" columns="1">
23368 <features booktabs="true" tabularvalignment="middle">
23369 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
23371 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
23374 \begin_layout Plain Layout
23382 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23385 \begin_layout Plain Layout
23393 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
23396 \begin_layout Plain Layout
23404 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
23407 \begin_layout Plain Layout
23426 \begin_layout Standard
23427 \begin_inset Float table
23434 \begin_layout Plain Layout
23435 \begin_inset Caption Standard
23437 \begin_layout Plain Layout
23438 \begin_inset CommandInset label
23440 name "tab:Table-align-operator"
23444 Table cells of a column aligned with the operators.
23452 \begin_layout Plain Layout
23454 \begin_inset Tabular
23455 <lyxtabular version="3" rows="4" columns="2">
23456 <features booktabs="true" tabularvalignment="middle">
23457 <column alignment="right" valignment="top" width="0pt">
23458 <column alignment="left" valignment="top" width="0pt" special="@{}l">
23460 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
23463 \begin_layout Plain Layout
23469 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23472 \begin_layout Plain Layout
23480 <cell alignment="center" valignment="top" usebox="none">
23483 \begin_layout Plain Layout
23484 \begin_inset Formula $12\,+$
23492 <cell alignment="center" valignment="top" usebox="none">
23495 \begin_layout Plain Layout
23496 \begin_inset Formula $\,6$
23506 <cell alignment="center" valignment="top" usebox="none">
23509 \begin_layout Plain Layout
23510 \begin_inset Formula $0\,-$
23518 <cell alignment="center" valignment="top" usebox="none">
23521 \begin_layout Plain Layout
23522 \begin_inset Formula $\,68$
23532 <cell alignment="center" valignment="top" usebox="none">
23535 \begin_layout Plain Layout
23536 \begin_inset Formula $-123\,/$
23544 <cell alignment="center" valignment="top" usebox="none">
23547 \begin_layout Plain Layout
23548 \begin_inset Formula $\,0$
23569 \begin_layout Standard
23570 For alignments at characters in formulas this method does not work because the field to specify the alignment character does not allow formulas.
23571 In this case one need to use the method from Table
23572 \begin_inset space ~
23576 \begin_inset CommandInset ref
23578 reference "tab:Table-align-operator"
23584 This table was created with a 4×2 table.
23585 The heading is a centered multicolumn.
23586 The first column is right-aligned and contains the first part including the operator.
23587 The second column is left aligned and contains the rest.
23588 A small space was added at the beginning of each cell of the second column to get the space that is usually around operators.
23589 To omit the space that is normally between two table columns,
23590 the following \SpecialChar LaTeX
23591 -argument was used for the second column:
23594 \begin_layout Standard
23600 \begin_layout Standard
23602 \begin_inset space ~
23606 \begin_inset CommandInset ref
23608 reference "tab:Several-table-cell"
23613 shows some example alignments.
23614 For the alignment with the relation sign,
23615 a small space was added like for the second column of Table
23616 \begin_inset space ~
23620 \begin_inset CommandInset ref
23622 reference "tab:Table-align-operator"
23630 \begin_layout Standard
23631 \begin_inset Float table
23638 \begin_layout Plain Layout
23639 \begin_inset Caption Standard
23641 \begin_layout Plain Layout
23642 \begin_inset CommandInset label
23644 name "tab:Several-table-cell"
23648 Several table cell alignments.
23656 \begin_layout Plain Layout
23658 \begin_inset Tabular
23659 <lyxtabular version="3" rows="4" columns="6">
23660 <features tabularvalignment="middle">
23661 <column alignment="right" valignment="top">
23662 <column alignment="left" valignment="top" special="@{}l">
23663 <column alignment="right" valignment="top">
23664 <column alignment="left" valignment="top" special="@{}l">
23665 <column alignment="right" valignment="top">
23666 <column alignment="left" valignment="top" special="@{}l">
23668 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
23671 \begin_layout Plain Layout
23677 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23680 \begin_layout Plain Layout
23686 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
23689 \begin_layout Plain Layout
23695 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23698 \begin_layout Plain Layout
23704 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
23707 \begin_layout Plain Layout
23713 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23716 \begin_layout Plain Layout
23724 <cell alignment="center" valignment="top" usebox="none">
23727 \begin_layout Plain Layout
23733 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23736 \begin_layout Plain Layout
23738 \begin_inset space \thinspace{}
23746 <cell alignment="center" valignment="top" usebox="none">
23749 \begin_layout Plain Layout
23750 \begin_inset Formula $10\cdot$
23758 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23761 \begin_layout Plain Layout
23762 \begin_inset Formula $10^{\mbox{-}17}$
23770 <cell alignment="center" valignment="top" usebox="none">
23773 \begin_layout Plain Layout
23774 \begin_inset Formula $\Gamma(t)\propto$
23782 <cell alignment="center" valignment="top" usebox="none">
23785 \begin_layout Plain Layout
23786 \begin_inset Formula $\:\Upsilon(t)$
23796 <cell alignment="center" valignment="top" usebox="none">
23799 \begin_layout Plain Layout
23805 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23808 \begin_layout Plain Layout
23810 \begin_inset space \thinspace{}
23818 <cell alignment="center" valignment="top" usebox="none">
23821 \begin_layout Plain Layout
23822 \begin_inset Formula $5.78\cdot$
23830 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23833 \begin_layout Plain Layout
23834 \begin_inset Formula $10^{7}$
23842 <cell alignment="center" valignment="top" usebox="none">
23845 \begin_layout Plain Layout
23846 \begin_inset Formula $A\ne$
23854 <cell alignment="center" valignment="top" usebox="none">
23857 \begin_layout Plain Layout
23858 \begin_inset Formula $\:B_{\mathrm{red}}$
23868 <cell alignment="center" valignment="top" usebox="none">
23871 \begin_layout Plain Layout
23877 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23880 \begin_layout Plain Layout
23882 \begin_inset space \thinspace{}
23890 <cell alignment="center" valignment="top" usebox="none">
23893 \begin_layout Plain Layout
23895 \begin_inset Formula $33.5\cdot$
23903 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23906 \begin_layout Plain Layout
23907 \begin_inset Formula $10^{4}$
23915 <cell alignment="center" valignment="top" usebox="none">
23918 \begin_layout Plain Layout
23919 \begin_inset Formula $\sin(\alpha)\ge$
23927 <cell alignment="center" valignment="top" usebox="none">
23930 \begin_layout Plain Layout
23931 \begin_inset Formula $\:\sin(\beta)$
23952 \begin_layout Subsection
23953 Customized Cell/Column Format
23954 \begin_inset CommandInset label
23956 name "subsec:Customized-Format"
23961 \begin_inset Index idx
23966 \begin_layout Plain Layout
23967 Table Customization
23968 \begin_inset IndexMacro subentry
23971 \begin_layout Plain Layout
23985 \begin_layout Standard
23986 Calculating the required width for normal columns as described in section
23987 \begin_inset space ~
23991 \begin_inset CommandInset ref
23993 reference "sec:Table-Width-Calculation"
23998 or for spanned columns as described in section
23999 \begin_inset space ~
24003 \begin_inset CommandInset ref
24005 reference "subsec:Multicolumn-Calculations"
24010 is very annoying if you have several tables where a calculation is necessary.
24011 To make life easier,
24012 you can define a cell/column format in the preamble,
24013 that can be used in all tables of the document.
24014 The format is defined with the command
24017 \begin_layout Standard
24022 newcolumntype{name of format}[number of arguments]{commands}
24025 \begin_layout Standard
24026 The format name may only consist of one letter.
24055 are predefined and cannot be used.
24056 But all letters are allowed as capitals.
24059 \begin_layout Standard
24060 \begin_inset VSpace medskip
24066 \begin_layout Standard
24067 For vertically and horizontally centered multicolumn cells with a fixed width you can define the cell format
24070 \begin_layout Standard
24075 newcolumntype{M}[1]{>{
24082 \begin_layout Standard
24089 avoids the problem of hyphenating the first word,
24090 as described in section
24091 \begin_inset space ~
24095 \begin_inset CommandInset ref
24097 reference "subsec:Multiple-Lines-in"
24103 Now you can simply enter
24106 \begin_layout Standard
24112 \begin_layout Standard
24118 in the table dialog to create a multicolumn.
24121 \begin_layout Standard
24122 \begin_inset VSpace bigskip
24128 \begin_layout Standard
24129 For cells spanned by a multicolumn cell,
24130 you can define the format
24133 \begin_layout Standard
24138 newcolumntype{S}[2]{>{
24143 \begin_inset Newline newline
24147 \begin_inset Phantom HPhantom
24150 \begin_layout Plain Layout
24164 arrayrulewidth)*(1-#2))/#2}}
24167 \begin_layout Standard
24168 This format uses equation
24169 \begin_inset CommandInset ref
24176 to calculate the required width so that each spanned cell has the same width.
24179 \begin_layout Standard
24183 \begin_layout Standard
24186 S{width of multicolumn cell}{number of spanned columns}
24189 \begin_layout Standard
24190 as \SpecialChar LaTeX
24191 -argument of the column.
24194 \begin_layout Standard
24195 \begin_inset VSpace bigskip
24201 \begin_layout Standard
24202 For colored columns,
24206 \begin_layout Standard
24211 newcolumntype{K}[1]{>{
24218 \begin_layout Standard
24220 \begin_inset Quotes eld
24224 \begin_inset Quotes erd
24227 at the end creates a column with a flexible width whose text is horizontally centered.
24231 \begin_layout Standard
24237 \begin_layout Standard
24238 as \SpecialChar LaTeX
24242 \begin_layout Standard
24243 \begin_inset VSpace bigskip
24249 \begin_layout Standard
24251 \begin_inset space ~
24255 \begin_inset CommandInset ref
24257 reference "tab:Table-using-user-defined"
24262 use the \SpecialChar LaTeX
24266 \begin_layout Standard
24272 \begin_layout Standard
24273 for the first column and the multicolumn,
24276 \begin_layout Standard
24282 \begin_layout Standard
24283 for the last column,
24287 \begin_layout Standard
24293 \begin_layout Standard
24294 for the cells in the second column.
24297 \begin_layout Standard
24298 \begin_inset Float table
24305 \begin_layout Plain Layout
24306 \begin_inset Caption Standard
24308 \begin_layout Plain Layout
24309 \begin_inset CommandInset label
24311 name "tab:Table-using-user-defined"
24315 Table using user-defined table formats
24323 \begin_layout Plain Layout
24325 \begin_inset Tabular
24326 <lyxtabular version="3" rows="3" columns="4">
24327 <features tabularvalignment="middle">
24328 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
24329 <column alignment="center" valignment="middle" special="S{2.5cm}{2}">
24330 <column alignment="center" valignment="middle">
24331 <column alignment="center" valignment="middle" special="K{red}">
24333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24336 \begin_layout Plain Layout
24337 verylongtablecellword
24342 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
24345 \begin_layout Plain Layout
24346 multiple lines multicolumn
24351 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24354 \begin_layout Plain Layout
24360 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24363 \begin_layout Plain Layout
24371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24374 \begin_layout Plain Layout
24380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24383 \begin_layout Plain Layout
24389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24392 \begin_layout Plain Layout
24398 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24401 \begin_layout Plain Layout
24409 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24412 \begin_layout Plain Layout
24418 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24421 \begin_layout Plain Layout
24427 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24430 \begin_layout Plain Layout
24436 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24439 \begin_layout Plain Layout
24458 \begin_layout Subsection
24460 \begin_inset CommandInset label
24462 name "subsec:Line-Thickness"
24467 \begin_inset Index idx
24472 \begin_layout Plain Layout
24473 Table Customization
24474 \begin_inset IndexMacro subentry
24477 \begin_layout Plain Layout
24491 \begin_layout Standard
24492 The line thickness for all lines in a table can be adjusted with the length
24499 To set for example a line thickness of 1.5
24500 \begin_inset space \thinspace{}
24505 \begin_inset space ~
24509 \begin_inset CommandInset ref
24511 reference "tab:Table-with-1.5"
24520 \begin_layout Standard
24527 arrayrulewidth}{1.5pt}
24530 \begin_layout Standard
24531 in \SpecialChar TeX
24532 Code before the table or table float.
24533 The changed thickness is valid for all subsequent tables.
24534 To use the default value again,
24542 \begin_inset space \thinspace{}
24545 pt in \SpecialChar TeX
24546 Code after the table or table float.
24549 \begin_layout Standard
24553 \begin_layout Plain Layout
24559 arrayrulewidth}{1.5pt}
24565 \begin_inset Float table
24572 \begin_layout Plain Layout
24573 \begin_inset Caption Standard
24575 \begin_layout Plain Layout
24576 \begin_inset CommandInset label
24578 name "tab:Table-with-1.5"
24583 \begin_inset space \thinspace{}
24594 \begin_layout Plain Layout
24596 \begin_inset Tabular
24597 <lyxtabular version="3" rows="3" columns="3">
24598 <features tabularvalignment="middle">
24599 <column alignment="center" valignment="top">
24600 <column alignment="center" valignment="top">
24601 <column alignment="center" valignment="top">
24603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24606 \begin_layout Plain Layout
24612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24615 \begin_layout Plain Layout
24621 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24624 \begin_layout Plain Layout
24632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24635 \begin_layout Plain Layout
24641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24644 \begin_layout Plain Layout
24650 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24653 \begin_layout Plain Layout
24661 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24664 \begin_layout Plain Layout
24670 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24673 \begin_layout Plain Layout
24679 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24682 \begin_layout Plain Layout
24702 \begin_layout Plain Layout
24708 arrayrulewidth}{0.4pt}
24716 \begin_layout Standard
24717 \begin_inset VSpace bigskip
24720 To set the line thickness to 1.5
24721 \begin_inset space \thinspace{}
24724 pt only for horizontal lines,
24726 \begin_inset space ~
24730 \begin_inset CommandInset ref
24732 reference "tab:Table-with-horizontal"
24738 insert these commands in \SpecialChar TeX
24739 Code before the table or table float:
24742 \begin_layout Standard
24752 \begin_inset Newline newline
24760 \begin_inset Newline newline
24769 arrayrulewidth 1.5pt}
24770 \begin_inset Newline newline
24781 arrayrulewidth 0.4pt}}
24784 \begin_layout Standard
24785 To return to the default line thickness,
24786 insert this command in \SpecialChar TeX
24787 Code after the table or table float:
24790 \begin_layout Standard
24802 \begin_layout Standard
24806 \begin_layout Plain Layout
24817 \begin_layout Plain Layout
24826 \begin_layout Plain Layout
24834 arrayrulewidth 1.5pt}
24837 \begin_layout Plain Layout
24847 arrayrulewidth 0.4pt}}
24853 \begin_inset Float table
24860 \begin_layout Plain Layout
24861 \begin_inset Caption Standard
24863 \begin_layout Plain Layout
24864 \begin_inset CommandInset label
24866 name "tab:Table-with-horizontal"
24871 \begin_inset space \thinspace{}
24874 pt thick horizontal lines
24882 \begin_layout Plain Layout
24884 \begin_inset Tabular
24885 <lyxtabular version="3" rows="3" columns="3">
24886 <features tabularvalignment="middle">
24887 <column alignment="center" valignment="top">
24888 <column alignment="center" valignment="top">
24889 <column alignment="center" valignment="top">
24891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24894 \begin_layout Plain Layout
24900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24903 \begin_layout Plain Layout
24909 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24912 \begin_layout Plain Layout
24920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24923 \begin_layout Plain Layout
24929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24932 \begin_layout Plain Layout
24938 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24941 \begin_layout Plain Layout
24949 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24952 \begin_layout Plain Layout
24958 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24961 \begin_layout Plain Layout
24967 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24970 \begin_layout Plain Layout
24990 \begin_layout Plain Layout
25006 \begin_layout Standard
25007 \begin_inset VSpace bigskip
25010 To set the line thickness to 1.5
25011 \begin_inset space \thinspace{}
25014 pt only for vertical lines,
25015 create the following column format in the document preamble,
25016 according to the description in section
25017 \begin_inset space ~
25021 \begin_inset CommandInset ref
25023 reference "subsec:Customized-Format"
25031 \begin_layout Standard
25036 newcolumntype{V}{!{
25038 vrule width 1.5pt}}
25041 \begin_layout Standard
25043 \begin_inset space ~
25047 \begin_inset CommandInset ref
25049 reference "tab:Table-with-vertical"
25054 the \SpecialChar LaTeX
25058 \begin_layout Standard
25064 \begin_layout Standard
25065 was used for the last column and
25068 \begin_layout Standard
25074 \begin_layout Standard
25075 for the other columns.
25078 \begin_layout Standard
25079 \begin_inset Float table
25086 \begin_layout Plain Layout
25087 \begin_inset Caption Standard
25089 \begin_layout Plain Layout
25090 \begin_inset CommandInset label
25092 name "tab:Table-with-vertical"
25097 \begin_inset space \thinspace{}
25100 pt thick vertical lines
25108 \begin_layout Plain Layout
25110 \begin_inset Tabular
25111 <lyxtabular version="3" rows="3" columns="3">
25112 <features tabularvalignment="middle">
25113 <column alignment="center" valignment="top" special="Vc">
25114 <column alignment="center" valignment="top" special="Vc">
25115 <column alignment="center" valignment="top" special="VcV">
25117 <cell alignment="center" valignment="top" topline="true" usebox="none">
25120 \begin_layout Plain Layout
25126 <cell alignment="center" valignment="top" topline="true" usebox="none">
25129 \begin_layout Plain Layout
25135 <cell alignment="center" valignment="top" topline="true" usebox="none">
25138 \begin_layout Plain Layout
25146 <cell alignment="center" valignment="top" topline="true" usebox="none">
25149 \begin_layout Plain Layout
25155 <cell alignment="center" valignment="top" topline="true" usebox="none">
25158 \begin_layout Plain Layout
25164 <cell alignment="center" valignment="top" topline="true" usebox="none">
25167 \begin_layout Plain Layout
25175 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25178 \begin_layout Plain Layout
25184 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25187 \begin_layout Plain Layout
25193 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25196 \begin_layout Plain Layout
25215 \begin_layout Subsection
25217 \begin_inset Index idx
25222 \begin_layout Plain Layout
25223 Table Customization
25224 \begin_inset IndexMacro subentry
25227 \begin_layout Plain Layout
25241 \begin_layout Standard
25245 \begin_layout Plain Layout
25255 \begin_inset Note Note
25258 \begin_layout Plain Layout
25259 The following section will only be displayed when the \SpecialChar LaTeX
25272 \begin_layout Standard
25273 \begin_inset Float table
25280 \begin_layout Plain Layout
25281 \begin_inset Caption Standard
25283 \begin_layout Plain Layout
25284 \begin_inset CommandInset label
25286 name "tab:Table-with-dashed"
25290 Table with dashed lines
25298 \begin_layout Plain Layout
25300 \begin_inset Tabular
25301 <lyxtabular version="3" rows="5" columns="5">
25302 <features tabularvalignment="middle">
25303 <column alignment="center" valignment="top">
25304 <column alignment="center" valignment="top">
25305 <column alignment="center" valignment="top" special=":c">
25306 <column alignment="center" valignment="top">
25307 <column alignment="center" valignment="top">
25309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25312 \begin_layout Plain Layout
25318 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25321 \begin_layout Plain Layout
25327 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25330 \begin_layout Plain Layout
25336 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25339 \begin_layout Plain Layout
25345 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25348 \begin_layout Plain Layout
25356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25359 \begin_layout Plain Layout
25365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25368 \begin_layout Plain Layout
25374 <cell alignment="center" valignment="top" topline="true" usebox="none">
25377 \begin_layout Plain Layout
25383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25386 \begin_layout Plain Layout
25392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25395 \begin_layout Plain Layout
25403 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25406 \begin_layout Plain Layout
25410 \begin_layout Plain Layout
25424 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25427 \begin_layout Plain Layout
25433 <cell alignment="center" valignment="top" usebox="none">
25436 \begin_layout Plain Layout
25442 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25445 \begin_layout Plain Layout
25451 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25454 \begin_layout Plain Layout
25462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25465 \begin_layout Plain Layout
25469 \begin_layout Plain Layout
25483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25486 \begin_layout Plain Layout
25492 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
25495 \begin_layout Plain Layout
25501 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25504 \begin_layout Plain Layout
25510 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25513 \begin_layout Plain Layout
25521 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25524 \begin_layout Plain Layout
25530 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25533 \begin_layout Plain Layout
25539 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25542 \begin_layout Plain Layout
25548 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25551 \begin_layout Plain Layout
25557 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25560 \begin_layout Plain Layout
25579 \begin_layout Standard
25581 does not natively support dashed lines,
25582 so you have to use \SpecialChar TeX
25584 As a prerequisite the \SpecialChar LaTeX
25590 \begin_inset Index idx
25595 \begin_layout Plain Layout
25598 \begin_inset IndexMacro subentry
25601 \begin_layout Plain Layout
25612 must be loaded in the document preamble with the command
25615 \begin_layout Standard
25620 usepackage{arydshln}
25623 \begin_layout Standard
25624 To make a vertical line dashed,
25626 \begin_inset Quotes eld
25630 \begin_inset Quotes erd
25633 together with the character for the horizontal alignment as \SpecialChar LaTeX
25634 argument in the table cell dialog.
25637 \begin_layout Standard
25638 For a horizontal dashed line add the command
25641 \begin_layout Standard
25649 \begin_layout Standard
25650 in \SpecialChar TeX
25651 Code as first element of the first cell in the table row.
25654 \begin_layout Standard
25655 For dashed multicolumn lines use the command
25658 \begin_layout Standard
25663 cdashline{line number
25668 \begin_layout Standard
25669 in \SpecialChar TeX
25670 Code as the first element of the first cell in the table row.
25671 If you have for example a multicolumn spanning columns 2 to 4 and you want to have a dashed line above,
25675 \begin_layout Standard
25683 \begin_layout Standard
25684 as the first element of the first cell in the row of the multicolumn.
25687 \begin_layout Standard
25688 \begin_inset VSpace bigskip
25694 \begin_layout Standard
25696 \begin_inset space ~
25700 \begin_inset CommandInset ref
25702 reference "tab:Table-with-dashed"
25708 \begin_inset Quotes eld
25716 \begin_inset Quotes erd
25719 as \SpecialChar LaTeX
25720 argument of the third column.
25721 The \SpecialChar TeX
25728 was inserted in the first cell of the third row and the \SpecialChar TeX
25730 \begin_inset Newline newline
25739 was inserted in the first cell of the fourth row.
25742 \begin_layout Standard
25743 \begin_inset VSpace bigskip
25749 \begin_layout Standard
25750 Tables with dashed lines can also be colored as shown by Table
25751 \begin_inset space ~
25755 \begin_inset CommandInset ref
25757 reference "tab:Colored-table-with"
25765 \begin_layout Standard
25769 \begin_layout Plain Layout
25775 arrayrulewidth}{1pt}
25781 \begin_inset Note Note
25784 \begin_layout Plain Layout
25785 thicker lines for better visualization of the line color
25793 \begin_layout Standard
25797 \begin_layout Plain Layout
25801 dashgapcolor{green}
25807 \begin_inset Note Note
25810 \begin_layout Plain Layout
25811 color gaps between dashes green
25819 \begin_layout Standard
25823 \begin_layout Plain Layout
25834 \begin_layout Plain Layout
25843 \begin_layout Plain Layout
25847 arrayrulecolor{red}
25851 arrayrulecolor{black}}
25857 \begin_inset Note Note
25860 \begin_layout Plain Layout
25870 \begin_layout Standard
25874 \begin_layout Plain Layout
25885 \begin_layout Plain Layout
25894 \begin_layout Plain Layout
25898 arrayrulecolor{yellow}
25902 arrayrulecolor{black}}
25908 \begin_inset Note Note
25911 \begin_layout Plain Layout
25912 color partial horizontal,
25913 dashed lines yellow
25921 \begin_layout Standard
25922 \begin_inset Float table
25929 \begin_layout Plain Layout
25930 \begin_inset Caption Standard
25932 \begin_layout Plain Layout
25933 \begin_inset CommandInset label
25935 name "tab:Colored-table-with"
25939 Colored table with dashed lines
25947 \begin_layout Plain Layout
25949 \begin_inset Tabular
25950 <lyxtabular version="3" rows="5" columns="5">
25951 <features tabularvalignment="middle">
25952 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
25953 <column alignment="center" valignment="top" width="0pt">
25954 <column alignment="center" valignment="top" width="0pt" special=":c">
25955 <column alignment="center" valignment="top">
25956 <column alignment="center" valignment="top">
25958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25961 \begin_layout Plain Layout
25967 <cell alignment="center" valignment="top" topline="true" usebox="none">
25970 \begin_layout Plain Layout
25976 <cell alignment="center" valignment="top" topline="true" usebox="none">
25979 \begin_layout Plain Layout
25985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25988 \begin_layout Plain Layout
25994 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25997 \begin_layout Plain Layout
26005 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26008 \begin_layout Plain Layout
26014 <cell alignment="center" valignment="top" topline="true" usebox="none">
26017 \begin_layout Plain Layout
26023 <cell alignment="center" valignment="top" topline="true" usebox="none">
26026 \begin_layout Plain Layout
26032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26035 \begin_layout Plain Layout
26041 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26044 \begin_layout Plain Layout
26052 <cell alignment="center" valignment="top" leftline="true" usebox="none">
26055 \begin_layout Plain Layout
26059 \begin_layout Plain Layout
26072 \begin_layout Plain Layout
26086 <cell alignment="center" valignment="top" leftline="true" usebox="none">
26089 \begin_layout Plain Layout
26095 <cell alignment="center" valignment="top" usebox="none">
26098 \begin_layout Plain Layout
26104 <cell alignment="center" valignment="top" leftline="true" usebox="none">
26107 \begin_layout Plain Layout
26113 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
26116 \begin_layout Plain Layout
26124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26127 \begin_layout Plain Layout
26131 \begin_layout Plain Layout
26145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26148 \begin_layout Plain Layout
26154 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
26157 \begin_layout Plain Layout
26163 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
26166 \begin_layout Plain Layout
26172 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26175 \begin_layout Plain Layout
26183 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26186 \begin_layout Plain Layout
26192 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26195 \begin_layout Plain Layout
26201 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
26204 \begin_layout Plain Layout
26210 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26213 \begin_layout Plain Layout
26219 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26222 \begin_layout Plain Layout
26226 \begin_layout Plain Layout
26253 \begin_layout Standard
26257 \begin_layout Plain Layout
26271 \begin_inset Note Note
26274 \begin_layout Plain Layout
26283 \begin_layout Standard
26287 \begin_layout Plain Layout
26301 \begin_inset Note Note
26304 \begin_layout Plain Layout
26313 \begin_layout Standard
26317 \begin_layout Plain Layout
26327 \begin_inset Note Note
26330 \begin_layout Plain Layout
26339 \begin_layout Standard
26343 \begin_layout Plain Layout
26349 arrayrulewidth}{0.4pt}
26355 \begin_inset Note Note
26358 \begin_layout Plain Layout
26367 \begin_layout Standard
26368 The coloring of lines,
26369 columns and lines works as decribed in section
26370 \begin_inset space ~
26374 \begin_inset CommandInset ref
26376 reference "sec:Colored-Tables"
26382 Coloring horizontal lines works analogically as described there as well,
26383 one only needs to replace in the commands
26408 so one uses the command
26411 \begin_layout Standard
26421 \begin_inset Newline newline
26429 \begin_inset Newline newline
26433 \begin_inset Phantom HPhantom
26436 \begin_layout Plain Layout
26437 \begin_inset space ~
26447 arrayrulecolor{red}
26451 arrayrulecolor{black}}
26454 \begin_layout Standard
26465 \begin_layout Standard
26475 \begin_inset Newline newline
26483 \begin_inset Newline newline
26487 \begin_inset Phantom HPhantom
26490 \begin_layout Plain Layout
26491 \begin_inset space ~
26501 arrayrulecolor{red}
26505 arrayrulecolor{black}}
26508 \begin_layout Standard
26509 To get back the black line color,
26510 one needs to insert the following commands as \SpecialChar TeX
26511 Code behind the table:
26514 \begin_layout Standard
26522 \begin_layout Standard
26534 \begin_layout Standard
26542 \begin_layout Standard
26554 \begin_layout Standard
26555 To color the gaps between the dashes the command
26558 \begin_layout Standard
26563 dashgapcolor{color}
26566 \begin_layout Standard
26567 can be used in front of a table as \SpecialChar TeX
26569 color is hereby the name of a defined color.
26573 \begin_layout Standard
26581 \begin_layout Standard
26582 unsets the changes made by
26591 \begin_layout Standard
26592 \begin_inset Note Greyedout
26595 \begin_layout Plain Layout
26602 If there are multiple commands in a cell,
26607 needs to be the first one in the cell.
26613 \begin_inset space ~
26617 \begin_inset CommandInset ref
26619 reference "tab:Colored-table-with"
26644 \begin_layout Standard
26645 \begin_inset Note Greyedout
26648 \begin_layout Plain Layout
26655 The \SpecialChar LaTeX
26660 must be loaded in the document preamble before the \SpecialChar LaTeX
26666 \begin_inset Index idx
26671 \begin_layout Plain Layout
26674 \begin_inset IndexMacro subentry
26677 \begin_layout Plain Layout
26696 \begin_layout Standard
26700 \begin_layout Plain Layout
26710 \begin_inset Note Note
26713 \begin_layout Plain Layout
26714 The following will be displayed when the \SpecialChar LaTeX
26727 \begin_layout Standard
26728 You need to install the package
26732 to see the content of this section in the output.
26735 \begin_layout Standard
26739 \begin_layout Plain Layout
26751 \begin_layout Standard
26752 For more information about dashed lines see the documentation of
26758 \begin_inset CommandInset citation
26768 \begin_layout Chapter
26770 \begin_inset CommandInset label
26777 \begin_inset Index idx
26782 \begin_layout Plain Layout
26791 \begin_layout Section
26793 \begin_inset CommandInset label
26795 name "sec:FloatIntroduction"
26800 \begin_inset Index idx
26805 \begin_layout Plain Layout
26807 \begin_inset IndexMacro subentry
26810 \begin_layout Plain Layout
26824 \begin_layout Standard
26825 A float is a block of text associated with some sort of label,
26826 which doesn't have a fixed location.
26828 \begin_inset Quotes eld
26832 \begin_inset Quotes erd
26835 forward or backward a page or two,
26836 to wherever it fits best.
26844 \begin_inset space ~
26849 are also floats because they can float to the next page when there are too many notes on the page.
26852 \begin_layout Standard
26853 Floats allow a high quality layout.
26854 Images and tables can be spread evenly among the pages to avoid white space and pages without text.
26855 As the floating often destroys the context between the text and the image/table,
26856 every float can be referenced in the text.
26857 Floats are therefore numbered.
26858 Referencing is described in section
26859 \begin_inset space ~
26863 \begin_inset CommandInset ref
26865 reference "sec:Referencing-Floats"
26873 \begin_layout Standard
26877 Insert\SpecialChar menuseparator
26883 arg "float-insert figure"
26889 arg "float-insert table"
26898 a box with a label.
26899 The label will automatically be translated to the document language in the output.
26900 After the label you can insert the caption text.
26901 The image or table is inserted above or below the caption in a separate paragraph within the float.
26902 More about the caption placement is contained in section
26903 \begin_inset space ~
26907 \begin_inset CommandInset ref
26909 reference "sec:Caption-Placement"
26915 To keep your \SpecialChar LyX
26917 you can open and close the float box by left-clicking on the box label.
26918 A closed float box looks like this:
26920 \begin_inset Graphics
26921 filename clipart/float.png
26923 scaleBeforeRotation
26927 – a gray button with a red label.
26930 \begin_layout Standard
26931 It is recommended that you insert floats as separate standard paragraphs to avoid possible \SpecialChar LaTeX
26932 -errors that can occur when the surrounding text is specially formatted.
26935 \begin_layout Standard
26936 Existing figures or tables can be put into a float by highlighting them and then pressing the corresponding toolbar button for a new float.
26939 \begin_layout Section
26943 \begin_layout Standard
26944 Besides figure and table floats that are described in sections
26945 \begin_inset space ~
26949 \begin_inset CommandInset ref
26951 reference "sec:Figure-Floats"
26957 \begin_inset CommandInset ref
26959 reference "sec:Table-Floats"
26966 offers the float types
26975 The latter are explained in sec.
26976 \begin_inset space \thinspace{}
26980 \begin_inset CommandInset ref
26982 reference "sec:Wrap-Floats"
26990 \begin_layout Subsection
26992 \begin_inset Index idx
26997 \begin_layout Plain Layout
26999 \begin_inset IndexMacro subentry
27002 \begin_layout Plain Layout
27016 \begin_layout Standard
27017 \begin_inset Float algorithm
27024 \begin_layout Plain Layout
27025 \begin_inset Caption Standard
27027 \begin_layout Plain Layout
27028 \begin_inset CommandInset label
27030 name "alg:Example-Algorithm-float"
27034 Example Algorithm float
27042 \begin_layout LyX-Code
27044 \begin_inset Newline newline
27049 \begin_inset Newline newline
27053 \begin_inset VSpace -4mm
27064 \begin_layout Standard
27065 This float type is inserted with the menu
27067 Insert\SpecialChar menuseparator
27068 Float\SpecialChar menuseparator
27072 It is used for program codes and descriptions of algorithms and can be seen as an alternative to program code listings that are explained in chapter
27073 \begin_inset space ~
27077 \begin_inset CommandInset ref
27079 reference "cha:Program-Code-Listings"
27085 A possible environment for algorithms is the
27091 described in \SpecialChar LyX
27098 \begin_inset space ~
27102 \begin_inset CommandInset ref
27104 reference "alg:Example-Algorithm-float"
27109 is an example of an algorithm float where -4
27110 \begin_inset space \thinspace{}
27113 mm vertical space was added at the end of the float to have the bottom rule exactly below the last text line.
27116 \begin_layout Standard
27117 The float label is not automatically translated into the document language.
27118 If your document is not in English,
27119 you have to do this manually by adding the following line to the document preamble
27124 \begin_layout Standard
27129 floatname{algorithm}{your
27130 \begin_inset space ~
27136 \begin_layout Standard
27140 \begin_inset space ~
27146 \begin_inset Quotes eld
27154 \begin_inset Quotes erd
27160 \begin_layout Standard
27161 To insert the list of algorithms you can use the menu
27163 Insert\SpecialChar menuseparator
27165 \begin_inset space \thinspace{}
27169 \begin_inset space \thinspace{}
27172 TOC\SpecialChar menuseparator
27175 when your document has the same language as \SpecialChar LyX
27177 In other cases use this command in \SpecialChar TeX
27181 \begin_layout Standard
27186 listof{algorithm}{your
27187 \begin_inset space ~
27193 \begin_layout Standard
27197 \begin_inset space ~
27203 \begin_inset Quotes eld
27211 \begin_inset Quotes erd
27217 \begin_layout Standard
27218 Algorithm floats are not by default numbered in the scheme
27219 \begin_inset Quotes eld
27223 \begin_inset Quotes erd
27226 as is the case for table and figure floats in many document-classes.
27227 To number algorithm floats in the same scheme,
27228 add this command to your document preamble:
27231 \begin_layout Standard
27236 numberwithin{algorithm}{chapter}
27239 \begin_layout Standard
27240 To be able to use the command
27250 \begin_inset space ~
27255 in the document settings the option
27258 \begin_inset space ~
27262 \begin_inset space ~
27266 \begin_inset space ~
27274 \begin_layout Section
27276 \begin_inset Index idx
27281 \begin_layout Plain Layout
27283 \begin_inset IndexMacro subentry
27286 \begin_layout Plain Layout
27300 \begin_layout Standard
27301 Floats are usually numbered either independently from the sections the floats are in,
27303 \begin_inset Quotes eld
27307 \begin_inset Quotes erd
27311 \begin_inset Quotes eld
27315 \begin_inset Quotes erd
27319 This depends on the document class used.
27322 \begin_layout Standard
27323 To change section-independent numbering,
27324 you can use this command in the document preamble:
27327 \begin_layout Standard
27339 \begin_layout Standard
27346 is the command that prints the table number.
27348 the command would be
27361 in the command above prints the table number as a small roman number.
27364 \begin_layout Standard
27365 To change the numbering scheme for example to
27366 \begin_inset Quotes eld
27370 \begin_inset Quotes erd
27374 use this command in the preamble:
27377 \begin_layout Standard
27382 numberwithin{table}{subsection}
27385 \begin_layout Standard
27386 To be able to use the command
27396 \begin_inset space ~
27401 in the document settings the option
27404 \begin_inset space ~
27408 \begin_inset space ~
27412 \begin_inset space ~
27420 \begin_layout Standard
27421 Please also have a look at section
27422 \begin_inset space ~
27426 \begin_inset CommandInset ref
27428 reference "subsec:Footnote-Numbering"
27433 for the details and important notes about the numbering commands.
27436 \begin_layout Section
27438 \begin_inset CommandInset label
27440 name "sec:Referencing-Floats"
27445 \begin_inset Index idx
27450 \begin_layout Plain Layout
27452 \begin_inset IndexMacro subentry
27455 \begin_layout Plain Layout
27467 \begin_inset Index idx
27472 \begin_layout Plain Layout
27474 \begin_inset IndexMacro subentry
27477 \begin_layout Plain Layout
27491 \begin_layout Standard
27492 To reference a float,
27493 insert a label into its caption using the menu
27495 Insert\SpecialChar menuseparator
27498 or the toolbar button
27505 A grey label box like this one:
27507 \begin_inset Graphics
27508 filename clipart/label.png
27509 scaleBeforeRotation
27513 will be inserted and the label window pops up asking for the label text.
27515 offers as text the first words of the caption with a prefix.
27516 The prefix depends on the float type,
27518 \begin_inset space \thinspace{}
27522 \begin_inset space \space{}
27525 for figure floats the prefix will be "
27532 \begin_layout Standard
27533 The label is used as anchor and name for the reference.
27534 You can refer to the label using the menu
27536 Insert\SpecialChar menuseparator
27539 or the toolbar button
27542 arg "dialog-show-new-inset ref"
27546 The cross-reference window appears showing all labels of the document.
27547 If you have multiple \SpecialChar LyX
27549 choose the one you are working on from the drop-list at the top of the dialog.
27550 You can now sort the labels alphabetically and then choose one.
27551 A grey cross-reference box like this one:
27553 \begin_inset Graphics
27554 filename clipart/reference.png
27555 scaleBeforeRotation
27560 At the position of the cross-reference box the float number will appear in the output.
27563 \begin_layout Standard
27564 It is recommended that you use a
27565 \change_deleted 177693 1654669168
27567 \change_inserted 177693 1654669170
27570 space between the cross-reference name and its number to avoid line breaks between them.
27571 If a cross-reference refers to a non-existing label,
27572 you will see two question marks in the output instead of the reference.
27575 \begin_layout Standard
27576 You can change labels at any time by clicking on the label box.
27577 References to the changed label will automatically update their links to the new label text.
27580 \begin_layout Standard
27584 \begin_inset space ~
27588 \begin_inset space ~
27593 in the cross-reference window sets the cursor before the referred label.
27594 The button text changes then to Go
27595 \begin_inset space ~
27598 Back and you can use it to set the cursor back to the cross-reference.
27601 \begin_layout Subsection
27602 Cross-Reference Formats
27603 \begin_inset CommandInset label
27605 name "subsec:Cross-Reference-Formats"
27610 \begin_inset Index idx
27615 \begin_layout Plain Layout
27617 \begin_inset IndexMacro subentry
27620 \begin_layout Plain Layout
27634 \begin_layout Standard
27635 There are six varieties of cross-references:
27638 \begin_layout Description
27640 prints the float number,
27641 this is the default:
27643 \begin_inset CommandInset ref
27645 reference "fig:Two-distorted-images"
27653 \begin_layout Description
27655 prints the float number within two parentheses,
27656 this is the style normally used to reference formulas,
27657 especially when the reference name
27658 \begin_inset Quotes eld
27662 \begin_inset Quotes erd
27667 \begin_inset CommandInset ref
27677 \begin_layout Description
27679 prints the page number:
27681 \begin_inset space ~
27685 \begin_inset CommandInset ref
27686 LatexCommand pageref
27687 reference "fig:Two-distorted-images"
27695 \begin_layout Description
27697 \begin_inset space ~
27701 \begin_inset space ~
27705 prints the text "on page" and the page number:
27707 \begin_inset CommandInset ref
27708 LatexCommand vpageref
27709 reference "fig:Two-distorted-images"
27717 \begin_layout Description
27719 \begin_inset space ~
27723 \begin_inset space ~
27727 \begin_inset space ~
27731 prints the float number,
27732 the text "on page",
27733 and the page number:
27735 \begin_inset CommandInset ref
27737 reference "fig:Two-distorted-images"
27745 \begin_layout Description
27747 \begin_inset space ~
27751 prints a self-defined cross-reference format.
27752 \begin_inset Newline newline
27756 \begin_inset Note Greyedout
27759 \begin_layout Plain Layout
27765 This feature is only available when you have the \SpecialChar LaTeX
27775 \begin_inset Index idx
27780 \begin_layout Plain Layout
27783 \begin_inset IndexMacro subentry
27786 \begin_layout Plain Layout
27798 \begin_inset Index idx
27803 \begin_layout Plain Layout
27806 \begin_inset IndexMacro subentry
27809 \begin_layout Plain Layout
27826 \begin_inset Newline newline
27829 You can select which \SpecialChar LaTeX
27830 -package should be used for this feature by setting the option
27832 Use refstyle (not prettyref) for cross-references
27836 Document\SpecialChar menuseparator
27837 Settings\SpecialChar menuseparator
27841 The format is specified by adding the command
27853 (refstyle) to the preamble of the document.
27854 For example redefining all references to figures (which have the label prefix
27855 \begin_inset Quotes eld
27863 \begin_inset Quotes erd
27866 ) can be done with this command
27867 \begin_inset Newline newline
27874 newref{fig}{refcmd={Image on page
27879 \begin_inset Newline newline
27882 For more information about the format,
27883 have a look at the package documentations,
27885 \begin_inset CommandInset citation
27887 key "prettyref,refstyle"
27893 \begin_inset Newline newline
27904 are only available if you use the \SpecialChar LaTeX
27920 \begin_inset space \thinspace{}
27924 \begin_inset space \space{}
27928 \begin_inset Quotes eld
27932 \begin_inset Quotes erd
27940 outputs the name capitalized,
27942 \begin_inset space \thinspace{}
27946 \begin_inset space \space{}
27950 \begin_inset Quotes eld
27954 \begin_inset Quotes erd
27958 Both options can be combined to get e.
27959 \begin_inset space \thinspace{}
27963 \begin_inset space \space{}
27967 \begin_inset Quotes eld
27971 \begin_inset Quotes erd
27977 \begin_layout Description
27979 \begin_inset space ~
27983 prints the caption of the reference:
27985 \begin_inset CommandInset ref
27986 LatexCommand nameref
27987 reference "fig:Two-distorted-images"
27995 \begin_layout Description
27997 \begin_inset space ~
28001 prints only the \SpecialChar LaTeX
28002 label for the reference:
28004 \begin_inset CommandInset ref
28005 LatexCommand labelonly
28006 reference "fig:Two-distorted-images"
28015 \begin_inset Newline newline
28018 This allows to use the label for commands in \SpecialChar TeX
28024 one can omit the prefix of the label name:
28026 \begin_inset CommandInset ref
28027 LatexCommand labelonly
28028 reference "fig:Two-distorted-images"
28039 \begin_layout Standard
28044 will not print the page number if the label is on the previous,
28048 \begin_inset space \thinspace{}
28052 \begin_inset space \space{}
28056 \begin_inset Quotes eld
28064 \begin_inset Quotes erd
28070 <reference> on page <page>
28072 will not print anything about the page if the label is on the same page.
28075 \begin_layout Standard
28076 The number and current page of the part of the document referred to in the output is automatically calculated by \SpecialChar LaTeX
28078 The varieties are adjusted in the field
28082 of the cross-reference window that appears when you click on the cross-reference box.
28085 \begin_layout Standard
28086 \begin_inset Note Greyedout
28089 \begin_layout Plain Layout
28095 It is recommended to use the \SpecialChar LaTeX
28101 \begin_inset Index idx
28106 \begin_layout Plain Layout
28109 \begin_inset IndexMacro subentry
28112 \begin_layout Plain Layout
28128 \begin_inset Index idx
28133 \begin_layout Plain Layout
28136 \begin_inset IndexMacro subentry
28139 \begin_layout Plain Layout
28150 does not know all of \SpecialChar LyX
28151 's possible label shortcuts
28155 \begin_layout Plain Layout
28156 \begin_inset Quotes eld
28160 \begin_inset Quotes erd
28163 is for example \SpecialChar LyX
28164 's shortcut for labels in figure captions.
28169 and is not internationalized.
28177 \begin_layout Subsection
28178 Automatic Reference Naming
28179 \begin_inset Index idx
28184 \begin_layout Plain Layout
28186 \begin_inset IndexMacro subentry
28189 \begin_layout Plain Layout
28190 Automatic Reference Naming
28203 \begin_layout Standard
28204 The \SpecialChar LaTeX
28210 \begin_inset Index idx
28215 \begin_layout Plain Layout
28218 \begin_inset IndexMacro subentry
28221 \begin_layout Plain Layout
28233 that is enabled in the
28242 provides a very useful feature that cross-references automatically include the name of the referenced floats (or text parts like
28247 So you will save having to write e.
28248 \begin_inset space \thinspace{}
28252 \begin_inset space \space{}
28256 \begin_inset Quotes eld
28260 \begin_inset Quotes erd
28263 before every reference to a figure.
28264 To use this feature,
28269 and insert this line to the \SpecialChar LaTeX
28273 \begin_layout Standard
28289 \begin_layout Standard
28290 When you prefer other reference names than the default ones,
28291 for example you want instead of
28292 \begin_inset Quotes eld
28296 \begin_inset Quotes erd
28300 \begin_inset Quotes eld
28304 \begin_inset space \thinspace{}
28308 \begin_inset Quotes eld
28312 you can redefine the name by inserting this in the preamble:
28315 \begin_layout Standard
28326 sectionautorefname}
28327 \begin_inset Newline newline
28331 \begin_inset Phantom HPhantom
28334 \begin_layout Plain Layout
28337 \begin_inset space ~
28350 \begin_layout Standard
28351 When you are using another document language than English,
28353 \begin_inset Newline newline
28369 where *** is the name of the language used.
28372 \begin_layout Standard
28373 To get automatic names,
28374 but not for certain reference types,
28375 for example not for equations,
28376 use this preamble code:
28379 \begin_layout Standard
28390 equationautorefname}[1]{}}
28393 \begin_layout Standard
28394 More about this topic can be found in
28399 \begin_inset CommandInset citation
28409 \begin_layout Standard
28410 \begin_inset Note Greyedout
28413 \begin_layout Plain Layout
28419 Automatic reference naming cannot be used when you use cross-references in the
28422 \begin_inset space ~
28428 as described in section
28429 \begin_inset space ~
28433 \begin_inset CommandInset ref
28435 reference "subsec:Cross-Reference-Formats"
28448 \begin_layout Standard
28453 manual is an example where automatic reference naming is used.
28456 \begin_layout Subsection
28458 \begin_inset CommandInset label
28460 name "subsec:Reference-Position"
28465 \begin_inset Index idx
28470 \begin_layout Plain Layout
28472 \begin_inset IndexMacro subentry
28475 \begin_layout Plain Layout
28489 \begin_layout Standard
28495 \begin_inset Index idx
28500 \begin_layout Plain Layout
28503 \begin_inset IndexMacro subentry
28506 \begin_layout Plain Layout
28525 dialog to link cross-references in the output,
28526 you will see that clicking on an image float reference jumps to the image label.
28527 The caption will be the first text part on the screen,
28528 so that you cannot see the image without scrolling.
28529 This is because the reference link anchor is placed at the position of the label.
28530 With the use of the package
28535 \begin_inset Index idx
28540 \begin_layout Plain Layout
28543 \begin_inset IndexMacro subentry
28546 \begin_layout Plain Layout
28558 which is part of the \SpecialChar LaTeX
28564 \begin_inset Index idx
28569 \begin_layout Plain Layout
28572 \begin_inset IndexMacro subentry
28575 \begin_layout Plain Layout
28587 the link anchor is placed at the beginning of a float.
28588 To use this feature for figure floats,
28593 in the document preamble with the line
28596 \begin_layout Standard
28601 usepackage[figure]{hypcap}
28604 \begin_layout Standard
28609 for all float types but this is not recommended for stability reasons.
28610 For more information,
28616 \begin_inset CommandInset citation
28626 \begin_layout Standard
28627 \begin_inset Note Greyedout
28630 \begin_layout Plain Layout
28640 has no effect on references to subfigures.
28648 \begin_layout Section
28650 \change_deleted -712698321 1526031763
28652 \change_inserted -712698321 1526031765
28656 \begin_inset CommandInset label
28658 name "sec:Float-Settings"
28663 \begin_inset Index idx
28668 \begin_layout Plain Layout
28670 \begin_inset IndexMacro subentry
28673 \begin_layout Plain Layout
28675 \change_deleted -712698321 1526031841
28677 \change_inserted -712698321 1526031842
28693 \begin_layout Standard
28695 \change_inserted -712698321 1526033385
28696 Float Settings can be adjusted at two places in \SpecialChar LyX
28699 \change_inserted 630872221 1622709604
28701 \change_deleted 630872221 1622709603
28703 \change_inserted -712698321 1526033385
28706 Document\SpecialChar menuseparator
28707 Settings\SpecialChar ldots
28708 \SpecialChar menuseparator
28712 you can set some options that are used by default for all floats of the document (placement on page and alignment of contents),
28713 unless you modify the local settings of a float.
28718 \begin_layout Standard
28720 \change_inserted -712698321 1526032513
28721 The latter can be done by
28722 \change_deleted -712698321 1526032513
28724 \change_inserted -712698321 1526032513
28727 ight-clicking on a float-box and clicking on
28730 \change_inserted -712698321 1526033387
28737 \change_inserted -712698321 1526032520
28740 opens a dialog where you can
28741 \change_inserted -712698321 1526032584
28743 now only for the given float,
28747 \change_inserted -712698321 1526033452
28751 \change_deleted -712698321 1526033439
28752 options that \SpecialChar LaTeX
28753 uses for positioning the float
28754 \change_inserted -712698321 1526033493
28755 and alignment options,
28756 and adapt some other options that are only available for single floats
28760 \change_inserted -712698321 1526032658
28764 Document\SpecialChar menuseparator
28765 Settings\SpecialChar menuseparator
28773 are described in turn.
28774 \change_deleted -712698321 1526031652
28776 \begin_inset Newline newline
28782 \begin_inset space ~
28787 is only useful for two-column documents:
28789 the float will span both columns on the page instead of being confined to just one.
28790 \begin_inset Newline newline
28796 \begin_inset space ~
28801 is used to rotate floats,
28803 \begin_inset CommandInset ref
28805 reference "sec:Rotated-Floats"
28815 \begin_layout Subsection
28817 \change_inserted -712698321 1526031775
28819 \begin_inset CommandInset label
28821 name "sec:Float-Placement"
28826 \begin_inset Index idx
28831 \begin_layout Plain Layout
28833 \change_inserted -712698321 1526031775
28837 \begin_inset IndexMacro subentry
28840 \begin_layout Plain Layout
28842 \change_inserted -712698321 1526031775
28860 \begin_layout Standard
28862 \change_inserted -712698321 1526032697
28865 Document\SpecialChar menuseparator
28866 Settings\SpecialChar menuseparator
28875 \change_deleted -712698321 1526032811
28876 You can use one or more of the following options in the float dialog to set
28877 \change_inserted -712698321 1526032812
28881 \change_inserted -712698321 1526033558
28882 algorithm that \SpecialChar LaTeX
28883 uses for positioning floats on the page,
28887 \change_inserted -712698321 1526033535
28890 Document\SpecialChar menuseparator
28891 Settings\SpecialChar menuseparator
28897 \change_inserted -712698321 1526033570
28912 \change_inserted -712698321 1526033604
28919 Document\SpecialChar menuseparator
28920 Settings\SpecialChar menuseparator
28923 (meaning that the default placement algorithm of the document class is used) or
28931 dialog (meaning that the settings in
28933 Document\SpecialChar menuseparator
28934 Settings\SpecialChar menuseparator
28938 which are the Class Defaults by default).
28939 If you want to change this,
28941 \change_deleted -712698321 1526033009
28943 \change_inserted -712698321 1526033535
28947 \change_deleted -712698321 1526031920
28949 \change_inserted -712698321 1526033535
28952 Placement Settings:
28958 \change_inserted -712698321 1526033535
28962 \change_deleted -712698321 1526031908
28964 \begin_inset space ~
28968 \begin_inset space ~
28972 \change_inserted -712698321 1526033535
28975 This allows you to select one or more from
28980 \begin_layout Description
28982 \begin_inset space ~
28986 \begin_inset space ~
28989 possible try to place the float on the position where it has been inserted
28990 \change_inserted 630872221 1622713522
28994 \begin_layout Description
28996 \change_inserted 630872221 1622713704
28998 \begin_inset space ~
29001 definitely forces the placement of the float on the position where it has been inserted
29006 \begin_layout Description
29008 \begin_inset space ~
29012 \begin_inset space ~
29015 page try to place the float at the top of the current page
29018 \begin_layout Description
29020 \begin_inset space ~
29024 \begin_inset space ~
29027 page try to place the float at the bottom of the current page
29030 \begin_layout Description
29032 \begin_inset space ~
29036 \begin_inset space ~
29039 floats try to place the float on its own page
29042 \begin_layout Standard
29043 The order of the above option is
29047 used by \SpecialChar LaTeX
29050 if you use the default placement,
29055 \begin_inset space ~
29059 \begin_inset space ~
29068 \begin_inset space ~
29072 \begin_inset space ~
29078 and then the others.
29079 If you do not use the default,
29081 will try only the checked options but in the same order.
29083 \begin_inset space ~
29086 placements is possible the procedure is internally repeated trying to put the float on the following page.
29089 \begin_layout Standard
29091 each option has its own rules:
29094 \begin_layout Labeling
29095 \labelwidthstring 00.00.0000
29099 \begin_inset space ~
29103 \begin_inset space ~
29108 only floats occupying less than 70
29109 \begin_inset space \thinspace{}
29112 % of the page can be placed at the top of a page (
29121 \begin_layout Labeling
29122 \labelwidthstring 00.00.0000
29126 \begin_inset space ~
29130 \begin_inset space ~
29136 only floats occupying less than 30
29137 \begin_inset space \thinspace{}
29140 % of the page can be placed at the bottom of a page.
29150 \begin_layout Labeling
29151 \labelwidthstring 00.00.0000
29155 \begin_inset space ~
29159 \begin_inset space ~
29165 only if more than 50
29166 \begin_inset space \thinspace{}
29169 % of the page is occupied by floats,
29170 several floats can be set together on a page.
29180 \begin_layout Standard
29181 If you don't like these rules,
29182 you can ignore them by using the additional option
29185 \begin_inset space ~
29190 \begin_inset space ~
29196 \begin_inset Newline newline
29199 You can also redefine the rules with \SpecialChar LaTeX
29200 -commands that are given in parentheses after the rules description above.
29201 To increase for example the often too small default of the bottom-rule to 50
29202 \begin_inset space \thinspace{}
29206 add this line to your document preamble:
29209 \begin_layout Standard
29216 bottomfraction}{0.5}
29219 \begin_layout Standard
29220 Sometimes you might need,
29221 under all circumstances,
29222 a float to be placed exactly at the position where it is inserted.
29223 For this case you can use the option
29226 \begin_inset space ~
29232 Use this option very rarely and only if the document is almost ready to be printed,
29233 because the float is then no longer able to
29234 \begin_inset Quotes eld
29238 \begin_inset Quotes erd
29241 when you change your document and this will often destroy the page layout.
29244 \begin_layout Standard
29245 There are no placement options for text wrap floats,
29246 because they are always surrounded by the text of a certain paragraph.
29247 \begin_inset VSpace bigskip
29253 \begin_layout Standard
29254 Sometimes you have the problem that a float is placed at the top of a page while its corresponding section starts at the middle of the page,
29255 so that the reader could think the float is part of the previous section.
29256 To avoid this the \SpecialChar LaTeX
29264 It suppresses a given float placement for the page where it is inserted and can therefore be used to avoid floats being set before a section starts.
29266 add these commands to your document preamble:
29269 \begin_layout Standard
29279 \begin_inset Newline newline
29293 \begin_layout Standard
29294 You can define the same for all section headings,
29295 like chapters and subsections.
29296 This definition is not recommended to be used for small text parts like subsubsections because \SpecialChar LaTeX
29297 may then have problems finding a suitable placement.
29300 \begin_layout Standard
29301 \begin_inset VSpace bigskip
29304 In some cases it is required to have all figures/tables at the end of the document.
29305 For this purpose the \SpecialChar LaTeX
29311 \begin_inset Index idx
29316 \begin_layout Plain Layout
29319 \begin_inset IndexMacro subentry
29322 \begin_layout Plain Layout
29334 It puts all figure and table floats at the end of the document into their own sections.
29335 At the original float position a text hint like
29336 \begin_inset Quotes eld
29342 \begin_inset space ~
29348 \begin_inset Quotes erd
29352 The endfloat-package is loaded in the preamble with the line
29355 \begin_layout Standard
29360 usepackage[options]{endfloat}
29363 \begin_layout Standard
29364 There are various package options to format the created figure/table sections.
29365 For more information we refer you to the
29370 \begin_inset CommandInset citation
29378 \begin_inset Newline newline
29382 \begin_inset Note Greyedout
29385 \begin_layout Plain Layout
29391 doesn't provide an automatic translation for the text hint,
29392 you have to do this manually,
29394 \begin_inset space ~
29398 \begin_inset CommandInset citation
29411 \begin_inset Newline newline
29415 \begin_inset Note Greyedout
29418 \begin_layout Plain Layout
29424 There is currently a bug in
29428 when the caption contains a German
29429 \begin_inset Quotes eld
29433 \begin_inset Quotes erd
29437 Use in this case the command
29438 \begin_inset Quotes eld
29448 \begin_inset Quotes erd
29451 in \SpecialChar TeX
29453 \begin_inset Quotes eld
29457 \begin_inset Quotes erd
29468 \begin_layout Standard
29469 \begin_inset VSpace bigskip
29472 For more details about float placements,
29473 have a look at \SpecialChar LaTeX
29476 \begin_inset CommandInset citation
29478 key "latexcompanion,latexguide,latexbook"
29484 \change_inserted -712698321 1526030561
29488 \begin_layout Subsection
29490 \change_inserted -712698321 1526031989
29491 Alignment of Float Contents
29494 \begin_layout Standard
29496 \change_inserted -712698321 1526032316
29497 In this list of options,
29498 you can define how the contents of a float (or all floats by default,
29501 Document\SpecialChar menuseparator
29509 means that the alignment of the class,
29510 or the default alignment of \SpecialChar LaTeX
29517 (only visible in the
29524 Document\SpecialChar menuseparator
29527 ) takes the setting specified in
29529 Document\SpecialChar menuseparator
29530 Settings\SpecialChar menuseparator
29534 The other three options,
29550 are self-explanatory.
29551 If one of these is selected in
29553 Document\SpecialChar menuseparator
29554 Settings\SpecialChar menuseparator
29558 all floats of the document will have this setting by default (so it is fairly easy,
29560 to center all floats).
29565 \begin_layout Subsection
29567 \change_inserted -712698321 1526030571
29568 Other Float Options
29571 \begin_layout Standard
29573 \change_inserted -712698321 1526035716
29574 These two options are only visible in the local
29581 Document\SpecialChar menuseparator
29587 \begin_layout Standard
29589 \change_inserted -712698321 1526033931
29593 \begin_inset space ~
29598 is useful for two-column documents:
29600 the float will span both columns on the page instead of being confined to just one.
29603 \begin_layout Standard
29605 \change_inserted -712698321 1526030572
29609 \begin_inset space ~
29614 is used to rotate floats,
29616 \begin_inset CommandInset ref
29618 reference "sec:Rotated-Floats"
29628 \begin_layout Section
29630 \begin_inset CommandInset label
29632 name "sec:Rotated-Floats"
29637 \begin_inset Index idx
29642 \begin_layout Plain Layout
29644 \begin_inset IndexMacro subentry
29647 \begin_layout Plain Layout
29661 \begin_layout Standard
29662 Especially for wide tables you might have floats rotated.
29663 To rotate a whole float including the caption,
29664 right-click on the float-box and use the option
29667 \begin_inset space ~
29675 \begin_layout Standard
29676 Rotated floats are always placed on a page of their own (or column of their own;
29677 in case you have a multi-column document).
29678 You can let them span several columns using the float settings option
29681 \begin_inset space ~
29687 Floats are rotated so that you can read them from the outside margin.
29688 To force a certain rotation direction for all pages,
29689 you can add either the option
29697 to the document class options.
29700 \begin_layout Standard
29701 Referencing rotated floats is the same as for normal floats,
29702 the caption format is also the same:
29704 \begin_inset space ~
29708 \begin_inset CommandInset ref
29710 reference "tab:Rotated-table"
29715 is an example of a rotated table float.
29718 \begin_layout Standard
29719 \begin_inset Note Greyedout
29722 \begin_layout Plain Layout
29728 Not all DVI-viewers are able to display rotated floats.
29736 \begin_layout Standard
29737 \begin_inset Float table
29744 \begin_layout Plain Layout
29745 \begin_inset Caption Standard
29747 \begin_layout Plain Layout
29748 \begin_inset CommandInset label
29750 name "tab:Rotated-table"
29762 \begin_layout Plain Layout
29764 \begin_inset Tabular
29765 <lyxtabular version="3" rows="1" columns="5">
29766 <features tabularvalignment="middle">
29767 <column alignment="center" valignment="top">
29768 <column alignment="center" valignment="top">
29769 <column alignment="center" valignment="top">
29770 <column alignment="center" valignment="top">
29771 <column alignment="center" valignment="top">
29773 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29776 \begin_layout Plain Layout
29782 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29785 \begin_layout Plain Layout
29791 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29794 \begin_layout Plain Layout
29800 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29803 \begin_layout Plain Layout
29809 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29812 \begin_layout Plain Layout
29831 \begin_layout Section
29833 \begin_inset Index idx
29838 \begin_layout Plain Layout
29840 \begin_inset IndexMacro subentry
29843 \begin_layout Plain Layout
29857 \begin_layout Standard
29858 Subfloats are for example used when a figure consists of several images.
29859 They are created by inserting a float into an existing float.
29860 The placement of the subfloats can be controlled in the same way as for paragraphs as shown in table
29861 \begin_inset space ~
29865 \begin_inset CommandInset ref
29867 reference "tab:Two-subtables-side"
29873 \begin_inset CommandInset ref
29875 reference "tab:Two-subtables-upon"
29883 \begin_layout Standard
29884 Referencing subfloats works as for normal floats:
29886 \begin_inset space ~
29890 \begin_inset CommandInset ref
29892 reference "tab:This-is-subtable-a"
29898 \begin_inset CommandInset ref
29900 reference "tab:This-is-subtable-b"
29905 are subtables of table
29906 \begin_inset space ~
29910 \begin_inset CommandInset ref
29912 reference "tab:Two-subtables-side"
29920 \begin_layout Standard
29921 \begin_inset Float table
29928 \begin_layout Plain Layout
29929 \begin_inset Caption Standard
29931 \begin_layout Plain Layout
29932 \begin_inset CommandInset label
29934 name "tab:Two-subtables-side"
29938 Two subtables placed side by side.
29946 \begin_layout Plain Layout
29948 \begin_inset space \hfill{}
29952 \begin_inset Float table
29959 \begin_layout Plain Layout
29960 \begin_inset Caption Standard
29962 \begin_layout Plain Layout
29963 \begin_inset CommandInset label
29965 name "tab:This-is-subtable-a"
29969 This is subtable a.
29977 \begin_layout Plain Layout
29979 \begin_inset Tabular
29980 <lyxtabular version="3" rows="1" columns="5">
29981 <features tabularvalignment="middle">
29982 <column alignment="center" valignment="top">
29983 <column alignment="center" valignment="top">
29984 <column alignment="center" valignment="top">
29985 <column alignment="center" valignment="top">
29986 <column alignment="center" valignment="top">
29988 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29991 \begin_layout Plain Layout
29997 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30000 \begin_layout Plain Layout
30006 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30009 \begin_layout Plain Layout
30015 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30018 \begin_layout Plain Layout
30024 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30027 \begin_layout Plain Layout
30044 \begin_inset space \hfill{}
30048 \begin_inset Float table
30055 \begin_layout Plain Layout
30056 \begin_inset Caption Standard
30058 \begin_layout Plain Layout
30059 \begin_inset CommandInset label
30061 name "tab:This-is-subtable-b"
30065 This is subtable b.
30073 \begin_layout Plain Layout
30075 \begin_inset Tabular
30076 <lyxtabular version="3" rows="1" columns="5">
30077 <features tabularvalignment="middle">
30078 <column alignment="center" valignment="top">
30079 <column alignment="center" valignment="top">
30080 <column alignment="center" valignment="top">
30081 <column alignment="center" valignment="top">
30082 <column alignment="center" valignment="top">
30084 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30087 \begin_layout Plain Layout
30093 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30096 \begin_layout Plain Layout
30102 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30105 \begin_layout Plain Layout
30111 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30114 \begin_layout Plain Layout
30120 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30123 \begin_layout Plain Layout
30140 \begin_inset space \hfill{}
30151 \begin_layout Standard
30152 \begin_inset Float table
30159 \begin_layout Plain Layout
30160 \begin_inset Caption Standard
30162 \begin_layout Plain Layout
30163 \begin_inset CommandInset label
30165 name "tab:Two-subtables-upon"
30169 Two subtables placed one above the other.
30170 (a) table with 4 cells,
30171 (b) table with 5 cells.
30179 \begin_layout Plain Layout
30181 \begin_inset Float table
30188 \begin_layout Plain Layout
30189 \begin_inset Caption Standard
30191 \begin_layout Plain Layout
30200 \begin_layout Plain Layout
30202 \begin_inset Tabular
30203 <lyxtabular version="3" rows="1" columns="4">
30204 <features tabularvalignment="middle">
30205 <column alignment="center" valignment="top">
30206 <column alignment="center" valignment="top">
30207 <column alignment="center" valignment="top">
30208 <column alignment="center" valignment="top">
30210 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30213 \begin_layout Plain Layout
30219 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30222 \begin_layout Plain Layout
30228 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30231 \begin_layout Plain Layout
30237 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30240 \begin_layout Plain Layout
30259 \begin_layout Plain Layout
30261 \begin_inset Float table
30268 \begin_layout Plain Layout
30269 \begin_inset Caption Standard
30271 \begin_layout Plain Layout
30280 \begin_layout Plain Layout
30282 \begin_inset Tabular
30283 <lyxtabular version="3" rows="1" columns="5">
30284 <features tabularvalignment="middle">
30285 <column alignment="center" valignment="top">
30286 <column alignment="center" valignment="top">
30287 <column alignment="center" valignment="top">
30288 <column alignment="center" valignment="top">
30289 <column alignment="center" valignment="top">
30291 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30294 \begin_layout Plain Layout
30300 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30303 \begin_layout Plain Layout
30309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30312 \begin_layout Plain Layout
30318 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30321 \begin_layout Plain Layout
30327 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30330 \begin_layout Plain Layout
30354 \begin_layout Section
30355 Floats Side by Side
30356 \begin_inset Index idx
30361 \begin_layout Plain Layout
30363 \begin_inset IndexMacro subentry
30366 \begin_layout Plain Layout
30380 \begin_layout Standard
30381 To place floats side by side,
30383 \begin_inset space ~
30387 \begin_inset CommandInset ref
30389 reference "fig:Float-left"
30395 \begin_inset CommandInset ref
30397 reference "fig:Float-right"
30408 In it two minipage boxes are inserted.
30412 \begin_layout Plain Layout
30413 Minipages are explained in section
30414 \begin_inset space ~
30418 \begin_inset CommandInset ref
30420 reference "sec:Minipages"
30430 The width is set to 45
30431 \begin_inset space \thinspace{}
30435 \begin_inset space \thinspace{}
30438 column% and the box alignment to
30443 The minipage boxes contain the image and the caption in the same way as they are in a float.
30444 The only difference is that the image unit
30447 \begin_inset space ~
30451 \begin_inset space ~
30456 is now calculated according to the width of the minipage boxes.
30459 \begin_layout Standard
30460 \begin_inset Float figure
30467 \begin_layout Plain Layout
30468 \begin_inset Box Frameless
30478 height_special "totalheight"
30483 backgroundcolor "none"
30486 \begin_layout Plain Layout
30488 \begin_inset Graphics
30489 filename clipart/2D-intensity-plot.pdf
30491 scaleBeforeRotation
30498 \begin_layout Plain Layout
30499 \begin_inset Caption Standard
30501 \begin_layout Plain Layout
30502 \begin_inset CommandInset label
30504 name "fig:Float-left"
30508 Float on the left side.
30519 \begin_inset space \hfill{}
30523 \begin_inset Box Frameless
30533 height_special "totalheight"
30538 backgroundcolor "none"
30541 \begin_layout Plain Layout
30543 \begin_inset Graphics
30544 filename clipart/Star-structure.pdf
30546 scaleBeforeRotation
30553 \begin_layout Plain Layout
30554 \begin_inset Caption Standard
30556 \begin_layout Plain Layout
30557 \begin_inset CommandInset label
30559 name "fig:Float-right"
30563 Float on the right side.
30581 \begin_layout Standard
30582 An alternative and simpler solution is to use the module
30584 Variable-width Minipages
30588 \begin_inset space \thinspace{}
30592 \begin_inset CommandInset ref
30594 reference "sec:Minipages"
30600 Variable-width minipages adapt automatically to the width of the figures and tables.
30601 They do not require an explicit width to be given,
30602 and they improve the horizontal alignment of the figures.
30603 The LyX example file
30605 varwidth-floats-side-by-side
30607 gives examples of how to do this.
30610 \begin_layout Section
30612 \begin_inset Index idx
30617 \begin_layout Plain Layout
30619 \begin_inset IndexMacro subentry
30622 \begin_layout Plain Layout
30634 \begin_inset Index idx
30639 \begin_layout Plain Layout
30641 \begin_inset IndexMacro subentry
30644 \begin_layout Plain Layout
30656 \begin_inset CommandInset label
30658 name "sec:Caption-Formatting"
30665 \begin_layout Standard
30670 environment is the default paragraph environment for
30675 On the \SpecialChar LyX
30676 screen captions appear as a label,
30678 \begin_inset space \thinspace{}
30682 \begin_inset space \space{}
30686 \begin_inset Quotes eld
30694 \begin_inset Quotes erd
30697 followed by the caption text.
30699 \begin_inset Quotes eld
30703 \begin_inset Quotes erd
30706 is the actual reference number.
30707 By default the label and the number are in the same font as the caption text and a colon follows the number to divide the label from the text.
30708 This caption format is suitable for many but not all documents.
30712 \begin_layout Standard
30713 To change the default caption format,
30714 load the \SpecialChar LaTeX
30720 \begin_inset Index idx
30725 \begin_layout Plain Layout
30728 \begin_inset IndexMacro subentry
30731 \begin_layout Plain Layout
30742 in the document preamble with this line:
30745 \begin_layout Standard
30750 usepackage[format definition]{caption}
30753 \begin_layout Standard
30754 To have for example the label and the number in sans-serif,
30755 bold font and the table captions always above the table as in this document,
30756 use the following command:
30759 \begin_layout Standard
30764 usepackage[labelfont={bf,sf},
30765 tableposition=top]{caption}
30768 \begin_layout Standard
30769 You can also define different caption formats for the different float types.
30770 In this case load the
30774 package without format specific options and define the different formats with the help of the command
30777 \begin_layout Standard
30782 captionsetup[float type]{format definition}
30785 \begin_layout Standard
30786 in the document preamble.
30787 For example the caption formats of Figure
30788 \begin_inset space ~
30792 \begin_inset CommandInset ref
30794 reference "fig:This-is-an-fig"
30800 \begin_inset space ~
30804 \begin_inset CommandInset ref
30806 reference "tab:This-is-an-tab"
30811 can be created using these commands in the document preamble:
30814 \begin_layout Standard
30819 usepackage[tableposition=top]{caption}
30822 \begin_inset Newline newline
30829 captionsetup[figure]{labelfont={tt},
30832 \begin_inset Newline newline
30836 \begin_inset Phantom HPhantom
30839 \begin_layout Plain Layout
30844 captionsetup[figure]{
30850 \begin_inset Newline newline
30855 captionsetup[table]{labelfont={bf,sf}}
30858 \begin_layout Standard
30859 \begin_inset Note Greyedout
30862 \begin_layout Plain Layout
30872 has no effect when a
30877 \begin_inset Index idx
30882 \begin_layout Plain Layout
30885 \begin_inset IndexMacro subentry
30888 \begin_layout Plain Layout
30899 document class is used.
30900 In this case the document class option
30902 captions=tableheading
30912 \begin_layout Standard
30913 For more information about the package
30917 we refer to its documentation
30918 \begin_inset CommandInset citation
30928 \begin_layout Standard
30929 To change the label name from e.
30930 \begin_inset space \thinspace{}
30934 \begin_inset space \space{}
30938 \begin_inset Quotes eld
30942 \begin_inset Quotes erd
30946 \begin_inset Quotes eld
30950 \begin_inset Quotes erd
30953 use this preamble command:
30956 \begin_layout Standard
30963 fnum@figure}{Image~
30968 \begin_layout Standard
30975 inserts the figure number and
30978 \begin_inset Quotes eld
30984 \begin_inset Quotes erd
30988 \change_deleted 177693 1654669177
30990 \change_inserted 177693 1654669179
30996 \begin_layout Standard
30997 \begin_inset VSpace bigskip
31005 \begin_inset Index idx
31010 \begin_layout Plain Layout
31013 \begin_inset IndexMacro subentry
31016 \begin_layout Plain Layout
31029 article (KOMA-Script)
31039 letter (KOMA-Script)
31044 report (KOMA-Script)
31047 \begin_inset space \thinspace{}
31051 you can alternatively to the
31059 's built-in command
31067 to have the caption label in bold,
31068 add this command to your document preamble:
31071 \begin_layout Standard
31076 setkomafont{captionlabel}{
31081 \begin_layout Standard
31082 For more information about
31093 \begin_inset CommandInset citation
31103 \begin_layout Standard
31107 \begin_layout Plain Layout
31111 captionsetup[figure]{labelfont={tt},
31120 \begin_inset Note Note
31123 \begin_layout Plain Layout
31124 The caption format is changed only for this example.
31132 \begin_layout Standard
31133 \begin_inset Float figure
31140 \begin_layout Plain Layout
31142 \begin_inset Graphics
31143 filename clipart/2D-intensity-plot.pdf
31144 scaleBeforeRotation
31151 \begin_layout Plain Layout
31152 \begin_inset Caption Standard
31154 \begin_layout Plain Layout
31155 \begin_inset CommandInset label
31157 name "fig:This-is-an-fig"
31161 This is an example figure caption that is longer than one line to show the different caption format.
31162 Here a self-defined caption format is used.
31175 \begin_layout Standard
31179 \begin_layout Plain Layout
31183 captionsetup[figure]{labelfont={bf,sf},
31194 \begin_layout Standard
31195 \begin_inset Float table
31202 \begin_layout Plain Layout
31203 \begin_inset Caption Standard
31205 \begin_layout Plain Layout
31206 \begin_inset CommandInset label
31208 name "tab:This-is-an-tab"
31212 This is an example table caption that is longer than one line to show the different caption format.
31213 Here the standard caption format for tables in this document is used.
31221 \begin_layout Plain Layout
31223 \begin_inset Tabular
31224 <lyxtabular version="3" rows="1" columns="5">
31225 <features tabularvalignment="middle">
31226 <column alignment="center" valignment="top">
31227 <column alignment="center" valignment="top">
31228 <column alignment="center" valignment="top">
31229 <column alignment="center" valignment="top">
31230 <column alignment="center" valignment="top">
31232 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31235 \begin_layout Plain Layout
31241 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31244 \begin_layout Plain Layout
31250 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31253 \begin_layout Plain Layout
31259 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31262 \begin_layout Plain Layout
31268 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31271 \begin_layout Plain Layout
31290 \begin_layout Section
31292 \begin_inset Index idx
31297 \begin_layout Plain Layout
31299 \begin_inset IndexMacro subentry
31302 \begin_layout Plain Layout
31314 \begin_inset Index idx
31319 \begin_layout Plain Layout
31321 \begin_inset IndexMacro subentry
31324 \begin_layout Plain Layout
31336 \begin_inset CommandInset label
31338 name "sec:Caption-Placement"
31345 \begin_layout Standard
31346 The common caption placement rule is:
31349 \begin_layout Description
31351 Caption is set below the figure
31354 \begin_layout Description
31356 Caption is set above the table
31359 \begin_layout Standard
31360 Having the caption above the table is unfortunately not supported in \SpecialChar LaTeX
31361 's standard classes.
31362 That means if you are using the document classes
31381 there will be no space between the caption and the table.
31382 To insert the necessary space,
31383 load the \SpecialChar LaTeX
31389 \begin_inset Index idx
31394 \begin_layout Plain Layout
31397 \begin_inset IndexMacro subentry
31400 \begin_layout Plain Layout
31411 in your document preamble with the option
31415 \begin_layout Plain Layout
31417 \begin_inset space ~
31421 \begin_inset CommandInset ref
31423 reference "sec:Caption-Formatting"
31428 for more information of the package
31440 \begin_layout Standard
31446 \begin_layout Standard
31452 \begin_inset Index idx
31457 \begin_layout Plain Layout
31460 \begin_inset IndexMacro subentry
31463 \begin_layout Plain Layout
31476 article (KOMA-Script)
31486 letter (KOMA-Script)
31491 report (KOMA-Script)
31494 \begin_inset space \thinspace{}
31498 you can alternatively to the
31502 package set the document class option
31506 \begin_layout Plain Layout
31507 That option is used in this document.
31515 \begin_layout Standard
31518 captions=tableheading
31521 \begin_layout Standard
31522 In documents with a KOMA-Script document class you can also right-click on a caption and mark in the context menu if this should be a caption above or below the table/figure.
31523 This way you can override the document-wide caption placement for certain captions.
31525 \begin_inset space ~
31529 \begin_inset CommandInset ref
31531 reference "tab:A-caption-marked"
31536 is an example where the caption is marked a being below the table while it is above.
31537 For comparison the caption in Table
31538 \begin_inset space ~
31542 \begin_inset CommandInset ref
31544 reference "tab:A-standard-table"
31552 \begin_layout Standard
31553 \begin_inset Float table
31560 \begin_layout Plain Layout
31561 \begin_inset Caption Below
31563 \begin_layout Plain Layout
31564 \begin_inset CommandInset label
31566 name "tab:A-caption-marked"
31570 A caption marked as being below the table.
31578 \begin_layout Plain Layout
31580 \begin_inset Tabular
31581 <lyxtabular version="3" rows="3" columns="3">
31582 <features tabularvalignment="middle">
31583 <column alignment="center" valignment="top" width="0pt">
31584 <column alignment="center" valignment="top" width="0pt">
31585 <column alignment="center" valignment="top" width="0pt">
31587 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31590 \begin_layout Plain Layout
31596 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31599 \begin_layout Plain Layout
31605 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31608 \begin_layout Plain Layout
31616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31619 \begin_layout Plain Layout
31625 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31628 \begin_layout Plain Layout
31634 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31637 \begin_layout Plain Layout
31645 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31648 \begin_layout Plain Layout
31649 \begin_inset Formula $\int x^{2}dx$
31657 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31660 \begin_layout Plain Layout
31661 \begin_inset Formula $\left[\begin{array}{cc}
31664 \end{array}\right]$
31672 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31675 \begin_layout Plain Layout
31676 \begin_inset Formula $1+1=2$
31697 \begin_layout Standard
31698 \begin_inset Float table
31705 \begin_layout Plain Layout
31706 \begin_inset Caption Standard
31708 \begin_layout Plain Layout
31709 \begin_inset CommandInset label
31711 name "tab:A-standard-table"
31715 A standard table caption.
31723 \begin_layout Plain Layout
31725 \begin_inset Tabular
31726 <lyxtabular version="3" rows="3" columns="3">
31727 <features tabularvalignment="middle">
31728 <column alignment="center" valignment="top" width="0pt">
31729 <column alignment="center" valignment="top" width="0pt">
31730 <column alignment="center" valignment="top" width="0pt">
31732 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31735 \begin_layout Plain Layout
31741 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31744 \begin_layout Plain Layout
31750 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31753 \begin_layout Plain Layout
31761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31764 \begin_layout Plain Layout
31770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31773 \begin_layout Plain Layout
31779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31782 \begin_layout Plain Layout
31790 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31793 \begin_layout Plain Layout
31794 \begin_inset Formula $\int x^{2}dx$
31802 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31805 \begin_layout Plain Layout
31806 \begin_inset Formula $\left[\begin{array}{cc}
31809 \end{array}\right]$
31817 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31820 \begin_layout Plain Layout
31821 \begin_inset Formula $1+1=2$
31842 \begin_layout Standard
31843 \begin_inset VSpace bigskip
31846 It is also possible to set the caption beside a figure or table.
31847 To get this the \SpecialChar LaTeX
31853 \begin_inset Index idx
31858 \begin_layout Plain Layout
31861 \begin_inset IndexMacro subentry
31864 \begin_layout Plain Layout
31875 has to be loaded in the document preamble with the line
31878 \begin_layout Standard
31883 usepackage[option]{sidecap}
31886 \begin_layout Standard
31887 If you set no option,
31888 the caption is placed on the side of the outer page margin – to the right on odd pages,
31889 to the left on even pages.
31890 You can change the placement to inner margin with the option
31895 To force the placement always to the right or left,
31908 \begin_layout Standard
31912 \begin_layout Plain Layout
31922 \begin_inset Note Note
31925 \begin_layout Plain Layout
31926 The following section will only be displayed when the \SpecialChar LaTeX
31939 \begin_layout Standard
31940 To place in \SpecialChar LyX
31941 the caption of a float on the side,
31942 it is necessary to add these commands to the document preamble:
31945 \begin_layout Standard
31947 \begin_inset CommandInset line
31958 \begin_layout Standard
31965 TabBesBeg}[1][1.0]{%
31966 \begin_inset Newline newline
31970 \begin_inset Phantom HPhantom
31973 \begin_layout Plain Layout
31974 \begin_inset space ~
31989 \begin_inset Newline newline
31993 \begin_inset Phantom HPhantom
31996 \begin_layout Plain Layout
31999 \begin_inset space ~
32014 \begin_inset Newline newline
32018 \begin_inset Phantom HPhantom
32021 \begin_layout Plain Layout
32024 \begin_inset space ~
32034 renewenvironment{table}[1]{
32036 begin{SCtable}[#1]##1}{
32041 \begin_layout Standard
32049 \begin_inset Newline newline
32053 \begin_inset Phantom HPhantom
32056 \begin_layout Plain Layout
32057 \begin_inset space ~
32072 \begin_inset Newline newline
32076 \begin_inset Phantom HPhantom
32079 \begin_layout Plain Layout
32080 \begin_inset space ~
32097 \begin_layout Standard
32104 FigBesBeg}[1][1.0]{%
32105 \begin_inset Newline newline
32109 \begin_inset Phantom HPhantom
32112 \begin_layout Plain Layout
32113 \begin_inset space ~
32128 \begin_inset Newline newline
32132 \begin_inset Phantom HPhantom
32135 \begin_layout Plain Layout
32136 \begin_inset space ~
32151 \begin_inset Newline newline
32155 \begin_inset Phantom HPhantom
32158 \begin_layout Plain Layout
32159 \begin_inset space ~
32169 renewenvironment{figure}[1]{
32171 begin{SCfigure}[#1]##1}{
32176 \begin_layout Standard
32184 \begin_inset Newline newline
32188 \begin_inset Phantom HPhantom
32191 \begin_layout Plain Layout
32192 \begin_inset space ~
32207 \begin_inset Newline newline
32211 \begin_inset Phantom HPhantom
32214 \begin_layout Plain Layout
32215 \begin_inset space ~
32232 \begin_layout Standard
32234 \begin_inset CommandInset line
32245 \begin_layout Standard
32246 The commands allow you to redefine the floats so that the caption is set on the side.
32247 For figure floats use the command
32250 \begin_layout Standard
32258 \begin_layout Standard
32259 in \SpecialChar TeX
32260 Code before the float.
32261 And insert the command
32264 \begin_layout Standard
32272 \begin_layout Standard
32273 in \SpecialChar TeX
32274 Code at the point where you want to get back to the original float definition.
32277 \begin_layout Standard
32278 For table floats use the corresponding commands
32281 \begin_layout Standard
32295 \begin_layout Standard
32297 \begin_inset space ~
32301 \begin_inset CommandInset ref
32303 reference "fig:cap-beside-fig"
32309 \begin_inset space ~
32313 \begin_inset CommandInset ref
32315 reference "tab:cap-beside-tab"
32320 are examples where the caption is set beside.
32323 \begin_layout Standard
32324 You can see in the examples that the caption text appears at the top of the floats for table floats and at the bottom for figure floats.
32326 you can use the command
32329 \begin_layout Standard
32334 sidecaptionvpos{float type}{placement}
32337 \begin_layout Standard
32338 in the document preamble or in \SpecialChar TeX
32339 Code before the float.
32340 The float type is either
32349 the placement can be
32350 \begin_inset Quotes eld
32358 \begin_inset Quotes erd
32363 \begin_inset Quotes eld
32371 \begin_inset Quotes erd
32376 \begin_inset Quotes eld
32384 \begin_inset Quotes erd
32388 To have for example the caption of figure floats vertically centered,
32392 \begin_layout Standard
32397 sidecaptionvpos{figure}{c}
32400 \begin_layout Standard
32401 This was used for Figure
32402 \begin_inset space ~
32406 \begin_inset CommandInset ref
32408 reference "fig:cap-beside-fig-2"
32416 \begin_layout Standard
32417 \begin_inset VSpace medskip
32423 \begin_layout Standard
32424 The default caption width is the width of the image/table.
32425 For thin image/tables,
32427 \begin_inset space ~
32431 \begin_inset CommandInset ref
32433 reference "tab:cap-beside-tab"
32439 this leads to captions that are too thin.
32440 You can increase the width by specifying a factor that will be multiplied with the image/table width to get the caption width.
32441 The caption width will automatically be recalculated in case it would protrude over the page or column margin due to the specified width.
32446 can either be given as optional argument for
32455 \begin_layout Standard
32463 \begin_layout Standard
32464 or in the definition of
32474 with another value.
32475 If you do the latter,
32476 your factor will be the default if
32482 is used without an argument.
32484 \begin_inset space ~
32488 \begin_inset CommandInset ref
32490 reference "tab:cap-beside-tab-wider"
32495 the factor 5 was used.
32498 \begin_layout Standard
32499 \begin_inset Note Greyedout
32502 \begin_layout Plain Layout
32508 For floats with captions set beside,
32509 you cannot use the float placement option
32512 \begin_inset space ~
32517 because it is not supported by
32529 \begin_layout Standard
32530 \begin_inset VSpace medskip
32533 For more information about the package
32537 we refer to its documentation
32538 \begin_inset CommandInset citation
32548 \begin_layout Standard
32549 \begin_inset Note Greyedout
32552 \begin_layout Plain Layout
32558 The \SpecialChar LaTeX
32564 \begin_inset Index idx
32569 \begin_layout Plain Layout
32572 \begin_inset IndexMacro subentry
32575 \begin_layout Plain Layout
32587 described in section
32588 \begin_inset space ~
32592 \begin_inset CommandInset ref
32594 reference "subsec:Reference-Position"
32600 has no effect on floats with the caption set beside.
32608 \begin_layout Standard
32612 \begin_layout Plain Layout
32624 \begin_layout Standard
32625 \begin_inset Float figure
32632 \begin_layout Plain Layout
32633 \begin_inset Graphics
32634 filename clipart/3D-structure-distort.pdf
32636 scaleBeforeRotation
32643 \begin_layout Plain Layout
32644 \begin_inset Caption Standard
32646 \begin_layout Plain Layout
32647 \begin_inset CommandInset label
32649 name "fig:cap-beside-fig"
32653 This is a caption beside a figure.
32666 \begin_layout Standard
32670 \begin_layout Plain Layout
32682 \begin_layout Standard
32686 \begin_layout Plain Layout
32698 \begin_layout Standard
32699 \begin_inset Float table
32706 \begin_layout Plain Layout
32707 \begin_inset Caption Standard
32709 \begin_layout Plain Layout
32710 \begin_inset CommandInset label
32712 name "tab:cap-beside-tab"
32716 This is a caption beside a table.
32724 \begin_layout Plain Layout
32725 \begin_inset Tabular
32726 <lyxtabular version="3" rows="4" columns="5">
32727 <features tabularvalignment="middle">
32728 <column alignment="center" valignment="top">
32729 <column alignment="center" valignment="top">
32730 <column alignment="center" valignment="top">
32731 <column alignment="center" valignment="top">
32732 <column alignment="center" valignment="top">
32734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32737 \begin_layout Plain Layout
32743 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32746 \begin_layout Plain Layout
32752 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32755 \begin_layout Plain Layout
32761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32764 \begin_layout Plain Layout
32770 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32773 \begin_layout Plain Layout
32781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32784 \begin_layout Plain Layout
32790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32793 \begin_layout Plain Layout
32799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32802 \begin_layout Plain Layout
32808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32811 \begin_layout Plain Layout
32817 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32820 \begin_layout Plain Layout
32828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32831 \begin_layout Plain Layout
32837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32840 \begin_layout Plain Layout
32846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32849 \begin_layout Plain Layout
32855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32858 \begin_layout Plain Layout
32864 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32867 \begin_layout Plain Layout
32875 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32878 \begin_layout Plain Layout
32884 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32887 \begin_layout Plain Layout
32893 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32896 \begin_layout Plain Layout
32902 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32905 \begin_layout Plain Layout
32911 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32914 \begin_layout Plain Layout
32933 \begin_layout Standard
32937 \begin_layout Plain Layout
32949 \begin_layout Standard
32953 \begin_layout Plain Layout
32966 \begin_layout Plain Layout
32970 sidecaptionvpos{figure}{c}
32976 \begin_inset Float figure
32983 \begin_layout Plain Layout
32984 \begin_inset Graphics
32985 filename clipart/3D-structure-distort.pdf
32987 scaleBeforeRotation
32994 \begin_layout Plain Layout
32995 \begin_inset Caption Standard
32997 \begin_layout Plain Layout
32998 \begin_inset CommandInset label
33000 name "fig:cap-beside-fig-2"
33004 This is a vertically centered caption beside a figure.
33017 \begin_layout Standard
33021 \begin_layout Plain Layout
33033 \begin_layout Standard
33037 \begin_layout Plain Layout
33049 \begin_layout Standard
33050 \begin_inset Float table
33057 \begin_layout Plain Layout
33058 \begin_inset Caption Standard
33060 \begin_layout Plain Layout
33061 \begin_inset CommandInset label
33063 name "tab:cap-beside-tab-wider"
33067 This caption is wider than the one in Table
33068 \begin_inset space ~
33072 \begin_inset CommandInset ref
33074 reference "tab:cap-beside-tab"
33087 \begin_layout Plain Layout
33088 \begin_inset Tabular
33089 <lyxtabular version="3" rows="4" columns="5">
33090 <features tabularvalignment="middle">
33091 <column alignment="center" valignment="top">
33092 <column alignment="center" valignment="top">
33093 <column alignment="center" valignment="top">
33094 <column alignment="center" valignment="top">
33095 <column alignment="center" valignment="top">
33097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33100 \begin_layout Plain Layout
33106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33109 \begin_layout Plain Layout
33115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33118 \begin_layout Plain Layout
33124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33127 \begin_layout Plain Layout
33133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33136 \begin_layout Plain Layout
33144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33147 \begin_layout Plain Layout
33153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33156 \begin_layout Plain Layout
33162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33165 \begin_layout Plain Layout
33171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33174 \begin_layout Plain Layout
33180 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33183 \begin_layout Plain Layout
33191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33194 \begin_layout Plain Layout
33200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33203 \begin_layout Plain Layout
33209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33212 \begin_layout Plain Layout
33218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
33221 \begin_layout Plain Layout
33227 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
33230 \begin_layout Plain Layout
33238 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33241 \begin_layout Plain Layout
33247 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33250 \begin_layout Plain Layout
33256 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33259 \begin_layout Plain Layout
33265 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
33268 \begin_layout Plain Layout
33274 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
33277 \begin_layout Plain Layout
33296 \begin_layout Standard
33300 \begin_layout Plain Layout
33312 \begin_layout Standard
33316 \begin_layout Plain Layout
33326 \begin_inset Note Note
33329 \begin_layout Plain Layout
33330 The following will be displayed when the \SpecialChar LaTeX
33343 \begin_layout Standard
33344 You need to install the \SpecialChar LaTeX
33349 to see the following part of this section in the output.
33352 \begin_layout Standard
33356 \begin_layout Plain Layout
33368 \begin_layout Section
33370 \begin_inset Index idx
33375 \begin_layout Plain Layout
33377 \begin_inset IndexMacro subentry
33380 \begin_layout Plain Layout
33394 \begin_layout Standard
33395 Similar to the table of contents where the sections of the document are listed,
33396 there are listings for all float types,
33397 like the figures of the documents.
33398 You can insert them via the
33400 Insert\SpecialChar menuseparator
33402 \begin_inset space ~
33406 \begin_inset space ~
33414 \begin_layout Standard
33415 The list entries are the float captions or its short title,
33417 and the page number where they appear in the document.
33420 \begin_layout Standard
33421 You can find the list of figures and tables at the end of this document.
33424 \begin_layout Chapter
33428 \begin_layout Section
33431 \begin_inset Index idx
33436 \begin_layout Plain Layout
33438 \begin_inset IndexMacro subentry
33441 \begin_layout Plain Layout
33456 \begin_layout Standard
33457 Notes are inserted with the toolbar button
33465 Insert\SpecialChar menuseparator
33469 There are three types of notes:
33472 \begin_layout Description
33475 \begin_inset space ~
33478 Note This note type is for internal notes that won't appear in the output.
33479 Its note-box looks like this:
33480 \begin_inset Newline newline
33484 \begin_inset Newline newline
33488 \begin_inset Graphics
33489 filename clipart/LyXNoteImage.png
33491 scaleBeforeRotation
33496 \begin_inset Note Note
33499 \begin_layout Plain Layout
33500 This is text in a note box that doesn't appear in the output.
33508 \begin_layout Description
33509 Comment This note also doesn't appear in the output but it appears as \SpecialChar LaTeX
33511 when you export the document to \SpecialChar LaTeX
33514 File\SpecialChar menuseparator
33515 Export\SpecialChar menuseparator
33517 \begin_inset space ~
33520 (pdflatex) / (plain)
33523 Its note-box looks like this:
33524 \begin_inset Newline newline
33528 \begin_inset Newline newline
33532 \begin_inset Graphics
33533 filename clipart/CommentNoteImage.png
33535 scaleBeforeRotation
33540 \begin_inset Note Comment
33543 \begin_layout Plain Layout
33544 This is text in a note box that only appears as comment in \SpecialChar LaTeX
33553 \begin_layout Description
33555 \begin_inset space ~
33558 Out This note will appear in the output as grey text.
33559 Its note-box looks like this:
33560 \begin_inset Newline newline
33564 \begin_inset Newline newline
33568 \begin_inset Graphics
33569 filename clipart/GreyedOutNoteImage.png
33571 scaleBeforeRotation
33576 \begin_inset Newline newline
33583 \begin_layout Plain Layout
33587 renewenvironment{lyxgreyedout}
33590 \begin_layout Plain Layout
33594 textcolor[gray]{0.8}
33604 \begin_inset Note Greyedout
33607 \begin_layout Plain Layout
33608 This is text of a comment that appears grey in the output.
33617 \begin_layout Plain Layout
33621 renewenvironment{lyxgreyedout}
33624 \begin_layout Plain Layout
33638 \begin_inset Note Note
33641 \begin_layout Plain Layout
33642 The greyed out note is here redefined to show it with the original \SpecialChar LyX
33643 definition because greyed out notes are redefined in the preamble of this document,
33644 as described below,
33651 \begin_inset Newline newline
33655 \begin_inset Newline newline
33658 As you can see in the example,
33659 the first line of greyed out notes is a bit indented and greyed out notes can have footnotes.
33662 \begin_layout Standard
33663 \begin_inset VSpace bigskip
33666 When you use the toolbar button
33677 \begin_inset space ~
33683 You can switch between the three note types by right-clicking on the note-box.
33688 If you want to turn existing text into a note,
33689 mark it and click on the note
33702 To change a note to text,
33703 press the backspace key when the cursor is in the first position of a note,
33704 or press the delete key when the cursor is in the very last position of the note,
33708 \begin_layout Standard
33709 \begin_inset VSpace bigskip
33712 You can change the text color of the greyed out notes in the menu
33714 Document\SpecialChar menuseparator
33715 Settings\SpecialChar menuseparator
33721 \begin_layout Section
33723 \begin_inset CommandInset label
33725 name "sec:Footnotes"
33730 \begin_inset Index idx
33735 \begin_layout Plain Layout
33737 \begin_inset IndexMacro subentry
33740 \begin_layout Plain Layout
33752 \begin_inset Index idx
33757 \begin_layout Plain Layout
33766 \begin_layout Standard
33767 Footnotes can be inserted using the toolbar button
33770 arg "footnote-insert"
33775 Insert\SpecialChar menuseparator
33779 You will then see the following footnote-box:
33781 \begin_inset Graphics
33782 filename clipart/footnote.png
33784 scaleBeforeRotation
33792 where you can enter the footnote text.
33793 If you want to turn existing text into a footnote,
33794 mark it and click on the footnote
33820 key when the cursor is in the first position of a
33833 key when the cursor is in the very last position of the
33845 \begin_layout Standard
33846 Here is an example footnote:
33854 \begin_layout Plain Layout
33855 \begin_inset CommandInset label
33857 name "foot:This-is-an"
33861 This is an example footnote.
33874 \begin_layout Plain Layout
33878 newcounter{MyRepeatFoot}
33881 \begin_layout Plain Layout
33885 setcounter{MyRepeatFoot}{
33895 \begin_layout Standard
33896 The footnote will appear in the output as a superscript number at the text position where the footnote box is placed.
33897 The footnote text is placed at the bottom of the current page.
33898 The footnote number is calculated by \SpecialChar LaTeX
33900 the numbers are consecutive.
33901 Whether the footnote number is reset for every chapter depends on your document class.
33904 \begin_layout Standard
33905 Footnotes can be referenced like floats:
33906 Insert a label into the footnote and cross-reference this label in the text as described in section
33907 \begin_inset space ~
33911 \begin_inset CommandInset ref
33913 reference "sec:Referencing-Floats"
33919 \begin_inset Newline newline
33922 This is a cross-reference of Footnote
33923 \begin_inset space ~
33927 \begin_inset CommandInset ref
33929 reference "foot:This-is-an"
33937 \begin_layout Standard
33938 \begin_inset VSpace defskip
33941 Footnotes in title environments are usually not numbered with symbols and they cannot contain several paragraphs.
33942 See for example the footnote in the titling of this document.
33945 \begin_layout Standard
33946 Footnotes in multi-page tables are described in section
33947 \begin_inset space ~
33951 \begin_inset CommandInset ref
33953 reference "subsec:Footnotes-in-Multi-page"
33961 \begin_layout Standard
33962 \begin_inset VSpace defskip
33968 \begin_layout Standard
33969 Footnotes in minipage boxes are printed,
33970 but inside the box and with a different numbering because a minipage box is like a page inside a page.
33971 (For more about minipages,
33973 \begin_inset space ~
33977 \begin_inset CommandInset ref
33979 reference "sec:Minipages"
33984 .) To get a footnote in the minipage that is output at the bottom of the page like normal footnotes use this method:
33985 Instead of the footnote the command
33991 is inserted as \SpecialChar TeX
33993 The text of the footnote is entered as an argument of the \SpecialChar TeX
34000 after the minipage.
34001 \begin_inset Newline newline
34004 This was done for the following minipage with the command
34007 \begin_layout Standard
34014 Footnote outside the minipage.
34019 \begin_layout Standard
34020 \begin_inset Box Frameless
34030 height_special "totalheight"
34035 backgroundcolor "none"
34038 \begin_layout Plain Layout
34039 This an example text in a minipage.
34043 \begin_layout Plain Layout
34044 Footnote in the minipage.
34052 \begin_layout Plain Layout
34053 This an example text in a minipage.
34057 \begin_layout Plain Layout
34074 \begin_layout Standard
34078 \begin_layout Plain Layout
34087 Footnote outside the minipage.
34091 \begin_layout Plain Layout
34101 \begin_layout Standard
34102 \begin_inset VSpace defskip
34108 \begin_layout Standard
34109 To refer to the same footnote several times without printing the footnote text every time,
34114 footnotemark[number]
34116 in \SpecialChar TeX
34118 \begin_inset Newline newline
34121 As you do not know the number of the repeating footnote while you are writing the text,
34122 you have to store its number.
34123 For the following footnote mark example,
34124 these commands were inserted in \SpecialChar TeX
34125 code after Footnote
34126 \begin_inset space ~
34130 \begin_inset CommandInset ref
34132 reference "foot:This-is-an"
34137 to store the footnote number:
34140 \begin_layout Standard
34145 newcounter{MyRepeatFoot}
34146 \begin_inset Newline newline
34151 setcounter{MyRepeatFoot}{
34156 \begin_layout Standard
34157 The footnote mark was then created with this command:
34160 \begin_layout Standard
34170 \begin_layout Standard
34171 Here is a repeated footnote:
34179 \begin_layout Plain Layout
34193 \begin_layout Standard
34194 If you want to repeat the previous footnote,
34195 you can omit the storage of the footnote number and just use this command instead:
34198 \begin_layout Standard
34208 \begin_layout Standard
34209 Here is another repeated footnote:
34217 \begin_layout Plain Layout
34231 \begin_layout Subsection
34233 \begin_inset CommandInset label
34235 name "subsec:Footnote-Numbering"
34240 \begin_inset Index idx
34245 \begin_layout Plain Layout
34247 \begin_inset IndexMacro subentry
34250 \begin_layout Plain Layout
34264 \begin_layout Standard
34265 To reset the footnote number back to 1 after each section
34268 add this command to your document preamble:
34271 \begin_layout Standard
34276 @addtoreset{footnote}{section}
34279 \begin_layout Standard
34280 \begin_inset VSpace bigskip
34283 The following preamble command changes the footnote numbering style to small roman numerals:
34286 \begin_layout Standard
34298 \begin_layout Standard
34302 \begin_layout Plain Layout
34315 This is a footnote with roman numbering:
34319 \begin_layout Plain Layout
34320 This is an example footnote with roman numbering.
34328 \begin_layout Standard
34329 To change the numbering style to capital roman numerals replace in the command above
34343 \begin_inset Quotes eld
34347 \begin_inset Quotes erd
34350 footnotes with capital or small Latin letters use
34365 \begin_inset Quotes eld
34369 \begin_inset Quotes erd
34372 footnotes with symbols use
34381 \begin_layout Standard
34382 \begin_inset Note Greyedout
34385 \begin_layout Plain Layout
34391 You can only number 26 footnotes with Latin letters,
34392 because this numbering is limited to single letters.
34398 \begin_inset Newline newline
34402 \begin_inset Note Greyedout
34405 \begin_layout Plain Layout
34411 You can only number 9 footnotes with symbols.
34419 \begin_layout Standard
34420 To return to the default numbering style after you have changed to another one,
34433 in the command above.
34437 \begin_layout Plain Layout
34453 \begin_layout Standard
34454 \begin_inset VSpace bigskip
34460 \begin_layout Standard
34461 If you want to have footnotes numbered in the scheme
34462 \begin_inset Quotes eld
34466 \begin_inset Quotes erd
34470 add the following command to your document preamble:
34473 \begin_layout Standard
34478 numberwithin{footnote}{chapter}
34481 \begin_layout Standard
34482 To be able to use the command
34492 \begin_inset space ~
34497 in the document settings the option
34500 \begin_inset space ~
34504 \begin_inset space ~
34508 \begin_inset space ~
34516 \begin_layout Standard
34520 \begin_layout Plain Layout
34524 numberwithin{footnote}{chapter}
34529 This is another example footnote:
34535 \begin_layout Plain Layout
34536 This is a footnote numbered in the scheme
34537 \begin_inset Quotes eld
34541 \begin_inset Quotes erd
34555 \begin_layout Plain Layout
34571 \begin_layout Standard
34572 \begin_inset Note Greyedout
34575 \begin_layout Plain Layout
34587 always prints out the footnote number as arabic number;
34588 previous redefinitions to get non-arabic numbers are overwritten.
34596 \begin_layout Standard
34597 So to get for example the scheme
34598 \begin_inset Quotes eld
34604 \begin_inset Quotes erd
34608 use this command instead of
34617 \begin_layout Standard
34631 \begin_layout Subsection
34633 \begin_inset Index idx
34638 \begin_layout Plain Layout
34640 \begin_inset IndexMacro subentry
34643 \begin_layout Plain Layout
34657 \begin_layout Standard
34658 If you have several footnotes in one page,
34659 they appear without vertical space between them at the bottom of the page.
34660 To make them more readable you can e.
34661 \begin_inset space \thinspace{}
34665 \begin_inset space \space{}
34669 \begin_inset space \thinspace{}
34672 mm space with the following preamble command:
34675 \begin_layout Standard
34685 \begin_inset Newline newline
34699 \begin_layout Standard
34700 \begin_inset VSpace bigskip
34703 In a two-column document the footnotes appear at the bottom of every column,
34705 \begin_inset space ~
34709 \begin_inset CommandInset ref
34711 reference "fig:Standard-footnote-placement"
34717 If the footnotes should only appear at the bottom of the right column,
34719 \begin_inset space ~
34723 \begin_inset CommandInset ref
34725 reference "fig:Footnote-placement-in"
34731 use the \SpecialChar LaTeX
34737 \begin_inset Index idx
34742 \begin_layout Plain Layout
34745 \begin_inset IndexMacro subentry
34748 \begin_layout Plain Layout
34759 with this command in the document preamble:
34762 \begin_layout Standard
34767 usepackage{ftnright}
34770 \begin_layout Standard
34771 \begin_inset Float figure
34778 \begin_layout Plain Layout
34781 \begin_inset Box Boxed
34791 height_special "totalheight"
34796 backgroundcolor "none"
34799 \begin_layout Plain Layout
34800 \begin_inset Graphics
34801 filename clipart/without_fntright.pdf
34803 scaleBeforeRotation
34815 \begin_layout Plain Layout
34816 \begin_inset Caption Standard
34818 \begin_layout Plain Layout
34819 \begin_inset CommandInset label
34821 name "fig:Standard-footnote-placement"
34825 Standard footnote placement in two-column documents.
34838 \begin_layout Standard
34839 \begin_inset Float figure
34846 \begin_layout Plain Layout
34849 \begin_inset Box Boxed
34859 height_special "totalheight"
34864 backgroundcolor "none"
34867 \begin_layout Plain Layout
34868 \begin_inset Graphics
34869 filename clipart/with_fntright.pdf
34871 scaleBeforeRotation
34883 \begin_layout Plain Layout
34884 \begin_inset Caption Standard
34886 \begin_layout Plain Layout
34887 \begin_inset CommandInset label
34889 name "fig:Footnote-placement-in"
34893 Footnote placement in two-column documents when the \SpecialChar LaTeX
34911 \begin_layout Standard
34912 \begin_inset VSpace bigskip
34915 In some scientific literature it is usual to collect the footnotes and print them in a separate paragraph at the end of a section,
34917 \begin_inset space ~
34921 \begin_inset CommandInset ref
34923 reference "fig:Endnotes"
34929 They are then called
34930 \begin_inset Quotes eld
34934 \begin_inset Quotes erd
34938 \begin_inset Index idx
34943 \begin_layout Plain Layout
34949 To use endnotes instead of footnotes in your document,
34952 Document\SpecialChar menuseparator
34953 Settings\SpecialChar menuseparator
34959 \begin_inset space ~
34963 \begin_inset space ~
34969 To insert the collected footnotes,
34973 \begin_layout Standard
34981 \begin_layout Standard
34982 in \SpecialChar TeX
34983 Code at the end of a section or chapter.
34986 \begin_layout Standard
34987 \begin_inset Float figure
34994 \begin_layout Plain Layout
34997 \begin_inset Box Boxed
35007 height_special "totalheight"
35012 backgroundcolor "none"
35015 \begin_layout Plain Layout
35016 \begin_inset Graphics
35017 filename clipart/endnotes.pdf
35019 scaleBeforeRotation
35031 \begin_layout Plain Layout
35032 \begin_inset Caption Standard
35034 \begin_layout Plain Layout
35035 \begin_inset CommandInset label
35037 name "fig:Endnotes"
35041 Endnotes – footnotes are printed in a separate paragraph at the end of sections or chapters.
35054 \begin_layout Standard
35055 \begin_inset VSpace medskip
35058 The paragraph heading for the endnotes isn't automatically translated into the document language,
35059 this must be done manually.
35060 The following preamble command translates the default English
35061 \begin_inset Quotes eld
35065 \begin_inset Quotes erd
35069 \begin_inset Quotes eld
35073 \begin_inset Quotes erd
35079 \begin_layout Standard
35086 notesname}{Anmerkungen}
35089 \begin_layout Standard
35090 \begin_inset VSpace medskip
35093 The numbering of endnotes can be changed like the footnote numbering as described in section
35094 \begin_inset space ~
35098 \begin_inset CommandInset ref
35100 reference "subsec:Footnote-Numbering"
35106 just replace the command
35119 To reset the endnote number use the command
35125 as described in section
35126 \begin_inset space ~
35130 \begin_inset CommandInset ref
35132 reference "subsec:Footnote-Numbering"
35137 and replace the command parameter
35148 \begin_layout Standard
35149 For endnotes there is the command
35153 endnotemark[number]
35155 similar to the command
35162 that is described in section
35163 \begin_inset space ~
35167 \begin_inset CommandInset ref
35169 reference "sec:Footnotes"
35177 \begin_layout Standard
35178 \begin_inset VSpace bigskip
35181 Footnotes can also be placed in the page margin and the footnote text alignment can be changed,
35182 see the \SpecialChar LaTeX
35188 \begin_inset Index idx
35193 \begin_layout Plain Layout
35196 \begin_inset IndexMacro subentry
35199 \begin_layout Plain Layout
35212 \begin_inset CommandInset citation
35219 for more information about this.
35222 \begin_layout Standard
35223 For various further footnote formatting issues have a look at \SpecialChar LaTeX
35226 \begin_inset CommandInset citation
35228 key "latexcompanion,latexguide,latexbook"
35239 \begin_inset Index idx
35244 \begin_layout Plain Layout
35247 \begin_inset IndexMacro subentry
35250 \begin_layout Plain Layout
35262 you can adjust all footnote settings using class-specific commands,
35264 \begin_inset CommandInset citation
35274 \begin_layout Section
35276 \begin_inset Index idx
35281 \begin_layout Plain Layout
35283 \begin_inset IndexMacro subentry
35286 \begin_layout Plain Layout
35300 \begin_layout Standard
35301 Margin notes look and behave in \SpecialChar LyX
35303 They are inserted via the menu
35305 Insert\SpecialChar menuseparator
35307 \begin_inset space ~
35312 or the toolbar button
35315 arg "marginalnote-insert"
35329 \begin_inset Quotes eld
35333 \begin_inset Quotes erd
35336 appears where you can enter the text of the margin note.
35339 \begin_layout Standard
35340 At the side is an example margin note.
35345 \begin_inset Marginal
35348 \begin_layout Plain Layout
35349 This is a margin note.
35357 \begin_layout Standard
35358 Margin notes appear at the right side in single-sided documents.
35359 In double-sided documents they appear in the outer margin – left on even pages,
35360 right on odd pages.
35361 The text of margin notes is aligned opposite to the outer margin – right-aligned when the note appears in the left margin.
35362 The first line of the margin note is placed at the position of the text line where it is inserted in the document.
35365 \begin_layout Standard
35366 \begin_inset VSpace bigskip
35369 To place the margin note in the inner margin,
35373 \begin_layout Standard
35381 \begin_layout Standard
35382 in \SpecialChar TeX
35383 Code before a margin note.
35384 The new placement is valid for all subsequent margin notes.
35389 \begin_layout Plain Layout
35399 \begin_inset Marginal
35402 \begin_layout Plain Layout
35403 This is a margin note in the inner margin.
35411 \begin_inset Newline newline
35417 \begin_inset Note Greyedout
35420 \begin_layout Plain Layout
35426 There is often not enough space in the inner margin so that the notes are not correctly displayed in the output.
35434 \begin_layout Standard
35435 To return to the default placement insert the command
35438 \begin_layout Standard
35446 \begin_layout Standard
35447 in \SpecialChar TeX
35452 \begin_layout Plain Layout
35462 \begin_inset Note Greyedout
35465 \begin_layout Plain Layout
35471 The command is ignored when it is within a paragraph where also the command
35485 \begin_layout Standard
35486 \begin_inset VSpace bigskip
35493 \begin_inset Marginal
35496 \begin_layout Plain Layout
35497 AVeryLongMarginParWord that isn't hyphenated.
35505 Similar to the case described in section
35506 \begin_inset space ~
35510 \begin_inset CommandInset ref
35512 reference "subsec:Multiple-Lines-in"
35518 long words cannot be hyphenated when they are the first word in a margin note.
35521 \begin_inset space \thinspace{}
35524 pt horizontal space before the word
35529 \begin_inset Marginal
35532 \begin_layout Plain Layout
35533 \begin_inset space \hspace*{}
35537 AVeryLongMarginParWord that is hyphenated.
35545 \begin_layout Standard
35546 \begin_inset VSpace bigskip
35552 \begin_layout Standard
35553 \begin_inset Note Greyedout
35556 \begin_layout Plain Layout
35562 Margin notes can normally not be used inside tables,
35572 \begin_layout Standard
35573 \begin_inset VSpace bigskip
35579 \begin_layout Standard
35583 \begin_layout Plain Layout
35593 \begin_inset Note Note
35596 \begin_layout Plain Layout
35597 The following section will only be displayed when the \SpecialChar LaTeX
35610 \begin_layout Standard
35611 This restriction can be evaded by using the \SpecialChar LaTeX
35617 \begin_inset Index idx
35622 \begin_layout Plain Layout
35625 \begin_inset IndexMacro subentry
35628 \begin_layout Plain Layout
35640 By adding these two lines to your document preamble,
35641 the command used by \SpecialChar LyX
35642 for margin notes is redefined to use the command provided by the
35649 \begin_layout Standard
35654 usepackage{marginnote}
35655 \begin_inset Newline newline
35667 \begin_layout Standard
35668 This is also used in this document because
35672 has another useful feature:
35673 You can set a vertical offset for the note.
35674 This is often needed when too many margin notes are too close together or for a better page layout.
35675 The offset is set in \SpecialChar LyX
35676 as \SpecialChar TeX
35677 Code directly after the margin note in the scheme
35680 \begin_layout Standard
35686 \begin_layout Standard
35687 where the offset is a length with one of the units listed in Table
35688 \begin_inset space ~
35692 \begin_inset CommandInset ref
35694 reference "tab:Units"
35700 A negative value shifts the note up,
35701 a positive value shifts it down.
35705 For example the margin note beside this text line is shifted up 1.5
35706 \begin_inset space \thinspace{}
35709 cm with the \SpecialChar TeX
35711 \begin_inset Quotes eld
35721 \begin_inset Quotes erd
35725 \begin_inset Marginal
35728 \begin_layout Plain Layout
35729 This margin note is shifted up 1.5
35730 \begin_inset space \thinspace{}
35733 cm from its original position.
35745 \begin_layout Plain Layout
35755 \begin_layout Standard
35756 \begin_inset VSpace medskip
35763 you can also change the alignment of the text in the margin note.
35764 For example the commands
35767 \begin_layout Standard
35774 raggedleftmarginnote}{
35777 \begin_inset Newline newline
35784 raggedrightmarginnote}{
35789 \begin_layout Standard
35790 set the alignment to centered.
35795 raggedleftmarginnote
35797 denotes margin notes that appear at the left side.
35804 \begin_layout Plain Layout
35810 raggedleftmarginnote}{
35815 \begin_layout Plain Layout
35821 raggedrightmarginnote}{
35829 \begin_inset Marginal
35832 \begin_layout Plain Layout
35833 The text of this margin note is centered.
35844 \begin_layout Standard
35851 raggedleftmarginnote}{
35854 \begin_inset Newline newline
35861 raggedrightmarginnote}{
35870 \begin_layout Plain Layout
35876 raggedleftmarginnote}{
35881 \begin_layout Plain Layout
35887 raggedrightmarginnote}{
35897 \begin_layout Standard
35898 \begin_inset VSpace medskip
35901 For the other features of
35905 refer to its documentation
35906 \begin_inset CommandInset citation
35916 \begin_layout Standard
35917 \begin_inset VSpace bigskip
35920 You can adjust the layout of margin notes by changing its definition.
35921 To create for example a header for all margin notes with the underlined,
35923 and bold header text
35924 \begin_inset Quotes eld
35936 \begin_inset Quotes erd
35940 add this to your document preamble:
35943 \begin_layout Standard
35953 \begin_inset Newline newline
35963 \begin_inset Newline newline
35967 \begin_inset Phantom HPhantom
35970 \begin_layout Plain Layout
35973 \begin_inset space ~
35989 underbar{Attention!}}}%
35990 \begin_inset Newline newline
35994 \begin_inset Phantom HPhantom
35997 \begin_layout Plain Layout
36000 \begin_inset space ~
36017 \begin_layout Standard
36024 \begin_layout Plain Layout
36035 \begin_layout Plain Layout
36046 \begin_layout Plain Layout
36054 underbar{Attention!}}}%
36057 \begin_layout Plain Layout
36071 \begin_inset Marginal
36074 \begin_layout Plain Layout
36075 This is a margin note with a defined heading.
36087 \begin_layout Plain Layout
36101 \begin_layout Plain Layout
36118 \begin_inset Note Note
36121 \begin_layout Plain Layout
36122 The margin note format is changed only for this example.
36130 \begin_layout Standard
36134 \begin_layout Plain Layout
36144 \begin_inset Note Note
36147 \begin_layout Plain Layout
36148 The following will be displayed when the \SpecialChar LaTeX
36161 \begin_layout Standard
36162 You need to install the \SpecialChar LaTeX
36167 to see the following part of this section in the output.
36170 \begin_layout Standard
36174 \begin_layout Plain Layout
36186 \begin_layout Chapter
36190 \begin_layout Section
36192 \begin_inset Index idx
36197 \begin_layout Plain Layout
36199 \begin_inset IndexMacro subentry
36202 \begin_layout Plain Layout
36216 \begin_layout Standard
36217 Boxes are used to format a block of text.
36218 Boxes can be used to write documents with multiple languages,
36220 \begin_inset space ~
36224 \begin_inset CommandInset ref
36226 reference "sec:Minipages"
36234 \begin_inset space ~
36238 \begin_inset CommandInset ref
36240 reference "sec:Decoration"
36246 to prevent words from being hyphenated,
36248 \begin_inset space ~
36252 \begin_inset CommandInset ref
36254 reference "sec:Prevent-Hyphenation"
36262 \begin_inset space ~
36266 \begin_inset CommandInset ref
36268 reference "subsec:Vertical-Alignment"
36274 or to set the background color of texts,
36276 \begin_inset space ~
36280 \begin_inset CommandInset ref
36282 reference "sec:Colored-Boxes"
36290 \begin_layout Standard
36291 Boxes can be inserted with the menu
36293 Insert\SpecialChar menuseparator
36296 or the toolbar button
36299 arg "box-insert Frameless"
36303 A grey box with the label
36309 \begin_inset Graphics
36310 filename clipart/BoxInsetDefault.png
36312 scaleBeforeRotation
36317 The box type can be specified by right-clicking on the box and selecting
36322 The box dialog offers the
36325 \begin_inset space ~
36348 is the default for new boxes and is explained in section
36349 \begin_inset space ~
36353 \begin_inset CommandInset ref
36355 reference "sec:Minipages"
36365 is described in section
36366 \begin_inset space ~
36370 \begin_inset CommandInset ref
36372 reference "sec:Parboxes"
36382 \begin_inset CommandInset ref
36384 reference "sec:Prevent-Hyphenation"
36392 \begin_layout Standard
36393 Boxes are not numbered and can therefore not be referenced like floats or footnotes.
36396 \begin_layout Standard
36397 \begin_inset Note Greyedout
36400 \begin_layout Plain Layout
36406 Boxes must not be the item in an
36422 \begin_layout Standard
36423 \begin_inset Note Greyedout
36426 \begin_layout Plain Layout
36432 For an unknown reason you can only set the
36435 \begin_inset space ~
36444 when you use a framed box.
36448 \begin_inset space ~
36453 type and without frames are explained in section
36454 \begin_inset space ~
36458 \begin_inset CommandInset ref
36460 reference "sec:Prevent-Hyphenation"
36473 \begin_layout Section
36475 \begin_inset CommandInset label
36477 name "sec:Box-Dialog"
36482 \begin_inset Index idx
36487 \begin_layout Plain Layout
36489 \begin_inset IndexMacro subentry
36492 \begin_layout Plain Layout
36506 \begin_layout Subsection
36508 \begin_inset Index idx
36513 \begin_layout Plain Layout
36515 \begin_inset IndexMacro subentry
36518 \begin_layout Plain Layout
36532 \begin_layout Standard
36533 In the box dialog you can adjust the box geometry in the fields
36542 The available units for the geometry are explained in Table
36543 \begin_inset space ~
36547 \begin_inset CommandInset ref
36549 reference "tab:Units"
36559 offers the following additional sizes:
36562 \begin_layout Description
36563 Depth This is the plain text
36564 \begin_inset Quotes eld
36568 \begin_inset Quotes erd
36572 It ignores the total depth when there are multiple text lines in the box:
36573 \begin_inset Newline newline
36577 \begin_inset Newline newline
36581 \begin_inset Newline newline
36585 \begin_inset Box Boxed
36595 height_special "depth"
36600 backgroundcolor "none"
36603 \begin_layout Plain Layout
36605 Box height set to 1
36606 \begin_inset space \thinspace{}
36615 \begin_inset Newline newline
36619 \begin_inset Newline newline
36625 \begin_layout Description
36626 Height This is the height of the text that is inside the box.
36628 \begin_inset space \thinspace{}
36632 \begin_inset space \space{}
36635 2 for this size will set the box height to 2
36636 \begin_inset space ~
36639 times the text height:
36641 \begin_inset Box Boxed
36651 height_special "height"
36656 backgroundcolor "none"
36659 \begin_layout Plain Layout
36661 Box height set to 2
36662 \begin_inset space \thinspace{}
36673 \begin_layout Description
36675 \begin_inset space ~
36678 Height This is the Height
36679 \begin_inset space \thinspace{}
36683 \begin_inset space \thinspace{}
36688 \begin_inset Box Boxed
36698 height_special "totalheight"
36703 backgroundcolor "none"
36706 \begin_layout Plain Layout
36708 Box height set to 1
36709 \begin_inset space \thinspace{}
36713 \begin_inset space ~
36724 \begin_layout Description
36725 Width This sets the width of the box as height:
36727 \begin_inset Box Boxed
36737 height_special "width"
36742 backgroundcolor "none"
36745 \begin_layout Plain Layout
36747 Box height set to 1
36748 \begin_inset space \thinspace{}
36759 \begin_layout Subsection
36761 \begin_inset Index idx
36766 \begin_layout Plain Layout
36768 \begin_inset IndexMacro subentry
36771 \begin_layout Plain Layout
36785 \begin_layout Standard
36786 When you have chosen an
36789 \begin_inset space ~
36795 the vertical box alignment can be:
36798 \begin_layout Description
36799 Top This is an example text line.
36801 \begin_inset Box Boxed
36811 height_special "totalheight"
36816 backgroundcolor "none"
36819 \begin_layout Plain Layout
36821 This box is top-aligned.
36826 This is an example text line.
36829 \begin_layout Description
36830 Middle This is an example text line.
36832 \begin_inset Box Boxed
36842 height_special "totalheight"
36847 backgroundcolor "none"
36850 \begin_layout Plain Layout
36852 This box is middle-aligned.
36857 This is an example text line.
36860 \begin_layout Description
36861 Bottom This is an example text line.
36863 \begin_inset Box Boxed
36873 height_special "totalheight"
36878 backgroundcolor "none"
36881 \begin_layout Plain Layout
36883 This box is bottom-aligned.
36888 This is an example text line.
36891 \begin_layout Standard
36892 \begin_inset Note Greyedout
36895 \begin_layout Plain Layout
36901 The vertical box alignment can be lost in the output when you have two boxes in a line and one has e.
36902 \begin_inset space \thinspace{}
36906 \begin_inset space \space{}
36909 a shadow and the other one not.
36917 \begin_layout Standard
36918 The horizontal box alignment can be set via \SpecialChar LyX
36919 's paragraph dialog when you set the box into its own paragraph.
36922 \begin_layout Standard
36923 \begin_inset VSpace bigskip
36926 When you have chosen an
36929 \begin_inset space ~
36935 the box content can be aligned vertically to:
36938 \begin_layout Description
36939 top This is an example text line.
36941 \begin_inset Box Boxed
36951 height_special "totalheight"
36956 backgroundcolor "none"
36959 \begin_layout Plain Layout
36961 This box text is top-aligned.
36966 This is an example text line.
36969 \begin_layout Description
36970 middle This is an example text line.
36972 \begin_inset Box Boxed
36982 height_special "totalheight"
36987 backgroundcolor "none"
36990 \begin_layout Plain Layout
36992 This box text is middle-aligned.
36997 This is an example text line.
37000 \begin_layout Description
37001 bottom This is an example text line.
37003 \begin_inset Box Boxed
37013 height_special "totalheight"
37018 backgroundcolor "none"
37021 \begin_layout Plain Layout
37023 This box text is bottom-aligned.
37028 This is an example text line.
37031 \begin_layout Description
37032 stretch This is an example text line.
37034 \begin_inset Box Boxed
37044 height_special "totalheight"
37049 backgroundcolor "none"
37052 \begin_layout Plain Layout
37057 \begin_layout Plain Layout
37062 \begin_layout Plain Layout
37069 This is an example text line.
37072 \begin_layout Standard
37073 To stretch the box content,
37074 it must consist of more than one paragraph.
37075 In the example above every text line is in an own paragraph.
37078 \begin_layout Standard
37079 \begin_inset VSpace bigskip
37082 To align the box content horizontally you can use \SpecialChar LyX
37083 's paragraph dialog when you have chosen an
37086 \begin_inset space ~
37094 \begin_layout Standard
37096 \begin_inset Box Boxed
37106 height_special "totalheight"
37111 backgroundcolor "none"
37114 \begin_layout Plain Layout
37119 \begin_layout Plain Layout
37124 \begin_layout Plain Layout
37134 \begin_layout Standard
37135 If you have not set an
37138 \begin_inset space ~
37144 you can align the box content horizontally in the box dialog.
37147 \begin_layout Standard
37149 \begin_inset Box Boxed
37159 height_special "totalheight"
37164 backgroundcolor "none"
37167 \begin_layout Plain Layout
37168 This box text is horizontally stretched.
37176 \begin_layout Subsection
37178 \begin_inset CommandInset label
37180 name "sec:Decoration"
37185 \begin_inset Index idx
37190 \begin_layout Plain Layout
37192 \begin_inset IndexMacro subentry
37195 \begin_layout Plain Layout
37209 \begin_layout Standard
37210 The type of the box can be specified in the box dialog in the drop-down list
37215 The following types are possible:
37218 \begin_layout Description
37220 \begin_inset space ~
37223 frame Nothing is drawn.
37226 \begin_layout Description
37228 \begin_inset space ~
37232 \begin_inset space ~
37235 frame This draws a rectangular frame around the box.
37236 The frame line thickness can be specified.
37238 \begin_inset Box Boxed
37248 height_special "totalheight"
37253 backgroundcolor "none"
37256 \begin_layout Plain Layout
37266 \begin_layout Description
37268 \begin_inset space ~
37272 \begin_inset space ~
37275 thin This draws an oval frame around the box.
37276 The frame line thickness has the size 0.4
37277 \begin_inset space \thinspace{}
37282 \begin_inset Box ovalbox
37292 height_special "totalheight"
37297 backgroundcolor "none"
37300 \begin_layout Plain Layout
37311 \begin_layout Description
37313 \begin_inset space ~
37317 \begin_inset space ~
37320 thick This draws an oval frame around the box.
37321 The frame line thickness has the size 0.8
37322 \begin_inset space \thinspace{}
37327 \begin_inset Box Ovalbox
37337 height_special "totalheight"
37342 backgroundcolor "none"
37345 \begin_layout Plain Layout
37356 \begin_layout Description
37358 \begin_inset space ~
37361 shadow This draws a rectangular frame with a shadow around the box.
37362 The frame line thickness and the shadow can be specified.
37364 \begin_inset Box Shadowbox
37374 height_special "totalheight"
37379 backgroundcolor "none"
37382 \begin_layout Plain Layout
37392 \begin_layout Description
37394 \begin_inset space ~
37397 background This draws a box with a red background.
37398 Unlike colored boxes
37402 \begin_layout Plain Layout
37404 \begin_inset space \thinspace{}
37408 \begin_inset CommandInset ref
37410 reference "sec:Colored-Boxes"
37421 it always uses the whole column width and the box is set as its own paragraph.
37423 \begin_inset Box Shaded
37433 height_special "totalheight"
37438 backgroundcolor "none"
37441 \begin_layout Plain Layout
37442 Shaded background box
37450 \begin_layout Description
37452 \begin_inset space ~
37456 \begin_inset space ~
37459 frame This draws a double-line rectangular frame around the box.
37460 The line thickness of the inner frame is 0.75
37461 \begin_inset space \thinspace{}
37465 \begin_inset space ~
37469 the thickness of the outer frame is 1.5
37470 \begin_inset space \thinspace{}
37474 \begin_inset space ~
37478 The distance between the lines is 1.5
37479 \begin_inset space \thinspace{}
37483 \begin_inset space ~
37487 \begin_inset space \thinspace{}
37491 \begin_inset space \thinspace{}
37495 \begin_inset space \thinspace{}
37500 \begin_inset Box Doublebox
37510 height_special "totalheight"
37515 backgroundcolor "none"
37518 \begin_layout Plain Layout
37520 Double rectangular box
37528 \begin_layout Standard
37529 \begin_inset VSpace bigskip
37533 's box label will reflect the different frame types.
37534 To be able to use all types,
37535 the \SpecialChar LaTeX
37541 \begin_inset Index idx
37546 \begin_layout Plain Layout
37549 \begin_inset IndexMacro subentry
37552 \begin_layout Plain Layout
37566 \begin_layout Standard
37567 \begin_inset VSpace bigskip
37570 When you use the decoration
37572 simple rectangular frame
37575 you can allow page breaks within a box.
37577 unlike other framed boxes,
37578 the frame always uses the whole column width and the box is set as its own paragraph:
37580 \begin_inset Box Framed
37590 height_special "totalheight"
37595 backgroundcolor "none"
37598 \begin_layout Plain Layout
37599 Allow page break box
37607 \begin_layout Section
37609 \begin_inset Index idx
37614 \begin_layout Plain Layout
37616 \begin_inset IndexMacro subentry
37619 \begin_layout Plain Layout
37633 \begin_layout Standard
37634 The diameter of the round corners of the oval boxes can be set with the command
37644 \begin_layout Standard
37652 \begin_layout Standard
37653 sets the diameter to 1
37654 \begin_inset space \thinspace{}
37661 \begin_layout Standard
37669 \begin_layout Standard
37670 sets the diameter to
37673 \begin_inset space \thinspace{}
37677 \begin_inset space \thinspace{}
37680 minimum(width and height of box)
37692 \begin_layout Standard
37696 \begin_layout Plain Layout
37706 \begin_inset Box Ovalbox
37716 height_special "totalheight"
37721 backgroundcolor "none"
37724 \begin_layout Plain Layout
37733 \begin_inset space \thinspace{}
37737 \begin_inset space \thinspace{}
37741 \begin_inset space \thinspace{}
37753 \begin_layout Plain Layout
37765 \begin_layout Standard
37766 \begin_inset VSpace bigskip
37772 \begin_layout Standard
37773 The default background color red of
37777 boxes can either be changed locally with the command
37781 definecolor{shadecolor}
37783 or globally with the menu
37785 Tools\SpecialChar menuseparator
37786 Preferences\SpecialChar menuseparator
37787 Colors\SpecialChar menuseparator
37789 \begin_inset space ~
37801 command is explained in section
37802 \begin_inset space ~
37806 \begin_inset CommandInset ref
37808 reference "sec:Colored-Tables"
37817 \begin_layout Plain Layout
37824 requires the \SpecialChar LaTeX
37831 \begin_inset space ~
37835 \begin_inset CommandInset ref
37837 reference "sec:Colored-Boxes"
37847 For example the appearance of the following shaded background box is set with the \SpecialChar TeX
37851 \begin_layout Standard
37856 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
37859 \begin_layout Standard
37863 \begin_layout Plain Layout
37867 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
37873 \begin_inset Box Shaded
37883 height_special "totalheight"
37888 backgroundcolor "none"
37891 \begin_layout Plain Layout
37894 This is yellow text in a
37904 box with dark green background.
37913 \begin_layout Plain Layout
37917 definecolor{shadecolor}{rgb}{1,0,0}
37925 \begin_layout Standard
37926 \begin_inset VSpace bigskip
37929 Manually changed sizes and colors are valid for all boxes following the commands that change them.
37932 \begin_layout Section
37934 \begin_inset CommandInset label
37936 name "sec:Minipages"
37941 \begin_inset Index idx
37946 \begin_layout Plain Layout
37948 \begin_inset IndexMacro subentry
37951 \begin_layout Plain Layout
37965 \begin_layout Standard
37966 Minipages are treated by \SpecialChar LaTeX
37967 as pages within pages and can therefore for example have their own footnotes.
37970 \begin_layout Standard
37971 Minipages are useful when you write documents with different languages.
37974 \begin_layout Standard
37975 Below are two example minipages side by side.
37976 Their width is set to 45
37977 \begin_inset space \thinspace{}
37980 col% and they are separated by a horizontal fill,
37981 that was inserted via the menu
37983 Insert\SpecialChar menuseparator
37985 \begin_inset space ~
37988 Formatting\SpecialChar menuseparator
37990 \begin_inset space ~
37996 \begin_inset Newpage newpage
38002 \begin_layout Standard
38003 \begin_inset Box Frameless
38013 height_special "totalheight"
38018 backgroundcolor "none"
38021 \begin_layout Plain Layout
38024 Dies ist ein deutscher Text.
38025 Dies ist ein deutscher Text.
38026 Dies ist ein deutscher Text.
38027 Dies ist ein deutscher Text.
38028 Dies ist ein deutscher Text.
38029 Dies ist ein deutscher Text.
38030 Dies ist ein deutscher Text.
38031 Dies ist ein deutscher Text.
38032 Dies ist ein deutscher Text.
38033 Dies ist ein deutscher Text.
38034 Dies ist ein deutscher Text.
38035 Dies ist ein deutscher Text.
38036 Dies ist ein deutscher Text
38040 \begin_layout Plain Layout
38043 Dies ist eine deutsche Fußnote.
38049 Dies ist ein deutscher Text.
38050 Dies ist ein deutscher Text.
38056 \begin_inset space \hfill{}
38060 \begin_inset Box Frameless
38070 height_special "totalheight"
38075 backgroundcolor "none"
38078 \begin_layout Plain Layout
38079 This is an English Text.
38080 This is an English Text.
38081 This is an English Text.
38082 This is an English Text.
38083 This is an English Text.
38084 This is an English Text.
38085 This is an English Text.
38086 This is an English Text.
38087 This is an English Text.
38088 This is an English Text.
38089 This is an English Text.
38090 This is an English Text.
38091 This is an English Text.
38092 This is an English Text.
38093 This is an English Text.
38094 This is an English Text.
38098 \begin_layout Plain Layout
38099 This is an English footnote.
38104 This is an English Text.
38112 \begin_layout Standard
38113 \begin_inset VSpace bigskip
38116 The document-wide paragraph settings are ignored within minipages.
38117 That means that there will be no space between paragraphs in minipages although you set it to e.
38118 \begin_inset space \thinspace{}
38122 \begin_inset space \space{}
38129 in the document settings.
38132 \begin_layout Standard
38133 Minipages can also be used to set a background color for text parts,
38135 \begin_inset space ~
38139 \begin_inset CommandInset ref
38141 reference "sec:Colored-Boxes"
38149 \begin_layout Standard
38150 \begin_inset Note Greyedout
38153 \begin_layout Plain Layout
38159 You cannot have floats or margin notes inside minipages but minipages can be used inside tables,
38169 \begin_layout Standard
38170 \begin_inset VSpace bigskip
38176 \begin_layout Standard
38178 has also basic support for minipages whose size is automatically determined by the width of their contents,
38181 Variable-width Minipages
38184 The \SpecialChar LyX
38187 varwidth-floats-side-by-side
38189 gives examples of variable-width minipages used for placing two floats side-by-side.
38192 \begin_layout Section
38194 \begin_inset CommandInset label
38196 name "sec:Parboxes"
38201 \begin_inset Index idx
38206 \begin_layout Plain Layout
38208 \begin_inset IndexMacro subentry
38211 \begin_layout Plain Layout
38225 \begin_layout Standard
38226 Parboxes are very similar to minipages with the difference that they cannot have footnotes.
38229 \begin_layout Standard
38231 \begin_inset Box Frameless
38241 height_special "totalheight"
38246 backgroundcolor "none"
38249 \begin_layout Plain Layout
38250 This a text within a parbox.
38251 This a text within a parbox.
38254 \begin_layout Plain Layout
38255 This footnote won't appear:
38259 \begin_layout Plain Layout
38260 This footnote is inside a parbox and will therefore not appear.
38273 \begin_layout Section
38274 Boxes for Words and Characters
38275 \begin_inset Index idx
38280 \begin_layout Plain Layout
38282 \begin_inset IndexMacro subentry
38285 \begin_layout Plain Layout
38299 \begin_layout Subsection
38300 Prevent Hyphenation
38301 \begin_inset CommandInset label
38303 name "sec:Prevent-Hyphenation"
38308 \begin_inset Index idx
38313 \begin_layout Plain Layout
38315 \begin_inset IndexMacro subentry
38318 \begin_layout Plain Layout
38319 to Prevent Hyphenation
38332 \begin_layout Standard
38333 You can use the box type
38337 to prevent words or text from being hyphenated.
38338 \begin_inset Newline newline
38341 Here is an example text:
38344 \begin_layout Standard
38345 This line is an example to show how you can prevent the hyphenation of
38346 \begin_inset Quotes eld
38350 \begin_inset Quotes erd
38356 \begin_layout Standard
38357 To prevent the hyphenation of the word
38358 \begin_inset Quotes eld
38362 \begin_inset Quotes erd
38366 put the word into a box,
38370 \begin_inset space ~
38379 and use no explicit width.
38382 \begin_layout Standard
38383 This is the result:
38386 \begin_layout Standard
38387 This line is an example to show how you can prevent the hyphenation of
38388 \begin_inset Box Frameless
38398 height_special "totalheight"
38403 backgroundcolor "none"
38406 \begin_layout Plain Layout
38407 \begin_inset Quotes eld
38411 \begin_inset Quotes erd
38422 \begin_layout Standard
38423 You can alternatively set the command
38424 \begin_inset Quotes eld
38434 \begin_inset Quotes grd
38437 as \SpecialChar TeX
38438 Code directly before the word:
38441 \begin_layout Standard
38442 This line is an example to show how you can prevent the hyphenation of
38443 \begin_inset Quotes eld
38450 \begin_layout Plain Layout
38460 \begin_inset Quotes erd
38466 \begin_layout Standard
38467 Of course the word now protrudes over the side margin.
38471 Insert\SpecialChar menuseparator
38472 Formatting\SpecialChar menuseparator
38474 \begin_inset space ~
38478 \begin_inset space ~
38486 arg "newline-insert newline"
38489 ) a line break before the word:
38492 \begin_layout Standard
38493 This line is an example to show how you can prevent the hyphenation of
38494 \begin_inset Newline newline
38498 \begin_inset Box Frameless
38508 height_special "totalheight"
38513 backgroundcolor "none"
38516 \begin_layout Plain Layout
38517 \begin_inset Quotes eld
38521 \begin_inset Quotes erd
38532 \begin_layout Subsection
38534 \begin_inset CommandInset label
38536 name "subsec:Vertical-Alignment"
38541 \begin_inset Index idx
38546 \begin_layout Plain Layout
38548 \begin_inset IndexMacro subentry
38551 \begin_layout Plain Layout
38552 for Vertical Alignment
38563 \begin_inset Index idx
38568 \begin_layout Plain Layout
38570 \begin_inset IndexMacro subentry
38573 \begin_layout Plain Layout
38587 \begin_layout Standard
38588 With the help of the command
38594 you can align words,
38595 characters or other boxes vertically relative to the surrounding text.
38602 is used with the following scheme:
38605 \begin_layout Standard
38610 raisebox{lift}[height][depth]{box content}
38613 \begin_layout Standard
38614 The lift can be a positive value to raise the box or a negative value to lower the box.
38617 \begin_layout Standard
38618 To align for example the word
38619 \begin_inset Quotes eld
38623 \begin_inset Quotes erd
38626 so that the bottom of the
38627 \begin_inset Quotes eld
38631 \begin_inset Quotes erd
38635 \begin_inset Quotes eld
38639 \begin_inset Quotes erd
38642 is at the baseline,
38646 \begin_layout Standard
38656 \begin_layout Standard
38657 in \SpecialChar TeX
38658 Code before the word.
38659 After the word insert a closing brace
38660 \begin_inset Quotes eld
38668 \begin_inset Quotes erd
38671 in \SpecialChar TeX
38673 \begin_inset Newline newline
38676 This is the result:
38679 \begin_layout Standard
38680 This is a text line with the word
38684 \begin_layout Plain Layout
38696 \begin_inset Quotes eld
38700 \begin_inset Quotes erd
38707 \begin_layout Plain Layout
38717 \begin_layout Standard
38718 \begin_inset VSpace bigskip
38721 When you raise or lower characters in a line,
38722 the line distance will be spread:
38725 \begin_layout Standard
38726 This is a text line with the word
38730 \begin_layout Plain Layout
38742 \begin_inset Quotes eld
38746 \begin_inset Quotes erd
38753 \begin_layout Plain Layout
38761 \begin_inset Newline newline
38764 This is a text line with the word
38768 \begin_layout Plain Layout
38778 \begin_inset Quotes eld
38782 \begin_inset Quotes erd
38789 \begin_layout Plain Layout
38799 \begin_layout Standard
38800 If you want to prevent this for a certain reason,
38801 set the box height to a zero value.
38805 \begin_layout Standard
38815 \begin_layout Standard
38816 This is a text line with the word
38820 \begin_layout Plain Layout
38832 \begin_inset Quotes eld
38836 \begin_inset Quotes erd
38843 \begin_layout Plain Layout
38851 \begin_inset Newline newline
38855 \begin_inset Newline newline
38858 This is a text line with the word
38862 \begin_layout Plain Layout
38866 raisebox{0.5cm}[0pt]{
38872 \begin_inset Quotes eld
38876 \begin_inset Quotes erd
38883 \begin_layout Plain Layout
38893 \begin_layout Section
38895 \begin_inset CommandInset label
38897 name "sec:Colored-Boxes"
38902 \begin_inset Index idx
38907 \begin_layout Plain Layout
38909 \begin_inset IndexMacro subentry
38912 \begin_layout Plain Layout
38926 \begin_layout Standard
38927 To color the background of a box just select the color you like in the box dialog.
38928 This is for example a box with orange background:
38930 \begin_inset Box Frameless
38940 height_special "totalheight"
38945 backgroundcolor "orange"
38948 \begin_layout Plain Layout
38949 Box with orange background
38957 \begin_layout Standard
38958 If you use the decoration
38961 \begin_inset space ~
38965 \begin_inset space ~
38970 you can set a frame color.
38971 In this case you must also specify a background color (LyX sets white as default).
38972 Here is an example:
38974 \begin_inset Box Boxed
38984 height_special "totalheight"
38989 backgroundcolor "yellow"
38992 \begin_layout Plain Layout
38993 Box with teal frame color and yellow background color
39001 \begin_layout Standard
39002 \begin_inset VSpace bigskip
39005 Of course you can also have colored text inside a colored box:
39006 \begin_inset Newline newline
39010 \begin_inset Box Boxed
39020 height_special "totalheight"
39025 backgroundcolor "magenta"
39028 \begin_layout Plain Layout
39031 This is colored text within a colored,
39040 \begin_layout Standard
39041 \begin_inset VSpace bigskip
39047 \begin_layout Standard
39048 If you need another color than the predefined ones,
39049 you can define your own color as described in section
39050 \begin_inset space ~
39054 \begin_inset CommandInset ref
39056 reference "sec:Colored-Tables"
39062 To use your own color you must typeset the box by using TeX code:
39065 \begin_layout Standard
39066 Colored boxes without frame are created with the command
39073 It has the following scheme:
39076 \begin_layout Standard
39081 colorbox{color}{box content}
39084 \begin_layout Standard
39085 The box content can also be a box and colored boxes can also be within other boxes.
39087 \begin_inset space \thinspace{}
39091 \begin_inset space \space{}
39094 a darkgreen background for a word,
39098 \begin_layout Standard
39103 colorbox{darkgreen}{
39106 \begin_layout Standard
39107 before the word in \SpecialChar TeX
39109 After the word insert a closing brace
39110 \begin_inset Quotes eld
39118 \begin_inset Quotes erd
39121 in \SpecialChar TeX
39123 \begin_inset Newline newline
39126 This is the result:
39129 \begin_layout Standard
39130 This is a line where the word
39134 \begin_layout Plain Layout
39138 colorbox{darkgreen}{
39144 \begin_inset Quotes eld
39148 \begin_inset Quotes erd
39155 \begin_layout Plain Layout
39162 has a darkgreen background.
39165 \begin_layout Standard
39167 colored boxes are created with the command
39174 It has the following scheme:
39177 \begin_layout Standard
39182 fcolorbox{frame color}{box color}{box content}
39185 \begin_layout Section
39186 Rotated and Scaled Boxes
39189 \begin_layout Standard
39190 To use the boxes described in this section,
39195 must be loaded in the document settings.
39198 \begin_layout Standard
39199 \begin_inset Note Greyedout
39202 \begin_layout Plain Layout
39208 Not all DVI viewers are able to display rotated or scaled material.
39216 \begin_layout Standard
39217 \begin_inset Note Greyedout
39220 \begin_layout Plain Layout
39226 Floats are not allowed inside a rotated or scaled box.
39234 \begin_layout Subsection
39236 \begin_inset Index idx
39241 \begin_layout Plain Layout
39243 \begin_inset IndexMacro subentry
39246 \begin_layout Plain Layout
39258 \begin_inset Index idx
39263 \begin_layout Plain Layout
39272 \begin_layout Standard
39273 To rotate material,
39274 you can put it into a
39279 Such a box is inserted via the menu
39281 Insert\SpecialChar menuseparator
39282 Custom Insets\SpecialChar menuseparator
39288 \begin_layout Standard
39289 The rotation origin can be specified via the inset
39295 Insert\SpecialChar menuseparator
39303 The following positions are possible:
39329 along with meaningful combinations of the four base positions.
39334 means that the rotation origin is at the top left corner of the box.
39335 When no rotation origin is specified,
39341 The rotation angle is a number that can be negative that specifies the angle in degrees.
39342 The rotation direction is counterclockwise.
39345 \begin_layout Standard
39346 In the following example
39350 was inserted to the
39358 was inserted to the
39365 \begin_layout Standard
39367 \begin_inset Flex Rotatebox
39370 \begin_layout Plain Layout
39371 \begin_inset Argument 1
39374 \begin_layout Plain Layout
39381 \begin_inset Argument 2
39384 \begin_layout Plain Layout
39398 \begin_layout Standard
39399 The box content can also be another box or an inline formula:
39402 \begin_layout Standard
39404 \begin_inset Flex Rotatebox
39407 \begin_layout Plain Layout
39408 \begin_inset Argument 1
39411 \begin_layout Plain Layout
39418 \begin_inset Argument 2
39421 \begin_layout Plain Layout
39428 \begin_inset Box Doublebox
39438 height_special "totalheight"
39443 backgroundcolor "none"
39446 \begin_layout Plain Layout
39458 \begin_inset Flex Rotatebox
39461 \begin_layout Plain Layout
39462 \begin_inset Argument 1
39465 \begin_layout Plain Layout
39472 \begin_inset Argument 2
39475 \begin_layout Plain Layout
39482 \begin_inset Formula $\int A\,\mathrm{d}x=B$
39493 \begin_layout Standard
39494 or an image or table:
39497 \begin_layout Standard
39499 \begin_inset Flex Rotatebox
39502 \begin_layout Plain Layout
39503 \begin_inset Argument 1
39506 \begin_layout Plain Layout
39513 \begin_inset Argument 2
39516 \begin_layout Plain Layout
39523 \begin_inset Graphics
39524 filename clipart/Star-structure.pdf
39535 with a rotated image
39536 \begin_inset Flex Rotatebox
39539 \begin_layout Plain Layout
39540 \begin_inset Argument 2
39543 \begin_layout Plain Layout
39550 \begin_inset Tabular
39551 <lyxtabular version="3" rows="2" columns="2">
39552 <features tabularvalignment="middle">
39553 <column alignment="center" valignment="top">
39554 <column alignment="center" valignment="top">
39556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39559 \begin_layout Plain Layout
39565 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
39568 \begin_layout Plain Layout
39576 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
39579 \begin_layout Plain Layout
39585 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
39588 \begin_layout Plain Layout
39605 \begin_inset Index idx
39610 \begin_layout Plain Layout
39612 \begin_inset IndexMacro subentry
39615 \begin_layout Plain Layout
39627 \begin_inset Index idx
39632 \begin_layout Plain Layout
39633 Table Customization
39634 \begin_inset IndexMacro subentry
39637 \begin_layout Plain Layout
39651 \begin_layout Standard
39652 \begin_inset Note Greyedout
39655 \begin_layout Plain Layout
39665 inset is empty or contains other characters than numbers you will get \SpecialChar LaTeX
39666 errors when viewing/exporting the document.
39674 \begin_layout Subsection
39676 \begin_inset Index idx
39681 \begin_layout Plain Layout
39683 \begin_inset IndexMacro subentry
39686 \begin_layout Plain Layout
39698 \begin_inset Index idx
39703 \begin_layout Plain Layout
39712 \begin_layout Standard
39713 To scale material put it into a
39718 Such a box is inserted via the menu
39720 Insert\SpecialChar menuseparator
39721 Custom Insets\SpecialChar menuseparator
39727 \begin_layout Standard
39732 inset has the mandatory inset
39736 and the optional inset
39740 (inserted via the menu
39742 Insert\SpecialChar menuseparator
39746 Input there the horizontal and vertical scale factor,
39753 the horizontal factor will also be used as the vertical one.
39756 \begin_layout Standard
39757 To get for example the double text size,
39758 compared to the document text size,
39770 \begin_inset Flex Scalebox
39773 \begin_layout Plain Layout
39774 \begin_inset Argument 1
39777 \begin_layout Plain Layout
39791 \begin_layout Standard
39809 \begin_inset Flex Scalebox
39812 \begin_layout Plain Layout
39813 \begin_inset Argument 1
39816 \begin_layout Plain Layout
39823 \begin_inset Argument 2
39826 \begin_layout Plain Layout
39840 \begin_layout Standard
39841 If the scaling factor is negative,
39842 the box content will be mirrored.
39859 can be used to create mirror writing:
39861 \begin_inset Flex Scalebox
39864 \begin_layout Plain Layout
39865 \begin_inset Argument 1
39868 \begin_layout Plain Layout
39875 \begin_inset Argument 2
39878 \begin_layout Plain Layout
39892 \begin_layout Standard
39910 \begin_inset Flex Scalebox
39913 \begin_layout Plain Layout
39914 \begin_inset Argument 1
39917 \begin_layout Plain Layout
39924 \begin_inset Argument 2
39927 \begin_layout Plain Layout
39941 \begin_layout Standard
39948 Insert\SpecialChar menuseparator
39949 Custom Insets\SpecialChar menuseparator
39975 \begin_layout Standard
39976 \begin_inset Note Greyedout
39979 \begin_layout Plain Layout
39989 inset is empty or contains other characters than numbers you will get LaTeX errors when viewing/exporting the document.
39997 \begin_layout Standard
39998 \begin_inset VSpace bigskip
40007 Insert\SpecialChar menuseparator
40008 Custom Insets\SpecialChar menuseparator
40011 ) is used to scale the content to a defined width and height.
40016 inset has the mandatory inset
40020 and the optional inset
40024 (inserted via the menu
40026 Insert\SpecialChar menuseparator
40030 Input there the width and height,
40032 as value with a unit.
40034 \begin_inset CommandInset ref
40036 reference "tab:Units"
40041 lists the possible units.
40042 If there is an exclamation mark
40047 in one of the two insets,
40048 the size is set so that the aspect ratio of the box content is kept.
40053 inset is used an exclamation mark will internally be used for the height.
40056 \begin_layout Standard
40075 \begin_inset Flex Resizebox
40078 \begin_layout Plain Layout
40079 \begin_inset Argument 1
40082 \begin_layout Plain Layout
40089 \begin_inset Argument 2
40092 \begin_layout Plain Layout
40104 \begin_inset Newline newline
40130 \begin_inset Flex Resizebox
40133 \begin_layout Plain Layout
40134 \begin_inset Argument 1
40137 \begin_layout Plain Layout
40144 \begin_inset Argument 2
40147 \begin_layout Plain Layout
40161 \begin_layout Standard
40162 \begin_inset Note Greyedout
40165 \begin_layout Plain Layout
40175 inset is empty or contains an invalid unit you will get LaTeX errors when viewing/exporting the document.
40183 \begin_layout Standard
40184 \begin_inset VSpace bigskip
40190 \begin_layout Standard
40191 The boxes can be combined in any order.
40200 which is in turn inside a
40207 \begin_layout Standard
40210 \begin_inset Flex Rotatebox
40213 \begin_layout Plain Layout
40214 \begin_inset Argument 1
40217 \begin_layout Plain Layout
40224 \begin_inset Argument 2
40227 \begin_layout Plain Layout
40234 \begin_inset Flex Resizebox
40237 \begin_layout Plain Layout
40238 \begin_inset Argument 1
40241 \begin_layout Plain Layout
40248 \begin_inset Flex Reflectbox
40251 \begin_layout Plain Layout
40270 \begin_layout Standard
40274 and inline formulas are allowed as box content:
40277 \begin_layout Standard
40280 \begin_inset Flex Resizebox
40283 \begin_layout Plain Layout
40284 \begin_inset Argument 1
40287 \begin_layout Plain Layout
40294 \begin_inset Flex Reflectbox
40297 \begin_layout Plain Layout
40298 \begin_inset Graphics
40299 filename clipart/Star-structure.pdf
40316 \begin_inset Flex Resizebox
40319 \begin_layout Plain Layout
40320 \begin_inset Argument 1
40323 \begin_layout Plain Layout
40330 \begin_inset Flex Reflectbox
40333 \begin_layout Plain Layout
40334 \begin_inset Tabular
40335 <lyxtabular version="3" rows="2" columns="2">
40336 <features tabularvalignment="middle">
40337 <column alignment="center" valignment="top">
40338 <column alignment="center" valignment="top">
40340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40343 \begin_layout Plain Layout
40349 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
40352 \begin_layout Plain Layout
40360 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
40363 \begin_layout Plain Layout
40369 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
40372 \begin_layout Plain Layout
40394 \begin_inset Flex Resizebox
40397 \begin_layout Plain Layout
40398 \begin_inset Argument 1
40401 \begin_layout Plain Layout
40408 \begin_inset Flex Reflectbox
40411 \begin_layout Plain Layout
40412 \begin_inset Formula $\int A\,\mathrm{d}x=B$
40426 \begin_inset Index idx
40431 \begin_layout Plain Layout
40433 \begin_inset IndexMacro subentry
40436 \begin_layout Plain Layout
40448 \begin_inset Index idx
40453 \begin_layout Plain Layout
40454 Table Customization
40455 \begin_inset IndexMacro subentry
40458 \begin_layout Plain Layout
40472 \begin_layout Standard
40473 When the global formula style
40477 is used in the document
40481 \begin_layout Plain Layout
40483 \begin_inset Quotes eld
40487 \begin_inset Quotes erd
40490 is added to the document class options.
40496 display style formulas can also be scaled.
40499 \begin_layout Chapter
40500 Objects Surrounded by Text
40501 \begin_inset Index idx
40506 \begin_layout Plain Layout
40515 \begin_layout Section
40517 \begin_inset CommandInset label
40519 name "sec:Wrap-Floats"
40524 \begin_inset Index idx
40529 \begin_layout Plain Layout
40531 \begin_inset IndexMacro subentry
40534 \begin_layout Plain Layout
40546 \begin_inset Index idx
40551 \begin_layout Plain Layout
40553 \begin_inset IndexMacro subentry
40556 \begin_layout Plain Layout
40570 \begin_layout Standard
40571 \begin_inset Wrap figure
40578 \begin_layout Plain Layout
40579 \begin_inset Graphics
40580 filename clipart/2D-intensity-plot.pdf
40582 scaleBeforeRotation
40583 rotateOrigin center
40590 \begin_layout Plain Layout
40591 \begin_inset Caption Standard
40593 \begin_layout Plain Layout
40594 \begin_inset CommandInset label
40596 name "fig:This-is-a"
40601 \change_deleted 274215730 1669306080
40603 \change_inserted 274215730 1669306089
40616 This float type is used if you want to wrap text around a figure or table so that it only occupies some fraction of the column width.
40617 It can be inserted using the menu
40619 Insert\SpecialChar menuseparator
40620 Floats\SpecialChar menuseparator
40622 \change_inserted 274215730 1669306057
40624 \begin_inset space ~
40628 \change_deleted 274215730 1669306060
40630 \begin_inset space ~
40634 \begin_inset space ~
40642 \change_deleted 274215730 1669306067
40646 \begin_inset space ~
40650 \begin_inset space ~
40654 \change_inserted 274215730 1669306070
40656 \begin_inset space ~
40663 if the \SpecialChar LaTeX
40669 \begin_inset Index idx
40674 \begin_layout Plain Layout
40677 \begin_inset IndexMacro subentry
40680 \begin_layout Plain Layout
40695 \begin_layout Plain Layout
40696 Installing a \SpecialChar LaTeX
40697 -package is explained it in the
40701 \begin_inset space ~
40711 The settings of the float can be modified by right-clicking on the float box.
40712 The mandatory settings are the float
40725 that specifies how much the float is set into the paragraph
40726 \begin_inset space \thinspace{}
40730 \begin_inset space \thinspace{}
40737 \begin_inset space ~
40742 that specifies how many text lines the float will approximately need.
40743 The line span is often hard to approximate;
40744 so it is better only to use it when you encounter float placement problems.
40745 You can furthermore decide if \SpecialChar LaTeX
40746 is allowed to let the float float within the paragraph or to surrounding paragraphs.
40748 \begin_inset space ~
40752 \begin_inset CommandInset ref
40754 reference "fig:This-is-a"
40759 is an example text wrap float with a width of 40
40760 \begin_inset space \thinspace{}
40765 \begin_inset space \thinspace{}
40772 \begin_layout Standard
40773 \begin_inset Note Greyedout
40776 \begin_layout Plain Layout
40783 \begin_inset space ~
40786 wrap float floats are fragile!
40788 \begin_inset space \thinspace{}
40792 \begin_inset space \space{}
40795 having a figure too close to the bottom of the page can mess things up in such a way that the float does not appear in the output or that it is placed over some other text.
40803 \begin_layout Standard
40805 the following applies for wrap floats:
40808 \begin_layout Itemize
40809 They should not be placed in paragraphs that run over a page break.
40810 That means that wrap floats are better inserted in their exact place when the document is almost finished and you are able to estimate where page breaks will appear.
40813 \begin_layout Itemize
40814 They should either be placed in their own paragraph before the paragraph where they should wrap into or within a paragraph.
40817 \begin_layout Itemize
40818 In consecutive paragraphs they may cause troubles,
40819 so ensure that there is a text paragraph between them as separator.
40822 \begin_layout Itemize
40823 They are not allowed in section headings or tables.
40826 \begin_layout Itemize
40827 Their numbering and referencing works as described in chap.
40828 \begin_inset space \thinspace{}
40832 \begin_inset CommandInset ref
40834 reference "chap:Floats"
40842 \begin_layout Section
40843 Surrounded Fixed Objects
40844 \begin_inset Index idx
40849 \begin_layout Plain Layout
40851 \begin_inset IndexMacro subentry
40854 \begin_layout Plain Layout
40868 \begin_layout Standard
40869 The wrap floats described in sec.
40870 \begin_inset space \thinspace{}
40874 \begin_inset CommandInset ref
40876 reference "sec:Wrap-Floats"
40881 have these positions in the paragraph:
40884 \begin_layout Standard
40887 \begin_inset Tabular
40888 <lyxtabular version="3" rows="2" columns="2">
40889 <features tabularvalignment="middle">
40890 <column alignment="center" valignment="top">
40891 <column alignment="center" valignment="top">
40893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40896 \begin_layout Plain Layout
40899 arg "dialog-show-new-inset graphics"
40907 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40910 \begin_layout Plain Layout
40918 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40921 \begin_layout Plain Layout
40927 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40930 \begin_layout Plain Layout
40942 \begin_inset Tabular
40943 <lyxtabular version="3" rows="2" columns="2">
40944 <features tabularvalignment="middle">
40945 <column alignment="center" valignment="top">
40946 <column alignment="center" valignment="top">
40948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40951 \begin_layout Plain Layout
40957 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40960 \begin_layout Plain Layout
40963 arg "dialog-show-new-inset graphics"
40973 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40976 \begin_layout Plain Layout
40982 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40985 \begin_layout Plain Layout
40999 \begin_layout Standard
41000 To get an object exactly at the position where it is inserted,
41001 for example to get one of these positions:
41002 \begin_inset VSpace defskip
41008 \begin_layout Standard
41011 \begin_inset Tabular
41012 <lyxtabular version="3" rows="2" columns="2">
41013 <features tabularvalignment="middle">
41014 <column alignment="center" valignment="top">
41015 <column alignment="center" valignment="top">
41017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41020 \begin_layout Plain Layout
41026 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
41029 \begin_layout Plain Layout
41037 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
41040 \begin_layout Plain Layout
41043 arg "dialog-show-new-inset graphics"
41051 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
41054 \begin_layout Plain Layout
41066 \begin_inset Tabular
41067 <lyxtabular version="3" rows="2" columns="2">
41068 <features tabularvalignment="middle">
41069 <column alignment="center" valignment="top">
41070 <column alignment="center" valignment="top">
41072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41075 \begin_layout Plain Layout
41081 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
41084 \begin_layout Plain Layout
41092 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
41095 \begin_layout Plain Layout
41101 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
41104 \begin_layout Plain Layout
41107 arg "dialog-show-new-inset graphics"
41121 \begin_inset Tabular
41122 <lyxtabular version="3" rows="2" columns="3">
41123 <features tabularvalignment="middle">
41124 <column alignment="center" valignment="top">
41125 <column alignment="center" valignment="top">
41126 <column alignment="center" valignment="top">
41128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41131 \begin_layout Plain Layout
41137 <cell alignment="center" valignment="top" topline="true" usebox="none">
41140 \begin_layout Plain Layout
41143 arg "dialog-show-new-inset graphics"
41151 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
41154 \begin_layout Plain Layout
41162 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
41165 \begin_layout Plain Layout
41171 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
41174 \begin_layout Plain Layout
41180 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
41183 \begin_layout Plain Layout
41195 \begin_inset Tabular
41196 <lyxtabular version="3" rows="2" columns="3">
41197 <features tabularvalignment="middle">
41198 <column alignment="center" valignment="top">
41199 <column alignment="center" valignment="top">
41200 <column alignment="center" valignment="top">
41202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41205 \begin_layout Plain Layout
41211 <cell alignment="center" valignment="top" topline="true" usebox="none">
41214 \begin_layout Plain Layout
41220 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
41223 \begin_layout Plain Layout
41231 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
41234 \begin_layout Plain Layout
41240 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
41243 \begin_layout Plain Layout
41246 arg "dialog-show-new-inset graphics"
41254 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
41257 \begin_layout Plain Layout
41271 \begin_layout Standard
41274 \begin_inset Tabular
41275 <lyxtabular version="3" rows="3" columns="2">
41276 <features tabularvalignment="middle">
41277 <column alignment="center" valignment="top">
41278 <column alignment="center" valignment="top">
41280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41283 \begin_layout Plain Layout
41289 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
41292 \begin_layout Plain Layout
41300 <cell alignment="center" valignment="top" leftline="true" usebox="none">
41303 \begin_layout Plain Layout
41306 arg "dialog-show-new-inset graphics"
41314 <cell alignment="center" valignment="top" rightline="true" usebox="none">
41317 \begin_layout Plain Layout
41325 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
41328 \begin_layout Plain Layout
41334 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
41337 \begin_layout Plain Layout
41349 \begin_inset Tabular
41350 <lyxtabular version="3" rows="3" columns="3">
41351 <features tabularvalignment="middle">
41352 <column alignment="center" valignment="top">
41353 <column alignment="center" valignment="top">
41354 <column alignment="center" valignment="top">
41356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41359 \begin_layout Plain Layout
41365 <cell alignment="center" valignment="top" topline="true" usebox="none">
41368 \begin_layout Plain Layout
41374 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
41377 \begin_layout Plain Layout
41385 <cell alignment="center" valignment="top" leftline="true" usebox="none">
41388 \begin_layout Plain Layout
41394 <cell alignment="center" valignment="top" usebox="none">
41397 \begin_layout Plain Layout
41400 arg "dialog-show-new-inset graphics"
41408 <cell alignment="center" valignment="top" rightline="true" usebox="none">
41411 \begin_layout Plain Layout
41419 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
41422 \begin_layout Plain Layout
41428 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
41431 \begin_layout Plain Layout
41437 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
41440 \begin_layout Plain Layout
41452 \begin_inset Tabular
41453 <lyxtabular version="3" rows="3" columns="2">
41454 <features tabularvalignment="middle">
41455 <column alignment="center" valignment="top">
41456 <column alignment="center" valignment="top">
41458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41461 \begin_layout Plain Layout
41467 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
41470 \begin_layout Plain Layout
41478 <cell alignment="center" valignment="top" leftline="true" usebox="none">
41481 \begin_layout Plain Layout
41487 <cell alignment="center" valignment="top" rightline="true" usebox="none">
41490 \begin_layout Plain Layout
41493 arg "dialog-show-new-inset graphics"
41503 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
41506 \begin_layout Plain Layout
41512 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
41515 \begin_layout Plain Layout
41529 \begin_layout Standard
41531 you can use the \SpecialChar LaTeX
41537 \begin_inset Index idx
41542 \begin_layout Plain Layout
41545 \begin_inset IndexMacro subentry
41548 \begin_layout Plain Layout
41560 Here is an example:
41563 \begin_layout Standard
41567 \begin_layout Plain Layout
41577 \begin_inset Note Note
41580 \begin_layout Plain Layout
41581 The following section will only be displayed when the \SpecialChar LaTeX
41594 \begin_layout Standard
41598 \begin_layout Plain Layout
41602 begin{window}[2,c,{
41608 \begin_inset Graphics
41609 filename clipart/2D-intensity-plot.pdf
41612 scaleBeforeRotation
41613 rotateOrigin center
41621 \begin_layout Plain Layout
41626 \begin_layout Plain Layout
41635 It was in the spring of the year 1894 that all London was interested,
41636 and the fashionable world dismayed,
41637 by the murder of the Honourable Ronald Adair under most unusual and inexplicable circumstances.
41638 The public has already learned those particulars of the crime which
41644 \begin_layout Plain Layout
41655 came out in the police investigation,
41656 but a good deal was suppressed upon that occasion,
41657 since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts.
41659 at the end of nearly ten years,
41660 am I allowed to supply those missing links which make up the whole of that remarkable chain.
41666 \begin_layout Plain Layout
41678 \begin_layout Standard
41682 \begin_layout Plain Layout
41691 Footnote of the paragraph with the fixed object.
41695 \begin_layout Plain Layout
41705 \begin_layout Standard
41706 Surrounded fixed objects are used to let text float around them,
41707 at which the object's position in the paragraph can be determined by the number of lines above it.
41708 In contrary to floats is it not possible to have a numbered caption.
41711 \begin_layout Standard
41712 A fixed object is inserted by adding the command
41715 \begin_layout Standard
41720 begin{window}[2,c,{
41723 \begin_layout Standard
41724 as \SpecialChar TeX
41725 Code at the beginning of the paragraph.
41726 The first parameter in the bracket,
41728 defines the number of lines above the object,
41731 the position of the object.
41733 'c' and 'r' (for left,
41735 right) are possible.
41736 Behind the command you insert the object.
41737 In this example an image with a width of 40
41738 \begin_inset space \thinspace{}
41741 % of the text column width was inserted.
41742 The object can also be a table,
41743 a box or an equation.
41744 Behind the object the command
41747 \begin_layout Standard
41750 },description text]
41751 \begin_inset Newline newline
41757 \begin_layout Standard
41760 \begin_inset Quotes eld
41768 \begin_inset Quotes erd
41771 is in the second line.
41772 The description text is optional.
41773 The text surrounding the object must be in the same paragraph as the object,
41774 so it must begin directly after the
41779 At the end of the paragraph insert the command:
41782 \begin_layout Standard
41790 \begin_layout Standard
41791 Within a paragraph with a fixed object,
41792 you cannot insert footnotes in the normal way.
41793 You have to use instead the command
41799 inside the paragraph and outside the command
41805 as described in sec.
41806 \begin_inset space \thinspace{}
41810 \begin_inset CommandInset ref
41812 reference "sec:Footnotes"
41820 \begin_layout Standard
41824 \begin_layout Plain Layout
41834 \begin_inset Note Note
41837 \begin_layout Plain Layout
41838 The following will be displayed when the \SpecialChar LaTeX
41851 \begin_layout Standard
41852 You need to install the \SpecialChar LaTeX
41857 to see the following part of this section in the output.
41860 \begin_layout Standard
41864 \begin_layout Plain Layout
41876 \begin_layout Section
41878 \begin_inset Index idx
41883 \begin_layout Plain Layout
41890 \begin_inset Index idx
41895 \begin_layout Plain Layout
41897 \begin_inset IndexMacro subentry
41900 \begin_layout Plain Layout
41914 \begin_layout Standard
41916 you must have the \SpecialChar LaTeX
41922 \begin_inset Index idx
41927 \begin_layout Plain Layout
41930 \begin_inset IndexMacro subentry
41933 \begin_layout Plain Layout
41944 installed and use the module
41948 in your document (menu
41950 Document\SpecialChar menuseparator
41951 Settings\SpecialChar menuseparator
41955 To insert an initial,
41961 This style has a mandatory and two optional arguments.
41962 The arguments are inserted via the
41967 The mandatory argument
41971 contains the letter(s) that is the initial,
41975 \begin_inset space ~
41979 \begin_inset space ~
41984 contains the rest of the word or text of the initial letter(s).
41989 contains parameters to modify the initial.
41990 For more information about the possible parameters see the documentation of
41996 \begin_inset CommandInset citation
42004 The style itself contains the text that is surrounding the initial.
42005 The usual style is hereby that the word whose first letter is the initial,
42013 \begin_layout Standard
42014 Here are some examples:
42017 \begin_layout Standard
42021 \begin_layout Plain Layout
42031 \begin_inset Note Note
42034 \begin_layout Plain Layout
42035 The following section will only be displayed when the \SpecialChar LaTeX
42048 \begin_layout Enumerate
42049 No optional argument,
42050 the initial is the letter 'I' in the math font
42051 \begin_inset Formula $\mathfrak{Fraktur}$
42058 \begin_layout Initial
42059 \begin_inset Argument 2
42062 \begin_layout Plain Layout
42063 \begin_inset Formula $\mathfrak{I}$
42072 \begin_inset Argument 3
42075 \begin_layout Plain Layout
42081 was in the spring of the year 1894 that all London was interested,
42082 and the fashionable world dismayed,
42083 by the murder of the Honourable Ronald Adair under most unusual and inexplicable circumstances.
42084 The public has already learned those particulars of the crime which came out in the police investigation,
42085 but a good deal was suppressed upon that occasion,
42086 since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts.
42087 \begin_inset Newpage newpage
42094 \begin_layout Enumerate
42095 Only one line is surrounding the initial,
42096 which is formed by two letters in standard font and no text is printed in small caps:
42100 \begin_layout Initial
42101 \begin_inset Argument 1
42104 \begin_layout Plain Layout
42111 \begin_inset Argument 2
42114 \begin_layout Plain Layout
42120 was in the spring of the year 1894 that all London was interested,
42121 and the fashionable world dismayed,
42122 by the murder of the Honourable Ronald Adair under most unusual and inexplicable circumstances.
42123 The public has already learned those particulars of the crime which came out in the police investigation,
42124 but a good deal was suppressed upon that occasion,
42125 since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts.
42129 \begin_layout Enumerate
42131 hanging initial over 3
42132 \begin_inset space ~
42135 lines in the math font
42136 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
42141 \begin_inset Quotes eld
42144 t was in the spring
42145 \begin_inset Quotes erd
42153 to color the initial,
42154 you must insert this command before the initial:
42155 \begin_inset Newline newline
42169 \begin_inset Newline newline
42177 \begin_inset Quotes eld
42181 \begin_inset Quotes erd
42186 \begin_inset Quotes eld
42190 \begin_inset Quotes erd
42195 \begin_inset Quotes eld
42199 \begin_inset Quotes erd
42204 \begin_inset Quotes eld
42208 \begin_inset Quotes erd
42213 \begin_inset Quotes eld
42217 \begin_inset Quotes erd
42222 \begin_inset Quotes eld
42226 \begin_inset Quotes erd
42231 \begin_inset Quotes eld
42235 \begin_inset Quotes erd
42239 \begin_inset Quotes eld
42243 \begin_inset Quotes erd
42247 and add this command to the document preamble:
42248 \begin_inset Newline newline
42255 @ifundefined{textcolor}
42256 \begin_inset Newline newline
42260 \begin_inset space ~
42265 usepackage{color}}{}
42269 \begin_layout Standard
42273 \begin_layout Plain Layout
42287 \begin_inset Note Note
42290 \begin_layout Plain Layout
42291 makes the initial magenta
42299 \begin_layout Initial
42300 \begin_inset Argument 1
42303 \begin_layout Plain Layout
42312 \begin_inset Argument 2
42315 \begin_layout Plain Layout
42316 \begin_inset Formula $\mathcal{I}$
42325 \begin_inset Argument 3
42328 \begin_layout Plain Layout
42329 t was in the spring
42334 of the year 1894 that all London was interested,
42335 and the fashionable world dismayed,
42336 by the murder of the Honourable Ronald Adair under most unusual and inexplicable circumstances.
42337 The public has already learned those particulars of the crime which came out in the police investigation,
42338 but a good deal was suppressed upon that occasion,
42339 since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts.
42343 \begin_layout Standard
42347 \begin_layout Plain Layout
42357 \begin_inset Note Note
42360 \begin_layout Plain Layout
42361 The following will be displayed when the \SpecialChar LaTeX
42374 \begin_layout Standard
42375 You need to install the \SpecialChar LaTeX
42380 to see the following part of this section in the output.
42383 \begin_layout Standard
42387 \begin_layout Plain Layout
42399 \begin_layout Chapter
42400 External Document Parts
42401 \begin_inset Index idx
42406 \begin_layout Plain Layout
42407 External Document Parts
42415 \begin_layout Standard
42418 Insert\SpecialChar menuseparator
42421 you can insert external material into your document.
42425 \begin_layout Description
42427 \begin_inset space ~
42430 Document Another \SpecialChar LyX
42432 its content is directly inserted to your document.
42435 \begin_layout Description
42437 \begin_inset space ~
42440 Text A text document;
42441 each line is inserted in your document as a separate paragraph.
42444 \begin_layout Description
42446 \begin_inset space ~
42450 \begin_inset space ~
42454 \begin_inset space ~
42457 Lines A text document;
42458 text lines are inserted in your document continuously but an empty text line creates a new paragraph.
42461 \begin_layout Description
42463 \begin_inset space ~
42466 Material Files in various formats.
42469 \begin_layout Description
42471 \begin_inset space ~
42474 Document \SpecialChar LyX
42475 or \SpecialChar LaTeX
42479 \begin_layout Section
42481 \begin_inset Index idx
42486 \begin_layout Plain Layout
42487 External Document Parts
42488 \begin_inset IndexMacro subentry
42491 \begin_layout Plain Layout
42505 \begin_layout Standard
42506 The external material feature allows you to insert files into your document without converting them to a format that can be read by the document output format.
42508 takes care of the necessary conversions.
42509 This is similar to images that can be inserted in various image formats in \SpecialChar LyX
42511 When you have enabled Instant Preview in \SpecialChar LyX
42512 's preferences under
42515 \begin_inset space ~
42519 \begin_inset space ~
42522 feel\SpecialChar menuseparator
42526 the external material types Dia and Xfig are directly shown in \SpecialChar LyX
42530 \begin_layout Standard
42531 External material can be inserted via the
42535 dialog that is accessible with the menu
42537 Insert\SpecialChar menuseparator
42538 File\SpecialChar menuseparator
42540 \begin_inset space ~
42546 Currently the following file types (
42553 \begin_layout Description
42555 \begin_inset space ~
42558 diagram This template supports chess position diagrams made with the program
42561 \begin_inset CommandInset href
42564 target "https://en.wikipedia.org/wiki/XBoard"
42574 \begin_layout Description
42576 \begin_inset space ~
42579 diagram This template supports diagrams created with the program
42582 \begin_inset CommandInset href
42585 target "https://en.wikipedia.org/wiki/Dia_(software)"
42595 \begin_layout Description
42597 \begin_inset space ~
42600 figure This template supports specific scalable images derived from scalable vector graphics (SVG),
42601 in which the contained text is replaced by a version typeset by \SpecialChar LaTeX
42602 (and hence in the current document font).
42603 It relies on a feature of the program
42606 \begin_inset CommandInset href
42609 target "https://inkscape.org/"
42616 which creates a special PDF or EPS and \SpecialChar LaTeX
42617 file from a given SVG file (in
42622 the feature is available via the option
42624 Omit text in PDF and create LaTeX file
42626 when saving a drawing as PDF or EPS).
42627 The benefit of such files is a uniform text style throughout the whole document.
42628 \begin_inset Newline newline
42631 The external template reads SVG files and uses a converter program to generate the respective PDF\SpecialChar breakableslash
42632 EPS and \SpecialChar LaTeX
42642 so you don't have to export those files yourself.
42643 If you prefer the latter and want use given
42660 simply input the respective
42673 \begin_inset space ~
42677 \begin_inset CommandInset ref
42679 reference "sec:Child-Documents"
42684 ) rather than using this template.
42685 \begin_inset Newline newline
42688 You can use \SpecialChar TeX
42689 code commands such as
42704 \begin_inset space \space{}
42707 in the text of the SVG.
42708 The size of the font will be taken from the settings of the \SpecialChar LyX
42711 \begin_inset CommandInset citation
42718 for more information and examples.
42721 \begin_layout Description
42723 \begin_inset space ~
42727 \begin_inset space ~
42730 music This template is used for music notation typeset with the program
42731 \begin_inset Newline linebreak
42737 \begin_inset CommandInset href
42740 target "https://en.wikipedia.org/wiki/LilyPond"
42748 For \SpecialChar LyX
42749 's extended support for LilyPond have a look at \SpecialChar LyX
42757 \begin_layout Description
42759 \begin_inset space ~
42762 pages With this template you can insert PDF documents to your document.
42763 To specify the range of pages that should be included,
42774 LaTeX and LyX options
42777 The argument of this option is a comma separated list,
42778 containing page numbers (insert as option
42783 ranges of page numbers (
42787 ) or any combination.
42788 To insert empty pages use {}.
42790 \begin_inset space \thinspace{}
42794 \begin_inset space ~
42799 pages={3,{},8-11,15}
42801 will insert page 3,
42807 Page ranges are specified in the syntax
42816 This selects all pages from
42829 defaults to the first page;
42834 defaults to the last page of the document.
42835 The last page can also be selected with the keyword
42840 (This is only permitted in a page range.) So
42844 will insert all pages of the document and
42848 will insert all pages in reverse order.
42849 If the pages option is not specified,
42850 only the first page of the PDF is inserted.
42851 \begin_inset Newline newline
42858 inserts the pages with their original size,
42859 if this option is not given,
42860 the pages will be resized to fith the width of the page of your document.
42865 you can specify the width and height of the input pages and their rotation.
42866 If another width than 100
42867 \begin_inset space \thinspace{}
42875 will be overwritten.
42876 For more info and possible options,
42877 have a look into the documentation of the \SpecialChar LaTeX
42883 \begin_inset CommandInset citation
42891 \begin_inset Index idx
42896 \begin_layout Plain Layout
42899 \begin_inset IndexMacro subentry
42902 \begin_layout Plain Layout
42914 \begin_inset Newline newline
42917 To use this template in a
42921 presentation you need to first insert an
42925 environment and in a subsequent paragraph a \SpecialChar TeX
42926 Code box containing the command
42930 setbeamertemplate{background canvas}{}
42933 Then you can insert as many paragraphs containing the PDFPages template as you wish.
42934 Behind the included PDF pages you can resume the Beamer presentation by beginning a new frame or by starting a new section.
42935 To avoid stray blank pages prior to the PDF pages,
42936 make sure to use the
42940 alignment for the paragraph containing the template.
42941 \begin_inset Newline newline
42944 Here is an included PDF which is rotated by -5°:
42946 \begin_inset External
42948 filename clipart/Abstract.pdf
42949 extra LaTeX "noautoscale, pages=-"
42951 rotateOrigin bottomleft
42958 \begin_layout Description
42960 \begin_inset space ~
42963 image This can be used for bitmap images.
42964 The image can be treated in the
42968 dialog like the images that are usually included via the
42972 dialog as described in section
42973 \begin_inset space ~
42977 \begin_inset CommandInset ref
42979 reference "sec:Graphics-Dialog"
42985 Here is an inserted raster image:
42987 \begin_inset External
42988 template RasterImage
42989 filename clipart/ToolbarEnvBox.png
42996 \begin_layout Description
42997 Spreadsheet With this template you can insert spreadsheets
42998 \begin_inset space \thinspace{}
43002 \begin_inset space \thinspace{}
43005 tables in the format of
43008 \begin_inset CommandInset href
43011 target "https://en.wikipedia.org/wiki/Gnumeric"
43020 \begin_inset CommandInset href
43022 name "OpenDocument"
43023 target "https://en.wikipedia.org/wiki/OpenDocument"
43030 \begin_inset CommandInset href
43032 name "Microsoft Office XML"
43033 target "https://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
43039 \begin_inset CommandInset href
43041 name "Office Open XML"
43042 target "https://en.wikipedia.org/wiki/Office_Open_XML"
43048 For this feature \SpecialChar LyX
43049 must have found the program
43053 during its configuration.
43054 This program is part of Gnumeric,
43055 so that you must have Gnumeric installed,
43056 also if you don't have tables in the Gnumeric format.
43057 For examples and possible limitations have a look at \SpecialChar LyX
43065 \begin_layout Description
43067 \begin_inset space ~
43070 graphics This can be used for vector graphics.
43071 The image can be treated in the
43075 dialog like the images that are usually included via the
43079 dialog as described in section
43080 \begin_inset space ~
43084 \begin_inset CommandInset ref
43086 reference "sec:Graphics-Dialog"
43092 Here is an inserted vector graphics:
43094 \begin_inset External
43095 template VectorGraphics
43096 filename clipart/SVG-Drawing.svg
43105 \begin_layout Description
43107 \begin_inset space ~
43110 figure This template supports images created with the program
43111 \begin_inset CommandInset href
43114 target "https://en.wikipedia.org/wiki/Xfig"
43122 \begin_layout Standard
43123 When you use the option
43136 only the path to the inserted file is shown in the output.
43137 \begin_inset Newline newline
43140 External material is displayed in \SpecialChar LyX
43141 either as a box like this:
43143 \begin_inset Graphics
43144 filename clipart/ExternalMaterial.png
43146 scaleBeforeRotation
43151 depending on the option
43157 LaTeX and LyX options
43162 \begin_layout Standard
43169 manual explains how you can define your own templates.
43172 \begin_layout Section
43174 \begin_inset CommandInset label
43176 name "sec:Child-Documents"
43181 \begin_inset Index idx
43186 \begin_layout Plain Layout
43187 External Document Parts
43188 \begin_inset IndexMacro subentry
43191 \begin_layout Plain Layout
43203 \begin_inset Index idx
43208 \begin_layout Plain Layout
43210 \begin_inset IndexMacro subentry
43213 \begin_layout Plain Layout
43227 \begin_layout Standard
43228 Child documents are used if you have a long document consisting of several larger parts or sections.
43229 For maintenance it is often useful and sometimes even required to split the document into several files that can be revised separately.
43230 The different documents are then the so called
43231 \begin_inset Quotes eld
43235 \begin_inset Quotes erd
43239 and a master document connects them to print the full document or parts of it.
43240 A child document inherits elements from its master,
43241 for example the \SpecialChar LaTeX
43244 and labels for cross-references.
43247 \begin_layout Standard
43248 To be able to work on child documents without the need to open their master,
43249 specify in the child document the master in the menu
43251 Document\SpecialChar menuseparator
43252 Settings\SpecialChar menuseparator
43254 \begin_inset space ~
43260 This master document will then be used in the background by \SpecialChar LyX
43261 when you edit the child document.
43264 \begin_layout Standard
43265 Included documents are displayed in \SpecialChar LyX
43266 as a box like this:
43268 \begin_inset Graphics
43269 filename clipart/ChildDocument.png
43271 scaleBeforeRotation
43275 To include child documents in a master document use the menu
43277 Insert\SpecialChar menuseparator
43278 File\SpecialChar menuseparator
43280 \begin_inset space ~
43286 A dialog pops up where you can choose between four include methods:
43289 \begin_layout Description
43290 Include You can include \SpecialChar LyX
43291 and \SpecialChar LaTeX
43302 the included document will be opened in \SpecialChar LyX
43303 in a new file tab so that you can modify it.
43304 \begin_inset Newline newline
43310 \begin_layout Standard
43311 Here is a child document inserted using
43317 \begin_inset CommandInset include
43318 LatexCommand include
43319 filename "DummyDocument1.lyx"
43327 \begin_layout Standard
43328 The section numbering includes the sections of the included files in the order they are inserted in the master document.
43329 The included example document has for example a subsection that is numbered as a subsection of this section.
43330 Labels of included documents can be referenced:
43332 \begin_inset space ~
43336 \begin_inset CommandInset ref
43338 reference "subsec:External-Subsection-1"
43346 \begin_layout Standard
43347 The preamble of the child document is ignored;
43348 only the preamble of the master document is used.
43349 Branches in child documents will be ignored by the master document when the master document does not have a branch with the same name.
43350 Included documents are inserted starting on a new page and ending with a page break.
43353 \begin_layout Standard
43354 \begin_inset Note Greyedout
43357 \begin_layout Plain Layout
43363 If you have included a \SpecialChar LyX
43364 or \SpecialChar LaTeX
43366 you are warned when you export/view the document in case the child document uses another document class than the master document as this will lead to unexpected outputs.
43374 \begin_layout Description
43375 Input This method is very similar to the Include method.
43376 The differences are:
43380 \begin_layout Itemize
43381 Input files don't start with a new page and don't end with a page break.
43384 \begin_layout Itemize
43385 Input files can be previewed in \SpecialChar LyX
43389 \begin_inset space ~
43394 is enabled in \SpecialChar LyX
43395 's preferences under
43398 \begin_inset space ~
43402 \begin_inset space ~
43405 feel\SpecialChar menuseparator
43411 \begin_layout Itemize
43412 You cannot exclude Input files via the menu
43414 Document\SpecialChar menuseparator
43415 Settings\SpecialChar menuseparator
43422 \begin_layout Standard
43423 Here is a child document inserted using
43429 \begin_inset CommandInset include
43431 filename "DummyDocument2.lyx"
43439 \begin_layout Description
43440 Verbatim With this method any text file can be included.
43441 The file is shown in the output with its source code;
43442 no command used in the text is invoked.
43443 You can use the option
43445 Mark spaces in output
43447 that displays the character
43448 \begin_inset Quotes eld
43455 \begin_layout Plain Layout
43465 \begin_inset Quotes erd
43468 for every space character in the source code.
43469 The difference from the method via the menu
43471 Insert\SpecialChar menuseparator
43472 File\SpecialChar menuseparator
43474 \begin_inset space ~
43479 is that the document content is not shown in \SpecialChar LyX
43483 \begin_layout Standard
43484 Here is a child document inserted as Verbatim:
43486 \begin_inset CommandInset include
43487 LatexCommand verbatiminput
43488 filename "DummyTextDocument.txt"
43494 \begin_inset VSpace bigskip
43497 Here is a child document inserted as Verbatim using the
43499 Mark spaces in output
43503 \begin_inset CommandInset include
43504 LatexCommand verbatiminput*
43505 filename "DummyTextDocument.txt"
43513 \begin_layout Standard
43514 \begin_inset VSpace bigskip
43520 \begin_layout Standard
43521 \begin_inset Note Greyedout
43524 \begin_layout Plain Layout
43530 As you can see in the examples above,
43531 the text of the documents included as
43535 is not broken at the end of the document lines.
43543 \begin_layout Description
43544 Listings This type is described in chapter
43545 \begin_inset space ~
43549 \begin_inset CommandInset ref
43551 reference "cha:Program-Code-Listings"
43559 \begin_layout Standard
43560 \begin_inset Note Greyedout
43563 \begin_layout Plain Layout
43569 Including the same document twice in a document using different methods could cause \SpecialChar LaTeX
43578 \begin_layout Standard
43579 If you want to view/export only selected children of your master document,
43580 either because you want to save compiling time or because you want to distribute single chapters of the book you are just writing,
43581 you can exclude children from the output.
43582 This is done via the menu
43584 Document\SpecialChar menuseparator
43585 Settings\SpecialChar menuseparator
43589 You can exclude\SpecialChar breakableslash
43590 include children by double-clicking on the
43594 column of the respective child document in the list (note that this only works for documents embedded via
43595 \begin_inset Quotes eld
43599 \begin_inset Quotes erd
43604 \begin_inset Quotes eld
43608 \begin_inset Quotes erd
43613 \change_inserted -712698321 1584102244
43617 \begin_layout Standard
43619 \change_inserted -712698321 1584102427
43622 Global Counters & References
43624 you can set how page numbers,
43626 section counters etc.
43630 \begin_layout Itemize
43632 \change_inserted -712698321 1584102377
43639 \change_deleted -712698321 1584102385
43642 Maintain counters and references
43648 will assure that all page numbers,
43650 \begin_inset space ~
43653 are correct as if the whole document was
43654 \change_deleted -712698321 1584108508
43656 \change_inserted -712698321 1584108509
43660 This is useful if you want the selected sub-documents to look exactly as in the context of the whole document.
43663 needs to process the whole document in the background for this feature
43664 \change_inserted -712698321 1584102406
43666 which can take a long time
43670 \change_deleted -712698321 1584103026
43672 \change_inserted -712698321 1584102447
43676 \begin_layout Itemize
43678 \change_inserted -712698321 1584102489
43688 \change_inserted -712698321 1584103270
43689 only compiles the master and the included documents.
43690 Thus the counters will differ from the complete document,
43691 and references to excluded child documents will not be resolved.
43693 \change_deleted -712698321 1584102517
43695 \change_inserted -712698321 1584102518
43698 f you want to save compile time and if counters and references do not need to be correct,
43700 \change_deleted -712698321 1584102523
43701 disable this checkbox
43702 \change_inserted -712698321 1584102546
43703 use this option as this is the fastest one
43706 \change_inserted -712698321 1584102550
43710 \begin_layout Itemize
43712 \change_inserted -712698321 1584109486
43717 is somewhat in-between the above two.
43718 If this is selected,
43720 will compile the whole document at the first output,
43721 which sets up counters and references correctly.
43722 In subsequent outputs,
43723 it will compile the whole document only if a change has been made in an excluded child document.
43724 As long as you only edit the included files,
43725 this approach is as fast as the second one,
43726 while giving you more or less correct counters and references.
43727 They are only more or less correct since the change of size of included documents obviously also changes the pagination of excluded documents,
43728 but this change cannot be tracked with this method.
43733 \begin_layout Standard
43735 you can put each included file into a branch.
43739 \begin_layout Plain Layout
43740 Branches are described in section
43744 of the \SpecialChar LyX
43754 By enabling\SpecialChar breakableslash
43755 disabling branches you can decide which included files will appear in the output.
43756 This has the advantage that it also works with Input'ed sub-documents.
43758 counters and references will not be maintained with this approach.
43761 \begin_layout Chapter
43762 Program Code Listings
43763 \begin_inset CommandInset label
43765 name "cha:Program-Code-Listings"
43770 \begin_inset Index idx
43775 \begin_layout Plain Layout
43782 \begin_inset Index idx
43787 \begin_layout Plain Layout
43794 \begin_inset Index idx
43799 \begin_layout Plain Layout
43801 \begin_inset IndexMacro subentry
43804 \begin_layout Plain Layout
43818 \begin_layout Standard
43819 To include and typeset program code you can use the
43823 inset that can be inserted via the menu
43825 Insert\SpecialChar menuseparator
43829 The \SpecialChar LaTeX
43835 \begin_inset Index idx
43840 \begin_layout Plain Layout
43843 \begin_inset IndexMacro subentry
43846 \begin_layout Plain Layout
43862 \begin_inset Index idx
43867 \begin_layout Plain Layout
43870 \begin_inset IndexMacro subentry
43873 \begin_layout Plain Layout
43884 provide a powerful and flexible way to insert program source code into your document.
43885 One can only use one of these packages in a document.
43890 is used by default.
43893 \begin_layout Standard
43894 \begin_inset Note Note
43897 \begin_layout Plain Layout
43904 does NOT want to encourage users to add the
43908 option to converter definitions.
43910 but it is a huge security risk.
43911 There is an active discussion about how to handle this.
43912 Once that's been resolved,
43913 this can be updated appropriately.
43916 \begin_layout Plain Layout
43920 \begin_layout Plain Layout
43926 you need to select it as the syntax highlighting package in the document settings under
43935 requires also additionally the module
43947 \begin_layout Plain Layout
43948 Under \SpecialChar LyX
43953 is already installed.
43962 for the \SpecialChar LaTeX
43964 If you want for example view or export your document as the format
43967 \begin_inset space ~
43973 go to the \SpecialChar LyX
43974 preferences and there to the section
43977 \begin_inset space ~
43980 Handling\SpecialChar menuseparator
43984 There go to the entry
43987 \begin_inset space ~
43991 \begin_inset space ~
43996 and look at the field
44001 There you see by default the content
44002 \begin_inset Newline newline
44010 \begin_inset Newline newline
44014 \begin_inset Newline newline
44019 pdflatex $$i -shell-escape
44020 \begin_inset Newline newline
44029 button and subsequently
44038 The same can be done for the output formats
44041 \begin_inset space ~
44049 \begin_inset space ~
44062 \begin_layout Standard
44063 Right-clicking on a listings inset opens the context menu containing where you can set the listings format.
44066 \begin_layout Standard
44068 a listing starts a new paragraph in the output.
44069 The placement option
44072 \begin_inset space ~
44077 prints the listing inline like this:
44079 \begin_inset listings
44080 lstparams "language={C++}"
44084 \begin_layout Plain Layout
44092 \begin_inset Newline newline
44099 creates a listings float where you can specify the placement options
44100 \begin_inset Quotes eld
44108 \begin_inset Quotes erd
44113 \begin_inset Quotes eld
44121 \begin_inset Quotes erd
44126 \begin_inset Quotes eld
44134 \begin_inset Quotes erd
44139 \begin_inset Quotes eld
44147 \begin_inset Quotes erd
44150 corresponding to the float placement options described in section
44151 \begin_inset space ~
44155 \begin_inset CommandInset ref
44157 reference "sec:Float-Settings"
44163 The placement options can be mixed and are inserted without any separation,
44165 \begin_inset space \thinspace{}
44169 \begin_inset space \space{}
44173 \begin_inset Quotes eld
44181 \begin_inset Quotes erd
44186 \begin_inset Quotes eld
44190 \begin_inset Quotes erd
44193 has sometimes no effect,
44194 but you don't need to use the
44198 option in this case as also non-float listings can have captions and be referenced.
44201 \begin_layout Standard
44202 You can add captions to listings that are not inline with the menu
44204 Insert\SpecialChar menuseparator
44208 Listings can be referenced like floats:
44210 \begin_inset space ~
44214 \begin_inset CommandInset ref
44216 reference "lst:Example-Listing"
44222 A list of listings which contains all listings with captions can be created via the menu
44224 Insert\SpecialChar menuseparator
44226 \begin_inset space ~
44230 \begin_inset space ~
44233 TOC\SpecialChar menuseparator
44237 The list entries are the listing caption and the listing number.
44240 \begin_layout Standard
44241 \begin_inset listings
44242 lstparams "language=Python"
44246 \begin_layout Plain Layout
44248 \begin_inset Caption Standard
44250 \begin_layout Plain Layout
44251 \begin_inset CommandInset label
44253 name "lst:Example-Listing"
44257 Example Listing float
44262 # Example listing float
44265 \begin_layout Plain Layout
44270 \begin_layout Plain Layout
44272 'this is a python function'
44275 \begin_layout Plain Layout
44285 \begin_layout Standard
44286 \begin_inset Note Greyedout
44289 \begin_layout Plain Layout
44299 package places captions before the listing by default.
44300 \begin_inset Newline newline
44307 package places them after the listing by default if it is floating.
44308 If it is not floating,
44309 caption will be typeset before the listing if it is inserted to its first line,
44310 otherwise it will be typeset after the listing.
44311 If you want to force the placement in every case before the listing,
44312 you have to add the following lines as last thing to the preamble:
44313 \begin_inset Newline newline
44320 @ifundefined{newfloat}
44321 \begin_inset Newline newline
44325 \begin_inset Phantom HPhantom
44328 \begin_layout Plain Layout
44331 \begin_inset space ~
44341 usepackage{float}}{}
44342 \begin_inset Newline newline
44347 floatstyle{plaintop}
44350 \begin_inset Note Note
44353 \begin_layout Plain Layout
44358 will be loaded automatically by \SpecialChar LyX
44359 when you use special document-wide float placement settings.
44360 To avoid that it is loaded twice the command
44366 is used in the above command.
44379 \begin_layout Standard
44380 When you have set a programming language in the listings dialog,
44381 the keywords of this language will be recognized and specially typeset in the output.
44382 In the example listings the Python keyword
44383 \begin_inset Quotes eld
44387 \begin_inset Quotes erd
44390 is recognized and printed bold in the output.
44393 \begin_layout Standard
44394 \begin_inset Note Greyedout
44397 \begin_layout Plain Layout
44403 If you don't get bold keywords when using typewriter fonts,
44408 font probably doesn't provide a bold shape.
44409 In this case select a different one in the menu
44411 Document\SpecialChar menuseparator
44412 Settings\SpecialChar menuseparator
44425 provide bold shapes.)
44433 \begin_layout Standard
44437 \begin_inset space ~
44442 of the listings dialog you can specify the line numbering style.
44443 You can insert a number to specify which lines are numbered in the field
44449 \begin_inset space \thinspace{}
44453 \begin_inset space \space{}
44457 \begin_inset Quotes eld
44461 \begin_inset Quotes erd
44465 only every 3rd line will be numbered.
44468 \begin_layout Standard
44469 You can furthermore specify a range of lines;
44470 only these will then appear in the output.
44473 Extended character table
44475 is only meaningful for the
44479 package and should be used when you use national characters like the German umlauts in the listing.
44480 \begin_inset Newline newline
44483 Here is an example listing with left line numbering,
44485 \begin_inset Quotes eld
44489 \begin_inset Quotes erd
44494 \begin_inset Quotes eld
44498 \begin_inset Quotes erd
44503 \begin_inset Quotes eld
44506 Extended character table
44507 \begin_inset Quotes erd
44511 \begin_inset Quotes eld
44515 \begin_inset space ~
44519 \begin_inset space ~
44523 \begin_inset Quotes erd
44528 \begin_inset space \thinspace{}
44532 \begin_inset space \thinspace{}
44538 \begin_layout Standard
44539 \begin_inset listings
44540 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
44544 \begin_layout Plain Layout
44549 \begin_layout Plain Layout
44551 'this is a python function'
44554 \begin_layout Plain Layout
44559 \begin_layout Plain Layout
44564 \begin_layout Plain Layout
44566 'This is a German word:
44570 \begin_layout Plain Layout
44575 \begin_layout Plain Layout
44580 \begin_layout Plain Layout
44582 'this is a python function'
44585 \begin_layout Plain Layout
44595 \begin_layout Standard
44596 When you have tabulators in your listing,
44597 you can specify the number of characters that are spanned by a tabulator in the field
44600 \begin_inset space ~
44608 \begin_layout Standard
44609 \begin_inset Note Greyedout
44612 \begin_layout Plain Layout
44618 Due to a bug in the
44622 package the line numbering is shifted by a line by every previous listing.
44623 That's the reason why the lines 2 and 5 are numbered in the above listing and not the lines 3 and 6.
44631 \begin_layout Standard
44632 \begin_inset VSpace bigskip
44638 \begin_layout Standard
44639 It is also possible to print lines from a file as listing.
44643 Insert\SpecialChar menuseparator
44644 File\SpecialChar menuseparator
44647 and choose the type
44655 \begin_layout Plain Layout
44656 The other child document types are described in section
44657 \begin_inset space ~
44661 \begin_inset CommandInset ref
44663 reference "sec:Child-Documents"
44673 In the child document dialog you can specify the listing parameters in a text box.
44674 To show a list of all available parameters,
44675 type in a question mark
44676 \begin_inset Quotes eld
44680 \begin_inset Quotes erd
44686 \begin_layout Standard
44687 To reference child document listings,
44688 write a label text into the corresponding field of the child document dialog.
44689 The label can then be referenced using the menu
44691 Insert\SpecialChar menuseparator
44697 \begin_layout Standard
44699 \begin_inset space ~
44703 \begin_inset CommandInset ref
44705 reference "lst:file-listing"
44710 is an example for a listing of a file;
44712 \begin_inset space \thinspace{}
44716 \begin_inset space \thinspace{}
44719 15 of this \SpecialChar LyX
44723 \begin_layout Standard
44724 \begin_inset CommandInset include
44725 LatexCommand lstinputlisting
44726 filename "EmbeddedObjects.lyx"
44727 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
44735 \begin_layout Standard
44736 \begin_inset VSpace bigskip
44742 \begin_layout Standard
44743 Inserting a formula into a listing can be done the following way:
44746 \begin_layout Enumerate
44747 Open the listings dialog and add
44748 \begin_inset Newline newline
44756 \begin_inset Newline newline
44759 to the field of the
44766 \begin_layout Enumerate
44767 Create a formula outside the listing
44770 \begin_layout Enumerate
44771 Copy the content of the formula (not the formula inset) to the clipboard (shortcut
44780 \begin_layout Enumerate
44781 In the listing write
44782 \begin_inset Quotes eld
44790 \begin_inset Quotes erd
44793 and copy from the clipboard between the dollar-signs (shortcut
44802 \begin_layout Standard
44803 \begin_inset listings
44804 lstparams "language=Python,mathescape=true"
44808 \begin_layout Plain Layout
44810 \begin_inset Caption Standard
44812 \begin_layout Plain Layout
44813 Example Listing float containing a formula
44818 # Example listing float
44821 \begin_layout Plain Layout
44826 \begin_layout Plain Layout
44839 \begin_layout Plain Layout
44849 \begin_layout Standard
44850 \begin_inset VSpace bigskip
44856 \begin_layout Standard
44857 Global listings settings can be set in the
44859 Document\SpecialChar menuseparator
44860 Settings\SpecialChar menuseparator
44864 To get there a list of available options,
44865 type in a question mark
44866 \begin_inset Quotes eld
44870 \begin_inset Quotes erd
44876 \begin_layout Standard
44877 For more information about the
44886 we refer to their documentation
44887 \begin_inset CommandInset citation
44889 key "listings,minted"
44897 \begin_layout Standard
44898 \begin_inset Newpage newpage
44904 \begin_layout Chapter
44906 Units available in \SpecialChar LyX
44908 \begin_inset Index idx
44913 \begin_layout Plain Layout
44920 \begin_inset CommandInset label
44922 name "cha:Units-available-in"
44929 \begin_layout Standard
44930 To understand the units described in this documentation,
44932 \begin_inset space ~
44936 \begin_inset CommandInset ref
44938 reference "tab:Units"
44943 explains all units available in \SpecialChar LyX
44947 \begin_layout Standard
44948 \begin_inset Float table
44955 \begin_layout Plain Layout
44956 \begin_inset Caption Standard
44958 \begin_layout Plain Layout
44959 \begin_inset CommandInset label
44973 \begin_layout Plain Layout
44974 \begin_inset VSpace medskip
44980 \begin_layout Plain Layout
44982 \begin_inset Tabular
44983 <lyxtabular version="3" rows="21" columns="3">
44984 <features tabularvalignment="middle">
44985 <column alignment="center" valignment="top">
44986 <column alignment="center" valignment="middle" width="50col%">
44987 <column alignment="center" valignment="top">
44989 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
44992 \begin_layout Plain Layout
44998 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
45001 \begin_layout Plain Layout
45007 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
45010 \begin_layout Plain Layout
45019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45022 \begin_layout Plain Layout
45028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45031 \begin_layout Plain Layout
45033 \begin_inset space \thinspace{}
45037 \begin_inset space \thinspace{}
45045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45048 \begin_layout Plain Layout
45056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45059 \begin_layout Plain Layout
45065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45068 \begin_layout Plain Layout
45070 \begin_inset space \thinspace{}
45074 \begin_inset space \thinspace{}
45082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45085 \begin_layout Plain Layout
45093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45096 \begin_layout Plain Layout
45102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45105 \begin_layout Plain Layout
45111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45114 \begin_layout Plain Layout
45122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45125 \begin_layout Plain Layout
45131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45134 \begin_layout Plain Layout
45136 \begin_inset space \thinspace{}
45140 \begin_inset Formula $\approx$
45144 \begin_inset space \thinspace{}
45152 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45155 \begin_layout Plain Layout
45163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45166 \begin_layout Plain Layout
45172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45175 \begin_layout Plain Layout
45185 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45188 \begin_layout Plain Layout
45196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45199 \begin_layout Plain Layout
45205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45208 \begin_layout Plain Layout
45218 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45221 \begin_layout Plain Layout
45229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45232 \begin_layout Plain Layout
45238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45241 \begin_layout Plain Layout
45247 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45250 \begin_layout Plain Layout
45258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45261 \begin_layout Plain Layout
45267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45270 \begin_layout Plain Layout
45276 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45279 \begin_layout Plain Layout
45287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45290 \begin_layout Plain Layout
45296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45299 \begin_layout Plain Layout
45301 \begin_inset space \thinspace{}
45305 \begin_inset space \thinspace{}
45313 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45316 \begin_layout Plain Layout
45324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45327 \begin_layout Plain Layout
45333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45336 \begin_layout Plain Layout
45338 \begin_inset space \thinspace{}
45342 \begin_inset space \thinspace{}
45350 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45353 \begin_layout Plain Layout
45361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45364 \begin_layout Plain Layout
45370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45373 \begin_layout Plain Layout
45375 \begin_inset space \thinspace{}
45379 \begin_inset space \thinspace{}
45387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45390 \begin_layout Plain Layout
45398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45401 \begin_layout Plain Layout
45407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45410 \begin_layout Plain Layout
45411 scaled point (65536
45412 \begin_inset space \thinspace{}
45416 \begin_inset space \thinspace{}
45424 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45427 \begin_layout Plain Layout
45435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45438 \begin_layout Plain Layout
45444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45447 \begin_layout Plain Layout
45453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45456 \begin_layout Plain Layout
45466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45469 \begin_layout Plain Layout
45475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45478 \begin_layout Plain Layout
45479 % of height between baselines of two subsequent text lines
45484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45487 \begin_layout Plain Layout
45497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45500 \begin_layout Plain Layout
45506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45509 \begin_layout Plain Layout
45515 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45518 \begin_layout Plain Layout
45528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45531 \begin_layout Plain Layout
45537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45540 \begin_layout Plain Layout
45546 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45549 \begin_layout Plain Layout
45559 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45562 \begin_layout Plain Layout
45568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45571 \begin_layout Plain Layout
45577 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45580 \begin_layout Plain Layout
45590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45593 \begin_layout Plain Layout
45599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45602 \begin_layout Plain Layout
45603 % of original image width
45608 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45611 \begin_layout Plain Layout
45619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45622 \begin_layout Plain Layout
45628 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45631 \begin_layout Plain Layout
45637 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45640 \begin_layout Plain Layout
45650 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
45653 \begin_layout Plain Layout
45659 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
45662 \begin_layout Plain Layout
45668 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
45671 \begin_layout Plain Layout
45692 \begin_layout Chapter
45693 Output File Formats with Graphics
45694 \begin_inset CommandInset label
45696 name "cha:Output-File-Formats"
45703 \begin_layout Section
45705 \begin_inset Index idx
45710 \begin_layout Plain Layout
45712 \begin_inset IndexMacro subentry
45715 \begin_layout Plain Layout
45727 \begin_inset Index idx
45732 \begin_layout Plain Layout
45734 \begin_inset IndexMacro see
45737 \begin_layout Plain Layout
45751 \begin_layout Standard
45752 This file type has the extension
45753 \begin_inset Quotes eld
45761 \begin_inset Quotes erd
45766 \begin_inset Quotes eld
45770 \begin_inset Quotes erd
45774 because it is completely portable;
45775 you can move them from one machine to another without needing to do any sort of conversion.
45776 At the time when this file-format was developed,
45777 this was no matter of course.
45778 DVIs are used for quick previews and as pre-stage for other output formats,
45782 \begin_layout Standard
45783 \begin_inset Note Greyedout
45786 \begin_layout Plain Layout
45792 DVI-files do not contain images;
45793 they will only be a linked.
45798 So don't forget this,
45803 file to another computer.
45804 This property can also slow down your computer when you view the DVI,
45805 because the DVI-viewer has to convert the image in the background to make it visible when you scroll in the DVI.
45806 So it is recommended that you use PDF for files with many images.
45809 \begin_layout Standard
45810 You can export your document to DVI by using the menu
45812 File\SpecialChar menuseparator
45813 Export\SpecialChar menuseparator
45817 You can view your document as DVI via the
45824 \begin_layout Section
45826 \begin_inset Index idx
45831 \begin_layout Plain Layout
45833 \begin_inset IndexMacro subentry
45836 \begin_layout Plain Layout
45848 \begin_inset Index idx
45853 \begin_layout Plain Layout
45855 \begin_inset IndexMacro see
45858 \begin_layout Plain Layout
45872 \begin_layout Standard
45873 This file type has the extension
45874 \begin_inset Quotes eld
45882 \begin_inset Quotes erd
45886 PostScript was developed by the company
45890 as a printer language.
45891 The file therefore contains commands that the printer uses to print the file.
45892 PostScript can be seen as a
45893 \begin_inset Quotes eld
45896 programming language
45897 \begin_inset Quotes erd
45901 you can calculate with it and draw diagrams and images.
45905 \begin_layout Plain Layout
45906 If you are interested to learn more about this,
45907 have a look at the \SpecialChar LaTeX
45913 \begin_inset CommandInset citation
45925 Due to this ability,
45926 the files are often bigger than PDFs.
45929 \begin_layout Standard
45930 PostScript can only contain images in the format
45931 \begin_inset Quotes eld
45934 Encapsulated PostScript
45935 \begin_inset Quotes erd
45940 \begin_inset Quotes eld
45948 \begin_inset Quotes erd
45952 As \SpecialChar LyX
45953 allows you to use any known image format in your document,
45954 it has to convert images in the background to EPS.
45956 \begin_inset space ~
45960 \begin_inset space ~
45963 images in your document,
45966 \begin_inset space ~
45969 conversions whenever you view or export your document.
45970 This will slow down your work flow with \SpecialChar LyX
45972 So if you plan to use PostScript,
45973 you can insert your images directly as EPS to avoid this problem.
45976 \begin_layout Standard
45977 You can export your document to PostScript using the menu
45979 File\SpecialChar menuseparator
45980 Export\SpecialChar menuseparator
45984 You can view your document as PostScript via the
45991 \begin_layout Section
45993 \begin_inset Index idx
45998 \begin_layout Plain Layout
46000 \begin_inset IndexMacro subentry
46003 \begin_layout Plain Layout
46015 \begin_inset Index idx
46020 \begin_layout Plain Layout
46029 \begin_layout Standard
46030 This file type has the extension
46031 \begin_inset Quotes eld
46039 \begin_inset Quotes erd
46044 \begin_inset Quotes eld
46047 Portable Document Format
46048 \begin_inset Quotes erd
46051 (PDF) was developed by
46055 as a derivative of PostScript.
46056 It is more compressed and it uses fewer commands than PostScript.
46058 \begin_inset Quotes eld
46062 \begin_inset Quotes erd
46066 it can be processed at any computer system and the printed output looks exactly the same.
46069 \begin_layout Standard
46070 PDF can contain images in its own PDF format,
46072 \begin_inset Quotes eld
46075 Joint Photographic Experts Group
46076 \begin_inset Quotes erd
46081 \begin_inset Quotes eld
46089 \begin_inset Quotes erd
46093 \begin_inset Quotes eld
46101 \begin_inset Quotes erd
46106 \begin_inset Quotes eld
46109 Portable Network Graphics
46110 \begin_inset Quotes erd
46115 \begin_inset Quotes eld
46123 \begin_inset Quotes erd
46127 Nevertheless you can use any other image format,
46128 because \SpecialChar LyX
46129 converts them in the background to one of these formats.
46130 But as described in the section about PostScript,
46131 the image conversion will slow down your work flow.
46132 So it is recommended that you use images in one of the three mentioned formats.
46135 \begin_layout Standard
46136 You can export your document to PDF via the menu
46138 File\SpecialChar menuseparator
46141 in three different ways:
46144 \begin_layout Description
46146 \begin_inset space ~
46149 (ps2pdf) This uses the program
46153 that creates a PDF from a PostScript-version of your file.
46154 The PostScript-version is produced by the program
46158 which uses a DVI-version as intermediate step.
46159 So this export variant consists of three conversions.
46162 \begin_layout Description
46164 \begin_inset space ~
46167 (dvipdfm) This uses the program
46171 that converts your file in the background to DVI and in a second step to PDF.
46174 \begin_layout Description
46176 \begin_inset space ~
46179 (pdflatex) This uses the program
46183 that converts your file directly to PDF.
46186 \begin_layout Standard
46187 It is recommended that you use
46190 \begin_inset space ~
46199 supports all features of actual PDF-versions,
46200 is quick and works stable.
46205 is not under development and therefore a bit outdated.
46208 \begin_layout Standard
46209 You can view your document as PDF via the
46213 menu or by using a toolbar button.
46216 \begin_layout Chapter
46217 List of dvips color names
46218 \begin_inset CommandInset label
46220 name "chap:List-of-dvips-colornames"
46227 \begin_layout Standard
46228 \begin_inset Tabular
46229 <lyxtabular version="3" rows="17" columns="4">
46230 <features tabularvalignment="middle">
46231 <column alignment="left" valignment="top" width="0pt">
46232 <column alignment="left" valignment="top" width="0pt">
46233 <column alignment="left" valignment="top" width="0pt">
46234 <column alignment="left" valignment="top" width="0pt">
46236 <cell alignment="left" valignment="top" usebox="none">
46239 \begin_layout Plain Layout
46243 \begin_layout Plain Layout
46256 \begin_layout Plain Layout
46267 \begin_layout Plain Layout
46279 <cell alignment="left" valignment="top" usebox="none">
46282 \begin_layout Plain Layout
46286 \begin_layout Plain Layout
46299 \begin_layout Plain Layout
46310 \begin_layout Plain Layout
46322 <cell alignment="left" valignment="top" usebox="none">
46325 \begin_layout Plain Layout
46329 \begin_layout Plain Layout
46342 \begin_layout Plain Layout
46353 \begin_layout Plain Layout
46365 <cell alignment="left" valignment="top" usebox="none">
46368 \begin_layout Plain Layout
46372 \begin_layout Plain Layout
46385 \begin_layout Plain Layout
46396 \begin_layout Plain Layout
46410 <cell alignment="center" valignment="top" usebox="none">
46413 \begin_layout Plain Layout
46417 \begin_layout Plain Layout
46430 \begin_layout Plain Layout
46438 \begin_inset Phantom Phantom
46441 \begin_layout Plain Layout
46451 \begin_layout Plain Layout
46463 <cell alignment="center" valignment="top" usebox="none">
46466 \begin_layout Plain Layout
46470 \begin_layout Plain Layout
46483 \begin_layout Plain Layout
46491 \begin_inset Phantom Phantom
46494 \begin_layout Plain Layout
46504 \begin_layout Plain Layout
46516 <cell alignment="center" valignment="top" usebox="none">
46519 \begin_layout Plain Layout
46523 \begin_layout Plain Layout
46536 \begin_layout Plain Layout
46544 \begin_inset Phantom Phantom
46547 \begin_layout Plain Layout
46557 \begin_layout Plain Layout
46569 <cell alignment="center" valignment="top" usebox="none">
46572 \begin_layout Plain Layout
46576 \begin_layout Plain Layout
46589 \begin_layout Plain Layout
46597 \begin_inset Phantom Phantom
46600 \begin_layout Plain Layout
46610 \begin_layout Plain Layout
46624 <cell alignment="left" valignment="top" usebox="none">
46627 \begin_layout Plain Layout
46631 \begin_layout Plain Layout
46644 \begin_layout Plain Layout
46652 \begin_inset Phantom Phantom
46655 \begin_layout Plain Layout
46665 \begin_layout Plain Layout
46677 <cell alignment="left" valignment="top" usebox="none">
46680 \begin_layout Plain Layout
46684 \begin_layout Plain Layout
46697 \begin_layout Plain Layout
46705 \begin_inset Phantom Phantom
46708 \begin_layout Plain Layout
46718 \begin_layout Plain Layout
46730 <cell alignment="left" valignment="top" usebox="none">
46733 \begin_layout Plain Layout
46737 \begin_layout Plain Layout
46750 \begin_layout Plain Layout
46758 \begin_inset Phantom Phantom
46761 \begin_layout Plain Layout
46771 \begin_layout Plain Layout
46783 <cell alignment="left" valignment="top" usebox="none">
46786 \begin_layout Plain Layout
46790 \begin_layout Plain Layout
46803 \begin_layout Plain Layout
46811 \begin_inset Phantom Phantom
46814 \begin_layout Plain Layout
46824 \begin_layout Plain Layout
46838 <cell alignment="left" valignment="top" usebox="none">
46841 \begin_layout Plain Layout
46845 \begin_layout Plain Layout
46858 \begin_layout Plain Layout
46866 \begin_inset Phantom Phantom
46869 \begin_layout Plain Layout
46879 \begin_layout Plain Layout
46891 <cell alignment="left" valignment="top" usebox="none">
46894 \begin_layout Plain Layout
46898 \begin_layout Plain Layout
46911 \begin_layout Plain Layout
46919 \begin_inset Phantom Phantom
46922 \begin_layout Plain Layout
46932 \begin_layout Plain Layout
46944 <cell alignment="left" valignment="top" usebox="none">
46947 \begin_layout Plain Layout
46951 \begin_layout Plain Layout
46964 \begin_layout Plain Layout
46972 \begin_inset Phantom Phantom
46975 \begin_layout Plain Layout
46985 \begin_layout Plain Layout
46997 <cell alignment="left" valignment="top" usebox="none">
47000 \begin_layout Plain Layout
47004 \begin_layout Plain Layout
47017 \begin_layout Plain Layout
47025 \begin_inset Phantom Phantom
47028 \begin_layout Plain Layout
47038 \begin_layout Plain Layout
47052 <cell alignment="left" valignment="top" usebox="none">
47055 \begin_layout Plain Layout
47059 \begin_layout Plain Layout
47072 \begin_layout Plain Layout
47080 \begin_inset Phantom Phantom
47083 \begin_layout Plain Layout
47093 \begin_layout Plain Layout
47105 <cell alignment="left" valignment="top" usebox="none">
47108 \begin_layout Plain Layout
47112 \begin_layout Plain Layout
47125 \begin_layout Plain Layout
47133 \begin_inset Phantom Phantom
47136 \begin_layout Plain Layout
47146 \begin_layout Plain Layout
47158 <cell alignment="left" valignment="top" usebox="none">
47161 \begin_layout Plain Layout
47165 \begin_layout Plain Layout
47178 \begin_layout Plain Layout
47186 \begin_inset Phantom Phantom
47189 \begin_layout Plain Layout
47199 \begin_layout Plain Layout
47211 <cell alignment="left" valignment="top" usebox="none">
47214 \begin_layout Plain Layout
47218 \begin_layout Plain Layout
47231 \begin_layout Plain Layout
47239 \begin_inset Phantom Phantom
47242 \begin_layout Plain Layout
47252 \begin_layout Plain Layout
47266 <cell alignment="left" valignment="top" usebox="none">
47269 \begin_layout Plain Layout
47273 \begin_layout Plain Layout
47286 \begin_layout Plain Layout
47294 \begin_inset Phantom Phantom
47297 \begin_layout Plain Layout
47307 \begin_layout Plain Layout
47319 <cell alignment="left" valignment="top" usebox="none">
47322 \begin_layout Plain Layout
47326 \begin_layout Plain Layout
47339 \begin_layout Plain Layout
47347 \begin_inset Phantom Phantom
47350 \begin_layout Plain Layout
47360 \begin_layout Plain Layout
47372 <cell alignment="left" valignment="top" usebox="none">
47375 \begin_layout Plain Layout
47379 \begin_layout Plain Layout
47392 \begin_layout Plain Layout
47400 \begin_inset Phantom Phantom
47403 \begin_layout Plain Layout
47413 \begin_layout Plain Layout
47425 <cell alignment="left" valignment="top" usebox="none">
47428 \begin_layout Plain Layout
47432 \begin_layout Plain Layout
47445 \begin_layout Plain Layout
47453 \begin_inset Phantom Phantom
47456 \begin_layout Plain Layout
47466 \begin_layout Plain Layout
47480 <cell alignment="center" valignment="top" usebox="none">
47483 \begin_layout Plain Layout
47487 \begin_layout Plain Layout
47500 \begin_layout Plain Layout
47508 \begin_inset Phantom Phantom
47511 \begin_layout Plain Layout
47521 \begin_layout Plain Layout
47533 <cell alignment="center" valignment="top" usebox="none">
47536 \begin_layout Plain Layout
47540 \begin_layout Plain Layout
47553 \begin_layout Plain Layout
47561 \begin_inset Phantom Phantom
47564 \begin_layout Plain Layout
47574 \begin_layout Plain Layout
47586 <cell alignment="center" valignment="top" usebox="none">
47589 \begin_layout Plain Layout
47593 \begin_layout Plain Layout
47606 \begin_layout Plain Layout
47614 \begin_inset Phantom Phantom
47617 \begin_layout Plain Layout
47627 \begin_layout Plain Layout
47639 <cell alignment="center" valignment="top" usebox="none">
47642 \begin_layout Plain Layout
47646 \begin_layout Plain Layout
47659 \begin_layout Plain Layout
47667 \begin_inset Phantom Phantom
47670 \begin_layout Plain Layout
47680 \begin_layout Plain Layout
47694 <cell alignment="left" valignment="top" usebox="none">
47697 \begin_layout Plain Layout
47701 \begin_layout Plain Layout
47714 \begin_layout Plain Layout
47722 \begin_inset Phantom Phantom
47725 \begin_layout Plain Layout
47735 \begin_layout Plain Layout
47747 <cell alignment="left" valignment="top" usebox="none">
47750 \begin_layout Plain Layout
47754 \begin_layout Plain Layout
47767 \begin_layout Plain Layout
47775 \begin_inset Phantom Phantom
47778 \begin_layout Plain Layout
47788 \begin_layout Plain Layout
47800 <cell alignment="left" valignment="top" usebox="none">
47803 \begin_layout Plain Layout
47807 \begin_layout Plain Layout
47820 \begin_layout Plain Layout
47828 \begin_inset Phantom Phantom
47831 \begin_layout Plain Layout
47841 \begin_layout Plain Layout
47853 <cell alignment="left" valignment="top" usebox="none">
47856 \begin_layout Plain Layout
47860 \begin_layout Plain Layout
47873 \begin_layout Plain Layout
47881 \begin_inset Phantom Phantom
47884 \begin_layout Plain Layout
47894 \begin_layout Plain Layout
47908 <cell alignment="left" valignment="top" usebox="none">
47911 \begin_layout Plain Layout
47915 \begin_layout Plain Layout
47928 \begin_layout Plain Layout
47936 \begin_inset Phantom Phantom
47939 \begin_layout Plain Layout
47949 \begin_layout Plain Layout
47961 <cell alignment="left" valignment="top" usebox="none">
47964 \begin_layout Plain Layout
47968 \begin_layout Plain Layout
47981 \begin_layout Plain Layout
47989 \begin_inset Phantom Phantom
47992 \begin_layout Plain Layout
48002 \begin_layout Plain Layout
48014 <cell alignment="left" valignment="top" usebox="none">
48017 \begin_layout Plain Layout
48021 \begin_layout Plain Layout
48034 \begin_layout Plain Layout
48042 \begin_inset Phantom Phantom
48045 \begin_layout Plain Layout
48055 \begin_layout Plain Layout
48067 <cell alignment="left" valignment="top" usebox="none">
48070 \begin_layout Plain Layout
48074 \begin_layout Plain Layout
48087 \begin_layout Plain Layout
48095 \begin_inset Phantom Phantom
48098 \begin_layout Plain Layout
48108 \begin_layout Plain Layout
48122 <cell alignment="left" valignment="top" usebox="none">
48125 \begin_layout Plain Layout
48129 \begin_layout Plain Layout
48142 \begin_layout Plain Layout
48150 \begin_inset Phantom Phantom
48153 \begin_layout Plain Layout
48163 \begin_layout Plain Layout
48175 <cell alignment="left" valignment="top" usebox="none">
48178 \begin_layout Plain Layout
48182 \begin_layout Plain Layout
48195 \begin_layout Plain Layout
48203 \begin_inset Phantom Phantom
48206 \begin_layout Plain Layout
48216 \begin_layout Plain Layout
48228 <cell alignment="left" valignment="top" usebox="none">
48231 \begin_layout Plain Layout
48235 \begin_layout Plain Layout
48248 \begin_layout Plain Layout
48256 \begin_inset Phantom Phantom
48259 \begin_layout Plain Layout
48269 \begin_layout Plain Layout
48281 <cell alignment="left" valignment="top" usebox="none">
48284 \begin_layout Plain Layout
48288 \begin_layout Plain Layout
48301 \begin_layout Plain Layout
48309 \begin_inset Phantom Phantom
48312 \begin_layout Plain Layout
48322 \begin_layout Plain Layout
48336 <cell alignment="left" valignment="top" usebox="none">
48339 \begin_layout Plain Layout
48343 \begin_layout Plain Layout
48356 \begin_layout Plain Layout
48364 \begin_inset Phantom Phantom
48367 \begin_layout Plain Layout
48377 \begin_layout Plain Layout
48389 <cell alignment="left" valignment="top" usebox="none">
48392 \begin_layout Plain Layout
48396 \begin_layout Plain Layout
48409 \begin_layout Plain Layout
48417 \begin_inset Phantom Phantom
48420 \begin_layout Plain Layout
48430 \begin_layout Plain Layout
48442 <cell alignment="left" valignment="top" usebox="none">
48445 \begin_layout Plain Layout
48449 \begin_layout Plain Layout
48462 \begin_layout Plain Layout
48470 \begin_inset Phantom Phantom
48473 \begin_layout Plain Layout
48483 \begin_layout Plain Layout
48495 <cell alignment="left" valignment="top" usebox="none">
48498 \begin_layout Plain Layout
48502 \begin_layout Plain Layout
48515 \begin_layout Plain Layout
48523 \begin_inset Phantom Phantom
48526 \begin_layout Plain Layout
48536 \begin_layout Plain Layout
48550 <cell alignment="left" valignment="top" usebox="none">
48553 \begin_layout Plain Layout
48557 \begin_layout Plain Layout
48570 \begin_layout Plain Layout
48578 \begin_inset Phantom Phantom
48581 \begin_layout Plain Layout
48591 \begin_layout Plain Layout
48603 <cell alignment="left" valignment="top" usebox="none">
48606 \begin_layout Plain Layout
48610 \begin_layout Plain Layout
48623 \begin_layout Plain Layout
48631 \begin_inset Phantom Phantom
48634 \begin_layout Plain Layout
48644 \begin_layout Plain Layout
48656 <cell alignment="left" valignment="top" usebox="none">
48659 \begin_layout Plain Layout
48663 \begin_layout Plain Layout
48676 \begin_layout Plain Layout
48684 \begin_inset Phantom Phantom
48687 \begin_layout Plain Layout
48697 \begin_layout Plain Layout
48709 <cell alignment="left" valignment="top" usebox="none">
48712 \begin_layout Plain Layout
48716 \begin_layout Plain Layout
48729 \begin_layout Plain Layout
48737 \begin_inset Phantom Phantom
48740 \begin_layout Plain Layout
48750 \begin_layout Plain Layout
48764 <cell alignment="left" valignment="top" usebox="none">
48767 \begin_layout Plain Layout
48771 \begin_layout Plain Layout
48784 \begin_layout Plain Layout
48792 \begin_inset Phantom Phantom
48795 \begin_layout Plain Layout
48805 \begin_layout Plain Layout
48817 <cell alignment="left" valignment="top" usebox="none">
48820 \begin_layout Plain Layout
48824 \begin_layout Plain Layout
48837 \begin_layout Plain Layout
48845 \begin_inset Phantom Phantom
48848 \begin_layout Plain Layout
48858 \begin_layout Plain Layout
48870 <cell alignment="left" valignment="top" usebox="none">
48873 \begin_layout Plain Layout
48877 \begin_layout Plain Layout
48890 \begin_layout Plain Layout
48898 \begin_inset Phantom Phantom
48901 \begin_layout Plain Layout
48911 \begin_layout Plain Layout
48923 <cell alignment="left" valignment="top" usebox="none">
48926 \begin_layout Plain Layout
48930 \begin_layout Plain Layout
48943 \begin_layout Plain Layout
48951 \begin_inset Phantom Phantom
48954 \begin_layout Plain Layout
48964 \begin_layout Plain Layout
48978 <cell alignment="left" valignment="top" usebox="none">
48981 \begin_layout Plain Layout
48985 \begin_layout Plain Layout
48998 \begin_layout Plain Layout
49006 \begin_inset Phantom Phantom
49009 \begin_layout Plain Layout
49019 \begin_layout Plain Layout
49031 <cell alignment="left" valignment="top" usebox="none">
49034 \begin_layout Plain Layout
49038 \begin_layout Plain Layout
49051 \begin_layout Plain Layout
49059 \begin_inset Phantom Phantom
49062 \begin_layout Plain Layout
49072 \begin_layout Plain Layout
49084 <cell alignment="left" valignment="top" usebox="none">
49087 \begin_layout Plain Layout
49091 \begin_layout Plain Layout
49104 \begin_layout Plain Layout
49112 \begin_inset Phantom Phantom
49115 \begin_layout Plain Layout
49125 \begin_layout Plain Layout
49137 <cell alignment="left" valignment="top" usebox="none">
49140 \begin_layout Plain Layout
49144 \begin_layout Plain Layout
49157 \begin_layout Plain Layout
49165 \begin_inset Phantom Phantom
49168 \begin_layout Plain Layout
49178 \begin_layout Plain Layout
49192 <cell alignment="left" valignment="top" usebox="none">
49195 \begin_layout Plain Layout
49199 \begin_layout Plain Layout
49212 \begin_layout Plain Layout
49220 \begin_inset Phantom Phantom
49223 \begin_layout Plain Layout
49233 \begin_layout Plain Layout
49245 <cell alignment="left" valignment="top" usebox="none">
49248 \begin_layout Plain Layout
49252 \begin_layout Plain Layout
49265 \begin_layout Plain Layout
49273 \begin_inset Phantom Phantom
49276 \begin_layout Plain Layout
49286 \begin_layout Plain Layout
49298 <cell alignment="left" valignment="top" usebox="none">
49301 \begin_layout Plain Layout
49305 \begin_layout Plain Layout
49318 \begin_layout Plain Layout
49326 \begin_inset Phantom Phantom
49329 \begin_layout Plain Layout
49339 \begin_layout Plain Layout
49351 <cell alignment="left" valignment="top" usebox="none">
49354 \begin_layout Plain Layout
49358 \begin_layout Plain Layout
49371 \begin_layout Plain Layout
49379 \begin_inset Phantom Phantom
49382 \begin_layout Plain Layout
49392 \begin_layout Plain Layout
49406 <cell alignment="left" valignment="top" usebox="none">
49409 \begin_layout Plain Layout
49413 \begin_layout Plain Layout
49426 \begin_layout Plain Layout
49434 \begin_inset Phantom Phantom
49437 \begin_layout Plain Layout
49447 \begin_layout Plain Layout
49459 <cell alignment="left" valignment="top" usebox="none">
49462 \begin_layout Plain Layout
49466 \begin_layout Plain Layout
49479 \begin_layout Plain Layout
49487 \begin_inset Phantom Phantom
49490 \begin_layout Plain Layout
49500 \begin_layout Plain Layout
49512 <cell alignment="left" valignment="top" usebox="none">
49515 \begin_layout Plain Layout
49519 \begin_layout Plain Layout
49532 \begin_layout Plain Layout
49540 \begin_inset Phantom Phantom
49543 \begin_layout Plain Layout
49553 \begin_layout Plain Layout
49565 <cell alignment="left" valignment="top" usebox="none">
49568 \begin_layout Plain Layout
49572 \begin_layout Plain Layout
49585 \begin_layout Plain Layout
49593 \begin_inset Phantom Phantom
49596 \begin_layout Plain Layout
49606 \begin_layout Plain Layout
49620 <cell alignment="left" valignment="top" usebox="none">
49623 \begin_layout Plain Layout
49627 \begin_layout Plain Layout
49640 \begin_layout Plain Layout
49648 \begin_inset Phantom Phantom
49651 \begin_layout Plain Layout
49661 \begin_layout Plain Layout
49673 <cell alignment="left" valignment="top" usebox="none">
49676 \begin_layout Plain Layout
49682 <cell alignment="left" valignment="top" usebox="none">
49685 \begin_layout Plain Layout
49691 <cell alignment="left" valignment="top" usebox="none">
49694 \begin_layout Plain Layout
49708 \begin_layout Chapter
49709 Explanation of Equation
49710 \begin_inset space ~
49714 \begin_inset CommandInset ref
49722 \begin_inset CommandInset label
49724 name "cha:Explanation-of-Equation"
49731 \begin_layout Standard
49732 We can calculate the total width of
49737 \begin_inset Formula $W_{\mathrm{tot\,n}}$
49741 \begin_inset Formula
49743 W_{\mathrm{tot}\,n}=n\cdot(W_{g\,n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
49749 \begin_inset Formula $W_{g\,n}$
49752 is the given width of all cells,
49759 is the \SpecialChar LaTeX
49760 -length between the cell text and the cell border (its default value is 6
49761 \begin_inset space \thinspace{}
49771 is the thickness of the cell border line,
49773 \begin_inset space \thinspace{}
49779 \begin_layout Standard
49781 \begin_inset space ~
49785 \begin_inset CommandInset ref
49787 reference "eq:Wtot_n"
49793 the total width of a multicolumn
49794 \begin_inset Formula $W_{\mathrm{tot\,mult}}$
49798 \begin_inset Formula
49800 W_{\mathrm{tot\,mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
49808 \begin_layout Standard
49809 By setting equation
49810 \begin_inset space ~
49814 \begin_inset CommandInset ref
49816 reference "eq:Wtot_n"
49822 \begin_inset CommandInset ref
49824 reference "eq:Wtot_mult"
49829 equal we can calculate the needed given width
49830 \begin_inset Formula $W_{g\,n}$
49837 columns are spanned,
49838 so that each column has a total width of
49839 \begin_inset Formula $W_{\mathrm{tot\,mult}}/n$
49843 \begin_inset Formula
49845 W_{g\,n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
49853 \begin_layout Bibliography
49854 \begin_inset CommandInset bibitem
49855 LatexCommand bibitem
49856 key "latexcompanion"
49861 Frank Mittelbach and Michel Goossens:
49864 The \SpecialChar LaTeX
49865 Companion Second Edition.
49872 \begin_layout Bibliography
49873 \begin_inset CommandInset bibitem
49874 LatexCommand bibitem
49880 Helmut Kopka and Patrick W.
49884 A Guide to \SpecialChar LaTeX
49892 \begin_layout Bibliography
49893 \begin_inset CommandInset bibitem
49894 LatexCommand bibitem
49905 A Document Preparation System.
49913 \begin_layout Bibliography
49914 \begin_inset CommandInset bibitem
49915 LatexCommand bibitem
49921 Documentation of the \SpecialChar LaTeX
49925 \begin_inset CommandInset href
49928 target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
49936 \begin_inset Index idx
49941 \begin_layout Plain Layout
49944 \begin_inset IndexMacro subentry
49947 \begin_layout Plain Layout
49961 \begin_layout Bibliography
49962 \begin_inset CommandInset bibitem
49963 LatexCommand bibitem
49969 Documentation of the \SpecialChar LaTeX
49973 \begin_inset CommandInset href
49976 target "https://www.ctan.org/tex-archive/macros/latex/contrib//booktabs/booktabs.pdf"
49984 \begin_inset Index idx
49989 \begin_layout Plain Layout
49992 \begin_inset IndexMacro subentry
49995 \begin_layout Plain Layout
50009 \begin_layout Bibliography
50010 \begin_inset CommandInset bibitem
50011 LatexCommand bibitem
50017 Documentation of the \SpecialChar LaTeX
50021 \begin_inset CommandInset href
50024 target "https://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"
50032 \begin_inset Index idx
50037 \begin_layout Plain Layout
50040 \begin_inset IndexMacro subentry
50043 \begin_layout Plain Layout
50057 \begin_layout Bibliography
50058 \begin_inset CommandInset bibitem
50059 LatexCommand bibitem
50065 Documentation of the \SpecialChar LaTeX
50069 \begin_inset CommandInset href
50072 target "https://www.ctan.org/tex-archive/macros/latex/contrib//diagbox/diagbox.pdf"
50080 \begin_inset Index idx
50085 \begin_layout Plain Layout
50088 \begin_inset IndexMacro subentry
50091 \begin_layout Plain Layout
50105 \begin_layout Bibliography
50106 \begin_inset CommandInset bibitem
50107 LatexCommand bibitem
50113 Documentation of the \SpecialChar LaTeX
50117 \begin_inset CommandInset href
50120 target "https://www.ctan.org/tex-archive/macros/latex/contrib//endfloat/endfloat.pdf"
50128 \begin_inset Index idx
50133 \begin_layout Plain Layout
50136 \begin_inset IndexMacro subentry
50139 \begin_layout Plain Layout
50153 \begin_layout Bibliography
50154 \begin_inset CommandInset bibitem
50155 LatexCommand bibitem
50161 Documentation of the \SpecialChar LaTeX
50165 \begin_inset CommandInset href
50168 target "https://www.ctan.org/tex-archive/macros/latex/contrib//footmisc/footmisc.pdf"
50176 \begin_inset Index idx
50181 \begin_layout Plain Layout
50184 \begin_inset IndexMacro subentry
50187 \begin_layout Plain Layout
50201 \begin_layout Bibliography
50202 \begin_inset CommandInset bibitem
50203 LatexCommand bibitem
50209 Documentation of the \SpecialChar LaTeX
50213 \begin_inset CommandInset href
50216 target "https://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
50224 \begin_inset Index idx
50229 \begin_layout Plain Layout
50232 \begin_inset IndexMacro subentry
50235 \begin_layout Plain Layout
50249 \begin_layout Bibliography
50250 \begin_inset CommandInset bibitem
50251 LatexCommand bibitem
50257 Documentation of the \SpecialChar LaTeX
50261 \begin_inset CommandInset href
50264 target "https://www.ctan.org/tex-archive/macros/latex/contrib//hyperref/hyperref.pdf"
50272 \begin_inset Index idx
50277 \begin_layout Plain Layout
50280 \begin_inset IndexMacro subentry
50283 \begin_layout Plain Layout
50297 \begin_layout Bibliography
50298 \begin_inset CommandInset bibitem
50299 LatexCommand bibitem
50305 Documentation of the \SpecialChar LaTeX
50309 \begin_inset CommandInset href
50312 target "https://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf"
50320 \begin_inset Index idx
50325 \begin_layout Plain Layout
50328 \begin_inset IndexMacro subentry
50331 \begin_layout Plain Layout
50345 \begin_layout Bibliography
50346 \begin_inset CommandInset bibitem
50347 LatexCommand bibitem
50353 Documentation of the \SpecialChar LaTeX
50357 \begin_inset CommandInset href
50360 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/lettrine.pdf"
50368 \begin_inset CommandInset href
50371 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/demo.pdf"
50377 \begin_inset Index idx
50382 \begin_layout Plain Layout
50385 \begin_inset IndexMacro subentry
50388 \begin_layout Plain Layout
50402 \begin_layout Bibliography
50403 \begin_inset CommandInset bibitem
50404 LatexCommand bibitem
50410 Documentation of the \SpecialChar LaTeX
50414 \begin_inset CommandInset href
50417 target "https://www.ctan.org/tex-archive/macros/latex/contrib//listings/listings.pdf"
50425 \begin_inset Index idx
50430 \begin_layout Plain Layout
50433 \begin_inset IndexMacro subentry
50436 \begin_layout Plain Layout
50450 \begin_layout Bibliography
50451 \begin_inset CommandInset bibitem
50452 LatexCommand bibitem
50458 Documentation of the \SpecialChar LaTeX
50462 \begin_inset CommandInset href
50465 target "https://www.ctan.org/tex-archive/macros/latex/contrib//minted/minted.pdf"
50473 \begin_inset Index idx
50478 \begin_layout Plain Layout
50481 \begin_inset IndexMacro subentry
50484 \begin_layout Plain Layout
50498 \begin_layout Bibliography
50499 \begin_inset CommandInset bibitem
50500 LatexCommand bibitem
50506 Documentation of the \SpecialChar LaTeX
50510 \begin_inset CommandInset href
50513 target "https://www.ctan.org/tex-archive/macros/latex/contrib//marginnote/marginnote.pdf"
50521 \begin_inset Index idx
50526 \begin_layout Plain Layout
50529 \begin_inset IndexMacro subentry
50532 \begin_layout Plain Layout
50546 \begin_layout Bibliography
50547 \begin_inset CommandInset bibitem
50548 LatexCommand bibitem
50554 Documentation of the \SpecialChar LaTeX
50558 \begin_inset CommandInset href
50561 target "https://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
50569 \begin_inset Index idx
50574 \begin_layout Plain Layout
50577 \begin_inset IndexMacro subentry
50580 \begin_layout Plain Layout
50594 \begin_layout Bibliography
50595 \begin_inset CommandInset bibitem
50596 LatexCommand bibitem
50602 Documentation of the \SpecialChar LaTeX
50606 \begin_inset CommandInset href
50609 target "https://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
50617 \begin_inset Index idx
50622 \begin_layout Plain Layout
50625 \begin_inset IndexMacro subentry
50628 \begin_layout Plain Layout
50642 \begin_layout Bibliography
50643 \begin_inset CommandInset bibitem
50644 LatexCommand bibitem
50650 Web page of the \SpecialChar LaTeX
50654 \begin_inset CommandInset href
50657 target "http://tug.org/PSTricks/"
50665 \begin_inset Index idx
50670 \begin_layout Plain Layout
50673 \begin_inset IndexMacro subentry
50676 \begin_layout Plain Layout
50690 \begin_layout Bibliography
50691 \begin_inset CommandInset bibitem
50692 LatexCommand bibitem
50698 Documentation of the \SpecialChar LaTeX
50702 \begin_inset CommandInset href
50705 target "https://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
50713 \begin_inset Index idx
50718 \begin_layout Plain Layout
50721 \begin_inset IndexMacro subentry
50724 \begin_layout Plain Layout
50738 \begin_layout Bibliography
50739 \begin_inset CommandInset bibitem
50740 LatexCommand bibitem
50746 Documentation of the \SpecialChar LaTeX
50750 \begin_inset CommandInset href
50753 target "https://www.ctan.org/tex-archive/macros/latex/contrib//sidecap/sidecap.pdf"
50761 \begin_inset Index idx
50766 \begin_layout Plain Layout
50769 \begin_inset IndexMacro subentry
50772 \begin_layout Plain Layout
50786 \begin_layout Bibliography
50787 \begin_inset CommandInset bibitem
50788 LatexCommand bibitem
50794 Documentation of the option
50795 \begin_inset CommandInset href
50797 name "Omit text in PDF"
50798 target "https://www.ctan.org/tex-archive/info/svg-inkscape/InkscapePDFLaTeX.pdf"
50806 \begin_inset CommandInset href
50809 target "https://inkscape.org"
50817 \begin_layout Standard
50818 \begin_inset CommandInset index_print
50819 LatexCommand printindex