1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/
9 % that links to image floats jumps
10 % to the beginning of the float and
12 \usepackage[figure]{hypcap}
14 % the pages of the TOC are numbered roman
15 % and a PDF-bookmark for the TOC is added
16 \let\myTOC\tableofcontents
17 \renewcommand\tableofcontents{%
19 \pdfbookmark[1]{\contentsname}{}
23 % provides caption formatting
24 \usepackage[labelfont={bf,sf}]{caption}[2004/07/16]
26 % provides commands to set caption
27 % beside tables/images
28 \newcommand{\TabBesBeg}[1][1.0]{%
30 \let\MyEndtable\endtable
31 \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}}
33 \newcommand{\TabBesEnd}{%
35 \let\endtable\MyEndtable}
37 \newcommand{\FigBesBeg}[1][1.0]{%
39 \let\MyEndfigure\endfigure
40 \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}
42 \newcommand{\FigBesEnd}{%
44 \let\endfigure\MyEndfigure}
46 % enables calculation of values,
49 % increase the bottom float placement fraction
50 \renewcommand{\bottomfraction}{0.5}
52 % avoids that floats are placed before their
53 % corresponding section starts
54 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
56 % speed up the longtable calculation
57 \setcounter{LTchunksize}{100}
59 % used for colored tables
60 \@ifundefined{textcolor}
61 {\usepackage{color}}{}
62 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
63 \definecolor{lightgrey}{gray}{0.8}
65 % check for package colortbl
66 % used for colored table cells
68 \IfFileExists{colortbl.sty}
69 {\usepackage{colortbl}
70 \setboolean{colortbl}{true}}
71 {\setboolean{colortbl}{false}}
73 % used to have extra space in table cells
74 \@ifundefined{extrarowheight}
75 {\usepackage{array}}{}
76 \setlength{\extrarowheight}{2pt}
78 % used for customized tables
81 {>{\centering\hspace{0pt}}m{#1}}
84 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
87 {>{\columncolor{#1}\hspace{0pt}}c}
89 \newcolumntype{V}{!{\vrule width 1.5pt}}
91 \newcolumntype{W}{!{\color{green}\vline}}
94 % insert additional vertical space of
95 % 1.5 mm between footnotes
97 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
99 % number algorithm floats within chapters
100 \numberwithin{algorithm}{chapter}
102 % ------------------------------------
103 % used to check for needed LaTeX packages
106 % check for package arydshln
107 % used for tables with dashed lines
108 \newboolean{arydshln}
109 \IfFileExists{arydshln.sty}
110 {\usepackage{arydshln}
111 \setboolean{arydshln}{true}}
112 {\setboolean{arydshln}{false}}
114 % check for package marginnote
115 % used for margin notes
116 \newboolean{marginnote}
117 \IfFileExists{marginnote.sty}
118 {\usepackage{marginnote}
119 \let\marginpar\marginnote
120 \setboolean{marginnote}{true}}
121 {\setboolean{marginnote}{false}}
123 % check for package sidecap
124 % used for captions on the side
126 \IfFileExists{sidecap.sty}
127 {\usepackage{sidecap}
128 \setboolean{sidecap}{true}}
129 {\setboolean{sidecap}{false}}
132 % used for surrounded fixed objects
133 \newboolean{picinpar}
134 \IfFileExists{picinpar.sty}
135 {\usepackage{picinpar}
136 \setboolean{picinpar}{true}}
137 {\setboolean{picinpar}{false}}
140 \newboolean{lettrine}
141 \IfFileExists{lettrine.sty}
142 {\usepackage{lettrine}
143 \setboolean{lettrine}{true}}
144 {\setboolean{lettrine}{false}}
148 \IfFileExists{diagbox.sty}
149 {\usepackage{diagbox}
150 \setboolean{diagbox}{true}}
151 {\setboolean{diagbox}{false}}
153 \setlength{\parskip}{\medskipamount}
154 \setlength{\parindent}{0pt}
156 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,dvipsnames,table
157 \use_default_options false
163 \maintain_unincluded_children no
165 \language_package default
168 \font_roman "lmodern" "default"
169 \font_sans "lmss" "default"
170 \font_typewriter "lmtt" "default"
171 \font_math "auto" "auto"
172 \font_default_family default
173 \use_non_tex_fonts false
175 \font_roman_osf false
177 \font_typewriter_osf false
178 \font_sf_scale 100 100
179 \font_tt_scale 100 100
181 \use_dash_ligatures true
183 \default_output_format pdf2
185 \bibtex_command default
186 \index_command makeindex
190 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
191 \pdf_author "LyX Team, Uwe Stöhr"
192 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
193 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
195 \pdf_bookmarksnumbered true
196 \pdf_bookmarksopen true
197 \pdf_bookmarksopenlevel 1
198 \pdf_breaklinks false
202 \pdf_pdfusetitle false
203 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
206 \use_package amsmath 1
207 \use_package amssymb 1
208 \use_package cancel 1
210 \use_package mathdots 1
211 \use_package mathtools 1
212 \use_package mhchem 1
213 \use_package stackrel 1
214 \use_package stmaryrd 1
215 \use_package undertilde 1
217 \cite_engine_type default
221 \paperorientation portrait
227 \notefontcolor #0000ff
234 \paragraph_separation indent
235 \paragraph_indentation default
237 \math_numbering_side default
238 \quotes_style english
242 \paperpagestyle default
244 \tracking_changes true
245 \output_changes false
247 \postpone_fragile_content false
250 \html_be_strict false
251 \docbook_table_output 0
252 \docbook_mathml_prefix 1
253 \author -1382599118 "Daniel"
254 \author -712698321 "Jürgen Spitzmüller"
256 \author 630872221 "Jean-Pierre Chrétien" jeanpierre.chretien@free.fr
263 's detailed Figure, Table, Floats, Notes, Boxes and External Material manual
267 by the \SpecialChar LyX
272 \begin_layout Plain Layout
274 If you have comments or error corrections, please send them to the \SpecialChar LyX
277 \begin_inset CommandInset href
279 name "lyx-docs@lists.lyx.org"
280 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
292 \begin_inset Note Note
295 \begin_layout Plain Layout
302 \begin_inset Newline newline
306 \begin_inset Newline newline
314 \begin_layout Standard
315 \begin_inset CommandInset toc
316 LatexCommand tableofcontents
323 \begin_layout Standard
324 \begin_inset Note Note
327 \begin_layout Plain Layout
328 To export all parts of this document to PDF, PS, or DVI the \SpecialChar LaTeX
339 diagbox, lettrine, marginnote, picinpar
346 If they are not installed you can export the document anyway but the sections
347 where the packages are required won't appear in the output.
350 \begin_layout Plain Layout
351 The latest PDF-version of this document can be found here:
352 \begin_inset Newline newline
357 https://wiki.lyx.org/LyX/Manuals#EmbeddedObjects
365 \begin_layout Chapter
367 \begin_inset Index idx
372 \begin_layout Plain Layout
379 \begin_inset Index idx
384 \begin_layout Plain Layout
386 \begin_inset IndexMacro see
389 \begin_layout Plain Layout
403 \begin_layout Section
405 \begin_inset Index idx
410 \begin_layout Plain Layout
412 \begin_inset IndexMacro subentry
415 \begin_layout Plain Layout
427 \begin_inset CommandInset label
429 name "sec:Graphics-Dialog"
436 \begin_layout Standard
437 To insert an image into your document, place the cursor at the text position
438 you want and click on the toolbar icon
441 arg "dialog-show-new-inset graphics"
446 Insert\SpecialChar menuseparator
450 Then a dialog will appear to choose the file to load.
451 The image will appear in the output exactly at the position where it is
455 \begin_layout Standard
456 The graphics dialog can be called at any time by clicking on an image.
457 This dialog has three tabs:
460 \begin_layout Description
465 Here you can choose an image file and adjust its appearance in the output.
466 The available units for the image size are explained in appendix
471 \begin_inset CommandInset ref
473 reference "cha:Units-available-in"
478 \begin_inset Newline newline
482 \begin_inset Index idx
487 \begin_layout Plain Layout
489 \begin_inset IndexMacro subentry
492 \begin_layout Plain Layout
503 You can rotate images counter-clockwise by setting a rotation angle and
505 The image will also be rotated inside \SpecialChar LyX
507 \begin_inset Newline newline
511 \begin_inset Index idx
516 \begin_layout Plain Layout
518 \begin_inset IndexMacro subentry
521 \begin_layout Plain Layout
532 Images can be scaled by using a percentage value or by setting the width
533 and height explicitly.
534 If you set only the width or only the height, the other size will be determined
536 If you set both, then the image will be transformed to the given size,
537 possibly distorting it.
538 To prevent the image from distortion, use the option
540 Maintain aspect ratio
543 The image will then be scaled so that its width and height don't exceed
544 the specified dimensions.
545 \begin_inset Newline newline
548 Images can be opened in a program of your choice by right-clicking on it
549 and choosing the entry
558 The program can be set for every image format in the file format settings
563 \begin_layout Description
576 Alternatively to the usage of scaling units it is possible to set image
577 coordinates to adjust the height and width of the image in the output.
578 The coordinates can also be calculated automatically by pressing the button
608 will only print the image region within the given coordinates.
609 Normally you don't need to worry about image coordinates and can ignore
613 \begin_layout Description
630 In this tab you can modify the appearance of the image within \SpecialChar LyX
631 and \SpecialChar LaTeX
633 can specify additional \SpecialChar LaTeX
635 \begin_inset Newline newline
646 makes the image appear in the output only as a frame with the size of the
648 \begin_inset Newline newline
659 you can define or join an image settings group.
660 \begin_inset Index idx
665 \begin_layout Plain Layout
667 \begin_inset IndexMacro subentry
670 \begin_layout Plain Layout
681 Images within such a group share their settings, so adjusting one image
682 of the group automatically also adjusts all other images of the group in
684 So you can for example change the size for a bunch of images without the
685 need to manually change each of them.
686 Joining an existing group can also be done using the context menu of the
687 image by checking the name of the desired group.
690 \begin_layout Standard
691 \begin_inset VSpace bigskip
697 \begin_layout Standard
698 This is an example image in PDF format
702 \begin_layout Plain Layout
703 Image formats are explained in section
708 \begin_inset CommandInset ref
710 reference "sec:Image-Formats"
719 within a separate, horizontally centered paragraph:
722 \begin_layout Standard
724 \begin_inset Graphics
725 filename clipart/2D-intensity-plot.pdf
734 \begin_layout Standard
735 This is the same image like the one above but in draft mode:
738 \begin_layout Standard
740 \begin_inset Graphics
741 filename clipart/2D-intensity-plot.pdf
751 \begin_layout Standard
752 \begin_inset Newpage newpage
758 \begin_layout Section
760 \begin_inset CommandInset label
762 name "sec:Figure-Floats"
767 \begin_inset Index idx
772 \begin_layout Plain Layout
774 \begin_inset IndexMacro subentry
777 \begin_layout Plain Layout
789 \begin_inset Index idx
794 \begin_layout Plain Layout
796 \begin_inset IndexMacro subentry
799 \begin_layout Plain Layout
813 \begin_layout Standard
814 For general explanations about floats, have a look at section
819 \begin_inset CommandInset ref
821 reference "sec:FloatIntroduction"
828 \begin_layout Standard
832 arg "float-insert figure"
837 Insert\SpecialChar menuseparator
838 Float\SpecialChar menuseparator
841 inserts a float with a caption that has the label
842 \begin_inset Quotes eld
850 \begin_inset Quotes erd
853 (# is the actual number).
854 You can insert the image above the caption, like in Figure
859 \begin_inset CommandInset ref
861 reference "fig:A-star-in"
865 or below the caption, like in Figure
870 \begin_inset CommandInset ref
872 reference "fig:A-3D-object"
877 More about caption placement is described in section
882 \begin_inset CommandInset ref
884 reference "sec:Caption-Placement"
891 \begin_layout Standard
892 \begin_inset Float figure
899 \begin_layout Plain Layout
901 \begin_inset Graphics
902 filename clipart/Star-structure.pdf
913 \begin_layout Plain Layout
914 \begin_inset Caption Standard
916 \begin_layout Plain Layout
917 \begin_inset CommandInset label
936 \begin_layout Standard
937 \begin_inset Float figure
944 \begin_layout Plain Layout
945 \begin_inset Caption Standard
947 \begin_layout Plain Layout
948 \begin_inset CommandInset label
950 name "fig:A-3D-object"
962 \begin_layout Plain Layout
964 \begin_inset Graphics
965 filename clipart/3D-structure-distort.pdf
981 \begin_layout Standard
982 \begin_inset Index idx
987 \begin_layout Plain Layout
989 \begin_inset IndexMacro subentry
992 \begin_layout Plain Layout
1004 \begin_inset space ~
1008 \begin_inset CommandInset ref
1010 reference "fig:A-star-in"
1015 \begin_inset CommandInset ref
1017 reference "fig:A-3D-object"
1021 are examples of referenced figures.
1022 Figures can be referenced in the text by referencing their label.
1023 To do this insert a label in the caption using the menu
1025 Insert\SpecialChar menuseparator
1028 or the toolbar button
1035 You can now refer to the label using the menu
1037 Insert\SpecialChar menuseparator
1039 \begin_inset space ~
1044 or the toolbar button
1047 arg "dialog-show-new-inset ref"
1051 It is important to use references to floats, rather than using vague references
1053 \begin_inset Quotes eld
1057 \begin_inset Quotes erd
1060 , because \SpecialChar LaTeX
1061 will reposition the floats in the final document and it might
1063 \begin_inset Quotes eld
1067 \begin_inset Quotes erd
1071 \begin_inset Newline newline
1074 Referencing is explained in detail in section
1075 \begin_inset space ~
1079 \begin_inset CommandInset ref
1081 reference "sec:Referencing-Floats"
1088 \begin_layout Standard
1089 Normally only one image is inserted to a figure float, but sometimes you
1090 might want to use two images with separate subcaptions.
1091 This can be done by inserting image floats into existing image floats.
1092 Note that only the main caption of the float is added to the List of Figures.
1094 \begin_inset space ~
1098 \begin_inset CommandInset ref
1100 reference "fig:Two-distorted-images"
1104 is an example of a figure float with two images set side by side.
1105 You can also set the images one below the other.
1107 \begin_inset space ~
1111 \begin_inset CommandInset ref
1113 reference "fig:Pink-object"
1118 \begin_inset CommandInset ref
1120 reference "fig:A-star"
1127 \begin_layout Standard
1128 \begin_inset Float figure
1135 \begin_layout Plain Layout
1136 \begin_inset space \hfill{}
1140 \begin_inset Float figure
1147 \begin_layout Plain Layout
1148 \begin_inset Caption Standard
1150 \begin_layout Plain Layout
1151 \begin_inset CommandInset label
1153 name "fig:Pink-object"
1165 \begin_layout Plain Layout
1166 \begin_inset Graphics
1167 filename clipart/3D-structure-distort.pdf
1180 \begin_inset space \hfill{}
1184 \begin_inset Float figure
1191 \begin_layout Plain Layout
1192 \begin_inset Caption Standard
1194 \begin_layout Plain Layout
1195 \begin_inset CommandInset label
1209 \begin_layout Plain Layout
1210 \begin_inset Graphics
1211 filename clipart/Star-structure.pdf
1224 \begin_inset space \hfill{}
1230 \begin_layout Plain Layout
1231 \begin_inset Caption Standard
1233 \begin_layout Plain Layout
1234 \begin_inset CommandInset label
1236 name "fig:Two-distorted-images"
1240 Two distorted images.
1241 Both images are in the image settings group named
1242 \begin_inset Quotes eld
1246 \begin_inset Quotes erd
1262 \begin_layout Standard
1263 \begin_inset Newpage newpage
1269 \begin_layout Section
1271 \begin_inset CommandInset label
1273 name "sec:Image-Formats"
1278 \begin_inset Index idx
1283 \begin_layout Plain Layout
1290 \begin_inset Index idx
1295 \begin_layout Plain Layout
1297 \begin_inset IndexMacro subentry
1300 \begin_layout Plain Layout
1314 \begin_layout Standard
1315 You can insert images in any known file format.
1316 But as explained in appendix
1317 \begin_inset space ~
1321 \begin_inset CommandInset ref
1323 reference "cha:Output-File-Formats"
1327 , each output document format allows only a few image formats.
1329 uses therefore the program
1333 in the background to convert the images to the right format.
1334 To increase your work flow by avoiding these conversions in the background,
1335 you could choose to use only the image formats that can directly be embedded
1336 in the output file format.
1337 The output file formats are explained in appendix
1338 \begin_inset space ~
1342 \begin_inset CommandInset ref
1344 reference "cha:Output-File-Formats"
1351 \begin_layout Standard
1352 Similar to fonts there are two types of image formats:
1355 \begin_layout Description
1357 \begin_inset space ~
1360 images consist of pixel values, often in a compressed form.
1361 They are therefore not fully scalable and look pixelated in large zooms.
1362 Well-known bitmap image formats are
1363 \begin_inset Quotes eld
1366 Graphics Interchange Format
1367 \begin_inset Quotes erd
1370 (GIF, file extension
1371 \begin_inset Quotes eld
1379 \begin_inset Quotes erd
1383 \begin_inset Index idx
1388 \begin_layout Plain Layout
1390 \begin_inset IndexMacro see
1393 \begin_layout Plain Layout
1405 \begin_inset Quotes eld
1408 Portable Network Graphics
1409 \begin_inset Quotes erd
1412 (PNG, file extension
1413 \begin_inset Quotes eld
1421 \begin_inset Quotes erd
1425 \begin_inset Index idx
1430 \begin_layout Plain Layout
1432 \begin_inset IndexMacro see
1435 \begin_layout Plain Layout
1447 \begin_inset Quotes eld
1450 Joint Photographic Experts Group
1451 \begin_inset Quotes erd
1454 (JPG, file extension
1455 \begin_inset Quotes eld
1463 \begin_inset Quotes erd
1467 \begin_inset Quotes eld
1475 \begin_inset Quotes erd
1479 \begin_inset Index idx
1484 \begin_layout Plain Layout
1486 \begin_inset IndexMacro see
1489 \begin_layout Plain Layout
1503 \begin_layout Description
1505 \begin_inset space ~
1508 images consist of vectors and can therefore be scaled to any size without
1510 The scaling ability is necessary if you want to create presentations, because
1511 presentations are always scaled by the video projector.
1512 Scaling is also useful for online documents to let the user zoom into diagrams.
1513 \begin_inset Newline newline
1516 Well-known scalable image formats are
1517 \begin_inset Quotes eld
1520 Scalable Vector Graphics
1521 \begin_inset Quotes erd
1524 (SVG, file extension
1525 \begin_inset Quotes eld
1533 \begin_inset Quotes erd
1537 \begin_inset Index idx
1542 \begin_layout Plain Layout
1544 \begin_inset IndexMacro see
1547 \begin_layout Plain Layout
1559 \begin_inset Quotes eld
1562 Encapsulated PostScript
1563 \begin_inset Quotes erd
1566 (EPS, file extension
1567 \begin_inset Quotes eld
1575 \begin_inset Quotes erd
1579 \begin_inset Index idx
1584 \begin_layout Plain Layout
1586 \begin_inset IndexMacro see
1589 \begin_layout Plain Layout
1601 \begin_inset Quotes eld
1604 Portable Document Format
1605 \begin_inset Quotes erd
1608 (PDF, file extension
1609 \begin_inset Quotes eld
1617 \begin_inset Quotes erd
1621 \begin_inset Index idx
1626 \begin_layout Plain Layout
1633 \begin_inset Quotes eld
1637 \begin_inset Quotes erd
1640 (WMF, file extension
1641 \begin_inset Quotes eld
1649 \begin_inset Quotes erd
1653 \begin_inset Index idx
1658 \begin_layout Plain Layout
1660 \begin_inset IndexMacro see
1663 \begin_layout Plain Layout
1676 \begin_inset Quotes eld
1680 \begin_inset Quotes erd
1683 , because you can convert any bitmap image to a PDF or EPS-image and the
1684 result will still be a bitmap image.
1685 In such cases only a header with the image properties is added to the original
1690 \begin_layout Plain Layout
1691 In the case of PDF, the original image is additionally compressed.
1697 The PDF-files generated by
1701 are for example bitmap images.
1704 \begin_layout Standard
1705 Normally it is not possible to convert a bitmap image into a scalable one,
1707 Only the image formats PDF and EPS can directly be embedded to PDF and
1708 PostScript output files, respectively.
1709 SVG and WMF-images are recalculated to bitmaps when the output file is
1710 generated because there is currently no adequate WMF/SVG
1711 \begin_inset Formula $\to$
1714 PDF/EPS converter available.
1717 \begin_layout Chapter
1719 \begin_inset Index idx
1724 \begin_layout Plain Layout
1733 \begin_layout Section
1735 \begin_inset Index idx
1740 \begin_layout Plain Layout
1742 \begin_inset IndexMacro subentry
1745 \begin_layout Plain Layout
1759 \begin_layout Standard
1760 You can insert a table using either the toolbar button
1763 arg "tabular-insert"
1768 Insert\SpecialChar menuseparator
1772 The toolbar button offers you a graphical selection: move the mouse to
1773 set the column/row number of the table that should be created and then
1774 press a mouse button.
1775 When you use the menu to create a table, a dialog will appear, asking you
1776 for the number of rows and columns
1777 \change_inserted -712698321 1554289643
1778 , and you can select a specific (border) style
1781 \change_deleted -712698321 1554289644
1783 \begin_inset Newline newline
1787 \change_inserted -712698321 1554289645
1791 \begin_layout Standard
1792 The default table has lines around any cell and the first row appears separated
1793 from the rest of the table.
1794 This separation occurs due to a double line: The cells of the first row
1795 have a line below them and the cells of the second row have a line above
1797 Here is an example table:
1800 \begin_layout Standard
1802 \begin_inset Tabular
1803 <lyxtabular version="3" rows="4" columns="4">
1804 <features tabularvalignment="middle">
1805 <column alignment="center" valignment="top">
1806 <column alignment="center" valignment="top">
1807 <column alignment="center" valignment="top">
1808 <column alignment="center" valignment="top">
1810 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1813 \begin_layout Plain Layout
1819 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1822 \begin_layout Plain Layout
1837 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1840 \begin_layout Plain Layout
1846 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1849 \begin_layout Plain Layout
1857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1860 \begin_layout Plain Layout
1875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1878 \begin_layout Plain Layout
1884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1887 \begin_layout Plain Layout
1893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1896 \begin_layout Plain Layout
1904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1907 \begin_layout Plain Layout
1922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1925 \begin_layout Plain Layout
1931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1934 \begin_layout Plain Layout
1940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1943 \begin_layout Plain Layout
1951 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1954 \begin_layout Plain Layout
1969 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1972 \begin_layout Plain Layout
1978 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1981 \begin_layout Plain Layout
1987 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1990 \begin_layout Plain Layout
2004 \begin_layout Standard
2006 \change_inserted -712698321 1554289664
2007 This corresponds to the
2008 \begin_inset Quotes eld
2012 \begin_inset Quotes erd
2015 table style listed in the style selection.
2018 \begin_layout Standard
2020 \change_inserted -712698321 1554289664
2021 Other available styles include:
2024 \begin_layout Itemize
2026 \change_inserted -712698321 1554289664
2028 \begin_inset Quotes eld
2032 \begin_inset Quotes erd
2035 which looks line the above table, but without the first row being separated
2039 \begin_layout Itemize
2041 \change_inserted -712698321 1554289664
2042 a border-less table with no lines at all,
2045 \begin_layout Itemize
2047 \change_inserted -712698321 1554289664
2049 \begin_inset Quotes eld
2053 \begin_inset Quotes erd
2056 as often used in professional publishing with horizontal lines only and
2057 bold top/bottom lines (see
2067 \change_inserted 630872221 1622640694
2068 It is also possible to have an horizontal (thin) Footline above the last
2074 \begin_layout Standard
2076 \change_inserted -712698321 1554289664
2077 The default style used in the dialog as well as the style used by the toolbar
2078 button can be changed in
2080 Document\SpecialChar menuseparator
2081 Settings\SpecialChar menuseparator
2085 So if the default style above is not the one you need, you should alter
2089 \begin_layout Section
2091 \begin_inset Index idx
2096 \begin_layout Plain Layout
2098 \begin_inset IndexMacro subentry
2101 \begin_layout Plain Layout
2115 \begin_layout Standard
2116 You can alter a table by clicking on it with the right mouse button, which
2117 brings up the context menu.
2118 Under the menu entry
2122 you can adjust the settings of that cell and row/column respectively where
2123 the cursor is currently placed.
2126 More\SpecialChar menuseparator
2129 opens the table dialog where you can adjust more things.
2130 Most of the dialog options also work on selections.
2131 This means if you select more cells, columns or rows, the action is done
2132 for the whole selection.
2133 Note that there is a difference between selecting the
2137 of the cell, and the cell itself.
2138 \begin_inset Newline newline
2141 With the dialog option
2144 \begin_inset space ~
2149 every change you make in the dialog is directly applied.
2150 If you move the cursor to another table cell the dialog will then also
2151 be updated with the parameters of the new cell.
2152 If you change length values in the dialog you must press
2156 to get the change applied.
2157 \begin_inset Newline newline
2160 You can alter tables with the following tabs of the table dialog:
2163 \begin_layout Description
2165 \begin_inset space ~
2168 Settings Here you can set the table width
2169 \begin_inset Index idx
2174 \begin_layout Plain Layout
2176 \begin_inset IndexMacro subentry
2179 \begin_layout Plain Layout
2190 , and the horizontal alignment and the width of the current column.
2194 \begin_inset space ~
2198 \begin_inset space ~
2203 is described in section
2204 \begin_inset space ~
2208 \begin_inset CommandInset ref
2210 reference "subsec:Special-Cell-Alignment"
2215 When you have set a width you can also adjust the vertical alignment of
2217 A given width will allow the cell to have line breaks and multiple paragraphs
2219 \begin_inset space \thinspace{}
2223 \begin_inset CommandInset ref
2225 reference "subsec:Multiple-Lines-in"
2230 If you set no width, the column is as wide as the content of its widest
2232 \begin_inset Newline newline
2235 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2237 \begin_inset space \thinspace{}
2241 \begin_inset CommandInset ref
2243 reference "subsec:Multicolumns"
2247 or the cells of one column as multirow cell, see sec.
2248 \begin_inset space \thinspace{}
2252 \begin_inset CommandInset ref
2254 reference "subsec:Multirows"
2259 \begin_inset Newline newline
2262 The rotate check boxes rotate the current cell, a selection, or the whole
2263 table counter-clockwise by 90
2264 \begin_inset space \thinspace{}
2268 The rotation is not shown within \SpecialChar LyX
2269 , only in the output.
2270 For more information see sec.
2271 \begin_inset space \thinspace{}
2275 \begin_inset CommandInset ref
2277 reference "sec:Rotated-Table-Cells"
2282 \begin_inset Newline newline
2286 \begin_inset Note Greyedout
2289 \begin_layout Plain Layout
2294 Not all DVI-viewers are able to display rotations.
2300 \begin_inset Newline newline
2303 The table-wide vertical alignment is used for tables within text lines:
2304 \begin_inset Newline newline
2307 A line with tables with different alignments:
2308 \begin_inset Tabular
2309 <lyxtabular version="3" rows="2" columns="2">
2310 <features tabularvalignment="top">
2311 <column alignment="center" valignment="top" width="0pt">
2312 <column alignment="center" valignment="top">
2314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2317 \begin_layout Plain Layout
2323 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2326 \begin_layout Plain Layout
2343 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2346 \begin_layout Plain Layout
2361 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2364 \begin_layout Plain Layout
2376 \begin_inset Tabular
2377 <lyxtabular version="3" rows="2" columns="2">
2378 <features tabularvalignment="middle">
2379 <column alignment="center" valignment="top">
2380 <column alignment="center" valignment="top">
2382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2385 \begin_layout Plain Layout
2391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2394 \begin_layout Plain Layout
2411 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2414 \begin_layout Plain Layout
2429 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2432 \begin_layout Plain Layout
2444 \begin_inset Tabular
2445 <lyxtabular version="3" rows="2" columns="2">
2446 <features tabularvalignment="bottom">
2447 <column alignment="center" valignment="top" width="0pt">
2448 <column alignment="center" valignment="top">
2450 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2453 \begin_layout Plain Layout
2459 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2462 \begin_layout Plain Layout
2479 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2482 \begin_layout Plain Layout
2497 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2500 \begin_layout Plain Layout
2512 \begin_inset Newline newline
2515 It is also possible to enter a \SpecialChar LaTeX
2516 -argument which is needed for special table
2517 formattings, see sec.
2518 \begin_inset space \thinspace{}
2522 \begin_inset CommandInset ref
2524 reference "subsec:Multicolumn-Calculations"
2529 \begin_inset CommandInset ref
2531 reference "sec:Colored-Tables"
2538 \begin_layout Description
2539 Borders In this tab you can add and delete border lines for the current
2541 \begin_inset Newline newline
2544 Using the style option
2548 will convert the table to a formal table as described in sec.
2549 \begin_inset space \thinspace{}
2553 \begin_inset CommandInset ref
2555 reference "sec:Formal-Tables"
2560 \begin_inset Newline newline
2563 You can also add space here to table rows as described in sec.
2564 \begin_inset space \thinspace{}
2568 \begin_inset CommandInset ref
2570 reference "subsec:Row-Spacing"
2577 \begin_layout Description
2579 \begin_inset space ~
2582 table This tab is to make a table a multi-page table that can run over several
2585 \begin_inset space ~
2589 \begin_inset CommandInset ref
2591 reference "sec:Multi-page-Tables"
2596 \begin_inset CommandInset ref
2598 reference "sec:Special-Longtable-Issues"
2602 describe the multi-page table features in detail.
2605 \begin_layout Section
2607 \begin_inset Index idx
2612 \begin_layout Plain Layout
2614 \begin_inset IndexMacro subentry
2617 \begin_layout Plain Layout
2631 \begin_layout Standard
2632 The table toolbar is an alternative to the table dialog to be able to alter
2634 It should normally appear at the bottom of \SpecialChar LyX
2635 's main window when the cursor
2637 You can alternatively switch it on to appear always, by right-clicking
2642 \begin_layout Standard
2643 The toolbar has the following icons:
2646 \begin_layout Labeling
2647 \labelwidthstring 00.00.0000
2650 arg "tabular-feature append-row"
2653 adds a row below the current cell or selection
2656 \begin_layout Labeling
2657 \labelwidthstring 00.00.0000
2660 arg "tabular-feature append-column"
2663 adds a column right beside the current cell or selection
2666 \begin_layout Labeling
2667 \labelwidthstring 00.00.0000
2670 arg "tabular-feature delete-row"
2673 deletes the current row or selection
2676 \begin_layout Labeling
2677 \labelwidthstring 00.00.0000
2680 arg "tabular-feature delete-column"
2683 deletes the current column or selection
2686 \begin_layout Labeling
2687 \labelwidthstring 00.00.0000
2690 arg "tabular-feature move-row-up"
2696 \begin_layout Labeling
2697 \labelwidthstring 00.00.0000
2700 arg "tabular-feature move-column-left"
2703 moves the column to the left
2706 \begin_layout Labeling
2707 \labelwidthstring 00.00.0000
2710 arg "tabular-feature move-row-down"
2716 \begin_layout Labeling
2717 \labelwidthstring 00.00.0000
2720 arg "tabular-feature move-column-right"
2723 moves the column to the right
2726 \begin_layout Labeling
2727 \labelwidthstring 00.00.0000
2730 arg "tabular-feature toggle-line-top"
2734 \change_deleted -1382599118 1647157945
2736 \change_inserted -1382599118 1647157946
2739 a line at the top of
2740 \change_inserted -1382599118 1647158116
2744 \change_inserted -1382599118 1647157889
2746 \change_deleted -1382599118 1647157917
2750 \change_deleted -1382599118 1647157923
2752 \change_inserted -1382599118 1647157925
2758 \begin_layout Labeling
2759 \labelwidthstring 00.00.0000
2762 arg "tabular-feature toggle-line-bottom"
2766 \change_deleted -1382599118 1647157963
2768 \change_inserted -1382599118 1647157964
2771 a line at the bottom of
2772 \change_inserted -1382599118 1647158114
2776 \change_inserted -1382599118 1647157991
2778 \change_deleted -1382599118 1647158003
2782 \change_deleted -1382599118 1647158007
2784 \change_inserted -1382599118 1647158009
2790 \begin_layout Labeling
2791 \labelwidthstring 00.00.0000
2794 arg "tabular-feature toggle-line-left"
2798 \change_deleted -1382599118 1647157971
2800 \change_inserted -1382599118 1647157972
2803 a line at the left side of
2804 \change_inserted -1382599118 1647158111
2808 \change_inserted -1382599118 1647158027
2810 \change_deleted -1382599118 1647158069
2814 \change_deleted -1382599118 1647158043
2816 \change_inserted -1382599118 1647158044
2822 \begin_layout Labeling
2823 \labelwidthstring 00.00.0000
2826 arg "tabular-feature toggle-line-right"
2830 \change_deleted -1382599118 1647157974
2832 \change_inserted -1382599118 1647157975
2835 a line at the right side of
2836 \change_inserted -1382599118 1647158109
2840 \change_inserted -1382599118 1647158061
2842 \change_deleted -1382599118 1647158072
2846 \change_deleted -1382599118 1647158078
2848 \change_inserted -1382599118 1647158082
2850 \change_inserted -712698321 1554289731
2854 \begin_layout Labeling
2855 \labelwidthstring 00.00.0000
2857 \change_inserted -712698321 1554289910
2860 arg "tabular-feature toggle-border-lines"
2864 \change_deleted -1382599118 1647157966
2866 \change_inserted -1382599118 1647157967
2868 \change_inserted -712698321 1554289910
2869 a border around the currently selected cells
2870 \change_inserted -1382599118 1647040213
2874 \begin_layout Labeling
2875 \labelwidthstring 00.00.0000
2877 \change_inserted -1382599118 1647158092
2880 arg "tabular-feature toggle-inner-lines"
2883 toggles inner lines for the currently selected cells
2888 \begin_layout Labeling
2889 \labelwidthstring 00.00.0000
2892 arg "tabular-feature toggle-all-lines"
2895 adds lines around the current or selected cells - if the current cell is
2896 not a multicolumn cell this also affects the current row and column
2899 \begin_layout Labeling
2900 \labelwidthstring 00.00.0000
2903 arg "tabular-feature unset-all-lines"
2906 deletes all lines of the current or selected cells - if the current cell
2907 is not a multicolumn cell this also affects the current row and column
2908 \change_inserted -712698321 1554289920
2912 \begin_layout Labeling
2913 \labelwidthstring 00.00.0000
2915 \change_inserted -712698321 1554292586
2918 arg "tabular-feature reset-formal-default"
2921 If using a formal table, this resets the border to its default (only horizontal
2922 lines in top and bottom rows)
2927 \begin_layout Labeling
2928 \labelwidthstring 00.00.0000
2931 arg "tabular-feature m-align-left"
2934 left-aligns the content of the current cell / column
2937 \begin_layout Labeling
2938 \labelwidthstring 00.00.0000
2941 arg "tabular-feature m-align-center"
2944 centers the content of the current cell / column horizontally
2947 \begin_layout Labeling
2948 \labelwidthstring 00.00.0000
2951 arg "tabular-feature m-align-right"
2954 right-aligns the content of the current cell / column
2957 \begin_layout Labeling
2958 \labelwidthstring 00.00.0000
2961 arg "tabular-feature align-decimal"
2964 aligns the content of the current column at a character
2967 \begin_layout Labeling
2968 \labelwidthstring 00.00.0000
2971 arg "tabular-feature m-valign-top"
2974 aligns the content of the current cell vertically to the top
2977 \begin_layout Labeling
2978 \labelwidthstring 00.00.0000
2981 arg "tabular-feature m-valign-middle"
2984 centers the content of the current cell vertically
2987 \begin_layout Labeling
2988 \labelwidthstring 00.00.0000
2991 arg "tabular-feature m-valign-bottom"
2994 aligns the content of the current cell vertically to the bottom
2997 \begin_layout Labeling
2998 \labelwidthstring 00.00.0000
3001 arg "tabular-feature set-rotate-cell"
3004 rotates the current cell or selection counter-clockwise by 90°
3007 \begin_layout Labeling
3008 \labelwidthstring 00.00.0000
3011 arg "tabular-feature set-rotate-tabular"
3014 rotates the whole table counter-clockwise by 90°
3017 \begin_layout Labeling
3018 \labelwidthstring 00.00.0000
3021 arg "tabular-feature multicolumn"
3024 sets the current cell or selection as a multicolumn
3027 \begin_layout Labeling
3028 \labelwidthstring 00.00.0000
3031 arg "tabular-feature multirow"
3034 sets the current cell or selection as a multirow
3037 \begin_layout Standard
3038 \begin_inset Note Greyedout
3041 \begin_layout Plain Layout
3046 For the output the vertical alignment of the first cell in a row is used
3047 for all following cells in the row.
3055 \begin_layout Section
3057 \begin_inset Index idx
3062 \begin_layout Plain Layout
3064 \begin_inset IndexMacro subentry
3067 \begin_layout Plain Layout
3081 \begin_layout Standard
3082 In addition to the table dialog and toolbar, the menu
3084 Edit\SpecialChar menuseparator
3087 allows you to add and delete border lines for the current row/column and
3088 to set the current selection as multicolumn.
3089 The menu is only available when the cursor is inside a table.
3092 \begin_layout Section
3094 \begin_inset CommandInset label
3096 name "sec:Table-Floats"
3101 \begin_inset Index idx
3106 \begin_layout Plain Layout
3108 \begin_inset IndexMacro subentry
3111 \begin_layout Plain Layout
3123 \begin_inset Index idx
3128 \begin_layout Plain Layout
3130 \begin_inset IndexMacro subentry
3133 \begin_layout Plain Layout
3147 \begin_layout Standard
3148 For general explanations about floats, have a look at section
3149 \begin_inset space ~
3153 \begin_inset CommandInset ref
3155 reference "sec:FloatIntroduction"
3162 \begin_layout Standard
3163 \begin_inset Float table
3170 \begin_layout Plain Layout
3171 \begin_inset Caption Standard
3173 \begin_layout Plain Layout
3174 \begin_inset CommandInset label
3176 name "tab:a table float"
3188 \begin_layout Plain Layout
3190 \begin_inset Tabular
3191 <lyxtabular version="3" rows="3" columns="3">
3192 <features tabularvalignment="middle">
3193 <column alignment="center" valignment="top" width="0pt">
3194 <column alignment="center" valignment="top" width="0pt">
3195 <column alignment="center" valignment="top" width="0pt">
3197 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3200 \begin_layout Plain Layout
3215 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3218 \begin_layout Plain Layout
3233 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3236 \begin_layout Plain Layout
3253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3256 \begin_layout Plain Layout
3271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3274 \begin_layout Plain Layout
3289 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3292 \begin_layout Plain Layout
3309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3312 \begin_layout Plain Layout
3322 \begin_inset Formula $\int x^{2}dx$
3330 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3333 \begin_layout Plain Layout
3343 \begin_inset Formula $\left[\begin{array}{cc}
3354 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3357 \begin_layout Plain Layout
3367 \begin_inset Formula $1+1=2$
3388 \begin_layout Standard
3389 Table floats can be inserted using the menu
3391 Insert\SpecialChar menuseparator
3392 Float\SpecialChar menuseparator
3395 or the toolbar button
3398 arg "float-insert table"
3404 \begin_layout Standard
3405 The float appears as a collapsible box with a caption that has the label
3407 \begin_inset Quotes eld
3411 \begin_inset space ~
3415 \begin_inset Quotes erd
3418 (# is the actual table number).
3419 You can insert tables in the float above or below the caption.
3422 \begin_layout Standard
3424 \begin_inset space ~
3428 \begin_inset CommandInset ref
3430 reference "tab:a table float"
3434 is an example table within a table float.
3437 \begin_layout Standard
3438 Having the caption above the table is the common rule that is unfortunately
3439 not supported in \SpecialChar LaTeX
3440 's standard classes.
3441 This means that, if you are using the document classes
3457 , there will be no space between the caption and the table.
3458 To insert the needed space, add the following option to the load command
3459 of the \SpecialChar LaTeX
3465 \begin_inset Index idx
3470 \begin_layout Plain Layout
3473 \begin_inset IndexMacro subentry
3476 \begin_layout Plain Layout
3487 in your document preamble:
3491 \begin_layout Plain Layout
3492 For more information have a look at section
3493 \begin_inset space ~
3497 \begin_inset CommandInset ref
3499 reference "sec:Caption-Placement"
3511 \begin_layout Standard
3517 \begin_layout Standard
3522 , which is described in section
3523 \begin_inset space ~
3527 \begin_inset CommandInset ref
3529 reference "sec:Caption-Formatting"
3533 , is used to adjust the caption format.
3536 \begin_layout Standard
3537 \begin_inset Index idx
3542 \begin_layout Plain Layout
3544 \begin_inset IndexMacro subentry
3547 \begin_layout Plain Layout
3558 Tables can be cross-referenced in the text by referencing their label.
3559 To do this insert a label in the caption using the menu
3561 Insert\SpecialChar menuseparator
3564 or the toolbar button
3571 You can now refer to the label using the menu
3573 Insert\SpecialChar menuseparator
3575 \begin_inset space ~
3580 or the toolbar button
3583 arg "dialog-show-new-inset ref"
3587 \begin_inset Newline newline
3590 Referencing is explained in detail in section
3591 \begin_inset space ~
3595 \begin_inset CommandInset ref
3597 reference "sec:Referencing-Floats"
3604 \begin_layout Section
3610 \begin_inset CommandInset label
3612 name "sec:Multi-page-Tables"
3617 \begin_inset Index idx
3622 \begin_layout Plain Layout
3629 \begin_inset Index idx
3634 \begin_layout Plain Layout
3636 \begin_inset IndexMacro subentry
3639 \begin_layout Plain Layout
3653 \begin_layout Standard
3654 If the table is too long to fit on one page, you can use the option
3657 \begin_inset space ~
3665 \begin_inset space ~
3670 of the table dialog to split the table automatically over more pages.
3671 Doing this enables the following options:
3674 \begin_layout Description
3675 Header: The current row is defined to be a header row that appears on all
3676 pages of the multi-page table; except for the first page, if
3679 \begin_inset space ~
3685 This is therefore called the main header.
3688 \begin_layout Description
3690 \begin_inset space ~
3693 header: The current row is defined to be a header row that appears on the
3694 first page of the multi-page table.
3697 \begin_layout Description
3698 Footer: The current row is defined to be a footer row that appears on all
3699 pages of the multi-page table; except for the last page, if
3702 \begin_inset space ~
3710 \begin_layout Description
3712 \begin_inset space ~
3715 footer: The current row is defined to be a footer row that appears on the
3716 last page of the multi-page table.
3719 \begin_layout Description
3720 Caption: The current row contains the table caption.
3721 The row is reset as single column and a caption is inserted.
3722 More about multi-page table captions is explained in sec.
3723 \begin_inset space \thinspace{}
3727 \begin_inset CommandInset ref
3729 reference "subsec:Multi-page-Table-Captions"
3736 \begin_layout Standard
3737 You can also specify a row where the table is split.
3738 See the following multi-page table to see how it works:
3741 \begin_layout Standard
3743 \begin_inset Tabular
3744 <lyxtabular version="3" rows="69" columns="3">
3745 <features islongtable="true" longtabularalignment="center">
3746 <column alignment="left" valignment="top" width="0cm">
3747 <column alignment="left" valignment="top" width="0pt">
3748 <column alignment="center" valignment="top" width="0pt">
3749 <row endfirsthead="true">
3750 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3753 \begin_layout Plain Layout
3756 Example Phone List (ignore the names)
3761 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3764 \begin_layout Plain Layout
3770 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3773 \begin_layout Plain Layout
3780 <row endfirsthead="true">
3781 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3784 \begin_layout Plain Layout
3792 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3795 \begin_layout Plain Layout
3801 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3804 \begin_layout Plain Layout
3813 <row endhead="true">
3814 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3817 \begin_layout Plain Layout
3825 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3828 \begin_layout Plain Layout
3834 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3837 \begin_layout Plain Layout
3844 <row endhead="true">
3845 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3848 \begin_layout Plain Layout
3856 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3859 \begin_layout Plain Layout
3865 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3868 \begin_layout Plain Layout
3877 <row endfoot="true">
3878 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3881 \begin_layout Plain Layout
3882 continued on next page
3887 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3890 \begin_layout Plain Layout
3896 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3899 \begin_layout Plain Layout
3907 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3910 \begin_layout Plain Layout
3918 <cell alignment="center" valignment="top" usebox="none">
3921 \begin_layout Plain Layout
3927 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3930 \begin_layout Plain Layout
3938 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3941 \begin_layout Plain Layout
3949 <cell alignment="center" valignment="top" usebox="none">
3952 \begin_layout Plain Layout
3958 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3961 \begin_layout Plain Layout
3969 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3972 \begin_layout Plain Layout
3980 <cell alignment="center" valignment="top" usebox="none">
3983 \begin_layout Plain Layout
3989 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3992 \begin_layout Plain Layout
4000 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4003 \begin_layout Plain Layout
4011 <cell alignment="center" valignment="top" usebox="none">
4014 \begin_layout Plain Layout
4020 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4023 \begin_layout Plain Layout
4031 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4034 \begin_layout Plain Layout
4042 <cell alignment="center" valignment="top" usebox="none">
4045 \begin_layout Plain Layout
4051 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4054 \begin_layout Plain Layout
4062 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4065 \begin_layout Plain Layout
4073 <cell alignment="center" valignment="top" usebox="none">
4076 \begin_layout Plain Layout
4082 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4085 \begin_layout Plain Layout
4093 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4096 \begin_layout Plain Layout
4104 <cell alignment="center" valignment="top" usebox="none">
4107 \begin_layout Plain Layout
4113 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4116 \begin_layout Plain Layout
4124 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4127 \begin_layout Plain Layout
4135 <cell alignment="center" valignment="top" usebox="none">
4138 \begin_layout Plain Layout
4144 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4147 \begin_layout Plain Layout
4155 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4158 \begin_layout Plain Layout
4166 <cell alignment="center" valignment="top" usebox="none">
4169 \begin_layout Plain Layout
4175 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4178 \begin_layout Plain Layout
4186 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4189 \begin_layout Plain Layout
4197 <cell alignment="center" valignment="top" usebox="none">
4200 \begin_layout Plain Layout
4206 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4209 \begin_layout Plain Layout
4217 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4220 \begin_layout Plain Layout
4228 <cell alignment="center" valignment="top" usebox="none">
4231 \begin_layout Plain Layout
4237 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4240 \begin_layout Plain Layout
4248 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4251 \begin_layout Plain Layout
4259 <cell alignment="center" valignment="top" usebox="none">
4262 \begin_layout Plain Layout
4268 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4271 \begin_layout Plain Layout
4279 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4282 \begin_layout Plain Layout
4290 <cell alignment="center" valignment="top" usebox="none">
4293 \begin_layout Plain Layout
4299 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4302 \begin_layout Plain Layout
4310 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4313 \begin_layout Plain Layout
4321 <cell alignment="center" valignment="top" usebox="none">
4324 \begin_layout Plain Layout
4330 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4333 \begin_layout Plain Layout
4341 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4344 \begin_layout Plain Layout
4352 <cell alignment="center" valignment="top" usebox="none">
4355 \begin_layout Plain Layout
4361 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4364 \begin_layout Plain Layout
4372 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4375 \begin_layout Plain Layout
4383 <cell alignment="center" valignment="top" usebox="none">
4386 \begin_layout Plain Layout
4392 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4395 \begin_layout Plain Layout
4403 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4406 \begin_layout Plain Layout
4414 <cell alignment="center" valignment="top" usebox="none">
4417 \begin_layout Plain Layout
4423 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4426 \begin_layout Plain Layout
4434 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4437 \begin_layout Plain Layout
4445 <cell alignment="center" valignment="top" usebox="none">
4448 \begin_layout Plain Layout
4454 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4457 \begin_layout Plain Layout
4465 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4468 \begin_layout Plain Layout
4476 <cell alignment="center" valignment="top" usebox="none">
4479 \begin_layout Plain Layout
4485 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4488 \begin_layout Plain Layout
4496 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4499 \begin_layout Plain Layout
4507 <cell alignment="center" valignment="top" usebox="none">
4510 \begin_layout Plain Layout
4516 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4519 \begin_layout Plain Layout
4527 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4530 \begin_layout Plain Layout
4538 <cell alignment="center" valignment="top" usebox="none">
4541 \begin_layout Plain Layout
4547 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4550 \begin_layout Plain Layout
4558 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4561 \begin_layout Plain Layout
4569 <cell alignment="center" valignment="top" usebox="none">
4572 \begin_layout Plain Layout
4578 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4581 \begin_layout Plain Layout
4589 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4592 \begin_layout Plain Layout
4600 <cell alignment="center" valignment="top" usebox="none">
4603 \begin_layout Plain Layout
4609 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4612 \begin_layout Plain Layout
4620 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4623 \begin_layout Plain Layout
4631 <cell alignment="center" valignment="top" usebox="none">
4634 \begin_layout Plain Layout
4640 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4643 \begin_layout Plain Layout
4651 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4654 \begin_layout Plain Layout
4662 <cell alignment="center" valignment="top" usebox="none">
4665 \begin_layout Plain Layout
4671 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4674 \begin_layout Plain Layout
4682 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4685 \begin_layout Plain Layout
4693 <cell alignment="center" valignment="top" usebox="none">
4696 \begin_layout Plain Layout
4702 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4705 \begin_layout Plain Layout
4713 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4716 \begin_layout Plain Layout
4724 <cell alignment="center" valignment="top" usebox="none">
4727 \begin_layout Plain Layout
4733 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4736 \begin_layout Plain Layout
4744 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4747 \begin_layout Plain Layout
4755 <cell alignment="center" valignment="top" usebox="none">
4758 \begin_layout Plain Layout
4764 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4767 \begin_layout Plain Layout
4775 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4778 \begin_layout Plain Layout
4786 <cell alignment="center" valignment="top" usebox="none">
4789 \begin_layout Plain Layout
4795 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4798 \begin_layout Plain Layout
4806 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4809 \begin_layout Plain Layout
4817 <cell alignment="center" valignment="top" usebox="none">
4820 \begin_layout Plain Layout
4826 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4829 \begin_layout Plain Layout
4837 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4840 \begin_layout Plain Layout
4848 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4851 \begin_layout Plain Layout
4857 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4860 \begin_layout Plain Layout
4868 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4871 \begin_layout Plain Layout
4877 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4880 \begin_layout Plain Layout
4886 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4889 \begin_layout Plain Layout
4897 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4900 \begin_layout Plain Layout
4908 <cell alignment="center" valignment="top" usebox="none">
4911 \begin_layout Plain Layout
4917 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4920 \begin_layout Plain Layout
4928 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4931 \begin_layout Plain Layout
4939 <cell alignment="center" valignment="top" usebox="none">
4942 \begin_layout Plain Layout
4948 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4951 \begin_layout Plain Layout
4959 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4962 \begin_layout Plain Layout
4970 <cell alignment="center" valignment="top" usebox="none">
4973 \begin_layout Plain Layout
4979 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4982 \begin_layout Plain Layout
4990 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4993 \begin_layout Plain Layout
5001 <cell alignment="center" valignment="top" usebox="none">
5004 \begin_layout Plain Layout
5010 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5013 \begin_layout Plain Layout
5021 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5024 \begin_layout Plain Layout
5032 <cell alignment="center" valignment="top" usebox="none">
5035 \begin_layout Plain Layout
5041 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5044 \begin_layout Plain Layout
5052 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5055 \begin_layout Plain Layout
5063 <cell alignment="center" valignment="top" usebox="none">
5066 \begin_layout Plain Layout
5072 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5075 \begin_layout Plain Layout
5083 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5086 \begin_layout Plain Layout
5094 <cell alignment="center" valignment="top" usebox="none">
5097 \begin_layout Plain Layout
5103 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5106 \begin_layout Plain Layout
5114 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5117 \begin_layout Plain Layout
5125 <cell alignment="center" valignment="top" usebox="none">
5128 \begin_layout Plain Layout
5134 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5137 \begin_layout Plain Layout
5145 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5148 \begin_layout Plain Layout
5156 <cell alignment="center" valignment="top" usebox="none">
5159 \begin_layout Plain Layout
5165 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5168 \begin_layout Plain Layout
5176 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5179 \begin_layout Plain Layout
5187 <cell alignment="center" valignment="top" usebox="none">
5190 \begin_layout Plain Layout
5196 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5199 \begin_layout Plain Layout
5207 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5210 \begin_layout Plain Layout
5218 <cell alignment="center" valignment="top" usebox="none">
5221 \begin_layout Plain Layout
5227 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5230 \begin_layout Plain Layout
5238 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5241 \begin_layout Plain Layout
5249 <cell alignment="center" valignment="top" usebox="none">
5252 \begin_layout Plain Layout
5258 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5261 \begin_layout Plain Layout
5269 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5272 \begin_layout Plain Layout
5280 <cell alignment="center" valignment="top" usebox="none">
5283 \begin_layout Plain Layout
5289 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5292 \begin_layout Plain Layout
5300 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5303 \begin_layout Plain Layout
5311 <cell alignment="center" valignment="top" usebox="none">
5314 \begin_layout Plain Layout
5320 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5323 \begin_layout Plain Layout
5331 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5334 \begin_layout Plain Layout
5342 <cell alignment="center" valignment="top" usebox="none">
5345 \begin_layout Plain Layout
5351 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5354 \begin_layout Plain Layout
5362 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5365 \begin_layout Plain Layout
5373 <cell alignment="center" valignment="top" usebox="none">
5376 \begin_layout Plain Layout
5382 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5385 \begin_layout Plain Layout
5393 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5396 \begin_layout Plain Layout
5404 <cell alignment="center" valignment="top" usebox="none">
5407 \begin_layout Plain Layout
5413 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5416 \begin_layout Plain Layout
5424 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5427 \begin_layout Plain Layout
5435 <cell alignment="center" valignment="top" usebox="none">
5438 \begin_layout Plain Layout
5444 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5447 \begin_layout Plain Layout
5455 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5458 \begin_layout Plain Layout
5466 <cell alignment="center" valignment="top" usebox="none">
5469 \begin_layout Plain Layout
5475 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5478 \begin_layout Plain Layout
5486 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5489 \begin_layout Plain Layout
5497 <cell alignment="center" valignment="top" usebox="none">
5500 \begin_layout Plain Layout
5506 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5509 \begin_layout Plain Layout
5517 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5520 \begin_layout Plain Layout
5528 <cell alignment="center" valignment="top" usebox="none">
5531 \begin_layout Plain Layout
5537 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5540 \begin_layout Plain Layout
5548 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5551 \begin_layout Plain Layout
5559 <cell alignment="center" valignment="top" usebox="none">
5562 \begin_layout Plain Layout
5568 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5571 \begin_layout Plain Layout
5579 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5582 \begin_layout Plain Layout
5590 <cell alignment="center" valignment="top" usebox="none">
5593 \begin_layout Plain Layout
5599 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5602 \begin_layout Plain Layout
5610 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5613 \begin_layout Plain Layout
5621 <cell alignment="center" valignment="top" usebox="none">
5624 \begin_layout Plain Layout
5630 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5633 \begin_layout Plain Layout
5641 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5644 \begin_layout Plain Layout
5652 <cell alignment="center" valignment="top" usebox="none">
5655 \begin_layout Plain Layout
5661 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5664 \begin_layout Plain Layout
5672 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5675 \begin_layout Plain Layout
5683 <cell alignment="center" valignment="top" usebox="none">
5686 \begin_layout Plain Layout
5692 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5695 \begin_layout Plain Layout
5703 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5706 \begin_layout Plain Layout
5714 <cell alignment="center" valignment="top" usebox="none">
5717 \begin_layout Plain Layout
5723 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5726 \begin_layout Plain Layout
5734 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5737 \begin_layout Plain Layout
5745 <cell alignment="center" valignment="top" usebox="none">
5748 \begin_layout Plain Layout
5754 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5757 \begin_layout Plain Layout
5765 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5768 \begin_layout Plain Layout
5776 <cell alignment="center" valignment="top" usebox="none">
5779 \begin_layout Plain Layout
5785 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5788 \begin_layout Plain Layout
5796 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5799 \begin_layout Plain Layout
5807 <cell alignment="center" valignment="top" usebox="none">
5810 \begin_layout Plain Layout
5816 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5819 \begin_layout Plain Layout
5827 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5830 \begin_layout Plain Layout
5838 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5841 \begin_layout Plain Layout
5847 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5850 \begin_layout Plain Layout
5857 <row endlastfoot="true">
5858 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5861 \begin_layout Plain Layout
5867 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5870 \begin_layout Plain Layout
5876 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5879 \begin_layout Plain Layout
5894 \begin_layout Plain Layout
5898 addtocounter{table}{-1}
5904 \begin_inset Note Note
5907 \begin_layout Plain Layout
5908 See the first greyed-out note in section
5909 \begin_inset space ~
5913 \begin_inset CommandInset ref
5915 reference "subsec:Multi-page-Table-Captions"
5919 for an explanation of this command.
5927 \begin_layout Subsection
5928 Footnotes in Multi-page tables
5929 \begin_inset CommandInset label
5931 name "subsec:Footnotes-in-Multi-page"
5936 \begin_inset Index idx
5941 \begin_layout Plain Layout
5943 \begin_inset IndexMacro subentry
5946 \begin_layout Plain Layout
5953 \begin_inset IndexMacro subentry
5956 \begin_layout Plain Layout
5970 \begin_layout Standard
5971 Footnotes can be inserted to every Multi-page table cell.
5972 They appear at the bottom of the page where the table cell with the footnote
5975 \begin_inset space ~
5979 \begin_inset CommandInset ref
5981 reference "tab:DiffCaptions"
5985 has for example a footnote.
5988 \begin_layout Subsection
5989 Multi-page Table Alignment
5990 \begin_inset Index idx
5995 \begin_layout Plain Layout
5997 \begin_inset IndexMacro subentry
6000 \begin_layout Plain Layout
6007 \begin_inset IndexMacro subentry
6010 \begin_layout Plain Layout
6024 \begin_layout Standard
6025 The horizontal alignment of multi-page tables can be set in the table settings
6027 For left- and right-alignment the table will be directly at the page border.
6028 To add space between the table and the border one has to set the alignment
6029 to center and change the value of the \SpecialChar LaTeX
6042 by inserting this line as \SpecialChar TeX
6043 Code before the multi-page table:
6046 \begin_layout Standard
6056 \begin_layout Standard
6057 The value can have any of the units listed in Table
6058 \begin_inset space ~
6062 \begin_inset CommandInset ref
6064 reference "tab:Units"
6075 controls the horizontal distance from the left page border to the multi-page
6082 the distance from the right side.
6083 The default value for both lengths is
6089 , which is in this case the same as an horizontal fill in \SpecialChar LyX
6093 \begin_layout Standard
6094 The following multi-page table was centered and
6110 \begin_layout Plain Layout
6126 \begin_layout Standard
6127 \begin_inset Tabular
6128 <lyxtabular version="3" rows="5" columns="5">
6129 <features islongtable="true" longtabularalignment="center">
6130 <column alignment="center" valignment="top">
6131 <column alignment="center" valignment="top" width="0pt">
6132 <column alignment="center" valignment="top">
6133 <column alignment="center" valignment="top">
6134 <column alignment="center" valignment="top">
6136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6139 \begin_layout Plain Layout
6145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6148 \begin_layout Plain Layout
6154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6157 \begin_layout Plain Layout
6163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6166 \begin_layout Plain Layout
6172 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6175 \begin_layout Plain Layout
6183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6186 \begin_layout Plain Layout
6192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6195 \begin_layout Plain Layout
6201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6204 \begin_layout Plain Layout
6210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6213 \begin_layout Plain Layout
6219 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6222 \begin_layout Plain Layout
6230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6233 \begin_layout Plain Layout
6239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6242 \begin_layout Plain Layout
6248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6251 \begin_layout Plain Layout
6257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6260 \begin_layout Plain Layout
6266 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6269 \begin_layout Plain Layout
6277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6280 \begin_layout Plain Layout
6286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6289 \begin_layout Plain Layout
6295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6298 \begin_layout Plain Layout
6304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6307 \begin_layout Plain Layout
6313 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6316 \begin_layout Plain Layout
6324 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6327 \begin_layout Plain Layout
6333 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6336 \begin_layout Plain Layout
6342 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6345 \begin_layout Plain Layout
6351 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6354 \begin_layout Plain Layout
6360 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6363 \begin_layout Plain Layout
6378 \begin_layout Plain Layout
6395 \begin_layout Plain Layout
6399 addtocounter{table}{-1}
6405 \begin_inset Note Note
6408 \begin_layout Plain Layout
6409 See the first greyed-out note in section
6410 \begin_inset space ~
6414 \begin_inset CommandInset ref
6416 reference "subsec:Multi-page-Table-Captions"
6420 for an explanation of this command.
6428 \begin_layout Subsection
6429 Multi-page Table Captions
6430 \begin_inset Index idx
6435 \begin_layout Plain Layout
6437 \begin_inset IndexMacro subentry
6440 \begin_layout Plain Layout
6447 \begin_inset IndexMacro subentry
6450 \begin_layout Plain Layout
6462 \begin_inset CommandInset label
6464 name "subsec:Multi-page-Table-Captions"
6471 \begin_layout Standard
6472 A multi-page table cannot be put into a table float because floats can only
6474 But the caption environment of floats can also be used for multi-page tables
6475 when you use the multi-page table option
6479 as described in sec.
6480 \begin_inset space \thinspace{}
6484 \begin_inset CommandInset ref
6486 reference "sec:Multi-page-Tables"
6491 Only one table row should contain a caption, either a header or a footer
6495 \begin_layout Standard
6496 Here is a short multi-page table to see how it works:
6499 \begin_layout Standard
6500 \begin_inset Tabular
6501 <lyxtabular version="3" rows="6" columns="5">
6502 <features islongtable="true" longtabularalignment="center">
6503 <column alignment="center" valignment="top">
6504 <column alignment="center" valignment="top">
6505 <column alignment="center" valignment="top">
6506 <column alignment="center" valignment="top">
6507 <column alignment="center" valignment="top">
6508 <row endfirsthead="true" caption="true">
6509 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6512 \begin_layout Plain Layout
6513 \begin_inset Caption Standard
6515 \begin_layout Plain Layout
6516 Multi-page table with caption
6517 \begin_inset Argument 1
6520 \begin_layout Plain Layout
6536 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6539 \begin_layout Plain Layout
6545 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6548 \begin_layout Plain Layout
6554 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6557 \begin_layout Plain Layout
6563 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6566 \begin_layout Plain Layout
6574 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6577 \begin_layout Plain Layout
6583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6586 \begin_layout Plain Layout
6592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6595 \begin_layout Plain Layout
6601 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6604 \begin_layout Plain Layout
6610 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6613 \begin_layout Plain Layout
6621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6624 \begin_layout Plain Layout
6630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6633 \begin_layout Plain Layout
6639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6642 \begin_layout Plain Layout
6648 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6651 \begin_layout Plain Layout
6657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6660 \begin_layout Plain Layout
6668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6671 \begin_layout Plain Layout
6677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6680 \begin_layout Plain Layout
6686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6689 \begin_layout Plain Layout
6695 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6698 \begin_layout Plain Layout
6704 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6707 \begin_layout Plain Layout
6715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6718 \begin_layout Plain Layout
6724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6727 \begin_layout Plain Layout
6733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6736 \begin_layout Plain Layout
6742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6745 \begin_layout Plain Layout
6751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6754 \begin_layout Plain Layout
6762 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6765 \begin_layout Plain Layout
6771 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6774 \begin_layout Plain Layout
6780 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6783 \begin_layout Plain Layout
6789 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6792 \begin_layout Plain Layout
6798 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6801 \begin_layout Plain Layout
6815 \begin_layout Standard
6816 \begin_inset VSpace medskip
6820 \begin_inset Note Greyedout
6823 \begin_layout Plain Layout
6827 \begin_inset space ~
6832 The table number is increased for every multi-page table, even if you did
6833 not set a caption for it.
6834 For this reason you could have the case that e.
6835 \begin_inset space \thinspace{}
6839 \begin_inset space \space{}
6843 \begin_inset space ~
6847 \begin_inset space ~
6850 2.1 in the list of tables if there are two multi-page tables without captions.
6851 To avoid this you can add the following command in \SpecialChar TeX
6852 Code after every multi-page
6853 table without a caption:
6856 \begin_layout Plain Layout
6861 addtocounter{table}{-1}
6864 \begin_layout Plain Layout
6865 This is not needed when none of your multi-page tables has a caption and
6866 you add the following code to the document preamble:
6869 \begin_layout Plain Layout
6879 \begin_inset Newline newline
6890 addtocounter{table}{-1}}
6898 \begin_layout Standard
6899 \begin_inset Note Greyedout
6902 \begin_layout Plain Layout
6906 \begin_inset space ~
6916 \begin_inset Index idx
6921 \begin_layout Plain Layout
6924 \begin_inset IndexMacro subentry
6927 \begin_layout Plain Layout
6946 dialog to link cross-references, the link to a multi-page table caption
6947 will always point to the beginning of the document.
6955 \begin_layout Subsubsection
6956 References to multi-page tables
6957 \begin_inset Index idx
6962 \begin_layout Plain Layout
6964 \begin_inset IndexMacro subentry
6967 \begin_layout Plain Layout
6974 \begin_inset IndexMacro subentry
6977 \begin_layout Plain Layout
6991 \begin_layout Standard
6992 \begin_inset Tabular
6993 <lyxtabular version="3" rows="6" columns="5">
6994 <features islongtable="true" longtabularalignment="center">
6995 <column alignment="center" valignment="top">
6996 <column alignment="center" valignment="top">
6997 <column alignment="center" valignment="top">
6998 <column alignment="center" valignment="top">
6999 <column alignment="center" valignment="top">
7000 <row endfirsthead="true" caption="true">
7001 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7004 \begin_layout Plain Layout
7005 \begin_inset Caption Standard
7007 \begin_layout Plain Layout
7008 Referenced multi-page table
7009 \begin_inset CommandInset label
7011 name "tab:Referenced-multi-page-table"
7025 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7028 \begin_layout Plain Layout
7034 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7037 \begin_layout Plain Layout
7043 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7046 \begin_layout Plain Layout
7052 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7055 \begin_layout Plain Layout
7063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7066 \begin_layout Plain Layout
7072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7075 \begin_layout Plain Layout
7081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7084 \begin_layout Plain Layout
7090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7093 \begin_layout Plain Layout
7099 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7102 \begin_layout Plain Layout
7110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7113 \begin_layout Plain Layout
7119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7122 \begin_layout Plain Layout
7128 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7131 \begin_layout Plain Layout
7137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7140 \begin_layout Plain Layout
7146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7149 \begin_layout Plain Layout
7157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7160 \begin_layout Plain Layout
7166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7169 \begin_layout Plain Layout
7175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7178 \begin_layout Plain Layout
7184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7187 \begin_layout Plain Layout
7193 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7196 \begin_layout Plain Layout
7204 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7207 \begin_layout Plain Layout
7213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7216 \begin_layout Plain Layout
7222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7225 \begin_layout Plain Layout
7231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7234 \begin_layout Plain Layout
7240 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7243 \begin_layout Plain Layout
7251 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7254 \begin_layout Plain Layout
7260 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7263 \begin_layout Plain Layout
7269 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7272 \begin_layout Plain Layout
7278 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7281 \begin_layout Plain Layout
7287 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7290 \begin_layout Plain Layout
7304 \begin_layout Standard
7305 To reference a multi-page table, insert a label into the caption.
7308 \begin_layout Standard
7309 This is a reference to Table
7310 \begin_inset space ~
7314 \begin_inset CommandInset ref
7316 reference "tab:Referenced-multi-page-table"
7323 \begin_layout Standard
7324 The caption layout can be set together with all other captions of your document
7325 using the \SpecialChar LaTeX
7331 \begin_inset Index idx
7336 \begin_layout Plain Layout
7339 \begin_inset IndexMacro subentry
7342 \begin_layout Plain Layout
7354 \begin_inset space ~
7358 \begin_inset CommandInset ref
7360 reference "sec:Caption-Formatting"
7367 \begin_layout Subsubsection
7369 \begin_inset Index idx
7374 \begin_layout Plain Layout
7376 \begin_inset IndexMacro subentry
7379 \begin_layout Plain Layout
7386 \begin_inset IndexMacro subentry
7389 \begin_layout Plain Layout
7403 \begin_layout Standard
7404 The maximal width of caption lines is defined by the length
7411 Its default value is 4
7412 \begin_inset space \thinspace{}
7416 To change it add the following command to your document preamble or as
7418 Code into your document before the multi-page table that should be affected
7421 \begin_layout Standard
7431 \begin_layout Standard
7436 can have one of the units listed in appendix
7437 \begin_inset space ~
7441 \begin_inset CommandInset ref
7443 reference "cha:Units-available-in"
7450 \begin_layout Standard
7451 The following tables show the difference:
7454 \begin_layout Standard
7455 \begin_inset Tabular
7456 <lyxtabular version="3" rows="6" columns="5">
7457 <features islongtable="true" longtabularalignment="center">
7458 <column alignment="center" valignment="top">
7459 <column alignment="center" valignment="top">
7460 <column alignment="center" valignment="top">
7461 <column alignment="center" valignment="top">
7462 <column alignment="center" valignment="top">
7463 <row endfirsthead="true" caption="true">
7464 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7467 \begin_layout Plain Layout
7468 \begin_inset Caption Standard
7470 \begin_layout Plain Layout
7471 Long full title with default width long full title with default width long
7472 full title with default width
7473 \begin_inset Argument 1
7476 \begin_layout Plain Layout
7477 caption with default width
7492 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7495 \begin_layout Plain Layout
7501 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7504 \begin_layout Plain Layout
7510 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7513 \begin_layout Plain Layout
7519 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7522 \begin_layout Plain Layout
7530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7533 \begin_layout Plain Layout
7539 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7542 \begin_layout Plain Layout
7548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7551 \begin_layout Plain Layout
7557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7560 \begin_layout Plain Layout
7566 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7569 \begin_layout Plain Layout
7577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7580 \begin_layout Plain Layout
7586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7589 \begin_layout Plain Layout
7595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7598 \begin_layout Plain Layout
7604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7607 \begin_layout Plain Layout
7613 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7616 \begin_layout Plain Layout
7624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7627 \begin_layout Plain Layout
7633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7636 \begin_layout Plain Layout
7642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7645 \begin_layout Plain Layout
7651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7654 \begin_layout Plain Layout
7660 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7663 \begin_layout Plain Layout
7671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7674 \begin_layout Plain Layout
7680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7683 \begin_layout Plain Layout
7689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7692 \begin_layout Plain Layout
7698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7701 \begin_layout Plain Layout
7707 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7710 \begin_layout Plain Layout
7718 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7721 \begin_layout Plain Layout
7727 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7730 \begin_layout Plain Layout
7736 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7739 \begin_layout Plain Layout
7745 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7748 \begin_layout Plain Layout
7754 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7757 \begin_layout Plain Layout
7771 \begin_layout Standard
7775 \begin_layout Plain Layout
7787 \begin_inset Tabular
7788 <lyxtabular version="3" rows="6" columns="5">
7789 <features islongtable="true" longtabularalignment="center">
7790 <column alignment="center" valignment="top">
7791 <column alignment="center" valignment="top">
7792 <column alignment="center" valignment="top">
7793 <column alignment="center" valignment="top">
7794 <column alignment="center" valignment="top">
7795 <row endfirsthead="true" caption="true">
7796 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7799 \begin_layout Plain Layout
7800 \begin_inset Caption Standard
7802 \begin_layout Plain Layout
7803 Long full title with width set to 5
7804 \begin_inset space \thinspace{}
7807 cm long full title with width set to 5
7808 \begin_inset space \thinspace{}
7811 cm long full title with width set to 5
7812 \begin_inset space \thinspace{}
7816 \begin_inset Argument 1
7819 \begin_layout Plain Layout
7821 \begin_inset space \thinspace{}
7825 \begin_inset space \thinspace{}
7829 \begin_inset space \thinspace{}
7847 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7850 \begin_layout Plain Layout
7856 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7859 \begin_layout Plain Layout
7865 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7868 \begin_layout Plain Layout
7874 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7877 \begin_layout Plain Layout
7885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7888 \begin_layout Plain Layout
7894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7897 \begin_layout Plain Layout
7903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7906 \begin_layout Plain Layout
7912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7915 \begin_layout Plain Layout
7921 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7924 \begin_layout Plain Layout
7932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7935 \begin_layout Plain Layout
7941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7944 \begin_layout Plain Layout
7950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7953 \begin_layout Plain Layout
7959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7962 \begin_layout Plain Layout
7968 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7971 \begin_layout Plain Layout
7979 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7982 \begin_layout Plain Layout
7988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7991 \begin_layout Plain Layout
7997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8000 \begin_layout Plain Layout
8006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8009 \begin_layout Plain Layout
8015 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8018 \begin_layout Plain Layout
8026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8029 \begin_layout Plain Layout
8035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8038 \begin_layout Plain Layout
8044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8047 \begin_layout Plain Layout
8053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8056 \begin_layout Plain Layout
8062 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8065 \begin_layout Plain Layout
8073 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8076 \begin_layout Plain Layout
8082 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8085 \begin_layout Plain Layout
8091 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8094 \begin_layout Plain Layout
8100 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8103 \begin_layout Plain Layout
8109 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8112 \begin_layout Plain Layout
8126 \begin_layout Standard
8130 \begin_layout Plain Layout
8144 \begin_layout Standard
8145 \begin_inset Note Greyedout
8148 \begin_layout Plain Layout
8153 When the \SpecialChar LaTeX
8159 \begin_inset Index idx
8164 \begin_layout Plain Layout
8167 \begin_inset IndexMacro subentry
8170 \begin_layout Plain Layout
8181 is used, as in this document, the full page width is used for the caption
8182 when you use the default value of 4
8183 \begin_inset space \thinspace{}
8193 To get in this case exactly a 4
8194 \begin_inset space \thinspace{}
8197 in wide caption, you can either use a value slightly different from 4.0
8198 \begin_inset space \thinspace{}
8202 \begin_inset space \thinspace{}
8206 \begin_inset space \space{}
8210 \begin_inset space \thinspace{}
8213 in, or the \SpecialChar LaTeX
8218 captionsetup{width=value}
8220 that is provided by the
8232 \begin_layout Subsubsection
8233 Different Captions for Table Pages
8234 \begin_inset Index idx
8239 \begin_layout Plain Layout
8241 \begin_inset IndexMacro subentry
8244 \begin_layout Plain Layout
8251 \begin_inset IndexMacro subentry
8254 \begin_layout Plain Layout
8255 Different Captions for Pages
8268 \begin_layout Standard
8269 When the table captions for the following pages should differ from the one
8270 of the first table page, mark a empty row as header which contains a caption.
8271 Then right-click on the caption and select in the context menu
8274 \begin_inset space ~
8281 \begin_inset space ~
8285 \begin_inset CommandInset ref
8287 reference "tab:DiffCaptions"
8291 is an example of a multi-page table with different heading where the second
8292 caption does not include the table number.
8295 \begin_layout Standard
8297 \begin_inset Tabular
8298 <lyxtabular version="3" rows="59" columns="3">
8299 <features islongtable="true" longtabularalignment="center">
8300 <column alignment="left" valignment="top" width="0cm">
8301 <column alignment="left" valignment="top" width="0pt">
8302 <column alignment="center" valignment="top" width="0pt">
8303 <row endfirsthead="true" caption="true">
8304 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8307 \begin_layout Plain Layout
8308 \begin_inset Caption Standard
8310 \begin_layout Plain Layout
8312 \begin_inset CommandInset label
8314 name "tab:DiffCaptions"
8319 \begin_inset Argument 1
8322 \begin_layout Plain Layout
8338 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8341 \begin_layout Plain Layout
8347 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8350 \begin_layout Plain Layout
8357 <row endfirsthead="true">
8358 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8361 \begin_layout Plain Layout
8364 Example Phone List (ignore the names)
8369 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
8372 \begin_layout Plain Layout
8378 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
8381 \begin_layout Plain Layout
8388 <row endfirsthead="true">
8389 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8392 \begin_layout Plain Layout
8400 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8403 \begin_layout Plain Layout
8409 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8412 \begin_layout Plain Layout
8421 <row endhead="true" caption="true">
8422 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8425 \begin_layout Plain Layout
8426 \begin_inset Caption Unnumbered
8428 \begin_layout Plain Layout
8429 Continued Example Phone List
8439 <cell multicolumn="2" alignment="left" valignment="top" leftline="true" usebox="none">
8442 \begin_layout Plain Layout
8448 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8451 \begin_layout Plain Layout
8458 <row endhead="true">
8459 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8462 \begin_layout Plain Layout
8470 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8473 \begin_layout Plain Layout
8479 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8482 \begin_layout Plain Layout
8489 <row endhead="true">
8490 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8493 \begin_layout Plain Layout
8501 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8504 \begin_layout Plain Layout
8510 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8513 \begin_layout Plain Layout
8522 <row endfoot="true">
8523 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
8526 \begin_layout Plain Layout
8527 continued on next page
8532 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8535 \begin_layout Plain Layout
8541 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8544 \begin_layout Plain Layout
8552 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8555 \begin_layout Plain Layout
8563 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8566 \begin_layout Plain Layout
8572 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8575 \begin_layout Plain Layout
8583 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8586 \begin_layout Plain Layout
8594 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8597 \begin_layout Plain Layout
8603 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8606 \begin_layout Plain Layout
8614 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8617 \begin_layout Plain Layout
8625 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8628 \begin_layout Plain Layout
8634 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8637 \begin_layout Plain Layout
8645 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8648 \begin_layout Plain Layout
8656 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8659 \begin_layout Plain Layout
8665 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8668 \begin_layout Plain Layout
8676 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8679 \begin_layout Plain Layout
8687 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8690 \begin_layout Plain Layout
8696 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8699 \begin_layout Plain Layout
8707 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8710 \begin_layout Plain Layout
8718 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8721 \begin_layout Plain Layout
8727 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8730 \begin_layout Plain Layout
8738 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8741 \begin_layout Plain Layout
8749 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8752 \begin_layout Plain Layout
8758 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8761 \begin_layout Plain Layout
8769 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8772 \begin_layout Plain Layout
8780 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8783 \begin_layout Plain Layout
8789 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8792 \begin_layout Plain Layout
8800 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8803 \begin_layout Plain Layout
8811 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8814 \begin_layout Plain Layout
8820 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8823 \begin_layout Plain Layout
8831 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8834 \begin_layout Plain Layout
8842 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8845 \begin_layout Plain Layout
8851 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8854 \begin_layout Plain Layout
8862 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8865 \begin_layout Plain Layout
8873 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8876 \begin_layout Plain Layout
8882 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8885 \begin_layout Plain Layout
8893 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8896 \begin_layout Plain Layout
8904 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8907 \begin_layout Plain Layout
8913 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8916 \begin_layout Plain Layout
8924 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8927 \begin_layout Plain Layout
8935 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8938 \begin_layout Plain Layout
8944 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8947 \begin_layout Plain Layout
8955 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8958 \begin_layout Plain Layout
8966 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8969 \begin_layout Plain Layout
8975 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8978 \begin_layout Plain Layout
8986 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8989 \begin_layout Plain Layout
8998 \begin_layout Plain Layout
9009 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9012 \begin_layout Plain Layout
9018 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9021 \begin_layout Plain Layout
9029 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9032 \begin_layout Plain Layout
9040 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9043 \begin_layout Plain Layout
9049 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9052 \begin_layout Plain Layout
9060 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9063 \begin_layout Plain Layout
9071 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9074 \begin_layout Plain Layout
9080 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9083 \begin_layout Plain Layout
9091 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9094 \begin_layout Plain Layout
9102 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9105 \begin_layout Plain Layout
9111 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9114 \begin_layout Plain Layout
9122 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9125 \begin_layout Plain Layout
9133 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9136 \begin_layout Plain Layout
9142 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9145 \begin_layout Plain Layout
9153 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9156 \begin_layout Plain Layout
9164 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9167 \begin_layout Plain Layout
9173 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9176 \begin_layout Plain Layout
9184 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9187 \begin_layout Plain Layout
9195 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9198 \begin_layout Plain Layout
9204 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9207 \begin_layout Plain Layout
9215 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9218 \begin_layout Plain Layout
9226 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9229 \begin_layout Plain Layout
9235 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9238 \begin_layout Plain Layout
9246 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9249 \begin_layout Plain Layout
9257 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9260 \begin_layout Plain Layout
9266 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9269 \begin_layout Plain Layout
9277 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9280 \begin_layout Plain Layout
9288 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9291 \begin_layout Plain Layout
9297 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9300 \begin_layout Plain Layout
9308 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9311 \begin_layout Plain Layout
9319 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9322 \begin_layout Plain Layout
9328 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9331 \begin_layout Plain Layout
9339 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9342 \begin_layout Plain Layout
9350 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9353 \begin_layout Plain Layout
9359 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9362 \begin_layout Plain Layout
9370 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9373 \begin_layout Plain Layout
9381 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9384 \begin_layout Plain Layout
9390 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9393 \begin_layout Plain Layout
9401 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9404 \begin_layout Plain Layout
9412 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9415 \begin_layout Plain Layout
9421 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9424 \begin_layout Plain Layout
9432 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9435 \begin_layout Plain Layout
9443 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9446 \begin_layout Plain Layout
9452 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9455 \begin_layout Plain Layout
9463 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9466 \begin_layout Plain Layout
9474 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9477 \begin_layout Plain Layout
9483 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9486 \begin_layout Plain Layout
9494 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9497 \begin_layout Plain Layout
9505 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9508 \begin_layout Plain Layout
9514 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9517 \begin_layout Plain Layout
9525 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9528 \begin_layout Plain Layout
9534 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
9537 \begin_layout Plain Layout
9543 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9546 \begin_layout Plain Layout
9554 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9557 \begin_layout Plain Layout
9565 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9568 \begin_layout Plain Layout
9574 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9577 \begin_layout Plain Layout
9585 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9588 \begin_layout Plain Layout
9596 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9599 \begin_layout Plain Layout
9605 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9608 \begin_layout Plain Layout
9616 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9619 \begin_layout Plain Layout
9627 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9630 \begin_layout Plain Layout
9636 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9639 \begin_layout Plain Layout
9647 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9650 \begin_layout Plain Layout
9658 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9661 \begin_layout Plain Layout
9667 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9670 \begin_layout Plain Layout
9678 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9681 \begin_layout Plain Layout
9689 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9692 \begin_layout Plain Layout
9698 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9701 \begin_layout Plain Layout
9709 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9712 \begin_layout Plain Layout
9720 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9723 \begin_layout Plain Layout
9729 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9732 \begin_layout Plain Layout
9740 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9743 \begin_layout Plain Layout
9751 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9754 \begin_layout Plain Layout
9760 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9763 \begin_layout Plain Layout
9771 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9774 \begin_layout Plain Layout
9782 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9785 \begin_layout Plain Layout
9791 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9794 \begin_layout Plain Layout
9802 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9805 \begin_layout Plain Layout
9813 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9816 \begin_layout Plain Layout
9822 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9825 \begin_layout Plain Layout
9833 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9836 \begin_layout Plain Layout
9844 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9847 \begin_layout Plain Layout
9853 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9856 \begin_layout Plain Layout
9864 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9867 \begin_layout Plain Layout
9875 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9878 \begin_layout Plain Layout
9884 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9887 \begin_layout Plain Layout
9895 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9898 \begin_layout Plain Layout
9906 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9909 \begin_layout Plain Layout
9915 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9918 \begin_layout Plain Layout
9926 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9929 \begin_layout Plain Layout
9937 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9940 \begin_layout Plain Layout
9946 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9949 \begin_layout Plain Layout
9957 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9960 \begin_layout Plain Layout
9968 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9971 \begin_layout Plain Layout
9977 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9980 \begin_layout Plain Layout
9988 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9991 \begin_layout Plain Layout
9999 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10002 \begin_layout Plain Layout
10008 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10011 \begin_layout Plain Layout
10019 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10022 \begin_layout Plain Layout
10030 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10033 \begin_layout Plain Layout
10039 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10042 \begin_layout Plain Layout
10050 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10053 \begin_layout Plain Layout
10061 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10064 \begin_layout Plain Layout
10070 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10073 \begin_layout Plain Layout
10081 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10084 \begin_layout Plain Layout
10092 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10095 \begin_layout Plain Layout
10101 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10104 \begin_layout Plain Layout
10112 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10115 \begin_layout Plain Layout
10123 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10126 \begin_layout Plain Layout
10132 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10135 \begin_layout Plain Layout
10143 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
10146 \begin_layout Plain Layout
10154 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
10157 \begin_layout Plain Layout
10163 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10166 \begin_layout Plain Layout
10180 \begin_layout Section
10181 Special Multi-page Table Issues
10182 \begin_inset CommandInset label
10184 name "sec:Special-Longtable-Issues"
10191 \begin_layout Subsection
10192 Multi-page Table Calculation
10193 \begin_inset Index idx
10198 \begin_layout Plain Layout
10200 \begin_inset IndexMacro subentry
10203 \begin_layout Plain Layout
10210 \begin_inset IndexMacro subentry
10213 \begin_layout Plain Layout
10227 \begin_layout Standard
10229 calculates the height of table pages and their page breaks using so called
10231 Chunks are parts of tables that held at the same time in \SpecialChar LaTeX
10233 The default value was historically set to only 20
10234 \begin_inset space ~
10238 If you are using multi-page tables with many pages this may slow down the
10239 creation of your document.
10240 You can safely increase the chunk size to values of 100
10241 \begin_inset space \thinspace{}
10245 \begin_inset space \thinspace{}
10248 1000 by adding this command line to your document preamble:
10251 \begin_layout Standard
10256 setcounter{LTchunksize}{100}
10259 \begin_layout Subsection
10260 Floats and Multi-page Tables
10261 \begin_inset Index idx
10266 \begin_layout Plain Layout
10268 \begin_inset IndexMacro subentry
10271 \begin_layout Plain Layout
10278 \begin_inset IndexMacro subentry
10281 \begin_layout Plain Layout
10295 \begin_layout Standard
10296 There might be problems when a float appears on the same page where a multi-page
10298 To avoid such a situation, insert a
10299 \begin_inset Quotes eld
10303 \begin_inset Quotes erd
10308 Insert\SpecialChar menuseparator
10309 Formatting\SpecialChar menuseparator
10311 \begin_inset space ~
10316 ) before your multi-page table.
10319 \begin_layout Subsection
10321 \begin_inset Index idx
10326 \begin_layout Plain Layout
10328 \begin_inset IndexMacro subentry
10331 \begin_layout Plain Layout
10338 \begin_inset IndexMacro subentry
10341 \begin_layout Plain Layout
10355 \begin_layout Standard
10356 By default tables are only broken between rows.
10357 If you have a cell with multiples lines and want to have a page break within
10358 the cell, insert the new line command
10359 \begin_inset Quotes eld
10371 \begin_inset Quotes erd
10374 as \SpecialChar TeX
10375 Code at the point of the cell where it can be broken.
10384 command you have to insert in \SpecialChar TeX
10386 \begin_inset Quotes eld
10394 \begin_inset Quotes erd
10397 characters as the number of the following table columns.
10402 is the character to separate table cells.
10403 Write in \SpecialChar TeX
10408 the content of the corresponding following cell and delete the content
10410 \begin_inset Newline newline
10421 command, insert as many
10425 characters as the number of table columns before the current column.
10427 \begin_inset space ~
10431 \begin_inset CommandInset ref
10433 reference "tab:ForcedPagebreak"
10437 the cell that should be broken is in the second column followed by another
10439 Therefore the following command was inserted in the cell as \SpecialChar TeX
10442 \begin_inset Quotes eld
10450 \begin_inset Quotes erd
10456 \begin_layout Standard
10466 \begin_inset Newline newline
10472 \begin_layout Standard
10474 \begin_inset Quotes eld
10478 \begin_inset Quotes erd
10481 in the third column of the row was deleted.
10488 is only needed when a page break should definitely occur at this position,
10489 otherwise it would be a conditional break.
10490 If your footer row of the multi-page table has for a certain reason no
10491 upper line but you would have a horizontal line where the cell is broken,
10492 use this command instead:
10495 \begin_layout Standard
10503 \begin_inset Newline newline
10511 \begin_layout Standard
10512 When the cell to be broken is in the last column, the command
10515 \begin_layout Standard
10525 \begin_layout Standard
10526 must be inserted as \SpecialChar TeX
10527 Code at the beginning of the cell.
10528 This ensures that the part of the cell that will be displayed on the new
10529 page appears with the full width.
10532 \begin_layout Standard
10534 \begin_inset Tabular
10535 <lyxtabular version="3" rows="38" columns="3">
10536 <features islongtable="true" longtabularalignment="center">
10537 <column alignment="left" valignment="top" width="0cm">
10538 <column alignment="left" valignment="top" width="3cm">
10539 <column alignment="center" valignment="top" width="0pt">
10540 <row endfirsthead="true" caption="true">
10541 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10544 \begin_layout Plain Layout
10545 \begin_inset Caption Standard
10547 \begin_layout Plain Layout
10548 Table with forced page break in table cell
10549 \begin_inset CommandInset label
10551 name "tab:ForcedPagebreak"
10556 \begin_inset Argument 1
10559 \begin_layout Plain Layout
10560 Table with forced page break in table cell
10575 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10578 \begin_layout Plain Layout
10584 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10587 \begin_layout Plain Layout
10594 <row endfirsthead="true">
10595 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10598 \begin_layout Plain Layout
10601 Example Phone List (ignore the names)
10606 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10609 \begin_layout Plain Layout
10615 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10618 \begin_layout Plain Layout
10625 <row endfirsthead="true">
10626 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10629 \begin_layout Plain Layout
10637 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10640 \begin_layout Plain Layout
10646 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10649 \begin_layout Plain Layout
10658 <row endhead="true" caption="true">
10659 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10662 \begin_layout Plain Layout
10663 \begin_inset Caption Unnumbered
10665 \begin_layout Plain Layout
10666 Continued Example Phone List
10676 <cell multicolumn="2" alignment="left" valignment="top" rightline="true" usebox="none">
10679 \begin_layout Plain Layout
10685 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
10688 \begin_layout Plain Layout
10695 <row endhead="true">
10696 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10699 \begin_layout Plain Layout
10707 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10710 \begin_layout Plain Layout
10716 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10719 \begin_layout Plain Layout
10726 <row endhead="true">
10727 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10730 \begin_layout Plain Layout
10738 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10741 \begin_layout Plain Layout
10747 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10750 \begin_layout Plain Layout
10759 <row endfoot="true">
10760 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10763 \begin_layout Plain Layout
10764 continued on next page
10769 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10772 \begin_layout Plain Layout
10778 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10781 \begin_layout Plain Layout
10789 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10792 \begin_layout Plain Layout
10800 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10803 \begin_layout Plain Layout
10809 <cell alignment="right" valignment="top" rightline="true" usebox="none">
10812 \begin_layout Plain Layout
10820 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10823 \begin_layout Plain Layout
10831 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10834 \begin_layout Plain Layout
10840 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10843 \begin_layout Plain Layout
10851 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10854 \begin_layout Plain Layout
10862 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10865 \begin_layout Plain Layout
10871 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10874 \begin_layout Plain Layout
10882 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10885 \begin_layout Plain Layout
10893 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10896 \begin_layout Plain Layout
10902 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10905 \begin_layout Plain Layout
10913 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10916 \begin_layout Plain Layout
10924 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10927 \begin_layout Plain Layout
10933 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10936 \begin_layout Plain Layout
10944 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10947 \begin_layout Plain Layout
10955 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10958 \begin_layout Plain Layout
10964 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10967 \begin_layout Plain Layout
10975 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10978 \begin_layout Plain Layout
10986 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10989 \begin_layout Plain Layout
10995 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10998 \begin_layout Plain Layout
11006 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11009 \begin_layout Plain Layout
11017 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11020 \begin_layout Plain Layout
11026 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11029 \begin_layout Plain Layout
11037 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11040 \begin_layout Plain Layout
11048 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11051 \begin_layout Plain Layout
11057 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11060 \begin_layout Plain Layout
11068 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11071 \begin_layout Plain Layout
11079 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11082 \begin_layout Plain Layout
11088 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11091 \begin_layout Plain Layout
11099 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11102 \begin_layout Plain Layout
11110 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11113 \begin_layout Plain Layout
11119 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11122 \begin_layout Plain Layout
11130 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11133 \begin_layout Plain Layout
11141 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11144 \begin_layout Plain Layout
11150 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11153 \begin_layout Plain Layout
11161 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11164 \begin_layout Plain Layout
11172 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11175 \begin_layout Plain Layout
11181 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11184 \begin_layout Plain Layout
11192 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11195 \begin_layout Plain Layout
11203 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11206 \begin_layout Plain Layout
11212 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11215 \begin_layout Plain Layout
11223 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11226 \begin_layout Plain Layout
11234 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11237 \begin_layout Plain Layout
11243 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11246 \begin_layout Plain Layout
11254 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11257 \begin_layout Plain Layout
11265 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11268 \begin_layout Plain Layout
11274 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11277 \begin_layout Plain Layout
11285 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11288 \begin_layout Plain Layout
11296 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11299 \begin_layout Plain Layout
11305 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11308 \begin_layout Plain Layout
11316 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11319 \begin_layout Plain Layout
11327 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11330 \begin_layout Plain Layout
11336 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11339 \begin_layout Plain Layout
11347 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11350 \begin_layout Plain Layout
11358 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11361 \begin_layout Plain Layout
11367 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11370 \begin_layout Plain Layout
11378 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11381 \begin_layout Plain Layout
11389 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11392 \begin_layout Plain Layout
11398 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11401 \begin_layout Plain Layout
11409 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11412 \begin_layout Plain Layout
11420 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11423 \begin_layout Plain Layout
11429 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11432 \begin_layout Plain Layout
11440 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11443 \begin_layout Plain Layout
11451 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11454 \begin_layout Plain Layout
11460 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11463 \begin_layout Plain Layout
11471 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11474 \begin_layout Plain Layout
11482 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11485 \begin_layout Plain Layout
11487 Fürst von Montecompatri, 11.
11488 Fürst von Sulmona und Vivaro, 10.
11489 Fürst von Rossano, 5.
11490 Herzog von Canemorte, 11.
11491 Herzog von Palombara, 5.
11492 Herzog von Castelchiodato,
11496 \begin_layout Plain Layout
11507 \begin_layout Plain Layout
11515 Herzog von Poggionativo, 11.
11516 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
11517 Graf von Valinfreda, 11.
11518 Baron von Cropalati, 11.
11519 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
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
11555 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11558 \begin_layout Plain Layout
11566 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11569 \begin_layout Plain Layout
11577 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11580 \begin_layout Plain Layout
11586 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11589 \begin_layout Plain Layout
11597 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11600 \begin_layout Plain Layout
11608 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11611 \begin_layout Plain Layout
11617 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11620 \begin_layout Plain Layout
11628 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11631 \begin_layout Plain Layout
11639 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11642 \begin_layout Plain Layout
11648 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11651 \begin_layout Plain Layout
11659 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11662 \begin_layout Plain Layout
11670 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11673 \begin_layout Plain Layout
11679 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11682 \begin_layout Plain Layout
11690 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11693 \begin_layout Plain Layout
11701 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11704 \begin_layout Plain Layout
11710 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11713 \begin_layout Plain Layout
11721 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11724 \begin_layout Plain Layout
11732 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11735 \begin_layout Plain Layout
11741 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11744 \begin_layout Plain Layout
11752 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11755 \begin_layout Plain Layout
11763 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
11766 \begin_layout Plain Layout
11772 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11775 \begin_layout Plain Layout
11789 \begin_layout Section
11790 Multiple Lines, Columns and Rows
11793 \begin_layout Subsection
11794 Multiple Lines in Table Cells
11795 \begin_inset CommandInset label
11797 name "subsec:Multiple-Lines-in"
11802 \begin_inset Index idx
11807 \begin_layout Plain Layout
11808 Multiple Lines in Table Cells
11814 \begin_inset Index idx
11819 \begin_layout Plain Layout
11821 \begin_inset IndexMacro subentry
11824 \begin_layout Plain Layout
11838 \begin_layout Standard
11840 \begin_inset Float table
11847 \begin_layout Plain Layout
11848 \begin_inset Caption Standard
11850 \begin_layout Plain Layout
11851 \begin_inset CommandInset label
11853 name "tab:Table-with-multiple"
11857 Table with multiple lines in cells
11865 \begin_layout Plain Layout
11867 \begin_inset Tabular
11868 <lyxtabular version="3" rows="3" columns="3">
11869 <features tabularvalignment="middle">
11870 <column alignment="center" valignment="middle" width="2.5cm">
11871 <column alignment="center" valignment="middle">
11872 <column alignment="center" valignment="middle">
11874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11877 \begin_layout Plain Layout
11879 \begin_inset Newline linebreak
11887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11890 \begin_layout Plain Layout
11896 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11899 \begin_layout Plain Layout
11907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11910 \begin_layout Plain Layout
11916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11919 \begin_layout Plain Layout
11925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11928 \begin_layout Plain Layout
11936 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11939 \begin_layout Plain Layout
11945 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11948 \begin_layout Plain Layout
11954 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11957 \begin_layout Plain Layout
11976 \begin_layout Standard
11977 Setting a fixed width for a column enables you to enter text as a paragraph
11978 with multiple lines and hyphenation.
11981 \begin_layout Standard
11983 \begin_inset space ~
11987 \begin_inset CommandInset ref
11989 reference "tab:Table-with-multiple"
11993 , create a 3×3 table, mark the first cell and right-click on it.
11994 In the appearing table dialog we set a cell width of 2.5
11995 \begin_inset space \thinspace{}
11998 cm and choose centered for the vertical and horizontal alignment.
11999 The vertical alignment is used for all cells of the row.
12000 As our text is smaller than 2.5
12001 \begin_inset space \thinspace{}
12004 cm, only one line will appear.
12005 To get two lines, a justified line break (shortcut
12008 arg "newline-insert linebreak"
12012 If the text is wider than the set cell width, it will automatically be
12013 broken to several lines.
12016 \begin_layout Standard
12017 If you have a long word in a cell with a fixed width, it cannot be hyphenated
12018 by \SpecialChar LaTeX
12019 if it is the first entry.
12020 Therefore you need to insert something to prevent the word not being the
12022 So add a horizontal space of 0
12023 \begin_inset space \thinspace{}
12026 pt before the word.
12027 As the space is zero, it doesn't change the output.
12029 \begin_inset space ~
12033 \begin_inset CommandInset ref
12035 reference "tab:Table-with-and"
12042 \begin_layout Standard
12043 \begin_inset Float table
12050 \begin_layout Plain Layout
12051 \begin_inset Caption Standard
12053 \begin_layout Plain Layout
12054 \begin_inset CommandInset label
12056 name "tab:Table-with-and"
12060 Table with and without hyphenation
12068 \begin_layout Plain Layout
12069 \begin_inset space \hfill{}
12073 \begin_inset Tabular
12074 <lyxtabular version="3" rows="3" columns="3">
12075 <features tabularvalignment="middle">
12076 <column alignment="center" valignment="middle" width="2.5cm">
12077 <column alignment="center" valignment="middle">
12078 <column alignment="center" valignment="middle">
12080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12083 \begin_layout Plain Layout
12084 verylongtablecellword
12089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12092 \begin_layout Plain Layout
12098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12101 \begin_layout Plain Layout
12109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12112 \begin_layout Plain Layout
12118 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12121 \begin_layout Plain Layout
12127 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12130 \begin_layout Plain Layout
12138 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12141 \begin_layout Plain Layout
12147 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12150 \begin_layout Plain Layout
12156 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12159 \begin_layout Plain Layout
12171 \begin_inset space \hfill{}
12175 \begin_inset Tabular
12176 <lyxtabular version="3" rows="3" columns="3">
12177 <features tabularvalignment="middle">
12178 <column alignment="center" valignment="middle" width="2.5cm">
12179 <column alignment="center" valignment="middle">
12180 <column alignment="center" valignment="middle">
12182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12185 \begin_layout Plain Layout
12186 \begin_inset space \hspace{}
12190 verylongtablecellword
12195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12198 \begin_layout Plain Layout
12204 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12207 \begin_layout Plain Layout
12215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12218 \begin_layout Plain Layout
12224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12227 \begin_layout Plain Layout
12233 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12236 \begin_layout Plain Layout
12244 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12247 \begin_layout Plain Layout
12253 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12256 \begin_layout Plain Layout
12262 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12265 \begin_layout Plain Layout
12277 \begin_inset space \hfill{}
12288 \begin_layout Subsection
12290 \begin_inset CommandInset label
12292 name "subsec:Multicolumns"
12297 \begin_inset Index idx
12302 \begin_layout Plain Layout
12309 \begin_inset Index idx
12314 \begin_layout Plain Layout
12316 \begin_inset IndexMacro subentry
12319 \begin_layout Plain Layout
12333 \begin_layout Subsubsection
12337 \begin_layout Standard
12338 To merge cells over multiple columns, select as many cells within a row
12339 as you want to merge and use either the table-toolbar button
12342 arg "tabular-feature multicolumn"
12347 Edit\SpecialChar menuseparator
12348 Table\SpecialChar menuseparator
12351 , or right click on the marked cells and choose
12355 in the context menu.
12358 \begin_layout Standard
12359 Multicolumns have their own cell settings.
12360 That means changing cell borders, cell alignment, and the width only affects
12362 Here is an example table with a multicolumn cell in the first row and one
12363 in the last row without the upper border:
12366 \begin_layout Standard
12368 \begin_inset Tabular
12369 <lyxtabular version="3" rows="3" columns="4">
12370 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
12371 <column alignment="center" valignment="top" width="0pt">
12372 <column alignment="center" valignment="middle">
12373 <column alignment="center" valignment="top" width="0in">
12374 <column alignment="center" valignment="top" width="0pt">
12376 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12379 \begin_layout Plain Layout
12385 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12388 \begin_layout Plain Layout
12394 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12397 \begin_layout Plain Layout
12403 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12406 \begin_layout Plain Layout
12414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12417 \begin_layout Plain Layout
12432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12435 \begin_layout Plain Layout
12441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12444 \begin_layout Plain Layout
12450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12453 \begin_layout Plain Layout
12461 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12464 \begin_layout Plain Layout
12470 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
12473 \begin_layout Plain Layout
12479 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12482 \begin_layout Plain Layout
12488 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12491 \begin_layout Plain Layout
12505 \begin_layout Subsubsection
12506 Multicolumn Calculations
12507 \begin_inset CommandInset label
12509 name "subsec:Multicolumn-Calculations"
12514 \begin_inset Index idx
12519 \begin_layout Plain Layout
12521 \begin_inset IndexMacro subentry
12524 \begin_layout Plain Layout
12538 \begin_layout Standard
12540 supports multicolumns directly, but we have to take account of the cell
12541 width of the columns spanned by the multicolumn cell.
12544 \begin_layout Standard
12545 \begin_inset Float table
12552 \begin_layout Plain Layout
12553 \begin_inset Caption Standard
12555 \begin_layout Plain Layout
12556 \begin_inset CommandInset label
12558 name "tab:Table-with-centered"
12562 Table with centered multicolumn text above two columns that have exactly
12563 half the width of the multicolumn cell
12564 \begin_inset Argument 1
12567 \begin_layout Plain Layout
12568 Perfect multicolumn table
12581 \begin_layout Plain Layout
12583 \begin_inset Tabular
12584 <lyxtabular version="3" rows="3" columns="3">
12585 <features tabularvalignment="middle">
12586 <column alignment="center" valignment="middle" special=">{\centering}m{1.25cm-6.2pt}">
12587 <column alignment="center" valignment="middle">
12588 <column alignment="center" valignment="top">
12590 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
12593 \begin_layout Plain Layout
12594 multiple lines multicolumn
12599 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12602 \begin_layout Plain Layout
12608 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12611 \begin_layout Plain Layout
12619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12622 \begin_layout Plain Layout
12628 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12631 \begin_layout Plain Layout
12637 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12640 \begin_layout Plain Layout
12648 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12651 \begin_layout Plain Layout
12657 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12660 \begin_layout Plain Layout
12666 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12669 \begin_layout Plain Layout
12688 \begin_layout Standard
12689 To create for example Table
12690 \begin_inset space ~
12694 \begin_inset CommandInset ref
12696 reference "tab:Table-with-centered"
12700 , mark the first two cells in the first row of a 3×3 table and right-click
12702 Now choose for this cell
12711 \begin_inset space \thinspace{}
12714 cm in the table dialog.
12715 The merged columns should have exactly half the width of the multicolumn
12716 cell, so that you would set a width of 1.25
12717 \begin_inset space \thinspace{}
12720 cm for the first column.
12721 The second column has then automatically a width of 1.25
12722 \begin_inset space \thinspace{}
12725 cm (multicolumn width - width of first column).
12726 This was done for Table
12727 \begin_inset space ~
12731 \begin_inset CommandInset ref
12733 reference "tab:Table-without-half"
12740 \begin_layout Standard
12741 \begin_inset Float table
12748 \begin_layout Plain Layout
12749 \begin_inset Caption Standard
12751 \begin_layout Plain Layout
12752 \begin_inset CommandInset label
12754 name "tab:Table-without-half"
12758 Table where the spanned table columns are not exactly half the width of
12759 the multicolumn cell
12760 \begin_inset Argument 1
12763 \begin_layout Plain Layout
12764 Imperfect multicolumn table
12777 \begin_layout Plain Layout
12779 \begin_inset Tabular
12780 <lyxtabular version="3" rows="3" columns="3">
12781 <features tabularvalignment="middle">
12782 <column alignment="center" valignment="top" width="1.25cm">
12783 <column alignment="center" valignment="top">
12784 <column alignment="center" valignment="top">
12786 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12789 \begin_layout Plain Layout
12790 multiple lines multicolumn
12795 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12798 \begin_layout Plain Layout
12804 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12807 \begin_layout Plain Layout
12815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12818 \begin_layout Plain Layout
12824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12827 \begin_layout Plain Layout
12833 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12836 \begin_layout Plain Layout
12844 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12847 \begin_layout Plain Layout
12853 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12856 \begin_layout Plain Layout
12862 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12865 \begin_layout Plain Layout
12884 \begin_layout Standard
12885 You can see that the first column is not half the width of the multicolumn
12886 cell, it is a bit bigger.
12887 The reason is that the specified width of a cell
12888 \begin_inset Formula $W_{g}$
12891 is not its total width
12892 \begin_inset Formula $W_{\mathrm{tot}}$
12895 because a cell is always a bit larger than specified.
12897 \begin_inset space ~
12901 \begin_inset CommandInset ref
12903 reference "cha:Explanation-of-Equation"
12907 explains this in detail.
12910 \begin_layout Standard
12912 \begin_inset Formula $W_{g\,n}$
12915 which the user needs to set when
12919 columns are spanned can be calculated, so that each column has a total
12921 \begin_inset Formula $W_{\mathrm{tot\,multicolumn}}/n$
12925 \begin_inset Formula
12927 W_{g\,n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
12935 \begin_layout Standard
12936 In our case we have
12937 \begin_inset Formula $n=2$
12941 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
12944 cm and the default values for the lengths, so that equation
12945 \begin_inset CommandInset ref
12952 \begin_inset Formula
12954 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
12962 \begin_layout Standard
12963 To enable calculations in \SpecialChar LaTeX
12964 , the \SpecialChar LaTeX
12969 must be loaded with the document preamble line
12970 \begin_inset Index idx
12975 \begin_layout Plain Layout
12978 \begin_inset IndexMacro subentry
12981 \begin_layout Plain Layout
12995 \begin_layout Standard
13003 \begin_layout Standard
13005 does not allow you to calculate lengths in the
13009 field of the table dialog.
13010 Therefore you have to format the column by inserting a \SpecialChar LaTeX
13013 Here is an overview about the arguments:
13016 \begin_layout Itemize
13021 creates cell with a fixed width, its text is vertically top-aligned
13024 \begin_layout Itemize
13029 creates cell with a fixed width, its text is vertically centered
13032 \begin_layout Itemize
13037 creates cell with a fixed width, its text is vertically bottom-aligned
13040 \begin_layout Standard
13041 By entering a \SpecialChar LaTeX
13042 -argument, all cell settings set in the table dialog are overwritt
13046 \begin_layout Standard
13047 \begin_inset Note Greyedout
13050 \begin_layout Plain Layout
13055 Due to a bug, \SpecialChar LyX
13056 shows the overwritten settings anyway.
13064 \begin_layout Standard
13065 As the text should be horizontally centered, the command
13072 You can now enter the following \SpecialChar LaTeX
13073 -argument for the first spanned column:
13076 \begin_layout Standard
13081 centering}m{1.25cm-6.2pt}
13084 \begin_layout Standard
13089 means, that the commands inside the braces are applied before the cell
13093 \begin_layout Standard
13094 Although we have chosen centered alignment for the text of the multicolumn
13095 cell, it is still left aligned.
13096 This is because \SpecialChar LyX
13097 only applies the alignment to single columns.
13098 So for the multicolumn cell we have to use the \SpecialChar LaTeX
13102 \begin_layout Standard
13110 \begin_layout Subsection
13112 \begin_inset CommandInset label
13114 name "subsec:Multirows"
13119 \begin_inset Index idx
13124 \begin_layout Plain Layout
13131 \begin_inset Index idx
13136 \begin_layout Plain Layout
13138 \begin_inset IndexMacro subentry
13141 \begin_layout Plain Layout
13155 \begin_layout Standard
13156 To merge cells over multiple rows, select as many cells within a column
13157 as you want to merge and use either the table-toolbar button
13160 arg "tabular-feature multirow"
13165 Edit\SpecialChar menuseparator
13166 Table\SpecialChar menuseparator
13169 , or right click on the marked cells and choose
13173 in the context menu.
13176 \begin_layout Standard
13177 Here is an example table with a multirow in the first column:
13180 \begin_layout Standard
13182 \begin_inset Tabular
13183 <lyxtabular version="3" rows="3" columns="3">
13184 <features tabularvalignment="middle">
13185 <column alignment="center" valignment="top" width="0pt">
13186 <column alignment="center" valignment="top">
13187 <column alignment="center" valignment="top">
13189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13192 \begin_layout Plain Layout
13198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13201 \begin_layout Plain Layout
13207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13210 \begin_layout Plain Layout
13218 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13221 \begin_layout Plain Layout
13227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13230 \begin_layout Plain Layout
13236 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13239 \begin_layout Plain Layout
13247 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13250 \begin_layout Plain Layout
13256 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13259 \begin_layout Plain Layout
13265 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13268 \begin_layout Plain Layout
13282 \begin_layout Standard
13283 The width of multirow cells is set by setting the width and alignment for
13289 shifts the content of the multirow up/down if the offset is positive/negative.
13292 \begin_layout Standard
13293 If the column of a multirow cell has no explicit width, the multirow cell
13294 inherits the alignment of the column.
13295 Otherwise it is by default left-aligned.
13296 To override the default, renew the command
13305 \begin_layout Standard
13317 \begin_layout Standard
13318 in the document preamble.
13319 Then all entries of multirow cells in the document are centered.
13320 If centering is only needed for several tables, you can renew the command
13321 in a \SpecialChar TeX
13322 Code box just before the table instead of the preamble.
13323 If the text should be right-aligned, replace
13336 To return to left-alignment
13345 \begin_layout Standard
13346 This is an example table with a right-aligned multirow cell that has a vertical
13348 \begin_inset space \thinspace{}
13352 \begin_inset space \thinspace{}
13358 \begin_layout Standard
13364 \begin_layout Plain Layout
13378 \begin_inset Tabular
13379 <lyxtabular version="3" rows="4" columns="3">
13380 <features tabularvalignment="middle">
13381 <column alignment="center" valignment="top" width="3cm">
13382 <column alignment="center" valignment="top">
13383 <column alignment="center" valignment="top">
13385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13388 \begin_layout Plain Layout
13394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13397 \begin_layout Plain Layout
13403 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13406 \begin_layout Plain Layout
13414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13417 \begin_layout Plain Layout
13423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13426 \begin_layout Plain Layout
13432 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13435 \begin_layout Plain Layout
13443 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13446 \begin_layout Plain Layout
13452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13455 \begin_layout Plain Layout
13461 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13464 \begin_layout Plain Layout
13472 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13475 \begin_layout Plain Layout
13481 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13484 \begin_layout Plain Layout
13490 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13493 \begin_layout Plain Layout
13508 \begin_layout Plain Layout
13524 \begin_layout Standard
13525 To start a new line in a multirow you can use a forced line break (shortcut
13529 arg "newline-insert newline"
13532 ) but this will not respect the cell lines as demonstrated in this table:
13535 \begin_layout Standard
13538 \begin_inset Tabular
13539 <lyxtabular version="3" rows="3" columns="2">
13540 <features tabularvalignment="middle">
13541 <column alignment="left" valignment="middle" width="2cm">
13542 <column alignment="center" valignment="top">
13544 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
13547 \begin_layout Plain Layout
13549 \begin_inset Newline newline
13553 \begin_inset Newline newline
13561 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13564 \begin_layout Plain Layout
13572 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
13575 \begin_layout Plain Layout
13581 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13584 \begin_layout Plain Layout
13592 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13595 \begin_layout Plain Layout
13601 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13604 \begin_layout Plain Layout
13618 \begin_layout Standard
13619 Therefore be careful with forced line breaks.
13622 \begin_layout Subsection
13623 Cells with diagonal line(s)
13626 \begin_layout Standard
13627 To tell the reader what is meant by column and row headings in a table,
13628 it is helpful to split the first cell of the table by one or two diagonal
13630 This can be achieved by loading the \SpecialChar LaTeX
13636 \begin_inset Index idx
13641 \begin_layout Plain Layout
13644 \begin_inset IndexMacro subentry
13647 \begin_layout Plain Layout
13658 in the document preamble.
13659 The package provides the command
13665 that is inserted as \SpecialChar TeX
13666 Code and that can take 2 or 3
13667 \begin_inset space ~
13673 \begin_layout Standard
13678 diagbox[options]{lower left}{upper right}
13681 \begin_layout Standard
13686 diagbox[options]{lower left}{upper left}{upper right}
13689 \begin_layout Standard
13690 The first scheme divides the cell by a single diagonal line and the arguments
13691 are placed below and above this line.
13692 The second scheme divides the cell by 2
13693 \begin_inset space ~
13699 \begin_layout Standard
13703 \begin_layout Plain Layout
13713 \begin_inset Note Note
13716 \begin_layout Plain Layout
13717 The following section will only be displayed when the \SpecialChar LaTeX
13730 \begin_layout Standard
13731 Here is an example table where
13737 is used in the 2-argument scheme in the first cell:
13738 \begin_inset VSpace medskip
13744 \begin_layout Standard
13746 \begin_inset Tabular
13747 <lyxtabular version="3" rows="4" columns="4">
13748 <features tabularvalignment="middle">
13749 <column alignment="center" valignment="top">
13750 <column alignment="center" valignment="top">
13751 <column alignment="center" valignment="top">
13752 <column alignment="center" valignment="top">
13754 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13757 \begin_layout Plain Layout
13761 \begin_layout Plain Layout
13774 \begin_layout Plain Layout
13785 \begin_layout Plain Layout
13797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13800 \begin_layout Plain Layout
13806 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13809 \begin_layout Plain Layout
13815 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13818 \begin_layout Plain Layout
13826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13829 \begin_layout Plain Layout
13835 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13838 \begin_layout Plain Layout
13844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13847 \begin_layout Plain Layout
13853 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13856 \begin_layout Plain Layout
13864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13867 \begin_layout Plain Layout
13873 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13876 \begin_layout Plain Layout
13882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13885 \begin_layout Plain Layout
13891 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13894 \begin_layout Plain Layout
13902 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13905 \begin_layout Plain Layout
13911 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13914 \begin_layout Plain Layout
13920 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13923 \begin_layout Plain Layout
13929 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13932 \begin_layout Plain Layout
13944 \begin_inset VSpace medskip
13950 \begin_layout Standard
13951 The 3-argument scheme is for example useful for cross-tables of sports leagues
13955 \begin_layout Standard
13958 \begin_inset Tabular
13959 <lyxtabular version="3" rows="4" columns="4">
13960 <features tabularvalignment="middle">
13961 <column alignment="center" valignment="top" width="0pt">
13962 <column alignment="center" valignment="top">
13963 <column alignment="center" valignment="top">
13964 <column alignment="center" valignment="top">
13966 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13969 \begin_layout Plain Layout
13973 \begin_layout Plain Layout
13986 \begin_layout Plain Layout
13997 \begin_layout Plain Layout
14008 \begin_layout Plain Layout
14020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14023 \begin_layout Plain Layout
14029 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14032 \begin_layout Plain Layout
14038 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14041 \begin_layout Plain Layout
14049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14052 \begin_layout Plain Layout
14058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14061 \begin_layout Plain Layout
14067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14070 \begin_layout Plain Layout
14076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14079 \begin_layout Plain Layout
14087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14090 \begin_layout Plain Layout
14096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14099 \begin_layout Plain Layout
14105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14108 \begin_layout Plain Layout
14114 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14117 \begin_layout Plain Layout
14125 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14128 \begin_layout Plain Layout
14134 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14137 \begin_layout Plain Layout
14143 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14146 \begin_layout Plain Layout
14152 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14155 \begin_layout Plain Layout
14169 \begin_layout Standard
14170 For larger cross-tables one might use split cells in 2 or every corner of
14171 the table like in this example:
14174 \begin_layout Standard
14177 \begin_inset Tabular
14178 <lyxtabular version="3" rows="5" columns="5">
14179 <features tabularvalignment="middle">
14180 <column alignment="center" valignment="top" width="0pt">
14181 <column alignment="center" valignment="top">
14182 <column alignment="center" valignment="top">
14183 <column alignment="center" valignment="top">
14184 <column alignment="center" valignment="top">
14186 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14189 \begin_layout Plain Layout
14193 \begin_layout Plain Layout
14206 \begin_layout Plain Layout
14217 \begin_layout Plain Layout
14228 \begin_layout Plain Layout
14240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14243 \begin_layout Plain Layout
14249 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14252 \begin_layout Plain Layout
14258 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14261 \begin_layout Plain Layout
14267 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
14270 \begin_layout Plain Layout
14274 \begin_layout Plain Layout
14287 \begin_layout Plain Layout
14298 \begin_layout Plain Layout
14309 \begin_layout Plain Layout
14323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14326 \begin_layout Plain Layout
14332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14335 \begin_layout Plain Layout
14341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14344 \begin_layout Plain Layout
14350 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14353 \begin_layout Plain Layout
14359 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14362 \begin_layout Plain Layout
14370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14373 \begin_layout Plain Layout
14379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14382 \begin_layout Plain Layout
14388 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14391 \begin_layout Plain Layout
14397 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14400 \begin_layout Plain Layout
14406 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14409 \begin_layout Plain Layout
14417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14420 \begin_layout Plain Layout
14426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14429 \begin_layout Plain Layout
14435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14438 \begin_layout Plain Layout
14444 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14447 \begin_layout Plain Layout
14453 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14456 \begin_layout Plain Layout
14464 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14467 \begin_layout Plain Layout
14471 \begin_layout Plain Layout
14484 \begin_layout Plain Layout
14495 \begin_layout Plain Layout
14506 \begin_layout Plain Layout
14518 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14521 \begin_layout Plain Layout
14527 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14530 \begin_layout Plain Layout
14536 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14539 \begin_layout Plain Layout
14545 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
14548 \begin_layout Plain Layout
14552 \begin_layout Plain Layout
14565 \begin_layout Plain Layout
14576 \begin_layout Plain Layout
14587 \begin_layout Plain Layout
14607 \begin_layout Standard
14608 To rotate the diagonal lines, the command option
14633 and represent a point of a compass.
14638 is for example the south-west corner.
14639 Thus in the lower left cell of the above table the command
14642 \begin_layout Standard
14647 diagbox[dir=SW]{Team home}{Result}{Team away}
14650 \begin_layout Standard
14652 If no direction is given, it will be NW.
14655 \begin_layout Standard
14656 The necessary width of split cells is automatically calculated.
14657 Thus if you set a fixed column width smaller than the calculated one, the
14658 cell's content will protrude the cell borders:
14661 \begin_layout Standard
14664 \begin_inset Tabular
14665 <lyxtabular version="3" rows="2" columns="2">
14666 <features tabularvalignment="middle">
14667 <column alignment="center" valignment="top" width="3cm">
14668 <column alignment="center" valignment="top">
14670 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14673 \begin_layout Plain Layout
14677 \begin_layout Plain Layout
14690 \begin_layout Plain Layout
14701 \begin_layout Plain Layout
14713 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14716 \begin_layout Plain Layout
14724 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14727 \begin_layout Plain Layout
14733 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14736 \begin_layout Plain Layout
14750 \begin_layout Standard
14751 If you need a certain width for columns with a split cell, use the command
14756 (replace '3cm' by the width you need).
14757 In the following table the width of the first column is set to 4
14758 \begin_inset space \thinspace{}
14769 \begin_inset space \thinspace{}
14773 \begin_inset space \thinspace{}
14778 tabcolsep is necessary because the overall width is the width for the text
14779 (in this case the 4
14780 \begin_inset space \thinspace{}
14783 cm) plus two times the separation of the text and the cell border.
14784 The calculation of the width cannot be done in the command option of
14790 so one needs to create a new length which can be used later.
14791 This is done with the \SpecialChar TeX
14795 \begin_layout Standard
14803 \begin_inset Newline newline
14815 \begin_layout Standard
14819 \begin_layout Plain Layout
14828 \begin_layout Plain Layout
14844 \begin_layout Standard
14845 To enable calculations in \SpecialChar LaTeX
14846 one needs to load the package
14851 \begin_inset Index idx
14856 \begin_layout Plain Layout
14859 \begin_inset IndexMacro subentry
14862 \begin_layout Plain Layout
14873 in the document preamble.
14876 \begin_layout Standard
14877 In this table you can now use the command
14880 \begin_layout Standard
14890 \begin_layout Standard
14894 \begin_layout Standard
14897 \begin_inset Tabular
14898 <lyxtabular version="3" rows="2" columns="2">
14899 <features tabularvalignment="middle">
14900 <column alignment="center" valignment="top" width="4cm">
14901 <column alignment="center" valignment="top">
14903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14906 \begin_layout Plain Layout
14910 \begin_layout Plain Layout
14925 \begin_layout Plain Layout
14936 \begin_layout Plain Layout
14948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14951 \begin_layout Plain Layout
14959 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14962 \begin_layout Plain Layout
14968 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14971 \begin_layout Plain Layout
14985 \begin_layout Standard
14986 Note that the split cell needs to be the widest one in the column.
14987 Otherwise the length of the diagonal line cannot be calculated correctly
14988 like in this table:
14991 \begin_layout Standard
14994 \begin_inset Tabular
14995 <lyxtabular version="3" rows="2" columns="2">
14996 <features tabularvalignment="middle">
14997 <column alignment="center" valignment="top" width="0pt">
14998 <column alignment="center" valignment="top">
15000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15003 \begin_layout Plain Layout
15007 \begin_layout Plain Layout
15020 \begin_layout Plain Layout
15031 \begin_layout Plain Layout
15043 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15046 \begin_layout Plain Layout
15054 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15057 \begin_layout Plain Layout
15063 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15066 \begin_layout Plain Layout
15080 \begin_layout Standard
15081 In this case use the
15092 It is then not necessary to add 2
15094 tabcolsep because the cell width is now the width of the column.
15095 In this table a width of 3
15096 \begin_inset space \thinspace{}
15102 \begin_layout Standard
15105 \begin_inset Tabular
15106 <lyxtabular version="3" rows="2" columns="2">
15107 <features tabularvalignment="middle">
15108 <column alignment="center" valignment="top" width="0pt">
15109 <column alignment="center" valignment="top">
15111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15114 \begin_layout Plain Layout
15118 \begin_layout Plain Layout
15122 diagbox[width=3cm]{
15131 \begin_layout Plain Layout
15142 \begin_layout Plain Layout
15154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15157 \begin_layout Plain Layout
15165 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15168 \begin_layout Plain Layout
15174 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15177 \begin_layout Plain Layout
15191 \begin_layout Standard
15192 For multiple text lines in split cells one needs some extra height to fit
15193 the text to the cell.
15194 This can be achieved with the
15204 (replace '3cm' by the height you need).
15205 In the following table the command
15208 \begin_layout Standard
15213 diagbox[width=3cm,height=1.4cm]{A
15224 \begin_layout Standard
15225 is used in the first cell.
15234 creates hereby the line break.
15238 \begin_layout Plain Layout
15239 Breaking lines with
15243 is only possible when the column has a fixed width.
15251 \begin_layout Standard
15254 \begin_inset Tabular
15255 <lyxtabular version="3" rows="2" columns="2">
15256 <features tabularvalignment="middle">
15257 <column alignment="center" valignment="top">
15258 <column alignment="center" valignment="top">
15260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15263 \begin_layout Plain Layout
15267 \begin_layout Plain Layout
15271 diagbox[width=3cm,height=1.4cm]{
15280 \begin_layout Plain Layout
15295 \begin_layout Plain Layout
15306 \begin_layout Plain Layout
15321 \begin_layout Plain Layout
15333 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15336 \begin_layout Plain Layout
15344 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15347 \begin_layout Plain Layout
15353 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15356 \begin_layout Plain Layout
15370 \begin_layout Standard
15374 \begin_layout Plain Layout
15384 \begin_inset Note Note
15387 \begin_layout Plain Layout
15388 The following will be displayed when the \SpecialChar LaTeX
15401 \begin_layout Standard
15402 You need to install the \SpecialChar LaTeX
15407 to see the following part of this section in the output.
15410 \begin_layout Standard
15414 \begin_layout Plain Layout
15426 \begin_layout Standard
15427 For more info about the \SpecialChar LaTeX
15432 , see its documentation,
15433 \begin_inset CommandInset citation
15443 \begin_layout Section
15445 \begin_inset CommandInset label
15447 name "sec:Formal-Tables"
15452 \begin_inset Index idx
15457 \begin_layout Plain Layout
15459 \begin_inset IndexMacro subentry
15462 \begin_layout Plain Layout
15476 \begin_layout Standard
15477 Tables are often typeset in books similar to Table
15478 \begin_inset space ~
15482 \begin_inset CommandInset ref
15484 reference "tab:Example-booktabs-table"
15489 This kind of tables is called
15490 \begin_inset Quotes eld
15498 \begin_inset Quotes erd
15502 To make a table a formal table
15503 \change_inserted -712698321 1554290084
15504 , select the table style
15505 \begin_inset Quotes eld
15509 \change_deleted 630872221 1622707670
15511 \change_inserted 630872221 1622707670
15514 \change_inserted -712698321 1554290084
15516 \begin_inset Quotes erd
15519 in the Table Creation dialog or
15529 tab of the table dialog
15530 \change_inserted -712698321 1554290131
15531 (if you additionally check the option
15533 Use Default Formal Style
15535 , the border lines are adapted to a sensible default)
15540 \begin_layout Standard
15541 \begin_inset Float table
15548 \begin_layout Plain Layout
15549 \begin_inset Caption Standard
15551 \begin_layout Plain Layout
15552 \begin_inset CommandInset label
15554 name "tab:Example-booktabs-table"
15559 \change_deleted -712698321 1554292310
15561 \change_inserted -712698321 1554292311
15572 \begin_layout Plain Layout
15574 \begin_inset Tabular
15575 <lyxtabular version="3" rows="8" columns="4">
15576 <features booktabs="true" tabularvalignment="middle">
15577 <column alignment="center" valignment="top">
15578 <column alignment="center" valignment="top" width="0pt">
15579 <column alignment="center" valignment="top" width="0pt">
15580 <column alignment="center" valignment="top">
15582 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15585 \begin_layout Plain Layout
15591 <cell alignment="center" valignment="top" topline="true" usebox="none">
15594 \begin_layout Plain Layout
15596 \begin_inset space \thinspace{}
15604 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
15607 \begin_layout Plain Layout
15609 \begin_inset space \thinspace{}
15617 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15620 \begin_layout Plain Layout
15628 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15631 \begin_layout Plain Layout
15633 \change_deleted -712698321 1554290161
15637 \begin_layout Plain Layout
15650 \begin_layout Plain Layout
15661 Detector thickness in µm
15666 <cell alignment="center" valignment="top" usebox="none">
15669 \begin_layout Plain Layout
15675 <cell alignment="center" valignment="top" usebox="none">
15678 \begin_layout Plain Layout
15684 <cell alignment="center" valignment="top" usebox="none">
15687 \begin_layout Plain Layout
15695 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15698 \begin_layout Plain Layout
15704 <cell alignment="center" valignment="top" topline="true" toplinertrim="true" usebox="none">
15707 \begin_layout Plain Layout
15713 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
15716 \begin_layout Plain Layout
15722 <cell alignment="center" valignment="top" topline="true" usebox="none">
15725 \begin_layout Plain Layout
15732 <row topspace="default">
15733 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15736 \begin_layout Plain Layout
15737 Spatial resolution in µm
15742 <cell alignment="center" valignment="top" usebox="none">
15745 \begin_layout Plain Layout
15751 <cell alignment="center" valignment="top" usebox="none">
15754 \begin_layout Plain Layout
15760 <cell alignment="center" valignment="top" usebox="none">
15763 \begin_layout Plain Layout
15770 <row topspace="default">
15771 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15774 \begin_layout Plain Layout
15776 \begin_inset Formula $f_{\mathrm{max}}$
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
15802 <cell alignment="center" valignment="top" usebox="none">
15805 \begin_layout Plain Layout
15812 <row topspace="default">
15813 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15816 \begin_layout Plain Layout
15818 \change_deleted -712698321 1554290260
15822 \begin_layout Plain Layout
15826 cmidrule[2pt](l{10pt}){1-1}
15833 LSF-spatial resolution
15838 <cell alignment="center" valignment="top" usebox="none">
15841 \begin_layout Plain Layout
15847 <cell alignment="center" valignment="top" usebox="none">
15850 \begin_layout Plain Layout
15856 <cell alignment="center" valignment="top" usebox="none">
15859 \begin_layout Plain Layout
15867 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15870 \begin_layout Plain Layout
15876 <cell alignment="center" valignment="top" usebox="none">
15879 \begin_layout Plain Layout
15885 <cell alignment="center" valignment="top" usebox="none">
15888 \begin_layout Plain Layout
15894 <cell alignment="center" valignment="top" usebox="none">
15897 \begin_layout Plain Layout
15905 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15908 \begin_layout Plain Layout
15914 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15917 \begin_layout Plain Layout
15923 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15926 \begin_layout Plain Layout
15932 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15935 \begin_layout Plain Layout
15954 \begin_layout Standard
15955 Spaces to table rows can be added using the
15959 tab of the table dialog as described in section
15960 \begin_inset space ~
15964 \begin_inset CommandInset ref
15966 reference "subsec:Row-Spacing"
15973 \begin_layout Standard
15974 Unlike normal tables, formal tables have no vertical table lines.
15975 The horizontal table lines can be set as for normal tables but they appear
15976 with different widths in the output:
15977 \begin_inset Newline newline
15980 The first and the last table line have a default width of 0.08
15981 \begin_inset space \thinspace{}
15984 em while the other lines have a default width of 0.05
15985 \begin_inset space \thinspace{}
15991 \begin_layout Standard
15992 The default widths can be changed with the following preamble lines
15995 \begin_layout Standard
16005 \begin_inset Newline newline
16017 \begin_layout Standard
16018 This example is for the first line, the so called
16023 If you want to change the width for the last line, replace
16032 To change the width for the other lines replace
16041 You can use all units listed in appendix
16042 \begin_inset space ~
16046 \begin_inset CommandInset ref
16048 reference "cha:Units-available-in"
16055 \begin_layout Standard
16057 \change_deleted -712698321 1554290929
16058 Lines that do not span all table columns can be created by setting a table
16059 line for multicolumn cells.
16061 will then internally use the command
16067 to create this line.
16069 \change_inserted -712698321 1554291959
16071 \begin_inset space ~
16075 \begin_inset CommandInset ref
16077 reference "tab:Example-booktabs-table"
16081 , formal tables often use shortened lines to group columns.
16082 This can be done in the borders widget of the table dialog.
16083 With formal tables, the top and bottom borders have to small offset lines
16084 to the left and the right.
16085 Clicking on these will trim the line respectively.
16090 \begin_layout Standard
16092 \change_inserted -712698321 1554291403
16093 If you need to adjust the length of the trimming or the height of the rules,
16094 you have to resort to \SpecialChar TeX
16096 The respective command (which is also used for the trimmed mid rules) is
16102 \begin_layout Standard
16107 cmidrule[height](trim){startcol-endcol}
16110 \begin_layout Standard
16112 \change_deleted -712698321 1554292020
16119 are currently not supported by \SpecialChar LyX
16120 so you have to use \SpecialChar TeX
16129 s can manually be created by inserting the command as \SpecialChar TeX
16131 cell entry of the first cell of a row.
16132 The line is then drawn in the output above the current row.
16137 \begin_layout Standard
16138 The default for the optional
16143 \begin_inset space \thinspace{}
16151 is the number of the column where the line starts and
16155 the column number where the line ends.
16160 always needs to be specified, also when the line should span only one column.
16161 The optional parameter
16178 Using for example the parameter
16182 means that the line is trimmed from its left end by 2
16183 \begin_inset space \thinspace{}
16187 If you don't specify the
16191 the line is trimmed by the default of 0.5
16192 \begin_inset space \thinspace{}
16196 \change_inserted -712698321 1554291561
16197 (this is what is done if you use trimming from the dialog)
16200 \change_inserted -712698321 1554292039
16204 \begin_layout Standard
16206 \change_inserted -712698321 1554292207
16217 is currently not supported by \SpecialChar LyX
16218 , and neither are the
16223 If you need this you can manually insert a
16229 with the respective settings as \SpecialChar TeX
16230 Code as the first cell entry of the first
16232 The line is then drawn in the output above the current row.
16234 \begin_inset space ~
16238 \begin_inset CommandInset ref
16240 reference "tab:Special-booktabs-table"
16244 exemplifies this (in the sixth row).
16249 \begin_layout Standard
16251 \change_deleted -712698321 1554291078
16252 \begin_inset VSpace bigskip
16256 \begin_inset space ~
16260 \begin_inset CommandInset ref
16262 reference "tab:Example-booktabs-table"
16266 was created using the commands
16269 \begin_layout Standard
16271 \change_deleted -712698321 1554291077
16281 \begin_layout Standard
16283 \change_deleted -712698321 1554291077
16284 at the beginning of the second row and
16287 \begin_layout Standard
16289 \change_deleted -712698321 1554291077
16294 cmidrule[2pt](l{10pt}){1-1}
16297 \begin_layout Standard
16299 \change_deleted -712698321 1554291077
16305 \begin_layout Standard
16307 \change_deleted -712698321 1554292212
16308 \begin_inset VSpace bigskip
16316 \begin_layout Standard
16318 \change_inserted -712698321 1554291573
16321 might want to have overlapping
16328 \change_deleted -712698321 1554296804
16330 \change_inserted -712698321 1554296808
16331 exemplified as well
16334 \begin_inset space ~
16338 \begin_inset CommandInset ref
16340 reference "tab:Special-booktabs-table"
16345 \change_inserted -712698321 1554291601
16346 , even though this is considered bad style (so only use it if you really
16350 This can be achieved with the \SpecialChar TeX
16354 \begin_layout Standard
16362 \begin_layout Standard
16363 The command that was used for the second row of Table
16364 \begin_inset space ~
16368 \begin_inset CommandInset ref
16370 reference "tab:Special-booktabs-table"
16377 \begin_layout Standard
16379 \change_deleted -712698321 1554291798
16395 \begin_layout Standard
16396 The command for the sixth row is
16399 \begin_layout Standard
16401 \change_deleted -712698321 1554291810
16415 \begin_layout Standard
16416 \begin_inset VSpace bigskip
16422 \begin_layout Standard
16423 If you are in any way not satisfied with the border line spacing, you can
16424 use the following command to produce lines that span over all table columns
16429 \begin_layout Standard
16434 specialrule{width}{space above}{space below}
16437 \begin_layout Standard
16438 For more information about these features, refer to the manual of the \SpecialChar LaTeX
16445 \begin_inset CommandInset citation
16453 \begin_inset Index idx
16458 \begin_layout Plain Layout
16461 \begin_inset IndexMacro subentry
16464 \begin_layout Plain Layout
16478 \begin_layout Standard
16479 \begin_inset Float table
16486 \begin_layout Plain Layout
16487 \begin_inset Caption Standard
16489 \begin_layout Plain Layout
16490 \begin_inset CommandInset label
16492 name "tab:Special-booktabs-table"
16497 \change_inserted -712698321 1554292295
16499 \change_deleted -712698321 1554292304
16501 \change_inserted -712698321 1554292305
16503 \change_deleted -712698321 1554292300
16514 \begin_layout Plain Layout
16516 \begin_inset Tabular
16517 <lyxtabular version="3" rows="8" columns="4">
16518 <features booktabs="true" tabularvalignment="middle">
16519 <column alignment="center" valignment="top">
16520 <column alignment="center" valignment="top" width="0pt">
16521 <column alignment="center" valignment="top" width="0pt">
16522 <column alignment="center" valignment="top" width="0pt">
16524 <cell alignment="center" valignment="top" topline="true" usebox="none">
16527 \begin_layout Plain Layout
16533 <cell alignment="center" valignment="top" topline="true" bottomline="true" bottomlinertrim="true" usebox="none">
16536 \begin_layout Plain Layout
16538 \begin_inset space \thinspace{}
16546 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
16549 \begin_layout Plain Layout
16551 \begin_inset space \thinspace{}
16559 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16562 \begin_layout Plain Layout
16570 <cell alignment="center" valignment="top" usebox="none">
16573 \begin_layout Plain Layout
16575 \change_deleted -712698321 1554291732
16579 \begin_layout Plain Layout
16592 \begin_layout Plain Layout
16607 \begin_layout Plain Layout
16620 \begin_layout Plain Layout
16629 Detector thickness in µm
16634 <cell alignment="center" valignment="top" usebox="none">
16637 \begin_layout Plain Layout
16643 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
16646 \begin_layout Plain Layout
16652 <cell alignment="center" valignment="top" topline="true" usebox="none">
16655 \begin_layout Plain Layout
16663 <cell alignment="center" valignment="top" topline="true" usebox="none">
16666 \begin_layout Plain Layout
16672 <cell alignment="center" valignment="top" topline="true" usebox="none">
16675 \begin_layout Plain Layout
16681 <cell alignment="center" valignment="top" topline="true" usebox="none">
16684 \begin_layout Plain Layout
16690 <cell alignment="center" valignment="top" topline="true" usebox="none">
16693 \begin_layout Plain Layout
16700 <row topspace="default">
16701 <cell alignment="center" valignment="top" usebox="none">
16704 \begin_layout Plain Layout
16705 Spatial resolution in µm
16710 <cell alignment="center" valignment="top" usebox="none">
16713 \begin_layout Plain Layout
16719 <cell alignment="center" valignment="top" usebox="none">
16722 \begin_layout Plain Layout
16728 <cell alignment="center" valignment="top" usebox="none">
16731 \begin_layout Plain Layout
16738 <row topspace="default">
16739 <cell alignment="center" valignment="top" usebox="none">
16742 \begin_layout Plain Layout
16744 \begin_inset Formula $f_{\mathrm{max}}$
16752 <cell alignment="center" valignment="top" usebox="none">
16755 \begin_layout Plain Layout
16761 <cell alignment="center" valignment="top" usebox="none">
16764 \begin_layout Plain Layout
16770 <cell alignment="center" valignment="top" usebox="none">
16773 \begin_layout Plain Layout
16781 <cell alignment="center" valignment="top" topline="true" usebox="none">
16784 \begin_layout Plain Layout
16788 \begin_layout Plain Layout
16801 \begin_layout Plain Layout
16806 \change_inserted -712698321 1554291896
16814 LSF-spatial resolution
16819 <cell alignment="center" valignment="top" topline="true" usebox="none">
16822 \begin_layout Plain Layout
16828 <cell alignment="center" valignment="top" topline="true" usebox="none">
16831 \begin_layout Plain Layout
16837 <cell alignment="center" valignment="top" topline="true" usebox="none">
16840 \begin_layout Plain Layout
16848 <cell alignment="center" valignment="top" usebox="none">
16851 \begin_layout Plain Layout
16857 <cell alignment="center" valignment="top" usebox="none">
16860 \begin_layout Plain Layout
16866 <cell alignment="center" valignment="top" usebox="none">
16869 \begin_layout Plain Layout
16875 <cell alignment="center" valignment="top" usebox="none">
16878 \begin_layout Plain Layout
16886 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16889 \begin_layout Plain Layout
16895 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16898 \begin_layout Plain Layout
16904 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16907 \begin_layout Plain Layout
16913 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16916 \begin_layout Plain Layout
16935 \begin_layout Section
16936 Vertical Table Alignment
16937 \begin_inset Index idx
16942 \begin_layout Plain Layout
16944 \begin_inset IndexMacro subentry
16947 \begin_layout Plain Layout
16961 \begin_layout Standard
16962 To align tables vertically in a text line, the table must be inside a box.
16963 The box can then be vertically aligned as described in section
16964 \begin_inset space ~
16968 \begin_inset CommandInset ref
16970 reference "sec:Box-Dialog"
16977 \begin_layout Standard
16978 In the following example the tables are inside a minipage
16982 \begin_layout Plain Layout
16983 Minipages are described in section
16984 \begin_inset space ~
16988 \begin_inset CommandInset ref
16990 reference "sec:Minipages"
16999 box that has a width of 15
17000 \begin_inset space \thinspace{}
17006 \begin_layout Itemize
17008 \begin_inset Box Frameless
17018 height_special "totalheight"
17023 backgroundcolor "none"
17026 \begin_layout Plain Layout
17027 \begin_inset Tabular
17028 <lyxtabular version="3" rows="3" columns="3">
17029 <features tabularvalignment="middle">
17030 <column alignment="center" valignment="top">
17031 <column alignment="center" valignment="top">
17032 <column alignment="center" valignment="top">
17034 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17037 \begin_layout Plain Layout
17043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17046 \begin_layout Plain Layout
17052 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17055 \begin_layout Plain Layout
17063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17066 \begin_layout Plain Layout
17072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17075 \begin_layout Plain Layout
17081 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17084 \begin_layout Plain Layout
17092 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17095 \begin_layout Plain Layout
17101 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17104 \begin_layout Plain Layout
17110 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17113 \begin_layout Plain Layout
17133 \begin_layout Plain Layout
17145 \begin_inset Box Frameless
17155 height_special "totalheight"
17160 backgroundcolor "none"
17163 \begin_layout Plain Layout
17164 \begin_inset Tabular
17165 <lyxtabular version="3" rows="3" columns="3">
17166 <features tabularvalignment="middle">
17167 <column alignment="center" valignment="top">
17168 <column alignment="center" valignment="top">
17169 <column alignment="center" valignment="top">
17171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17174 \begin_layout Plain Layout
17180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17183 \begin_layout Plain Layout
17189 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17192 \begin_layout Plain Layout
17200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17203 \begin_layout Plain Layout
17209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17212 \begin_layout Plain Layout
17218 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17221 \begin_layout Plain Layout
17229 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17232 \begin_layout Plain Layout
17238 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17241 \begin_layout Plain Layout
17247 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17250 \begin_layout Plain Layout
17270 \begin_layout Plain Layout
17280 \begin_layout Itemize
17282 \begin_inset Box Frameless
17292 height_special "totalheight"
17297 backgroundcolor "none"
17300 \begin_layout Plain Layout
17301 \begin_inset Tabular
17302 <lyxtabular version="3" rows="3" columns="3">
17303 <features tabularvalignment="middle">
17304 <column alignment="center" valignment="top">
17305 <column alignment="center" valignment="top">
17306 <column alignment="center" valignment="top">
17308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17311 \begin_layout Plain Layout
17317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17320 \begin_layout Plain Layout
17326 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17329 \begin_layout Plain Layout
17337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17340 \begin_layout Plain Layout
17346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17349 \begin_layout Plain Layout
17355 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17358 \begin_layout Plain Layout
17366 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17369 \begin_layout Plain Layout
17375 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17378 \begin_layout Plain Layout
17384 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17387 \begin_layout Plain Layout
17406 \begin_layout Itemize
17408 \begin_inset Box Frameless
17418 height_special "totalheight"
17423 backgroundcolor "none"
17426 \begin_layout Plain Layout
17427 \begin_inset Tabular
17428 <lyxtabular version="3" rows="3" columns="3">
17429 <features tabularvalignment="middle">
17430 <column alignment="center" valignment="top">
17431 <column alignment="center" valignment="top">
17432 <column alignment="center" valignment="top">
17434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17437 \begin_layout Plain Layout
17443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17446 \begin_layout Plain Layout
17452 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17455 \begin_layout Plain Layout
17463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17466 \begin_layout Plain Layout
17472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17475 \begin_layout Plain Layout
17481 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17484 \begin_layout Plain Layout
17492 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17495 \begin_layout Plain Layout
17501 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17504 \begin_layout Plain Layout
17510 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17513 \begin_layout Plain Layout
17533 \begin_layout Plain Layout
17545 \begin_inset Box Frameless
17555 height_special "totalheight"
17560 backgroundcolor "none"
17563 \begin_layout Plain Layout
17564 \begin_inset Tabular
17565 <lyxtabular version="3" rows="3" columns="3">
17566 <features tabularvalignment="middle">
17567 <column alignment="center" valignment="top">
17568 <column alignment="center" valignment="top">
17569 <column alignment="center" valignment="top">
17571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17574 \begin_layout Plain Layout
17580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17583 \begin_layout Plain Layout
17589 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17592 \begin_layout Plain Layout
17600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17603 \begin_layout Plain Layout
17609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17612 \begin_layout Plain Layout
17618 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17621 \begin_layout Plain Layout
17629 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17632 \begin_layout Plain Layout
17638 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17641 \begin_layout Plain Layout
17647 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17650 \begin_layout Plain Layout
17670 \begin_layout Plain Layout
17680 \begin_layout Standard
17681 As you will see, the content of the first and last table row is not correctly
17683 To get this alignment, the minipage box must be set into a raisebox.
17687 \begin_layout Plain Layout
17688 Raiseboxes are described in section
17689 \begin_inset space ~
17693 \begin_inset CommandInset ref
17695 reference "subsec:Vertical-Alignment"
17704 In the example above the second table in the first item is aligned using
17705 the \SpecialChar TeX
17709 \begin_layout Standard
17719 \begin_layout Standard
17721 After the box the closing brace
17725 is inserted as \SpecialChar TeX
17727 For the second table in the last item the command
17730 \begin_layout Standard
17740 \begin_layout Standard
17744 \begin_layout Standard
17745 \begin_inset Note Greyedout
17748 \begin_layout Plain Layout
17753 The alignment of the table row content to the surrounding text line is
17755 The required value for the
17761 command for this alignment depends on the document font, the font size,
17762 and the table line thickness.
17770 \begin_layout Section
17772 \begin_inset CommandInset label
17774 name "sec:Colored-Tables"
17779 \begin_inset Index idx
17784 \begin_layout Plain Layout
17786 \begin_inset IndexMacro subentry
17789 \begin_layout Plain Layout
17803 \begin_layout Subsection
17805 \begin_inset Index idx
17810 \begin_layout Plain Layout
17812 \begin_inset IndexMacro subentry
17815 \begin_layout Plain Layout
17827 \begin_inset Index idx
17832 \begin_layout Plain Layout
17834 \begin_inset IndexMacro subentry
17837 \begin_layout Plain Layout
17851 \begin_layout Standard
17852 \begin_inset Float table
17859 \begin_layout Plain Layout
17860 \begin_inset Caption Standard
17862 \begin_layout Plain Layout
17863 \begin_inset CommandInset label
17865 name "tab:Table-colored-without"
17869 Table colored without using the package
17874 \begin_inset Argument 1
17877 \begin_layout Plain Layout
17878 Table without colortbl
17891 \begin_layout Plain Layout
17893 \begin_inset Tabular
17894 <lyxtabular version="3" rows="3" columns="3">
17895 <features tabularvalignment="middle">
17896 <column alignment="center" valignment="top">
17897 <column alignment="center" valignment="top">
17898 <column alignment="center" valignment="top">
17900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17903 \begin_layout Plain Layout
17911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17914 \begin_layout Plain Layout
17922 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17925 \begin_layout Plain Layout
17935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17938 \begin_layout Plain Layout
17946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17949 \begin_layout Plain Layout
17957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17960 \begin_layout Plain Layout
17970 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17973 \begin_layout Plain Layout
17981 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17984 \begin_layout Plain Layout
17992 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17995 \begin_layout Plain Layout
18016 \begin_layout Standard
18017 If you only need colored text, mark the cells and choose a color in the
18021 \begin_inset space ~
18026 dialog (toolbar button
18029 arg "dialog-show character"
18033 This was used to create Table
18034 \begin_inset space ~
18038 \begin_inset CommandInset ref
18040 reference "tab:Table-colored-without"
18045 In any other case you have to use the \SpecialChar LaTeX
18051 \begin_inset Index idx
18056 \begin_layout Plain Layout
18059 \begin_inset IndexMacro subentry
18062 \begin_layout Plain Layout
18076 \begin_layout Standard
18080 \begin_layout Plain Layout
18090 \begin_inset Note Note
18093 \begin_layout Plain Layout
18094 The following section part will only be displayed when the \SpecialChar LaTeX
18107 \begin_layout Standard
18108 To create colored tables,
18112 must be loaded in the preamble with the line
18115 \begin_layout Standard
18120 usepackage{colortbl}
18123 \begin_layout Standard
18124 The color of a column is adjusted with the command
18127 \begin_layout Standard
18132 columncolor{name of color}
18135 \begin_layout Standard
18141 More about the command
18145 is contained in section
18146 \begin_inset space ~
18150 \begin_inset CommandInset ref
18152 reference "subsec:Multicolumn-Calculations"
18159 \begin_layout Standard
18160 The following color names are predefined:
18163 \begin_layout Standard
18197 \begin_layout Standard
18198 \begin_inset VSpace medskip
18204 \begin_layout Standard
18205 If you add the option
18208 \begin_layout Standard
18214 \begin_layout Standard
18215 to the document class options in the document settings, you can additionally
18217 \begin_inset space ~
18221 These colors are listed in appendix
18222 \begin_inset space ~
18226 \begin_inset CommandInset ref
18228 reference "chap:List-of-dvips-colornames"
18233 One of these colors,
18237 , is used as example in Table
18238 \begin_inset space ~
18242 \begin_inset CommandInset ref
18244 reference "tab:Table-colored-using"
18251 \begin_layout Standard
18252 \begin_inset VSpace medskip
18258 \begin_layout Standard
18259 You can also define your own color with the command
18262 \begin_layout Standard
18267 definecolor{color name}{color model}{color values}
18270 \begin_layout Standard
18271 The color model can be
18274 \begin_layout Labeling
18275 \labelwidthstring 00.00.0000
18276 cmyk: cyan, magenta, yellow, black
18279 \begin_layout Labeling
18280 \labelwidthstring 00.00.0000
18281 rgb: red, green blue
18284 \begin_layout Labeling
18285 \labelwidthstring 00.00.0000
18289 \begin_layout Standard
18290 and the color values are comma separated numbers between 0 and 1 describing
18291 the factor for the corresponding color of the color model.
18294 \begin_layout Standard
18296 \begin_inset space \thinspace{}
18300 \begin_inset space \space{}
18307 " in the preamble with
18310 \begin_layout Standard
18315 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
18318 \begin_layout Standard
18326 \begin_layout Standard
18331 definecolor{lightgray}{gray}{0.8}
18334 \begin_layout Standard
18335 \begin_inset VSpace medskip
18341 \begin_layout Standard
18342 Lines are colored with the command
18345 \begin_layout Standard
18350 rowcolor{name of color}
18353 \begin_layout Standard
18354 and cells are colored with the command
18357 \begin_layout Standard
18362 cellcolor{name of color}
18365 \begin_layout Standard
18366 Both commands are inserted at the beginning of a cell as \SpecialChar TeX
18370 \begin_layout Standard
18371 To color characters in the table, mark the cells and use the
18374 \begin_inset space ~
18380 If a cell contains \SpecialChar TeX
18381 Code mark only the characters, otherwise the colored
18383 Code will cause \SpecialChar LaTeX
18387 \begin_layout Standard
18388 \begin_inset Note Greyedout
18391 \begin_layout Plain Layout
18396 Not all DVI-viewers are able to display self-defined colors.
18404 \begin_layout Standard
18405 \begin_inset VSpace bigskip
18411 \begin_layout Standard
18413 \begin_inset space ~
18417 \begin_inset CommandInset ref
18419 reference "tab:Table-colored-using"
18423 do the following: The color of the first column should be
18431 \begin_layout Standard
18436 columncolor{darkgreen}
18441 \begin_layout Standard
18442 as \SpecialChar LaTeX
18443 -argument for this column.
18444 The first row should be light blue, therefore the \SpecialChar TeX
18448 \begin_layout Standard
18456 \begin_layout Standard
18457 is inserted to the first cell of this row.
18458 Note that this overwrites the column color for the first cell.
18459 The last cell of the last row is colored maroon by inserting the \SpecialChar TeX
18464 \begin_layout Standard
18472 \begin_layout Standard
18473 The characters could now be colored using the menu
18475 Edit\SpecialChar menuseparator
18477 \begin_inset space ~
18485 \begin_layout Standard
18486 \begin_inset Float table
18493 \begin_layout Plain Layout
18494 \begin_inset Caption Standard
18496 \begin_layout Plain Layout
18497 \begin_inset CommandInset label
18499 name "tab:Table-colored-using"
18503 Table colored using the package
18508 \begin_inset Argument 1
18511 \begin_layout Plain Layout
18512 Table with colortbl
18525 \begin_layout Plain Layout
18527 \begin_inset Tabular
18528 <lyxtabular version="3" rows="3" columns="3">
18529 <features tabularvalignment="middle">
18530 <column alignment="center" valignment="top" special=">{\columncolor{darkgreen}\centering}c">
18531 <column alignment="center" valignment="top">
18532 <column alignment="center" valignment="top">
18534 <cell alignment="center" valignment="top" usebox="none">
18537 \begin_layout Plain Layout
18541 \begin_layout Plain Layout
18557 <cell alignment="center" valignment="top" usebox="none">
18560 \begin_layout Plain Layout
18568 <cell alignment="center" valignment="top" usebox="none">
18571 \begin_layout Plain Layout
18581 <cell alignment="center" valignment="top" usebox="none">
18584 \begin_layout Plain Layout
18592 <cell alignment="center" valignment="top" usebox="none">
18595 \begin_layout Plain Layout
18603 <cell alignment="center" valignment="top" usebox="none">
18606 \begin_layout Plain Layout
18616 <cell alignment="center" valignment="top" usebox="none">
18619 \begin_layout Plain Layout
18627 <cell alignment="center" valignment="top" usebox="none">
18630 \begin_layout Plain Layout
18638 <cell alignment="center" valignment="top" usebox="none">
18641 \begin_layout Plain Layout
18645 \begin_layout Plain Layout
18674 \begin_layout Standard
18678 \begin_layout Plain Layout
18688 \begin_inset Note Note
18691 \begin_layout Plain Layout
18692 The following will be displayed when the \SpecialChar LaTeX
18705 \begin_layout Standard
18706 You need to install the package
18710 to see the content of this section in the output.
18713 \begin_layout Standard
18717 \begin_layout Plain Layout
18729 \begin_layout Subsection
18731 \begin_inset Index idx
18736 \begin_layout Plain Layout
18738 \begin_inset IndexMacro subentry
18741 \begin_layout Plain Layout
18753 \begin_inset Index idx
18758 \begin_layout Plain Layout
18760 \begin_inset IndexMacro subentry
18763 \begin_layout Plain Layout
18777 \begin_layout Standard
18778 In case every second table row needs to be colored there is an alternative
18779 to the method described in the previous section: One loads the package
18785 \begin_inset Index idx
18790 \begin_layout Plain Layout
18793 \begin_inset IndexMacro subentry
18796 \begin_layout Plain Layout
18807 in the document preamble with the command
18810 \begin_layout Standard
18815 usepackage[table]{xcolor}
18818 \begin_layout Standard
18823 automatically loads also the package
18828 \begin_inset Index idx
18833 \begin_layout Plain Layout
18836 \begin_inset IndexMacro subentry
18839 \begin_layout Plain Layout
18854 must be installed in your \SpecialChar LaTeX
18855 -distribution, otherwise you get \SpecialChar LaTeX
18859 \begin_layout Standard
18863 \begin_layout Plain Layout
18873 \begin_inset Note Note
18876 \begin_layout Plain Layout
18877 The following section part will only be displayed when the \SpecialChar LaTeX
18890 \begin_layout Standard
18891 The table rows are colored with the command
18894 \begin_layout Standard
18899 rowcolors[commands]{row number}{odd row color}{even row color}
18902 \begin_layout Standard
18903 that is either inserted in the document preamble or as \SpecialChar TeX
18905 first table to be colored.
18907 \begin_inset space ~
18910 number is the number of the first row which should be colored according
18911 to the odd row color.
18912 commands can be additional commands that are executed before every table
18914 So for example the command
18917 \begin_layout Standard
18922 rowcolors{1}{white}{lightgray}
18925 \begin_layout Standard
18926 leads to the coloring scheme of Table
18927 \begin_inset space ~
18931 \begin_inset CommandInset ref
18933 reference "tab:Table-rowcolors"
18941 \begin_layout Standard
18948 hline]{1}{lightgray}{cyan}
18951 \begin_layout Standard
18952 leads to the coloring scheme of Table
18953 \begin_inset space ~
18957 \begin_inset CommandInset ref
18959 reference "tab:Table-rowcolors-2"
18965 \begin_inset space ~
18969 \begin_inset space ~
18973 \begin_inset space ~
18977 \begin_inset space ~
18980 color are left empty, no color will be used so that the command
18983 \begin_layout Standard
18991 \begin_layout Standard
18992 deletes all colors.
18999 affects all tables following that command.
19002 \begin_layout Standard
19006 \begin_layout Plain Layout
19010 rowcolors{1}{white}{lightgray}
19018 \begin_layout Standard
19019 \begin_inset Float table
19026 \begin_layout Plain Layout
19027 \begin_inset Caption Standard
19029 \begin_layout Plain Layout
19030 \begin_inset CommandInset label
19032 name "tab:Table-rowcolors"
19036 Table where every second row is colored light gray.
19044 \begin_layout Plain Layout
19046 \begin_inset Tabular
19047 <lyxtabular version="3" rows="4" columns="3">
19048 <features tabularvalignment="middle">
19049 <column alignment="center" valignment="top">
19050 <column alignment="center" valignment="top" width="0pt">
19051 <column alignment="center" valignment="top" width="0pt">
19053 <cell alignment="center" valignment="top" usebox="none">
19056 \begin_layout Plain Layout
19062 <cell alignment="center" valignment="top" usebox="none">
19065 \begin_layout Plain Layout
19071 <cell alignment="center" valignment="top" usebox="none">
19074 \begin_layout Plain Layout
19082 <cell alignment="center" valignment="top" usebox="none">
19085 \begin_layout Plain Layout
19091 <cell alignment="center" valignment="top" usebox="none">
19094 \begin_layout Plain Layout
19100 <cell alignment="center" valignment="top" usebox="none">
19103 \begin_layout Plain Layout
19111 <cell alignment="center" valignment="top" usebox="none">
19114 \begin_layout Plain Layout
19120 <cell alignment="center" valignment="top" usebox="none">
19123 \begin_layout Plain Layout
19129 <cell alignment="center" valignment="top" usebox="none">
19132 \begin_layout Plain Layout
19140 <cell alignment="center" valignment="top" usebox="none">
19143 \begin_layout Plain Layout
19149 <cell alignment="center" valignment="top" usebox="none">
19152 \begin_layout Plain Layout
19158 <cell alignment="center" valignment="top" usebox="none">
19161 \begin_layout Plain Layout
19180 \begin_layout Standard
19184 \begin_layout Plain Layout
19190 hline]{1}{lightgray}{cyan}
19198 \begin_layout Standard
19199 \begin_inset Float table
19206 \begin_layout Plain Layout
19207 \begin_inset Caption Standard
19209 \begin_layout Plain Layout
19210 \begin_inset CommandInset label
19212 name "tab:Table-rowcolors-2"
19216 Table where every second row is colored cyan and at which there is a line
19225 \begin_layout Plain Layout
19227 \begin_inset Tabular
19228 <lyxtabular version="3" rows="4" columns="3">
19229 <features tabularvalignment="middle">
19230 <column alignment="center" valignment="top">
19231 <column alignment="center" valignment="top">
19232 <column alignment="center" valignment="top" width="0pt">
19234 <cell alignment="center" valignment="top" usebox="none">
19237 \begin_layout Plain Layout
19243 <cell alignment="center" valignment="top" usebox="none">
19246 \begin_layout Plain Layout
19252 <cell alignment="center" valignment="top" usebox="none">
19255 \begin_layout Plain Layout
19263 <cell alignment="center" valignment="top" usebox="none">
19266 \begin_layout Plain Layout
19272 <cell alignment="center" valignment="top" usebox="none">
19275 \begin_layout Plain Layout
19281 <cell alignment="center" valignment="top" usebox="none">
19284 \begin_layout Plain Layout
19292 <cell alignment="center" valignment="top" usebox="none">
19295 \begin_layout Plain Layout
19301 <cell alignment="center" valignment="top" usebox="none">
19304 \begin_layout Plain Layout
19310 <cell alignment="center" valignment="top" usebox="none">
19313 \begin_layout Plain Layout
19321 <cell alignment="center" valignment="top" usebox="none">
19324 \begin_layout Plain Layout
19330 <cell alignment="center" valignment="top" usebox="none">
19333 \begin_layout Plain Layout
19339 <cell alignment="center" valignment="top" usebox="none">
19342 \begin_layout Plain Layout
19361 \begin_layout Standard
19365 \begin_layout Plain Layout
19375 \begin_inset Note Note
19378 \begin_layout Plain Layout
19379 turns off the row coloring
19387 \begin_layout Standard
19391 \begin_layout Plain Layout
19401 \begin_inset Note Note
19404 \begin_layout Plain Layout
19405 The following will be displayed when the \SpecialChar LaTeX
19418 \begin_layout Standard
19419 You need to install the package
19423 to see the content of this section in the output.
19426 \begin_layout Standard
19430 \begin_layout Plain Layout
19442 \begin_layout Subsection
19444 \begin_inset Index idx
19449 \begin_layout Plain Layout
19451 \begin_inset IndexMacro subentry
19454 \begin_layout Plain Layout
19466 \begin_inset Index idx
19471 \begin_layout Plain Layout
19473 \begin_inset IndexMacro subentry
19476 \begin_layout Plain Layout
19490 \begin_layout Standard
19491 As described in section
19492 \begin_inset space ~
19496 \begin_inset CommandInset ref
19498 reference "subsec:Line-Thickness"
19502 , the line thickness for all lines in a table can be adjusted with the length
19511 \begin_inset space \thinspace{}
19514 pt for all tables of this section.
19518 \begin_layout Plain Layout
19524 arrayrulewidth}{1.5pt}
19532 \begin_layout Standard
19533 To color vertical lines for example with green, create the following column
19534 format in the document preamble, according to the description in section
19535 \begin_inset space ~
19539 \begin_inset CommandInset ref
19541 reference "subsec:Customized-Format"
19548 \begin_layout Standard
19553 newcolumntype{W}{!{
19560 \begin_layout Standard
19562 \begin_inset space ~
19566 \begin_inset CommandInset ref
19568 reference "tab:Table-with-vertical-colored"
19572 the \SpecialChar LaTeX
19577 was used for the last column and
19581 for the other columns.
19584 \begin_layout Standard
19585 If you want to have several colors, define more column formats.
19588 \begin_layout Standard
19589 \begin_inset Float table
19596 \begin_layout Plain Layout
19597 \begin_inset Caption Standard
19599 \begin_layout Plain Layout
19600 \begin_inset CommandInset label
19602 name "tab:Table-with-vertical-colored"
19606 Table with colored vertical lines
19614 \begin_layout Plain Layout
19616 \begin_inset Tabular
19617 <lyxtabular version="3" rows="3" columns="3">
19618 <features tabularvalignment="middle">
19619 <column alignment="center" valignment="top" special="Wc">
19620 <column alignment="center" valignment="top" special="Wc">
19621 <column alignment="center" valignment="top" special="WcW">
19623 <cell alignment="center" valignment="top" topline="true" usebox="none">
19626 \begin_layout Plain Layout
19632 <cell alignment="center" valignment="top" topline="true" usebox="none">
19635 \begin_layout Plain Layout
19641 <cell alignment="center" valignment="top" topline="true" usebox="none">
19644 \begin_layout Plain Layout
19652 <cell alignment="center" valignment="top" topline="true" usebox="none">
19655 \begin_layout Plain Layout
19661 <cell alignment="center" valignment="top" topline="true" usebox="none">
19664 \begin_layout Plain Layout
19670 <cell alignment="center" valignment="top" topline="true" usebox="none">
19673 \begin_layout Plain Layout
19681 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19684 \begin_layout Plain Layout
19690 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19693 \begin_layout Plain Layout
19699 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19702 \begin_layout Plain Layout
19721 \begin_layout Standard
19722 \begin_inset VSpace bigskip
19725 To color all horizontal lines for example with red, as in Table
19726 \begin_inset space ~
19730 \begin_inset CommandInset ref
19732 reference "tab:Table-with-horizontal-colored"
19736 , insert these commands in \SpecialChar TeX
19737 code before the table or table float:
19740 \begin_layout Standard
19750 \begin_inset Newline newline
19758 \begin_inset Newline newline
19762 \begin_inset Phantom HPhantom
19765 \begin_layout Plain Layout
19768 \begin_inset space ~
19778 arrayrulecolor{red}
19782 arrayrulecolor{black}}
19785 \begin_layout Standard
19789 \begin_layout Plain Layout
19800 \begin_layout Plain Layout
19809 \begin_layout Plain Layout
19813 arrayrulecolor{red}
19817 arrayrulecolor{black}}
19823 \begin_inset Float table
19830 \begin_layout Plain Layout
19831 \begin_inset Caption Standard
19833 \begin_layout Plain Layout
19834 \begin_inset CommandInset label
19836 name "tab:Table-with-horizontal-colored"
19840 Table with colored horizontal lines
19848 \begin_layout Plain Layout
19850 \begin_inset Tabular
19851 <lyxtabular version="3" rows="3" columns="3">
19852 <features tabularvalignment="middle">
19853 <column alignment="center" valignment="top">
19854 <column alignment="center" valignment="top">
19855 <column alignment="center" valignment="top">
19857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19860 \begin_layout Plain Layout
19866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19869 \begin_layout Plain Layout
19875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19878 \begin_layout Plain Layout
19886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19889 \begin_layout Plain Layout
19895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19898 \begin_layout Plain Layout
19904 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19907 \begin_layout Plain Layout
19915 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19918 \begin_layout Plain Layout
19924 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19927 \begin_layout Plain Layout
19933 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19936 \begin_layout Plain Layout
19955 \begin_layout Standard
19956 To return to the default line color black, insert this command in \SpecialChar TeX
19958 after the table or table float:
19961 \begin_layout Standard
19973 \begin_layout Standard
19975 \begin_inset space ~
19979 \begin_inset CommandInset ref
19981 reference "tab:Table-with-colored"
19985 is an example with colored vertical and horizontal lines.
19988 \begin_layout Standard
19989 \begin_inset Float table
19996 \begin_layout Plain Layout
19997 \begin_inset Caption Standard
19999 \begin_layout Plain Layout
20000 \begin_inset CommandInset label
20002 name "tab:Table-with-colored"
20006 Table with colored lines
20014 \begin_layout Plain Layout
20016 \begin_inset Tabular
20017 <lyxtabular version="3" rows="3" columns="3">
20018 <features tabularvalignment="middle">
20019 <column alignment="center" valignment="top" special="Wc">
20020 <column alignment="center" valignment="top" special="Wc">
20021 <column alignment="center" valignment="top" special="WcW">
20023 <cell alignment="center" valignment="top" topline="true" usebox="none">
20026 \begin_layout Plain Layout
20032 <cell alignment="center" valignment="top" topline="true" usebox="none">
20035 \begin_layout Plain Layout
20041 <cell alignment="center" valignment="top" topline="true" usebox="none">
20044 \begin_layout Plain Layout
20052 <cell alignment="center" valignment="top" topline="true" usebox="none">
20055 \begin_layout Plain Layout
20061 <cell alignment="center" valignment="top" topline="true" usebox="none">
20064 \begin_layout Plain Layout
20070 <cell alignment="center" valignment="top" topline="true" usebox="none">
20073 \begin_layout Plain Layout
20080 <row topspace="default">
20081 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20084 \begin_layout Plain Layout
20090 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20093 \begin_layout Plain Layout
20099 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20102 \begin_layout Plain Layout
20121 \begin_layout Standard
20125 \begin_layout Plain Layout
20141 \begin_layout Standard
20145 \begin_layout Plain Layout
20151 arrayrulewidth}{1.2pt}
20159 \begin_layout Standard
20160 To color only some of the table lines another strategy is necessary.
20161 To color all following horizontal lines, insert this command as \SpecialChar TeX
20163 last thing in the row that should be above the first colored line:
20166 \begin_layout Standard
20175 arrayrulecolor{blue}%
20178 \begin_layout Standard
20179 To go back to black lines, add this command as first thing in the row that
20180 is above the black lines:
20183 \begin_layout Standard
20188 arrayrulecolor{black}
20191 \begin_layout Standard
20192 With this one can color table lines like in Table
20193 \begin_inset space ~
20197 \begin_inset CommandInset ref
20199 reference "tab:Table-with-different-hor"
20204 However, with this method it is not possible to color the line above the
20205 first row of a table.
20208 \begin_layout Standard
20209 \begin_inset Float table
20216 \begin_layout Plain Layout
20217 \begin_inset Caption Standard
20219 \begin_layout Plain Layout
20220 \begin_inset CommandInset label
20222 name "tab:Table-with-different-hor"
20226 Table with different horizontal line colors.
20234 \begin_layout Plain Layout
20236 \begin_inset Tabular
20237 <lyxtabular version="3" rows="6" columns="7">
20238 <features tabularvalignment="middle">
20239 <column alignment="center" valignment="top">
20240 <column alignment="center" valignment="top">
20241 <column alignment="center" valignment="top">
20242 <column alignment="center" valignment="top">
20243 <column alignment="center" valignment="top">
20244 <column alignment="center" valignment="top">
20245 <column alignment="center" valignment="top">
20247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20250 \begin_layout Plain Layout
20256 <cell alignment="center" valignment="top" topline="true" usebox="none">
20259 \begin_layout Plain Layout
20265 <cell alignment="center" valignment="top" topline="true" usebox="none">
20268 \begin_layout Plain Layout
20274 <cell alignment="center" valignment="top" topline="true" usebox="none">
20277 \begin_layout Plain Layout
20283 <cell alignment="center" valignment="top" topline="true" usebox="none">
20286 \begin_layout Plain Layout
20292 <cell alignment="center" valignment="top" topline="true" usebox="none">
20295 \begin_layout Plain Layout
20301 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
20304 \begin_layout Plain Layout
20308 \begin_layout Plain Layout
20316 arrayrulecolor{blue}%
20328 <cell alignment="center" valignment="top" usebox="none">
20331 \begin_layout Plain Layout
20337 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20340 \begin_layout Plain Layout
20346 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20349 \begin_layout Plain Layout
20355 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20358 \begin_layout Plain Layout
20364 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20367 \begin_layout Plain Layout
20373 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
20376 \begin_layout Plain Layout
20382 <cell alignment="center" valignment="top" usebox="none">
20385 \begin_layout Plain Layout
20393 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20396 \begin_layout Plain Layout
20400 \begin_layout Plain Layout
20404 arrayrulecolor{black}
20414 <cell alignment="center" valignment="top" usebox="none">
20417 \begin_layout Plain Layout
20423 <cell alignment="center" valignment="top" usebox="none">
20426 \begin_layout Plain Layout
20432 <cell alignment="center" valignment="top" usebox="none">
20435 \begin_layout Plain Layout
20441 <cell alignment="center" valignment="top" usebox="none">
20444 \begin_layout Plain Layout
20450 <cell alignment="center" valignment="top" usebox="none">
20453 \begin_layout Plain Layout
20459 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20462 \begin_layout Plain Layout
20470 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20473 \begin_layout Plain Layout
20479 <cell alignment="center" valignment="top" usebox="none">
20482 \begin_layout Plain Layout
20488 <cell alignment="center" valignment="top" usebox="none">
20491 \begin_layout Plain Layout
20497 <cell alignment="center" valignment="top" usebox="none">
20500 \begin_layout Plain Layout
20506 <cell alignment="center" valignment="top" usebox="none">
20509 \begin_layout Plain Layout
20515 <cell alignment="center" valignment="top" usebox="none">
20518 \begin_layout Plain Layout
20524 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20527 \begin_layout Plain Layout
20531 \begin_layout Plain Layout
20539 arrayrulecolor{green}%
20551 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20554 \begin_layout Plain Layout
20560 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20563 \begin_layout Plain Layout
20569 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20572 \begin_layout Plain Layout
20578 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20581 \begin_layout Plain Layout
20587 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20590 \begin_layout Plain Layout
20596 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20599 \begin_layout Plain Layout
20605 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
20608 \begin_layout Plain Layout
20616 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20619 \begin_layout Plain Layout
20623 \begin_layout Plain Layout
20627 arrayrulecolor{black}
20637 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20640 \begin_layout Plain Layout
20646 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20649 \begin_layout Plain Layout
20655 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20658 \begin_layout Plain Layout
20664 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20667 \begin_layout Plain Layout
20673 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20676 \begin_layout Plain Layout
20682 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20685 \begin_layout Plain Layout
20689 \begin_layout Plain Layout
20697 arrayrulecolor{blue}%
20720 \begin_layout Standard
20721 To change the color of vertical lines within a row, like in Table
20722 \begin_inset space ~
20726 \begin_inset CommandInset ref
20728 reference "tab:Table-with-different-ver"
20732 , one needs to use multicolumns.
20733 At first one needs to remove all vertical lines that don't run along the
20735 Now one colors all lines using the command
20738 \begin_layout Standard
20747 arrayrulecolor{blue}%
20750 \begin_layout Standard
20752 Finally one inserts this command as \SpecialChar TeX
20753 code to every cell in the row where
20754 one needs a vertical line in a different color:
20757 \begin_layout Standard
20773 \begin_layout Standard
20774 This adds a vertical line to both sides of the cell.
20775 The left one will be green, the right one red.
20776 If no color change is necessary one can omit the
20782 command in the above command.
20783 To get for example a black left line and a blue right line you can write:
20786 \begin_layout Standard
20798 \begin_layout Standard
20799 because the color blue was already set for all lines.
20804 creates hereby the vertical line while
20817 To set vertical lines without changing any color use
20820 \begin_layout Standard
20825 multicolumn{1}{|c|}{
20828 \begin_layout Standard
20829 After this command insert the cell content the normal way and end the cell
20830 with a closing brace
20834 in \SpecialChar TeX
20838 \begin_layout Standard
20839 \begin_inset Float table
20846 \begin_layout Plain Layout
20847 \begin_inset Caption Standard
20849 \begin_layout Plain Layout
20850 \begin_inset CommandInset label
20852 name "tab:Table-with-different-ver"
20856 Table with different vertical line colors in one row.
20864 \begin_layout Plain Layout
20866 \begin_inset Tabular
20867 <lyxtabular version="3" rows="5" columns="7">
20868 <features tabularvalignment="middle">
20869 <column alignment="center" valignment="top">
20870 <column alignment="center" valignment="top">
20871 <column alignment="center" valignment="top">
20872 <column alignment="center" valignment="top">
20873 <column alignment="center" valignment="top">
20874 <column alignment="center" valignment="top">
20875 <column alignment="center" valignment="top">
20877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20880 \begin_layout Plain Layout
20886 <cell alignment="center" valignment="top" topline="true" usebox="none">
20889 \begin_layout Plain Layout
20895 <cell alignment="center" valignment="top" topline="true" usebox="none">
20898 \begin_layout Plain Layout
20904 <cell alignment="center" valignment="top" topline="true" usebox="none">
20907 \begin_layout Plain Layout
20913 <cell alignment="center" valignment="top" topline="true" usebox="none">
20916 \begin_layout Plain Layout
20922 <cell alignment="center" valignment="top" topline="true" usebox="none">
20925 \begin_layout Plain Layout
20931 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
20934 \begin_layout Plain Layout
20938 \begin_layout Plain Layout
20946 arrayrulecolor{red}%
20958 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20961 \begin_layout Plain Layout
20965 \begin_layout Plain Layout
20982 \begin_layout Plain Layout
20994 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20997 \begin_layout Plain Layout
21003 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21006 \begin_layout Plain Layout
21012 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21015 \begin_layout Plain Layout
21021 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21024 \begin_layout Plain Layout
21030 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21033 \begin_layout Plain Layout
21037 \begin_layout Plain Layout
21041 multicolumn{1}{c|}{
21050 \begin_layout Plain Layout
21062 <cell alignment="center" valignment="top" rightline="true" usebox="none">
21065 \begin_layout Plain Layout
21069 \begin_layout Plain Layout
21086 \begin_layout Plain Layout
21100 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21103 \begin_layout Plain Layout
21107 \begin_layout Plain Layout
21111 arrayrulecolor{black}
21121 <cell alignment="center" valignment="top" usebox="none">
21124 \begin_layout Plain Layout
21130 <cell alignment="center" valignment="top" usebox="none">
21133 \begin_layout Plain Layout
21139 <cell alignment="center" valignment="top" usebox="none">
21142 \begin_layout Plain Layout
21148 <cell alignment="center" valignment="top" usebox="none">
21151 \begin_layout Plain Layout
21157 <cell alignment="center" valignment="top" usebox="none">
21160 \begin_layout Plain Layout
21166 <cell alignment="center" valignment="top" rightline="true" usebox="none">
21169 \begin_layout Plain Layout
21173 \begin_layout Plain Layout
21181 arrayrulecolor{magenta}%
21193 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21196 \begin_layout Plain Layout
21200 \begin_layout Plain Layout
21204 multicolumn{1}{|c!{
21217 \begin_layout Plain Layout
21229 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21232 \begin_layout Plain Layout
21236 \begin_layout Plain Layout
21253 \begin_layout Plain Layout
21265 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21268 \begin_layout Plain Layout
21272 \begin_layout Plain Layout
21289 \begin_layout Plain Layout
21301 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21304 \begin_layout Plain Layout
21308 \begin_layout Plain Layout
21325 \begin_layout Plain Layout
21337 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21340 \begin_layout Plain Layout
21344 \begin_layout Plain Layout
21361 \begin_layout Plain Layout
21373 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21376 \begin_layout Plain Layout
21380 \begin_layout Plain Layout
21397 \begin_layout Plain Layout
21409 <cell alignment="center" valignment="top" rightline="true" usebox="none">
21412 \begin_layout Plain Layout
21416 \begin_layout Plain Layout
21420 multicolumn{1}{c|}{
21429 \begin_layout Plain Layout
21443 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21446 \begin_layout Plain Layout
21450 \begin_layout Plain Layout
21454 arrayrulecolor{black}
21464 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21467 \begin_layout Plain Layout
21473 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21476 \begin_layout Plain Layout
21482 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21485 \begin_layout Plain Layout
21491 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21494 \begin_layout Plain Layout
21500 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21503 \begin_layout Plain Layout
21509 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
21512 \begin_layout Plain Layout
21531 \begin_layout Standard
21535 \begin_layout Plain Layout
21541 arrayrulewidth}{0.4pt}
21549 \begin_layout Section
21550 Rotated Table Cells
21551 \begin_inset CommandInset label
21553 name "sec:Rotated-Table-Cells"
21558 \begin_inset Index idx
21563 \begin_layout Plain Layout
21565 \begin_inset IndexMacro subentry
21568 \begin_layout Plain Layout
21580 \begin_inset Index idx
21585 \begin_layout Plain Layout
21594 \begin_layout Standard
21595 \begin_inset Note Greyedout
21598 \begin_layout Plain Layout
21603 Not all DVI-viewers are able to display rotations.
21611 \begin_layout Standard
21613 \begin_inset space ~
21617 \begin_inset CommandInset ref
21619 reference "tab:Table-with-rotated"
21626 is an example where 3
21627 \begin_inset space ~
21630 cells were rotated by 45
21631 \begin_inset space \thinspace{}
21637 \begin_layout Standard
21638 \begin_inset Float table
21645 \begin_layout Plain Layout
21646 \begin_inset Caption Standard
21648 \begin_layout Plain Layout
21649 \begin_inset CommandInset label
21651 name "tab:Table-with-rotated"
21655 Table with rotated cells in the first row.
21663 \begin_layout Plain Layout
21666 \begin_inset Tabular
21667 <lyxtabular version="3" rows="2" columns="3">
21668 <features tabularvalignment="middle">
21669 <column alignment="center" valignment="top" width="0pt">
21670 <column alignment="center" valignment="top" width="0pt">
21671 <column alignment="center" valignment="top" width="0pt">
21673 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21676 \begin_layout Plain Layout
21682 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21685 \begin_layout Plain Layout
21691 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21694 \begin_layout Plain Layout
21702 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21705 \begin_layout Plain Layout
21711 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21714 \begin_layout Plain Layout
21720 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21723 \begin_layout Plain Layout
21742 \begin_layout Standard
21743 \begin_inset Note Greyedout
21746 \begin_layout Plain Layout
21751 Line breaks (shortcut
21754 arg "newline-insert newline"
21757 ) are not allowed in rotated cells.
21765 \begin_layout Standard
21766 If you want to rotate table cells containing line breaks, you have to put
21767 the cell content into a minipage or a parbox.
21771 \begin_layout Plain Layout
21772 For more about these boxes see sec.
21773 \begin_inset space \thinspace{}
21777 \begin_inset CommandInset ref
21779 reference "sec:Minipages"
21784 \begin_inset CommandInset ref
21786 reference "sec:Parboxes"
21795 If you rotate this cell by 90
21796 \begin_inset space \thinspace{}
21799 ° the width of the box is the height of the cell.
21800 To avoid to estimate a suitable box width one can use a minipage with a
21802 Such a box is inserted by loading the module
21805 \begin_inset space ~
21810 in the document settings.
21811 Then one can use the menu
21813 Insert\SpecialChar menuseparator
21815 \begin_inset space ~
21818 Insets\SpecialChar menuseparator
21820 \begin_inset space ~
21826 \begin_inset space ~
21831 \begin_inset space ~
21835 \begin_inset CommandInset ref
21837 reference "tab:Table-with-rotated-multi"
21841 is an example for a rotated multiline cell where a variable width minipage
21845 \begin_layout Standard
21846 \begin_inset Float table
21853 \begin_layout Plain Layout
21854 \begin_inset Caption Standard
21856 \begin_layout Plain Layout
21857 \begin_inset CommandInset label
21859 name "tab:Table-with-rotated-multi"
21863 Table with rotated multiline cell.
21871 \begin_layout Plain Layout
21874 \begin_inset Tabular
21875 <lyxtabular version="3" rows="2" columns="3">
21876 <features tabularvalignment="middle">
21877 <column alignment="center" valignment="top">
21878 <column alignment="center" valignment="top" width="0pt">
21879 <column alignment="center" valignment="top">
21881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21884 \begin_layout Plain Layout
21890 <cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
21893 \begin_layout Plain Layout
21894 \begin_inset Flex Minipage (Var. Width)
21897 \begin_layout Plain Layout
21899 \begin_inset Newline newline
21903 \begin_inset space ~
21916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21919 \begin_layout Plain Layout
21927 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21930 \begin_layout Plain Layout
21936 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21939 \begin_layout Plain Layout
21945 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21948 \begin_layout Plain Layout
21967 \begin_layout Section
21968 Table Width Calculation
21969 \begin_inset CommandInset label
21971 name "sec:Table-Width-Calculation"
21978 \begin_layout Standard
21979 For wide tables it is sometimes difficult to assure that the table does
21980 not protrude over the page margin.
21981 Setting a fixed width for every column of the table is the solution, but
21982 what amount of space is needed for each column?
21985 \begin_layout Standard
21987 \begin_inset Formula $W_{\mathrm{table}}$
21990 can be calculated: Every column has the width of the specified column width
21992 \begin_inset Formula $W_{\mathrm{column}}$
21995 (that the content of the column can consume) plus two times the separation
21996 between the column content and the column border (\SpecialChar LaTeX
22004 \begin_inset space \thinspace{}
22007 pt) plus the width of a border line (\SpecialChar LaTeX
22015 \begin_inset space \thinspace{}
22019 \begin_inset Formula $n$
22023 \begin_inset space ~
22026 columns have the same width, the table width is
22027 \begin_inset Formula
22029 W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
22037 \begin_layout Standard
22038 The available width for a table is the space between the page margins or
22039 the width of a text column (for a two-column document) (\SpecialChar LaTeX
22047 If all table columns should have the same width and
22048 \begin_inset Formula $W_{\mathrm{table}}$
22052 \begin_inset space \thinspace{}
22058 \begin_inset Formula $W_{\mathrm{column}}$
22061 can easily be calculated.
22064 \begin_layout Standard
22065 To be able to perform calculations you need to load the \SpecialChar LaTeX
22071 \begin_inset Index idx
22076 \begin_layout Plain Layout
22079 \begin_inset IndexMacro subentry
22082 \begin_layout Plain Layout
22093 in the document preamble.
22094 To set the width in the table dialog you have to use the field
22100 The command scheme for this field is the same that is explained in section
22101 \begin_inset space ~
22105 \begin_inset CommandInset ref
22107 reference "subsec:Multicolumn-Calculations"
22113 \begin_inset space \thinspace{}
22116 columns with an uniform width and centered text, enter there for each column
22120 \begin_layout Standard
22127 columnwidth-62.4pt)/5}
22130 \begin_layout Standard
22132 \begin_inset space \thinspace{}
22135 columns where 2 should have 0.75
22136 \begin_inset space ~
22139 times the width than the 3 others, the calculation is
22140 \begin_inset Formula
22142 \backslash\mbox{columnwidth} & =3\,W_{\mathrm{column}}+2\cdot0.75\,W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
22143 & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
22144 & =4.5\,W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
22145 W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
22153 \begin_layout Standard
22154 In the table therefore the command
22157 \begin_layout Standard
22164 columnwidth-62.4pt)/
22169 \begin_layout Standard
22170 is used for the wider columns and
22173 \begin_layout Standard
22180 columnwidth-62.4pt)/
22187 \begin_layout Standard
22188 for the smaller ones:
22191 \begin_layout Standard
22192 \begin_inset Tabular
22193 <lyxtabular version="3" rows="2" columns="5">
22194 <features tabularvalignment="middle">
22195 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
22196 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
22197 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
22198 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
22199 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
22201 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22204 \begin_layout Plain Layout
22210 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22213 \begin_layout Plain Layout
22219 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22222 \begin_layout Plain Layout
22228 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22231 \begin_layout Plain Layout
22237 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22240 \begin_layout Plain Layout
22248 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22251 \begin_layout Plain Layout
22252 111111 1111111 111111 111111111 11111 11111 1111
22257 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22260 \begin_layout Plain Layout
22266 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22269 \begin_layout Plain Layout
22270 2222 22222 222222 222222222 2222222 22 22222
22275 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22278 \begin_layout Plain Layout
22284 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22287 \begin_layout Plain Layout
22288 333333 333333 333333 33333 3333333 333
22301 \begin_layout Section
22302 Table Customization
22303 \begin_inset Index idx
22308 \begin_layout Plain Layout
22309 Table Customization
22315 \begin_inset Index idx
22320 \begin_layout Plain Layout
22322 \begin_inset IndexMacro subentry
22325 \begin_layout Plain Layout
22339 \begin_layout Subsection
22341 \begin_inset CommandInset label
22343 name "subsec:Row-Spacing"
22348 \begin_inset Index idx
22353 \begin_layout Plain Layout
22354 Table Customization
22355 \begin_inset IndexMacro subentry
22358 \begin_layout Plain Layout
22372 \begin_layout Standard
22373 You can add vertical space to table rows in the
22377 tab of the table dialog.
22378 You find there three possibilities:
22381 \begin_layout Description
22383 \begin_inset space ~
22387 \begin_inset space ~
22390 row will add space above the characters of the table row.
22391 If the table is a formal table
22395 \begin_layout Plain Layout
22396 Formal tables are explained in section
22397 \begin_inset space ~
22401 \begin_inset CommandInset ref
22403 reference "sec:Formal-Tables"
22413 will insert as default 0.5
22414 \begin_inset space \thinspace{}
22418 For normal tables the inserted space will unfortunately destroy the vertical
22419 table lines as in the following table:
22420 \begin_inset VSpace medskip
22424 \begin_inset Newline newline
22428 \begin_inset space \hspace*{}
22433 \begin_inset space \hfill{}
22437 \begin_inset Tabular
22438 <lyxtabular version="3" rows="3" columns="1">
22439 <features tabularvalignment="middle">
22440 <column alignment="center" valignment="top">
22442 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22445 \begin_layout Plain Layout
22452 <row topspace="3mm">
22453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22456 \begin_layout Plain Layout
22458 \begin_inset space \thinspace{}
22461 mm space top of row
22468 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22471 \begin_layout Plain Layout
22483 \begin_inset space \hfill{}
22487 \begin_inset space \hspace*{}
22492 \begin_inset VSpace medskip
22496 \begin_inset Newline newline
22499 So inserting space in the top of row for normal tables is only useful when
22500 you don't have vertical lines.
22503 \begin_layout Description
22505 \begin_inset space ~
22509 \begin_inset space ~
22512 row will add space below the characters of the table row.
22513 If the table is a formal table \SpecialChar LyX
22514 will insert as default 0.5
22515 \begin_inset space \thinspace{}
22518 em space, for normal tables the default size is 2
22519 \begin_inset space \thinspace{}
22525 \begin_layout Description
22527 \begin_inset space ~
22530 rows adds space between the current and the following row.
22531 If the table is a formal table \SpecialChar LyX
22532 will insert as default 0.5
22533 \begin_inset space \thinspace{}
22537 For normal tables the inserted space will unfortunately destroy the vertical
22538 table lines as in the following table:
22539 \begin_inset VSpace medskip
22543 \begin_inset Newline newline
22547 \begin_inset space \hspace*{}
22552 \begin_inset space \hfill{}
22556 \begin_inset Tabular
22557 <lyxtabular version="3" rows="3" columns="1">
22558 <features tabularvalignment="middle">
22559 <column alignment="center" valignment="top">
22561 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22564 \begin_layout Plain Layout
22571 <row interlinespace="3mm">
22572 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22575 \begin_layout Plain Layout
22576 \begin_inset Formula $\downarrow$
22580 \begin_inset space \thinspace{}
22583 mm space between row
22584 \begin_inset Formula $\downarrow$
22594 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22597 \begin_layout Plain Layout
22598 \begin_inset Formula $\uparrow$
22602 \begin_inset space \thinspace{}
22605 mm space between row
22606 \begin_inset Formula $\uparrow$
22620 \begin_inset space \hfill{}
22624 \begin_inset space \hspace*{}
22629 \begin_inset VSpace medskip
22633 \begin_inset Newline newline
22636 So inserting space between rows for normal tables is only useful when you
22637 don't have vertical lines.
22640 \begin_layout Standard
22641 \begin_inset VSpace bigskip
22644 When you want to add extra height to all cells of all tables, you can do
22645 this with the following preamble lines:
22648 \begin_layout Standard
22653 @ifundefined{extrarowheight}
22654 \begin_inset Newline newline
22658 \begin_inset Phantom HPhantom
22661 \begin_layout Plain Layout
22664 \begin_inset space ~
22674 usepackage{array}}{}
22675 \begin_inset Newline newline
22682 extrarowheight}{height}
22685 \begin_inset Note Note
22688 \begin_layout Plain Layout
22693 will be loaded automatically by \SpecialChar LyX
22694 when you use self defined table formats.
22695 To avoid that it is loaded twice the command
22701 is used in the above command.
22709 \begin_layout Standard
22714 can have one of the units listed in appendix
22715 \begin_inset space ~
22719 \begin_inset CommandInset ref
22721 reference "cha:Units-available-in"
22726 But this has the disadvantage that the cell texts are no longer exactly
22727 vertically centered.
22730 \begin_layout Standard
22731 If you are using font sizes larger than the normal size, the table borders
22732 are often too close to the letters.
22733 This can be corrected by inserting the command
22739 in \SpecialChar TeX
22740 Code at the beginning of a table row.
22742 \begin_inset space ~
22746 \begin_inset CommandInset ref
22748 reference "tab:Vertical-alignment-of"
22752 illustrates the effect.
22755 \begin_layout Standard
22757 \begin_inset Float table
22764 \begin_layout Plain Layout
22765 \begin_inset Caption Standard
22767 \begin_layout Plain Layout
22768 \begin_inset CommandInset label
22770 name "tab:Vertical-alignment-of"
22774 Vertical alignment of text with large font sizes.
22782 \begin_layout Plain Layout
22783 \begin_inset space \hfill{}
22787 \begin_inset Float table
22794 \begin_layout Plain Layout
22795 \begin_inset Caption Standard
22797 \begin_layout Plain Layout
22806 \begin_layout Plain Layout
22809 \begin_inset Tabular
22810 <lyxtabular version="3" rows="6" columns="1">
22811 <features tabularvalignment="middle">
22812 <column alignment="left" valignment="top">
22814 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22817 \begin_layout Plain Layout
22825 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22828 \begin_layout Plain Layout
22838 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22841 \begin_layout Plain Layout
22851 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22854 \begin_layout Plain Layout
22864 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22867 \begin_layout Plain Layout
22877 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22880 \begin_layout Plain Layout
22899 \begin_inset space \hfill{}
22903 \begin_inset Float table
22910 \begin_layout Plain Layout
22911 \begin_inset Caption Standard
22913 \begin_layout Plain Layout
22914 Table using the command
22928 \begin_layout Plain Layout
22931 \begin_inset Tabular
22932 <lyxtabular version="3" rows="6" columns="1">
22933 <features tabularvalignment="middle">
22934 <column alignment="left" valignment="top">
22936 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22939 \begin_layout Plain Layout
22947 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22950 \begin_layout Plain Layout
22956 \begin_layout Plain Layout
22972 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22975 \begin_layout Plain Layout
22981 \begin_layout Plain Layout
22997 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23000 \begin_layout Plain Layout
23006 \begin_layout Plain Layout
23022 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23025 \begin_layout Plain Layout
23031 \begin_layout Plain Layout
23047 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23050 \begin_layout Plain Layout
23056 \begin_layout Plain Layout
23083 \begin_inset space \hfill{}
23094 \begin_layout Subsection
23095 Special Cell Alignment
23096 \begin_inset CommandInset label
23098 name "subsec:Special-Cell-Alignment"
23103 \begin_inset Index idx
23108 \begin_layout Plain Layout
23109 Table Customization
23110 \begin_inset IndexMacro subentry
23113 \begin_layout Plain Layout
23114 Special Cell Alignment
23127 \begin_layout Standard
23128 Sometimes it looks better when the cell entries of a column are aligned
23129 with a special character, e.
23130 \begin_inset space \thinspace{}
23134 \begin_inset space \space{}
23137 with the decimal separator as in Table
23138 \begin_inset space ~
23142 \begin_inset CommandInset ref
23144 reference "tab:Table-cells-align"
23149 This alignment is achieved by setting the cursor into the column and then
23150 either pressing the toolbar button
23153 arg "tabular-feature align-decimal"
23156 or setting the alignment in the table settings to
23159 \begin_inset space ~
23163 \begin_inset space ~
23169 The alignment character can be a character of your choice and is specified
23170 in the table settings.
23173 \begin_layout Standard
23174 \begin_inset Float table
23181 \begin_layout Plain Layout
23182 \begin_inset Caption Standard
23184 \begin_layout Plain Layout
23185 \begin_inset CommandInset label
23187 name "tab:Table-cells-align"
23191 Table cells of a column aligned with the decimal separator.
23199 \begin_layout Plain Layout
23201 \begin_inset Tabular
23202 <lyxtabular version="3" rows="4" columns="1">
23203 <features booktabs="true" tabularvalignment="middle">
23204 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
23206 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
23209 \begin_layout Plain Layout
23217 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23220 \begin_layout Plain Layout
23228 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
23231 \begin_layout Plain Layout
23239 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
23242 \begin_layout Plain Layout
23261 \begin_layout Standard
23262 \begin_inset Float table
23269 \begin_layout Plain Layout
23270 \begin_inset Caption Standard
23272 \begin_layout Plain Layout
23273 \begin_inset CommandInset label
23275 name "tab:Table-align-operator"
23279 Table cells of a column aligned with the operators.
23287 \begin_layout Plain Layout
23289 \begin_inset Tabular
23290 <lyxtabular version="3" rows="4" columns="2">
23291 <features booktabs="true" tabularvalignment="middle">
23292 <column alignment="right" valignment="top" width="0pt">
23293 <column alignment="left" valignment="top" width="0pt" special="@{}l">
23295 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
23298 \begin_layout Plain Layout
23304 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23307 \begin_layout Plain Layout
23315 <cell alignment="center" valignment="top" usebox="none">
23318 \begin_layout Plain Layout
23319 \begin_inset Formula $12\,+$
23327 <cell alignment="center" valignment="top" usebox="none">
23330 \begin_layout Plain Layout
23331 \begin_inset Formula $\,6$
23341 <cell alignment="center" valignment="top" usebox="none">
23344 \begin_layout Plain Layout
23345 \begin_inset Formula $0\,-$
23353 <cell alignment="center" valignment="top" usebox="none">
23356 \begin_layout Plain Layout
23357 \begin_inset Formula $\,68$
23367 <cell alignment="center" valignment="top" usebox="none">
23370 \begin_layout Plain Layout
23371 \begin_inset Formula $-123\,/$
23379 <cell alignment="center" valignment="top" usebox="none">
23382 \begin_layout Plain Layout
23383 \begin_inset Formula $\,0$
23404 \begin_layout Standard
23405 For alignments at characters in formulas this method does not work because
23406 the field to specify the alignment character does not allow formulas.
23407 In this case one need to use the method from Table
23408 \begin_inset space ~
23412 \begin_inset CommandInset ref
23414 reference "tab:Table-align-operator"
23419 This table was created with a 4×2 table.
23420 The heading is a centered multicolumn.
23421 The first column is right-aligned and contains the first part including
23423 The second column is left aligned and contains the rest.
23424 A small space was added at the beginning of each cell of the second column
23425 to get the space that is usually around operators.
23426 To omit the space that is normally between two table columns, the following
23428 -argument was used for the second column:
23431 \begin_layout Standard
23437 \begin_layout Standard
23439 \begin_inset space ~
23443 \begin_inset CommandInset ref
23445 reference "tab:Several-table-cell"
23449 shows some example alignments.
23450 For the alignment with the relation sign, a small space was added like
23451 for the second column of Table
23452 \begin_inset space ~
23456 \begin_inset CommandInset ref
23458 reference "tab:Table-align-operator"
23465 \begin_layout Standard
23466 \begin_inset Float table
23473 \begin_layout Plain Layout
23474 \begin_inset Caption Standard
23476 \begin_layout Plain Layout
23477 \begin_inset CommandInset label
23479 name "tab:Several-table-cell"
23483 Several table cell alignments.
23491 \begin_layout Plain Layout
23493 \begin_inset Tabular
23494 <lyxtabular version="3" rows="4" columns="6">
23495 <features tabularvalignment="middle">
23496 <column alignment="right" valignment="top">
23497 <column alignment="left" valignment="top" special="@{}l">
23498 <column alignment="right" valignment="top">
23499 <column alignment="left" valignment="top" special="@{}l">
23500 <column alignment="right" valignment="top">
23501 <column alignment="left" valignment="top" special="@{}l">
23503 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
23506 \begin_layout Plain Layout
23512 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23515 \begin_layout Plain Layout
23521 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
23524 \begin_layout Plain Layout
23530 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23533 \begin_layout Plain Layout
23539 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
23542 \begin_layout Plain Layout
23548 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23551 \begin_layout Plain Layout
23559 <cell alignment="center" valignment="top" usebox="none">
23562 \begin_layout Plain Layout
23568 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23571 \begin_layout Plain Layout
23573 \begin_inset space \thinspace{}
23581 <cell alignment="center" valignment="top" usebox="none">
23584 \begin_layout Plain Layout
23585 \begin_inset Formula $10\cdot$
23593 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23596 \begin_layout Plain Layout
23597 \begin_inset Formula $10^{\mbox{-}17}$
23605 <cell alignment="center" valignment="top" usebox="none">
23608 \begin_layout Plain Layout
23609 \begin_inset Formula $\Gamma(t)\propto$
23617 <cell alignment="center" valignment="top" usebox="none">
23620 \begin_layout Plain Layout
23621 \begin_inset Formula $\:\Upsilon(t)$
23631 <cell alignment="center" valignment="top" usebox="none">
23634 \begin_layout Plain Layout
23640 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23643 \begin_layout Plain Layout
23645 \begin_inset space \thinspace{}
23653 <cell alignment="center" valignment="top" usebox="none">
23656 \begin_layout Plain Layout
23657 \begin_inset Formula $5.78\cdot$
23665 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23668 \begin_layout Plain Layout
23669 \begin_inset Formula $10^{7}$
23677 <cell alignment="center" valignment="top" usebox="none">
23680 \begin_layout Plain Layout
23681 \begin_inset Formula $A\ne$
23689 <cell alignment="center" valignment="top" usebox="none">
23692 \begin_layout Plain Layout
23693 \begin_inset Formula $\:B_{\mathrm{red}}$
23703 <cell alignment="center" valignment="top" usebox="none">
23706 \begin_layout Plain Layout
23712 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23715 \begin_layout Plain Layout
23717 \begin_inset space \thinspace{}
23725 <cell alignment="center" valignment="top" usebox="none">
23728 \begin_layout Plain Layout
23730 \begin_inset Formula $33.5\cdot$
23738 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23741 \begin_layout Plain Layout
23742 \begin_inset Formula $10^{4}$
23750 <cell alignment="center" valignment="top" usebox="none">
23753 \begin_layout Plain Layout
23754 \begin_inset Formula $\sin(\alpha)\ge$
23762 <cell alignment="center" valignment="top" usebox="none">
23765 \begin_layout Plain Layout
23766 \begin_inset Formula $\:\sin(\beta)$
23787 \begin_layout Subsection
23788 Customized Cell/Column Format
23789 \begin_inset CommandInset label
23791 name "subsec:Customized-Format"
23796 \begin_inset Index idx
23801 \begin_layout Plain Layout
23802 Table Customization
23803 \begin_inset IndexMacro subentry
23806 \begin_layout Plain Layout
23820 \begin_layout Standard
23821 Calculating the required width for normal columns as described in section
23822 \begin_inset space ~
23826 \begin_inset CommandInset ref
23828 reference "sec:Table-Width-Calculation"
23832 or for spanned columns as described in section
23833 \begin_inset space ~
23837 \begin_inset CommandInset ref
23839 reference "subsec:Multicolumn-Calculations"
23843 is very annoying if you have several tables where a calculation is necessary.
23844 To make life easier, you can define a cell/column format in the preamble,
23845 that can be used in all tables of the document.
23846 The format is defined with the command
23849 \begin_layout Standard
23854 newcolumntype{name of format}[number of arguments]{commands}
23857 \begin_layout Standard
23858 The format name may only consist of one letter.
23883 are predefined and cannot be used.
23884 But all letters are allowed as capitals.
23887 \begin_layout Standard
23888 \begin_inset VSpace medskip
23894 \begin_layout Standard
23895 For vertically and horizontally centered multicolumn cells with a fixed
23896 width you can define the cell format
23899 \begin_layout Standard
23904 newcolumntype{M}[1]{>{
23911 \begin_layout Standard
23918 avoids the problem of hyphenating the first word, as described in section
23919 \begin_inset space ~
23923 \begin_inset CommandInset ref
23925 reference "subsec:Multiple-Lines-in"
23930 Now you can simply enter
23933 \begin_layout Standard
23939 \begin_layout Standard
23945 in the table dialog to create a multicolumn.
23948 \begin_layout Standard
23949 \begin_inset VSpace bigskip
23955 \begin_layout Standard
23956 For cells spanned by a multicolumn cell, you can define the format
23959 \begin_layout Standard
23964 newcolumntype{S}[2]{>{
23969 \begin_inset Newline newline
23973 \begin_inset Phantom HPhantom
23976 \begin_layout Plain Layout
23990 arrayrulewidth)*(1-#2))/#2}}
23993 \begin_layout Standard
23994 This format uses equation
23995 \begin_inset CommandInset ref
24001 to calculate the required width so that each spanned cell has the same
24005 \begin_layout Standard
24009 \begin_layout Standard
24012 S{width of multicolumn cell}{number of spanned columns}
24015 \begin_layout Standard
24016 as \SpecialChar LaTeX
24017 -argument of the column.
24020 \begin_layout Standard
24021 \begin_inset VSpace bigskip
24027 \begin_layout Standard
24028 For colored columns, you can define
24031 \begin_layout Standard
24036 newcolumntype{K}[1]{>{
24043 \begin_layout Standard
24045 \begin_inset Quotes eld
24049 \begin_inset Quotes erd
24052 at the end creates a column with a flexible width whose text is horizontally
24057 \begin_layout Standard
24063 \begin_layout Standard
24064 as \SpecialChar LaTeX
24068 \begin_layout Standard
24069 \begin_inset VSpace bigskip
24075 \begin_layout Standard
24077 \begin_inset space ~
24081 \begin_inset CommandInset ref
24083 reference "tab:Table-using-user-defined"
24087 use the \SpecialChar LaTeX
24091 \begin_layout Standard
24097 \begin_layout Standard
24098 for the first column and the multicolumn,
24101 \begin_layout Standard
24107 \begin_layout Standard
24108 for the last column, and
24111 \begin_layout Standard
24117 \begin_layout Standard
24118 for the cells in the second column.
24121 \begin_layout Standard
24122 \begin_inset Float table
24129 \begin_layout Plain Layout
24130 \begin_inset Caption Standard
24132 \begin_layout Plain Layout
24133 \begin_inset CommandInset label
24135 name "tab:Table-using-user-defined"
24139 Table using user-defined table formats
24147 \begin_layout Plain Layout
24149 \begin_inset Tabular
24150 <lyxtabular version="3" rows="3" columns="4">
24151 <features tabularvalignment="middle">
24152 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
24153 <column alignment="center" valignment="middle" special="S{2.5cm}{2}">
24154 <column alignment="center" valignment="middle">
24155 <column alignment="center" valignment="middle" special="K{red}">
24157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24160 \begin_layout Plain Layout
24161 verylongtablecellword
24166 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
24169 \begin_layout Plain Layout
24170 multiple lines multicolumn
24175 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24178 \begin_layout Plain Layout
24184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24187 \begin_layout Plain Layout
24195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24198 \begin_layout Plain Layout
24204 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24207 \begin_layout Plain Layout
24213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24216 \begin_layout Plain Layout
24222 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24225 \begin_layout Plain Layout
24233 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24236 \begin_layout Plain Layout
24242 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24245 \begin_layout Plain Layout
24251 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24254 \begin_layout Plain Layout
24260 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24263 \begin_layout Plain Layout
24282 \begin_layout Subsection
24284 \begin_inset CommandInset label
24286 name "subsec:Line-Thickness"
24291 \begin_inset Index idx
24296 \begin_layout Plain Layout
24297 Table Customization
24298 \begin_inset IndexMacro subentry
24301 \begin_layout Plain Layout
24315 \begin_layout Standard
24316 The line thickness for all lines in a table can be adjusted with the length
24324 To set for example a line thickness of 1.5
24325 \begin_inset space \thinspace{}
24329 \begin_inset space ~
24333 \begin_inset CommandInset ref
24335 reference "tab:Table-with-1.5"
24339 , insert the command
24342 \begin_layout Standard
24349 arrayrulewidth}{1.5pt}
24352 \begin_layout Standard
24353 in \SpecialChar TeX
24354 Code before the table or table float.
24355 The changed thickness is valid for all subsequent tables.
24356 To use the default value again, set
24363 \begin_inset space \thinspace{}
24366 pt in \SpecialChar TeX
24367 Code after the table or table float.
24370 \begin_layout Standard
24374 \begin_layout Plain Layout
24380 arrayrulewidth}{1.5pt}
24386 \begin_inset Float table
24393 \begin_layout Plain Layout
24394 \begin_inset Caption Standard
24396 \begin_layout Plain Layout
24397 \begin_inset CommandInset label
24399 name "tab:Table-with-1.5"
24404 \begin_inset space \thinspace{}
24415 \begin_layout Plain Layout
24417 \begin_inset Tabular
24418 <lyxtabular version="3" rows="3" columns="3">
24419 <features tabularvalignment="middle">
24420 <column alignment="center" valignment="top">
24421 <column alignment="center" valignment="top">
24422 <column alignment="center" valignment="top">
24424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24427 \begin_layout Plain Layout
24433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24436 \begin_layout Plain Layout
24442 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24445 \begin_layout Plain Layout
24453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24456 \begin_layout Plain Layout
24462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24465 \begin_layout Plain Layout
24471 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24474 \begin_layout Plain Layout
24482 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24485 \begin_layout Plain Layout
24491 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24494 \begin_layout Plain Layout
24500 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24503 \begin_layout Plain Layout
24523 \begin_layout Plain Layout
24529 arrayrulewidth}{0.4pt}
24537 \begin_layout Standard
24538 \begin_inset VSpace bigskip
24541 To set the line thickness to 1.5
24542 \begin_inset space \thinspace{}
24545 pt only for horizontal lines, as in Table
24546 \begin_inset space ~
24550 \begin_inset CommandInset ref
24552 reference "tab:Table-with-horizontal"
24556 , insert these commands in \SpecialChar TeX
24557 Code before the table or table float:
24560 \begin_layout Standard
24570 \begin_inset Newline newline
24578 \begin_inset Newline newline
24587 arrayrulewidth 1.5pt}
24588 \begin_inset Newline newline
24599 arrayrulewidth 0.4pt}}
24602 \begin_layout Standard
24603 To return to the default line thickness, insert this command in \SpecialChar TeX
24605 the table or table float:
24608 \begin_layout Standard
24620 \begin_layout Standard
24624 \begin_layout Plain Layout
24635 \begin_layout Plain Layout
24644 \begin_layout Plain Layout
24652 arrayrulewidth 1.5pt}
24655 \begin_layout Plain Layout
24665 arrayrulewidth 0.4pt}}
24671 \begin_inset Float table
24678 \begin_layout Plain Layout
24679 \begin_inset Caption Standard
24681 \begin_layout Plain Layout
24682 \begin_inset CommandInset label
24684 name "tab:Table-with-horizontal"
24689 \begin_inset space \thinspace{}
24692 pt thick horizontal lines
24700 \begin_layout Plain Layout
24702 \begin_inset Tabular
24703 <lyxtabular version="3" rows="3" columns="3">
24704 <features tabularvalignment="middle">
24705 <column alignment="center" valignment="top">
24706 <column alignment="center" valignment="top">
24707 <column alignment="center" valignment="top">
24709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24712 \begin_layout Plain Layout
24718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24721 \begin_layout Plain Layout
24727 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24730 \begin_layout Plain Layout
24738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24741 \begin_layout Plain Layout
24747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24750 \begin_layout Plain Layout
24756 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24759 \begin_layout Plain Layout
24767 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24770 \begin_layout Plain Layout
24776 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24779 \begin_layout Plain Layout
24785 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24788 \begin_layout Plain Layout
24808 \begin_layout Plain Layout
24824 \begin_layout Standard
24825 \begin_inset VSpace bigskip
24828 To set the line thickness to 1.5
24829 \begin_inset space \thinspace{}
24832 pt only for vertical lines, create the following column format in the document
24833 preamble, according to the description in section
24834 \begin_inset space ~
24838 \begin_inset CommandInset ref
24840 reference "subsec:Customized-Format"
24847 \begin_layout Standard
24852 newcolumntype{V}{!{
24854 vrule width 1.5pt}}
24857 \begin_layout Standard
24859 \begin_inset space ~
24863 \begin_inset CommandInset ref
24865 reference "tab:Table-with-vertical"
24869 the \SpecialChar LaTeX
24873 \begin_layout Standard
24879 \begin_layout Standard
24880 was used for the last column and
24883 \begin_layout Standard
24889 \begin_layout Standard
24890 for the other columns.
24893 \begin_layout Standard
24894 \begin_inset Float table
24901 \begin_layout Plain Layout
24902 \begin_inset Caption Standard
24904 \begin_layout Plain Layout
24905 \begin_inset CommandInset label
24907 name "tab:Table-with-vertical"
24912 \begin_inset space \thinspace{}
24915 pt thick vertical lines
24923 \begin_layout Plain Layout
24925 \begin_inset Tabular
24926 <lyxtabular version="3" rows="3" columns="3">
24927 <features tabularvalignment="middle">
24928 <column alignment="center" valignment="top" special="Vc">
24929 <column alignment="center" valignment="top" special="Vc">
24930 <column alignment="center" valignment="top" special="VcV">
24932 <cell alignment="center" valignment="top" topline="true" usebox="none">
24935 \begin_layout Plain Layout
24941 <cell alignment="center" valignment="top" topline="true" usebox="none">
24944 \begin_layout Plain Layout
24950 <cell alignment="center" valignment="top" topline="true" usebox="none">
24953 \begin_layout Plain Layout
24961 <cell alignment="center" valignment="top" topline="true" usebox="none">
24964 \begin_layout Plain Layout
24970 <cell alignment="center" valignment="top" topline="true" usebox="none">
24973 \begin_layout Plain Layout
24979 <cell alignment="center" valignment="top" topline="true" usebox="none">
24982 \begin_layout Plain Layout
24990 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24993 \begin_layout Plain Layout
24999 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25002 \begin_layout Plain Layout
25008 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25011 \begin_layout Plain Layout
25030 \begin_layout Subsection
25032 \begin_inset Index idx
25037 \begin_layout Plain Layout
25038 Table Customization
25039 \begin_inset IndexMacro subentry
25042 \begin_layout Plain Layout
25056 \begin_layout Standard
25060 \begin_layout Plain Layout
25070 \begin_inset Note Note
25073 \begin_layout Plain Layout
25074 The following section will only be displayed when the \SpecialChar LaTeX
25087 \begin_layout Standard
25088 \begin_inset Float table
25095 \begin_layout Plain Layout
25096 \begin_inset Caption Standard
25098 \begin_layout Plain Layout
25099 \begin_inset CommandInset label
25101 name "tab:Table-with-dashed"
25105 Table with dashed lines
25113 \begin_layout Plain Layout
25115 \begin_inset Tabular
25116 <lyxtabular version="3" rows="5" columns="5">
25117 <features tabularvalignment="middle">
25118 <column alignment="center" valignment="top">
25119 <column alignment="center" valignment="top">
25120 <column alignment="center" valignment="top" special=":c">
25121 <column alignment="center" valignment="top">
25122 <column alignment="center" valignment="top">
25124 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25127 \begin_layout Plain Layout
25133 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25136 \begin_layout Plain Layout
25142 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25145 \begin_layout Plain Layout
25151 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25154 \begin_layout Plain Layout
25160 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25163 \begin_layout Plain Layout
25171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25174 \begin_layout Plain Layout
25180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25183 \begin_layout Plain Layout
25189 <cell alignment="center" valignment="top" topline="true" usebox="none">
25192 \begin_layout Plain Layout
25198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25201 \begin_layout Plain Layout
25207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25210 \begin_layout Plain Layout
25218 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25221 \begin_layout Plain Layout
25225 \begin_layout Plain Layout
25239 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25242 \begin_layout Plain Layout
25248 <cell alignment="center" valignment="top" usebox="none">
25251 \begin_layout Plain Layout
25257 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25260 \begin_layout Plain Layout
25266 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25269 \begin_layout Plain Layout
25277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25280 \begin_layout Plain Layout
25284 \begin_layout Plain Layout
25298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25301 \begin_layout Plain Layout
25307 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
25310 \begin_layout Plain Layout
25316 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25319 \begin_layout Plain Layout
25325 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25328 \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" usebox="none">
25348 \begin_layout Plain Layout
25354 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25357 \begin_layout Plain Layout
25363 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25366 \begin_layout Plain Layout
25372 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25375 \begin_layout Plain Layout
25394 \begin_layout Standard
25396 does not natively support dashed lines, so you have to use \SpecialChar TeX
25398 As a prerequisite the \SpecialChar LaTeX
25404 \begin_inset Index idx
25409 \begin_layout Plain Layout
25412 \begin_inset IndexMacro subentry
25415 \begin_layout Plain Layout
25426 must be loaded in the document preamble with the command
25429 \begin_layout Standard
25434 usepackage{arydshln}
25437 \begin_layout Standard
25438 To make a vertical line dashed, enter the colon
25439 \begin_inset Quotes eld
25443 \begin_inset Quotes erd
25446 together with the character for the horizontal alignment as \SpecialChar LaTeX
25448 the table cell dialog.
25451 \begin_layout Standard
25452 For a horizontal dashed line add the command
25455 \begin_layout Standard
25463 \begin_layout Standard
25464 in \SpecialChar TeX
25465 Code as first element of the first cell in the table row.
25468 \begin_layout Standard
25469 For dashed multicolumn lines use the command
25472 \begin_layout Standard
25477 cdashline{line number
25482 \begin_layout Standard
25483 in \SpecialChar TeX
25484 Code as the first element of the first cell in the table row.
25485 If you have for example a multicolumn spanning columns 2 to 4 and you want
25486 to have a dashed line above, add the command
25489 \begin_layout Standard
25497 \begin_layout Standard
25498 as the first element of the first cell in the row of the multicolumn.
25501 \begin_layout Standard
25502 \begin_inset VSpace bigskip
25508 \begin_layout Standard
25510 \begin_inset space ~
25514 \begin_inset CommandInset ref
25516 reference "tab:Table-with-dashed"
25521 \begin_inset Quotes eld
25529 \begin_inset Quotes erd
25532 as \SpecialChar LaTeX
25533 argument of the third column.
25534 The \SpecialChar TeX
25541 was inserted in the first cell of the third row and the \SpecialChar TeX
25543 \begin_inset Newline newline
25552 was inserted in the first cell of the fourth row.
25555 \begin_layout Standard
25556 \begin_inset VSpace bigskip
25562 \begin_layout Standard
25563 Tables with dashed lines can also be colored as shown by Table
25564 \begin_inset space ~
25568 \begin_inset CommandInset ref
25570 reference "tab:Colored-table-with"
25577 \begin_layout Standard
25581 \begin_layout Plain Layout
25587 arrayrulewidth}{1pt}
25593 \begin_inset Note Note
25596 \begin_layout Plain Layout
25597 thicker lines for better visualization of the line color
25605 \begin_layout Standard
25609 \begin_layout Plain Layout
25613 dashgapcolor{green}
25619 \begin_inset Note Note
25622 \begin_layout Plain Layout
25623 color gaps between dashes green
25631 \begin_layout Standard
25635 \begin_layout Plain Layout
25646 \begin_layout Plain Layout
25655 \begin_layout Plain Layout
25659 arrayrulecolor{red}
25663 arrayrulecolor{black}}
25669 \begin_inset Note Note
25672 \begin_layout Plain Layout
25673 color horizontal, dashed lines red
25681 \begin_layout Standard
25685 \begin_layout Plain Layout
25696 \begin_layout Plain Layout
25705 \begin_layout Plain Layout
25709 arrayrulecolor{yellow}
25713 arrayrulecolor{black}}
25719 \begin_inset Note Note
25722 \begin_layout Plain Layout
25723 color partial horizontal, dashed lines yellow
25731 \begin_layout Standard
25732 \begin_inset Float table
25739 \begin_layout Plain Layout
25740 \begin_inset Caption Standard
25742 \begin_layout Plain Layout
25743 \begin_inset CommandInset label
25745 name "tab:Colored-table-with"
25749 Colored table with dashed lines
25757 \begin_layout Plain Layout
25759 \begin_inset Tabular
25760 <lyxtabular version="3" rows="5" columns="5">
25761 <features tabularvalignment="middle">
25762 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
25763 <column alignment="center" valignment="top" width="0pt">
25764 <column alignment="center" valignment="top" width="0pt" special=":c">
25765 <column alignment="center" valignment="top">
25766 <column alignment="center" valignment="top">
25768 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25771 \begin_layout Plain Layout
25777 <cell alignment="center" valignment="top" topline="true" usebox="none">
25780 \begin_layout Plain Layout
25786 <cell alignment="center" valignment="top" topline="true" usebox="none">
25789 \begin_layout Plain Layout
25795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25798 \begin_layout Plain Layout
25804 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25807 \begin_layout Plain Layout
25815 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25818 \begin_layout Plain Layout
25824 <cell alignment="center" valignment="top" topline="true" usebox="none">
25827 \begin_layout Plain Layout
25833 <cell alignment="center" valignment="top" topline="true" usebox="none">
25836 \begin_layout Plain Layout
25842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25845 \begin_layout Plain Layout
25851 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25854 \begin_layout Plain Layout
25862 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25865 \begin_layout Plain Layout
25869 \begin_layout Plain Layout
25882 \begin_layout Plain Layout
25896 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25899 \begin_layout Plain Layout
25905 <cell alignment="center" valignment="top" usebox="none">
25908 \begin_layout Plain Layout
25914 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25917 \begin_layout Plain Layout
25923 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25926 \begin_layout Plain Layout
25934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25937 \begin_layout Plain Layout
25941 \begin_layout Plain Layout
25955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25958 \begin_layout Plain Layout
25964 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
25967 \begin_layout Plain Layout
25973 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25976 \begin_layout Plain Layout
25982 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25985 \begin_layout Plain Layout
25993 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25996 \begin_layout Plain Layout
26002 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26005 \begin_layout Plain Layout
26011 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
26014 \begin_layout Plain Layout
26020 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26023 \begin_layout Plain Layout
26029 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26032 \begin_layout Plain Layout
26036 \begin_layout Plain Layout
26063 \begin_layout Standard
26067 \begin_layout Plain Layout
26081 \begin_inset Note Note
26084 \begin_layout Plain Layout
26093 \begin_layout Standard
26097 \begin_layout Plain Layout
26111 \begin_inset Note Note
26114 \begin_layout Plain Layout
26123 \begin_layout Standard
26127 \begin_layout Plain Layout
26137 \begin_inset Note Note
26140 \begin_layout Plain Layout
26149 \begin_layout Standard
26153 \begin_layout Plain Layout
26159 arrayrulewidth}{0.4pt}
26165 \begin_inset Note Note
26168 \begin_layout Plain Layout
26177 \begin_layout Standard
26178 The coloring of lines, columns and lines works as decribed in section
26179 \begin_inset space ~
26183 \begin_inset CommandInset ref
26185 reference "sec:Colored-Tables"
26190 Coloring horizontal lines works analogically as described there as well,
26191 one only needs to replace in the commands
26215 ; so one uses the command
26218 \begin_layout Standard
26228 \begin_inset Newline newline
26236 \begin_inset Newline newline
26240 \begin_inset Phantom HPhantom
26243 \begin_layout Plain Layout
26244 \begin_inset space ~
26254 arrayrulecolor{red}
26258 arrayrulecolor{black}}
26261 \begin_layout Standard
26271 \begin_layout Standard
26281 \begin_inset Newline newline
26289 \begin_inset Newline newline
26293 \begin_inset Phantom HPhantom
26296 \begin_layout Plain Layout
26297 \begin_inset space ~
26307 arrayrulecolor{red}
26311 arrayrulecolor{black}}
26314 \begin_layout Standard
26315 To get back the black line color, one needs to insert the following commands
26316 as \SpecialChar TeX
26317 Code behind the table:
26320 \begin_layout Standard
26328 \begin_layout Standard
26340 \begin_layout Standard
26348 \begin_layout Standard
26360 \begin_layout Standard
26361 To color the gaps between the dashes the command
26364 \begin_layout Standard
26369 dashgapcolor{color}
26372 \begin_layout Standard
26373 can be used in front of a table as \SpecialChar TeX
26375 color is hereby the name of a defined color.
26379 \begin_layout Standard
26387 \begin_layout Standard
26388 unsets the changes made by
26397 \begin_layout Standard
26398 \begin_inset Note Greyedout
26401 \begin_layout Plain Layout
26407 : If there are multiple commands in a cell, the command of
26411 needs to be the first one in the cell.
26417 \begin_inset space ~
26421 \begin_inset CommandInset ref
26423 reference "tab:Colored-table-with"
26447 \begin_layout Standard
26448 \begin_inset Note Greyedout
26451 \begin_layout Plain Layout
26457 The \SpecialChar LaTeX
26462 must be loaded in the document preamble before the \SpecialChar LaTeX
26468 \begin_inset Index idx
26473 \begin_layout Plain Layout
26476 \begin_inset IndexMacro subentry
26479 \begin_layout Plain Layout
26498 \begin_layout Standard
26502 \begin_layout Plain Layout
26512 \begin_inset Note Note
26515 \begin_layout Plain Layout
26516 The following will be displayed when the \SpecialChar LaTeX
26529 \begin_layout Standard
26530 You need to install the package
26534 to see the content of this section in the output.
26537 \begin_layout Standard
26541 \begin_layout Plain Layout
26553 \begin_layout Standard
26554 For more information about dashed lines see the documentation of
26559 \begin_inset CommandInset citation
26569 \begin_layout Chapter
26571 \begin_inset CommandInset label
26578 \begin_inset Index idx
26583 \begin_layout Plain Layout
26592 \begin_layout Section
26594 \begin_inset CommandInset label
26596 name "sec:FloatIntroduction"
26601 \begin_inset Index idx
26606 \begin_layout Plain Layout
26608 \begin_inset IndexMacro subentry
26611 \begin_layout Plain Layout
26625 \begin_layout Standard
26626 A float is a block of text associated with some sort of label, which doesn't
26627 have a fixed location.
26629 \begin_inset Quotes eld
26633 \begin_inset Quotes erd
26636 forward or backward a page or two, to wherever it fits best.
26644 \begin_inset space ~
26649 are also floats because they can float to the next page when there are
26650 too many notes on the page.
26653 \begin_layout Standard
26654 Floats allow a high quality layout.
26655 Images and tables can be spread evenly among the pages to avoid white space
26656 and pages without text.
26657 As the floating often destroys the context between the text and the image/table
26658 , every float can be referenced in the text.
26659 Floats are therefore numbered.
26660 Referencing is described in section
26661 \begin_inset space ~
26665 \begin_inset CommandInset ref
26667 reference "sec:Referencing-Floats"
26674 \begin_layout Standard
26675 To insert a float, use the menu
26677 Insert\SpecialChar menuseparator
26683 arg "float-insert figure"
26689 arg "float-insert table"
26697 inset, a box with a label.
26698 The label will automatically be translated to the document language in
26700 After the label you can insert the caption text.
26701 The image or table is inserted above or below the caption in a separate
26702 paragraph within the float.
26703 More about the caption placement is contained in section
26704 \begin_inset space ~
26708 \begin_inset CommandInset ref
26710 reference "sec:Caption-Placement"
26715 To keep your \SpecialChar LyX
26716 document readable, you can open and close the float box by
26717 left-clicking on the box label.
26718 A closed float box looks like this:
26719 \begin_inset Graphics
26720 filename clipart/float.png
26722 scaleBeforeRotation
26726 – a gray button with a red label.
26729 \begin_layout Standard
26730 It is recommended that you insert floats as separate standard paragraphs
26731 to avoid possible \SpecialChar LaTeX
26732 -errors that can occur when the surrounding text is specially
26736 \begin_layout Standard
26737 Existing figures or tables can be put into a float by highlighting them
26738 and then pressing the corresponding toolbar button for a new float.
26741 \begin_layout Section
26745 \begin_layout Standard
26746 Besides figure and table floats that are described in sections
26747 \begin_inset space ~
26751 \begin_inset CommandInset ref
26753 reference "sec:Figure-Floats"
26758 \begin_inset CommandInset ref
26760 reference "sec:Table-Floats"
26764 respectively, \SpecialChar LyX
26765 offers the float types
26774 The latter are explained in sec.
26775 \begin_inset space \thinspace{}
26779 \begin_inset CommandInset ref
26781 reference "sec:Wrap-Floats"
26788 \begin_layout Subsection
26790 \begin_inset Index idx
26795 \begin_layout Plain Layout
26797 \begin_inset IndexMacro subentry
26800 \begin_layout Plain Layout
26814 \begin_layout Standard
26815 \begin_inset Float algorithm
26822 \begin_layout Plain Layout
26823 \begin_inset Caption Standard
26825 \begin_layout Plain Layout
26826 \begin_inset CommandInset label
26828 name "alg:Example-Algorithm-float"
26832 Example Algorithm float
26840 \begin_layout LyX-Code
26842 \begin_inset Newline newline
26845 Sum := Sum + A(I); /* comment */
26846 \begin_inset Newline newline
26850 \begin_inset VSpace -4mm
26861 \begin_layout Standard
26862 This float type is inserted with the menu
26864 Insert\SpecialChar menuseparator
26865 Float\SpecialChar menuseparator
26869 It is used for program codes and descriptions of algorithms and can be
26870 seen as an alternative to program code listings that are explained in chapter
26871 \begin_inset space ~
26875 \begin_inset CommandInset ref
26877 reference "cha:Program-Code-Listings"
26882 A possible environment for algorithms is the
26887 , described in \SpecialChar LyX
26894 \begin_inset space ~
26898 \begin_inset CommandInset ref
26900 reference "alg:Example-Algorithm-float"
26904 is an example of an algorithm float where -4
26905 \begin_inset space \thinspace{}
26908 mm vertical space was added at the end of the float to have the bottom rule
26909 exactly below the last text line.
26912 \begin_layout Standard
26913 The float label is not automatically translated into the document language.
26914 If your document is not in English, you have to do this manually by adding
26915 the following line to the document preamble
26920 \begin_layout Standard
26925 floatname{algorithm}{your
26926 \begin_inset space ~
26932 \begin_layout Standard
26936 \begin_inset space ~
26942 \begin_inset Quotes eld
26950 \begin_inset Quotes erd
26956 \begin_layout Standard
26957 To insert the list of algorithms you can use the menu
26959 Insert\SpecialChar menuseparator
26961 \begin_inset space \thinspace{}
26965 \begin_inset space \thinspace{}
26968 TOC\SpecialChar menuseparator
26971 when your document has the same language as \SpecialChar LyX
26973 In other cases use this command in \SpecialChar TeX
26977 \begin_layout Standard
26982 listof{algorithm}{your
26983 \begin_inset space ~
26989 \begin_layout Standard
26993 \begin_inset space ~
26999 \begin_inset Quotes eld
27007 \begin_inset Quotes erd
27013 \begin_layout Standard
27014 Algorithm floats are not by default numbered in the scheme
27015 \begin_inset Quotes eld
27019 \begin_inset Quotes erd
27022 as is the case for table and figure floats in many document-classes.
27023 To number algorithm floats in the same scheme, add this command to your
27027 \begin_layout Standard
27032 numberwithin{algorithm}{chapter}
27035 \begin_layout Standard
27036 To be able to use the command
27045 \begin_inset space ~
27050 in the document settings the option
27053 \begin_inset space ~
27057 \begin_inset space ~
27061 \begin_inset space ~
27069 \begin_layout Section
27071 \begin_inset Index idx
27076 \begin_layout Plain Layout
27078 \begin_inset IndexMacro subentry
27081 \begin_layout Plain Layout
27095 \begin_layout Standard
27096 Floats are usually numbered either independently from the sections the floats
27097 are in, or in the scheme
27098 \begin_inset Quotes eld
27102 \begin_inset Quotes erd
27106 \begin_inset Quotes eld
27110 \begin_inset Quotes erd
27114 This depends on the document class used.
27117 \begin_layout Standard
27118 To change section-independent numbering, you can use this command in the
27122 \begin_layout Standard
27134 \begin_layout Standard
27141 is the command that prints the table number.
27142 For figure floats, the command would be
27155 in the command above prints the table number as a small roman number.
27158 \begin_layout Standard
27159 To change the numbering scheme for example to
27160 \begin_inset Quotes eld
27164 \begin_inset Quotes erd
27167 , use this command in the preamble:
27170 \begin_layout Standard
27175 numberwithin{table}{subsection}
27178 \begin_layout Standard
27179 To be able to use the command
27188 \begin_inset space ~
27193 in the document settings the option
27196 \begin_inset space ~
27200 \begin_inset space ~
27204 \begin_inset space ~
27212 \begin_layout Standard
27213 Please also have a look at section
27214 \begin_inset space ~
27218 \begin_inset CommandInset ref
27220 reference "subsec:Footnote-Numbering"
27224 for the details and important notes about the numbering commands.
27227 \begin_layout Section
27229 \begin_inset CommandInset label
27231 name "sec:Referencing-Floats"
27236 \begin_inset Index idx
27241 \begin_layout Plain Layout
27243 \begin_inset IndexMacro subentry
27246 \begin_layout Plain Layout
27258 \begin_inset Index idx
27263 \begin_layout Plain Layout
27265 \begin_inset IndexMacro subentry
27268 \begin_layout Plain Layout
27282 \begin_layout Standard
27283 To reference a float, insert a label into its caption using the menu
27285 Insert\SpecialChar menuseparator
27288 or the toolbar button
27295 A grey label box like this one:
27296 \begin_inset Graphics
27297 filename clipart/label.png
27298 scaleBeforeRotation
27302 will be inserted and the label window pops up asking for the label text.
27304 offers as text the first words of the caption with a prefix.
27305 The prefix depends on the float type, e.
27306 \begin_inset space \thinspace{}
27310 \begin_inset space \space{}
27313 for figure floats the prefix will be "
27320 \begin_layout Standard
27321 The label is used as anchor and name for the reference.
27322 You can refer to the label using the menu
27324 Insert\SpecialChar menuseparator
27327 or the toolbar button
27330 arg "dialog-show-new-inset ref"
27334 The cross-reference window appears showing all labels of the document.
27335 If you have multiple \SpecialChar LyX
27336 documents opened, choose the one you are working
27337 on from the drop-list at the top of the dialog.
27338 You can now sort the labels alphabetically and then choose one.
27339 A grey cross-reference box like this one:
27340 \begin_inset Graphics
27341 filename clipart/reference.png
27342 scaleBeforeRotation
27347 At the position of the cross-reference box the float number will appear
27351 \begin_layout Standard
27352 It is recommended that you use a
27353 \change_deleted 177693 1654669168
27355 \change_inserted 177693 1654669170
27358 space between the cross-reference name and its number to avoid line breaks
27360 If a cross-reference refers to a non-existing label, you will see two question
27361 marks in the output instead of the reference.
27364 \begin_layout Standard
27365 You can change labels at any time by clicking on the label box.
27366 References to the changed label will automatically update their links to
27367 the new label text.
27370 \begin_layout Standard
27374 \begin_inset space ~
27378 \begin_inset space ~
27383 in the cross-reference window sets the cursor before the referred label.
27384 The button text changes then to Go
27385 \begin_inset space ~
27388 Back and you can use it to set the cursor back to the cross-reference.
27391 \begin_layout Subsection
27392 Cross-Reference Formats
27393 \begin_inset CommandInset label
27395 name "subsec:Cross-Reference-Formats"
27400 \begin_inset Index idx
27405 \begin_layout Plain Layout
27407 \begin_inset IndexMacro subentry
27410 \begin_layout Plain Layout
27424 \begin_layout Standard
27425 There are six varieties of cross-references:
27428 \begin_layout Description
27429 <reference>: prints the float number, this is the default:
27430 \begin_inset CommandInset ref
27432 reference "fig:Two-distorted-images"
27439 \begin_layout Description
27440 (<reference>): prints the float number within two parentheses, this is the
27441 style normally used to reference formulas, especially when the reference
27443 \begin_inset Quotes eld
27447 \begin_inset Quotes erd
27451 \begin_inset CommandInset ref
27460 \begin_layout Description
27461 <page>: prints the page number: Page
27462 \begin_inset space ~
27466 \begin_inset CommandInset ref
27467 LatexCommand pageref
27468 reference "fig:Two-distorted-images"
27475 \begin_layout Description
27477 \begin_inset space ~
27481 \begin_inset space ~
27484 <page>: prints the text "on page" and the page number:
27485 \begin_inset CommandInset ref
27486 LatexCommand vpageref
27487 reference "fig:Two-distorted-images"
27494 \begin_layout Description
27496 \begin_inset space ~
27500 \begin_inset space ~
27504 \begin_inset space ~
27507 <page>: prints the float number, the text "on page", and the page number:
27509 \begin_inset CommandInset ref
27511 reference "fig:Two-distorted-images"
27518 \begin_layout Description
27520 \begin_inset space ~
27523 reference: prints a self-defined cross-reference format.
27524 \begin_inset Newline newline
27528 \begin_inset Note Greyedout
27531 \begin_layout Plain Layout
27536 This feature is only available when you have the \SpecialChar LaTeX
27546 \begin_inset Index idx
27551 \begin_layout Plain Layout
27554 \begin_inset IndexMacro subentry
27557 \begin_layout Plain Layout
27569 \begin_inset Index idx
27574 \begin_layout Plain Layout
27577 \begin_inset IndexMacro subentry
27580 \begin_layout Plain Layout
27597 \begin_inset Newline newline
27600 You can select which \SpecialChar LaTeX
27601 -package should be used for this feature by setting
27604 Use refstyle (not prettyref) for cross-references
27608 Document\SpecialChar menuseparator
27609 Settings\SpecialChar menuseparator
27613 The format is specified by adding the command
27625 (refstyle) to the preamble of the document.
27626 For example redefining all references to figures (which have the label
27628 \begin_inset Quotes eld
27636 \begin_inset Quotes erd
27639 ) can be done with this command
27640 \begin_inset Newline newline
27647 newref{fig}{refcmd={Image on page
27652 \begin_inset Newline newline
27655 For more information about the format, have a look at the package documentations
27657 \begin_inset CommandInset citation
27659 key "prettyref,refstyle"
27665 \begin_inset Newline newline
27676 are only available if you use the \SpecialChar LaTeX
27691 \begin_inset space \thinspace{}
27695 \begin_inset space \space{}
27699 \begin_inset Quotes eld
27703 \begin_inset Quotes erd
27710 outputs the name capitalized, e.
27711 \begin_inset space \thinspace{}
27715 \begin_inset space \space{}
27719 \begin_inset Quotes eld
27723 \begin_inset Quotes erd
27727 Both options can be combined to get e.
27728 \begin_inset space \thinspace{}
27732 \begin_inset space \space{}
27736 \begin_inset Quotes eld
27740 \begin_inset Quotes erd
27746 \begin_layout Description
27748 \begin_inset space ~
27751 reference: prints the caption of the reference:
27752 \begin_inset CommandInset ref
27753 LatexCommand nameref
27754 reference "fig:Two-distorted-images"
27761 \begin_layout Description
27763 \begin_inset space ~
27766 only: prints only the \SpecialChar LaTeX
27767 label for the reference:
27768 \begin_inset CommandInset ref
27769 LatexCommand labelonly
27770 reference "fig:Two-distorted-images"
27778 \begin_inset Newline newline
27781 This allows to use the label for commands in \SpecialChar TeX
27787 one can omit the prefix of the label name:
27788 \begin_inset CommandInset ref
27789 LatexCommand labelonly
27790 reference "fig:Two-distorted-images"
27800 \begin_layout Standard
27805 will not print the page number if the label is on the previous, the same,
27808 \begin_inset space \thinspace{}
27812 \begin_inset space \space{}
27816 \begin_inset Quotes eld
27824 \begin_inset Quotes erd
27830 <reference> on page <page>
27832 will not print anything about the page if the label is on the same page.
27835 \begin_layout Standard
27836 The number and current page of the part of the document referred to in the
27837 output is automatically calculated by \SpecialChar LaTeX
27839 The varieties are adjusted in the field
27843 of the cross-reference window that appears when you click on the cross-referenc
27847 \begin_layout Standard
27848 \begin_inset Note Greyedout
27851 \begin_layout Plain Layout
27856 It is recommended to use the \SpecialChar LaTeX
27862 \begin_inset Index idx
27867 \begin_layout Plain Layout
27870 \begin_inset IndexMacro subentry
27873 \begin_layout Plain Layout
27889 \begin_inset Index idx
27894 \begin_layout Plain Layout
27897 \begin_inset IndexMacro subentry
27900 \begin_layout Plain Layout
27911 does not know all of \SpecialChar LyX
27912 's possible label shortcuts
27916 \begin_layout Plain Layout
27917 \begin_inset Quotes eld
27921 \begin_inset Quotes erd
27924 is for example \SpecialChar LyX
27925 's shortcut for labels in figure captions.
27930 and is not internationalized.
27938 \begin_layout Subsection
27939 Automatic Reference Naming
27940 \begin_inset Index idx
27945 \begin_layout Plain Layout
27947 \begin_inset IndexMacro subentry
27950 \begin_layout Plain Layout
27951 Automatic Reference Naming
27964 \begin_layout Standard
27965 The \SpecialChar LaTeX
27971 \begin_inset Index idx
27976 \begin_layout Plain Layout
27979 \begin_inset IndexMacro subentry
27982 \begin_layout Plain Layout
27993 , that is enabled in the
28001 dialog, provides a very useful feature that cross-references automatically
28002 include the name of the referenced floats (or text parts like
28007 So you will save having to write e.
28008 \begin_inset space \thinspace{}
28012 \begin_inset space \space{}
28016 \begin_inset Quotes eld
28020 \begin_inset Quotes erd
28023 before every reference to a figure.
28024 To use this feature, enable
28028 and insert this line to the \SpecialChar LaTeX
28032 \begin_layout Standard
28048 \begin_layout Standard
28049 When you prefer other reference names than the default ones, for example
28050 you want instead of
28051 \begin_inset Quotes eld
28055 \begin_inset Quotes erd
28059 \begin_inset Quotes eld
28063 \begin_inset space \thinspace{}
28067 \begin_inset Quotes eld
28070 , you can redefine the name by inserting this in the preamble:
28073 \begin_layout Standard
28084 sectionautorefname}
28085 \begin_inset Newline newline
28089 \begin_inset Phantom HPhantom
28092 \begin_layout Plain Layout
28095 \begin_inset space ~
28108 \begin_layout Standard
28109 When you are using another document language than English, replace
28110 \begin_inset Newline newline
28125 , where *** is the name of the language used.
28128 \begin_layout Standard
28129 To get automatic names, but not for certain reference types, for example
28130 not for equations, use this preamble code:
28133 \begin_layout Standard
28144 equationautorefname}[1]{}}
28147 \begin_layout Standard
28148 More about this topic can be found in
28153 \begin_inset CommandInset citation
28163 \begin_layout Standard
28164 \begin_inset Note Greyedout
28167 \begin_layout Plain Layout
28172 Automatic reference naming cannot be used when you use cross-references
28176 \begin_inset space ~
28181 style, as described in section
28182 \begin_inset space ~
28186 \begin_inset CommandInset ref
28188 reference "subsec:Cross-Reference-Formats"
28200 \begin_layout Standard
28205 manual is an example where automatic reference naming is used.
28208 \begin_layout Subsection
28210 \begin_inset CommandInset label
28212 name "subsec:Reference-Position"
28217 \begin_inset Index idx
28222 \begin_layout Plain Layout
28224 \begin_inset IndexMacro subentry
28227 \begin_layout Plain Layout
28241 \begin_layout Standard
28247 \begin_inset Index idx
28252 \begin_layout Plain Layout
28255 \begin_inset IndexMacro subentry
28258 \begin_layout Plain Layout
28277 dialog to link cross-references in the output, you will see that clicking
28278 on an image float reference jumps to the image label.
28279 The caption will be the first text part on the screen, so that you cannot
28280 see the image without scrolling.
28281 This is because the reference link anchor is placed at the position of
28283 With the use of the package
28288 \begin_inset Index idx
28293 \begin_layout Plain Layout
28296 \begin_inset IndexMacro subentry
28299 \begin_layout Plain Layout
28310 , which is part of the \SpecialChar LaTeX
28316 \begin_inset Index idx
28321 \begin_layout Plain Layout
28324 \begin_inset IndexMacro subentry
28327 \begin_layout Plain Layout
28338 , the link anchor is placed at the beginning of a float.
28339 To use this feature for figure floats, load
28343 in the document preamble with the line
28346 \begin_layout Standard
28351 usepackage[figure]{hypcap}
28354 \begin_layout Standard
28359 for all float types but this is not recommended for stability reasons.
28360 For more information, have a look at
28365 \begin_inset CommandInset citation
28375 \begin_layout Standard
28376 \begin_inset Note Greyedout
28379 \begin_layout Plain Layout
28388 has no effect on references to subfigures.
28396 \begin_layout Section
28398 \change_deleted -712698321 1526031763
28400 \change_inserted -712698321 1526031765
28404 \begin_inset CommandInset label
28406 name "sec:Float-Settings"
28411 \begin_inset Index idx
28416 \begin_layout Plain Layout
28418 \begin_inset IndexMacro subentry
28421 \begin_layout Plain Layout
28423 \change_deleted -712698321 1526031841
28425 \change_inserted -712698321 1526031842
28441 \begin_layout Standard
28443 \change_inserted -712698321 1526033385
28444 Float Settings can be adjusted at two places in \SpecialChar LyX
28446 \change_inserted 630872221 1622709604
28448 \change_deleted 630872221 1622709603
28450 \change_inserted -712698321 1526033385
28453 Document\SpecialChar menuseparator
28454 Settings\SpecialChar ldots
28455 \SpecialChar menuseparator
28458 , you can set some options that are used by default for all floats of the
28459 document (placement on page and alignment of contents), unless you modify
28460 the local settings of a float.
28465 \begin_layout Standard
28467 \change_inserted -712698321 1526032513
28468 The latter can be done by
28469 \change_deleted -712698321 1526032513
28471 \change_inserted -712698321 1526032513
28474 ight-clicking on a float-box and clicking on
28477 \change_inserted -712698321 1526033387
28484 \change_inserted -712698321 1526032520
28487 opens a dialog where you can
28488 \change_inserted -712698321 1526032584
28489 , now only for the given float,
28492 \change_inserted -712698321 1526033452
28496 \change_deleted -712698321 1526033439
28497 options that \SpecialChar LaTeX
28498 uses for positioning the float
28499 \change_inserted -712698321 1526033493
28500 and alignment options, and adapt some other options that are only available
28505 \change_inserted -712698321 1526032658
28506 All these options, both for
28508 Document\SpecialChar menuseparator
28509 Settings\SpecialChar menuseparator
28516 , are described in turn.
28517 \change_deleted -712698321 1526031652
28519 \begin_inset Newline newline
28525 \begin_inset space ~
28530 is only useful for two-column documents: If you select it, the float will
28531 span both columns on the page instead of being confined to just one.
28532 \begin_inset Newline newline
28538 \begin_inset space ~
28543 is used to rotate floats, see section
28544 \begin_inset CommandInset ref
28546 reference "sec:Rotated-Floats"
28555 \begin_layout Subsection
28557 \change_inserted -712698321 1526031775
28559 \begin_inset CommandInset label
28561 name "sec:Float-Placement"
28566 \begin_inset Index idx
28571 \begin_layout Plain Layout
28573 \change_inserted -712698321 1526031775
28577 \begin_inset IndexMacro subentry
28580 \begin_layout Plain Layout
28582 \change_inserted -712698321 1526031775
28600 \begin_layout Standard
28602 \change_inserted -712698321 1526032697
28605 Document\SpecialChar menuseparator
28606 Settings\SpecialChar menuseparator
28614 \change_deleted -712698321 1526032811
28615 You can use one or more of the following options in the float dialog to
28617 \change_inserted -712698321 1526032812
28621 \change_inserted -712698321 1526033558
28622 algorithm that \SpecialChar LaTeX
28623 uses for positioning floats on the page, either
28626 \change_inserted -712698321 1526033535
28629 Document\SpecialChar menuseparator
28630 Settings\SpecialChar menuseparator
28636 \change_inserted -712698321 1526033570
28647 By default, this is set to
28650 \change_inserted -712698321 1526033604
28657 Document\SpecialChar menuseparator
28658 Settings\SpecialChar menuseparator
28661 (meaning that the default placement algorithm of the document class is
28670 dialog (meaning that the settings in
28672 Document\SpecialChar menuseparator
28673 Settings\SpecialChar menuseparator
28676 are used, which are the Class Defaults by default).
28677 If you want to change this,
28678 \change_deleted -712698321 1526033009
28680 \change_inserted -712698321 1526033535
28684 \change_deleted -712698321 1526031920
28686 \change_inserted -712698321 1526033535
28689 Placement Settings:
28694 \change_inserted -712698321 1526033535
28698 \change_deleted -712698321 1526031908
28700 \begin_inset space ~
28704 \begin_inset space ~
28708 \change_inserted -712698321 1526033535
28711 This allows you to select one or more from
28716 \begin_layout Description
28718 \begin_inset space ~
28722 \begin_inset space ~
28725 possible try to place the float on the position where it has been inserted
28726 \change_inserted 630872221 1622713522
28730 \begin_layout Description
28732 \change_inserted 630872221 1622713704
28734 \begin_inset space ~
28737 definitely forces the placement of the float on the position where it has
28743 \begin_layout Description
28745 \begin_inset space ~
28749 \begin_inset space ~
28752 page try to place the float at the top of the current page
28755 \begin_layout Description
28757 \begin_inset space ~
28761 \begin_inset space ~
28764 page try to place the float at the bottom of the current page
28767 \begin_layout Description
28769 \begin_inset space ~
28773 \begin_inset space ~
28776 floats try to place the float on its own page
28779 \begin_layout Standard
28780 The order of the above option is
28784 used by \SpecialChar LaTeX
28786 That means, if you use the default placement, \SpecialChar LaTeX
28790 \begin_inset space ~
28794 \begin_inset space ~
28802 \begin_inset space ~
28806 \begin_inset space ~
28811 , and then the others.
28812 If you do not use the default, \SpecialChar LaTeX
28813 will try only the checked options but in
28816 \begin_inset space ~
28819 placements is possible the procedure is internally repeated trying to put
28820 the float on the following page.
28823 \begin_layout Standard
28824 By default, each option has its own rules:
28827 \begin_layout Labeling
28828 \labelwidthstring 00.00.0000
28832 \begin_inset space ~
28836 \begin_inset space ~
28841 only floats occupying less than 70
28842 \begin_inset space \thinspace{}
28845 % of the page can be placed at the top of a page (
28854 \begin_layout Labeling
28855 \labelwidthstring 00.00.0000
28859 \begin_inset space ~
28863 \begin_inset space ~
28868 : only floats occupying less than 30
28869 \begin_inset space \thinspace{}
28872 % of the page can be placed at the bottom of a page.
28882 \begin_layout Labeling
28883 \labelwidthstring 00.00.0000
28887 \begin_inset space ~
28891 \begin_inset space ~
28896 : only if more than 50
28897 \begin_inset space \thinspace{}
28900 % of the page is occupied by floats, several floats can be set together
28911 \begin_layout Standard
28912 If you don't like these rules, you can ignore them by using the additional
28916 \begin_inset space ~
28921 \begin_inset space ~
28927 \begin_inset Newline newline
28930 You can also redefine the rules with \SpecialChar LaTeX
28931 -commands that are given in parentheses
28932 after the rules description above.
28933 To increase for example the often too small default of the bottom-rule
28935 \begin_inset space \thinspace{}
28938 % of the page, add this line to your document preamble:
28941 \begin_layout Standard
28948 bottomfraction}{0.5}
28951 \begin_layout Standard
28952 Sometimes you might need, under all circumstances, a float to be placed
28953 exactly at the position where it is inserted.
28954 For this case you can use the option
28957 \begin_inset space ~
28963 Use this option very rarely and only if the document is almost ready to
28964 be printed, because the float is then no longer able to
28965 \begin_inset Quotes eld
28969 \begin_inset Quotes erd
28972 when you change your document and this will often destroy the page layout.
28975 \begin_layout Standard
28976 There are no placement options for text wrap floats, because they are always
28977 surrounded by the text of a certain paragraph.
28978 \begin_inset VSpace bigskip
28984 \begin_layout Standard
28985 Sometimes you have the problem that a float is placed at the top of a page
28986 while its corresponding section starts at the middle of the page, so that
28987 the reader could think the float is part of the previous section.
28988 To avoid this the \SpecialChar LaTeX
28996 It suppresses a given float placement for the page where it is inserted
28997 and can therefore be used to avoid floats being set before a section starts.
28998 To get this, add these commands to your document preamble:
29001 \begin_layout Standard
29011 \begin_inset Newline newline
29025 \begin_layout Standard
29026 You can define the same for all section headings, like chapters and subsections.
29027 This definition is not recommended to be used for small text parts like
29028 subsubsections because \SpecialChar LaTeX
29029 may then have problems finding a suitable placement.
29032 \begin_layout Standard
29033 \begin_inset VSpace bigskip
29036 In some cases it is required to have all figures/tables at the end of the
29038 For this purpose the \SpecialChar LaTeX
29044 \begin_inset Index idx
29049 \begin_layout Plain Layout
29052 \begin_inset IndexMacro subentry
29055 \begin_layout Plain Layout
29067 It puts all figure and table floats at the end of the document into their
29069 At the original float position a text hint like
29070 \begin_inset Quotes eld
29076 \begin_inset space ~
29082 \begin_inset Quotes erd
29086 The endfloat-package is loaded in the preamble with the line
29089 \begin_layout Standard
29094 usepackage[options]{endfloat}
29097 \begin_layout Standard
29098 There are various package options to format the created figure/table sections.
29099 For more information we refer you to the
29104 \begin_inset CommandInset citation
29112 \begin_inset Newline newline
29116 \begin_inset Note Greyedout
29119 \begin_layout Plain Layout
29124 doesn't provide an automatic translation for the text hint, you have to
29125 do this manually, see section
29126 \begin_inset space ~
29130 \begin_inset CommandInset citation
29143 \begin_inset Newline newline
29147 \begin_inset Note Greyedout
29150 \begin_layout Plain Layout
29155 There is currently a bug in
29159 when the caption contains a German
29160 \begin_inset Quotes eld
29164 \begin_inset Quotes erd
29168 Use in this case the command
29169 \begin_inset Quotes eld
29179 \begin_inset Quotes erd
29182 in \SpecialChar TeX
29184 \begin_inset Quotes eld
29188 \begin_inset Quotes erd
29199 \begin_layout Standard
29200 \begin_inset VSpace bigskip
29203 For more details about float placements, have a look at \SpecialChar LaTeX
29205 \begin_inset CommandInset citation
29207 key "latexcompanion,latexguide,latexbook"
29213 \change_inserted -712698321 1526030561
29217 \begin_layout Subsection
29219 \change_inserted -712698321 1526031989
29220 Alignment of Float Contents
29223 \begin_layout Standard
29225 \change_inserted -712698321 1526032316
29226 In this list of options, you can define how the contents of a float (or
29227 all floats by default, if selected from
29229 Document\SpecialChar menuseparator
29237 means that the alignment of the class, or the default alignment of \SpecialChar LaTeX
29244 (only visible in the
29250 Document\SpecialChar menuseparator
29253 ) takes the setting specified in
29255 Document\SpecialChar menuseparator
29256 Settings\SpecialChar menuseparator
29260 The other three options,
29272 , are self-explanatory.
29273 If one of these is selected in
29275 Document\SpecialChar menuseparator
29276 Settings\SpecialChar menuseparator
29279 , all floats of the document will have this setting by default (so it is
29280 fairly easy, for instance, to center all floats).
29285 \begin_layout Subsection
29287 \change_inserted -712698321 1526030571
29288 Other Float Options
29291 \begin_layout Standard
29293 \change_inserted -712698321 1526035716
29294 These two options are only visible in the local
29300 Document\SpecialChar menuseparator
29306 \begin_layout Standard
29308 \change_inserted -712698321 1526033931
29312 \begin_inset space ~
29317 is useful for two-column documents: If you select it, the float will span
29318 both columns on the page instead of being confined to just one.
29321 \begin_layout Standard
29323 \change_inserted -712698321 1526030572
29327 \begin_inset space ~
29332 is used to rotate floats, see section
29333 \begin_inset CommandInset ref
29335 reference "sec:Rotated-Floats"
29344 \begin_layout Section
29346 \begin_inset CommandInset label
29348 name "sec:Rotated-Floats"
29353 \begin_inset Index idx
29358 \begin_layout Plain Layout
29360 \begin_inset IndexMacro subentry
29363 \begin_layout Plain Layout
29377 \begin_layout Standard
29378 Especially for wide tables you might have floats rotated.
29379 To rotate a whole float including the caption, right-click on the float-box
29383 \begin_inset space ~
29391 \begin_layout Standard
29392 Rotated floats are always placed on a page of their own (or column of their
29393 own; in case you have a multi-column document).
29394 You can let them span several columns using the float settings option
29397 \begin_inset space ~
29403 Floats are rotated so that you can read them from the outside margin.
29404 To force a certain rotation direction for all pages, you can add either
29413 to the document class options.
29416 \begin_layout Standard
29417 Referencing rotated floats is the same as for normal floats, the caption
29418 format is also the same: Table
29419 \begin_inset space ~
29423 \begin_inset CommandInset ref
29425 reference "tab:Rotated-table"
29429 is an example of a rotated table float.
29432 \begin_layout Standard
29433 \begin_inset Note Greyedout
29436 \begin_layout Plain Layout
29441 Not all DVI-viewers are able to display rotated floats.
29449 \begin_layout Standard
29450 \begin_inset Float table
29457 \begin_layout Plain Layout
29458 \begin_inset Caption Standard
29460 \begin_layout Plain Layout
29461 \begin_inset CommandInset label
29463 name "tab:Rotated-table"
29475 \begin_layout Plain Layout
29477 \begin_inset Tabular
29478 <lyxtabular version="3" rows="1" columns="5">
29479 <features tabularvalignment="middle">
29480 <column alignment="center" valignment="top">
29481 <column alignment="center" valignment="top">
29482 <column alignment="center" valignment="top">
29483 <column alignment="center" valignment="top">
29484 <column alignment="center" valignment="top">
29486 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29489 \begin_layout Plain Layout
29495 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29498 \begin_layout Plain Layout
29504 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29507 \begin_layout Plain Layout
29513 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29516 \begin_layout Plain Layout
29522 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29525 \begin_layout Plain Layout
29544 \begin_layout Section
29546 \begin_inset Index idx
29551 \begin_layout Plain Layout
29553 \begin_inset IndexMacro subentry
29556 \begin_layout Plain Layout
29570 \begin_layout Standard
29571 Subfloats are for example used when a figure consists of several images.
29572 They are created by inserting a float into an existing float.
29573 The placement of the subfloats can be controlled in the same way as for
29574 paragraphs as shown in table
29575 \begin_inset space ~
29579 \begin_inset CommandInset ref
29581 reference "tab:Two-subtables-side"
29586 \begin_inset CommandInset ref
29588 reference "tab:Two-subtables-upon"
29595 \begin_layout Standard
29596 Referencing subfloats works as for normal floats: Table
29597 \begin_inset space ~
29601 \begin_inset CommandInset ref
29603 reference "tab:This-is-subtable-a"
29608 \begin_inset CommandInset ref
29610 reference "tab:This-is-subtable-b"
29614 are subtables of table
29615 \begin_inset space ~
29619 \begin_inset CommandInset ref
29621 reference "tab:Two-subtables-side"
29628 \begin_layout Standard
29629 \begin_inset Float table
29636 \begin_layout Plain Layout
29637 \begin_inset Caption Standard
29639 \begin_layout Plain Layout
29640 \begin_inset CommandInset label
29642 name "tab:Two-subtables-side"
29646 Two subtables placed side by side.
29654 \begin_layout Plain Layout
29656 \begin_inset space \hfill{}
29660 \begin_inset Float table
29667 \begin_layout Plain Layout
29668 \begin_inset Caption Standard
29670 \begin_layout Plain Layout
29671 \begin_inset CommandInset label
29673 name "tab:This-is-subtable-a"
29677 This is subtable a.
29685 \begin_layout Plain Layout
29687 \begin_inset Tabular
29688 <lyxtabular version="3" rows="1" columns="5">
29689 <features tabularvalignment="middle">
29690 <column alignment="center" valignment="top">
29691 <column alignment="center" valignment="top">
29692 <column alignment="center" valignment="top">
29693 <column alignment="center" valignment="top">
29694 <column alignment="center" valignment="top">
29696 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29699 \begin_layout Plain Layout
29705 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29708 \begin_layout Plain Layout
29714 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29717 \begin_layout Plain Layout
29723 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29726 \begin_layout Plain Layout
29732 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29735 \begin_layout Plain Layout
29752 \begin_inset space \hfill{}
29756 \begin_inset Float table
29763 \begin_layout Plain Layout
29764 \begin_inset Caption Standard
29766 \begin_layout Plain Layout
29767 \begin_inset CommandInset label
29769 name "tab:This-is-subtable-b"
29773 This is subtable b.
29781 \begin_layout Plain Layout
29783 \begin_inset Tabular
29784 <lyxtabular version="3" rows="1" columns="5">
29785 <features tabularvalignment="middle">
29786 <column alignment="center" valignment="top">
29787 <column alignment="center" valignment="top">
29788 <column alignment="center" valignment="top">
29789 <column alignment="center" valignment="top">
29790 <column alignment="center" valignment="top">
29792 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29795 \begin_layout Plain Layout
29801 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29804 \begin_layout Plain Layout
29810 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29813 \begin_layout Plain Layout
29819 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29822 \begin_layout Plain Layout
29828 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29831 \begin_layout Plain Layout
29848 \begin_inset space \hfill{}
29859 \begin_layout Standard
29860 \begin_inset Float table
29867 \begin_layout Plain Layout
29868 \begin_inset Caption Standard
29870 \begin_layout Plain Layout
29871 \begin_inset CommandInset label
29873 name "tab:Two-subtables-upon"
29877 Two subtables placed one above the other.
29878 (a) table with 4 cells, (b) table with 5 cells.
29886 \begin_layout Plain Layout
29888 \begin_inset Float table
29895 \begin_layout Plain Layout
29896 \begin_inset Caption Standard
29898 \begin_layout Plain Layout
29907 \begin_layout Plain Layout
29909 \begin_inset Tabular
29910 <lyxtabular version="3" rows="1" columns="4">
29911 <features tabularvalignment="middle">
29912 <column alignment="center" valignment="top">
29913 <column alignment="center" valignment="top">
29914 <column alignment="center" valignment="top">
29915 <column alignment="center" valignment="top">
29917 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29920 \begin_layout Plain Layout
29926 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29929 \begin_layout Plain Layout
29935 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29938 \begin_layout Plain Layout
29944 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29947 \begin_layout Plain Layout
29966 \begin_layout Plain Layout
29968 \begin_inset Float table
29975 \begin_layout Plain Layout
29976 \begin_inset Caption Standard
29978 \begin_layout Plain Layout
29987 \begin_layout Plain Layout
29989 \begin_inset Tabular
29990 <lyxtabular version="3" rows="1" columns="5">
29991 <features tabularvalignment="middle">
29992 <column alignment="center" valignment="top">
29993 <column alignment="center" valignment="top">
29994 <column alignment="center" valignment="top">
29995 <column alignment="center" valignment="top">
29996 <column alignment="center" valignment="top">
29998 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30001 \begin_layout Plain Layout
30007 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30010 \begin_layout Plain Layout
30016 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30019 \begin_layout Plain Layout
30025 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30028 \begin_layout Plain Layout
30034 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30037 \begin_layout Plain Layout
30061 \begin_layout Section
30062 Floats Side by Side
30063 \begin_inset Index idx
30068 \begin_layout Plain Layout
30070 \begin_inset IndexMacro subentry
30073 \begin_layout Plain Layout
30087 \begin_layout Standard
30088 To place floats side by side, as in Figures
30089 \begin_inset space ~
30093 \begin_inset CommandInset ref
30095 reference "fig:Float-left"
30100 \begin_inset CommandInset ref
30102 reference "fig:Float-right"
30111 In it two minipage boxes are inserted.
30115 \begin_layout Plain Layout
30116 Minipages are explained in section
30117 \begin_inset space ~
30121 \begin_inset CommandInset ref
30123 reference "sec:Minipages"
30132 The width is set to 45
30133 \begin_inset space \thinspace{}
30137 \begin_inset space \thinspace{}
30140 column% and the box alignment to
30145 The minipage boxes contain the image and the caption in the same way as
30146 they are in a float.
30147 The only difference is that the image unit
30150 \begin_inset space ~
30154 \begin_inset space ~
30159 is now calculated according to the width of the minipage boxes.
30162 \begin_layout Standard
30163 \begin_inset Float figure
30170 \begin_layout Plain Layout
30171 \begin_inset Box Frameless
30181 height_special "totalheight"
30186 backgroundcolor "none"
30189 \begin_layout Plain Layout
30191 \begin_inset Graphics
30192 filename clipart/2D-intensity-plot.pdf
30194 scaleBeforeRotation
30201 \begin_layout Plain Layout
30202 \begin_inset Caption Standard
30204 \begin_layout Plain Layout
30205 \begin_inset CommandInset label
30207 name "fig:Float-left"
30211 Float on the left side.
30222 \begin_inset space \hfill{}
30226 \begin_inset Box Frameless
30236 height_special "totalheight"
30241 backgroundcolor "none"
30244 \begin_layout Plain Layout
30246 \begin_inset Graphics
30247 filename clipart/Star-structure.pdf
30249 scaleBeforeRotation
30256 \begin_layout Plain Layout
30257 \begin_inset Caption Standard
30259 \begin_layout Plain Layout
30260 \begin_inset CommandInset label
30262 name "fig:Float-right"
30266 Float on the right side.
30284 \begin_layout Standard
30285 An alternative and simpler solution is to use the module
30287 Variable-width Minipages
30290 \begin_inset space \thinspace{}
30294 \begin_inset CommandInset ref
30296 reference "sec:Minipages"
30301 Variable-width minipages adapt automatically to the width of the figures
30303 They do not require an explicit width to be given, and they improve the
30304 horizontal alignment of the figures.
30305 The LyX example file
30307 varwidth-floats-side-by-side
30309 gives examples of how to do this.
30312 \begin_layout Section
30314 \begin_inset Index idx
30319 \begin_layout Plain Layout
30321 \begin_inset IndexMacro subentry
30324 \begin_layout Plain Layout
30336 \begin_inset Index idx
30341 \begin_layout Plain Layout
30343 \begin_inset IndexMacro subentry
30346 \begin_layout Plain Layout
30358 \begin_inset CommandInset label
30360 name "sec:Caption-Formatting"
30367 \begin_layout Standard
30372 environment is the default paragraph environment for
30377 On the \SpecialChar LyX
30378 screen captions appear as a label, e.
30379 \begin_inset space \thinspace{}
30383 \begin_inset space \space{}
30387 \begin_inset Quotes eld
30395 \begin_inset Quotes erd
30398 followed by the caption text.
30400 \begin_inset Quotes eld
30404 \begin_inset Quotes erd
30407 is the actual reference number.
30408 By default the label and the number are in the same font as the caption
30409 text and a colon follows the number to divide the label from the text.
30410 This caption format is suitable for many but not all documents.
30414 \begin_layout Standard
30415 To change the default caption format, load the \SpecialChar LaTeX
30421 \begin_inset Index idx
30426 \begin_layout Plain Layout
30429 \begin_inset IndexMacro subentry
30432 \begin_layout Plain Layout
30443 in the document preamble with this line:
30446 \begin_layout Standard
30451 usepackage[format definition]{caption}
30454 \begin_layout Standard
30455 To have for example the label and the number in sans-serif, bold font and
30456 the table captions always above the table as in this document, use the
30460 \begin_layout Standard
30465 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
30468 \begin_layout Standard
30469 You can also define different caption formats for the different float types.
30470 In this case load the
30474 package without format specific options and define the different formats
30475 with the help of the command
30478 \begin_layout Standard
30483 captionsetup[float type]{format definition}
30486 \begin_layout Standard
30487 in the document preamble.
30488 For example the caption formats of Figure
30489 \begin_inset space ~
30493 \begin_inset CommandInset ref
30495 reference "fig:This-is-an-fig"
30500 \begin_inset space ~
30504 \begin_inset CommandInset ref
30506 reference "tab:This-is-an-tab"
30510 can be created using these commands in the document preamble:
30513 \begin_layout Standard
30518 usepackage[tableposition=top]{caption}
30521 \begin_inset Newline newline
30528 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
30529 \begin_inset Newline newline
30533 \begin_inset Phantom HPhantom
30536 \begin_layout Plain Layout
30541 captionsetup[figure]{
30547 \begin_inset Newline newline
30552 captionsetup[table]{labelfont={bf,sf}}
30555 \begin_layout Standard
30556 \begin_inset Note Greyedout
30559 \begin_layout Plain Layout
30568 has no effect when a
30573 \begin_inset Index idx
30578 \begin_layout Plain Layout
30581 \begin_inset IndexMacro subentry
30584 \begin_layout Plain Layout
30595 document class is used.
30596 In this case the document class option
30598 captions=tableheading
30608 \begin_layout Standard
30609 For more information about the package
30613 we refer to its documentation
30614 \begin_inset CommandInset citation
30624 \begin_layout Standard
30625 To change the label name from e.
30626 \begin_inset space \thinspace{}
30630 \begin_inset space \space{}
30634 \begin_inset Quotes eld
30638 \begin_inset Quotes erd
30642 \begin_inset Quotes eld
30646 \begin_inset Quotes erd
30649 use this preamble command:
30652 \begin_layout Standard
30659 fnum@figure}{Image~
30664 \begin_layout Standard
30671 inserts the figure number and
30674 \begin_inset Quotes eld
30680 \begin_inset Quotes erd
30684 \change_deleted 177693 1654669177
30686 \change_inserted 177693 1654669179
30692 \begin_layout Standard
30693 \begin_inset VSpace bigskip
30701 \begin_inset Index idx
30706 \begin_layout Plain Layout
30709 \begin_inset IndexMacro subentry
30712 \begin_layout Plain Layout
30725 article (KOMA-Script)
30733 letter (KOMA-Script)
30737 report (KOMA-Script)
30740 \begin_inset space \thinspace{}
30743 ), you can alternatively to the
30751 's built-in command
30758 For example, to have the caption label in bold, add this command to your
30762 \begin_layout Standard
30767 setkomafont{captionlabel}{
30772 \begin_layout Standard
30773 For more information about
30784 \begin_inset CommandInset citation
30794 \begin_layout Standard
30798 \begin_layout Plain Layout
30802 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
30809 \begin_inset Note Note
30812 \begin_layout Plain Layout
30813 The caption format is changed only for this example.
30821 \begin_layout Standard
30822 \begin_inset Float figure
30829 \begin_layout Plain Layout
30831 \begin_inset Graphics
30832 filename clipart/2D-intensity-plot.pdf
30833 scaleBeforeRotation
30840 \begin_layout Plain Layout
30841 \begin_inset Caption Standard
30843 \begin_layout Plain Layout
30844 \begin_inset CommandInset label
30846 name "fig:This-is-an-fig"
30850 This is an example figure caption that is longer than one line to show the
30851 different caption format.
30852 Here a self-defined caption format is used.
30865 \begin_layout Standard
30869 \begin_layout Plain Layout
30873 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
30882 \begin_layout Standard
30883 \begin_inset Float table
30890 \begin_layout Plain Layout
30891 \begin_inset Caption Standard
30893 \begin_layout Plain Layout
30894 \begin_inset CommandInset label
30896 name "tab:This-is-an-tab"
30900 This is an example table caption that is longer than one line to show the
30901 different caption format.
30902 Here the standard caption format for tables in this document is used.
30910 \begin_layout Plain Layout
30912 \begin_inset Tabular
30913 <lyxtabular version="3" rows="1" columns="5">
30914 <features tabularvalignment="middle">
30915 <column alignment="center" valignment="top">
30916 <column alignment="center" valignment="top">
30917 <column alignment="center" valignment="top">
30918 <column alignment="center" valignment="top">
30919 <column alignment="center" valignment="top">
30921 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30924 \begin_layout Plain Layout
30930 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30933 \begin_layout Plain Layout
30939 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30942 \begin_layout Plain Layout
30948 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30951 \begin_layout Plain Layout
30957 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30960 \begin_layout Plain Layout
30979 \begin_layout Section
30981 \begin_inset Index idx
30986 \begin_layout Plain Layout
30988 \begin_inset IndexMacro subentry
30991 \begin_layout Plain Layout
31003 \begin_inset Index idx
31008 \begin_layout Plain Layout
31010 \begin_inset IndexMacro subentry
31013 \begin_layout Plain Layout
31025 \begin_inset CommandInset label
31027 name "sec:Caption-Placement"
31034 \begin_layout Standard
31035 The common caption placement rule is:
31038 \begin_layout Description
31039 Figure: Caption is set below the figure
31042 \begin_layout Description
31043 Table: Caption is set above the table
31046 \begin_layout Standard
31047 Having the caption above the table is unfortunately not supported in \SpecialChar LaTeX
31050 That means if you are using the document classes
31066 there will be no space between the caption and the table.
31067 To insert the necessary space, load the \SpecialChar LaTeX
31073 \begin_inset Index idx
31078 \begin_layout Plain Layout
31081 \begin_inset IndexMacro subentry
31084 \begin_layout Plain Layout
31095 in your document preamble with the option
31099 \begin_layout Plain Layout
31101 \begin_inset space ~
31105 \begin_inset CommandInset ref
31107 reference "sec:Caption-Formatting"
31111 for more information of the package
31123 \begin_layout Standard
31129 \begin_layout Standard
31135 \begin_inset Index idx
31140 \begin_layout Plain Layout
31143 \begin_inset IndexMacro subentry
31146 \begin_layout Plain Layout
31159 article (KOMA-Script)
31167 letter (KOMA-Script)
31171 report (KOMA-Script)
31174 \begin_inset space \thinspace{}
31177 ), you can alternatively to the
31181 package set the document class option
31185 \begin_layout Plain Layout
31186 That option is used in this document.
31194 \begin_layout Standard
31197 captions=tableheading
31200 \begin_layout Standard
31201 In documents with a KOMA-Script document class you can also right-click
31202 on a caption and mark in the context menu if this should be a caption above
31203 or below the table/figure.
31204 This way you can override the document-wide caption placement for certain
31207 \begin_inset space ~
31211 \begin_inset CommandInset ref
31213 reference "tab:A-caption-marked"
31217 is an example where the caption is marked a being below the table while
31219 For comparison the caption in Table
31220 \begin_inset space ~
31224 \begin_inset CommandInset ref
31226 reference "tab:A-standard-table"
31233 \begin_layout Standard
31234 \begin_inset Float table
31241 \begin_layout Plain Layout
31242 \begin_inset Caption Below
31244 \begin_layout Plain Layout
31245 \begin_inset CommandInset label
31247 name "tab:A-caption-marked"
31251 A caption marked as being below the table.
31259 \begin_layout Plain Layout
31261 \begin_inset Tabular
31262 <lyxtabular version="3" rows="3" columns="3">
31263 <features tabularvalignment="middle">
31264 <column alignment="center" valignment="top" width="0pt">
31265 <column alignment="center" valignment="top" width="0pt">
31266 <column alignment="center" valignment="top" width="0pt">
31268 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31271 \begin_layout Plain Layout
31277 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31280 \begin_layout Plain Layout
31286 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31289 \begin_layout Plain Layout
31297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31300 \begin_layout Plain Layout
31306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31309 \begin_layout Plain Layout
31315 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31318 \begin_layout Plain Layout
31326 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31329 \begin_layout Plain Layout
31330 \begin_inset Formula $\int x^{2}dx$
31338 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31341 \begin_layout Plain Layout
31342 \begin_inset Formula $\left[\begin{array}{cc}
31345 \end{array}\right]$
31353 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31356 \begin_layout Plain Layout
31357 \begin_inset Formula $1+1=2$
31378 \begin_layout Standard
31379 \begin_inset Float table
31386 \begin_layout Plain Layout
31387 \begin_inset Caption Standard
31389 \begin_layout Plain Layout
31390 \begin_inset CommandInset label
31392 name "tab:A-standard-table"
31396 A standard table caption.
31404 \begin_layout Plain Layout
31406 \begin_inset Tabular
31407 <lyxtabular version="3" rows="3" columns="3">
31408 <features tabularvalignment="middle">
31409 <column alignment="center" valignment="top" width="0pt">
31410 <column alignment="center" valignment="top" width="0pt">
31411 <column alignment="center" valignment="top" width="0pt">
31413 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31416 \begin_layout Plain Layout
31422 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31425 \begin_layout Plain Layout
31431 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31434 \begin_layout Plain Layout
31442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31445 \begin_layout Plain Layout
31451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31454 \begin_layout Plain Layout
31460 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31463 \begin_layout Plain Layout
31471 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31474 \begin_layout Plain Layout
31475 \begin_inset Formula $\int x^{2}dx$
31483 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31486 \begin_layout Plain Layout
31487 \begin_inset Formula $\left[\begin{array}{cc}
31490 \end{array}\right]$
31498 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31501 \begin_layout Plain Layout
31502 \begin_inset Formula $1+1=2$
31523 \begin_layout Standard
31524 \begin_inset VSpace bigskip
31527 It is also possible to set the caption beside a figure or table.
31528 To get this the \SpecialChar LaTeX
31534 \begin_inset Index idx
31539 \begin_layout Plain Layout
31542 \begin_inset IndexMacro subentry
31545 \begin_layout Plain Layout
31556 has to be loaded in the document preamble with the line
31559 \begin_layout Standard
31564 usepackage[option]{sidecap}
31567 \begin_layout Standard
31568 If you set no option, the caption is placed on the side of the outer page
31569 margin – to the right on odd pages, to the left on even pages.
31570 You can change the placement to inner margin with the option
31575 To force the placement always to the right or left, use the option
31586 \begin_layout Standard
31590 \begin_layout Plain Layout
31600 \begin_inset Note Note
31603 \begin_layout Plain Layout
31604 The following section will only be displayed when the \SpecialChar LaTeX
31617 \begin_layout Standard
31618 To place in \SpecialChar LyX
31619 the caption of a float on the side, it is necessary to add
31620 these commands to the document preamble:
31623 \begin_layout Standard
31625 \begin_inset CommandInset line
31636 \begin_layout Standard
31643 TabBesBeg}[1][1.0]{%
31644 \begin_inset Newline newline
31648 \begin_inset Phantom HPhantom
31651 \begin_layout Plain Layout
31652 \begin_inset space ~
31667 \begin_inset Newline newline
31671 \begin_inset Phantom HPhantom
31674 \begin_layout Plain Layout
31677 \begin_inset space ~
31692 \begin_inset Newline newline
31696 \begin_inset Phantom HPhantom
31699 \begin_layout Plain Layout
31702 \begin_inset space ~
31712 renewenvironment{table}[1]{
31714 begin{SCtable}[#1]##1}{
31719 \begin_layout Standard
31727 \begin_inset Newline newline
31731 \begin_inset Phantom HPhantom
31734 \begin_layout Plain Layout
31735 \begin_inset space ~
31750 \begin_inset Newline newline
31754 \begin_inset Phantom HPhantom
31757 \begin_layout Plain Layout
31758 \begin_inset space ~
31775 \begin_layout Standard
31782 FigBesBeg}[1][1.0]{%
31783 \begin_inset Newline newline
31787 \begin_inset Phantom HPhantom
31790 \begin_layout Plain Layout
31791 \begin_inset space ~
31806 \begin_inset Newline newline
31810 \begin_inset Phantom HPhantom
31813 \begin_layout Plain Layout
31814 \begin_inset space ~
31829 \begin_inset Newline newline
31833 \begin_inset Phantom HPhantom
31836 \begin_layout Plain Layout
31837 \begin_inset space ~
31847 renewenvironment{figure}[1]{
31849 begin{SCfigure}[#1]##1}{
31854 \begin_layout Standard
31862 \begin_inset Newline newline
31866 \begin_inset Phantom HPhantom
31869 \begin_layout Plain Layout
31870 \begin_inset space ~
31885 \begin_inset Newline newline
31889 \begin_inset Phantom HPhantom
31892 \begin_layout Plain Layout
31893 \begin_inset space ~
31910 \begin_layout Standard
31912 \begin_inset CommandInset line
31923 \begin_layout Standard
31924 The commands allow you to redefine the floats so that the caption is set
31926 For figure floats use the command
31929 \begin_layout Standard
31937 \begin_layout Standard
31938 in \SpecialChar TeX
31939 Code before the float.
31940 And insert the command
31943 \begin_layout Standard
31951 \begin_layout Standard
31952 in \SpecialChar TeX
31953 Code at the point where you want to get back to the original float definitio
31957 \begin_layout Standard
31958 For table floats use the corresponding commands
31961 \begin_layout Standard
31975 \begin_layout Standard
31977 \begin_inset space ~
31981 \begin_inset CommandInset ref
31983 reference "fig:cap-beside-fig"
31988 \begin_inset space ~
31992 \begin_inset CommandInset ref
31994 reference "tab:cap-beside-tab"
31998 are examples where the caption is set beside.
32001 \begin_layout Standard
32002 You can see in the examples that the caption text appears at the top of
32003 the floats for table floats and at the bottom for figure floats.
32004 To change this, you can use the command
32007 \begin_layout Standard
32012 sidecaptionvpos{float type}{placement}
32015 \begin_layout Standard
32016 in the document preamble or in \SpecialChar TeX
32017 Code before the float.
32018 The float type is either
32026 , the placement can be
32027 \begin_inset Quotes eld
32035 \begin_inset Quotes erd
32039 \begin_inset Quotes eld
32047 \begin_inset Quotes erd
32051 \begin_inset Quotes eld
32059 \begin_inset Quotes erd
32063 To have for example the caption of figure floats vertically centered, use
32067 \begin_layout Standard
32072 sidecaptionvpos{figure}{c}
32075 \begin_layout Standard
32076 This was used for Figure
32077 \begin_inset space ~
32081 \begin_inset CommandInset ref
32083 reference "fig:cap-beside-fig-2"
32090 \begin_layout Standard
32091 \begin_inset VSpace medskip
32097 \begin_layout Standard
32098 The default caption width is the width of the image/table.
32099 For thin image/tables, like in Table
32100 \begin_inset space ~
32104 \begin_inset CommandInset ref
32106 reference "tab:cap-beside-tab"
32110 , this leads to captions that are too thin.
32111 You can increase the width by specifying a factor that will be multiplied
32112 with the image/table width to get the caption width.
32113 The caption width will automatically be recalculated in case it would protrude
32114 over the page or column margin due to the specified width.
32119 can either be given as optional argument for
32128 \begin_layout Standard
32136 \begin_layout Standard
32137 or in the definition of
32147 with another value.
32148 If you do the latter, your factor will be the default if
32154 is used without an argument.
32156 \begin_inset space ~
32160 \begin_inset CommandInset ref
32162 reference "tab:cap-beside-tab-wider"
32166 the factor 5 was used.
32169 \begin_layout Standard
32170 \begin_inset Note Greyedout
32173 \begin_layout Plain Layout
32178 For floats with captions set beside, you cannot use the float placement
32182 \begin_inset space ~
32187 because it is not supported by
32199 \begin_layout Standard
32200 \begin_inset VSpace medskip
32203 For more information about the package
32207 we refer to its documentation
32208 \begin_inset CommandInset citation
32218 \begin_layout Standard
32219 \begin_inset Note Greyedout
32222 \begin_layout Plain Layout
32227 The \SpecialChar LaTeX
32233 \begin_inset Index idx
32238 \begin_layout Plain Layout
32241 \begin_inset IndexMacro subentry
32244 \begin_layout Plain Layout
32255 , described in section
32256 \begin_inset space ~
32260 \begin_inset CommandInset ref
32262 reference "subsec:Reference-Position"
32266 , has no effect on floats with the caption set beside.
32274 \begin_layout Standard
32278 \begin_layout Plain Layout
32290 \begin_layout Standard
32291 \begin_inset Float figure
32298 \begin_layout Plain Layout
32299 \begin_inset Graphics
32300 filename clipart/3D-structure-distort.pdf
32302 scaleBeforeRotation
32309 \begin_layout Plain Layout
32310 \begin_inset Caption Standard
32312 \begin_layout Plain Layout
32313 \begin_inset CommandInset label
32315 name "fig:cap-beside-fig"
32319 This is a caption beside a figure.
32332 \begin_layout Standard
32336 \begin_layout Plain Layout
32348 \begin_layout Standard
32352 \begin_layout Plain Layout
32364 \begin_layout Standard
32365 \begin_inset Float table
32372 \begin_layout Plain Layout
32373 \begin_inset Caption Standard
32375 \begin_layout Plain Layout
32376 \begin_inset CommandInset label
32378 name "tab:cap-beside-tab"
32382 This is a caption beside a table.
32390 \begin_layout Plain Layout
32391 \begin_inset Tabular
32392 <lyxtabular version="3" rows="4" columns="5">
32393 <features tabularvalignment="middle">
32394 <column alignment="center" valignment="top">
32395 <column alignment="center" valignment="top">
32396 <column alignment="center" valignment="top">
32397 <column alignment="center" valignment="top">
32398 <column alignment="center" valignment="top">
32400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32403 \begin_layout Plain Layout
32409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32412 \begin_layout Plain Layout
32418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32421 \begin_layout Plain Layout
32427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32430 \begin_layout Plain Layout
32436 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32439 \begin_layout Plain Layout
32447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32450 \begin_layout Plain Layout
32456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32459 \begin_layout Plain Layout
32465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32468 \begin_layout Plain Layout
32474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32477 \begin_layout Plain Layout
32483 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32486 \begin_layout Plain Layout
32494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32497 \begin_layout Plain Layout
32503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32506 \begin_layout Plain Layout
32512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32515 \begin_layout Plain Layout
32521 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32524 \begin_layout Plain Layout
32530 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32533 \begin_layout Plain Layout
32541 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32544 \begin_layout Plain Layout
32550 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32553 \begin_layout Plain Layout
32559 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32562 \begin_layout Plain Layout
32568 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32571 \begin_layout Plain Layout
32577 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32580 \begin_layout Plain Layout
32599 \begin_layout Standard
32603 \begin_layout Plain Layout
32615 \begin_layout Standard
32619 \begin_layout Plain Layout
32632 \begin_layout Plain Layout
32636 sidecaptionvpos{figure}{c}
32642 \begin_inset Float figure
32649 \begin_layout Plain Layout
32650 \begin_inset Graphics
32651 filename clipart/3D-structure-distort.pdf
32653 scaleBeforeRotation
32660 \begin_layout Plain Layout
32661 \begin_inset Caption Standard
32663 \begin_layout Plain Layout
32664 \begin_inset CommandInset label
32666 name "fig:cap-beside-fig-2"
32670 This is a vertically centered caption beside a figure.
32683 \begin_layout Standard
32687 \begin_layout Plain Layout
32699 \begin_layout Standard
32703 \begin_layout Plain Layout
32715 \begin_layout Standard
32716 \begin_inset Float table
32723 \begin_layout Plain Layout
32724 \begin_inset Caption Standard
32726 \begin_layout Plain Layout
32727 \begin_inset CommandInset label
32729 name "tab:cap-beside-tab-wider"
32733 This caption is wider than the one in Table
32734 \begin_inset space ~
32738 \begin_inset CommandInset ref
32740 reference "tab:cap-beside-tab"
32752 \begin_layout Plain Layout
32753 \begin_inset Tabular
32754 <lyxtabular version="3" rows="4" columns="5">
32755 <features tabularvalignment="middle">
32756 <column alignment="center" valignment="top">
32757 <column alignment="center" valignment="top">
32758 <column alignment="center" valignment="top">
32759 <column alignment="center" valignment="top">
32760 <column alignment="center" valignment="top">
32762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32765 \begin_layout Plain Layout
32771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32774 \begin_layout Plain Layout
32780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32783 \begin_layout Plain Layout
32789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32792 \begin_layout Plain Layout
32798 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32801 \begin_layout Plain Layout
32809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32812 \begin_layout Plain Layout
32818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32821 \begin_layout Plain Layout
32827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32830 \begin_layout Plain Layout
32836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32839 \begin_layout Plain Layout
32845 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32848 \begin_layout Plain Layout
32856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32859 \begin_layout Plain Layout
32865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32868 \begin_layout Plain Layout
32874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32877 \begin_layout Plain Layout
32883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32886 \begin_layout Plain Layout
32892 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32895 \begin_layout Plain Layout
32903 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32906 \begin_layout Plain Layout
32912 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32915 \begin_layout Plain Layout
32921 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32924 \begin_layout Plain Layout
32930 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32933 \begin_layout Plain Layout
32939 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32942 \begin_layout Plain Layout
32961 \begin_layout Standard
32965 \begin_layout Plain Layout
32977 \begin_layout Standard
32981 \begin_layout Plain Layout
32991 \begin_inset Note Note
32994 \begin_layout Plain Layout
32995 The following will be displayed when the \SpecialChar LaTeX
33008 \begin_layout Standard
33009 You need to install the \SpecialChar LaTeX
33014 to see the following part of this section in the output.
33017 \begin_layout Standard
33021 \begin_layout Plain Layout
33033 \begin_layout Section
33035 \begin_inset Index idx
33040 \begin_layout Plain Layout
33042 \begin_inset IndexMacro subentry
33045 \begin_layout Plain Layout
33059 \begin_layout Standard
33060 Similar to the table of contents where the sections of the document are
33061 listed, there are listings for all float types, like the figures of the
33063 You can insert them via the
33065 Insert\SpecialChar menuseparator
33067 \begin_inset space ~
33071 \begin_inset space ~
33079 \begin_layout Standard
33080 The list entries are the float captions or its short title, the float number,
33081 and the page number where they appear in the document.
33084 \begin_layout Standard
33085 You can find the list of figures and tables at the end of this document.
33088 \begin_layout Chapter
33092 \begin_layout Section
33095 \begin_inset Index idx
33100 \begin_layout Plain Layout
33102 \begin_inset IndexMacro subentry
33105 \begin_layout Plain Layout
33120 \begin_layout Standard
33121 Notes are inserted with the toolbar button
33129 Insert\SpecialChar menuseparator
33133 There are three types of notes:
33136 \begin_layout Description
33139 \begin_inset space ~
33142 Note This note type is for internal notes that won't appear in the output.
33143 Its note-box looks like this:
33144 \begin_inset Newline newline
33148 \begin_inset Newline newline
33152 \begin_inset Graphics
33153 filename clipart/LyXNoteImage.png
33155 scaleBeforeRotation
33160 \begin_inset Note Note
33163 \begin_layout Plain Layout
33164 This is text in a note box that doesn't appear in the output.
33172 \begin_layout Description
33173 Comment This note also doesn't appear in the output but it appears as \SpecialChar LaTeX
33175 when you export the document to \SpecialChar LaTeX
33178 File\SpecialChar menuseparator
33179 Export\SpecialChar menuseparator
33181 \begin_inset space ~
33184 (pdflatex) / (plain)
33187 Its note-box looks like this:
33188 \begin_inset Newline newline
33192 \begin_inset Newline newline
33196 \begin_inset Graphics
33197 filename clipart/CommentNoteImage.png
33199 scaleBeforeRotation
33204 \begin_inset Note Comment
33207 \begin_layout Plain Layout
33208 This is text in a note box that only appears as comment in \SpecialChar LaTeX
33217 \begin_layout Description
33219 \begin_inset space ~
33222 Out This note will appear in the output as grey text.
33223 Its note-box looks like this:
33224 \begin_inset Newline newline
33228 \begin_inset Newline newline
33232 \begin_inset Graphics
33233 filename clipart/GreyedOutNoteImage.png
33235 scaleBeforeRotation
33240 \begin_inset Newline newline
33247 \begin_layout Plain Layout
33251 renewenvironment{lyxgreyedout}
33254 \begin_layout Plain Layout
33258 textcolor[gray]{0.8}
33268 \begin_inset Note Greyedout
33271 \begin_layout Plain Layout
33272 This is text of a comment that appears grey in the output.
33281 \begin_layout Plain Layout
33285 renewenvironment{lyxgreyedout}
33288 \begin_layout Plain Layout
33302 \begin_inset Note Note
33305 \begin_layout Plain Layout
33306 The greyed out note is here redefined to show it with the original \SpecialChar LyX
33308 because greyed out notes are redefined in the preamble of this document,
33309 as described below, to have blue text.
33315 \begin_inset Newline newline
33319 \begin_inset Newline newline
33322 As you can see in the example, the first line of greyed out notes is a bit
33323 indented and greyed out notes can have footnotes.
33326 \begin_layout Standard
33327 \begin_inset VSpace bigskip
33330 When you use the toolbar button
33340 \begin_inset space ~
33346 You can switch between the three note types by right-clicking on the note-box.
33351 If you want to turn existing text into a note, mark it and click on the
33365 To change a note to text, press the backspace key when the cursor is in
33366 the first position of a note, or press the delete key when the cursor is
33367 in the very last position of the note, respectively.
33370 \begin_layout Standard
33371 \begin_inset VSpace bigskip
33374 You can change the text color of the greyed out notes in the menu
33376 Document\SpecialChar menuseparator
33377 Settings\SpecialChar menuseparator
33383 \begin_layout Section
33385 \begin_inset CommandInset label
33387 name "sec:Footnotes"
33392 \begin_inset Index idx
33397 \begin_layout Plain Layout
33399 \begin_inset IndexMacro subentry
33402 \begin_layout Plain Layout
33414 \begin_inset Index idx
33419 \begin_layout Plain Layout
33428 \begin_layout Standard
33429 Footnotes can be inserted using the toolbar button
33432 arg "footnote-insert"
33437 Insert\SpecialChar menuseparator
33441 You will then see the following footnote-box:
33442 \begin_inset Graphics
33443 filename clipart/footnote.png
33445 scaleBeforeRotation
33453 where you can enter the footnote text.
33454 If you want to turn existing text into a footnote, mark it and click on
33480 key when the cursor is in the first position of a
33492 key when the cursor is in the very last position of the
33503 \begin_layout Standard
33504 Here is an example footnote:
33512 \begin_layout Plain Layout
33513 \begin_inset CommandInset label
33515 name "foot:This-is-an"
33519 This is an example footnote.
33532 \begin_layout Plain Layout
33536 newcounter{MyRepeatFoot}
33539 \begin_layout Plain Layout
33543 setcounter{MyRepeatFoot}{
33553 \begin_layout Standard
33554 The footnote will appear in the output as a superscript number at the text
33555 position where the footnote box is placed.
33556 The footnote text is placed at the bottom of the current page.
33557 The footnote number is calculated by \SpecialChar LaTeX
33558 ; the numbers are consecutive.
33559 Whether the footnote number is reset for every chapter depends on your
33563 \begin_layout Standard
33564 Footnotes can be referenced like floats: Insert a label into the footnote
33565 and cross-reference this label in the text as described in section
33566 \begin_inset space ~
33570 \begin_inset CommandInset ref
33572 reference "sec:Referencing-Floats"
33577 \begin_inset Newline newline
33580 This is a cross-reference of Footnote
33581 \begin_inset space ~
33585 \begin_inset CommandInset ref
33587 reference "foot:This-is-an"
33594 \begin_layout Standard
33595 \begin_inset VSpace defskip
33598 Footnotes in title environments are usually not numbered with symbols and
33599 they cannot contain several paragraphs.
33600 See for example the footnote in the titling of this document.
33603 \begin_layout Standard
33604 Footnotes in multi-page tables are described in section
33605 \begin_inset space ~
33609 \begin_inset CommandInset ref
33611 reference "subsec:Footnotes-in-Multi-page"
33618 \begin_layout Standard
33619 \begin_inset VSpace defskip
33625 \begin_layout Standard
33626 Footnotes in minipage boxes are printed, but inside the box and with a different
33627 numbering because a minipage box is like a page inside a page.
33628 (For more about minipages, see section
33629 \begin_inset space ~
33633 \begin_inset CommandInset ref
33635 reference "sec:Minipages"
33639 .) To get a footnote in the minipage that is output at the bottom of the
33640 page like normal footnotes use this method: Instead of the footnote the
33647 is inserted as \SpecialChar TeX
33649 The text of the footnote is entered as an argument of the \SpecialChar TeX
33657 after the minipage.
33658 \begin_inset Newline newline
33661 This was done for the following minipage with the command
33664 \begin_layout Standard
33671 Footnote outside the minipage.
33676 \begin_layout Standard
33677 \begin_inset Box Frameless
33687 height_special "totalheight"
33692 backgroundcolor "none"
33695 \begin_layout Plain Layout
33696 This an example text in a minipage.
33700 \begin_layout Plain Layout
33701 Footnote in the minipage.
33709 \begin_layout Plain Layout
33710 This an example text in a minipage.
33714 \begin_layout Plain Layout
33731 \begin_layout Standard
33735 \begin_layout Plain Layout
33744 Footnote outside the minipage.
33748 \begin_layout Plain Layout
33758 \begin_layout Standard
33759 \begin_inset VSpace defskip
33765 \begin_layout Standard
33766 To refer to the same footnote several times without printing the footnote
33767 text every time, use the command
33771 footnotemark[number]
33773 in \SpecialChar TeX
33775 \begin_inset Newline newline
33778 As you do not know the number of the repeating footnote while you are writing
33779 the text, you have to store its number.
33780 For the following footnote mark example, these commands were inserted in
33782 code after Footnote
33783 \begin_inset space ~
33787 \begin_inset CommandInset ref
33789 reference "foot:This-is-an"
33793 to store the footnote number:
33796 \begin_layout Standard
33801 newcounter{MyRepeatFoot}
33802 \begin_inset Newline newline
33807 setcounter{MyRepeatFoot}{
33812 \begin_layout Standard
33813 The footnote mark was then created with this command:
33816 \begin_layout Standard
33826 \begin_layout Standard
33827 Here is a repeated footnote:
33835 \begin_layout Plain Layout
33849 \begin_layout Standard
33850 If you want to repeat the previous footnote, you can omit the storage of
33851 the footnote number and just use this command instead:
33854 \begin_layout Standard
33864 \begin_layout Standard
33865 Here is another repeated footnote:
33873 \begin_layout Plain Layout
33887 \begin_layout Subsection
33889 \begin_inset CommandInset label
33891 name "subsec:Footnote-Numbering"
33896 \begin_inset Index idx
33901 \begin_layout Plain Layout
33903 \begin_inset IndexMacro subentry
33906 \begin_layout Plain Layout
33920 \begin_layout Standard
33921 To reset the footnote number back to 1 after each section
33923 , add this command to your document preamble:
33926 \begin_layout Standard
33931 @addtoreset{footnote}{section}
33934 \begin_layout Standard
33935 \begin_inset VSpace bigskip
33938 The following preamble command changes the footnote numbering style to small
33942 \begin_layout Standard
33954 \begin_layout Standard
33958 \begin_layout Plain Layout
33971 This is a footnote with roman numbering:
33975 \begin_layout Plain Layout
33976 This is an example footnote with roman numbering.
33984 \begin_layout Standard
33985 To change the numbering style to capital roman numerals replace in the command
34000 \begin_inset Quotes eld
34004 \begin_inset Quotes erd
34007 footnotes with capital or small Latin letters use
34021 \begin_inset Quotes eld
34025 \begin_inset Quotes erd
34028 footnotes with symbols use
34037 \begin_layout Standard
34038 \begin_inset Note Greyedout
34041 \begin_layout Plain Layout
34046 You can only number 26 footnotes with Latin letters, because this numbering
34047 is limited to single letters.
34053 \begin_inset Newline newline
34057 \begin_inset Note Greyedout
34060 \begin_layout Plain Layout
34065 You can only number 9 footnotes with symbols.
34073 \begin_layout Standard
34074 To return to the default numbering style after you have changed to another
34087 in the command above.
34091 \begin_layout Plain Layout
34107 \begin_layout Standard
34108 \begin_inset VSpace bigskip
34114 \begin_layout Standard
34115 If you want to have footnotes numbered in the scheme
34116 \begin_inset Quotes eld
34120 \begin_inset Quotes erd
34123 , add the following command to your document preamble:
34126 \begin_layout Standard
34131 numberwithin{footnote}{chapter}
34134 \begin_layout Standard
34135 To be able to use the command
34144 \begin_inset space ~
34149 in the document settings the option
34152 \begin_inset space ~
34156 \begin_inset space ~
34160 \begin_inset space ~
34168 \begin_layout Standard
34172 \begin_layout Plain Layout
34176 numberwithin{footnote}{chapter}
34181 This is another example footnote:
34187 \begin_layout Plain Layout
34188 This is a footnote numbered in the scheme
34189 \begin_inset Quotes eld
34193 \begin_inset Quotes erd
34207 \begin_layout Plain Layout
34223 \begin_layout Standard
34224 \begin_inset Note Greyedout
34227 \begin_layout Plain Layout
34238 always prints out the footnote number as arabic number; previous redefinitions
34239 to get non-arabic numbers are overwritten.
34247 \begin_layout Standard
34248 So to get for example the scheme
34249 \begin_inset Quotes eld
34255 \begin_inset Quotes erd
34258 , use this command instead of
34267 \begin_layout Standard
34281 \begin_layout Subsection
34283 \begin_inset Index idx
34288 \begin_layout Plain Layout
34290 \begin_inset IndexMacro subentry
34293 \begin_layout Plain Layout
34307 \begin_layout Standard
34308 If you have several footnotes in one page, they appear without vertical
34309 space between them at the bottom of the page.
34310 To make them more readable you can e.
34311 \begin_inset space \thinspace{}
34315 \begin_inset space \space{}
34319 \begin_inset space \thinspace{}
34322 mm space with the following preamble command:
34325 \begin_layout Standard
34335 \begin_inset Newline newline
34349 \begin_layout Standard
34350 \begin_inset VSpace bigskip
34353 In a two-column document the footnotes appear at the bottom of every column,
34355 \begin_inset space ~
34359 \begin_inset CommandInset ref
34361 reference "fig:Standard-footnote-placement"
34366 If the footnotes should only appear at the bottom of the right column,
34368 \begin_inset space ~
34372 \begin_inset CommandInset ref
34374 reference "fig:Footnote-placement-in"
34378 , use the \SpecialChar LaTeX
34384 \begin_inset Index idx
34389 \begin_layout Plain Layout
34392 \begin_inset IndexMacro subentry
34395 \begin_layout Plain Layout
34406 with this command in the document preamble:
34409 \begin_layout Standard
34414 usepackage{ftnright}
34417 \begin_layout Standard
34418 \begin_inset Float figure
34425 \begin_layout Plain Layout
34428 \begin_inset Box Boxed
34438 height_special "totalheight"
34443 backgroundcolor "none"
34446 \begin_layout Plain Layout
34447 \begin_inset Graphics
34448 filename clipart/without_fntright.pdf
34450 scaleBeforeRotation
34462 \begin_layout Plain Layout
34463 \begin_inset Caption Standard
34465 \begin_layout Plain Layout
34466 \begin_inset CommandInset label
34468 name "fig:Standard-footnote-placement"
34472 Standard footnote placement in two-column documents.
34485 \begin_layout Standard
34486 \begin_inset Float figure
34493 \begin_layout Plain Layout
34496 \begin_inset Box Boxed
34506 height_special "totalheight"
34511 backgroundcolor "none"
34514 \begin_layout Plain Layout
34515 \begin_inset Graphics
34516 filename clipart/with_fntright.pdf
34518 scaleBeforeRotation
34530 \begin_layout Plain Layout
34531 \begin_inset Caption Standard
34533 \begin_layout Plain Layout
34534 \begin_inset CommandInset label
34536 name "fig:Footnote-placement-in"
34540 Footnote placement in two-column documents when the \SpecialChar LaTeX
34558 \begin_layout Standard
34559 \begin_inset VSpace bigskip
34562 In some scientific literature it is usual to collect the footnotes and print
34563 them in a separate paragraph at the end of a section, as in Figure
34564 \begin_inset space ~
34568 \begin_inset CommandInset ref
34570 reference "fig:Endnotes"
34575 They are then called
34576 \begin_inset Quotes eld
34580 \begin_inset Quotes erd
34584 \begin_inset Index idx
34589 \begin_layout Plain Layout
34595 To use endnotes instead of footnotes in your document, load in the menu
34598 Document\SpecialChar menuseparator
34599 Settings\SpecialChar menuseparator
34605 \begin_inset space ~
34609 \begin_inset space ~
34615 To insert the collected footnotes, insert the command
34618 \begin_layout Standard
34626 \begin_layout Standard
34627 in \SpecialChar TeX
34628 Code at the end of a section or chapter.
34631 \begin_layout Standard
34632 \begin_inset Float figure
34639 \begin_layout Plain Layout
34642 \begin_inset Box Boxed
34652 height_special "totalheight"
34657 backgroundcolor "none"
34660 \begin_layout Plain Layout
34661 \begin_inset Graphics
34662 filename clipart/endnotes.pdf
34664 scaleBeforeRotation
34676 \begin_layout Plain Layout
34677 \begin_inset Caption Standard
34679 \begin_layout Plain Layout
34680 \begin_inset CommandInset label
34682 name "fig:Endnotes"
34686 Endnotes – footnotes are printed in a separate paragraph at the end of sections
34700 \begin_layout Standard
34701 \begin_inset VSpace medskip
34704 The paragraph heading for the endnotes isn't automatically translated into
34705 the document language, this must be done manually.
34706 The following preamble command translates the default English
34707 \begin_inset Quotes eld
34711 \begin_inset Quotes erd
34715 \begin_inset Quotes eld
34719 \begin_inset Quotes erd
34725 \begin_layout Standard
34732 notesname}{Anmerkungen}
34735 \begin_layout Standard
34736 \begin_inset VSpace medskip
34739 The numbering of endnotes can be changed like the footnote numbering as
34740 described in section
34741 \begin_inset space ~
34745 \begin_inset CommandInset ref
34747 reference "subsec:Footnote-Numbering"
34751 ; just replace the command
34764 To reset the endnote number use the command
34770 as described in section
34771 \begin_inset space ~
34775 \begin_inset CommandInset ref
34777 reference "subsec:Footnote-Numbering"
34781 and replace the command parameter
34792 \begin_layout Standard
34793 For endnotes there is the command
34797 endnotemark[number]
34799 similar to the command
34805 , that is described in section
34806 \begin_inset space ~
34810 \begin_inset CommandInset ref
34812 reference "sec:Footnotes"
34819 \begin_layout Standard
34820 \begin_inset VSpace bigskip
34823 Footnotes can also be placed in the page margin and the footnote text alignment
34824 can be changed, see the \SpecialChar LaTeX
34830 \begin_inset Index idx
34835 \begin_layout Plain Layout
34838 \begin_inset IndexMacro subentry
34841 \begin_layout Plain Layout
34853 \begin_inset CommandInset citation
34860 for more information about this.
34863 \begin_layout Standard
34864 For various further footnote formatting issues have a look at \SpecialChar LaTeX
34866 \begin_inset CommandInset citation
34868 key "latexcompanion,latexguide,latexbook"
34879 \begin_inset Index idx
34884 \begin_layout Plain Layout
34887 \begin_inset IndexMacro subentry
34890 \begin_layout Plain Layout
34901 document class, you can adjust all footnote settings using class-specific
34903 \begin_inset CommandInset citation
34913 \begin_layout Section
34915 \begin_inset Index idx
34920 \begin_layout Plain Layout
34922 \begin_inset IndexMacro subentry
34925 \begin_layout Plain Layout
34939 \begin_layout Standard
34940 Margin notes look and behave in \SpecialChar LyX
34942 They are inserted via the menu
34944 Insert\SpecialChar menuseparator
34946 \begin_inset space ~
34951 or the toolbar button
34954 arg "marginalnote-insert"
34968 \begin_inset Quotes eld
34972 \begin_inset Quotes erd
34975 appears where you can enter the text of the margin note.
34978 \begin_layout Standard
34979 At the side is an example margin note.
34984 \begin_inset Marginal
34987 \begin_layout Plain Layout
34988 This is a margin note.
34996 \begin_layout Standard
34997 Margin notes appear at the right side in single-sided documents.
34998 In double-sided documents they appear in the outer margin – left on even
34999 pages, right on odd pages.
35000 The text of margin notes is aligned opposite to the outer margin – right-aligne
35001 d when the note appears in the left margin.
35002 The first line of the margin note is placed at the position of the text
35003 line where it is inserted in the document.
35006 \begin_layout Standard
35007 \begin_inset VSpace bigskip
35010 To place the margin note in the inner margin, add the command
35013 \begin_layout Standard
35021 \begin_layout Standard
35022 in \SpecialChar TeX
35023 Code before a margin note.
35024 The new placement is valid for all subsequent margin notes.
35029 \begin_layout Plain Layout
35039 \begin_inset Marginal
35042 \begin_layout Plain Layout
35043 This is a margin note in the inner margin.
35051 \begin_inset Newline newline
35057 \begin_inset Note Greyedout
35060 \begin_layout Plain Layout
35065 There is often not enough space in the inner margin so that the notes are
35066 not correctly displayed in the output.
35074 \begin_layout Standard
35075 To return to the default placement insert the command
35078 \begin_layout Standard
35086 \begin_layout Standard
35087 in \SpecialChar TeX
35092 \begin_layout Plain Layout
35102 \begin_inset Note Greyedout
35105 \begin_layout Plain Layout
35110 The command is ignored when it is within a paragraph where also the command
35125 \begin_layout Standard
35126 \begin_inset VSpace bigskip
35133 \begin_inset Marginal
35136 \begin_layout Plain Layout
35137 AVeryLongMarginParWord that isn't hyphenated.
35145 Similar to the case described in section
35146 \begin_inset space ~
35150 \begin_inset CommandInset ref
35152 reference "subsec:Multiple-Lines-in"
35156 , long words cannot be hyphenated when they are the first word in a margin
35158 To avoid this, insert 0
35159 \begin_inset space \thinspace{}
35162 pt horizontal space before the word
35167 \begin_inset Marginal
35170 \begin_layout Plain Layout
35171 \begin_inset space \hspace*{}
35175 AVeryLongMarginParWord that is hyphenated.
35183 \begin_layout Standard
35184 \begin_inset VSpace bigskip
35190 \begin_layout Standard
35191 \begin_inset Note Greyedout
35194 \begin_layout Plain Layout
35199 Margin notes can normally not be used inside tables, floats, and footnotes.
35207 \begin_layout Standard
35208 \begin_inset VSpace bigskip
35214 \begin_layout Standard
35218 \begin_layout Plain Layout
35228 \begin_inset Note Note
35231 \begin_layout Plain Layout
35232 The following section will only be displayed when the \SpecialChar LaTeX
35245 \begin_layout Standard
35246 This restriction can be evaded by using the \SpecialChar LaTeX
35252 \begin_inset Index idx
35257 \begin_layout Plain Layout
35260 \begin_inset IndexMacro subentry
35263 \begin_layout Plain Layout
35275 By adding these two lines to your document preamble, the command used by
35277 for margin notes is redefined to use the command provided by the
35284 \begin_layout Standard
35289 usepackage{marginnote}
35290 \begin_inset Newline newline
35302 \begin_layout Standard
35303 This is also used in this document because
35307 has another useful feature: You can set a vertical offset for the note.
35308 This is often needed when too many margin notes are too close together
35309 or for a better page layout.
35310 The offset is set in \SpecialChar LyX
35311 as \SpecialChar TeX
35312 Code directly after the margin note in the scheme
35315 \begin_layout Standard
35321 \begin_layout Standard
35322 where the offset is a length with one of the units listed in Table
35323 \begin_inset space ~
35327 \begin_inset CommandInset ref
35329 reference "tab:Units"
35334 A negative value shifts the note up, a positive value shifts it down.
35338 For example the margin note beside this text line is shifted up 1.5
35339 \begin_inset space \thinspace{}
35342 cm with the \SpecialChar TeX
35344 \begin_inset Quotes eld
35354 \begin_inset Quotes erd
35358 \begin_inset Marginal
35361 \begin_layout Plain Layout
35362 This margin note is shifted up 1.5
35363 \begin_inset space \thinspace{}
35366 cm from its original position.
35378 \begin_layout Plain Layout
35388 \begin_layout Standard
35389 \begin_inset VSpace medskip
35396 you can also change the alignment of the text in the margin note.
35397 For example the commands
35400 \begin_layout Standard
35407 raggedleftmarginnote}{
35410 \begin_inset Newline newline
35417 raggedrightmarginnote}{
35422 \begin_layout Standard
35423 set the alignment to centered.
35428 raggedleftmarginnote
35430 denotes margin notes that appear at the left side.
35437 \begin_layout Plain Layout
35443 raggedleftmarginnote}{
35448 \begin_layout Plain Layout
35454 raggedrightmarginnote}{
35462 \begin_inset Marginal
35465 \begin_layout Plain Layout
35466 The text of this margin note is centered.
35477 \begin_layout Standard
35484 raggedleftmarginnote}{
35487 \begin_inset Newline newline
35494 raggedrightmarginnote}{
35503 \begin_layout Plain Layout
35509 raggedleftmarginnote}{
35514 \begin_layout Plain Layout
35520 raggedrightmarginnote}{
35530 \begin_layout Standard
35531 \begin_inset VSpace medskip
35534 For the other features of
35538 refer to its documentation
35539 \begin_inset CommandInset citation
35549 \begin_layout Standard
35550 \begin_inset VSpace bigskip
35553 You can adjust the layout of margin notes by changing its definition.
35554 To create for example a header for all margin notes with the underlined,
35555 sans-serif, and bold header text
35556 \begin_inset Quotes eld
35568 \begin_inset Quotes erd
35571 , add this to your document preamble:
35574 \begin_layout Standard
35584 \begin_inset Newline newline
35594 \begin_inset Newline newline
35598 \begin_inset Phantom HPhantom
35601 \begin_layout Plain Layout
35604 \begin_inset space ~
35620 underbar{Attention!}}}%
35621 \begin_inset Newline newline
35625 \begin_inset Phantom HPhantom
35628 \begin_layout Plain Layout
35631 \begin_inset space ~
35648 \begin_layout Standard
35655 \begin_layout Plain Layout
35666 \begin_layout Plain Layout
35677 \begin_layout Plain Layout
35685 underbar{Attention!}}}%
35688 \begin_layout Plain Layout
35702 \begin_inset Marginal
35705 \begin_layout Plain Layout
35706 This is a margin note with a defined heading.
35718 \begin_layout Plain Layout
35732 \begin_layout Plain Layout
35749 \begin_inset Note Note
35752 \begin_layout Plain Layout
35753 The margin note format is changed only for this example.
35761 \begin_layout Standard
35765 \begin_layout Plain Layout
35775 \begin_inset Note Note
35778 \begin_layout Plain Layout
35779 The following will be displayed when the \SpecialChar LaTeX
35792 \begin_layout Standard
35793 You need to install the \SpecialChar LaTeX
35798 to see the following part of this section in the output.
35801 \begin_layout Standard
35805 \begin_layout Plain Layout
35817 \begin_layout Chapter
35821 \begin_layout Section
35823 \begin_inset Index idx
35828 \begin_layout Plain Layout
35830 \begin_inset IndexMacro subentry
35833 \begin_layout Plain Layout
35847 \begin_layout Standard
35848 Boxes are used to format a block of text.
35849 Boxes can be used to write documents with multiple languages, see section
35850 \begin_inset space ~
35854 \begin_inset CommandInset ref
35856 reference "sec:Minipages"
35860 , to frame texts, see section
35861 \begin_inset space ~
35865 \begin_inset CommandInset ref
35867 reference "sec:Decoration"
35871 , to prevent words from being hyphenated, see section
35872 \begin_inset space ~
35876 \begin_inset CommandInset ref
35878 reference "sec:Prevent-Hyphenation"
35882 , to align text, see section
35883 \begin_inset space ~
35887 \begin_inset CommandInset ref
35889 reference "subsec:Vertical-Alignment"
35893 , or to set the background color of texts, see section
35894 \begin_inset space ~
35898 \begin_inset CommandInset ref
35900 reference "sec:Colored-Boxes"
35907 \begin_layout Standard
35908 Boxes can be inserted with the menu
35910 Insert\SpecialChar menuseparator
35913 or the toolbar button
35916 arg "box-insert Frameless"
35920 A grey box with the label
35925 \begin_inset Graphics
35926 filename clipart/BoxInsetDefault.png
35928 scaleBeforeRotation
35933 The box type can be specified by right-clicking on the box and selecting
35939 The box dialog offers the
35942 \begin_inset space ~
35964 is the default for new boxes and is explained in section
35965 \begin_inset space ~
35969 \begin_inset CommandInset ref
35971 reference "sec:Minipages"
35979 is described in section
35980 \begin_inset space ~
35984 \begin_inset CommandInset ref
35986 reference "sec:Parboxes"
35995 \begin_inset CommandInset ref
35997 reference "sec:Prevent-Hyphenation"
36004 \begin_layout Standard
36005 Boxes are not numbered and can therefore not be referenced like floats or
36009 \begin_layout Standard
36010 \begin_inset Note Greyedout
36013 \begin_layout Plain Layout
36018 Boxes must not be the item in an
36034 \begin_layout Standard
36035 \begin_inset Note Greyedout
36038 \begin_layout Plain Layout
36043 For an unknown reason you can only set the
36046 \begin_inset space ~
36055 when you use a framed box.
36059 \begin_inset space ~
36064 type and without frames are explained in section
36065 \begin_inset space ~
36069 \begin_inset CommandInset ref
36071 reference "sec:Prevent-Hyphenation"
36083 \begin_layout Section
36085 \begin_inset CommandInset label
36087 name "sec:Box-Dialog"
36092 \begin_inset Index idx
36097 \begin_layout Plain Layout
36099 \begin_inset IndexMacro subentry
36102 \begin_layout Plain Layout
36116 \begin_layout Subsection
36118 \begin_inset Index idx
36123 \begin_layout Plain Layout
36125 \begin_inset IndexMacro subentry
36128 \begin_layout Plain Layout
36142 \begin_layout Standard
36143 In the box dialog you can adjust the box geometry in the fields
36152 The available units for the geometry are explained in Table
36153 \begin_inset space ~
36157 \begin_inset CommandInset ref
36159 reference "tab:Units"
36168 offers the following additional sizes:
36171 \begin_layout Description
36172 Depth This is the plain text
36173 \begin_inset Quotes eld
36177 \begin_inset Quotes erd
36181 It ignores the total depth when there are multiple text lines in the box:
36182 \begin_inset Newline newline
36186 \begin_inset Newline newline
36190 \begin_inset Newline newline
36194 \begin_inset Box Boxed
36204 height_special "depth"
36209 backgroundcolor "none"
36212 \begin_layout Plain Layout
36214 Box height set to 1
36215 \begin_inset space \thinspace{}
36224 \begin_inset Newline newline
36228 \begin_inset Newline newline
36234 \begin_layout Description
36235 Height This is the height of the text that is inside the box.
36237 \begin_inset space \thinspace{}
36241 \begin_inset space \space{}
36244 2 for this size will set the box height to 2
36245 \begin_inset space ~
36248 times the text height:
36249 \begin_inset Box Boxed
36259 height_special "height"
36264 backgroundcolor "none"
36267 \begin_layout Plain Layout
36269 Box height set to 2
36270 \begin_inset space \thinspace{}
36281 \begin_layout Description
36283 \begin_inset space ~
36286 Height This is the Height
36287 \begin_inset space \thinspace{}
36291 \begin_inset space \thinspace{}
36295 \begin_inset Box Boxed
36305 height_special "totalheight"
36310 backgroundcolor "none"
36313 \begin_layout Plain Layout
36315 Box height set to 1
36316 \begin_inset space \thinspace{}
36320 \begin_inset space ~
36331 \begin_layout Description
36332 Width This sets the width of the box as height:
36333 \begin_inset Box Boxed
36343 height_special "width"
36348 backgroundcolor "none"
36351 \begin_layout Plain Layout
36353 Box height set to 1
36354 \begin_inset space \thinspace{}
36365 \begin_layout Subsection
36367 \begin_inset Index idx
36372 \begin_layout Plain Layout
36374 \begin_inset IndexMacro subentry
36377 \begin_layout Plain Layout
36391 \begin_layout Standard
36392 When you have chosen an
36395 \begin_inset space ~
36400 , the vertical box alignment can be:
36403 \begin_layout Description
36404 Top This is an example text line.
36406 \begin_inset Box Boxed
36416 height_special "totalheight"
36421 backgroundcolor "none"
36424 \begin_layout Plain Layout
36426 This box is top-aligned.
36431 This is an example text line.
36434 \begin_layout Description
36435 Middle This is an example text line.
36437 \begin_inset Box Boxed
36447 height_special "totalheight"
36452 backgroundcolor "none"
36455 \begin_layout Plain Layout
36457 This box is middle-aligned.
36462 This is an example text line.
36465 \begin_layout Description
36466 Bottom This is an example text line.
36468 \begin_inset Box Boxed
36478 height_special "totalheight"
36483 backgroundcolor "none"
36486 \begin_layout Plain Layout
36488 This box is bottom-aligned.
36493 This is an example text line.
36496 \begin_layout Standard
36497 \begin_inset Note Greyedout
36500 \begin_layout Plain Layout
36505 The vertical box alignment can be lost in the output when you have two
36506 boxes in a line and one has e.
36507 \begin_inset space \thinspace{}
36511 \begin_inset space \space{}
36514 a shadow and the other one not.
36522 \begin_layout Standard
36523 The horizontal box alignment can be set via \SpecialChar LyX
36524 's paragraph dialog when you
36525 set the box into its own paragraph.
36528 \begin_layout Standard
36529 \begin_inset VSpace bigskip
36532 When you have chosen an
36535 \begin_inset space ~
36540 , the box content can be aligned vertically to:
36543 \begin_layout Description
36544 top This is an example text line.
36546 \begin_inset Box Boxed
36556 height_special "totalheight"
36561 backgroundcolor "none"
36564 \begin_layout Plain Layout
36566 This box text is top-aligned.
36571 This is an example text line.
36574 \begin_layout Description
36575 middle This is an example text line.
36577 \begin_inset Box Boxed
36587 height_special "totalheight"
36592 backgroundcolor "none"
36595 \begin_layout Plain Layout
36597 This box text is middle-aligned.
36602 This is an example text line.
36605 \begin_layout Description
36606 bottom This is an example text line.
36608 \begin_inset Box Boxed
36618 height_special "totalheight"
36623 backgroundcolor "none"
36626 \begin_layout Plain Layout
36628 This box text is bottom-aligned.
36633 This is an example text line.
36636 \begin_layout Description
36637 stretch This is an example text line.
36639 \begin_inset Box Boxed
36649 height_special "totalheight"
36654 backgroundcolor "none"
36657 \begin_layout Plain Layout
36662 \begin_layout Plain Layout
36667 \begin_layout Plain Layout
36674 This is an example text line.
36677 \begin_layout Standard
36678 To stretch the box content, it must consist of more than one paragraph.
36679 In the example above every text line is in an own paragraph.
36682 \begin_layout Standard
36683 \begin_inset VSpace bigskip
36686 To align the box content horizontally you can use \SpecialChar LyX
36687 's paragraph dialog when
36691 \begin_inset space ~
36699 \begin_layout Standard
36701 \begin_inset Box Boxed
36711 height_special "totalheight"
36716 backgroundcolor "none"
36719 \begin_layout Plain Layout
36724 \begin_layout Plain Layout
36729 \begin_layout Plain Layout
36739 \begin_layout Standard
36740 If you have not set an
36743 \begin_inset space ~
36748 , you can align the box content horizontally in the box dialog.
36751 \begin_layout Standard
36753 \begin_inset Box Boxed
36763 height_special "totalheight"
36768 backgroundcolor "none"
36771 \begin_layout Plain Layout
36772 This box text is horizontally stretched.
36780 \begin_layout Subsection
36782 \begin_inset CommandInset label
36784 name "sec:Decoration"
36789 \begin_inset Index idx
36794 \begin_layout Plain Layout
36796 \begin_inset IndexMacro subentry
36799 \begin_layout Plain Layout
36813 \begin_layout Standard
36814 The type of the box can be specified in the box dialog in the drop-down
36820 The following types are possible:
36823 \begin_layout Description
36825 \begin_inset space ~
36828 frame Nothing is drawn.
36831 \begin_layout Description
36833 \begin_inset space ~
36837 \begin_inset space ~
36840 frame This draws a rectangular frame around the box.
36841 The frame line thickness can be specified.
36843 \begin_inset Box Boxed
36853 height_special "totalheight"
36858 backgroundcolor "none"
36861 \begin_layout Plain Layout
36871 \begin_layout Description
36873 \begin_inset space ~
36877 \begin_inset space ~
36880 thin This draws an oval frame around the box.
36881 The frame line thickness has the size 0.4
36882 \begin_inset space \thinspace{}
36887 \begin_inset Box ovalbox
36897 height_special "totalheight"
36902 backgroundcolor "none"
36905 \begin_layout Plain Layout
36915 \begin_layout Description
36917 \begin_inset space ~
36921 \begin_inset space ~
36924 thick This draws an oval frame around the box.
36925 The frame line thickness has the size 0.8
36926 \begin_inset space \thinspace{}
36931 \begin_inset Box Ovalbox
36941 height_special "totalheight"
36946 backgroundcolor "none"
36949 \begin_layout Plain Layout
36959 \begin_layout Description
36961 \begin_inset space ~
36964 shadow This draws a rectangular frame with a shadow around the box.
36965 The frame line thickness and the shadow can be specified.
36967 \begin_inset Box Shadowbox
36977 height_special "totalheight"
36982 backgroundcolor "none"
36985 \begin_layout Plain Layout
36995 \begin_layout Description
36997 \begin_inset space ~
37000 background This draws a box with a red background.
37001 Unlike colored boxes
37005 \begin_layout Plain Layout
37007 \begin_inset space \thinspace{}
37011 \begin_inset CommandInset ref
37013 reference "sec:Colored-Boxes"
37022 , it always uses the whole column width and the box is set as its own paragraph.
37024 \begin_inset Box Shaded
37034 height_special "totalheight"
37039 backgroundcolor "none"
37042 \begin_layout Plain Layout
37043 Shaded background box
37051 \begin_layout Description
37053 \begin_inset space ~
37057 \begin_inset space ~
37060 frame This draws a double-line rectangular frame around the box.
37061 The line thickness of the inner frame is 0.75
37062 \begin_inset space \thinspace{}
37066 \begin_inset space ~
37069 thickness, the thickness of the outer frame is 1.5
37070 \begin_inset space \thinspace{}
37074 \begin_inset space ~
37078 The distance between the lines is 1.5
37079 \begin_inset space \thinspace{}
37083 \begin_inset space ~
37087 \begin_inset space \thinspace{}
37091 \begin_inset space \thinspace{}
37095 \begin_inset space \thinspace{}
37100 \begin_inset Box Doublebox
37110 height_special "totalheight"
37115 backgroundcolor "none"
37118 \begin_layout Plain Layout
37120 Double rectangular box
37128 \begin_layout Standard
37129 \begin_inset VSpace bigskip
37133 's box label will reflect the different frame types.
37134 To be able to use all types, the \SpecialChar LaTeX
37140 \begin_inset Index idx
37145 \begin_layout Plain Layout
37148 \begin_inset IndexMacro subentry
37151 \begin_layout Plain Layout
37165 \begin_layout Standard
37166 \begin_inset VSpace bigskip
37169 When you use the decoration
37171 simple rectangular frame
37173 and no inner box, you can allow page breaks within a box.
37174 Note that then, unlike other framed boxes, the frame always uses the whole
37175 column width and the box is set as its own paragraph:
37176 \begin_inset Box Framed
37186 height_special "totalheight"
37191 backgroundcolor "none"
37194 \begin_layout Plain Layout
37195 Allow page break box
37203 \begin_layout Section
37205 \begin_inset Index idx
37210 \begin_layout Plain Layout
37212 \begin_inset IndexMacro subentry
37215 \begin_layout Plain Layout
37229 \begin_layout Standard
37230 The diameter of the round corners of the oval boxes can be set with the
37241 \begin_layout Standard
37249 \begin_layout Standard
37250 sets the diameter to 1
37251 \begin_inset space \thinspace{}
37258 \begin_layout Standard
37266 \begin_layout Standard
37267 sets the diameter to
37270 \begin_inset space \thinspace{}
37274 \begin_inset space \thinspace{}
37277 minimum(width and height of box)
37289 \begin_layout Standard
37293 \begin_layout Plain Layout
37303 \begin_inset Box Ovalbox
37313 height_special "totalheight"
37318 backgroundcolor "none"
37321 \begin_layout Plain Layout
37330 \begin_inset space \thinspace{}
37334 \begin_inset space \thinspace{}
37338 \begin_inset space \thinspace{}
37350 \begin_layout Plain Layout
37362 \begin_layout Standard
37363 \begin_inset VSpace bigskip
37369 \begin_layout Standard
37370 The default background color red of
37374 boxes can either be changed locally with the command
37378 definecolor{shadecolor}
37380 or globally with the menu
37382 Tools\SpecialChar menuseparator
37383 Preferences\SpecialChar menuseparator
37384 Colors\SpecialChar menuseparator
37386 \begin_inset space ~
37398 command is explained in section
37399 \begin_inset space ~
37403 \begin_inset CommandInset ref
37405 reference "sec:Colored-Tables"
37413 \begin_layout Plain Layout
37420 requires the \SpecialChar LaTeX
37425 in the preamble, see section
37426 \begin_inset space ~
37430 \begin_inset CommandInset ref
37432 reference "sec:Colored-Boxes"
37441 For example the appearance of the following shaded background box is set
37442 with the \SpecialChar TeX
37446 \begin_layout Standard
37451 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
37454 \begin_layout Standard
37458 \begin_layout Plain Layout
37462 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
37468 \begin_inset Box Shaded
37478 height_special "totalheight"
37483 backgroundcolor "none"
37486 \begin_layout Plain Layout
37489 This is yellow text in a
37499 box with dark green background.
37508 \begin_layout Plain Layout
37512 definecolor{shadecolor}{rgb}{1,0,0}
37520 \begin_layout Standard
37521 \begin_inset VSpace bigskip
37524 Manually changed sizes and colors are valid for all boxes following the
37525 commands that change them.
37528 \begin_layout Section
37530 \begin_inset CommandInset label
37532 name "sec:Minipages"
37537 \begin_inset Index idx
37542 \begin_layout Plain Layout
37544 \begin_inset IndexMacro subentry
37547 \begin_layout Plain Layout
37561 \begin_layout Standard
37562 Minipages are treated by \SpecialChar LaTeX
37563 as pages within pages and can therefore for example
37564 have their own footnotes.
37567 \begin_layout Standard
37568 Minipages are useful when you write documents with different languages.
37571 \begin_layout Standard
37572 Below are two example minipages side by side.
37573 Their width is set to 45
37574 \begin_inset space \thinspace{}
37577 col% and they are separated by a horizontal fill, that was inserted via
37580 Insert\SpecialChar menuseparator
37582 \begin_inset space ~
37585 Formatting\SpecialChar menuseparator
37587 \begin_inset space ~
37593 \begin_inset Newpage newpage
37599 \begin_layout Standard
37600 \begin_inset Box Frameless
37610 height_special "totalheight"
37615 backgroundcolor "none"
37618 \begin_layout Plain Layout
37621 Dies ist ein deutscher Text.
37622 Dies ist ein deutscher Text.
37623 Dies ist ein deutscher Text.
37624 Dies ist ein deutscher Text.
37625 Dies ist ein deutscher Text.
37626 Dies ist ein deutscher Text.
37627 Dies ist ein deutscher Text.
37628 Dies ist ein deutscher Text.
37629 Dies ist ein deutscher Text.
37630 Dies ist ein deutscher Text.
37631 Dies ist ein deutscher Text.
37632 Dies ist ein deutscher Text.
37633 Dies ist ein deutscher Text
37637 \begin_layout Plain Layout
37640 Dies ist eine deutsche Fußnote.
37646 Dies ist ein deutscher Text.
37647 Dies ist ein deutscher Text.
37653 \begin_inset space \hfill{}
37657 \begin_inset Box Frameless
37667 height_special "totalheight"
37672 backgroundcolor "none"
37675 \begin_layout Plain Layout
37676 This is an English Text.
37677 This is an English Text.
37678 This is an English Text.
37679 This is an English Text.
37680 This is an English Text.
37681 This is an English Text.
37682 This is an English Text.
37683 This is an English Text.
37684 This is an English Text.
37685 This is an English Text.
37686 This is an English Text.
37687 This is an English Text.
37688 This is an English Text.
37689 This is an English Text.
37690 This is an English Text.
37691 This is an English Text.
37695 \begin_layout Plain Layout
37696 This is an English footnote.
37701 This is an English Text.
37709 \begin_layout Standard
37710 \begin_inset VSpace bigskip
37713 The document-wide paragraph settings are ignored within minipages.
37714 That means that there will be no space between paragraphs in minipages
37715 although you set it to e.
37716 \begin_inset space \thinspace{}
37720 \begin_inset space \space{}
37727 in the document settings.
37730 \begin_layout Standard
37731 Minipages can also be used to set a background color for text parts, see
37733 \begin_inset space ~
37737 \begin_inset CommandInset ref
37739 reference "sec:Colored-Boxes"
37746 \begin_layout Standard
37747 \begin_inset Note Greyedout
37750 \begin_layout Plain Layout
37755 You cannot have floats or margin notes inside minipages but minipages can
37756 be used inside tables, floats, and other boxes.
37764 \begin_layout Standard
37765 \begin_inset VSpace bigskip
37771 \begin_layout Standard
37773 has also basic support for minipages whose size is automatically determined
37774 by the width of their contents, via the module
37776 Variable-width Minipages
37779 The \SpecialChar LyX
37782 varwidth-floats-side-by-side
37784 gives examples of variable-width minipages used for placing two floats
37788 \begin_layout Section
37790 \begin_inset CommandInset label
37792 name "sec:Parboxes"
37797 \begin_inset Index idx
37802 \begin_layout Plain Layout
37804 \begin_inset IndexMacro subentry
37807 \begin_layout Plain Layout
37821 \begin_layout Standard
37822 Parboxes are very similar to minipages with the difference that they cannot
37826 \begin_layout Standard
37828 \begin_inset Box Frameless
37838 height_special "totalheight"
37843 backgroundcolor "none"
37846 \begin_layout Plain Layout
37847 This a text within a parbox.
37848 This a text within a parbox.
37851 \begin_layout Plain Layout
37852 This footnote won't appear:
37856 \begin_layout Plain Layout
37857 This footnote is inside a parbox and will therefore not appear.
37870 \begin_layout Section
37871 Boxes for Words and Characters
37872 \begin_inset Index idx
37877 \begin_layout Plain Layout
37879 \begin_inset IndexMacro subentry
37882 \begin_layout Plain Layout
37896 \begin_layout Subsection
37897 Prevent Hyphenation
37898 \begin_inset CommandInset label
37900 name "sec:Prevent-Hyphenation"
37905 \begin_inset Index idx
37910 \begin_layout Plain Layout
37912 \begin_inset IndexMacro subentry
37915 \begin_layout Plain Layout
37916 to Prevent Hyphenation
37929 \begin_layout Standard
37930 You can use the box type
37934 to prevent words or text from being hyphenated.
37935 \begin_inset Newline newline
37938 Here is an example text:
37941 \begin_layout Standard
37942 This line is an example to show how you can prevent the hyphenation of
37943 \begin_inset Quotes eld
37947 \begin_inset Quotes erd
37953 \begin_layout Standard
37954 To prevent the hyphenation of the word
37955 \begin_inset Quotes eld
37959 \begin_inset Quotes erd
37962 , put the word into a box, set the
37965 \begin_inset space ~
37974 and use no explicit width.
37977 \begin_layout Standard
37978 This is the result:
37981 \begin_layout Standard
37982 This line is an example to show how you can prevent the hyphenation of
37983 \begin_inset Box Frameless
37993 height_special "totalheight"
37998 backgroundcolor "none"
38001 \begin_layout Plain Layout
38002 \begin_inset Quotes eld
38006 \begin_inset Quotes erd
38017 \begin_layout Standard
38018 You can alternatively set the command
38019 \begin_inset Quotes eld
38029 \begin_inset Quotes grd
38032 as \SpecialChar TeX
38033 Code directly before the word:
38036 \begin_layout Standard
38037 This line is an example to show how you can prevent the hyphenation of
38038 \begin_inset Quotes eld
38045 \begin_layout Plain Layout
38055 \begin_inset Quotes erd
38061 \begin_layout Standard
38062 Of course the word now protrudes over the side margin.
38063 To avoid this, add via the menu
38065 Insert\SpecialChar menuseparator
38066 Formatting\SpecialChar menuseparator
38068 \begin_inset space ~
38072 \begin_inset space ~
38080 arg "newline-insert newline"
38083 ) a line break before the word:
38086 \begin_layout Standard
38087 This line is an example to show how you can prevent the hyphenation of
38088 \begin_inset Newline newline
38092 \begin_inset Box Frameless
38102 height_special "totalheight"
38107 backgroundcolor "none"
38110 \begin_layout Plain Layout
38111 \begin_inset Quotes eld
38115 \begin_inset Quotes erd
38126 \begin_layout Subsection
38128 \begin_inset CommandInset label
38130 name "subsec:Vertical-Alignment"
38135 \begin_inset Index idx
38140 \begin_layout Plain Layout
38142 \begin_inset IndexMacro subentry
38145 \begin_layout Plain Layout
38146 for Vertical Alignment
38157 \begin_inset Index idx
38162 \begin_layout Plain Layout
38164 \begin_inset IndexMacro subentry
38167 \begin_layout Plain Layout
38181 \begin_layout Standard
38182 With the help of the command
38188 you can align words, characters or other boxes vertically relative to the
38196 is used with the following scheme:
38199 \begin_layout Standard
38204 raisebox{lift}[height][depth]{box content}
38207 \begin_layout Standard
38208 The lift can be a positive value to raise the box or a negative value to
38212 \begin_layout Standard
38213 To align for example the word
38214 \begin_inset Quotes eld
38218 \begin_inset Quotes erd
38221 so that the bottom of the
38222 \begin_inset Quotes eld
38226 \begin_inset Quotes erd
38230 \begin_inset Quotes eld
38234 \begin_inset Quotes erd
38237 is at the baseline, insert the command
38240 \begin_layout Standard
38250 \begin_layout Standard
38251 in \SpecialChar TeX
38252 Code before the word.
38253 After the word insert a closing brace
38254 \begin_inset Quotes eld
38262 \begin_inset Quotes erd
38265 in \SpecialChar TeX
38267 \begin_inset Newline newline
38270 This is the result:
38273 \begin_layout Standard
38274 This is a text line with the word
38278 \begin_layout Plain Layout
38290 \begin_inset Quotes eld
38294 \begin_inset Quotes erd
38301 \begin_layout Plain Layout
38311 \begin_layout Standard
38312 \begin_inset VSpace bigskip
38315 When you raise or lower characters in a line, the line distance will be
38319 \begin_layout Standard
38320 This is a text line with the word
38324 \begin_layout Plain Layout
38336 \begin_inset Quotes eld
38340 \begin_inset Quotes erd
38347 \begin_layout Plain Layout
38355 \begin_inset Newline newline
38358 This is a text line with the word
38362 \begin_layout Plain Layout
38372 \begin_inset Quotes eld
38376 \begin_inset Quotes erd
38383 \begin_layout Plain Layout
38393 \begin_layout Standard
38394 If you want to prevent this for a certain reason, set the box height to
38399 \begin_layout Standard
38409 \begin_layout Standard
38410 This is a text line with the word
38414 \begin_layout Plain Layout
38426 \begin_inset Quotes eld
38430 \begin_inset Quotes erd
38437 \begin_layout Plain Layout
38445 \begin_inset Newline newline
38449 \begin_inset Newline newline
38452 This is a text line with the word
38456 \begin_layout Plain Layout
38460 raisebox{0.5cm}[0pt]{
38466 \begin_inset Quotes eld
38470 \begin_inset Quotes erd
38477 \begin_layout Plain Layout
38487 \begin_layout Section
38489 \begin_inset CommandInset label
38491 name "sec:Colored-Boxes"
38496 \begin_inset Index idx
38501 \begin_layout Plain Layout
38503 \begin_inset IndexMacro subentry
38506 \begin_layout Plain Layout
38520 \begin_layout Standard
38521 To color the background of a box just select the color you like in the box
38523 This is for example a box with orange background:
38524 \begin_inset Box Frameless
38534 height_special "totalheight"
38539 backgroundcolor "orange"
38542 \begin_layout Plain Layout
38543 Box with orange background
38551 \begin_layout Standard
38552 If you use the decoration
38555 \begin_inset space ~
38559 \begin_inset space ~
38564 you can set a frame color.
38565 In this case you must also specify a background color (LyX sets white as
38567 Here is an example:
38568 \begin_inset Box Boxed
38578 height_special "totalheight"
38583 backgroundcolor "yellow"
38586 \begin_layout Plain Layout
38587 Box with teal frame color and yellow background color
38595 \begin_layout Standard
38596 \begin_inset VSpace bigskip
38599 Of course you can also have colored text inside a colored box:
38600 \begin_inset Newline newline
38604 \begin_inset Box Boxed
38614 height_special "totalheight"
38619 backgroundcolor "magenta"
38622 \begin_layout Plain Layout
38625 This is colored text within a colored, framed box
38633 \begin_layout Standard
38634 \begin_inset VSpace bigskip
38640 \begin_layout Standard
38641 If you need another color than the predefined ones, you can define your
38642 own color as described in section
38643 \begin_inset space ~
38647 \begin_inset CommandInset ref
38649 reference "sec:Colored-Tables"
38654 To use your own color you must typeset the box by using TeX code:
38657 \begin_layout Standard
38658 Colored boxes without frame are created with the command
38665 It has the following scheme:
38668 \begin_layout Standard
38673 colorbox{color}{box content}
38676 \begin_layout Standard
38677 The box content can also be a box and colored boxes can also be within other
38680 \begin_inset space \thinspace{}
38684 \begin_inset space \space{}
38687 a darkgreen background for a word, insert the command
38690 \begin_layout Standard
38695 colorbox{darkgreen}{
38698 \begin_layout Standard
38699 before the word in \SpecialChar TeX
38701 After the word insert a closing brace
38702 \begin_inset Quotes eld
38710 \begin_inset Quotes erd
38713 in \SpecialChar TeX
38715 \begin_inset Newline newline
38718 This is the result:
38721 \begin_layout Standard
38722 This is a line where the word
38726 \begin_layout Plain Layout
38730 colorbox{darkgreen}{
38736 \begin_inset Quotes eld
38740 \begin_inset Quotes erd
38747 \begin_layout Plain Layout
38754 has a darkgreen background.
38757 \begin_layout Standard
38758 Framed, colored boxes are created with the command
38765 It has the following scheme:
38768 \begin_layout Standard
38773 fcolorbox{frame color}{box color}{box content}
38776 \begin_layout Section
38777 Rotated and Scaled Boxes
38780 \begin_layout Standard
38781 To use the boxes described in this section, the module
38785 must be loaded in the document settings.
38788 \begin_layout Standard
38789 \begin_inset Note Greyedout
38792 \begin_layout Plain Layout
38797 Not all DVI viewers are able to display rotated or scaled material.
38805 \begin_layout Standard
38806 \begin_inset Note Greyedout
38809 \begin_layout Plain Layout
38814 Floats are not allowed inside a rotated or scaled box.
38822 \begin_layout Subsection
38824 \begin_inset Index idx
38829 \begin_layout Plain Layout
38831 \begin_inset IndexMacro subentry
38834 \begin_layout Plain Layout
38846 \begin_inset Index idx
38851 \begin_layout Plain Layout
38860 \begin_layout Standard
38861 To rotate material, you can put it into a
38866 Such a box is inserted via the menu
38868 Insert\SpecialChar menuseparator
38869 Custom Insets\SpecialChar menuseparator
38875 \begin_layout Standard
38876 The rotation origin can be specified via the inset
38882 Insert\SpecialChar menuseparator
38890 The following positions are possible:
38910 (top), along with meaningful combinations of the four base positions.
38915 means that the rotation origin is at the top left corner of the box.
38916 When no rotation origin is specified, the position
38921 The rotation angle is a number that can be negative that specifies the
38923 The rotation direction is counterclockwise.
38926 \begin_layout Standard
38927 In the following example
38931 was inserted to the
38939 was inserted to the
38946 \begin_layout Standard
38948 \begin_inset Flex Rotatebox
38951 \begin_layout Plain Layout
38952 \begin_inset Argument 1
38955 \begin_layout Plain Layout
38962 \begin_inset Argument 2
38965 \begin_layout Plain Layout
38979 \begin_layout Standard
38980 The box content can also be another box or an inline formula:
38983 \begin_layout Standard
38985 \begin_inset Flex Rotatebox
38988 \begin_layout Plain Layout
38989 \begin_inset Argument 1
38992 \begin_layout Plain Layout
38999 \begin_inset Argument 2
39002 \begin_layout Plain Layout
39009 \begin_inset Box Doublebox
39019 height_special "totalheight"
39024 backgroundcolor "none"
39027 \begin_layout Plain Layout
39039 \begin_inset Flex Rotatebox
39042 \begin_layout Plain Layout
39043 \begin_inset Argument 1
39046 \begin_layout Plain Layout
39053 \begin_inset Argument 2
39056 \begin_layout Plain Layout
39063 \begin_inset Formula $\int A\,\mathrm{d}x=B$
39074 \begin_layout Standard
39075 or an image or table:
39078 \begin_layout Standard
39080 \begin_inset Flex Rotatebox
39083 \begin_layout Plain Layout
39084 \begin_inset Argument 1
39087 \begin_layout Plain Layout
39094 \begin_inset Argument 2
39097 \begin_layout Plain Layout
39104 \begin_inset Graphics
39105 filename clipart/Star-structure.pdf
39116 with a rotated image
39117 \begin_inset Flex Rotatebox
39120 \begin_layout Plain Layout
39121 \begin_inset Argument 2
39124 \begin_layout Plain Layout
39131 \begin_inset Tabular
39132 <lyxtabular version="3" rows="2" columns="2">
39133 <features tabularvalignment="middle">
39134 <column alignment="center" valignment="top">
39135 <column alignment="center" valignment="top">
39137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39140 \begin_layout Plain Layout
39146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
39149 \begin_layout Plain Layout
39157 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
39160 \begin_layout Plain Layout
39166 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
39169 \begin_layout Plain Layout
39186 \begin_inset Index idx
39191 \begin_layout Plain Layout
39193 \begin_inset IndexMacro subentry
39196 \begin_layout Plain Layout
39208 \begin_inset Index idx
39213 \begin_layout Plain Layout
39214 Table Customization
39215 \begin_inset IndexMacro subentry
39218 \begin_layout Plain Layout
39232 \begin_layout Standard
39233 \begin_inset Note Greyedout
39236 \begin_layout Plain Layout
39245 inset is empty or contains other characters than numbers you will get \SpecialChar LaTeX
39247 errors when viewing/exporting the document.
39255 \begin_layout Subsection
39257 \begin_inset Index idx
39262 \begin_layout Plain Layout
39264 \begin_inset IndexMacro subentry
39267 \begin_layout Plain Layout
39279 \begin_inset Index idx
39284 \begin_layout Plain Layout
39293 \begin_layout Standard
39294 To scale material put it into a
39299 Such a box is inserted via the menu
39301 Insert\SpecialChar menuseparator
39302 Custom Insets\SpecialChar menuseparator
39308 \begin_layout Standard
39313 inset has the mandatory inset
39317 and the optional inset
39321 (inserted via the menu
39323 Insert\SpecialChar menuseparator
39327 Input there the horizontal and vertical scale factor, respectively.
39332 inset is used, the horizontal factor will also be used as the vertical
39336 \begin_layout Standard
39337 To get for example the double text size, compared to the document text size,
39348 \begin_inset Flex Scalebox
39351 \begin_layout Plain Layout
39352 \begin_inset Argument 1
39355 \begin_layout Plain Layout
39369 \begin_layout Standard
39387 \begin_inset Flex Scalebox
39390 \begin_layout Plain Layout
39391 \begin_inset Argument 1
39394 \begin_layout Plain Layout
39401 \begin_inset Argument 2
39404 \begin_layout Plain Layout
39418 \begin_layout Standard
39419 If the scaling factor is negative, the box content will be mirrored.
39436 can be used to create mirror writing:
39437 \begin_inset Flex Scalebox
39440 \begin_layout Plain Layout
39441 \begin_inset Argument 1
39444 \begin_layout Plain Layout
39451 \begin_inset Argument 2
39454 \begin_layout Plain Layout
39468 \begin_layout Standard
39486 \begin_inset Flex Scalebox
39489 \begin_layout Plain Layout
39490 \begin_inset Argument 1
39493 \begin_layout Plain Layout
39500 \begin_inset Argument 2
39503 \begin_layout Plain Layout
39517 \begin_layout Standard
39524 Insert\SpecialChar menuseparator
39525 Custom Insets\SpecialChar menuseparator
39551 \begin_layout Standard
39552 \begin_inset Note Greyedout
39555 \begin_layout Plain Layout
39564 inset is empty or contains other characters than numbers you will get LaTeX
39565 errors when viewing/exporting the document.
39573 \begin_layout Standard
39574 \begin_inset VSpace bigskip
39583 Insert\SpecialChar menuseparator
39584 Custom Insets\SpecialChar menuseparator
39587 ) is used to scale the content to a defined width and height.
39592 inset has the mandatory inset
39596 and the optional inset
39600 (inserted via the menu
39602 Insert\SpecialChar menuseparator
39606 Input there the width and height, respectively, as value with a unit.
39608 \begin_inset CommandInset ref
39610 reference "tab:Units"
39614 lists the possible units.
39615 If there is an exclamation mark
39619 in one of the two insets, the size is set so that the aspect ratio of the
39620 box content is kept.
39625 inset is used an exclamation mark will internally be used for the height.
39628 \begin_layout Standard
39646 \begin_inset Flex Resizebox
39649 \begin_layout Plain Layout
39650 \begin_inset Argument 1
39653 \begin_layout Plain Layout
39660 \begin_inset Argument 2
39663 \begin_layout Plain Layout
39675 \begin_inset Newline newline
39699 \begin_inset Flex Resizebox
39702 \begin_layout Plain Layout
39703 \begin_inset Argument 1
39706 \begin_layout Plain Layout
39713 \begin_inset Argument 2
39716 \begin_layout Plain Layout
39730 \begin_layout Standard
39731 \begin_inset Note Greyedout
39734 \begin_layout Plain Layout
39743 inset is empty or contains an invalid unit you will get LaTeX errors when
39744 viewing/exporting the document.
39752 \begin_layout Standard
39753 \begin_inset VSpace bigskip
39759 \begin_layout Standard
39760 The boxes can be combined in any order.
39769 which is in turn inside a
39776 \begin_layout Standard
39779 \begin_inset Flex Rotatebox
39782 \begin_layout Plain Layout
39783 \begin_inset Argument 1
39786 \begin_layout Plain Layout
39793 \begin_inset Argument 2
39796 \begin_layout Plain Layout
39803 \begin_inset Flex Resizebox
39806 \begin_layout Plain Layout
39807 \begin_inset Argument 1
39810 \begin_layout Plain Layout
39817 \begin_inset Flex Reflectbox
39820 \begin_layout Plain Layout
39839 \begin_layout Standard
39841 Images, tables, and inline formulas are allowed as box content:
39844 \begin_layout Standard
39847 \begin_inset Flex Resizebox
39850 \begin_layout Plain Layout
39851 \begin_inset Argument 1
39854 \begin_layout Plain Layout
39861 \begin_inset Flex Reflectbox
39864 \begin_layout Plain Layout
39865 \begin_inset Graphics
39866 filename clipart/Star-structure.pdf
39883 \begin_inset Flex Resizebox
39886 \begin_layout Plain Layout
39887 \begin_inset Argument 1
39890 \begin_layout Plain Layout
39897 \begin_inset Flex Reflectbox
39900 \begin_layout Plain Layout
39901 \begin_inset Tabular
39902 <lyxtabular version="3" rows="2" columns="2">
39903 <features tabularvalignment="middle">
39904 <column alignment="center" valignment="top">
39905 <column alignment="center" valignment="top">
39907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39910 \begin_layout Plain Layout
39916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
39919 \begin_layout Plain Layout
39927 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
39930 \begin_layout Plain Layout
39936 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
39939 \begin_layout Plain Layout
39961 \begin_inset Flex Resizebox
39964 \begin_layout Plain Layout
39965 \begin_inset Argument 1
39968 \begin_layout Plain Layout
39975 \begin_inset Flex Reflectbox
39978 \begin_layout Plain Layout
39979 \begin_inset Formula $\int A\,\mathrm{d}x=B$
39993 \begin_inset Index idx
39998 \begin_layout Plain Layout
40000 \begin_inset IndexMacro subentry
40003 \begin_layout Plain Layout
40015 \begin_inset Index idx
40020 \begin_layout Plain Layout
40021 Table Customization
40022 \begin_inset IndexMacro subentry
40025 \begin_layout Plain Layout
40039 \begin_layout Standard
40040 When the global formula style
40044 is used in the document
40048 \begin_layout Plain Layout
40050 \begin_inset Quotes eld
40054 \begin_inset Quotes erd
40057 is added to the document class options.
40062 , display style formulas can also be scaled.
40065 \begin_layout Chapter
40066 Objects Surrounded by Text
40067 \begin_inset Index idx
40072 \begin_layout Plain Layout
40081 \begin_layout Section
40083 \begin_inset CommandInset label
40085 name "sec:Wrap-Floats"
40090 \begin_inset Index idx
40095 \begin_layout Plain Layout
40097 \begin_inset IndexMacro subentry
40100 \begin_layout Plain Layout
40112 \begin_inset Index idx
40117 \begin_layout Plain Layout
40119 \begin_inset IndexMacro subentry
40122 \begin_layout Plain Layout
40136 \begin_layout Standard
40137 \begin_inset Wrap figure
40144 \begin_layout Plain Layout
40145 \begin_inset Graphics
40146 filename clipart/2D-intensity-plot.pdf
40148 scaleBeforeRotation
40149 rotateOrigin center
40156 \begin_layout Plain Layout
40157 \begin_inset Caption Standard
40159 \begin_layout Plain Layout
40160 \begin_inset CommandInset label
40162 name "fig:This-is-a"
40166 This is a figure wrap float.
40176 This float type is used if you want to wrap text around a figure or table
40177 so that it only occupies some fraction of the column width.
40178 It can be inserted using the menu
40180 Insert\SpecialChar menuseparator
40181 Floats\SpecialChar menuseparator
40183 \begin_inset space ~
40187 \begin_inset space ~
40195 \begin_inset space ~
40199 \begin_inset space ~
40204 if the \SpecialChar LaTeX
40210 \begin_inset Index idx
40215 \begin_layout Plain Layout
40218 \begin_inset IndexMacro subentry
40221 \begin_layout Plain Layout
40236 \begin_layout Plain Layout
40237 Installing a \SpecialChar LaTeX
40238 -package is explained it in the
40242 \begin_inset space ~
40252 The settings of the float can be modified by right-clicking on the float
40254 The mandatory settings are the float
40267 that specifies how much the float is set into the paragraph
40268 \begin_inset space \thinspace{}
40272 \begin_inset space \thinspace{}
40275 page margin, and the
40278 \begin_inset space ~
40283 that specifies how many text lines the float will approximately need.
40284 The line span is often hard to approximate; so it is better only to use
40285 it when you encounter float placement problems.
40286 You can furthermore decide if \SpecialChar LaTeX
40287 is allowed to let the float float within
40288 the paragraph or to surrounding paragraphs.
40290 \begin_inset space ~
40294 \begin_inset CommandInset ref
40296 reference "fig:This-is-a"
40300 is an example text wrap float with a width of 40
40301 \begin_inset space \thinspace{}
40305 \begin_inset space \thinspace{}
40308 cm overhang, set to the left.
40311 \begin_layout Standard
40312 \begin_inset Note Greyedout
40315 \begin_layout Plain Layout
40321 \begin_inset space ~
40324 wrap float floats are fragile! E.
40325 \begin_inset space \thinspace{}
40329 \begin_inset space \space{}
40332 having a figure too close to the bottom of the page can mess things up in
40333 such a way that the float does not appear in the output or that it is placed
40334 over some other text.
40342 \begin_layout Standard
40343 In general, the following applies for wrap floats:
40346 \begin_layout Itemize
40347 They should not be placed in paragraphs that run over a page break.
40348 That means that wrap floats are better inserted in their exact place when
40349 the document is almost finished and you are able to estimate where page
40350 breaks will appear.
40353 \begin_layout Itemize
40354 They should either be placed in their own paragraph before the paragraph
40355 where they should wrap into or within a paragraph.
40358 \begin_layout Itemize
40359 In consecutive paragraphs they may cause troubles, so ensure that there
40360 is a text paragraph between them as separator.
40363 \begin_layout Itemize
40364 They are not allowed in section headings or tables.
40367 \begin_layout Itemize
40368 Their numbering and referencing works as described in chap.
40369 \begin_inset space \thinspace{}
40373 \begin_inset CommandInset ref
40375 reference "chap:Floats"
40382 \begin_layout Section
40383 Surrounded Fixed Objects
40384 \begin_inset Index idx
40389 \begin_layout Plain Layout
40391 \begin_inset IndexMacro subentry
40394 \begin_layout Plain Layout
40408 \begin_layout Standard
40409 The wrap floats described in sec.
40410 \begin_inset space \thinspace{}
40414 \begin_inset CommandInset ref
40416 reference "sec:Wrap-Floats"
40420 have these positions in the paragraph:
40423 \begin_layout Standard
40426 \begin_inset Tabular
40427 <lyxtabular version="3" rows="2" columns="2">
40428 <features tabularvalignment="middle">
40429 <column alignment="center" valignment="top">
40430 <column alignment="center" valignment="top">
40432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40435 \begin_layout Plain Layout
40438 arg "dialog-show-new-inset graphics"
40446 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40449 \begin_layout Plain Layout
40457 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40460 \begin_layout Plain Layout
40466 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40469 \begin_layout Plain Layout
40481 \begin_inset Tabular
40482 <lyxtabular version="3" rows="2" columns="2">
40483 <features tabularvalignment="middle">
40484 <column alignment="center" valignment="top">
40485 <column alignment="center" valignment="top">
40487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40490 \begin_layout Plain Layout
40496 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40499 \begin_layout Plain Layout
40502 arg "dialog-show-new-inset graphics"
40512 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40515 \begin_layout Plain Layout
40521 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40524 \begin_layout Plain Layout
40538 \begin_layout Standard
40539 To get an object exactly at the position where it is inserted, for example
40540 to get one of these positions:
40541 \begin_inset VSpace defskip
40547 \begin_layout Standard
40550 \begin_inset Tabular
40551 <lyxtabular version="3" rows="2" columns="2">
40552 <features tabularvalignment="middle">
40553 <column alignment="center" valignment="top">
40554 <column alignment="center" valignment="top">
40556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40559 \begin_layout Plain Layout
40565 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40568 \begin_layout Plain Layout
40576 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40579 \begin_layout Plain Layout
40582 arg "dialog-show-new-inset graphics"
40590 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40593 \begin_layout Plain Layout
40605 \begin_inset Tabular
40606 <lyxtabular version="3" rows="2" columns="2">
40607 <features tabularvalignment="middle">
40608 <column alignment="center" valignment="top">
40609 <column alignment="center" valignment="top">
40611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40614 \begin_layout Plain Layout
40620 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40623 \begin_layout Plain Layout
40631 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40634 \begin_layout Plain Layout
40640 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40643 \begin_layout Plain Layout
40646 arg "dialog-show-new-inset graphics"
40660 \begin_inset Tabular
40661 <lyxtabular version="3" rows="2" columns="3">
40662 <features tabularvalignment="middle">
40663 <column alignment="center" valignment="top">
40664 <column alignment="center" valignment="top">
40665 <column alignment="center" valignment="top">
40667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40670 \begin_layout Plain Layout
40676 <cell alignment="center" valignment="top" topline="true" usebox="none">
40679 \begin_layout Plain Layout
40682 arg "dialog-show-new-inset graphics"
40690 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40693 \begin_layout Plain Layout
40701 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40704 \begin_layout Plain Layout
40710 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
40713 \begin_layout Plain Layout
40719 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40722 \begin_layout Plain Layout
40734 \begin_inset Tabular
40735 <lyxtabular version="3" rows="2" columns="3">
40736 <features tabularvalignment="middle">
40737 <column alignment="center" valignment="top">
40738 <column alignment="center" valignment="top">
40739 <column alignment="center" valignment="top">
40741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40744 \begin_layout Plain Layout
40750 <cell alignment="center" valignment="top" topline="true" usebox="none">
40753 \begin_layout Plain Layout
40759 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40762 \begin_layout Plain Layout
40770 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40773 \begin_layout Plain Layout
40779 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
40782 \begin_layout Plain Layout
40785 arg "dialog-show-new-inset graphics"
40793 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40796 \begin_layout Plain Layout
40810 \begin_layout Standard
40813 \begin_inset Tabular
40814 <lyxtabular version="3" rows="3" columns="2">
40815 <features tabularvalignment="middle">
40816 <column alignment="center" valignment="top">
40817 <column alignment="center" valignment="top">
40819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40822 \begin_layout Plain Layout
40828 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40831 \begin_layout Plain Layout
40839 <cell alignment="center" valignment="top" leftline="true" usebox="none">
40842 \begin_layout Plain Layout
40845 arg "dialog-show-new-inset graphics"
40853 <cell alignment="center" valignment="top" rightline="true" usebox="none">
40856 \begin_layout Plain Layout
40864 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40867 \begin_layout Plain Layout
40873 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40876 \begin_layout Plain Layout
40888 \begin_inset Tabular
40889 <lyxtabular version="3" rows="3" columns="3">
40890 <features tabularvalignment="middle">
40891 <column alignment="center" valignment="top">
40892 <column alignment="center" valignment="top">
40893 <column alignment="center" valignment="top">
40895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40898 \begin_layout Plain Layout
40904 <cell alignment="center" valignment="top" topline="true" usebox="none">
40907 \begin_layout Plain Layout
40913 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40916 \begin_layout Plain Layout
40924 <cell alignment="center" valignment="top" leftline="true" usebox="none">
40927 \begin_layout Plain Layout
40933 <cell alignment="center" valignment="top" usebox="none">
40936 \begin_layout Plain Layout
40939 arg "dialog-show-new-inset graphics"
40947 <cell alignment="center" valignment="top" rightline="true" usebox="none">
40950 \begin_layout Plain Layout
40958 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40961 \begin_layout Plain Layout
40967 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
40970 \begin_layout Plain Layout
40976 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40979 \begin_layout Plain Layout
40991 \begin_inset Tabular
40992 <lyxtabular version="3" rows="3" columns="2">
40993 <features tabularvalignment="middle">
40994 <column alignment="center" valignment="top">
40995 <column alignment="center" valignment="top">
40997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41000 \begin_layout Plain Layout
41006 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
41009 \begin_layout Plain Layout
41017 <cell alignment="center" valignment="top" leftline="true" usebox="none">
41020 \begin_layout Plain Layout
41026 <cell alignment="center" valignment="top" rightline="true" usebox="none">
41029 \begin_layout Plain Layout
41032 arg "dialog-show-new-inset graphics"
41042 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
41045 \begin_layout Plain Layout
41051 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
41054 \begin_layout Plain Layout
41068 \begin_layout Standard
41070 you can use the \SpecialChar LaTeX
41076 \begin_inset Index idx
41081 \begin_layout Plain Layout
41084 \begin_inset IndexMacro subentry
41087 \begin_layout Plain Layout
41099 Here is an example:
41102 \begin_layout Standard
41106 \begin_layout Plain Layout
41116 \begin_inset Note Note
41119 \begin_layout Plain Layout
41120 The following section will only be displayed when the \SpecialChar LaTeX
41133 \begin_layout Standard
41137 \begin_layout Plain Layout
41141 begin{window}[2,c,{
41147 \begin_inset Graphics
41148 filename clipart/2D-intensity-plot.pdf
41151 scaleBeforeRotation
41152 rotateOrigin center
41160 \begin_layout Plain Layout
41165 \begin_layout Plain Layout
41174 It was in the spring of the year 1894 that all London was interested, and
41175 the fashionable world dismayed, by the murder of the Honourable Ronald
41176 Adair under most unusual and inexplicable circumstances.
41177 The public has already learned those particulars of the crime which
41183 \begin_layout Plain Layout
41194 came out in the police investigation, but a good deal was suppressed upon
41195 that occasion, since the case for the prosecution was so overwhelmingly
41196 strong that it was not necessary to bring forward all the facts.
41197 Only now, at the end of nearly ten years, am I allowed to supply those
41198 missing links which make up the whole of that remarkable chain.
41204 \begin_layout Plain Layout
41216 \begin_layout Standard
41220 \begin_layout Plain Layout
41229 Footnote of the paragraph with the fixed object.
41233 \begin_layout Plain Layout
41243 \begin_layout Standard
41244 Surrounded fixed objects are used to let text float around them, at which
41245 the object's position in the paragraph can be determined by the number
41247 In contrary to floats is it not possible to have a numbered caption.
41250 \begin_layout Standard
41251 A fixed object is inserted by adding the command
41254 \begin_layout Standard
41259 begin{window}[2,c,{
41262 \begin_layout Standard
41263 as \SpecialChar TeX
41264 Code at the beginning of the paragraph.
41265 The first parameter in the bracket, here '2', defines the number of lines
41266 above the object, the second, here 'c', the position of the object.
41267 The positions 'l', 'c' and 'r' (for left, center, right) are possible.
41268 Behind the command you insert the object.
41269 In this example an image with a width of 40
41270 \begin_inset space \thinspace{}
41273 % of the text column width was inserted.
41274 The object can also be a table, a box or an equation.
41275 Behind the object the command
41278 \begin_layout Standard
41281 },description text]
41282 \begin_inset Newline newline
41288 \begin_layout Standard
41291 \begin_inset Quotes eld
41299 \begin_inset Quotes erd
41302 is in the second line.
41303 The description text is optional.
41304 The text surrounding the object must be in the same paragraph as the object,
41305 so it must begin directly after the
41310 At the end of the paragraph insert the command:
41313 \begin_layout Standard
41321 \begin_layout Standard
41322 Within a paragraph with a fixed object, you cannot insert footnotes in the
41324 You have to use instead the command
41330 inside the paragraph and outside the command
41336 as described in sec.
41337 \begin_inset space \thinspace{}
41341 \begin_inset CommandInset ref
41343 reference "sec:Footnotes"
41350 \begin_layout Standard
41354 \begin_layout Plain Layout
41364 \begin_inset Note Note
41367 \begin_layout Plain Layout
41368 The following will be displayed when the \SpecialChar LaTeX
41381 \begin_layout Standard
41382 You need to install the \SpecialChar LaTeX
41387 to see the following part of this section in the output.
41390 \begin_layout Standard
41394 \begin_layout Plain Layout
41406 \begin_layout Section
41408 \begin_inset Index idx
41413 \begin_layout Plain Layout
41420 \begin_inset Index idx
41425 \begin_layout Plain Layout
41427 \begin_inset IndexMacro subentry
41430 \begin_layout Plain Layout
41444 \begin_layout Standard
41445 To use initials, you must have the \SpecialChar LaTeX
41451 \begin_inset Index idx
41456 \begin_layout Plain Layout
41459 \begin_inset IndexMacro subentry
41462 \begin_layout Plain Layout
41473 installed and use the module
41477 in your document (menu
41479 Document\SpecialChar menuseparator
41480 Settings\SpecialChar menuseparator
41484 To insert an initial, use the style
41489 This style has a mandatory and two optional arguments.
41490 The arguments are inserted via the
41495 The mandatory argument
41499 contains the letter(s) that is the initial, the argument
41502 \begin_inset space ~
41506 \begin_inset space ~
41511 contains the rest of the word or text of the initial letter(s).
41516 contains parameters to modify the initial.
41517 For more information about the possible parameters see the documentation
41523 \begin_inset CommandInset citation
41531 The style itself contains the text that is surrounding the initial.
41532 The usual style is hereby that the word whose first letter is the initial,
41540 \begin_layout Standard
41541 Here are some examples:
41544 \begin_layout Standard
41548 \begin_layout Plain Layout
41558 \begin_inset Note Note
41561 \begin_layout Plain Layout
41562 The following section will only be displayed when the \SpecialChar LaTeX
41575 \begin_layout Enumerate
41576 No optional argument, the initial is the letter 'I' in the math font
41577 \begin_inset Formula $\mathfrak{Fraktur}$
41584 \begin_layout Initial
41585 \begin_inset Argument 2
41588 \begin_layout Plain Layout
41589 \begin_inset Formula $\mathfrak{I}$
41598 \begin_inset Argument 3
41601 \begin_layout Plain Layout
41607 was in the spring of the year 1894 that all London was interested, and
41608 the fashionable world dismayed, by the murder of the Honourable Ronald
41609 Adair under most unusual and inexplicable circumstances.
41610 The public has already learned those particulars of the crime which came
41611 out in the police investigation, but a good deal was suppressed upon that
41612 occasion, since the case for the prosecution was so overwhelmingly strong
41613 that it was not necessary to bring forward all the facts.
41614 \begin_inset Newpage newpage
41621 \begin_layout Enumerate
41622 Only one line is surrounding the initial, which is formed by two letters
41623 in standard font and no text is printed in small caps:
41627 \begin_layout Initial
41628 \begin_inset Argument 1
41631 \begin_layout Plain Layout
41638 \begin_inset Argument 2
41641 \begin_layout Plain Layout
41647 was in the spring of the year 1894 that all London was interested, and
41648 the fashionable world dismayed, by the murder of the Honourable Ronald
41649 Adair under most unusual and inexplicable circumstances.
41650 The public has already learned those particulars of the crime which came
41651 out in the police investigation, but a good deal was suppressed upon that
41652 occasion, since the case for the prosecution was so overwhelmingly strong
41653 that it was not necessary to bring forward all the facts.
41657 \begin_layout Enumerate
41658 Magenta, hanging initial over 3
41659 \begin_inset space ~
41662 lines in the math font
41663 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
41667 \begin_inset Quotes eld
41670 t was in the spring
41671 \begin_inset Quotes erd
41678 ; to color the initial, you must insert this command before the initial:
41679 \begin_inset Newline newline
41693 \begin_inset Newline newline
41701 \begin_inset Quotes eld
41705 \begin_inset Quotes erd
41709 \begin_inset Quotes eld
41713 \begin_inset Quotes erd
41717 \begin_inset Quotes eld
41721 \begin_inset Quotes erd
41725 \begin_inset Quotes eld
41729 \begin_inset Quotes erd
41733 \begin_inset Quotes eld
41737 \begin_inset Quotes erd
41741 \begin_inset Quotes eld
41745 \begin_inset Quotes erd
41749 \begin_inset Quotes eld
41753 \begin_inset Quotes erd
41757 \begin_inset Quotes eld
41761 \begin_inset Quotes erd
41764 , and add this command to the document preamble:
41765 \begin_inset Newline newline
41772 @ifundefined{textcolor}
41773 \begin_inset Newline newline
41777 \begin_inset space ~
41782 usepackage{color}}{}
41786 \begin_layout Standard
41790 \begin_layout Plain Layout
41804 \begin_inset Note Note
41807 \begin_layout Plain Layout
41808 makes the initial magenta
41816 \begin_layout Initial
41817 \begin_inset Argument 1
41820 \begin_layout Plain Layout
41821 lines=3, lhang=0.33, loversize=0.25
41827 \begin_inset Argument 2
41830 \begin_layout Plain Layout
41831 \begin_inset Formula $\mathcal{I}$
41840 \begin_inset Argument 3
41843 \begin_layout Plain Layout
41844 t was in the spring
41849 of the year 1894 that all London was interested, and the fashionable world
41850 dismayed, by the murder of the Honourable Ronald Adair under most unusual
41851 and inexplicable circumstances.
41852 The public has already learned those particulars of the crime which came
41853 out in the police investigation, but a good deal was suppressed upon that
41854 occasion, since the case for the prosecution was so overwhelmingly strong
41855 that it was not necessary to bring forward all the facts.
41859 \begin_layout Standard
41863 \begin_layout Plain Layout
41873 \begin_inset Note Note
41876 \begin_layout Plain Layout
41877 The following will be displayed when the \SpecialChar LaTeX
41890 \begin_layout Standard
41891 You need to install the \SpecialChar LaTeX
41896 to see the following part of this section in the output.
41899 \begin_layout Standard
41903 \begin_layout Plain Layout
41915 \begin_layout Chapter
41916 External Document Parts
41917 \begin_inset Index idx
41922 \begin_layout Plain Layout
41923 External Document Parts
41931 \begin_layout Standard
41934 Insert\SpecialChar menuseparator
41937 you can insert external material into your document.
41941 \begin_layout Description
41943 \begin_inset space ~
41946 Document Another \SpecialChar LyX
41947 document; its content is directly inserted to your document.
41950 \begin_layout Description
41952 \begin_inset space ~
41955 Text A text document; each line is inserted in your document as a separate
41959 \begin_layout Description
41961 \begin_inset space ~
41965 \begin_inset space ~
41969 \begin_inset space ~
41972 Lines A text document; text lines are inserted in your document continuously
41973 but an empty text line creates a new paragraph.
41976 \begin_layout Description
41978 \begin_inset space ~
41981 Material Files in various formats.
41984 \begin_layout Description
41986 \begin_inset space ~
41989 Document \SpecialChar LyX
41990 or \SpecialChar LaTeX
41994 \begin_layout Section
41996 \begin_inset Index idx
42001 \begin_layout Plain Layout
42002 External Document Parts
42003 \begin_inset IndexMacro subentry
42006 \begin_layout Plain Layout
42020 \begin_layout Standard
42021 The external material feature allows you to insert files into your document
42022 without converting them to a format that can be read by the document output
42025 takes care of the necessary conversions.
42026 This is similar to images that can be inserted in various image formats
42027 in \SpecialChar LyX
42029 When you have enabled Instant Preview in \SpecialChar LyX
42030 's preferences under
42033 \begin_inset space ~
42037 \begin_inset space ~
42040 feel\SpecialChar menuseparator
42043 , the external material types Dia and Xfig are directly shown in \SpecialChar LyX
42047 \begin_layout Standard
42048 External material can be inserted via the
42052 dialog that is accessible with the menu
42054 Insert\SpecialChar menuseparator
42055 File\SpecialChar menuseparator
42057 \begin_inset space ~
42063 Currently the following file types (
42070 \begin_layout Description
42072 \begin_inset space ~
42075 diagram This template supports chess position diagrams made with the program
42079 \begin_inset CommandInset href
42082 target "https://en.wikipedia.org/wiki/XBoard"
42092 \begin_layout Description
42094 \begin_inset space ~
42097 diagram This template supports diagrams created with the program
42100 \begin_inset CommandInset href
42103 target "https://en.wikipedia.org/wiki/Dia_(software)"
42113 \begin_layout Description
42115 \begin_inset space ~
42118 figure This template supports specific scalable images derived from scalable
42119 vector graphics (SVG), in which the contained text is replaced by a version
42120 typeset by \SpecialChar LaTeX
42121 (and hence in the current document font).
42122 It relies on a feature of the program
42125 \begin_inset CommandInset href
42128 target "https://inkscape.org/"
42135 which creates a special PDF or EPS and \SpecialChar LaTeX
42136 file from a given SVG file (in
42141 itself, the feature is available via the option
42143 Omit text in PDF and create LaTeX file
42145 when saving a drawing as PDF or EPS).
42146 The benefit of such files is a uniform text style throughout the whole
42148 \begin_inset Newline newline
42151 The external template reads SVG files and uses a converter program to generate
42152 the respective PDF\SpecialChar breakableslash
42153 EPS and \SpecialChar LaTeX
42162 on the fly, so you don't have to export those files yourself.
42163 If you prefer the latter and want use given
42179 files instead, simply input the respective
42192 \begin_inset space ~
42196 \begin_inset CommandInset ref
42198 reference "sec:Child-Documents"
42202 ) rather than using this template.
42203 \begin_inset Newline newline
42206 You can use \SpecialChar TeX
42207 code commands such as
42220 \begin_inset space \space{}
42223 in the text of the SVG.
42224 The size of the font will be taken from the settings of the \SpecialChar LyX
42227 \begin_inset CommandInset citation
42234 for more information and examples.
42237 \begin_layout Description
42239 \begin_inset space ~
42243 \begin_inset space ~
42246 music This template is used for music notation typeset with the program
42247 \begin_inset Newline linebreak
42253 \begin_inset CommandInset href
42256 target "https://en.wikipedia.org/wiki/LilyPond"
42264 For \SpecialChar LyX
42265 's extended support for LilyPond have a look at \SpecialChar LyX
42273 \begin_layout Description
42275 \begin_inset space ~
42278 pages With this template you can insert PDF documents to your document.
42279 To specify the range of pages that should be included, use the option
42289 LaTeX and LyX options
42292 The argument of this option is a comma separated list, containing page
42293 numbers (insert as option
42297 ), ranges of page numbers (
42301 ) or any combination.
42302 To insert empty pages use {}.
42304 \begin_inset space \thinspace{}
42308 \begin_inset space ~
42313 pages={3,{},8-11,15}
42315 will insert page 3, an empty page, and pages 8, 9, 10, 11 and 15.
42316 Page ranges are specified in the syntax
42325 This selects all pages from
42338 defaults to the first page; omitting
42342 defaults to the last page of the document.
42343 The last page can also be selected with the keyword
42348 (This is only permitted in a page range.) So
42352 will insert all pages of the document and
42356 will insert all pages in reverse order.
42357 If the pages option is not specified, only the first page of the PDF is
42359 \begin_inset Newline newline
42366 inserts the pages with their original size, if this option is not given,
42367 the pages will be resized to fith the width of the page of your document.
42372 you can specify the width and height of the input pages and their rotation.
42373 If another width than 100
42374 \begin_inset space \thinspace{}
42377 Scale% is used, the option
42381 will be overwritten.
42382 For more info and possible options, have a look into the documentation
42383 of the \SpecialChar LaTeX
42389 \begin_inset CommandInset citation
42397 \begin_inset Index idx
42402 \begin_layout Plain Layout
42405 \begin_inset IndexMacro subentry
42408 \begin_layout Plain Layout
42420 \begin_inset Newline newline
42423 To use this template in a
42427 presentation you need to first insert an
42431 environment and in a subsequent paragraph a \SpecialChar TeX
42432 Code box containing the command
42437 setbeamertemplate{background canvas}{}
42440 Then you can insert as many paragraphs containing the PDFPages template
42442 Behind the included PDF pages you can resume the Beamer presentation by
42443 beginning a new frame or by starting a new section.
42444 To avoid stray blank pages prior to the PDF pages, make sure to use the
42449 alignment for the paragraph containing the template.
42450 \begin_inset Newline newline
42453 Here is an included PDF which is rotated by -5°:
42454 \begin_inset External
42456 filename clipart/Abstract.pdf
42457 extra LaTeX "noautoscale, pages=-"
42459 rotateOrigin bottomleft
42466 \begin_layout Description
42468 \begin_inset space ~
42471 image This can be used for bitmap images.
42472 The image can be treated in the
42476 dialog like the images that are usually included via the
42480 dialog as described in section
42481 \begin_inset space ~
42485 \begin_inset CommandInset ref
42487 reference "sec:Graphics-Dialog"
42492 Here is an inserted raster image:
42493 \begin_inset External
42494 template RasterImage
42495 filename clipart/ToolbarEnvBox.png
42502 \begin_layout Description
42503 Spreadsheet With this template you can insert spreadsheets
42504 \begin_inset space \thinspace{}
42508 \begin_inset space \thinspace{}
42511 tables in the format of
42514 \begin_inset CommandInset href
42517 target "https://en.wikipedia.org/wiki/Gnumeric"
42525 \begin_inset CommandInset href
42527 name "OpenDocument"
42528 target "https://en.wikipedia.org/wiki/OpenDocument"
42534 \begin_inset CommandInset href
42536 name "Microsoft Office XML"
42537 target "https://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
42543 \begin_inset CommandInset href
42545 name "Office Open XML"
42546 target "https://en.wikipedia.org/wiki/Office_Open_XML"
42552 For this feature \SpecialChar LyX
42553 must have found the program
42557 during its configuration.
42558 This program is part of Gnumeric, so that you must have Gnumeric installed,
42559 also if you don't have tables in the Gnumeric format.
42560 For examples and possible limitations have a look at \SpecialChar LyX
42568 \begin_layout Description
42570 \begin_inset space ~
42573 graphics This can be used for vector graphics.
42574 The image can be treated in the
42578 dialog like the images that are usually included via the
42582 dialog as described in section
42583 \begin_inset space ~
42587 \begin_inset CommandInset ref
42589 reference "sec:Graphics-Dialog"
42594 Here is an inserted vector graphics:
42595 \begin_inset External
42596 template VectorGraphics
42597 filename clipart/SVG-Drawing.svg
42606 \begin_layout Description
42608 \begin_inset space ~
42611 figure This template supports images created with the program
42612 \begin_inset CommandInset href
42615 target "https://en.wikipedia.org/wiki/Xfig"
42623 \begin_layout Standard
42624 When you use the option
42636 dialog, only the path to the inserted file is shown in the output.
42637 \begin_inset Newline newline
42640 External material is displayed in \SpecialChar LyX
42641 either as a box like this:
42642 \begin_inset Graphics
42643 filename clipart/ExternalMaterial.png
42645 scaleBeforeRotation
42649 or as image, depending on the option
42655 LaTeX and LyX options
42660 \begin_layout Standard
42667 manual explains how you can define your own templates.
42670 \begin_layout Section
42672 \begin_inset CommandInset label
42674 name "sec:Child-Documents"
42679 \begin_inset Index idx
42684 \begin_layout Plain Layout
42685 External Document Parts
42686 \begin_inset IndexMacro subentry
42689 \begin_layout Plain Layout
42701 \begin_inset Index idx
42706 \begin_layout Plain Layout
42708 \begin_inset IndexMacro subentry
42711 \begin_layout Plain Layout
42725 \begin_layout Standard
42726 Child documents are used if you have a long document consisting of several
42727 larger parts or sections.
42728 For maintenance it is often useful and sometimes even required to split
42729 the document into several files that can be revised separately.
42730 The different documents are then the so called
42731 \begin_inset Quotes eld
42735 \begin_inset Quotes erd
42738 , and a master document connects them to print the full document or parts
42740 A child document inherits elements from its master, for example the \SpecialChar LaTeX
42742 the bibliography, and labels for cross-references.
42745 \begin_layout Standard
42746 To be able to work on child documents without the need to open their master,
42747 specify in the child document the master in the menu
42749 Document\SpecialChar menuseparator
42750 Settings\SpecialChar menuseparator
42752 \begin_inset space ~
42758 This master document will then be used in the background by \SpecialChar LyX
42760 the child document.
42763 \begin_layout Standard
42764 Included documents are displayed in \SpecialChar LyX
42765 as a box like this:
42766 \begin_inset Graphics
42767 filename clipart/ChildDocument.png
42769 scaleBeforeRotation
42773 To include child documents in a master document use the menu
42775 Insert\SpecialChar menuseparator
42776 File\SpecialChar menuseparator
42778 \begin_inset space ~
42784 A dialog pops up where you can choose between four include methods:
42787 \begin_layout Description
42788 Include You can include \SpecialChar LyX
42789 and \SpecialChar LaTeX
42799 dialog, the included document will be opened in \SpecialChar LyX
42800 in a new file tab so that
42802 \begin_inset Newline newline
42808 \begin_layout Standard
42809 Here is a child document inserted using
42814 \begin_inset CommandInset include
42815 LatexCommand include
42816 filename "DummyDocument1.lyx"
42824 \begin_layout Standard
42825 The section numbering includes the sections of the included files in the
42826 order they are inserted in the master document.
42827 The included example document has for example a subsection that is numbered
42828 as a subsection of this section.
42829 Labels of included documents can be referenced: Subsection
42830 \begin_inset space ~
42834 \begin_inset CommandInset ref
42836 reference "subsec:External-Subsection-1"
42843 \begin_layout Standard
42844 The preamble of the child document is ignored; only the preamble of the
42845 master document is used.
42846 Branches in child documents will be ignored by the master document when
42847 the master document does not have a branch with the same name.
42848 Included documents are inserted starting on a new page and ending with
42852 \begin_layout Standard
42853 \begin_inset Note Greyedout
42856 \begin_layout Plain Layout
42861 If you have included a \SpecialChar LyX
42862 or \SpecialChar LaTeX
42863 file, you are warned when you export/view the
42864 document in case the child document uses another document class than the
42865 master document as this will lead to unexpected outputs.
42873 \begin_layout Description
42874 Input This method is very similar to the Include method.
42875 The differences are:
42879 \begin_layout Itemize
42880 Input files don't start with a new page and don't end with a page break.
42883 \begin_layout Itemize
42884 Input files can be previewed in \SpecialChar LyX
42888 \begin_inset space ~
42893 is enabled in \SpecialChar LyX
42894 's preferences under
42897 \begin_inset space ~
42901 \begin_inset space ~
42904 feel\SpecialChar menuseparator
42910 \begin_layout Itemize
42911 You cannot exclude Input files via the menu
42913 Document\SpecialChar menuseparator
42914 Settings\SpecialChar menuseparator
42921 \begin_layout Standard
42922 Here is a child document inserted using
42927 \begin_inset CommandInset include
42929 filename "DummyDocument2.lyx"
42937 \begin_layout Description
42938 Verbatim With this method any text file can be included.
42939 The file is shown in the output with its source code; no command used in
42940 the text is invoked.
42941 You can use the option
42943 Mark spaces in output
42945 that displays the character
42946 \begin_inset Quotes eld
42953 \begin_layout Plain Layout
42963 \begin_inset Quotes erd
42966 for every space character in the source code.
42967 The difference from the method via the menu
42969 Insert\SpecialChar menuseparator
42970 File\SpecialChar menuseparator
42972 \begin_inset space ~
42977 is that the document content is not shown in \SpecialChar LyX
42981 \begin_layout Standard
42982 Here is a child document inserted as Verbatim:
42983 \begin_inset CommandInset include
42984 LatexCommand verbatiminput
42985 filename "DummyTextDocument.txt"
42991 \begin_inset VSpace bigskip
42994 Here is a child document inserted as Verbatim using the
42996 Mark spaces in output
42999 \begin_inset CommandInset include
43000 LatexCommand verbatiminput*
43001 filename "DummyTextDocument.txt"
43009 \begin_layout Standard
43010 \begin_inset VSpace bigskip
43016 \begin_layout Standard
43017 \begin_inset Note Greyedout
43020 \begin_layout Plain Layout
43025 As you can see in the examples above, the text of the documents included
43030 is not broken at the end of the document lines.
43038 \begin_layout Description
43039 Listings This type is described in chapter
43040 \begin_inset space ~
43044 \begin_inset CommandInset ref
43046 reference "cha:Program-Code-Listings"
43053 \begin_layout Standard
43054 \begin_inset Note Greyedout
43057 \begin_layout Plain Layout
43062 Including the same document twice in a document using different methods
43063 could cause \SpecialChar LaTeX
43072 \begin_layout Standard
43073 If you want to view/export only selected children of your master document,
43074 either because you want to save compiling time or because you want to distribut
43075 e single chapters of the book you are just writing, you can exclude children
43077 This is done via the menu
43079 Document\SpecialChar menuseparator
43080 Settings\SpecialChar menuseparator
43084 You can exclude\SpecialChar breakableslash
43085 include children by double-clicking on the
43089 column of the respective child document in the list (note that this only
43090 works for documents embedded via
43091 \begin_inset Quotes eld
43095 \begin_inset Quotes erd
43099 \begin_inset Quotes eld
43103 \begin_inset Quotes erd
43108 \change_inserted -712698321 1584102244
43112 \begin_layout Standard
43114 \change_inserted -712698321 1584102427
43117 Global Counters & References
43119 you can set how page numbers, references, section counters etc.
43123 \begin_layout Itemize
43125 \change_inserted -712698321 1584102377
43131 \change_deleted -712698321 1584102385
43134 Maintain counters and references
43139 will assure that all page numbers, references etc.
43140 \begin_inset space ~
43143 are correct as if the whole document was
43144 \change_deleted -712698321 1584108508
43146 \change_inserted -712698321 1584108509
43150 This is useful if you want the selected sub-documents to look exactly as
43151 in the context of the whole document.
43152 However, \SpecialChar LyX
43153 needs to process the whole document in the background for this
43155 \change_inserted -712698321 1584102406
43156 , which can take a long time
43160 \change_deleted -712698321 1584103026
43162 \change_inserted -712698321 1584102447
43166 \begin_layout Itemize
43168 \change_inserted -712698321 1584102489
43177 \change_inserted -712698321 1584103270
43178 only compiles the master and the included documents.
43179 Thus the counters will differ from the complete document, and references
43180 to excluded child documents will not be resolved.
43182 \change_deleted -712698321 1584102517
43184 \change_inserted -712698321 1584102518
43187 f you want to save compile time and if counters and references do not need
43189 \change_deleted -712698321 1584102523
43190 disable this checkbox
43191 \change_inserted -712698321 1584102546
43192 use this option as this is the fastest one
43195 \change_inserted -712698321 1584102550
43199 \begin_layout Itemize
43201 \change_inserted -712698321 1584109486
43206 is somewhat in-between the above two.
43207 If this is selected, \SpecialChar LyX
43208 will compile the whole document at the first output,
43209 which sets up counters and references correctly.
43210 In subsequent outputs, it will compile the whole document only if a change
43211 has been made in an excluded child document.
43212 As long as you only edit the included files, this approach is as fast as
43213 the second one, while giving you more or less correct counters and references.
43214 They are only more or less correct since the change of size of included
43215 documents obviously also changes the pagination of excluded documents,
43216 but this change cannot be tracked with this method.
43221 \begin_layout Standard
43222 Alternatively, you can put each included file into a branch.
43226 \begin_layout Plain Layout
43227 Branches are described in section
43231 of the \SpecialChar LyX
43241 By enabling\SpecialChar breakableslash
43242 disabling branches you can decide which included files will
43243 appear in the output.
43244 This has the advantage that it also works with Input'ed sub-documents.
43245 However, counters and references will not be maintained with this approach.
43248 \begin_layout Chapter
43249 Program Code Listings
43250 \begin_inset CommandInset label
43252 name "cha:Program-Code-Listings"
43257 \begin_inset Index idx
43262 \begin_layout Plain Layout
43269 \begin_inset Index idx
43274 \begin_layout Plain Layout
43281 \begin_inset Index idx
43286 \begin_layout Plain Layout
43288 \begin_inset IndexMacro subentry
43291 \begin_layout Plain Layout
43305 \begin_layout Standard
43306 To include and typeset program code you can use the
43310 inset that can be inserted via the menu
43312 Insert\SpecialChar menuseparator
43316 The \SpecialChar LaTeX
43322 \begin_inset Index idx
43327 \begin_layout Plain Layout
43330 \begin_inset IndexMacro subentry
43333 \begin_layout Plain Layout
43349 \begin_inset Index idx
43354 \begin_layout Plain Layout
43357 \begin_inset IndexMacro subentry
43360 \begin_layout Plain Layout
43371 provide a powerful and flexible way to insert program source code into
43373 One can only use one of these packages in a document.
43378 is used by default.
43381 \begin_layout Standard
43382 \begin_inset Note Note
43385 \begin_layout Plain Layout
43391 does NOT want to encourage users to add the
43395 option to converter definitions.
43396 It works, but it is a huge security risk.
43397 There is an active discussion about how to handle this.
43398 Once that's been resolved, this can be updated appropriately.
43401 \begin_layout Plain Layout
43405 \begin_layout Plain Layout
43410 , you need to select it as the syntax highlighting package in the document
43420 requires also additionally the module
43432 \begin_layout Plain Layout
43433 Under \SpecialChar LyX
43438 is already installed.
43447 for the \SpecialChar LaTeX
43449 If you want for example view or export your document as the format
43452 \begin_inset space ~
43457 , go to the \SpecialChar LyX
43458 preferences and there to the section
43461 \begin_inset space ~
43464 Handling\SpecialChar menuseparator
43468 There go to the entry
43471 \begin_inset space ~
43475 \begin_inset space ~
43480 and look at the field
43485 There you see by default the content
43486 \begin_inset Newline newline
43494 \begin_inset Newline newline
43498 \begin_inset Newline newline
43503 pdflatex $$i -shell-escape
43504 \begin_inset Newline newline
43513 button and subsequently
43522 The same can be done for the output formats
43525 \begin_inset space ~
43533 \begin_inset space ~
43546 \begin_layout Standard
43547 Right-clicking on a listings inset opens the context menu containing where
43548 you can set the listings format.
43551 \begin_layout Standard
43552 By default, a listing starts a new paragraph in the output.
43553 The placement option
43556 \begin_inset space ~
43561 prints the listing inline like this:
43562 \begin_inset listings
43563 lstparams "language={C++}"
43567 \begin_layout Plain Layout
43575 \begin_inset Newline newline
43582 creates a listings float where you can specify the placement options
43583 \begin_inset Quotes eld
43591 \begin_inset Quotes erd
43595 \begin_inset Quotes eld
43603 \begin_inset Quotes erd
43607 \begin_inset Quotes eld
43615 \begin_inset Quotes erd
43619 \begin_inset Quotes eld
43627 \begin_inset Quotes erd
43630 corresponding to the float placement options described in section
43631 \begin_inset space ~
43635 \begin_inset CommandInset ref
43637 reference "sec:Float-Settings"
43642 The placement options can be mixed and are inserted without any separation,
43644 \begin_inset space \thinspace{}
43648 \begin_inset space \space{}
43652 \begin_inset Quotes eld
43660 \begin_inset Quotes erd
43665 \begin_inset Quotes eld
43669 \begin_inset Quotes erd
43672 has sometimes no effect, but you don't need to use the
43676 option in this case as also non-float listings can have captions and be
43680 \begin_layout Standard
43681 You can add captions to listings that are not inline with the menu
43683 Insert\SpecialChar menuseparator
43687 Listings can be referenced like floats: Listing
43688 \begin_inset space ~
43692 \begin_inset CommandInset ref
43694 reference "lst:Example-Listing"
43699 A list of listings which contains all listings with captions can be created
43702 Insert\SpecialChar menuseparator
43704 \begin_inset space ~
43708 \begin_inset space ~
43711 TOC\SpecialChar menuseparator
43715 The list entries are the listing caption and the listing number.
43718 \begin_layout Standard
43719 \begin_inset listings
43720 lstparams "language=Python"
43724 \begin_layout Plain Layout
43726 \begin_inset Caption Standard
43728 \begin_layout Plain Layout
43729 \begin_inset CommandInset label
43731 name "lst:Example-Listing"
43735 Example Listing float
43740 # Example listing float
43743 \begin_layout Plain Layout
43748 \begin_layout Plain Layout
43750 'this is a python function'
43753 \begin_layout Plain Layout
43763 \begin_layout Standard
43764 \begin_inset Note Greyedout
43767 \begin_layout Plain Layout
43776 package places captions before the listing by default.
43777 \begin_inset Newline newline
43784 package places them after the listing by default if it is floating.
43785 If it is not floating, caption will be typeset before the listing if it
43786 is inserted to its first line, otherwise it will be typeset after the listing.
43787 If you want to force the placement in every case before the listing, you
43788 have to add the following lines as last thing to the preamble:
43789 \begin_inset Newline newline
43796 @ifundefined{newfloat}
43797 \begin_inset Newline newline
43801 \begin_inset Phantom HPhantom
43804 \begin_layout Plain Layout
43807 \begin_inset space ~
43817 usepackage{float}}{}
43818 \begin_inset Newline newline
43823 floatstyle{plaintop}
43826 \begin_inset Note Note
43829 \begin_layout Plain Layout
43834 will be loaded automatically by \SpecialChar LyX
43835 when you use special document-wide float
43836 placement settings.
43837 To avoid that it is loaded twice the command
43843 is used in the above command.
43856 \begin_layout Standard
43857 When you have set a programming language in the listings dialog, the keywords
43858 of this language will be recognized and specially typeset in the output.
43859 In the example listings the Python keyword
43860 \begin_inset Quotes eld
43864 \begin_inset Quotes erd
43867 is recognized and printed bold in the output.
43870 \begin_layout Standard
43871 \begin_inset Note Greyedout
43874 \begin_layout Plain Layout
43879 If you don't get bold keywords when using typewriter fonts, your
43883 font probably doesn't provide a bold shape.
43884 In this case select a different one in the menu
43886 Document\SpecialChar menuseparator
43887 Settings\SpecialChar menuseparator
43899 provide bold shapes.)
43907 \begin_layout Standard
43911 \begin_inset space ~
43916 of the listings dialog you can specify the line numbering style.
43917 You can insert a number to specify which lines are numbered in the field
43924 \begin_inset space \thinspace{}
43928 \begin_inset space \space{}
43932 \begin_inset Quotes eld
43936 \begin_inset Quotes erd
43939 , only every 3rd line will be numbered.
43942 \begin_layout Standard
43943 You can furthermore specify a range of lines; only these will then appear
43947 Extended character table
43949 is only meaningful for the
43953 package and should be used when you use national characters like the German
43954 umlauts in the listing.
43955 \begin_inset Newline newline
43958 Here is an example listing with left line numbering, step
43959 \begin_inset Quotes eld
43963 \begin_inset Quotes erd
43967 \begin_inset Quotes eld
43971 \begin_inset Quotes erd
43975 \begin_inset Quotes eld
43978 Extended character table
43979 \begin_inset Quotes erd
43983 \begin_inset Quotes eld
43987 \begin_inset space ~
43991 \begin_inset space ~
43995 \begin_inset Quotes erd
43999 \begin_inset space \thinspace{}
44003 \begin_inset space \thinspace{}
44009 \begin_layout Standard
44010 \begin_inset listings
44011 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
44015 \begin_layout Plain Layout
44020 \begin_layout Plain Layout
44022 'this is a python function'
44025 \begin_layout Plain Layout
44030 \begin_layout Plain Layout
44035 \begin_layout Plain Layout
44037 'This is a German word: Tschüß'
44040 \begin_layout Plain Layout
44045 \begin_layout Plain Layout
44050 \begin_layout Plain Layout
44052 'this is a python function'
44055 \begin_layout Plain Layout
44065 \begin_layout Standard
44066 When you have tabulators in your listing, you can specify the number of
44067 characters that are spanned by a tabulator in the field
44070 \begin_inset space ~
44078 \begin_layout Standard
44079 \begin_inset Note Greyedout
44082 \begin_layout Plain Layout
44087 Due to a bug in the
44091 package the line numbering is shifted by a line by every previous listing.
44092 That's the reason why the lines 2 and 5 are numbered in the above listing
44093 and not the lines 3 and 6.
44101 \begin_layout Standard
44102 \begin_inset VSpace bigskip
44108 \begin_layout Standard
44109 It is also possible to print lines from a file as listing.
44110 To do this, use the menu
44112 Insert\SpecialChar menuseparator
44113 File\SpecialChar menuseparator
44116 and choose the type
44124 \begin_layout Plain Layout
44125 The other child document types are described in section
44126 \begin_inset space ~
44130 \begin_inset CommandInset ref
44132 reference "sec:Child-Documents"
44141 In the child document dialog you can specify the listing parameters in
44143 To show a list of all available parameters, type in a question mark
44144 \begin_inset Quotes eld
44148 \begin_inset Quotes erd
44154 \begin_layout Standard
44155 To reference child document listings, write a label text into the corresponding
44156 field of the child document dialog.
44157 The label can then be referenced using the menu
44159 Insert\SpecialChar menuseparator
44165 \begin_layout Standard
44167 \begin_inset space ~
44171 \begin_inset CommandInset ref
44173 reference "lst:file-listing"
44177 is an example for a listing of a file; there the lines 10
44178 \begin_inset space \thinspace{}
44182 \begin_inset space \thinspace{}
44185 15 of this \SpecialChar LyX
44189 \begin_layout Standard
44190 \begin_inset CommandInset include
44191 LatexCommand lstinputlisting
44192 filename "EmbeddedObjects.lyx"
44193 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
44201 \begin_layout Standard
44202 \begin_inset VSpace bigskip
44208 \begin_layout Standard
44209 Inserting a formula into a listing can be done the following way:
44212 \begin_layout Enumerate
44213 Open the listings dialog and add
44214 \begin_inset Newline newline
44222 \begin_inset Newline newline
44225 to the field of the
44232 \begin_layout Enumerate
44233 Create a formula outside the listing
44236 \begin_layout Enumerate
44237 Copy the content of the formula (not the formula inset) to the clipboard
44247 \begin_layout Enumerate
44248 In the listing write
44249 \begin_inset Quotes eld
44257 \begin_inset Quotes erd
44260 and copy from the clipboard between the dollar-signs (shortcut
44269 \begin_layout Standard
44270 \begin_inset listings
44271 lstparams "language=Python,mathescape=true"
44275 \begin_layout Plain Layout
44277 \begin_inset Caption Standard
44279 \begin_layout Plain Layout
44280 Example Listing float containing a formula
44285 # Example listing float
44288 \begin_layout Plain Layout
44293 \begin_layout Plain Layout
44306 \begin_layout Plain Layout
44316 \begin_layout Standard
44317 \begin_inset VSpace bigskip
44323 \begin_layout Standard
44324 Global listings settings can be set in the
44326 Document\SpecialChar menuseparator
44327 Settings\SpecialChar menuseparator
44331 To get there a list of available options, type in a question mark
44332 \begin_inset Quotes eld
44336 \begin_inset Quotes erd
44342 \begin_layout Standard
44343 For more information about the
44351 packages, we refer to their documentation
44352 \begin_inset CommandInset citation
44354 key "listings,minted"
44362 \begin_layout Standard
44363 \begin_inset Newpage newpage
44369 \begin_layout Chapter
44371 Units available in \SpecialChar LyX
44373 \begin_inset Index idx
44378 \begin_layout Plain Layout
44385 \begin_inset CommandInset label
44387 name "cha:Units-available-in"
44394 \begin_layout Standard
44395 To understand the units described in this documentation, Table
44396 \begin_inset space ~
44400 \begin_inset CommandInset ref
44402 reference "tab:Units"
44406 explains all units available in \SpecialChar LyX
44410 \begin_layout Standard
44411 \begin_inset Float table
44418 \begin_layout Plain Layout
44419 \begin_inset Caption Standard
44421 \begin_layout Plain Layout
44422 \begin_inset CommandInset label
44436 \begin_layout Plain Layout
44437 \begin_inset VSpace medskip
44443 \begin_layout Plain Layout
44445 \begin_inset Tabular
44446 <lyxtabular version="3" rows="21" columns="3">
44447 <features tabularvalignment="middle">
44448 <column alignment="center" valignment="top">
44449 <column alignment="center" valignment="middle" width="50col%">
44450 <column alignment="center" valignment="top">
44452 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
44455 \begin_layout Plain Layout
44461 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
44464 \begin_layout Plain Layout
44470 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
44473 \begin_layout Plain Layout
44482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44485 \begin_layout Plain Layout
44491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44494 \begin_layout Plain Layout
44496 \begin_inset space \thinspace{}
44500 \begin_inset space \thinspace{}
44508 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44511 \begin_layout Plain Layout
44519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44522 \begin_layout Plain Layout
44528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44531 \begin_layout Plain Layout
44533 \begin_inset space \thinspace{}
44537 \begin_inset space \thinspace{}
44545 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44548 \begin_layout Plain Layout
44556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44559 \begin_layout Plain Layout
44565 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44568 \begin_layout Plain Layout
44574 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44577 \begin_layout Plain Layout
44585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44588 \begin_layout Plain Layout
44594 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44597 \begin_layout Plain Layout
44599 \begin_inset space \thinspace{}
44603 \begin_inset Formula $\approx$
44607 \begin_inset space \thinspace{}
44615 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44618 \begin_layout Plain Layout
44626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44629 \begin_layout Plain Layout
44635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44638 \begin_layout Plain Layout
44648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44651 \begin_layout Plain Layout
44659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44662 \begin_layout Plain Layout
44668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44671 \begin_layout Plain Layout
44681 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44684 \begin_layout Plain Layout
44692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44695 \begin_layout Plain Layout
44701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44704 \begin_layout Plain Layout
44710 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44713 \begin_layout Plain Layout
44721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44724 \begin_layout Plain Layout
44730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44733 \begin_layout Plain Layout
44739 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44742 \begin_layout Plain Layout
44750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44753 \begin_layout Plain Layout
44759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44762 \begin_layout Plain Layout
44764 \begin_inset space \thinspace{}
44768 \begin_inset space \thinspace{}
44776 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44779 \begin_layout Plain Layout
44787 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44790 \begin_layout Plain Layout
44796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44799 \begin_layout Plain Layout
44801 \begin_inset space \thinspace{}
44805 \begin_inset space \thinspace{}
44813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44816 \begin_layout Plain Layout
44824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44827 \begin_layout Plain Layout
44833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44836 \begin_layout Plain Layout
44838 \begin_inset space \thinspace{}
44842 \begin_inset space \thinspace{}
44850 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44853 \begin_layout Plain Layout
44861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44864 \begin_layout Plain Layout
44870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44873 \begin_layout Plain Layout
44874 scaled point (65536
44875 \begin_inset space \thinspace{}
44879 \begin_inset space \thinspace{}
44887 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44890 \begin_layout Plain Layout
44898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44901 \begin_layout Plain Layout
44907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44910 \begin_layout Plain Layout
44916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44919 \begin_layout Plain Layout
44929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44932 \begin_layout Plain Layout
44938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44941 \begin_layout Plain Layout
44942 % of height between baselines of two subsequent text lines
44947 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44950 \begin_layout Plain Layout
44960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44963 \begin_layout Plain Layout
44969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44972 \begin_layout Plain Layout
44978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44981 \begin_layout Plain Layout
44991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44994 \begin_layout Plain Layout
45000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45003 \begin_layout Plain Layout
45009 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45012 \begin_layout Plain Layout
45022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45025 \begin_layout Plain Layout
45031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45034 \begin_layout Plain Layout
45040 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45043 \begin_layout Plain Layout
45053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45056 \begin_layout Plain Layout
45062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45065 \begin_layout Plain Layout
45066 % of original image width
45071 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45074 \begin_layout Plain Layout
45082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45085 \begin_layout Plain Layout
45091 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45094 \begin_layout Plain Layout
45100 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45103 \begin_layout Plain Layout
45113 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
45116 \begin_layout Plain Layout
45122 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
45125 \begin_layout Plain Layout
45131 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
45134 \begin_layout Plain Layout
45155 \begin_layout Chapter
45156 Output File Formats with Graphics
45157 \begin_inset CommandInset label
45159 name "cha:Output-File-Formats"
45166 \begin_layout Section
45168 \begin_inset Index idx
45173 \begin_layout Plain Layout
45175 \begin_inset IndexMacro subentry
45178 \begin_layout Plain Layout
45190 \begin_inset Index idx
45195 \begin_layout Plain Layout
45197 \begin_inset IndexMacro see
45200 \begin_layout Plain Layout
45214 \begin_layout Standard
45215 This file type has the extension
45216 \begin_inset Quotes eld
45224 \begin_inset Quotes erd
45229 \begin_inset Quotes eld
45233 \begin_inset Quotes erd
45236 (DVI), because it is completely portable; you can move them from one machine
45237 to another without needing to do any sort of conversion.
45238 At the time when this file-format was developed, this was no matter of
45240 DVIs are used for quick previews and as pre-stage for other output formats,
45244 \begin_layout Standard
45245 \begin_inset Note Greyedout
45248 \begin_layout Plain Layout
45253 DVI-files do not contain images; they will only be a linked.
45258 So don't forget this, if you move your
45262 file to another computer.
45263 This property can also slow down your computer when you view the DVI, because
45264 the DVI-viewer has to convert the image in the background to make it visible
45265 when you scroll in the DVI.
45266 So it is recommended that you use PDF for files with many images.
45269 \begin_layout Standard
45270 You can export your document to DVI by using the menu
45272 File\SpecialChar menuseparator
45273 Export\SpecialChar menuseparator
45277 You can view your document as DVI via the
45284 \begin_layout Section
45286 \begin_inset Index idx
45291 \begin_layout Plain Layout
45293 \begin_inset IndexMacro subentry
45296 \begin_layout Plain Layout
45308 \begin_inset Index idx
45313 \begin_layout Plain Layout
45315 \begin_inset IndexMacro see
45318 \begin_layout Plain Layout
45332 \begin_layout Standard
45333 This file type has the extension
45334 \begin_inset Quotes eld
45342 \begin_inset Quotes erd
45346 PostScript was developed by the company
45350 as a printer language.
45351 The file therefore contains commands that the printer uses to print the
45353 PostScript can be seen as a
45354 \begin_inset Quotes eld
45357 programming language
45358 \begin_inset Quotes erd
45361 ; you can calculate with it and draw diagrams and images.
45365 \begin_layout Plain Layout
45366 If you are interested to learn more about this, have a look at the \SpecialChar LaTeX
45373 \begin_inset CommandInset citation
45385 Due to this ability, the files are often bigger than PDFs.
45388 \begin_layout Standard
45389 PostScript can only contain images in the format
45390 \begin_inset Quotes eld
45393 Encapsulated PostScript
45394 \begin_inset Quotes erd
45397 (EPS, file extension
45398 \begin_inset Quotes eld
45406 \begin_inset Quotes erd
45410 As \SpecialChar LyX
45411 allows you to use any known image format in your document, it has to
45412 convert images in the background to EPS.
45414 \begin_inset space ~
45418 \begin_inset space ~
45421 images in your document, \SpecialChar LyX
45423 \begin_inset space ~
45426 conversions whenever you view or export your document.
45427 This will slow down your work flow with \SpecialChar LyX
45429 So if you plan to use PostScript, you can insert your images directly as
45430 EPS to avoid this problem.
45433 \begin_layout Standard
45434 You can export your document to PostScript using the menu
45436 File\SpecialChar menuseparator
45437 Export\SpecialChar menuseparator
45441 You can view your document as PostScript via the
45448 \begin_layout Section
45450 \begin_inset Index idx
45455 \begin_layout Plain Layout
45457 \begin_inset IndexMacro subentry
45460 \begin_layout Plain Layout
45472 \begin_inset Index idx
45477 \begin_layout Plain Layout
45486 \begin_layout Standard
45487 This file type has the extension
45488 \begin_inset Quotes eld
45496 \begin_inset Quotes erd
45501 \begin_inset Quotes eld
45504 Portable Document Format
45505 \begin_inset Quotes erd
45508 (PDF) was developed by
45512 as a derivative of PostScript.
45513 It is more compressed and it uses fewer commands than PostScript.
45515 \begin_inset Quotes eld
45519 \begin_inset Quotes erd
45522 implies, it can be processed at any computer system and the printed output
45523 looks exactly the same.
45526 \begin_layout Standard
45527 PDF can contain images in its own PDF format, in the format
45528 \begin_inset Quotes eld
45531 Joint Photographic Experts Group
45532 \begin_inset Quotes erd
45535 (JPG, file extension
45536 \begin_inset Quotes eld
45544 \begin_inset Quotes erd
45548 \begin_inset Quotes eld
45556 \begin_inset Quotes erd
45559 ), and in the format
45560 \begin_inset Quotes eld
45563 Portable Network Graphics
45564 \begin_inset Quotes erd
45567 (PNG, file extension
45568 \begin_inset Quotes eld
45576 \begin_inset Quotes erd
45580 Nevertheless you can use any other image format, because \SpecialChar LyX
45582 in the background to one of these formats.
45583 But as described in the section about PostScript, the image conversion
45584 will slow down your work flow.
45585 So it is recommended that you use images in one of the three mentioned
45589 \begin_layout Standard
45590 You can export your document to PDF via the menu
45592 File\SpecialChar menuseparator
45595 in three different ways:
45598 \begin_layout Description
45600 \begin_inset space ~
45603 (ps2pdf) This uses the program
45607 that creates a PDF from a PostScript-version of your file.
45608 The PostScript-version is produced by the program
45612 which uses a DVI-version as intermediate step.
45613 So this export variant consists of three conversions.
45616 \begin_layout Description
45618 \begin_inset space ~
45621 (dvipdfm) This uses the program
45625 that converts your file in the background to DVI and in a second step to
45629 \begin_layout Description
45631 \begin_inset space ~
45634 (pdflatex) This uses the program
45638 that converts your file directly to PDF.
45641 \begin_layout Standard
45642 It is recommended that you use
45645 \begin_inset space ~
45654 supports all features of actual PDF-versions, is quick and works stable.
45659 is not under development and therefore a bit outdated.
45662 \begin_layout Standard
45663 You can view your document as PDF via the
45667 menu or by using a toolbar button.
45670 \begin_layout Chapter
45671 List of dvips color names
45672 \begin_inset CommandInset label
45674 name "chap:List-of-dvips-colornames"
45681 \begin_layout Standard
45682 \begin_inset Tabular
45683 <lyxtabular version="3" rows="17" columns="4">
45684 <features tabularvalignment="middle">
45685 <column alignment="left" valignment="top" width="0pt">
45686 <column alignment="left" valignment="top" width="0pt">
45687 <column alignment="left" valignment="top" width="0pt">
45688 <column alignment="left" valignment="top" width="0pt">
45690 <cell alignment="left" valignment="top" usebox="none">
45693 \begin_layout Plain Layout
45697 \begin_layout Plain Layout
45710 \begin_layout Plain Layout
45721 \begin_layout Plain Layout
45733 <cell alignment="left" valignment="top" usebox="none">
45736 \begin_layout Plain Layout
45740 \begin_layout Plain Layout
45753 \begin_layout Plain Layout
45764 \begin_layout Plain Layout
45776 <cell alignment="left" valignment="top" usebox="none">
45779 \begin_layout Plain Layout
45783 \begin_layout Plain Layout
45796 \begin_layout Plain Layout
45807 \begin_layout Plain Layout
45819 <cell alignment="left" valignment="top" usebox="none">
45822 \begin_layout Plain Layout
45826 \begin_layout Plain Layout
45839 \begin_layout Plain Layout
45850 \begin_layout Plain Layout
45864 <cell alignment="center" valignment="top" usebox="none">
45867 \begin_layout Plain Layout
45871 \begin_layout Plain Layout
45884 \begin_layout Plain Layout
45892 \begin_inset Phantom Phantom
45895 \begin_layout Plain Layout
45905 \begin_layout Plain Layout
45917 <cell alignment="center" valignment="top" usebox="none">
45920 \begin_layout Plain Layout
45924 \begin_layout Plain Layout
45937 \begin_layout Plain Layout
45945 \begin_inset Phantom Phantom
45948 \begin_layout Plain Layout
45958 \begin_layout Plain Layout
45970 <cell alignment="center" valignment="top" usebox="none">
45973 \begin_layout Plain Layout
45977 \begin_layout Plain Layout
45990 \begin_layout Plain Layout
45998 \begin_inset Phantom Phantom
46001 \begin_layout Plain Layout
46011 \begin_layout Plain Layout
46023 <cell alignment="center" valignment="top" usebox="none">
46026 \begin_layout Plain Layout
46030 \begin_layout Plain Layout
46043 \begin_layout Plain Layout
46051 \begin_inset Phantom Phantom
46054 \begin_layout Plain Layout
46064 \begin_layout Plain Layout
46078 <cell alignment="left" valignment="top" usebox="none">
46081 \begin_layout Plain Layout
46085 \begin_layout Plain Layout
46098 \begin_layout Plain Layout
46106 \begin_inset Phantom Phantom
46109 \begin_layout Plain Layout
46119 \begin_layout Plain Layout
46131 <cell alignment="left" valignment="top" usebox="none">
46134 \begin_layout Plain Layout
46138 \begin_layout Plain Layout
46151 \begin_layout Plain Layout
46159 \begin_inset Phantom Phantom
46162 \begin_layout Plain Layout
46172 \begin_layout Plain Layout
46184 <cell alignment="left" valignment="top" usebox="none">
46187 \begin_layout Plain Layout
46191 \begin_layout Plain Layout
46204 \begin_layout Plain Layout
46212 \begin_inset Phantom Phantom
46215 \begin_layout Plain Layout
46225 \begin_layout Plain Layout
46237 <cell alignment="left" valignment="top" usebox="none">
46240 \begin_layout Plain Layout
46244 \begin_layout Plain Layout
46257 \begin_layout Plain Layout
46265 \begin_inset Phantom Phantom
46268 \begin_layout Plain Layout
46278 \begin_layout Plain Layout
46292 <cell alignment="left" valignment="top" usebox="none">
46295 \begin_layout Plain Layout
46299 \begin_layout Plain Layout
46312 \begin_layout Plain Layout
46320 \begin_inset Phantom Phantom
46323 \begin_layout Plain Layout
46333 \begin_layout Plain Layout
46345 <cell alignment="left" valignment="top" usebox="none">
46348 \begin_layout Plain Layout
46352 \begin_layout Plain Layout
46365 \begin_layout Plain Layout
46373 \begin_inset Phantom Phantom
46376 \begin_layout Plain Layout
46386 \begin_layout Plain Layout
46398 <cell alignment="left" valignment="top" usebox="none">
46401 \begin_layout Plain Layout
46405 \begin_layout Plain Layout
46418 \begin_layout Plain Layout
46426 \begin_inset Phantom Phantom
46429 \begin_layout Plain Layout
46439 \begin_layout Plain Layout
46451 <cell alignment="left" valignment="top" usebox="none">
46454 \begin_layout Plain Layout
46458 \begin_layout Plain Layout
46471 \begin_layout Plain Layout
46479 \begin_inset Phantom Phantom
46482 \begin_layout Plain Layout
46492 \begin_layout Plain Layout
46506 <cell alignment="left" valignment="top" usebox="none">
46509 \begin_layout Plain Layout
46513 \begin_layout Plain Layout
46526 \begin_layout Plain Layout
46534 \begin_inset Phantom Phantom
46537 \begin_layout Plain Layout
46547 \begin_layout Plain Layout
46559 <cell alignment="left" valignment="top" usebox="none">
46562 \begin_layout Plain Layout
46566 \begin_layout Plain Layout
46579 \begin_layout Plain Layout
46587 \begin_inset Phantom Phantom
46590 \begin_layout Plain Layout
46600 \begin_layout Plain Layout
46612 <cell alignment="left" valignment="top" usebox="none">
46615 \begin_layout Plain Layout
46619 \begin_layout Plain Layout
46632 \begin_layout Plain Layout
46640 \begin_inset Phantom Phantom
46643 \begin_layout Plain Layout
46653 \begin_layout Plain Layout
46665 <cell alignment="left" valignment="top" usebox="none">
46668 \begin_layout Plain Layout
46672 \begin_layout Plain Layout
46685 \begin_layout Plain Layout
46693 \begin_inset Phantom Phantom
46696 \begin_layout Plain Layout
46706 \begin_layout Plain Layout
46720 <cell alignment="left" valignment="top" usebox="none">
46723 \begin_layout Plain Layout
46727 \begin_layout Plain Layout
46740 \begin_layout Plain Layout
46748 \begin_inset Phantom Phantom
46751 \begin_layout Plain Layout
46761 \begin_layout Plain Layout
46773 <cell alignment="left" valignment="top" usebox="none">
46776 \begin_layout Plain Layout
46780 \begin_layout Plain Layout
46793 \begin_layout Plain Layout
46801 \begin_inset Phantom Phantom
46804 \begin_layout Plain Layout
46814 \begin_layout Plain Layout
46826 <cell alignment="left" valignment="top" usebox="none">
46829 \begin_layout Plain Layout
46833 \begin_layout Plain Layout
46846 \begin_layout Plain Layout
46854 \begin_inset Phantom Phantom
46857 \begin_layout Plain Layout
46867 \begin_layout Plain Layout
46879 <cell alignment="left" valignment="top" usebox="none">
46882 \begin_layout Plain Layout
46886 \begin_layout Plain Layout
46899 \begin_layout Plain Layout
46907 \begin_inset Phantom Phantom
46910 \begin_layout Plain Layout
46920 \begin_layout Plain Layout
46934 <cell alignment="center" valignment="top" usebox="none">
46937 \begin_layout Plain Layout
46941 \begin_layout Plain Layout
46954 \begin_layout Plain Layout
46962 \begin_inset Phantom Phantom
46965 \begin_layout Plain Layout
46975 \begin_layout Plain Layout
46987 <cell alignment="center" valignment="top" usebox="none">
46990 \begin_layout Plain Layout
46994 \begin_layout Plain Layout
47007 \begin_layout Plain Layout
47015 \begin_inset Phantom Phantom
47018 \begin_layout Plain Layout
47028 \begin_layout Plain Layout
47040 <cell alignment="center" valignment="top" usebox="none">
47043 \begin_layout Plain Layout
47047 \begin_layout Plain Layout
47060 \begin_layout Plain Layout
47068 \begin_inset Phantom Phantom
47071 \begin_layout Plain Layout
47081 \begin_layout Plain Layout
47093 <cell alignment="center" valignment="top" usebox="none">
47096 \begin_layout Plain Layout
47100 \begin_layout Plain Layout
47113 \begin_layout Plain Layout
47121 \begin_inset Phantom Phantom
47124 \begin_layout Plain Layout
47134 \begin_layout Plain Layout
47148 <cell alignment="left" valignment="top" usebox="none">
47151 \begin_layout Plain Layout
47155 \begin_layout Plain Layout
47168 \begin_layout Plain Layout
47176 \begin_inset Phantom Phantom
47179 \begin_layout Plain Layout
47189 \begin_layout Plain Layout
47201 <cell alignment="left" valignment="top" usebox="none">
47204 \begin_layout Plain Layout
47208 \begin_layout Plain Layout
47221 \begin_layout Plain Layout
47229 \begin_inset Phantom Phantom
47232 \begin_layout Plain Layout
47242 \begin_layout Plain Layout
47254 <cell alignment="left" valignment="top" usebox="none">
47257 \begin_layout Plain Layout
47261 \begin_layout Plain Layout
47274 \begin_layout Plain Layout
47282 \begin_inset Phantom Phantom
47285 \begin_layout Plain Layout
47295 \begin_layout Plain Layout
47307 <cell alignment="left" valignment="top" usebox="none">
47310 \begin_layout Plain Layout
47314 \begin_layout Plain Layout
47327 \begin_layout Plain Layout
47335 \begin_inset Phantom Phantom
47338 \begin_layout Plain Layout
47348 \begin_layout Plain Layout
47362 <cell alignment="left" valignment="top" usebox="none">
47365 \begin_layout Plain Layout
47369 \begin_layout Plain Layout
47382 \begin_layout Plain Layout
47390 \begin_inset Phantom Phantom
47393 \begin_layout Plain Layout
47403 \begin_layout Plain Layout
47415 <cell alignment="left" valignment="top" usebox="none">
47418 \begin_layout Plain Layout
47422 \begin_layout Plain Layout
47435 \begin_layout Plain Layout
47443 \begin_inset Phantom Phantom
47446 \begin_layout Plain Layout
47456 \begin_layout Plain Layout
47468 <cell alignment="left" valignment="top" usebox="none">
47471 \begin_layout Plain Layout
47475 \begin_layout Plain Layout
47488 \begin_layout Plain Layout
47496 \begin_inset Phantom Phantom
47499 \begin_layout Plain Layout
47509 \begin_layout Plain Layout
47521 <cell alignment="left" valignment="top" usebox="none">
47524 \begin_layout Plain Layout
47528 \begin_layout Plain Layout
47541 \begin_layout Plain Layout
47549 \begin_inset Phantom Phantom
47552 \begin_layout Plain Layout
47562 \begin_layout Plain Layout
47576 <cell alignment="left" valignment="top" usebox="none">
47579 \begin_layout Plain Layout
47583 \begin_layout Plain Layout
47596 \begin_layout Plain Layout
47604 \begin_inset Phantom Phantom
47607 \begin_layout Plain Layout
47617 \begin_layout Plain Layout
47629 <cell alignment="left" valignment="top" usebox="none">
47632 \begin_layout Plain Layout
47636 \begin_layout Plain Layout
47649 \begin_layout Plain Layout
47657 \begin_inset Phantom Phantom
47660 \begin_layout Plain Layout
47670 \begin_layout Plain Layout
47682 <cell alignment="left" valignment="top" usebox="none">
47685 \begin_layout Plain Layout
47689 \begin_layout Plain Layout
47702 \begin_layout Plain Layout
47710 \begin_inset Phantom Phantom
47713 \begin_layout Plain Layout
47723 \begin_layout Plain Layout
47735 <cell alignment="left" valignment="top" usebox="none">
47738 \begin_layout Plain Layout
47742 \begin_layout Plain Layout
47755 \begin_layout Plain Layout
47763 \begin_inset Phantom Phantom
47766 \begin_layout Plain Layout
47776 \begin_layout Plain Layout
47790 <cell alignment="left" valignment="top" usebox="none">
47793 \begin_layout Plain Layout
47797 \begin_layout Plain Layout
47810 \begin_layout Plain Layout
47818 \begin_inset Phantom Phantom
47821 \begin_layout Plain Layout
47831 \begin_layout Plain Layout
47843 <cell alignment="left" valignment="top" usebox="none">
47846 \begin_layout Plain Layout
47850 \begin_layout Plain Layout
47863 \begin_layout Plain Layout
47871 \begin_inset Phantom Phantom
47874 \begin_layout Plain Layout
47884 \begin_layout Plain Layout
47896 <cell alignment="left" valignment="top" usebox="none">
47899 \begin_layout Plain Layout
47903 \begin_layout Plain Layout
47916 \begin_layout Plain Layout
47924 \begin_inset Phantom Phantom
47927 \begin_layout Plain Layout
47937 \begin_layout Plain Layout
47949 <cell alignment="left" valignment="top" usebox="none">
47952 \begin_layout Plain Layout
47956 \begin_layout Plain Layout
47969 \begin_layout Plain Layout
47977 \begin_inset Phantom Phantom
47980 \begin_layout Plain Layout
47990 \begin_layout Plain Layout
48004 <cell alignment="left" valignment="top" usebox="none">
48007 \begin_layout Plain Layout
48011 \begin_layout Plain Layout
48024 \begin_layout Plain Layout
48032 \begin_inset Phantom Phantom
48035 \begin_layout Plain Layout
48045 \begin_layout Plain Layout
48057 <cell alignment="left" valignment="top" usebox="none">
48060 \begin_layout Plain Layout
48064 \begin_layout Plain Layout
48077 \begin_layout Plain Layout
48085 \begin_inset Phantom Phantom
48088 \begin_layout Plain Layout
48098 \begin_layout Plain Layout
48110 <cell alignment="left" valignment="top" usebox="none">
48113 \begin_layout Plain Layout
48117 \begin_layout Plain Layout
48130 \begin_layout Plain Layout
48138 \begin_inset Phantom Phantom
48141 \begin_layout Plain Layout
48151 \begin_layout Plain Layout
48163 <cell alignment="left" valignment="top" usebox="none">
48166 \begin_layout Plain Layout
48170 \begin_layout Plain Layout
48183 \begin_layout Plain Layout
48191 \begin_inset Phantom Phantom
48194 \begin_layout Plain Layout
48204 \begin_layout Plain Layout
48218 <cell alignment="left" valignment="top" usebox="none">
48221 \begin_layout Plain Layout
48225 \begin_layout Plain Layout
48238 \begin_layout Plain Layout
48246 \begin_inset Phantom Phantom
48249 \begin_layout Plain Layout
48259 \begin_layout Plain Layout
48271 <cell alignment="left" valignment="top" usebox="none">
48274 \begin_layout Plain Layout
48278 \begin_layout Plain Layout
48291 \begin_layout Plain Layout
48299 \begin_inset Phantom Phantom
48302 \begin_layout Plain Layout
48312 \begin_layout Plain Layout
48324 <cell alignment="left" valignment="top" usebox="none">
48327 \begin_layout Plain Layout
48331 \begin_layout Plain Layout
48344 \begin_layout Plain Layout
48352 \begin_inset Phantom Phantom
48355 \begin_layout Plain Layout
48365 \begin_layout Plain Layout
48377 <cell alignment="left" valignment="top" usebox="none">
48380 \begin_layout Plain Layout
48384 \begin_layout Plain Layout
48397 \begin_layout Plain Layout
48405 \begin_inset Phantom Phantom
48408 \begin_layout Plain Layout
48418 \begin_layout Plain Layout
48432 <cell alignment="left" valignment="top" usebox="none">
48435 \begin_layout Plain Layout
48439 \begin_layout Plain Layout
48452 \begin_layout Plain Layout
48460 \begin_inset Phantom Phantom
48463 \begin_layout Plain Layout
48473 \begin_layout Plain Layout
48485 <cell alignment="left" valignment="top" usebox="none">
48488 \begin_layout Plain Layout
48492 \begin_layout Plain Layout
48505 \begin_layout Plain Layout
48513 \begin_inset Phantom Phantom
48516 \begin_layout Plain Layout
48526 \begin_layout Plain Layout
48538 <cell alignment="left" valignment="top" usebox="none">
48541 \begin_layout Plain Layout
48545 \begin_layout Plain Layout
48558 \begin_layout Plain Layout
48566 \begin_inset Phantom Phantom
48569 \begin_layout Plain Layout
48579 \begin_layout Plain Layout
48591 <cell alignment="left" valignment="top" usebox="none">
48594 \begin_layout Plain Layout
48598 \begin_layout Plain Layout
48611 \begin_layout Plain Layout
48619 \begin_inset Phantom Phantom
48622 \begin_layout Plain Layout
48632 \begin_layout Plain Layout
48646 <cell alignment="left" valignment="top" usebox="none">
48649 \begin_layout Plain Layout
48653 \begin_layout Plain Layout
48666 \begin_layout Plain Layout
48674 \begin_inset Phantom Phantom
48677 \begin_layout Plain Layout
48687 \begin_layout Plain Layout
48699 <cell alignment="left" valignment="top" usebox="none">
48702 \begin_layout Plain Layout
48706 \begin_layout Plain Layout
48719 \begin_layout Plain Layout
48727 \begin_inset Phantom Phantom
48730 \begin_layout Plain Layout
48740 \begin_layout Plain Layout
48752 <cell alignment="left" valignment="top" usebox="none">
48755 \begin_layout Plain Layout
48759 \begin_layout Plain Layout
48772 \begin_layout Plain Layout
48780 \begin_inset Phantom Phantom
48783 \begin_layout Plain Layout
48793 \begin_layout Plain Layout
48805 <cell alignment="left" valignment="top" usebox="none">
48808 \begin_layout Plain Layout
48812 \begin_layout Plain Layout
48825 \begin_layout Plain Layout
48833 \begin_inset Phantom Phantom
48836 \begin_layout Plain Layout
48846 \begin_layout Plain Layout
48860 <cell alignment="left" valignment="top" usebox="none">
48863 \begin_layout Plain Layout
48867 \begin_layout Plain Layout
48880 \begin_layout Plain Layout
48888 \begin_inset Phantom Phantom
48891 \begin_layout Plain Layout
48901 \begin_layout Plain Layout
48913 <cell alignment="left" valignment="top" usebox="none">
48916 \begin_layout Plain Layout
48920 \begin_layout Plain Layout
48933 \begin_layout Plain Layout
48941 \begin_inset Phantom Phantom
48944 \begin_layout Plain Layout
48954 \begin_layout Plain Layout
48966 <cell alignment="left" valignment="top" usebox="none">
48969 \begin_layout Plain Layout
48973 \begin_layout Plain Layout
48986 \begin_layout Plain Layout
48994 \begin_inset Phantom Phantom
48997 \begin_layout Plain Layout
49007 \begin_layout Plain Layout
49019 <cell alignment="left" valignment="top" usebox="none">
49022 \begin_layout Plain Layout
49026 \begin_layout Plain Layout
49039 \begin_layout Plain Layout
49047 \begin_inset Phantom Phantom
49050 \begin_layout Plain Layout
49060 \begin_layout Plain Layout
49074 <cell alignment="left" valignment="top" usebox="none">
49077 \begin_layout Plain Layout
49081 \begin_layout Plain Layout
49094 \begin_layout Plain Layout
49102 \begin_inset Phantom Phantom
49105 \begin_layout Plain Layout
49115 \begin_layout Plain Layout
49127 <cell alignment="left" valignment="top" usebox="none">
49130 \begin_layout Plain Layout
49136 <cell alignment="left" valignment="top" usebox="none">
49139 \begin_layout Plain Layout
49145 <cell alignment="left" valignment="top" usebox="none">
49148 \begin_layout Plain Layout
49162 \begin_layout Chapter
49163 Explanation of Equation
49164 \begin_inset space ~
49168 \begin_inset CommandInset ref
49175 \begin_inset CommandInset label
49177 name "cha:Explanation-of-Equation"
49184 \begin_layout Standard
49185 We can calculate the total width of
49190 \begin_inset Formula $W_{\mathrm{tot\,n}}$
49194 \begin_inset Formula
49196 W_{\mathrm{tot}\,n}=n\cdot(W_{g\,n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
49202 \begin_inset Formula $W_{g\,n}$
49205 is the given width of all cells,
49211 is the \SpecialChar LaTeX
49212 -length between the cell text and the cell border (its default value
49214 \begin_inset space \thinspace{}
49224 is the thickness of the cell border line, the default is 0.4
49225 \begin_inset space \thinspace{}
49231 \begin_layout Standard
49233 \begin_inset space ~
49237 \begin_inset CommandInset ref
49239 reference "eq:Wtot_n"
49243 , the total width of a multicolumn
49244 \begin_inset Formula $W_{\mathrm{tot\,mult}}$
49248 \begin_inset Formula
49250 W_{\mathrm{tot\,mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
49258 \begin_layout Standard
49259 By setting equation
49260 \begin_inset space ~
49264 \begin_inset CommandInset ref
49266 reference "eq:Wtot_n"
49271 \begin_inset CommandInset ref
49273 reference "eq:Wtot_mult"
49277 equal we can calculate the needed given width
49278 \begin_inset Formula $W_{g\,n}$
49285 columns are spanned, so that each column has a total width of
49286 \begin_inset Formula $W_{\mathrm{tot\,mult}}/n$
49290 \begin_inset Formula
49292 W_{g\,n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
49300 \begin_layout Bibliography
49301 \begin_inset CommandInset bibitem
49302 LatexCommand bibitem
49303 key "latexcompanion"
49308 Frank Mittelbach and Michel Goossens:
49310 The \SpecialChar LaTeX
49311 Companion Second Edition.
49314 Addison-Wesley, 2004
49317 \begin_layout Bibliography
49318 \begin_inset CommandInset bibitem
49319 LatexCommand bibitem
49325 Helmut Kopka and Patrick W.
49328 A Guide to \SpecialChar LaTeX
49332 Addison-Wesley, 2003
49335 \begin_layout Bibliography
49336 \begin_inset CommandInset bibitem
49337 LatexCommand bibitem
49346 : A Document Preparation System.
49349 Addison-Wesley, second edition, 1994
49352 \begin_layout Bibliography
49353 \begin_inset CommandInset bibitem
49354 LatexCommand bibitem
49360 Documentation of the \SpecialChar LaTeX
49364 \begin_inset CommandInset href
49367 target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
49375 \begin_inset Index idx
49380 \begin_layout Plain Layout
49383 \begin_inset IndexMacro subentry
49386 \begin_layout Plain Layout
49400 \begin_layout Bibliography
49401 \begin_inset CommandInset bibitem
49402 LatexCommand bibitem
49408 Documentation of the \SpecialChar LaTeX
49412 \begin_inset CommandInset href
49415 target "https://www.ctan.org/tex-archive/macros/latex/contrib//booktabs/booktabs.pdf"
49423 \begin_inset Index idx
49428 \begin_layout Plain Layout
49431 \begin_inset IndexMacro subentry
49434 \begin_layout Plain Layout
49448 \begin_layout Bibliography
49449 \begin_inset CommandInset bibitem
49450 LatexCommand bibitem
49456 Documentation of the \SpecialChar LaTeX
49460 \begin_inset CommandInset href
49463 target "https://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"
49471 \begin_inset Index idx
49476 \begin_layout Plain Layout
49479 \begin_inset IndexMacro subentry
49482 \begin_layout Plain Layout
49496 \begin_layout Bibliography
49497 \begin_inset CommandInset bibitem
49498 LatexCommand bibitem
49504 Documentation of the \SpecialChar LaTeX
49508 \begin_inset CommandInset href
49511 target "https://www.ctan.org/tex-archive/macros/latex/contrib//diagbox/diagbox.pdf"
49519 \begin_inset Index idx
49524 \begin_layout Plain Layout
49527 \begin_inset IndexMacro subentry
49530 \begin_layout Plain Layout
49544 \begin_layout Bibliography
49545 \begin_inset CommandInset bibitem
49546 LatexCommand bibitem
49552 Documentation of the \SpecialChar LaTeX
49556 \begin_inset CommandInset href
49559 target "https://www.ctan.org/tex-archive/macros/latex/contrib//endfloat/endfloat.pdf"
49567 \begin_inset Index idx
49572 \begin_layout Plain Layout
49575 \begin_inset IndexMacro subentry
49578 \begin_layout Plain Layout
49592 \begin_layout Bibliography
49593 \begin_inset CommandInset bibitem
49594 LatexCommand bibitem
49600 Documentation of the \SpecialChar LaTeX
49604 \begin_inset CommandInset href
49607 target "https://www.ctan.org/tex-archive/macros/latex/contrib//footmisc/footmisc.pdf"
49615 \begin_inset Index idx
49620 \begin_layout Plain Layout
49623 \begin_inset IndexMacro subentry
49626 \begin_layout Plain Layout
49640 \begin_layout Bibliography
49641 \begin_inset CommandInset bibitem
49642 LatexCommand bibitem
49648 Documentation of the \SpecialChar LaTeX
49652 \begin_inset CommandInset href
49655 target "https://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
49663 \begin_inset Index idx
49668 \begin_layout Plain Layout
49671 \begin_inset IndexMacro subentry
49674 \begin_layout Plain Layout
49688 \begin_layout Bibliography
49689 \begin_inset CommandInset bibitem
49690 LatexCommand bibitem
49696 Documentation of the \SpecialChar LaTeX
49700 \begin_inset CommandInset href
49703 target "https://www.ctan.org/tex-archive/macros/latex/contrib//hyperref/hyperref.pdf"
49711 \begin_inset Index idx
49716 \begin_layout Plain Layout
49719 \begin_inset IndexMacro subentry
49722 \begin_layout Plain Layout
49736 \begin_layout Bibliography
49737 \begin_inset CommandInset bibitem
49738 LatexCommand bibitem
49744 Documentation of the \SpecialChar LaTeX
49748 \begin_inset CommandInset href
49751 target "https://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf"
49759 \begin_inset Index idx
49764 \begin_layout Plain Layout
49767 \begin_inset IndexMacro subentry
49770 \begin_layout Plain Layout
49784 \begin_layout Bibliography
49785 \begin_inset CommandInset bibitem
49786 LatexCommand bibitem
49792 Documentation of the \SpecialChar LaTeX
49796 \begin_inset CommandInset href
49799 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/lettrine.pdf"
49807 \begin_inset CommandInset href
49810 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/demo.pdf"
49816 \begin_inset Index idx
49821 \begin_layout Plain Layout
49824 \begin_inset IndexMacro subentry
49827 \begin_layout Plain Layout
49841 \begin_layout Bibliography
49842 \begin_inset CommandInset bibitem
49843 LatexCommand bibitem
49849 Documentation of the \SpecialChar LaTeX
49853 \begin_inset CommandInset href
49856 target "https://www.ctan.org/tex-archive/macros/latex/contrib//listings/listings.pdf"
49864 \begin_inset Index idx
49869 \begin_layout Plain Layout
49872 \begin_inset IndexMacro subentry
49875 \begin_layout Plain Layout
49889 \begin_layout Bibliography
49890 \begin_inset CommandInset bibitem
49891 LatexCommand bibitem
49897 Documentation of the \SpecialChar LaTeX
49901 \begin_inset CommandInset href
49904 target "https://www.ctan.org/tex-archive/macros/latex/contrib//minted/minted.pdf"
49912 \begin_inset Index idx
49917 \begin_layout Plain Layout
49920 \begin_inset IndexMacro subentry
49923 \begin_layout Plain Layout
49937 \begin_layout Bibliography
49938 \begin_inset CommandInset bibitem
49939 LatexCommand bibitem
49945 Documentation of the \SpecialChar LaTeX
49949 \begin_inset CommandInset href
49952 target "https://www.ctan.org/tex-archive/macros/latex/contrib//marginnote/marginnote.pdf"
49960 \begin_inset Index idx
49965 \begin_layout Plain Layout
49968 \begin_inset IndexMacro subentry
49971 \begin_layout Plain Layout
49985 \begin_layout Bibliography
49986 \begin_inset CommandInset bibitem
49987 LatexCommand bibitem
49993 Documentation of the \SpecialChar LaTeX
49997 \begin_inset CommandInset href
50000 target "https://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
50008 \begin_inset Index idx
50013 \begin_layout Plain Layout
50016 \begin_inset IndexMacro subentry
50019 \begin_layout Plain Layout
50033 \begin_layout Bibliography
50034 \begin_inset CommandInset bibitem
50035 LatexCommand bibitem
50041 Documentation of the \SpecialChar LaTeX
50045 \begin_inset CommandInset href
50048 target "https://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
50056 \begin_inset Index idx
50061 \begin_layout Plain Layout
50064 \begin_inset IndexMacro subentry
50067 \begin_layout Plain Layout
50081 \begin_layout Bibliography
50082 \begin_inset CommandInset bibitem
50083 LatexCommand bibitem
50089 Web page of the \SpecialChar LaTeX
50093 \begin_inset CommandInset href
50096 target "http://tug.org/PSTricks/"
50104 \begin_inset Index idx
50109 \begin_layout Plain Layout
50112 \begin_inset IndexMacro subentry
50115 \begin_layout Plain Layout
50129 \begin_layout Bibliography
50130 \begin_inset CommandInset bibitem
50131 LatexCommand bibitem
50137 Documentation of the \SpecialChar LaTeX
50141 \begin_inset CommandInset href
50144 target "https://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
50152 \begin_inset Index idx
50157 \begin_layout Plain Layout
50160 \begin_inset IndexMacro subentry
50163 \begin_layout Plain Layout
50177 \begin_layout Bibliography
50178 \begin_inset CommandInset bibitem
50179 LatexCommand bibitem
50185 Documentation of the \SpecialChar LaTeX
50189 \begin_inset CommandInset href
50192 target "https://www.ctan.org/tex-archive/macros/latex/contrib//sidecap/sidecap.pdf"
50200 \begin_inset Index idx
50205 \begin_layout Plain Layout
50208 \begin_inset IndexMacro subentry
50211 \begin_layout Plain Layout
50225 \begin_layout Bibliography
50226 \begin_inset CommandInset bibitem
50227 LatexCommand bibitem
50233 Documentation of the option
50234 \begin_inset CommandInset href
50236 name "Omit text in PDF"
50237 target "https://www.ctan.org/tex-archive/info/svg-inkscape/InkscapePDFLaTeX.pdf"
50245 \begin_inset CommandInset href
50248 target "https://inkscape.org"
50256 \begin_layout Standard
50257 \begin_inset CommandInset index_print
50258 LatexCommand printindex