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
228 \notefontcolor #0000ff
235 \paragraph_separation indent
236 \paragraph_indentation default
238 \math_numbering_side default
239 \quotes_style english
243 \paperpagestyle default
245 \tracking_changes false
246 \output_changes false
248 \postpone_fragile_content false
251 \html_be_strict false
252 \docbook_table_output 0
253 \docbook_mathml_prefix 1
264 Boxes and External Material manual
268 by the \SpecialChar LyX
273 \begin_layout Plain Layout
275 If you have comments or error corrections,
276 please send them to the \SpecialChar LyX
277 Documentation mailing list:
279 \begin_inset CommandInset href
281 name "lyx-docs@lists.lyx.org"
282 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
294 \begin_inset Note Note
297 \begin_layout Plain Layout
305 \begin_inset Newline newline
309 \begin_inset Newline newline
317 \begin_layout Standard
318 \begin_inset CommandInset toc
319 LatexCommand tableofcontents
326 \begin_layout Standard
327 \begin_inset Note Note
330 \begin_layout Plain Layout
331 To export all parts of this document to PDF,
333 or DVI the \SpecialChar LaTeX
356 If they are not installed you can export the document anyway but the sections where the packages are required won't appear in the output.
359 \begin_layout Plain Layout
360 The latest PDF-version of this document can be found here:
361 \begin_inset Newline newline
366 https://wiki.lyx.org/LyX/Manuals#EmbeddedObjects
374 \begin_layout Chapter
376 \begin_inset Index idx
381 \begin_layout Plain Layout
388 \begin_inset Index idx
393 \begin_layout Plain Layout
395 \begin_inset IndexMacro see
398 \begin_layout Plain Layout
412 \begin_layout Section
414 \begin_inset Index idx
419 \begin_layout Plain Layout
421 \begin_inset IndexMacro subentry
424 \begin_layout Plain Layout
436 \begin_inset CommandInset label
438 name "sec:Graphics-Dialog"
445 \begin_layout Standard
446 To insert an image into your document,
447 place the cursor at the text position you want and click on the toolbar icon
450 arg "dialog-show-new-inset graphics"
455 Insert\SpecialChar menuseparator
459 Then a dialog will appear to choose the file to load.
460 The image will appear in the output exactly at the position where it is in the text.
463 \begin_layout Standard
464 The graphics dialog can be called at any time by clicking on an image.
465 This dialog has three tabs:
468 \begin_layout Description
473 Here you can choose an image file and adjust its appearance in the output.
474 The available units for the image size are explained in appendix
479 \begin_inset CommandInset ref
481 reference "cha:Units-available-in"
487 \begin_inset Newline newline
491 \begin_inset Index idx
496 \begin_layout Plain Layout
498 \begin_inset IndexMacro subentry
501 \begin_layout Plain Layout
512 You can rotate images counter-clockwise by setting a rotation angle and a rotation origin.
513 The image will also be rotated inside \SpecialChar LyX
515 \begin_inset Newline newline
519 \begin_inset Index idx
524 \begin_layout Plain Layout
526 \begin_inset IndexMacro subentry
529 \begin_layout Plain Layout
540 Images can be scaled by using a percentage value or by setting the width and height explicitly.
541 If you set only the width or only the height,
542 the other size will be determined automatically.
544 then the image will be transformed to the given size,
545 possibly distorting it.
546 To prevent the image from distortion,
549 Maintain aspect ratio
552 The image will then be scaled so that its width and height don't exceed the specified dimensions.
553 \begin_inset Newline newline
556 Images can be opened in a program of your choice by right-clicking on it and choosing the entry
565 The program can be set for every image format in the file format settings in \SpecialChar LyX
569 \begin_layout Description
582 Alternatively to the usage of scaling units it is possible to set image coordinates to adjust the height and width of the image in the output.
583 The coordinates can also be calculated automatically by pressing the button
612 will only print the image region within the given coordinates.
613 Normally you don't need to worry about image coordinates and can ignore this tab.
616 \begin_layout Description
633 In this tab you can modify the appearance of the image within \SpecialChar LyX
634 and \SpecialChar LaTeX
635 experts can specify additional \SpecialChar LaTeX
637 \begin_inset Newline newline
648 makes the image appear in the output only as a frame with the size of the image.
649 \begin_inset Newline newline
660 you can define or join an image settings group.
661 \begin_inset Index idx
666 \begin_layout Plain Layout
668 \begin_inset IndexMacro subentry
671 \begin_layout Plain Layout
682 Images within such a group share their settings,
683 so adjusting one image of the group automatically also adjusts all other images of the group in the same way.
684 So you can for example change the size for a bunch of images without the need to manually change each of them.
685 Joining an existing group can also be done using the context menu of the image by checking the name of the desired group.
688 \begin_layout Standard
689 \begin_inset VSpace bigskip
695 \begin_layout Standard
696 This is an example image in PDF format
700 \begin_layout Plain Layout
701 Image formats are explained in section
706 \begin_inset CommandInset ref
708 reference "sec:Image-Formats"
719 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,
815 have a look at section
820 \begin_inset CommandInset ref
822 reference "sec:FloatIntroduction"
830 \begin_layout Standard
834 arg "float-insert figure"
839 Insert\SpecialChar menuseparator
840 Float\SpecialChar menuseparator
843 inserts a float with a caption that has the label
844 \begin_inset Quotes eld
852 \begin_inset Quotes erd
855 (# is the actual number).
856 You can insert the image above the caption,
862 \begin_inset CommandInset ref
864 reference "fig:A-star-in"
869 or below the caption,
875 \begin_inset CommandInset ref
877 reference "fig:A-3D-object"
883 More about caption placement is described in section
888 \begin_inset CommandInset ref
890 reference "sec:Caption-Placement"
898 \begin_layout Standard
899 \begin_inset Float figure
906 \begin_layout Plain Layout
908 \begin_inset Graphics
909 filename clipart/Star-structure.pdf
920 \begin_layout Plain Layout
921 \begin_inset Caption Standard
923 \begin_layout Plain Layout
924 \begin_inset CommandInset label
943 \begin_layout Standard
944 \begin_inset Float figure
951 \begin_layout Plain Layout
952 \begin_inset Caption Standard
954 \begin_layout Plain Layout
955 \begin_inset CommandInset label
957 name "fig:A-3D-object"
969 \begin_layout Plain Layout
971 \begin_inset Graphics
972 filename clipart/3D-structure-distort.pdf
988 \begin_layout Standard
989 \begin_inset Index idx
994 \begin_layout Plain Layout
996 \begin_inset IndexMacro subentry
999 \begin_layout Plain Layout
1011 \begin_inset space ~
1015 \begin_inset CommandInset ref
1017 reference "fig:A-star-in"
1023 \begin_inset CommandInset ref
1025 reference "fig:A-3D-object"
1030 are examples of referenced figures.
1031 Figures can be referenced in the text by referencing their label.
1032 To do this insert a label in the caption using the menu
1034 Insert\SpecialChar menuseparator
1037 or the toolbar button
1044 You can now refer to the label using the menu
1046 Insert\SpecialChar menuseparator
1048 \begin_inset space ~
1053 or the toolbar button
1056 arg "dialog-show-new-inset ref"
1060 It is important to use references to floats,
1061 rather than using vague references like
1062 \begin_inset Quotes eld
1066 \begin_inset Quotes erd
1070 because \SpecialChar LaTeX
1071 will reposition the floats in the final document and it might not be
1072 \begin_inset Quotes eld
1076 \begin_inset Quotes erd
1080 \begin_inset Newline newline
1083 Referencing is explained in detail in section
1084 \begin_inset space ~
1088 \begin_inset CommandInset ref
1090 reference "sec:Referencing-Floats"
1098 \begin_layout Standard
1099 Normally only one image is inserted to a figure float,
1100 but sometimes you might want to use two images with separate subcaptions.
1101 This can be done by inserting image floats into existing image floats.
1102 Note that only the main caption of the float is added to the List of Figures.
1104 \begin_inset space ~
1108 \begin_inset CommandInset ref
1110 reference "fig:Two-distorted-images"
1115 is an example of a figure float with two images set side by side.
1116 You can also set the images one below the other.
1118 \begin_inset space ~
1122 \begin_inset CommandInset ref
1124 reference "fig:Pink-object"
1130 \begin_inset CommandInset ref
1132 reference "fig:A-star"
1140 \begin_layout Standard
1141 \begin_inset Float figure
1148 \begin_layout Plain Layout
1149 \begin_inset space \hfill{}
1153 \begin_inset Float figure
1160 \begin_layout Plain Layout
1161 \begin_inset Caption Standard
1163 \begin_layout Plain Layout
1164 \begin_inset CommandInset label
1166 name "fig:Pink-object"
1178 \begin_layout Plain Layout
1179 \begin_inset Graphics
1180 filename clipart/3D-structure-distort.pdf
1193 \begin_inset space \hfill{}
1197 \begin_inset Float figure
1204 \begin_layout Plain Layout
1205 \begin_inset Caption Standard
1207 \begin_layout Plain Layout
1208 \begin_inset CommandInset label
1222 \begin_layout Plain Layout
1223 \begin_inset Graphics
1224 filename clipart/Star-structure.pdf
1237 \begin_inset space \hfill{}
1243 \begin_layout Plain Layout
1244 \begin_inset Caption Standard
1246 \begin_layout Plain Layout
1247 \begin_inset CommandInset label
1249 name "fig:Two-distorted-images"
1253 Two distorted images.
1254 Both images are in the image settings group named
1255 \begin_inset Quotes eld
1259 \begin_inset Quotes erd
1275 \begin_layout Standard
1276 \begin_inset Newpage newpage
1282 \begin_layout Section
1284 \begin_inset CommandInset label
1286 name "sec:Image-Formats"
1291 \begin_inset Index idx
1296 \begin_layout Plain Layout
1303 \begin_inset Index idx
1308 \begin_layout Plain Layout
1310 \begin_inset IndexMacro subentry
1313 \begin_layout Plain Layout
1327 \begin_layout Standard
1328 You can insert images in any known file format.
1329 But as explained in appendix
1330 \begin_inset space ~
1334 \begin_inset CommandInset ref
1336 reference "cha:Output-File-Formats"
1342 each output document format allows only a few image formats.
1344 uses therefore the program
1348 in the background to convert the images to the right format.
1349 To increase your work flow by avoiding these conversions in the background,
1350 you could choose to use only the image formats that can directly be embedded in the output file format.
1351 The output file formats are explained in appendix
1352 \begin_inset space ~
1356 \begin_inset CommandInset ref
1358 reference "cha:Output-File-Formats"
1366 \begin_layout Standard
1367 Similar to fonts there are two types of image formats:
1370 \begin_layout Description
1372 \begin_inset space ~
1375 images consist of pixel values,
1376 often in a compressed form.
1377 They are therefore not fully scalable and look pixelated in large zooms.
1378 Well-known bitmap image formats are
1379 \begin_inset Quotes eld
1382 Graphics Interchange Format
1383 \begin_inset Quotes erd
1388 \begin_inset Quotes eld
1396 \begin_inset Quotes erd
1400 \begin_inset Index idx
1405 \begin_layout Plain Layout
1407 \begin_inset IndexMacro see
1410 \begin_layout Plain Layout
1423 \begin_inset Quotes eld
1426 Portable Network Graphics
1427 \begin_inset Quotes erd
1432 \begin_inset Quotes eld
1440 \begin_inset Quotes erd
1444 \begin_inset Index idx
1449 \begin_layout Plain Layout
1451 \begin_inset IndexMacro see
1454 \begin_layout Plain Layout
1467 \begin_inset Quotes eld
1470 Joint Photographic Experts Group
1471 \begin_inset Quotes erd
1476 \begin_inset Quotes eld
1484 \begin_inset Quotes erd
1488 \begin_inset Quotes eld
1496 \begin_inset Quotes erd
1500 \begin_inset Index idx
1505 \begin_layout Plain Layout
1507 \begin_inset IndexMacro see
1510 \begin_layout Plain Layout
1524 \begin_layout Description
1526 \begin_inset space ~
1529 images consist of vectors and can therefore be scaled to any size without data loss.
1530 The scaling ability is necessary if you want to create presentations,
1531 because presentations are always scaled by the video projector.
1532 Scaling is also useful for online documents to let the user zoom into diagrams.
1533 \begin_inset Newline newline
1536 Well-known scalable image formats are
1537 \begin_inset Quotes eld
1540 Scalable Vector Graphics
1541 \begin_inset Quotes erd
1546 \begin_inset Quotes eld
1554 \begin_inset Quotes erd
1558 \begin_inset Index idx
1563 \begin_layout Plain Layout
1565 \begin_inset IndexMacro see
1568 \begin_layout Plain Layout
1581 \begin_inset Quotes eld
1584 Encapsulated PostScript
1585 \begin_inset Quotes erd
1590 \begin_inset Quotes eld
1598 \begin_inset Quotes erd
1602 \begin_inset Index idx
1607 \begin_layout Plain Layout
1609 \begin_inset IndexMacro see
1612 \begin_layout Plain Layout
1625 \begin_inset Quotes eld
1628 Portable Document Format
1629 \begin_inset Quotes erd
1634 \begin_inset Quotes eld
1642 \begin_inset Quotes erd
1646 \begin_inset Index idx
1651 \begin_layout Plain Layout
1659 \begin_inset Quotes eld
1663 \begin_inset Quotes erd
1668 \begin_inset Quotes eld
1676 \begin_inset Quotes erd
1680 \begin_inset Index idx
1685 \begin_layout Plain Layout
1687 \begin_inset IndexMacro see
1690 \begin_layout Plain Layout
1703 \begin_inset Quotes eld
1707 \begin_inset Quotes erd
1711 because you can convert any bitmap image to a PDF or EPS-image and the result will still be a bitmap image.
1712 In such cases only a header with the image properties is added to the original image
1716 \begin_layout Plain Layout
1718 the original image is additionally compressed.
1724 The PDF-files generated by
1728 are for example bitmap images.
1731 \begin_layout Standard
1732 Normally it is not possible to convert a bitmap image into a scalable one,
1734 Only the image formats PDF and EPS can directly be embedded to PDF and PostScript output files,
1736 SVG and WMF-images are recalculated to bitmaps when the output file is generated because there is currently no adequate WMF/SVG
1737 \begin_inset Formula $\to$
1740 PDF/EPS converter available.
1743 \begin_layout Chapter
1745 \begin_inset Index idx
1750 \begin_layout Plain Layout
1759 \begin_layout Section
1761 \begin_inset Index idx
1766 \begin_layout Plain Layout
1768 \begin_inset IndexMacro subentry
1771 \begin_layout Plain Layout
1785 \begin_layout Standard
1786 You can insert a table using either the toolbar button
1789 arg "tabular-insert"
1794 Insert\SpecialChar menuseparator
1798 The toolbar button offers you a graphical selection:
1799 move the mouse to set the column/row number of the table that should be created and then press a mouse button.
1800 When you use the menu to create a table,
1801 a dialog will appear,
1802 asking you for the number of rows and columns,
1803 and you can select a specific (border) style.
1806 \begin_layout Standard
1807 The default table has lines around any cell and the first row appears separated from the rest of the table.
1808 This separation occurs due to a double line:
1809 The cells of the first row have a line below them and the cells of the second row have a line above them.
1810 Here is an example table:
1813 \begin_layout Standard
1815 \begin_inset Tabular
1816 <lyxtabular version="3" rows="4" columns="4">
1817 <features tabularvalignment="middle">
1818 <column alignment="center" valignment="top">
1819 <column alignment="center" valignment="top">
1820 <column alignment="center" valignment="top">
1821 <column alignment="center" valignment="top">
1823 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1826 \begin_layout Plain Layout
1832 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1835 \begin_layout Plain Layout
1850 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1853 \begin_layout Plain Layout
1859 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1862 \begin_layout Plain Layout
1870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1873 \begin_layout Plain Layout
1888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1891 \begin_layout Plain Layout
1897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1900 \begin_layout Plain Layout
1906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1909 \begin_layout Plain Layout
1917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1920 \begin_layout Plain Layout
1935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1938 \begin_layout Plain Layout
1944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1947 \begin_layout Plain Layout
1953 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1956 \begin_layout Plain Layout
1964 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1967 \begin_layout Plain Layout
1982 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1985 \begin_layout Plain Layout
1991 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1994 \begin_layout Plain Layout
2000 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2003 \begin_layout Plain Layout
2017 \begin_layout Standard
2018 This corresponds to the
2019 \begin_inset Quotes eld
2023 \begin_inset Quotes erd
2026 table style listed in the style selection.
2029 \begin_layout Standard
2030 Other available styles include:
2033 \begin_layout Itemize
2035 \begin_inset Quotes eld
2039 \begin_inset Quotes erd
2042 which looks line the above table,
2043 but without the first row being separated via double line,
2046 \begin_layout Itemize
2047 a border-less table with no lines at all,
2050 \begin_layout Itemize
2052 \begin_inset Quotes eld
2056 \begin_inset Quotes erd
2059 as often used in professional publishing with horizontal lines only and bold top/bottom lines (see
2069 It is also possible to have an horizontal (thin) Footline above the last line.
2072 \begin_layout Standard
2073 The default style used in the dialog as well as the style used by the toolbar button can be changed in
2075 Document\SpecialChar menuseparator
2076 Settings\SpecialChar menuseparator
2080 So if the default style above is not the one you need,
2081 you should alter this setting.
2084 \begin_layout Section
2086 \begin_inset Index idx
2091 \begin_layout Plain Layout
2093 \begin_inset IndexMacro subentry
2096 \begin_layout Plain Layout
2110 \begin_layout Standard
2111 You can alter a table by clicking on it with the right mouse button,
2112 which brings up the context menu.
2113 Under the menu entry
2117 you can adjust the settings of that cell and row/column respectively where the cursor is currently placed.
2120 More\SpecialChar menuseparator
2123 opens the table dialog where you can adjust more things.
2124 Most of the dialog options also work on selections.
2125 This means if you select more cells,
2127 the action is done for the whole selection.
2128 Note that there is a difference between selecting the
2133 and the cell itself.
2134 \begin_inset Newline newline
2137 With the dialog option
2140 \begin_inset space ~
2145 every change you make in the dialog is directly applied.
2146 If you move the cursor to another table cell the dialog will then also be updated with the parameters of the new cell.
2147 If you change length values in the dialog you must press
2151 to get the change applied.
2152 \begin_inset Newline newline
2155 You can alter tables with the following tabs of the table dialog:
2158 \begin_layout Description
2160 \begin_inset space ~
2163 Settings Here you can set the table width
2164 \begin_inset Index idx
2169 \begin_layout Plain Layout
2171 \begin_inset IndexMacro subentry
2174 \begin_layout Plain Layout
2186 and the horizontal alignment and the width of the current column.
2190 \begin_inset space ~
2194 \begin_inset space ~
2199 is described in section
2200 \begin_inset space ~
2204 \begin_inset CommandInset ref
2206 reference "subsec:Special-Cell-Alignment"
2212 When you have set a width you can also adjust the vertical alignment of the current row.
2213 A given width will allow the cell to have line breaks and multiple paragraphs of text,
2215 \begin_inset space \thinspace{}
2219 \begin_inset CommandInset ref
2221 reference "subsec:Multiple-Lines-in"
2227 If you set no width,
2228 the column is as wide as the content of its widest cell.
2229 \begin_inset Newline newline
2233 you can mark one or multiple cells of one row as a multicolumn cell,
2235 \begin_inset space \thinspace{}
2239 \begin_inset CommandInset ref
2241 reference "subsec:Multicolumns"
2246 or the cells of one column as multirow cell,
2248 \begin_inset space \thinspace{}
2252 \begin_inset CommandInset ref
2254 reference "subsec:Multirows"
2260 \begin_inset Newline newline
2263 The rotate check boxes rotate the current cell,
2265 or the whole table counter-clockwise by 90
2266 \begin_inset space \thinspace{}
2270 The rotation is not shown within \SpecialChar LyX
2273 For more information see sec.
2274 \begin_inset space \thinspace{}
2278 \begin_inset CommandInset ref
2280 reference "sec:Rotated-Table-Cells"
2286 \begin_inset Newline newline
2290 \begin_inset Note Greyedout
2293 \begin_layout Plain Layout
2299 Not all DVI-viewers are able to display rotations.
2305 \begin_inset Newline newline
2308 The table-wide vertical alignment is used for tables within text lines:
2309 \begin_inset Newline newline
2312 A line with tables with different alignments:
2314 \begin_inset Tabular
2315 <lyxtabular version="3" rows="2" columns="2">
2316 <features tabularvalignment="top">
2317 <column alignment="center" valignment="top" width="0pt">
2318 <column alignment="center" valignment="top">
2320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2323 \begin_layout Plain Layout
2329 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2332 \begin_layout Plain Layout
2349 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2352 \begin_layout Plain Layout
2367 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2370 \begin_layout Plain Layout
2382 \begin_inset Tabular
2383 <lyxtabular version="3" rows="2" columns="2">
2384 <features tabularvalignment="middle">
2385 <column alignment="center" valignment="top">
2386 <column alignment="center" valignment="top">
2388 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2391 \begin_layout Plain Layout
2397 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2400 \begin_layout Plain Layout
2417 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2420 \begin_layout Plain Layout
2435 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2438 \begin_layout Plain Layout
2450 \begin_inset Tabular
2451 <lyxtabular version="3" rows="2" columns="2">
2452 <features tabularvalignment="bottom">
2453 <column alignment="center" valignment="top" width="0pt">
2454 <column alignment="center" valignment="top">
2456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2459 \begin_layout Plain Layout
2465 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2468 \begin_layout Plain Layout
2485 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2488 \begin_layout Plain Layout
2503 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2506 \begin_layout Plain Layout
2518 \begin_inset Newline newline
2521 It is also possible to enter a \SpecialChar LaTeX
2522 -argument which is needed for special table formattings,
2524 \begin_inset space \thinspace{}
2528 \begin_inset CommandInset ref
2530 reference "subsec:Multicolumn-Calculations"
2536 \begin_inset CommandInset ref
2538 reference "sec:Colored-Tables"
2546 \begin_layout Description
2547 Borders In this tab you can add and delete border lines for the current row/column.
2548 \begin_inset Newline newline
2551 Using the style option
2555 will convert the table to a formal table as described in sec.
2556 \begin_inset space \thinspace{}
2560 \begin_inset CommandInset ref
2562 reference "sec:Formal-Tables"
2568 \begin_inset Newline newline
2571 You can also add space here to table rows as described in sec.
2572 \begin_inset space \thinspace{}
2576 \begin_inset CommandInset ref
2578 reference "subsec:Row-Spacing"
2586 \begin_layout Description
2588 \begin_inset space ~
2591 table This tab is to make a table a multi-page table that can run over several pages.
2593 \begin_inset space ~
2597 \begin_inset CommandInset ref
2599 reference "sec:Multi-page-Tables"
2605 \begin_inset CommandInset ref
2607 reference "sec:Special-Longtable-Issues"
2612 describe the multi-page table features in detail.
2615 \begin_layout Section
2617 \begin_inset Index idx
2622 \begin_layout Plain Layout
2624 \begin_inset IndexMacro subentry
2627 \begin_layout Plain Layout
2641 \begin_layout Standard
2642 The table toolbar is an alternative to the table dialog to be able to alter tables faster.
2643 It should normally appear at the bottom of \SpecialChar LyX
2644 's main window when the cursor is inside a table.
2645 You can alternatively switch it on to appear always,
2646 by right-clicking in \SpecialChar LyX
2650 \begin_layout Standard
2651 The toolbar has the following icons:
2654 \begin_layout Labeling
2655 \labelwidthstring 00.00.0000
2658 arg "tabular-feature append-row"
2661 adds a row below the current cell or selection
2664 \begin_layout Labeling
2665 \labelwidthstring 00.00.0000
2668 arg "tabular-feature append-column"
2671 adds a column right beside the current cell or selection
2674 \begin_layout Labeling
2675 \labelwidthstring 00.00.0000
2678 arg "tabular-feature delete-row"
2681 deletes the current row or selection
2684 \begin_layout Labeling
2685 \labelwidthstring 00.00.0000
2688 arg "tabular-feature delete-column"
2691 deletes the current column or selection
2694 \begin_layout Labeling
2695 \labelwidthstring 00.00.0000
2698 arg "tabular-feature move-row-up"
2704 \begin_layout Labeling
2705 \labelwidthstring 00.00.0000
2708 arg "tabular-feature move-column-left"
2711 moves the column to the left
2714 \begin_layout Labeling
2715 \labelwidthstring 00.00.0000
2718 arg "tabular-feature move-row-down"
2724 \begin_layout Labeling
2725 \labelwidthstring 00.00.0000
2728 arg "tabular-feature move-column-right"
2731 moves the column to the right
2734 \begin_layout Labeling
2735 \labelwidthstring 00.00.0000
2738 arg "tabular-feature toggle-line-top"
2741 toggles a line at the top of every cell for the currently selected cells
2744 \begin_layout Labeling
2745 \labelwidthstring 00.00.0000
2748 arg "tabular-feature toggle-line-bottom"
2751 toggles a line at the bottom of every cell for the currently selected cells
2754 \begin_layout Labeling
2755 \labelwidthstring 00.00.0000
2758 arg "tabular-feature toggle-line-left"
2761 toggles a line at the left side of every cell for the currently selected cells
2764 \begin_layout Labeling
2765 \labelwidthstring 00.00.0000
2768 arg "tabular-feature toggle-line-right"
2771 toggles a line at the right side of every cell for the currently selected cells
2774 \begin_layout Labeling
2775 \labelwidthstring 00.00.0000
2778 arg "tabular-feature toggle-border-lines"
2781 toggles a border around the currently selected cells
2784 \begin_layout Labeling
2785 \labelwidthstring 00.00.0000
2788 arg "tabular-feature toggle-inner-lines"
2791 toggles inner lines for the currently selected cells
2794 \begin_layout Labeling
2795 \labelwidthstring 00.00.0000
2798 arg "tabular-feature toggle-all-lines"
2801 adds lines around the current or selected cells - if the current cell is not a multicolumn cell this also affects the current row and column
2804 \begin_layout Labeling
2805 \labelwidthstring 00.00.0000
2808 arg "tabular-feature unset-all-lines"
2811 deletes all lines of the current or selected cells - if the current cell is not a multicolumn cell this also affects the current row and column
2814 \begin_layout Labeling
2815 \labelwidthstring 00.00.0000
2818 arg "tabular-feature reset-formal-default"
2821 If using a formal table,
2822 this resets the border to its default (only horizontal lines in top and bottom rows)
2825 \begin_layout Labeling
2826 \labelwidthstring 00.00.0000
2829 arg "tabular-feature m-align-left"
2832 left-aligns the content of the current cell / column
2835 \begin_layout Labeling
2836 \labelwidthstring 00.00.0000
2839 arg "tabular-feature m-align-center"
2842 centers the content of the current cell / column horizontally
2845 \begin_layout Labeling
2846 \labelwidthstring 00.00.0000
2849 arg "tabular-feature m-align-right"
2852 right-aligns the content of the current cell / column
2855 \begin_layout Labeling
2856 \labelwidthstring 00.00.0000
2859 arg "tabular-feature align-decimal"
2862 aligns the content of the current column at a character
2865 \begin_layout Labeling
2866 \labelwidthstring 00.00.0000
2869 arg "tabular-feature m-valign-top"
2872 aligns the content of the current cell vertically to the top
2875 \begin_layout Labeling
2876 \labelwidthstring 00.00.0000
2879 arg "tabular-feature m-valign-middle"
2882 centers the content of the current cell vertically
2885 \begin_layout Labeling
2886 \labelwidthstring 00.00.0000
2889 arg "tabular-feature m-valign-bottom"
2892 aligns the content of the current cell vertically to the bottom
2895 \begin_layout Labeling
2896 \labelwidthstring 00.00.0000
2899 arg "tabular-feature set-rotate-cell"
2902 rotates the current cell or selection counter-clockwise by 90°
2905 \begin_layout Labeling
2906 \labelwidthstring 00.00.0000
2909 arg "tabular-feature set-rotate-tabular"
2912 rotates the whole table counter-clockwise by 90°
2915 \begin_layout Labeling
2916 \labelwidthstring 00.00.0000
2919 arg "tabular-feature multicolumn"
2922 sets the current cell or selection as a multicolumn
2925 \begin_layout Labeling
2926 \labelwidthstring 00.00.0000
2929 arg "tabular-feature multirow"
2932 sets the current cell or selection as a multirow
2935 \begin_layout Standard
2936 \begin_inset Note Greyedout
2939 \begin_layout Plain Layout
2945 For the output the vertical alignment of the first cell in a row is used for all following cells in the row.
2953 \begin_layout Section
2955 \begin_inset Index idx
2960 \begin_layout Plain Layout
2962 \begin_inset IndexMacro subentry
2965 \begin_layout Plain Layout
2979 \begin_layout Standard
2980 In addition to the table dialog and toolbar,
2983 Edit\SpecialChar menuseparator
2986 allows you to add and delete border lines for the current row/column and to set the current selection as multicolumn.
2987 The menu is only available when the cursor is inside a table.
2990 \begin_layout Section
2992 \begin_inset CommandInset label
2994 name "sec:Table-Floats"
2999 \begin_inset Index idx
3004 \begin_layout Plain Layout
3006 \begin_inset IndexMacro subentry
3009 \begin_layout Plain Layout
3021 \begin_inset Index idx
3026 \begin_layout Plain Layout
3028 \begin_inset IndexMacro subentry
3031 \begin_layout Plain Layout
3045 \begin_layout Standard
3046 For general explanations about floats,
3047 have a look at section
3048 \begin_inset space ~
3052 \begin_inset CommandInset ref
3054 reference "sec:FloatIntroduction"
3062 \begin_layout Standard
3063 \begin_inset Float table
3070 \begin_layout Plain Layout
3071 \begin_inset Caption Standard
3073 \begin_layout Plain Layout
3074 \begin_inset CommandInset label
3076 name "tab:a table float"
3088 \begin_layout Plain Layout
3090 \begin_inset Tabular
3091 <lyxtabular version="3" rows="3" columns="3">
3092 <features tabularvalignment="middle">
3093 <column alignment="center" valignment="top" width="0pt">
3094 <column alignment="center" valignment="top" width="0pt">
3095 <column alignment="center" valignment="top" width="0pt">
3097 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3100 \begin_layout Plain Layout
3115 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3118 \begin_layout Plain Layout
3133 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3136 \begin_layout Plain Layout
3153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3156 \begin_layout Plain Layout
3171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3174 \begin_layout Plain Layout
3189 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3192 \begin_layout Plain Layout
3209 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3212 \begin_layout Plain Layout
3222 \begin_inset Formula $\int x^{2}dx$
3230 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3233 \begin_layout Plain Layout
3243 \begin_inset Formula $\left[\begin{array}{cc}
3254 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3257 \begin_layout Plain Layout
3267 \begin_inset Formula $1+1=2$
3288 \begin_layout Standard
3289 Table floats can be inserted using the menu
3291 Insert\SpecialChar menuseparator
3292 Float\SpecialChar menuseparator
3295 or the toolbar button
3298 arg "float-insert table"
3304 \begin_layout Standard
3305 The float appears as a collapsible box with a caption that has the label
3306 \begin_inset Quotes eld
3310 \begin_inset space ~
3314 \begin_inset Quotes erd
3317 (# is the actual table number).
3318 You can insert tables in the float above or below the caption.
3321 \begin_layout Standard
3323 \begin_inset space ~
3327 \begin_inset CommandInset ref
3329 reference "tab:a table float"
3334 is an example table within a table float.
3337 \begin_layout Standard
3338 Having the caption above the table is the common rule that is unfortunately not supported in \SpecialChar LaTeX
3339 's standard classes.
3341 if you are using the document classes
3361 there will be no space between the caption and the table.
3362 To insert the needed space,
3363 add the following option to the load command of the \SpecialChar LaTeX
3369 \begin_inset Index idx
3374 \begin_layout Plain Layout
3377 \begin_inset IndexMacro subentry
3380 \begin_layout Plain Layout
3391 in your document preamble:
3395 \begin_layout Plain Layout
3396 For more information have a look at section
3397 \begin_inset space ~
3401 \begin_inset CommandInset ref
3403 reference "sec:Caption-Placement"
3416 \begin_layout Standard
3422 \begin_layout Standard
3428 which is described in section
3429 \begin_inset space ~
3433 \begin_inset CommandInset ref
3435 reference "sec:Caption-Formatting"
3441 is used to adjust the caption format.
3444 \begin_layout Standard
3445 \begin_inset Index idx
3450 \begin_layout Plain Layout
3452 \begin_inset IndexMacro subentry
3455 \begin_layout Plain Layout
3466 Tables can be cross-referenced in the text by referencing their label.
3467 To do this insert a label in the caption using the menu
3469 Insert\SpecialChar menuseparator
3472 or the toolbar button
3479 You can now refer to the label using the menu
3481 Insert\SpecialChar menuseparator
3483 \begin_inset space ~
3488 or the toolbar button
3491 arg "dialog-show-new-inset ref"
3495 \begin_inset Newline newline
3498 Referencing is explained in detail in section
3499 \begin_inset space ~
3503 \begin_inset CommandInset ref
3505 reference "sec:Referencing-Floats"
3513 \begin_layout Section
3519 \begin_inset CommandInset label
3521 name "sec:Multi-page-Tables"
3526 \begin_inset Index idx
3531 \begin_layout Plain Layout
3538 \begin_inset Index idx
3543 \begin_layout Plain Layout
3545 \begin_inset IndexMacro subentry
3548 \begin_layout Plain Layout
3562 \begin_layout Standard
3563 If the table is too long to fit on one page,
3564 you can use the option
3567 \begin_inset space ~
3575 \begin_inset space ~
3580 of the table dialog to split the table automatically over more pages.
3581 Doing this enables the following options:
3584 \begin_layout Description
3586 The current row is defined to be a header row that appears on all pages of the multi-page table;
3587 except for the first page,
3591 \begin_inset space ~
3597 This is therefore called the main header.
3600 \begin_layout Description
3602 \begin_inset space ~
3606 The current row is defined to be a header row that appears on the first page of the multi-page table.
3609 \begin_layout Description
3611 The current row is defined to be a footer row that appears on all pages of the multi-page table;
3612 except for the last page,
3616 \begin_inset space ~
3624 \begin_layout Description
3626 \begin_inset space ~
3630 The current row is defined to be a footer row that appears on the last page of the multi-page table.
3633 \begin_layout Description
3635 The current row contains the table caption.
3636 The row is reset as single column and a caption is inserted.
3637 More about multi-page table captions is explained in sec.
3638 \begin_inset space \thinspace{}
3642 \begin_inset CommandInset ref
3644 reference "subsec:Multi-page-Table-Captions"
3652 \begin_layout Standard
3653 You can also specify a row where the table is split.
3654 See the following multi-page table to see how it works:
3657 \begin_layout Standard
3659 \begin_inset Tabular
3660 <lyxtabular version="3" rows="69" columns="3">
3661 <features islongtable="true" longtabularalignment="center">
3662 <column alignment="left" valignment="top" width="0cm">
3663 <column alignment="left" valignment="top" width="0pt">
3664 <column alignment="center" valignment="top" width="0pt">
3665 <row endfirsthead="true">
3666 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3669 \begin_layout Plain Layout
3672 Example Phone List (ignore the names)
3677 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3680 \begin_layout Plain Layout
3686 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3689 \begin_layout Plain Layout
3696 <row endfirsthead="true">
3697 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3700 \begin_layout Plain Layout
3708 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3711 \begin_layout Plain Layout
3717 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3720 \begin_layout Plain Layout
3729 <row endhead="true">
3730 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3733 \begin_layout Plain Layout
3741 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3744 \begin_layout Plain Layout
3750 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3753 \begin_layout Plain Layout
3760 <row endhead="true">
3761 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3764 \begin_layout Plain Layout
3772 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3775 \begin_layout Plain Layout
3781 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3784 \begin_layout Plain Layout
3793 <row endfoot="true">
3794 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3797 \begin_layout Plain Layout
3798 continued on next page
3803 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3806 \begin_layout Plain Layout
3812 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3815 \begin_layout Plain Layout
3823 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3826 \begin_layout Plain Layout
3834 <cell alignment="center" valignment="top" usebox="none">
3837 \begin_layout Plain Layout
3843 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3846 \begin_layout Plain Layout
3854 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3857 \begin_layout Plain Layout
3865 <cell alignment="center" valignment="top" usebox="none">
3868 \begin_layout Plain Layout
3874 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3877 \begin_layout Plain Layout
3885 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3888 \begin_layout Plain Layout
3896 <cell alignment="center" valignment="top" usebox="none">
3899 \begin_layout Plain Layout
3905 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3908 \begin_layout Plain Layout
3916 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3919 \begin_layout Plain Layout
3927 <cell alignment="center" valignment="top" usebox="none">
3930 \begin_layout Plain Layout
3936 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3939 \begin_layout Plain Layout
3947 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3950 \begin_layout Plain Layout
3958 <cell alignment="center" valignment="top" usebox="none">
3961 \begin_layout Plain Layout
3967 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3970 \begin_layout Plain Layout
3978 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3981 \begin_layout Plain Layout
3989 <cell alignment="center" valignment="top" usebox="none">
3992 \begin_layout Plain Layout
3998 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4001 \begin_layout Plain Layout
4009 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4012 \begin_layout Plain Layout
4020 <cell alignment="center" valignment="top" usebox="none">
4023 \begin_layout Plain Layout
4029 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4032 \begin_layout Plain Layout
4040 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4043 \begin_layout Plain Layout
4051 <cell alignment="center" valignment="top" usebox="none">
4054 \begin_layout Plain Layout
4060 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4063 \begin_layout Plain Layout
4071 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4074 \begin_layout Plain Layout
4082 <cell alignment="center" valignment="top" usebox="none">
4085 \begin_layout Plain Layout
4091 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4094 \begin_layout Plain Layout
4102 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4105 \begin_layout Plain Layout
4113 <cell alignment="center" valignment="top" usebox="none">
4116 \begin_layout Plain Layout
4122 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4125 \begin_layout Plain Layout
4133 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4136 \begin_layout Plain Layout
4144 <cell alignment="center" valignment="top" usebox="none">
4147 \begin_layout Plain Layout
4153 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4156 \begin_layout Plain Layout
4164 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4167 \begin_layout Plain Layout
4175 <cell alignment="center" valignment="top" usebox="none">
4178 \begin_layout Plain Layout
4184 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4187 \begin_layout Plain Layout
4195 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4198 \begin_layout Plain Layout
4206 <cell alignment="center" valignment="top" usebox="none">
4209 \begin_layout Plain Layout
4215 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4218 \begin_layout Plain Layout
4226 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4229 \begin_layout Plain Layout
4237 <cell alignment="center" valignment="top" usebox="none">
4240 \begin_layout Plain Layout
4246 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4249 \begin_layout Plain Layout
4257 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4260 \begin_layout Plain Layout
4268 <cell alignment="center" valignment="top" usebox="none">
4271 \begin_layout Plain Layout
4277 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4280 \begin_layout Plain Layout
4288 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4291 \begin_layout Plain Layout
4299 <cell alignment="center" valignment="top" usebox="none">
4302 \begin_layout Plain Layout
4308 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4311 \begin_layout Plain Layout
4319 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4322 \begin_layout Plain Layout
4330 <cell alignment="center" valignment="top" usebox="none">
4333 \begin_layout Plain Layout
4339 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4342 \begin_layout Plain Layout
4350 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4353 \begin_layout Plain Layout
4361 <cell alignment="center" valignment="top" usebox="none">
4364 \begin_layout Plain Layout
4370 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4373 \begin_layout Plain Layout
4381 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4384 \begin_layout Plain Layout
4392 <cell alignment="center" valignment="top" usebox="none">
4395 \begin_layout Plain Layout
4401 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4404 \begin_layout Plain Layout
4412 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4415 \begin_layout Plain Layout
4423 <cell alignment="center" valignment="top" usebox="none">
4426 \begin_layout Plain Layout
4432 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4435 \begin_layout Plain Layout
4443 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4446 \begin_layout Plain Layout
4454 <cell alignment="center" valignment="top" usebox="none">
4457 \begin_layout Plain Layout
4463 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4466 \begin_layout Plain Layout
4474 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4477 \begin_layout Plain Layout
4485 <cell alignment="center" valignment="top" usebox="none">
4488 \begin_layout Plain Layout
4494 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4497 \begin_layout Plain Layout
4506 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4509 \begin_layout Plain Layout
4517 <cell alignment="center" valignment="top" usebox="none">
4520 \begin_layout Plain Layout
4526 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4529 \begin_layout Plain Layout
4537 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4540 \begin_layout Plain Layout
4548 <cell alignment="center" valignment="top" usebox="none">
4551 \begin_layout Plain Layout
4557 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4560 \begin_layout Plain Layout
4568 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4571 \begin_layout Plain Layout
4579 <cell alignment="center" valignment="top" usebox="none">
4582 \begin_layout Plain Layout
4588 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4591 \begin_layout Plain Layout
4599 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4602 \begin_layout Plain Layout
4610 <cell alignment="center" valignment="top" usebox="none">
4613 \begin_layout Plain Layout
4619 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4622 \begin_layout Plain Layout
4630 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4633 \begin_layout Plain Layout
4641 <cell alignment="center" valignment="top" usebox="none">
4644 \begin_layout Plain Layout
4650 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4653 \begin_layout Plain Layout
4661 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4664 \begin_layout Plain Layout
4672 <cell alignment="center" valignment="top" usebox="none">
4675 \begin_layout Plain Layout
4681 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4684 \begin_layout Plain Layout
4692 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4695 \begin_layout Plain Layout
4703 <cell alignment="center" valignment="top" usebox="none">
4706 \begin_layout Plain Layout
4712 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4715 \begin_layout Plain Layout
4723 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4726 \begin_layout Plain Layout
4734 <cell alignment="center" valignment="top" usebox="none">
4737 \begin_layout Plain Layout
4743 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4746 \begin_layout Plain Layout
4754 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4757 \begin_layout Plain Layout
4765 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4768 \begin_layout Plain Layout
4774 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4777 \begin_layout Plain Layout
4785 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4788 \begin_layout Plain Layout
4794 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4797 \begin_layout Plain Layout
4803 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4806 \begin_layout Plain Layout
4814 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4817 \begin_layout Plain Layout
4825 <cell alignment="center" valignment="top" usebox="none">
4828 \begin_layout Plain Layout
4834 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4837 \begin_layout Plain Layout
4845 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4848 \begin_layout Plain Layout
4856 <cell alignment="center" valignment="top" usebox="none">
4859 \begin_layout Plain Layout
4865 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4868 \begin_layout Plain Layout
4876 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4879 \begin_layout Plain Layout
4887 <cell alignment="center" valignment="top" usebox="none">
4890 \begin_layout Plain Layout
4896 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4899 \begin_layout Plain Layout
4907 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4910 \begin_layout Plain Layout
4918 <cell alignment="center" valignment="top" usebox="none">
4921 \begin_layout Plain Layout
4927 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4930 \begin_layout Plain Layout
4938 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4941 \begin_layout Plain Layout
4949 <cell alignment="center" valignment="top" usebox="none">
4952 \begin_layout Plain Layout
4958 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4961 \begin_layout Plain Layout
4969 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4972 \begin_layout Plain Layout
4980 <cell alignment="center" valignment="top" usebox="none">
4983 \begin_layout Plain Layout
4989 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4992 \begin_layout Plain Layout
5000 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5003 \begin_layout Plain Layout
5011 <cell alignment="center" valignment="top" usebox="none">
5014 \begin_layout Plain Layout
5020 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5023 \begin_layout Plain Layout
5031 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5034 \begin_layout Plain Layout
5042 <cell alignment="center" valignment="top" usebox="none">
5045 \begin_layout Plain Layout
5051 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5054 \begin_layout Plain Layout
5062 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5065 \begin_layout Plain Layout
5073 <cell alignment="center" valignment="top" usebox="none">
5076 \begin_layout Plain Layout
5082 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5085 \begin_layout Plain Layout
5093 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5096 \begin_layout Plain Layout
5104 <cell alignment="center" valignment="top" usebox="none">
5107 \begin_layout Plain Layout
5113 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5116 \begin_layout Plain Layout
5124 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5127 \begin_layout Plain Layout
5135 <cell alignment="center" valignment="top" usebox="none">
5138 \begin_layout Plain Layout
5144 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5147 \begin_layout Plain Layout
5155 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5158 \begin_layout Plain Layout
5166 <cell alignment="center" valignment="top" usebox="none">
5169 \begin_layout Plain Layout
5175 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5178 \begin_layout Plain Layout
5186 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5189 \begin_layout Plain Layout
5197 <cell alignment="center" valignment="top" usebox="none">
5200 \begin_layout Plain Layout
5206 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5209 \begin_layout Plain Layout
5217 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5220 \begin_layout Plain Layout
5228 <cell alignment="center" valignment="top" usebox="none">
5231 \begin_layout Plain Layout
5237 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5240 \begin_layout Plain Layout
5248 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5251 \begin_layout Plain Layout
5259 <cell alignment="center" valignment="top" usebox="none">
5262 \begin_layout Plain Layout
5268 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5271 \begin_layout Plain Layout
5279 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5282 \begin_layout Plain Layout
5290 <cell alignment="center" valignment="top" usebox="none">
5293 \begin_layout Plain Layout
5299 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5302 \begin_layout Plain Layout
5310 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5313 \begin_layout Plain Layout
5321 <cell alignment="center" valignment="top" usebox="none">
5324 \begin_layout Plain Layout
5330 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5333 \begin_layout Plain Layout
5341 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5344 \begin_layout Plain Layout
5352 <cell alignment="center" valignment="top" usebox="none">
5355 \begin_layout Plain Layout
5361 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5364 \begin_layout Plain Layout
5372 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5375 \begin_layout Plain Layout
5383 <cell alignment="center" valignment="top" usebox="none">
5386 \begin_layout Plain Layout
5392 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5395 \begin_layout Plain Layout
5403 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5406 \begin_layout Plain Layout
5414 <cell alignment="center" valignment="top" usebox="none">
5417 \begin_layout Plain Layout
5423 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5426 \begin_layout Plain Layout
5434 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5437 \begin_layout Plain Layout
5445 <cell alignment="center" valignment="top" usebox="none">
5448 \begin_layout Plain Layout
5454 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5457 \begin_layout Plain Layout
5465 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5468 \begin_layout Plain Layout
5476 <cell alignment="center" valignment="top" usebox="none">
5479 \begin_layout Plain Layout
5485 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5488 \begin_layout Plain Layout
5497 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5500 \begin_layout Plain Layout
5508 <cell alignment="center" valignment="top" usebox="none">
5511 \begin_layout Plain Layout
5517 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5520 \begin_layout Plain Layout
5528 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5531 \begin_layout Plain Layout
5539 <cell alignment="center" valignment="top" usebox="none">
5542 \begin_layout Plain Layout
5548 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5551 \begin_layout Plain Layout
5559 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5562 \begin_layout Plain Layout
5570 <cell alignment="center" valignment="top" usebox="none">
5573 \begin_layout Plain Layout
5579 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5582 \begin_layout Plain Layout
5590 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5593 \begin_layout Plain Layout
5601 <cell alignment="center" valignment="top" usebox="none">
5604 \begin_layout Plain Layout
5610 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5613 \begin_layout Plain Layout
5621 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5624 \begin_layout Plain Layout
5632 <cell alignment="center" valignment="top" usebox="none">
5635 \begin_layout Plain Layout
5641 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5644 \begin_layout Plain Layout
5652 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5655 \begin_layout Plain Layout
5663 <cell alignment="center" valignment="top" usebox="none">
5666 \begin_layout Plain Layout
5672 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5675 \begin_layout Plain Layout
5683 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5686 \begin_layout Plain Layout
5694 <cell alignment="center" valignment="top" usebox="none">
5697 \begin_layout Plain Layout
5703 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5706 \begin_layout Plain Layout
5714 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5717 \begin_layout Plain Layout
5725 <cell alignment="center" valignment="top" usebox="none">
5728 \begin_layout Plain Layout
5734 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5737 \begin_layout Plain Layout
5745 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5748 \begin_layout Plain Layout
5756 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5759 \begin_layout Plain Layout
5765 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5768 \begin_layout Plain Layout
5775 <row endlastfoot="true">
5776 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5779 \begin_layout Plain Layout
5785 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5788 \begin_layout Plain Layout
5794 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5797 \begin_layout Plain Layout
5812 \begin_layout Plain Layout
5816 addtocounter{table}{-1}
5822 \begin_inset Note Note
5825 \begin_layout Plain Layout
5826 See the first greyed-out note in section
5827 \begin_inset space ~
5831 \begin_inset CommandInset ref
5833 reference "subsec:Multi-page-Table-Captions"
5838 for an explanation of this command.
5846 \begin_layout Subsection
5847 Footnotes in Multi-page tables
5848 \begin_inset CommandInset label
5850 name "subsec:Footnotes-in-Multi-page"
5855 \begin_inset Index idx
5860 \begin_layout Plain Layout
5862 \begin_inset IndexMacro subentry
5865 \begin_layout Plain Layout
5872 \begin_inset IndexMacro subentry
5875 \begin_layout Plain Layout
5889 \begin_layout Standard
5890 Footnotes can be inserted to every Multi-page table cell.
5891 They appear at the bottom of the page where the table cell with the footnote appears.
5893 \begin_inset space ~
5897 \begin_inset CommandInset ref
5899 reference "tab:DiffCaptions"
5904 has for example a footnote.
5907 \begin_layout Subsection
5908 Multi-page Table Alignment
5909 \begin_inset Index idx
5914 \begin_layout Plain Layout
5916 \begin_inset IndexMacro subentry
5919 \begin_layout Plain Layout
5926 \begin_inset IndexMacro subentry
5929 \begin_layout Plain Layout
5943 \begin_layout Standard
5944 The horizontal alignment of multi-page tables can be set in the table settings dialog.
5945 For left- and right-alignment the table will be directly at the page border.
5946 To add space between the table and the border one has to set the alignment to center and change the value of the \SpecialChar LaTeX
5959 by inserting this line as \SpecialChar TeX
5960 Code before the multi-page table:
5963 \begin_layout Standard
5973 \begin_layout Standard
5974 The value can have any of the units listed in Table
5975 \begin_inset space ~
5979 \begin_inset CommandInset ref
5981 reference "tab:Units"
5993 controls the horizontal distance from the left page border to the multi-page table,
6000 the distance from the right side.
6001 The default value for both lengths is
6008 which is in this case the same as an horizontal fill in \SpecialChar LyX
6012 \begin_layout Standard
6013 The following multi-page table was centered and
6029 \begin_layout Plain Layout
6045 \begin_layout Standard
6046 \begin_inset Tabular
6047 <lyxtabular version="3" rows="5" columns="5">
6048 <features islongtable="true" longtabularalignment="center">
6049 <column alignment="center" valignment="top">
6050 <column alignment="center" valignment="top" width="0pt">
6051 <column alignment="center" valignment="top">
6052 <column alignment="center" valignment="top">
6053 <column alignment="center" valignment="top">
6055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6058 \begin_layout Plain Layout
6064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6067 \begin_layout Plain Layout
6073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6076 \begin_layout Plain Layout
6082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6085 \begin_layout Plain Layout
6091 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6094 \begin_layout Plain Layout
6102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6105 \begin_layout Plain Layout
6111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6114 \begin_layout Plain Layout
6120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6123 \begin_layout Plain Layout
6129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6132 \begin_layout Plain Layout
6138 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6141 \begin_layout Plain Layout
6149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6152 \begin_layout Plain Layout
6158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6161 \begin_layout Plain Layout
6167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6170 \begin_layout Plain Layout
6176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6179 \begin_layout Plain Layout
6185 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6188 \begin_layout Plain Layout
6196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6199 \begin_layout Plain Layout
6205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6208 \begin_layout Plain Layout
6214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6217 \begin_layout Plain Layout
6223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6226 \begin_layout Plain Layout
6232 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6235 \begin_layout Plain Layout
6243 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6246 \begin_layout Plain Layout
6252 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6255 \begin_layout Plain Layout
6261 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6264 \begin_layout Plain Layout
6270 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6273 \begin_layout Plain Layout
6279 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6282 \begin_layout Plain Layout
6297 \begin_layout Plain Layout
6314 \begin_layout Plain Layout
6318 addtocounter{table}{-1}
6324 \begin_inset Note Note
6327 \begin_layout Plain Layout
6328 See the first greyed-out note in section
6329 \begin_inset space ~
6333 \begin_inset CommandInset ref
6335 reference "subsec:Multi-page-Table-Captions"
6340 for an explanation of this command.
6348 \begin_layout Subsection
6349 Multi-page Table Captions
6350 \begin_inset Index idx
6355 \begin_layout Plain Layout
6357 \begin_inset IndexMacro subentry
6360 \begin_layout Plain Layout
6367 \begin_inset IndexMacro subentry
6370 \begin_layout Plain Layout
6382 \begin_inset CommandInset label
6384 name "subsec:Multi-page-Table-Captions"
6391 \begin_layout Standard
6392 A multi-page table cannot be put into a table float because floats can only be on one page.
6393 But the caption environment of floats can also be used for multi-page tables when you use the multi-page table option
6397 as described in sec.
6398 \begin_inset space \thinspace{}
6402 \begin_inset CommandInset ref
6404 reference "sec:Multi-page-Tables"
6410 Only one table row should contain a caption,
6411 either a header or a footer row.
6414 \begin_layout Standard
6415 Here is a short multi-page table to see how it works:
6418 \begin_layout Standard
6419 \begin_inset Tabular
6420 <lyxtabular version="3" rows="6" columns="5">
6421 <features islongtable="true" longtabularalignment="center">
6422 <column alignment="center" valignment="top">
6423 <column alignment="center" valignment="top">
6424 <column alignment="center" valignment="top">
6425 <column alignment="center" valignment="top">
6426 <column alignment="center" valignment="top">
6427 <row endfirsthead="true" caption="true">
6428 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6431 \begin_layout Plain Layout
6432 \begin_inset Caption Standard
6434 \begin_layout Plain Layout
6435 Multi-page table with caption
6436 \begin_inset Argument 1
6439 \begin_layout Plain Layout
6455 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6458 \begin_layout Plain Layout
6464 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6467 \begin_layout Plain Layout
6473 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6476 \begin_layout Plain Layout
6482 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6485 \begin_layout Plain Layout
6493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6496 \begin_layout Plain Layout
6502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6505 \begin_layout Plain Layout
6511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6514 \begin_layout Plain Layout
6520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6523 \begin_layout Plain Layout
6529 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6532 \begin_layout Plain Layout
6540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6543 \begin_layout Plain Layout
6549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6552 \begin_layout Plain Layout
6558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6561 \begin_layout Plain Layout
6567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6570 \begin_layout Plain Layout
6576 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6579 \begin_layout Plain Layout
6587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6590 \begin_layout Plain Layout
6596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6599 \begin_layout Plain Layout
6605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6608 \begin_layout Plain Layout
6614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6617 \begin_layout Plain Layout
6623 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6626 \begin_layout Plain Layout
6634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6637 \begin_layout Plain Layout
6643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6646 \begin_layout Plain Layout
6652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6655 \begin_layout Plain Layout
6661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6664 \begin_layout Plain Layout
6670 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6673 \begin_layout Plain Layout
6681 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6684 \begin_layout Plain Layout
6690 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6693 \begin_layout Plain Layout
6699 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6702 \begin_layout Plain Layout
6708 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6711 \begin_layout Plain Layout
6717 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6720 \begin_layout Plain Layout
6734 \begin_layout Standard
6735 \begin_inset VSpace medskip
6739 \begin_inset Note Greyedout
6742 \begin_layout Plain Layout
6746 \begin_inset space ~
6752 The table number is increased for every multi-page table,
6753 even if you did not set a caption for it.
6754 For this reason you could have the case that e.
6755 \begin_inset space \thinspace{}
6759 \begin_inset space \space{}
6763 \begin_inset space ~
6767 \begin_inset space ~
6770 2.1 in the list of tables if there are two multi-page tables without captions.
6771 To avoid this you can add the following command in \SpecialChar TeX
6772 Code after every multi-page table without a caption:
6775 \begin_layout Plain Layout
6780 addtocounter{table}{-1}
6783 \begin_layout Plain Layout
6784 This is not needed when none of your multi-page tables has a caption and you add the following code to the document preamble:
6787 \begin_layout Plain Layout
6797 \begin_inset Newline newline
6808 addtocounter{table}{-1}}
6816 \begin_layout Standard
6817 \begin_inset Note Greyedout
6820 \begin_layout Plain Layout
6824 \begin_inset space ~
6835 \begin_inset Index idx
6840 \begin_layout Plain Layout
6843 \begin_inset IndexMacro subentry
6846 \begin_layout Plain Layout
6865 dialog to link cross-references,
6866 the link to a multi-page table caption will always point to the beginning of the document.
6874 \begin_layout Subsubsection
6875 References to multi-page tables
6876 \begin_inset Index idx
6881 \begin_layout Plain Layout
6883 \begin_inset IndexMacro subentry
6886 \begin_layout Plain Layout
6893 \begin_inset IndexMacro subentry
6896 \begin_layout Plain Layout
6910 \begin_layout Standard
6911 \begin_inset Tabular
6912 <lyxtabular version="3" rows="6" columns="5">
6913 <features islongtable="true" longtabularalignment="center">
6914 <column alignment="center" valignment="top">
6915 <column alignment="center" valignment="top">
6916 <column alignment="center" valignment="top">
6917 <column alignment="center" valignment="top">
6918 <column alignment="center" valignment="top">
6919 <row endfirsthead="true" caption="true">
6920 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6923 \begin_layout Plain Layout
6924 \begin_inset Caption Standard
6926 \begin_layout Plain Layout
6927 Referenced multi-page table
6928 \begin_inset CommandInset label
6930 name "tab:Referenced-multi-page-table"
6944 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6947 \begin_layout Plain Layout
6953 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6956 \begin_layout Plain Layout
6962 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6965 \begin_layout Plain Layout
6971 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6974 \begin_layout Plain Layout
6982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6985 \begin_layout Plain Layout
6991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6994 \begin_layout Plain Layout
7000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7003 \begin_layout Plain Layout
7009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7012 \begin_layout Plain Layout
7018 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7021 \begin_layout Plain Layout
7029 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7032 \begin_layout Plain Layout
7038 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7041 \begin_layout Plain Layout
7047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7050 \begin_layout Plain Layout
7056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7059 \begin_layout Plain Layout
7065 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7068 \begin_layout Plain Layout
7076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7079 \begin_layout Plain Layout
7085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7088 \begin_layout Plain Layout
7094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7097 \begin_layout Plain Layout
7103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7106 \begin_layout Plain Layout
7112 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7115 \begin_layout Plain Layout
7123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7126 \begin_layout Plain Layout
7132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7135 \begin_layout Plain Layout
7141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7144 \begin_layout Plain Layout
7150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7153 \begin_layout Plain Layout
7159 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7162 \begin_layout Plain Layout
7170 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7173 \begin_layout Plain Layout
7179 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7182 \begin_layout Plain Layout
7188 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7191 \begin_layout Plain Layout
7197 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7200 \begin_layout Plain Layout
7206 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7209 \begin_layout Plain Layout
7223 \begin_layout Standard
7224 To reference a multi-page table,
7225 insert a label into the caption.
7228 \begin_layout Standard
7229 This is a reference to Table
7230 \begin_inset space ~
7234 \begin_inset CommandInset ref
7236 reference "tab:Referenced-multi-page-table"
7244 \begin_layout Standard
7245 The caption layout can be set together with all other captions of your document using the \SpecialChar LaTeX
7251 \begin_inset Index idx
7256 \begin_layout Plain Layout
7259 \begin_inset IndexMacro subentry
7262 \begin_layout Plain Layout
7275 \begin_inset space ~
7279 \begin_inset CommandInset ref
7281 reference "sec:Caption-Formatting"
7289 \begin_layout Subsubsection
7291 \begin_inset Index idx
7296 \begin_layout Plain Layout
7298 \begin_inset IndexMacro subentry
7301 \begin_layout Plain Layout
7308 \begin_inset IndexMacro subentry
7311 \begin_layout Plain Layout
7325 \begin_layout Standard
7326 The maximal width of caption lines is defined by the length
7333 Its default value is 4
7334 \begin_inset space \thinspace{}
7338 To change it add the following command to your document preamble or as \SpecialChar TeX
7339 Code into your document before the multi-page table that should be affected
7342 \begin_layout Standard
7352 \begin_layout Standard
7357 can have one of the units listed in appendix
7358 \begin_inset space ~
7362 \begin_inset CommandInset ref
7364 reference "cha:Units-available-in"
7372 \begin_layout Standard
7373 The following tables show the difference:
7376 \begin_layout Standard
7377 \begin_inset Tabular
7378 <lyxtabular version="3" rows="6" columns="5">
7379 <features islongtable="true" longtabularalignment="center">
7380 <column alignment="center" valignment="top">
7381 <column alignment="center" valignment="top">
7382 <column alignment="center" valignment="top">
7383 <column alignment="center" valignment="top">
7384 <column alignment="center" valignment="top">
7385 <row endfirsthead="true" caption="true">
7386 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7389 \begin_layout Plain Layout
7390 \begin_inset Caption Standard
7392 \begin_layout Plain Layout
7393 Long full title with default width long full title with default width long full title with default width
7394 \begin_inset Argument 1
7397 \begin_layout Plain Layout
7398 caption with default width
7413 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7416 \begin_layout Plain Layout
7422 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7425 \begin_layout Plain Layout
7431 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7434 \begin_layout Plain Layout
7440 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7443 \begin_layout Plain Layout
7451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7454 \begin_layout Plain Layout
7460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7463 \begin_layout Plain Layout
7469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7472 \begin_layout Plain Layout
7478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7481 \begin_layout Plain Layout
7487 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7490 \begin_layout Plain Layout
7498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7501 \begin_layout Plain Layout
7507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7510 \begin_layout Plain Layout
7516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7519 \begin_layout Plain Layout
7525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7528 \begin_layout Plain Layout
7534 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7537 \begin_layout Plain Layout
7545 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7548 \begin_layout Plain Layout
7554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7557 \begin_layout Plain Layout
7563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7566 \begin_layout Plain Layout
7572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7575 \begin_layout Plain Layout
7581 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7584 \begin_layout Plain Layout
7592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7595 \begin_layout Plain Layout
7601 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7604 \begin_layout Plain Layout
7610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7613 \begin_layout Plain Layout
7619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7622 \begin_layout Plain Layout
7628 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7631 \begin_layout Plain Layout
7639 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7642 \begin_layout Plain Layout
7648 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7651 \begin_layout Plain Layout
7657 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7660 \begin_layout Plain Layout
7666 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7669 \begin_layout Plain Layout
7675 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7678 \begin_layout Plain Layout
7692 \begin_layout Standard
7696 \begin_layout Plain Layout
7708 \begin_inset Tabular
7709 <lyxtabular version="3" rows="6" columns="5">
7710 <features islongtable="true" longtabularalignment="center">
7711 <column alignment="center" valignment="top">
7712 <column alignment="center" valignment="top">
7713 <column alignment="center" valignment="top">
7714 <column alignment="center" valignment="top">
7715 <column alignment="center" valignment="top">
7716 <row endfirsthead="true" caption="true">
7717 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7720 \begin_layout Plain Layout
7721 \begin_inset Caption Standard
7723 \begin_layout Plain Layout
7724 Long full title with width set to 5
7725 \begin_inset space \thinspace{}
7728 cm long full title with width set to 5
7729 \begin_inset space \thinspace{}
7732 cm long full title with width set to 5
7733 \begin_inset space \thinspace{}
7737 \begin_inset Argument 1
7740 \begin_layout Plain Layout
7742 \begin_inset space \thinspace{}
7746 \begin_inset space \thinspace{}
7750 \begin_inset space \thinspace{}
7768 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7771 \begin_layout Plain Layout
7777 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7780 \begin_layout Plain Layout
7786 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7789 \begin_layout Plain Layout
7795 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7798 \begin_layout Plain Layout
7806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7809 \begin_layout Plain Layout
7815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7818 \begin_layout Plain Layout
7824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7827 \begin_layout Plain Layout
7833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7836 \begin_layout Plain Layout
7842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7845 \begin_layout Plain Layout
7853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7856 \begin_layout Plain Layout
7862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7865 \begin_layout Plain Layout
7871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7874 \begin_layout Plain Layout
7880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7883 \begin_layout Plain Layout
7889 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7892 \begin_layout Plain Layout
7900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7903 \begin_layout Plain Layout
7909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7912 \begin_layout Plain Layout
7918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7921 \begin_layout Plain Layout
7927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7930 \begin_layout Plain Layout
7936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7939 \begin_layout Plain Layout
7947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7950 \begin_layout Plain Layout
7956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7959 \begin_layout Plain Layout
7965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7968 \begin_layout Plain Layout
7974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7977 \begin_layout Plain Layout
7983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7986 \begin_layout Plain Layout
7994 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7997 \begin_layout Plain Layout
8003 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8006 \begin_layout Plain Layout
8012 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8015 \begin_layout Plain Layout
8021 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8024 \begin_layout Plain Layout
8030 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8033 \begin_layout Plain Layout
8047 \begin_layout Standard
8051 \begin_layout Plain Layout
8065 \begin_layout Standard
8066 \begin_inset Note Greyedout
8069 \begin_layout Plain Layout
8075 When the \SpecialChar LaTeX
8081 \begin_inset Index idx
8086 \begin_layout Plain Layout
8089 \begin_inset IndexMacro subentry
8092 \begin_layout Plain Layout
8104 as in this document,
8105 the full page width is used for the caption when you use the default value of 4
8106 \begin_inset space \thinspace{}
8116 To get in this case exactly a 4
8117 \begin_inset space \thinspace{}
8121 you can either use a value slightly different from 4.0
8122 \begin_inset space \thinspace{}
8127 \begin_inset space \thinspace{}
8131 \begin_inset space \space{}
8135 \begin_inset space \thinspace{}
8139 or the \SpecialChar LaTeX
8144 captionsetup{width=value}
8146 that is provided by the
8158 \begin_layout Subsubsection
8159 Different Captions for Table Pages
8160 \begin_inset Index idx
8165 \begin_layout Plain Layout
8167 \begin_inset IndexMacro subentry
8170 \begin_layout Plain Layout
8177 \begin_inset IndexMacro subentry
8180 \begin_layout Plain Layout
8181 Different Captions for Pages
8194 \begin_layout Standard
8195 When the table captions for the following pages should differ from the one of the first table page,
8196 mark a empty row as header which contains a caption.
8197 Then right-click on the caption and select in the context menu
8200 \begin_inset space ~
8207 \begin_inset space ~
8211 \begin_inset CommandInset ref
8213 reference "tab:DiffCaptions"
8218 is an example of a multi-page table with different heading where the second caption does not include the table number.
8221 \begin_layout Standard
8223 \begin_inset Tabular
8224 <lyxtabular version="3" rows="59" columns="3">
8225 <features islongtable="true" longtabularalignment="center">
8226 <column alignment="left" valignment="top" width="0cm">
8227 <column alignment="left" valignment="top" width="0pt">
8228 <column alignment="center" valignment="top" width="0pt">
8229 <row endfirsthead="true" caption="true">
8230 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8233 \begin_layout Plain Layout
8234 \begin_inset Caption Standard
8236 \begin_layout Plain Layout
8238 \begin_inset CommandInset label
8240 name "tab:DiffCaptions"
8245 \begin_inset Argument 1
8248 \begin_layout Plain Layout
8264 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8267 \begin_layout Plain Layout
8273 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8276 \begin_layout Plain Layout
8283 <row endfirsthead="true">
8284 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8287 \begin_layout Plain Layout
8290 Example Phone List (ignore the names)
8295 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
8298 \begin_layout Plain Layout
8304 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
8307 \begin_layout Plain Layout
8314 <row endfirsthead="true">
8315 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8318 \begin_layout Plain Layout
8326 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8329 \begin_layout Plain Layout
8335 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8338 \begin_layout Plain Layout
8347 <row endhead="true" caption="true">
8348 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8351 \begin_layout Plain Layout
8352 \begin_inset Caption Unnumbered
8354 \begin_layout Plain Layout
8355 Continued Example Phone List
8365 <cell multicolumn="2" alignment="left" valignment="top" leftline="true" usebox="none">
8368 \begin_layout Plain Layout
8374 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8377 \begin_layout Plain Layout
8384 <row endhead="true">
8385 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8388 \begin_layout Plain Layout
8396 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8399 \begin_layout Plain Layout
8405 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8408 \begin_layout Plain Layout
8415 <row endhead="true">
8416 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8419 \begin_layout Plain Layout
8427 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8430 \begin_layout Plain Layout
8436 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8439 \begin_layout Plain Layout
8448 <row endfoot="true">
8449 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
8452 \begin_layout Plain Layout
8453 continued on next page
8458 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8461 \begin_layout Plain Layout
8467 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8470 \begin_layout Plain Layout
8478 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8481 \begin_layout Plain Layout
8489 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8492 \begin_layout Plain Layout
8498 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8501 \begin_layout Plain Layout
8509 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8512 \begin_layout Plain Layout
8520 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8523 \begin_layout Plain Layout
8529 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8532 \begin_layout Plain Layout
8540 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8543 \begin_layout Plain Layout
8551 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8554 \begin_layout Plain Layout
8560 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8563 \begin_layout Plain Layout
8571 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8574 \begin_layout Plain Layout
8582 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8585 \begin_layout Plain Layout
8591 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8594 \begin_layout Plain Layout
8602 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8605 \begin_layout Plain Layout
8613 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8616 \begin_layout Plain Layout
8622 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8625 \begin_layout Plain Layout
8633 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8636 \begin_layout Plain Layout
8644 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8647 \begin_layout Plain Layout
8653 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8656 \begin_layout Plain Layout
8664 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8667 \begin_layout Plain Layout
8675 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8678 \begin_layout Plain Layout
8684 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8687 \begin_layout Plain Layout
8695 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8698 \begin_layout Plain Layout
8706 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8709 \begin_layout Plain Layout
8715 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8718 \begin_layout Plain Layout
8726 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8729 \begin_layout Plain Layout
8737 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8740 \begin_layout Plain Layout
8746 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8749 \begin_layout Plain Layout
8757 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8760 \begin_layout Plain Layout
8768 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8771 \begin_layout Plain Layout
8777 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8780 \begin_layout Plain Layout
8788 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8791 \begin_layout Plain Layout
8799 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8802 \begin_layout Plain Layout
8808 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8811 \begin_layout Plain Layout
8819 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8822 \begin_layout Plain Layout
8830 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8833 \begin_layout Plain Layout
8839 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8842 \begin_layout Plain Layout
8850 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8853 \begin_layout Plain Layout
8861 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8864 \begin_layout Plain Layout
8870 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8873 \begin_layout Plain Layout
8881 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8884 \begin_layout Plain Layout
8892 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8895 \begin_layout Plain Layout
8901 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8904 \begin_layout Plain Layout
8912 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8915 \begin_layout Plain Layout
8924 \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
8997 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9000 \begin_layout Plain Layout
9006 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9009 \begin_layout Plain Layout
9017 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9020 \begin_layout Plain Layout
9028 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9031 \begin_layout Plain Layout
9037 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9040 \begin_layout Plain Layout
9048 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9051 \begin_layout Plain Layout
9059 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9062 \begin_layout Plain Layout
9068 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9071 \begin_layout Plain Layout
9079 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9082 \begin_layout Plain Layout
9090 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9093 \begin_layout Plain Layout
9099 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9102 \begin_layout Plain Layout
9110 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9113 \begin_layout Plain Layout
9121 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9124 \begin_layout Plain Layout
9130 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9133 \begin_layout Plain Layout
9141 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9144 \begin_layout Plain Layout
9152 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9155 \begin_layout Plain Layout
9161 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9164 \begin_layout Plain Layout
9173 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9176 \begin_layout Plain Layout
9184 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9187 \begin_layout Plain Layout
9193 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9196 \begin_layout Plain Layout
9204 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9207 \begin_layout Plain Layout
9215 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9218 \begin_layout Plain Layout
9224 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9227 \begin_layout Plain Layout
9235 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9238 \begin_layout Plain Layout
9246 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9249 \begin_layout Plain Layout
9255 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9258 \begin_layout Plain Layout
9266 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9269 \begin_layout Plain Layout
9277 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9280 \begin_layout Plain Layout
9286 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9289 \begin_layout Plain Layout
9297 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9300 \begin_layout Plain Layout
9308 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9311 \begin_layout Plain Layout
9317 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9320 \begin_layout Plain Layout
9328 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9331 \begin_layout Plain Layout
9339 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9342 \begin_layout Plain Layout
9348 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9351 \begin_layout Plain Layout
9359 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9362 \begin_layout Plain Layout
9370 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9373 \begin_layout Plain Layout
9379 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9382 \begin_layout Plain Layout
9390 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9393 \begin_layout Plain Layout
9401 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9404 \begin_layout Plain Layout
9410 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9413 \begin_layout Plain Layout
9421 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9424 \begin_layout Plain Layout
9432 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9435 \begin_layout Plain Layout
9441 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9444 \begin_layout Plain Layout
9452 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9455 \begin_layout Plain Layout
9461 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
9464 \begin_layout Plain Layout
9470 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9473 \begin_layout Plain Layout
9481 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9484 \begin_layout Plain Layout
9492 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9495 \begin_layout Plain Layout
9501 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9504 \begin_layout Plain Layout
9512 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9515 \begin_layout Plain Layout
9523 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9526 \begin_layout Plain Layout
9532 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9535 \begin_layout Plain Layout
9543 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9546 \begin_layout Plain Layout
9554 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9557 \begin_layout Plain Layout
9563 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9566 \begin_layout Plain Layout
9574 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9577 \begin_layout Plain Layout
9585 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9588 \begin_layout Plain Layout
9594 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9597 \begin_layout Plain Layout
9605 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9608 \begin_layout Plain Layout
9616 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9619 \begin_layout Plain Layout
9625 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9628 \begin_layout Plain Layout
9636 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9639 \begin_layout Plain Layout
9647 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9650 \begin_layout Plain Layout
9656 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9659 \begin_layout Plain Layout
9667 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9670 \begin_layout Plain Layout
9678 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9681 \begin_layout Plain Layout
9687 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9690 \begin_layout Plain Layout
9698 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9701 \begin_layout Plain Layout
9709 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9712 \begin_layout Plain Layout
9718 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9721 \begin_layout Plain Layout
9729 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9732 \begin_layout Plain Layout
9740 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9743 \begin_layout Plain Layout
9749 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9752 \begin_layout Plain Layout
9760 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9763 \begin_layout Plain Layout
9771 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9774 \begin_layout Plain Layout
9780 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9783 \begin_layout Plain Layout
9791 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9794 \begin_layout Plain Layout
9802 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9805 \begin_layout Plain Layout
9811 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9814 \begin_layout Plain Layout
9822 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9825 \begin_layout Plain Layout
9833 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9836 \begin_layout Plain Layout
9842 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9845 \begin_layout Plain Layout
9853 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9856 \begin_layout Plain Layout
9864 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9867 \begin_layout Plain Layout
9873 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9876 \begin_layout Plain Layout
9884 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9887 \begin_layout Plain Layout
9895 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9898 \begin_layout Plain Layout
9904 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9907 \begin_layout Plain Layout
9915 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9918 \begin_layout Plain Layout
9926 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9929 \begin_layout Plain Layout
9935 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9938 \begin_layout Plain Layout
9946 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9949 \begin_layout Plain Layout
9957 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9960 \begin_layout Plain Layout
9966 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9969 \begin_layout Plain Layout
9977 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9980 \begin_layout Plain Layout
9988 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9991 \begin_layout Plain Layout
9997 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10000 \begin_layout Plain Layout
10008 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10011 \begin_layout Plain Layout
10019 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10022 \begin_layout Plain Layout
10028 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10031 \begin_layout Plain Layout
10039 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10042 \begin_layout Plain Layout
10050 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10053 \begin_layout Plain Layout
10059 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10062 \begin_layout Plain Layout
10070 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
10073 \begin_layout Plain Layout
10081 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
10084 \begin_layout Plain Layout
10090 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10093 \begin_layout Plain Layout
10107 \begin_layout Section
10108 Special Multi-page Table Issues
10109 \begin_inset CommandInset label
10111 name "sec:Special-Longtable-Issues"
10118 \begin_layout Subsection
10119 Multi-page Table Calculation
10120 \begin_inset Index idx
10125 \begin_layout Plain Layout
10127 \begin_inset IndexMacro subentry
10130 \begin_layout Plain Layout
10137 \begin_inset IndexMacro subentry
10140 \begin_layout Plain Layout
10154 \begin_layout Standard
10156 calculates the height of table pages and their page breaks using so called chunks.
10157 Chunks are parts of tables that held at the same time in \SpecialChar LaTeX
10159 The default value was historically set to only 20
10160 \begin_inset space ~
10164 If you are using multi-page tables with many pages this may slow down the creation of your document.
10165 You can safely increase the chunk size to values of 100
10166 \begin_inset space \thinspace{}
10170 \begin_inset space \thinspace{}
10173 1000 by adding this command line to your document preamble:
10176 \begin_layout Standard
10181 setcounter{LTchunksize}{100}
10184 \begin_layout Subsection
10185 Floats and Multi-page Tables
10186 \begin_inset Index idx
10191 \begin_layout Plain Layout
10193 \begin_inset IndexMacro subentry
10196 \begin_layout Plain Layout
10203 \begin_inset IndexMacro subentry
10206 \begin_layout Plain Layout
10220 \begin_layout Standard
10221 There might be problems when a float appears on the same page where a multi-page table starts.
10222 To avoid such a situation,
10224 \begin_inset Quotes eld
10228 \begin_inset Quotes erd
10233 Insert\SpecialChar menuseparator
10234 Formatting\SpecialChar menuseparator
10236 \begin_inset space ~
10241 ) before your multi-page table.
10244 \begin_layout Subsection
10246 \begin_inset Index idx
10251 \begin_layout Plain Layout
10253 \begin_inset IndexMacro subentry
10256 \begin_layout Plain Layout
10263 \begin_inset IndexMacro subentry
10266 \begin_layout Plain Layout
10280 \begin_layout Standard
10281 By default tables are only broken between rows.
10282 If you have a cell with multiples lines and want to have a page break within the cell,
10283 insert the new line command
10284 \begin_inset Quotes eld
10296 \begin_inset Quotes erd
10299 as \SpecialChar TeX
10300 Code at the point of the cell where it can be broken.
10309 command you have to insert in \SpecialChar TeX
10311 \begin_inset Quotes eld
10319 \begin_inset Quotes erd
10322 characters as the number of the following table columns.
10327 is the character to separate table cells.
10328 Write in \SpecialChar TeX
10333 the content of the corresponding following cell and delete the content of these cells.
10334 \begin_inset Newline newline
10350 characters as the number of table columns before the current column.
10352 \begin_inset space ~
10356 \begin_inset CommandInset ref
10358 reference "tab:ForcedPagebreak"
10363 the cell that should be broken is in the second column followed by another column.
10364 Therefore the following command was inserted in the cell as \SpecialChar TeX
10366 \begin_inset Quotes eld
10374 \begin_inset Quotes erd
10380 \begin_layout Standard
10390 \begin_inset Newline newline
10396 \begin_layout Standard
10398 \begin_inset Quotes eld
10402 \begin_inset Quotes erd
10405 in the third column of the row was deleted.
10412 is only needed when a page break should definitely occur at this position,
10413 otherwise it would be a conditional break.
10414 If your footer row of the multi-page table has for a certain reason no upper line but you would have a horizontal line where the cell is broken,
10415 use this command instead:
10418 \begin_layout Standard
10426 \begin_inset Newline newline
10434 \begin_layout Standard
10435 When the cell to be broken is in the last column,
10439 \begin_layout Standard
10449 \begin_layout Standard
10450 must be inserted as \SpecialChar TeX
10451 Code at the beginning of the cell.
10452 This ensures that the part of the cell that will be displayed on the new page appears with the full width.
10455 \begin_layout Standard
10457 \begin_inset Tabular
10458 <lyxtabular version="3" rows="38" columns="3">
10459 <features islongtable="true" longtabularalignment="center">
10460 <column alignment="left" valignment="top" width="0cm">
10461 <column alignment="left" valignment="top" width="3cm">
10462 <column alignment="center" valignment="top" width="0pt">
10463 <row endfirsthead="true" caption="true">
10464 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10467 \begin_layout Plain Layout
10468 \begin_inset Caption Standard
10470 \begin_layout Plain Layout
10471 Table with forced page break in table cell
10472 \begin_inset CommandInset label
10474 name "tab:ForcedPagebreak"
10479 \begin_inset Argument 1
10482 \begin_layout Plain Layout
10483 Table with forced page break in table cell
10498 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10501 \begin_layout Plain Layout
10507 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10510 \begin_layout Plain Layout
10517 <row endfirsthead="true">
10518 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10521 \begin_layout Plain Layout
10524 Example Phone List (ignore the names)
10529 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10532 \begin_layout Plain Layout
10538 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10541 \begin_layout Plain Layout
10548 <row endfirsthead="true">
10549 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10552 \begin_layout Plain Layout
10560 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10563 \begin_layout Plain Layout
10569 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10572 \begin_layout Plain Layout
10581 <row endhead="true" caption="true">
10582 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10585 \begin_layout Plain Layout
10586 \begin_inset Caption Unnumbered
10588 \begin_layout Plain Layout
10589 Continued Example Phone List
10599 <cell multicolumn="2" alignment="left" valignment="top" rightline="true" usebox="none">
10602 \begin_layout Plain Layout
10608 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
10611 \begin_layout Plain Layout
10618 <row endhead="true">
10619 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10622 \begin_layout Plain Layout
10630 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10633 \begin_layout Plain Layout
10639 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10642 \begin_layout Plain Layout
10649 <row endhead="true">
10650 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10653 \begin_layout Plain Layout
10661 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10664 \begin_layout Plain Layout
10670 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10673 \begin_layout Plain Layout
10682 <row endfoot="true">
10683 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10686 \begin_layout Plain Layout
10687 continued on next page
10692 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10695 \begin_layout Plain Layout
10701 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10704 \begin_layout Plain Layout
10712 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10715 \begin_layout Plain Layout
10723 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10726 \begin_layout Plain Layout
10732 <cell alignment="right" valignment="top" rightline="true" usebox="none">
10735 \begin_layout Plain Layout
10743 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10746 \begin_layout Plain Layout
10754 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10757 \begin_layout Plain Layout
10763 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10766 \begin_layout Plain Layout
10774 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10777 \begin_layout Plain Layout
10785 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10788 \begin_layout Plain Layout
10794 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10797 \begin_layout Plain Layout
10805 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10808 \begin_layout Plain Layout
10816 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10819 \begin_layout Plain Layout
10825 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10828 \begin_layout Plain Layout
10836 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10839 \begin_layout Plain Layout
10847 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10850 \begin_layout Plain Layout
10856 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10859 \begin_layout Plain Layout
10867 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10870 \begin_layout Plain Layout
10878 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10881 \begin_layout Plain Layout
10887 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10890 \begin_layout Plain Layout
10898 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10901 \begin_layout Plain Layout
10909 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10912 \begin_layout Plain Layout
10918 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10921 \begin_layout Plain Layout
10929 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10932 \begin_layout Plain Layout
10940 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10943 \begin_layout Plain Layout
10949 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10952 \begin_layout Plain Layout
10960 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10963 \begin_layout Plain Layout
10971 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10974 \begin_layout Plain Layout
10980 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10983 \begin_layout Plain Layout
10991 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10994 \begin_layout Plain Layout
11002 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11005 \begin_layout Plain Layout
11011 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11014 \begin_layout Plain Layout
11022 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11025 \begin_layout Plain Layout
11033 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11036 \begin_layout Plain Layout
11042 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11045 \begin_layout Plain Layout
11053 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11056 \begin_layout Plain Layout
11064 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11067 \begin_layout Plain Layout
11073 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11076 \begin_layout Plain Layout
11084 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11087 \begin_layout Plain Layout
11095 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11098 \begin_layout Plain Layout
11104 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11107 \begin_layout Plain Layout
11115 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11118 \begin_layout Plain Layout
11126 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11129 \begin_layout Plain Layout
11135 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11138 \begin_layout Plain Layout
11146 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11149 \begin_layout Plain Layout
11157 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11160 \begin_layout Plain Layout
11166 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11169 \begin_layout Plain Layout
11177 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11180 \begin_layout Plain Layout
11188 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11191 \begin_layout Plain Layout
11197 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11200 \begin_layout Plain Layout
11208 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11211 \begin_layout Plain Layout
11219 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11222 \begin_layout Plain Layout
11228 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11231 \begin_layout Plain Layout
11239 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11242 \begin_layout Plain Layout
11250 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11253 \begin_layout Plain Layout
11259 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11262 \begin_layout Plain Layout
11270 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11273 \begin_layout Plain Layout
11281 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11284 \begin_layout Plain Layout
11290 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11293 \begin_layout Plain Layout
11301 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11304 \begin_layout Plain Layout
11312 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11315 \begin_layout Plain Layout
11321 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11324 \begin_layout Plain Layout
11332 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11335 \begin_layout Plain Layout
11343 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11346 \begin_layout Plain Layout
11352 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11355 \begin_layout Plain Layout
11364 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11367 \begin_layout Plain Layout
11375 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11378 \begin_layout Plain Layout
11384 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11387 \begin_layout Plain Layout
11395 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11398 \begin_layout Plain Layout
11406 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11409 \begin_layout Plain Layout
11412 Fürst von Montecompatri,
11414 Fürst von Sulmona und Vivaro,
11416 Fürst von Rossano,
11418 Herzog von Canemorte,
11420 Herzog von Palombara,
11422 Herzog von Castelchiodato,
11426 \begin_layout Plain Layout
11437 \begin_layout Plain Layout
11445 Herzog von Poggionativo,
11447 Markis von Mentana,
11451 Moricone und Percille,
11453 Graf von Valinfreda,
11455 Baron von Cropalati,
11459 Patrizier von Venedig,
11465 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11468 \begin_layout Plain Layout
11476 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11479 \begin_layout Plain Layout
11487 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11490 \begin_layout Plain Layout
11496 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11499 \begin_layout Plain Layout
11507 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11510 \begin_layout Plain Layout
11518 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11521 \begin_layout Plain Layout
11527 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11530 \begin_layout Plain Layout
11538 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11541 \begin_layout Plain Layout
11549 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11552 \begin_layout Plain Layout
11558 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11561 \begin_layout Plain Layout
11569 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11572 \begin_layout Plain Layout
11580 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11583 \begin_layout Plain Layout
11589 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11592 \begin_layout Plain Layout
11600 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11603 \begin_layout Plain Layout
11611 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11614 \begin_layout Plain Layout
11620 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11623 \begin_layout Plain Layout
11631 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11634 \begin_layout Plain Layout
11642 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11645 \begin_layout Plain Layout
11651 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11654 \begin_layout Plain Layout
11662 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11665 \begin_layout Plain Layout
11673 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11676 \begin_layout Plain Layout
11682 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11685 \begin_layout Plain Layout
11693 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11696 \begin_layout Plain Layout
11704 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
11707 \begin_layout Plain Layout
11713 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11716 \begin_layout Plain Layout
11730 \begin_layout Section
11735 \begin_layout Subsection
11736 Multiple Lines in Table Cells
11737 \begin_inset CommandInset label
11739 name "subsec:Multiple-Lines-in"
11744 \begin_inset Index idx
11749 \begin_layout Plain Layout
11750 Multiple Lines in Table Cells
11756 \begin_inset Index idx
11761 \begin_layout Plain Layout
11763 \begin_inset IndexMacro subentry
11766 \begin_layout Plain Layout
11780 \begin_layout Standard
11782 \begin_inset Float table
11789 \begin_layout Plain Layout
11790 \begin_inset Caption Standard
11792 \begin_layout Plain Layout
11793 \begin_inset CommandInset label
11795 name "tab:Table-with-multiple"
11799 Table with multiple lines in cells
11807 \begin_layout Plain Layout
11809 \begin_inset Tabular
11810 <lyxtabular version="3" rows="3" columns="3">
11811 <features tabularvalignment="middle">
11812 <column alignment="center" valignment="middle" width="2.5cm">
11813 <column alignment="center" valignment="middle">
11814 <column alignment="center" valignment="middle">
11816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11819 \begin_layout Plain Layout
11821 \begin_inset Newline linebreak
11829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11832 \begin_layout Plain Layout
11838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11841 \begin_layout Plain Layout
11849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11852 \begin_layout Plain Layout
11858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11861 \begin_layout Plain Layout
11867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11870 \begin_layout Plain Layout
11878 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11881 \begin_layout Plain Layout
11887 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11890 \begin_layout Plain Layout
11896 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11899 \begin_layout Plain Layout
11918 \begin_layout Standard
11919 Setting a fixed width for a column enables you to enter text as a paragraph with multiple lines and hyphenation.
11922 \begin_layout Standard
11924 \begin_inset space ~
11928 \begin_inset CommandInset ref
11930 reference "tab:Table-with-multiple"
11936 create a 3×3 table,
11937 mark the first cell and right-click on it.
11938 In the appearing table dialog we set a cell width of 2.5
11939 \begin_inset space \thinspace{}
11942 cm and choose centered for the vertical and horizontal alignment.
11943 The vertical alignment is used for all cells of the row.
11944 As our text is smaller than 2.5
11945 \begin_inset space \thinspace{}
11949 only one line will appear.
11951 a justified line break (shortcut
11954 arg "newline-insert linebreak"
11958 If the text is wider than the set cell width,
11959 it will automatically be broken to several lines.
11962 \begin_layout Standard
11963 If you have a long word in a cell with a fixed width,
11964 it cannot be hyphenated by \SpecialChar LaTeX
11965 if it is the first entry.
11966 Therefore you need to insert something to prevent the word not being the first entry.
11967 So add a horizontal space of 0
11968 \begin_inset space \thinspace{}
11971 pt before the word.
11972 As the space is zero,
11973 it doesn't change the output.
11975 \begin_inset space ~
11979 \begin_inset CommandInset ref
11981 reference "tab:Table-with-and"
11989 \begin_layout Standard
11990 \begin_inset Float table
11997 \begin_layout Plain Layout
11998 \begin_inset Caption Standard
12000 \begin_layout Plain Layout
12001 \begin_inset CommandInset label
12003 name "tab:Table-with-and"
12007 Table with and without hyphenation
12015 \begin_layout Plain Layout
12016 \begin_inset space \hfill{}
12020 \begin_inset Tabular
12021 <lyxtabular version="3" rows="3" columns="3">
12022 <features tabularvalignment="middle">
12023 <column alignment="center" valignment="middle" width="2.5cm">
12024 <column alignment="center" valignment="middle">
12025 <column alignment="center" valignment="middle">
12027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12030 \begin_layout Plain Layout
12031 verylongtablecellword
12036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12039 \begin_layout Plain Layout
12045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12048 \begin_layout Plain Layout
12056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12059 \begin_layout Plain Layout
12065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12068 \begin_layout Plain Layout
12074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12077 \begin_layout Plain Layout
12085 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12088 \begin_layout Plain Layout
12094 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12097 \begin_layout Plain Layout
12103 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12106 \begin_layout Plain Layout
12118 \begin_inset space \hfill{}
12122 \begin_inset Tabular
12123 <lyxtabular version="3" rows="3" columns="3">
12124 <features tabularvalignment="middle">
12125 <column alignment="center" valignment="middle" width="2.5cm">
12126 <column alignment="center" valignment="middle">
12127 <column alignment="center" valignment="middle">
12129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12132 \begin_layout Plain Layout
12133 \begin_inset space \hspace{}
12137 verylongtablecellword
12142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12145 \begin_layout Plain Layout
12151 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12154 \begin_layout Plain Layout
12162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12165 \begin_layout Plain Layout
12171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12174 \begin_layout Plain Layout
12180 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12183 \begin_layout Plain Layout
12191 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12194 \begin_layout Plain Layout
12200 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12203 \begin_layout Plain Layout
12209 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12212 \begin_layout Plain Layout
12224 \begin_inset space \hfill{}
12235 \begin_layout Subsection
12237 \begin_inset CommandInset label
12239 name "subsec:Multicolumns"
12244 \begin_inset Index idx
12249 \begin_layout Plain Layout
12256 \begin_inset Index idx
12261 \begin_layout Plain Layout
12263 \begin_inset IndexMacro subentry
12266 \begin_layout Plain Layout
12280 \begin_layout Subsubsection
12284 \begin_layout Standard
12285 To merge cells over multiple columns,
12286 select as many cells within a row as you want to merge and use either the table-toolbar button
12289 arg "tabular-feature multicolumn"
12295 Edit\SpecialChar menuseparator
12296 Table\SpecialChar menuseparator
12300 or right click on the marked cells and choose
12304 in the context menu.
12307 \begin_layout Standard
12308 Multicolumns have their own cell settings.
12309 That means changing cell borders,
12311 and the width only affects the multicolumn.
12312 Here is an example table with a multicolumn cell in the first row and one in the last row without the upper border:
12315 \begin_layout Standard
12317 \begin_inset Tabular
12318 <lyxtabular version="3" rows="3" columns="4">
12319 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
12320 <column alignment="center" valignment="top" width="0pt">
12321 <column alignment="center" valignment="middle">
12322 <column alignment="center" valignment="top" width="0in">
12323 <column alignment="center" valignment="top" width="0pt">
12325 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12328 \begin_layout Plain Layout
12334 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12337 \begin_layout Plain Layout
12343 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12346 \begin_layout Plain Layout
12352 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12355 \begin_layout Plain Layout
12363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12366 \begin_layout Plain Layout
12381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12384 \begin_layout Plain Layout
12390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12393 \begin_layout Plain Layout
12399 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12402 \begin_layout Plain Layout
12410 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12413 \begin_layout Plain Layout
12419 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
12422 \begin_layout Plain Layout
12428 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12431 \begin_layout Plain Layout
12437 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12440 \begin_layout Plain Layout
12454 \begin_layout Subsubsection
12455 Multicolumn Calculations
12456 \begin_inset CommandInset label
12458 name "subsec:Multicolumn-Calculations"
12463 \begin_inset Index idx
12468 \begin_layout Plain Layout
12470 \begin_inset IndexMacro subentry
12473 \begin_layout Plain Layout
12487 \begin_layout Standard
12489 supports multicolumns directly,
12490 but we have to take account of the cell width of the columns spanned by the multicolumn cell.
12493 \begin_layout Standard
12494 \begin_inset Float table
12501 \begin_layout Plain Layout
12502 \begin_inset Caption Standard
12504 \begin_layout Plain Layout
12505 \begin_inset CommandInset label
12507 name "tab:Table-with-centered"
12511 Table with centered multicolumn text above two columns that have exactly half the width of the multicolumn cell
12512 \begin_inset Argument 1
12515 \begin_layout Plain Layout
12516 Perfect multicolumn table
12529 \begin_layout Plain Layout
12531 \begin_inset Tabular
12532 <lyxtabular version="3" rows="3" columns="3">
12533 <features tabularvalignment="middle">
12534 <column alignment="center" valignment="middle" special=">{\centering}m{1.25cm-6.2pt}">
12535 <column alignment="center" valignment="middle">
12536 <column alignment="center" valignment="top">
12538 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
12541 \begin_layout Plain Layout
12542 multiple lines multicolumn
12547 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12550 \begin_layout Plain Layout
12556 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12559 \begin_layout Plain Layout
12567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12570 \begin_layout Plain Layout
12576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12579 \begin_layout Plain Layout
12585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12588 \begin_layout Plain Layout
12596 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12599 \begin_layout Plain Layout
12605 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12608 \begin_layout Plain Layout
12614 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12617 \begin_layout Plain Layout
12636 \begin_layout Standard
12637 To create for example Table
12638 \begin_inset space ~
12642 \begin_inset CommandInset ref
12644 reference "tab:Table-with-centered"
12650 mark the first two cells in the first row of a 3×3 table and right-click on them.
12651 Now choose for this cell
12661 \begin_inset space \thinspace{}
12664 cm in the table dialog.
12665 The merged columns should have exactly half the width of the multicolumn cell,
12666 so that you would set a width of 1.25
12667 \begin_inset space \thinspace{}
12670 cm for the first column.
12671 The second column has then automatically a width of 1.25
12672 \begin_inset space \thinspace{}
12675 cm (multicolumn width - width of first column).
12676 This was done for Table
12677 \begin_inset space ~
12681 \begin_inset CommandInset ref
12683 reference "tab:Table-without-half"
12691 \begin_layout Standard
12692 \begin_inset Float table
12699 \begin_layout Plain Layout
12700 \begin_inset Caption Standard
12702 \begin_layout Plain Layout
12703 \begin_inset CommandInset label
12705 name "tab:Table-without-half"
12709 Table where the spanned table columns are not exactly half the width of the multicolumn cell
12710 \begin_inset Argument 1
12713 \begin_layout Plain Layout
12714 Imperfect multicolumn table
12727 \begin_layout Plain Layout
12729 \begin_inset Tabular
12730 <lyxtabular version="3" rows="3" columns="3">
12731 <features tabularvalignment="middle">
12732 <column alignment="center" valignment="top" width="1.25cm">
12733 <column alignment="center" valignment="top">
12734 <column alignment="center" valignment="top">
12736 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12739 \begin_layout Plain Layout
12740 multiple lines multicolumn
12745 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12748 \begin_layout Plain Layout
12754 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12757 \begin_layout Plain Layout
12765 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12768 \begin_layout Plain Layout
12774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12777 \begin_layout Plain Layout
12783 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12786 \begin_layout Plain Layout
12794 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12797 \begin_layout Plain Layout
12803 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12806 \begin_layout Plain Layout
12812 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12815 \begin_layout Plain Layout
12834 \begin_layout Standard
12835 You can see that the first column is not half the width of the multicolumn cell,
12836 it is a bit bigger.
12837 The reason is that the specified width of a cell
12838 \begin_inset Formula $W_{g}$
12841 is not its total width
12842 \begin_inset Formula $W_{\mathrm{tot}}$
12845 because a cell is always a bit larger than specified.
12847 \begin_inset space ~
12851 \begin_inset CommandInset ref
12853 reference "cha:Explanation-of-Equation"
12858 explains this in detail.
12861 \begin_layout Standard
12863 \begin_inset Formula $W_{g\,n}$
12866 which the user needs to set when
12870 columns are spanned can be calculated,
12871 so that each column has a total width of
12872 \begin_inset Formula $W_{\mathrm{tot\,multicolumn}}/n$
12876 \begin_inset Formula
12878 W_{g\,n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
12886 \begin_layout Standard
12887 In our case we have
12888 \begin_inset Formula $n=2$
12893 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
12896 cm and the default values for the lengths,
12898 \begin_inset CommandInset ref
12906 \begin_inset Formula
12908 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
12916 \begin_layout Standard
12917 To enable calculations in \SpecialChar LaTeX
12919 the \SpecialChar LaTeX
12924 must be loaded with the document preamble line
12925 \begin_inset Index idx
12930 \begin_layout Plain Layout
12933 \begin_inset IndexMacro subentry
12936 \begin_layout Plain Layout
12950 \begin_layout Standard
12958 \begin_layout Standard
12960 does not allow you to calculate lengths in the
12964 field of the table dialog.
12965 Therefore you have to format the column by inserting a \SpecialChar LaTeX
12966 -argument in the dialog.
12967 Here is an overview about the arguments:
12970 \begin_layout Itemize
12975 creates cell with a fixed width,
12976 its text is vertically top-aligned
12979 \begin_layout Itemize
12984 creates cell with a fixed width,
12985 its text is vertically centered
12988 \begin_layout Itemize
12993 creates cell with a fixed width,
12994 its text is vertically bottom-aligned
12997 \begin_layout Standard
12998 By entering a \SpecialChar LaTeX
13000 all cell settings set in the table dialog are overwritten.
13003 \begin_layout Standard
13004 \begin_inset Note Greyedout
13007 \begin_layout Plain Layout
13015 shows the overwritten settings anyway.
13023 \begin_layout Standard
13024 As the text should be horizontally centered,
13032 You can now enter the following \SpecialChar LaTeX
13033 -argument for the first spanned column:
13036 \begin_layout Standard
13041 centering}m{1.25cm-6.2pt}
13044 \begin_layout Standard
13050 that the commands inside the braces are applied before the cell is created.
13053 \begin_layout Standard
13054 Although we have chosen centered alignment for the text of the multicolumn cell,
13055 it is still left aligned.
13056 This is because \SpecialChar LyX
13057 only applies the alignment to single columns.
13058 So for the multicolumn cell we have to use the \SpecialChar LaTeX
13062 \begin_layout Standard
13070 \begin_layout Subsection
13072 \begin_inset CommandInset label
13074 name "subsec:Multirows"
13079 \begin_inset Index idx
13084 \begin_layout Plain Layout
13091 \begin_inset Index idx
13096 \begin_layout Plain Layout
13098 \begin_inset IndexMacro subentry
13101 \begin_layout Plain Layout
13115 \begin_layout Standard
13116 To merge cells over multiple rows,
13117 select as many cells within a column as you want to merge and use either the table-toolbar button
13120 arg "tabular-feature multirow"
13126 Edit\SpecialChar menuseparator
13127 Table\SpecialChar menuseparator
13131 or right click on the marked cells and choose
13135 in the context menu.
13138 \begin_layout Standard
13139 Here is an example table with a multirow in the first column:
13142 \begin_layout Standard
13144 \begin_inset Tabular
13145 <lyxtabular version="3" rows="3" columns="3">
13146 <features tabularvalignment="middle">
13147 <column alignment="center" valignment="top" width="0pt">
13148 <column alignment="center" valignment="top">
13149 <column alignment="center" valignment="top">
13151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13154 \begin_layout Plain Layout
13160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13163 \begin_layout Plain Layout
13169 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13172 \begin_layout Plain Layout
13180 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13183 \begin_layout Plain Layout
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" rightline="true" usebox="none">
13201 \begin_layout Plain Layout
13209 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13212 \begin_layout Plain Layout
13218 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13221 \begin_layout Plain Layout
13227 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13230 \begin_layout Plain Layout
13244 \begin_layout Standard
13245 The width of multirow cells is set by setting the width and alignment for the whole column.
13250 shifts the content of the multirow up/down if the offset is positive/negative.
13253 \begin_layout Standard
13254 If the column of a multirow cell has no explicit width,
13255 the multirow cell inherits the alignment of the column.
13256 Otherwise it is by default left-aligned.
13257 To override the default,
13267 \begin_layout Standard
13279 \begin_layout Standard
13280 in the document preamble.
13281 Then all entries of multirow cells in the document are centered.
13282 If centering is only needed for several tables,
13283 you can renew the command in a \SpecialChar TeX
13284 Code box just before the table instead of the preamble.
13285 If the text should be right-aligned,
13299 To return to left-alignment
13308 \begin_layout Standard
13309 This is an example table with a right-aligned multirow cell that has a vertical offset of -4
13310 \begin_inset space \thinspace{}
13314 \begin_inset space \thinspace{}
13320 \begin_layout Standard
13326 \begin_layout Plain Layout
13340 \begin_inset Tabular
13341 <lyxtabular version="3" rows="4" columns="3">
13342 <features tabularvalignment="middle">
13343 <column alignment="center" valignment="top" width="3cm">
13344 <column alignment="center" valignment="top">
13345 <column alignment="center" valignment="top">
13347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13350 \begin_layout Plain Layout
13356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13359 \begin_layout Plain Layout
13365 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13368 \begin_layout Plain Layout
13376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13379 \begin_layout Plain Layout
13385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13388 \begin_layout Plain Layout
13394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13397 \begin_layout Plain Layout
13405 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13408 \begin_layout Plain Layout
13414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13417 \begin_layout Plain Layout
13423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13426 \begin_layout Plain Layout
13434 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13437 \begin_layout Plain Layout
13443 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13446 \begin_layout Plain Layout
13452 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13455 \begin_layout Plain Layout
13470 \begin_layout Plain Layout
13486 \begin_layout Standard
13487 To start a new line in a multirow you can use a forced line break (shortcut
13490 arg "newline-insert newline"
13493 ) but this will not respect the cell lines as demonstrated in this table:
13496 \begin_layout Standard
13499 \begin_inset Tabular
13500 <lyxtabular version="3" rows="3" columns="2">
13501 <features tabularvalignment="middle">
13502 <column alignment="left" valignment="middle" width="2cm">
13503 <column alignment="center" valignment="top">
13505 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
13508 \begin_layout Plain Layout
13510 \begin_inset Newline newline
13514 \begin_inset Newline newline
13522 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13525 \begin_layout Plain Layout
13533 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
13536 \begin_layout Plain Layout
13542 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13545 \begin_layout Plain Layout
13553 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13556 \begin_layout Plain Layout
13562 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13565 \begin_layout Plain Layout
13579 \begin_layout Standard
13580 Therefore be careful with forced line breaks.
13583 \begin_layout Subsection
13584 Cells with diagonal line(s)
13587 \begin_layout Standard
13588 To tell the reader what is meant by column and row headings in a table,
13589 it is helpful to split the first cell of the table by one or two diagonal lines.
13590 This can be achieved by loading the \SpecialChar LaTeX
13596 \begin_inset Index idx
13601 \begin_layout Plain Layout
13604 \begin_inset IndexMacro subentry
13607 \begin_layout Plain Layout
13618 in the document preamble.
13619 The package provides the command
13625 that is inserted as \SpecialChar TeX
13626 Code and that can take 2 or 3
13627 \begin_inset space ~
13633 \begin_layout Standard
13638 diagbox[options]{lower left}{upper right}
13641 \begin_layout Standard
13646 diagbox[options]{lower left}{upper left}{upper right}
13649 \begin_layout Standard
13650 The first scheme divides the cell by a single diagonal line and the arguments are placed below and above this line.
13651 The second scheme divides the cell by 2
13652 \begin_inset space ~
13658 \begin_layout Standard
13662 \begin_layout Plain Layout
13672 \begin_inset Note Note
13675 \begin_layout Plain Layout
13676 The following section will only be displayed when the \SpecialChar LaTeX
13689 \begin_layout Standard
13690 Here is an example table where
13696 is used in the 2-argument scheme in the first cell:
13697 \begin_inset VSpace medskip
13703 \begin_layout Standard
13705 \begin_inset Tabular
13706 <lyxtabular version="3" rows="4" columns="4">
13707 <features tabularvalignment="middle">
13708 <column alignment="center" valignment="top">
13709 <column alignment="center" valignment="top">
13710 <column alignment="center" valignment="top">
13711 <column alignment="center" valignment="top">
13713 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13716 \begin_layout Plain Layout
13720 \begin_layout Plain Layout
13733 \begin_layout Plain Layout
13744 \begin_layout Plain Layout
13756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13759 \begin_layout Plain Layout
13765 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13768 \begin_layout Plain Layout
13774 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13777 \begin_layout Plain Layout
13785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13788 \begin_layout Plain Layout
13794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13797 \begin_layout Plain Layout
13803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13806 \begin_layout Plain Layout
13812 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13815 \begin_layout Plain Layout
13823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13826 \begin_layout Plain Layout
13832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13835 \begin_layout Plain Layout
13841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13844 \begin_layout Plain Layout
13850 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13853 \begin_layout Plain Layout
13861 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13864 \begin_layout Plain Layout
13870 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13873 \begin_layout Plain Layout
13879 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13882 \begin_layout Plain Layout
13888 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13891 \begin_layout Plain Layout
13903 \begin_inset VSpace medskip
13909 \begin_layout Standard
13910 The 3-argument scheme is for example useful for cross-tables of sports leagues or distances:
13913 \begin_layout Standard
13916 \begin_inset Tabular
13917 <lyxtabular version="3" rows="4" columns="4">
13918 <features tabularvalignment="middle">
13919 <column alignment="center" valignment="top" width="0pt">
13920 <column alignment="center" valignment="top">
13921 <column alignment="center" valignment="top">
13922 <column alignment="center" valignment="top">
13924 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13927 \begin_layout Plain Layout
13931 \begin_layout Plain Layout
13944 \begin_layout Plain Layout
13955 \begin_layout Plain Layout
13966 \begin_layout Plain Layout
13978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13981 \begin_layout Plain Layout
13987 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13990 \begin_layout Plain Layout
13996 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13999 \begin_layout Plain Layout
14007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14010 \begin_layout Plain Layout
14016 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14019 \begin_layout Plain Layout
14026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14029 \begin_layout Plain Layout
14035 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14038 \begin_layout Plain Layout
14046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14049 \begin_layout Plain Layout
14055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14058 \begin_layout Plain Layout
14064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14067 \begin_layout Plain Layout
14074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14077 \begin_layout Plain Layout
14085 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14088 \begin_layout Plain Layout
14094 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14097 \begin_layout Plain Layout
14103 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14106 \begin_layout Plain Layout
14112 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14115 \begin_layout Plain Layout
14130 \begin_layout Standard
14131 For larger cross-tables one might use split cells in 2 or every corner of the table like in this example:
14134 \begin_layout Standard
14137 \begin_inset Tabular
14138 <lyxtabular version="3" rows="5" columns="5">
14139 <features tabularvalignment="middle">
14140 <column alignment="center" valignment="top" width="0pt">
14141 <column alignment="center" valignment="top">
14142 <column alignment="center" valignment="top">
14143 <column alignment="center" valignment="top">
14144 <column alignment="center" valignment="top">
14146 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14149 \begin_layout Plain Layout
14153 \begin_layout Plain Layout
14166 \begin_layout Plain Layout
14177 \begin_layout Plain Layout
14188 \begin_layout Plain Layout
14200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14203 \begin_layout Plain Layout
14209 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14212 \begin_layout Plain Layout
14218 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14221 \begin_layout Plain Layout
14227 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
14230 \begin_layout Plain Layout
14234 \begin_layout Plain Layout
14247 \begin_layout Plain Layout
14258 \begin_layout Plain Layout
14269 \begin_layout Plain Layout
14283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14286 \begin_layout Plain Layout
14292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14295 \begin_layout Plain Layout
14302 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14305 \begin_layout Plain Layout
14311 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14314 \begin_layout Plain Layout
14320 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14323 \begin_layout Plain Layout
14331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14334 \begin_layout Plain Layout
14340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14343 \begin_layout Plain Layout
14349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14352 \begin_layout Plain Layout
14359 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14362 \begin_layout Plain Layout
14368 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14371 \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" usebox="none">
14400 \begin_layout Plain Layout
14406 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14409 \begin_layout Plain Layout
14416 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14419 \begin_layout Plain Layout
14427 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14430 \begin_layout Plain Layout
14434 \begin_layout Plain Layout
14447 \begin_layout Plain Layout
14458 \begin_layout Plain Layout
14469 \begin_layout Plain Layout
14481 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14484 \begin_layout Plain Layout
14490 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14493 \begin_layout Plain Layout
14499 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14502 \begin_layout Plain Layout
14508 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
14511 \begin_layout Plain Layout
14515 \begin_layout Plain Layout
14528 \begin_layout Plain Layout
14539 \begin_layout Plain Layout
14550 \begin_layout Plain Layout
14570 \begin_layout Standard
14571 To rotate the diagonal lines,
14599 and represent a point of a compass.
14604 is for example the south-west corner.
14605 Thus in the lower left cell of the above table the command
14608 \begin_layout Standard
14613 diagbox[dir=SW]{Team home}{Result}{Team away}
14616 \begin_layout Standard
14618 If no direction is given,
14622 \begin_layout Standard
14623 The necessary width of split cells is automatically calculated.
14624 Thus if you set a fixed column width smaller than the calculated one,
14625 the cell's content will protrude the cell borders:
14628 \begin_layout Standard
14631 \begin_inset Tabular
14632 <lyxtabular version="3" rows="2" columns="2">
14633 <features tabularvalignment="middle">
14634 <column alignment="center" valignment="top" width="3cm">
14635 <column alignment="center" valignment="top">
14637 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14640 \begin_layout Plain Layout
14644 \begin_layout Plain Layout
14657 \begin_layout Plain Layout
14668 \begin_layout Plain Layout
14680 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14683 \begin_layout Plain Layout
14691 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14694 \begin_layout Plain Layout
14700 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14703 \begin_layout Plain Layout
14717 \begin_layout Standard
14718 If you need a certain width for columns with a split cell,
14719 use the command option
14723 (replace '3cm' by the width you need).
14724 In the following table the width of the first column is set to 4
14725 \begin_inset space \thinspace{}
14736 \begin_inset space \thinspace{}
14740 \begin_inset space \thinspace{}
14745 tabcolsep is necessary because the overall width is the width for the text (in this case the 4
14746 \begin_inset space \thinspace{}
14749 cm) plus two times the separation of the text and the cell border.
14750 The calculation of the width cannot be done in the command option of
14756 so one needs to create a new length which can be used later.
14757 This is done with the \SpecialChar TeX
14761 \begin_layout Standard
14769 \begin_inset Newline newline
14781 \begin_layout Standard
14785 \begin_layout Plain Layout
14794 \begin_layout Plain Layout
14810 \begin_layout Standard
14811 To enable calculations in \SpecialChar LaTeX
14812 one needs to load the package
14817 \begin_inset Index idx
14822 \begin_layout Plain Layout
14825 \begin_inset IndexMacro subentry
14828 \begin_layout Plain Layout
14839 in the document preamble.
14842 \begin_layout Standard
14843 In this table you can now use the command
14846 \begin_layout Standard
14856 \begin_layout Standard
14860 \begin_layout Standard
14863 \begin_inset Tabular
14864 <lyxtabular version="3" rows="2" columns="2">
14865 <features tabularvalignment="middle">
14866 <column alignment="center" valignment="top" width="4cm">
14867 <column alignment="center" valignment="top">
14869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14872 \begin_layout Plain Layout
14876 \begin_layout Plain Layout
14891 \begin_layout Plain Layout
14902 \begin_layout Plain Layout
14914 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14917 \begin_layout Plain Layout
14925 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14928 \begin_layout Plain Layout
14934 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14937 \begin_layout Plain Layout
14951 \begin_layout Standard
14952 Note that the split cell needs to be the widest one in the column.
14953 Otherwise the length of the diagonal line cannot be calculated correctly like in this table:
14956 \begin_layout Standard
14959 \begin_inset Tabular
14960 <lyxtabular version="3" rows="2" columns="2">
14961 <features tabularvalignment="middle">
14962 <column alignment="center" valignment="top" width="0pt">
14963 <column alignment="center" valignment="top">
14965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14968 \begin_layout Plain Layout
14972 \begin_layout Plain Layout
14985 \begin_layout Plain Layout
14996 \begin_layout Plain Layout
15008 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15011 \begin_layout Plain Layout
15019 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15022 \begin_layout Plain Layout
15028 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15031 \begin_layout Plain Layout
15045 \begin_layout Standard
15046 In this case use the
15057 It is then not necessary to add 2
15059 tabcolsep because the cell width is now the width of the column.
15060 In this table a width of 3
15061 \begin_inset space \thinspace{}
15067 \begin_layout Standard
15070 \begin_inset Tabular
15071 <lyxtabular version="3" rows="2" columns="2">
15072 <features tabularvalignment="middle">
15073 <column alignment="center" valignment="top" width="0pt">
15074 <column alignment="center" valignment="top">
15076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15079 \begin_layout Plain Layout
15083 \begin_layout Plain Layout
15087 diagbox[width=3cm]{
15096 \begin_layout Plain Layout
15107 \begin_layout Plain Layout
15119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15122 \begin_layout Plain Layout
15130 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15133 \begin_layout Plain Layout
15139 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15142 \begin_layout Plain Layout
15156 \begin_layout Standard
15157 For multiple text lines in split cells one needs some extra height to fit the text to the cell.
15158 This can be achieved with the
15168 (replace '3cm' by the height you need).
15169 In the following table the command
15172 \begin_layout Standard
15177 diagbox[width=3cm,height=1.4cm]{A
15188 \begin_layout Standard
15189 is used in the first cell.
15198 creates hereby the line break.
15202 \begin_layout Plain Layout
15203 Breaking lines with
15207 is only possible when the column has a fixed width.
15215 \begin_layout Standard
15218 \begin_inset Tabular
15219 <lyxtabular version="3" rows="2" columns="2">
15220 <features tabularvalignment="middle">
15221 <column alignment="center" valignment="top">
15222 <column alignment="center" valignment="top">
15224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15227 \begin_layout Plain Layout
15231 \begin_layout Plain Layout
15235 diagbox[width=3cm,height=1.4cm]{
15244 \begin_layout Plain Layout
15259 \begin_layout Plain Layout
15270 \begin_layout Plain Layout
15285 \begin_layout Plain Layout
15297 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15300 \begin_layout Plain Layout
15308 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15311 \begin_layout Plain Layout
15317 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15320 \begin_layout Plain Layout
15334 \begin_layout Standard
15338 \begin_layout Plain Layout
15348 \begin_inset Note Note
15351 \begin_layout Plain Layout
15352 The following will be displayed when the \SpecialChar LaTeX
15365 \begin_layout Standard
15366 You need to install the \SpecialChar LaTeX
15371 to see the following part of this section in the output.
15374 \begin_layout Standard
15378 \begin_layout Plain Layout
15390 \begin_layout Standard
15391 For more info about the \SpecialChar LaTeX
15397 see its documentation,
15399 \begin_inset CommandInset citation
15409 \begin_layout Section
15411 \begin_inset CommandInset label
15413 name "sec:Formal-Tables"
15418 \begin_inset Index idx
15423 \begin_layout Plain Layout
15425 \begin_inset IndexMacro subentry
15428 \begin_layout Plain Layout
15442 \begin_layout Standard
15443 Tables are often typeset in books similar to Table
15444 \begin_inset space ~
15448 \begin_inset CommandInset ref
15450 reference "tab:Example-booktabs-table"
15456 This kind of tables is called
15457 \begin_inset Quotes eld
15465 \begin_inset Quotes erd
15469 To make a table a formal table,
15470 select the table style
15471 \begin_inset Quotes eld
15474 Formal\SpecialChar ldots
15476 \begin_inset Quotes erd
15479 in the Table Creation dialog or use the option
15487 tab of the table dialog (if you additionally check the option
15489 Use Default Formal Style
15492 the border lines are adapted to a sensible default).
15495 \begin_layout Standard
15496 \begin_inset Float table
15503 \begin_layout Plain Layout
15504 \begin_inset Caption Standard
15506 \begin_layout Plain Layout
15507 \begin_inset CommandInset label
15509 name "tab:Example-booktabs-table"
15513 Example formal table
15521 \begin_layout Plain Layout
15523 \begin_inset Tabular
15524 <lyxtabular version="3" rows="8" columns="4">
15525 <features booktabs="true" tabularvalignment="middle">
15526 <column alignment="center" valignment="top">
15527 <column alignment="center" valignment="top" width="0pt">
15528 <column alignment="center" valignment="top" width="0pt">
15529 <column alignment="center" valignment="top">
15531 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15534 \begin_layout Plain Layout
15540 <cell alignment="center" valignment="top" topline="true" usebox="none">
15543 \begin_layout Plain Layout
15545 \begin_inset space \thinspace{}
15553 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
15556 \begin_layout Plain Layout
15558 \begin_inset space \thinspace{}
15566 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15569 \begin_layout Plain Layout
15577 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15580 \begin_layout Plain Layout
15581 Detector thickness in µm
15586 <cell alignment="center" valignment="top" usebox="none">
15589 \begin_layout Plain Layout
15595 <cell alignment="center" valignment="top" usebox="none">
15598 \begin_layout Plain Layout
15604 <cell alignment="center" valignment="top" usebox="none">
15607 \begin_layout Plain Layout
15615 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15618 \begin_layout Plain Layout
15624 <cell alignment="center" valignment="top" topline="true" toplinertrim="true" usebox="none">
15627 \begin_layout Plain Layout
15633 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
15636 \begin_layout Plain Layout
15642 <cell alignment="center" valignment="top" topline="true" usebox="none">
15645 \begin_layout Plain Layout
15652 <row topspace="default">
15653 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15656 \begin_layout Plain Layout
15657 Spatial resolution in µm
15662 <cell alignment="center" valignment="top" usebox="none">
15665 \begin_layout Plain Layout
15671 <cell alignment="center" valignment="top" usebox="none">
15674 \begin_layout Plain Layout
15680 <cell alignment="center" valignment="top" usebox="none">
15683 \begin_layout Plain Layout
15690 <row topspace="default">
15691 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15694 \begin_layout Plain Layout
15696 \begin_inset Formula $f_{\mathrm{max}}$
15704 <cell alignment="center" valignment="top" usebox="none">
15707 \begin_layout Plain Layout
15713 <cell alignment="center" valignment="top" usebox="none">
15716 \begin_layout Plain Layout
15722 <cell alignment="center" valignment="top" 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 LSF-spatial resolution
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
15771 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15774 \begin_layout Plain Layout
15780 <cell alignment="center" valignment="top" usebox="none">
15783 \begin_layout Plain Layout
15789 <cell alignment="center" valignment="top" usebox="none">
15792 \begin_layout Plain Layout
15798 <cell alignment="center" valignment="top" usebox="none">
15801 \begin_layout Plain Layout
15809 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15812 \begin_layout Plain Layout
15818 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15821 \begin_layout Plain Layout
15827 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15830 \begin_layout Plain Layout
15836 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15839 \begin_layout Plain Layout
15858 \begin_layout Standard
15859 Spaces to table rows can be added using the
15863 tab of the table dialog as described in section
15864 \begin_inset space ~
15868 \begin_inset CommandInset ref
15870 reference "subsec:Row-Spacing"
15878 \begin_layout Standard
15879 Unlike normal tables,
15880 formal tables have no vertical table lines.
15881 The horizontal table lines can be set as for normal tables but they appear with different widths in the output:
15882 \begin_inset Newline newline
15885 The first and the last table line have a default width of 0.08
15886 \begin_inset space \thinspace{}
15889 em while the other lines have a default width of 0.05
15890 \begin_inset space \thinspace{}
15896 \begin_layout Standard
15897 The default widths can be changed with the following preamble lines
15900 \begin_layout Standard
15910 \begin_inset Newline newline
15922 \begin_layout Standard
15923 This example is for the first line,
15929 If you want to change the width for the last line,
15939 To change the width for the other lines replace
15948 You can use all units listed in appendix
15949 \begin_inset space ~
15953 \begin_inset CommandInset ref
15955 reference "cha:Units-available-in"
15963 \begin_layout Standard
15965 \begin_inset space ~
15969 \begin_inset CommandInset ref
15971 reference "tab:Example-booktabs-table"
15977 formal tables often use shortened lines to group columns.
15978 This can be done in the borders widget of the table dialog.
15979 With formal tables,
15980 the top and bottom borders have to small offset lines to the left and the right.
15981 Clicking on these will trim the line respectively.
15984 \begin_layout Standard
15985 If you need to adjust the length of the trimming or the height of the rules,
15986 you have to resort to \SpecialChar TeX
15988 The respective command (which is also used for the trimmed mid rules) is this:
15991 \begin_layout Standard
15996 cmidrule[height](trim){startcol-endcol}
15999 \begin_layout Standard
16000 The default for the optional
16005 \begin_inset space \thinspace{}
16013 is the number of the column where the line starts and
16017 the column number where the line ends.
16022 always needs to be specified,
16023 also when the line should span only one column.
16024 The optional parameter
16041 Using for example the parameter
16045 means that the line is trimmed from its left end by 2
16046 \begin_inset space \thinspace{}
16050 If you don't specify the
16054 the line is trimmed by the default of 0.5
16055 \begin_inset space \thinspace{}
16058 em (this is what is done if you use trimming from the dialog).
16061 \begin_layout Standard
16072 is currently not supported by \SpecialChar LyX
16074 and neither are the
16079 If you need this you can manually insert a
16085 with the respective settings as \SpecialChar TeX
16086 Code as the first cell entry of the first cell of a row.
16087 The line is then drawn in the output above the current row.
16089 \begin_inset space ~
16093 \begin_inset CommandInset ref
16095 reference "tab:Special-booktabs-table"
16100 exemplifies this (in the sixth row).
16103 \begin_layout Standard
16104 You also might want to have overlapping
16110 s as exemplified as well in Table
16111 \begin_inset space ~
16115 \begin_inset CommandInset ref
16117 reference "tab:Special-booktabs-table"
16123 even though this is considered bad style (so only use it if you really need to).
16124 This can be achieved with the \SpecialChar TeX
16128 \begin_layout Standard
16136 \begin_layout Standard
16137 The command that was used for the second row of Table
16138 \begin_inset space ~
16142 \begin_inset CommandInset ref
16144 reference "tab:Special-booktabs-table"
16152 \begin_layout Standard
16162 \begin_layout Standard
16163 The command for the sixth row is
16166 \begin_layout Standard
16176 \begin_layout Standard
16177 \begin_inset VSpace bigskip
16183 \begin_layout Standard
16184 If you are in any way not satisfied with the border line spacing,
16185 you can use the following command to produce lines that span over all table columns
16190 \begin_layout Standard
16195 specialrule{width}{space above}{space below}
16198 \begin_layout Standard
16199 For more information about these features,
16200 refer to the manual of the \SpecialChar LaTeX
16206 \begin_inset CommandInset citation
16214 \begin_inset Index idx
16219 \begin_layout Plain Layout
16222 \begin_inset IndexMacro subentry
16225 \begin_layout Plain Layout
16239 \begin_layout Standard
16240 \begin_inset Float table
16247 \begin_layout Plain Layout
16248 \begin_inset Caption Standard
16250 \begin_layout Plain Layout
16251 \begin_inset CommandInset label
16253 name "tab:Special-booktabs-table"
16257 Special (ugly) formal table
16265 \begin_layout Plain Layout
16267 \begin_inset Tabular
16268 <lyxtabular version="3" rows="8" columns="4">
16269 <features booktabs="true" tabularvalignment="middle">
16270 <column alignment="center" valignment="top">
16271 <column alignment="center" valignment="top" width="0pt">
16272 <column alignment="center" valignment="top" width="0pt">
16273 <column alignment="center" valignment="top" width="0pt">
16275 <cell alignment="center" valignment="top" topline="true" usebox="none">
16278 \begin_layout Plain Layout
16284 <cell alignment="center" valignment="top" topline="true" bottomline="true" bottomlinertrim="true" usebox="none">
16287 \begin_layout Plain Layout
16289 \begin_inset space \thinspace{}
16297 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
16300 \begin_layout Plain Layout
16302 \begin_inset space \thinspace{}
16310 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16313 \begin_layout Plain Layout
16321 <cell alignment="center" valignment="top" usebox="none">
16324 \begin_layout Plain Layout
16328 \begin_layout Plain Layout
16341 \begin_layout Plain Layout
16350 Detector thickness in µm
16355 <cell alignment="center" valignment="top" usebox="none">
16358 \begin_layout Plain Layout
16364 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
16367 \begin_layout Plain Layout
16373 <cell alignment="center" valignment="top" topline="true" usebox="none">
16376 \begin_layout Plain Layout
16384 <cell alignment="center" valignment="top" topline="true" usebox="none">
16387 \begin_layout Plain Layout
16393 <cell alignment="center" valignment="top" topline="true" usebox="none">
16396 \begin_layout Plain Layout
16402 <cell alignment="center" valignment="top" topline="true" usebox="none">
16405 \begin_layout Plain Layout
16411 <cell alignment="center" valignment="top" topline="true" usebox="none">
16414 \begin_layout Plain Layout
16421 <row topspace="default">
16422 <cell alignment="center" valignment="top" usebox="none">
16425 \begin_layout Plain Layout
16426 Spatial resolution in µm
16431 <cell alignment="center" valignment="top" usebox="none">
16434 \begin_layout Plain Layout
16440 <cell alignment="center" valignment="top" usebox="none">
16443 \begin_layout Plain Layout
16449 <cell alignment="center" valignment="top" usebox="none">
16452 \begin_layout Plain Layout
16459 <row topspace="default">
16460 <cell alignment="center" valignment="top" usebox="none">
16463 \begin_layout Plain Layout
16465 \begin_inset Formula $f_{\mathrm{max}}$
16473 <cell alignment="center" valignment="top" usebox="none">
16476 \begin_layout Plain Layout
16482 <cell alignment="center" valignment="top" usebox="none">
16485 \begin_layout Plain Layout
16491 <cell alignment="center" valignment="top" usebox="none">
16494 \begin_layout Plain Layout
16502 <cell alignment="center" valignment="top" topline="true" usebox="none">
16505 \begin_layout Plain Layout
16509 \begin_layout Plain Layout
16522 \begin_layout Plain Layout
16526 cmidrule[2pt](l{7pt}){3-4}
16531 LSF-spatial resolution
16536 <cell alignment="center" valignment="top" topline="true" usebox="none">
16539 \begin_layout Plain Layout
16545 <cell alignment="center" valignment="top" topline="true" usebox="none">
16548 \begin_layout Plain Layout
16554 <cell alignment="center" valignment="top" topline="true" usebox="none">
16557 \begin_layout Plain Layout
16565 <cell alignment="center" valignment="top" usebox="none">
16568 \begin_layout Plain Layout
16574 <cell alignment="center" valignment="top" usebox="none">
16577 \begin_layout Plain Layout
16583 <cell alignment="center" valignment="top" usebox="none">
16586 \begin_layout Plain Layout
16592 <cell alignment="center" valignment="top" usebox="none">
16595 \begin_layout Plain Layout
16603 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16606 \begin_layout Plain Layout
16612 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16615 \begin_layout Plain Layout
16621 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16624 \begin_layout Plain Layout
16630 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16633 \begin_layout Plain Layout
16652 \begin_layout Section
16653 Vertical Table Alignment
16654 \begin_inset Index idx
16659 \begin_layout Plain Layout
16661 \begin_inset IndexMacro subentry
16664 \begin_layout Plain Layout
16678 \begin_layout Standard
16679 To align tables vertically in a text line,
16680 the table must be inside a box.
16681 The box can then be vertically aligned as described in section
16682 \begin_inset space ~
16686 \begin_inset CommandInset ref
16688 reference "sec:Box-Dialog"
16696 \begin_layout Standard
16697 In the following example the tables are inside a minipage
16701 \begin_layout Plain Layout
16702 Minipages are described in section
16703 \begin_inset space ~
16707 \begin_inset CommandInset ref
16709 reference "sec:Minipages"
16719 box that has a width of 15
16720 \begin_inset space \thinspace{}
16726 \begin_layout Itemize
16728 \begin_inset Box Frameless
16738 height_special "totalheight"
16743 backgroundcolor "none"
16746 \begin_layout Plain Layout
16747 \begin_inset Tabular
16748 <lyxtabular version="3" rows="3" columns="3">
16749 <features tabularvalignment="middle">
16750 <column alignment="center" valignment="top">
16751 <column alignment="center" valignment="top">
16752 <column alignment="center" valignment="top">
16754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16757 \begin_layout Plain Layout
16763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16766 \begin_layout Plain Layout
16772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16775 \begin_layout Plain Layout
16783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16786 \begin_layout Plain Layout
16792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16795 \begin_layout Plain Layout
16801 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16804 \begin_layout Plain Layout
16812 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16815 \begin_layout Plain Layout
16821 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16824 \begin_layout Plain Layout
16830 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16833 \begin_layout Plain Layout
16853 \begin_layout Plain Layout
16865 \begin_inset Box Frameless
16875 height_special "totalheight"
16880 backgroundcolor "none"
16883 \begin_layout Plain Layout
16884 \begin_inset Tabular
16885 <lyxtabular version="3" rows="3" columns="3">
16886 <features tabularvalignment="middle">
16887 <column alignment="center" valignment="top">
16888 <column alignment="center" valignment="top">
16889 <column alignment="center" valignment="top">
16891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16894 \begin_layout Plain Layout
16900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16903 \begin_layout Plain Layout
16909 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16912 \begin_layout Plain Layout
16920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16923 \begin_layout Plain Layout
16929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16932 \begin_layout Plain Layout
16938 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16941 \begin_layout Plain Layout
16949 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16952 \begin_layout Plain Layout
16958 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16961 \begin_layout Plain Layout
16967 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16970 \begin_layout Plain Layout
16990 \begin_layout Plain Layout
17000 \begin_layout Itemize
17002 \begin_inset Box Frameless
17012 height_special "totalheight"
17017 backgroundcolor "none"
17020 \begin_layout Plain Layout
17021 \begin_inset Tabular
17022 <lyxtabular version="3" rows="3" columns="3">
17023 <features tabularvalignment="middle">
17024 <column alignment="center" valignment="top">
17025 <column alignment="center" valignment="top">
17026 <column alignment="center" valignment="top">
17028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17031 \begin_layout Plain Layout
17037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17040 \begin_layout Plain Layout
17046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17049 \begin_layout Plain Layout
17057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17060 \begin_layout Plain Layout
17066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17069 \begin_layout Plain Layout
17075 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17078 \begin_layout Plain Layout
17086 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17089 \begin_layout Plain Layout
17095 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17098 \begin_layout Plain Layout
17104 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17107 \begin_layout Plain Layout
17126 \begin_layout Itemize
17128 \begin_inset Box Frameless
17138 height_special "totalheight"
17143 backgroundcolor "none"
17146 \begin_layout Plain Layout
17147 \begin_inset Tabular
17148 <lyxtabular version="3" rows="3" columns="3">
17149 <features tabularvalignment="middle">
17150 <column alignment="center" valignment="top">
17151 <column alignment="center" valignment="top">
17152 <column alignment="center" valignment="top">
17154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17157 \begin_layout Plain Layout
17163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17166 \begin_layout Plain Layout
17172 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17175 \begin_layout Plain Layout
17183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17186 \begin_layout Plain Layout
17192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17195 \begin_layout Plain Layout
17201 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17204 \begin_layout Plain Layout
17212 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17215 \begin_layout Plain Layout
17221 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17224 \begin_layout Plain Layout
17230 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17233 \begin_layout Plain Layout
17253 \begin_layout Plain Layout
17265 \begin_inset Box Frameless
17275 height_special "totalheight"
17280 backgroundcolor "none"
17283 \begin_layout Plain Layout
17284 \begin_inset Tabular
17285 <lyxtabular version="3" rows="3" columns="3">
17286 <features tabularvalignment="middle">
17287 <column alignment="center" valignment="top">
17288 <column alignment="center" valignment="top">
17289 <column alignment="center" valignment="top">
17291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17294 \begin_layout Plain Layout
17300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17303 \begin_layout Plain Layout
17309 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17312 \begin_layout Plain Layout
17320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17323 \begin_layout Plain Layout
17329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17332 \begin_layout Plain Layout
17338 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17341 \begin_layout Plain Layout
17349 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17352 \begin_layout Plain Layout
17358 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17361 \begin_layout Plain Layout
17367 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17370 \begin_layout Plain Layout
17390 \begin_layout Plain Layout
17400 \begin_layout Standard
17402 the content of the first and last table row is not correctly aligned.
17403 To get this alignment,
17404 the minipage box must be set into a raisebox.
17408 \begin_layout Plain Layout
17409 Raiseboxes are described in section
17410 \begin_inset space ~
17414 \begin_inset CommandInset ref
17416 reference "subsec:Vertical-Alignment"
17426 In the example above the second table in the first item is aligned using the \SpecialChar TeX
17430 \begin_layout Standard
17440 \begin_layout Standard
17442 After the box the closing brace
17446 is inserted as \SpecialChar TeX
17448 For the second table in the last item the command
17451 \begin_layout Standard
17461 \begin_layout Standard
17465 \begin_layout Standard
17466 \begin_inset Note Greyedout
17469 \begin_layout Plain Layout
17475 The alignment of the table row content to the surrounding text line is not exact.
17476 The required value for the
17482 command for this alignment depends on the document font,
17484 and the table line thickness.
17492 \begin_layout Section
17494 \begin_inset CommandInset label
17496 name "sec:Colored-Tables"
17501 \begin_inset Index idx
17506 \begin_layout Plain Layout
17508 \begin_inset IndexMacro subentry
17511 \begin_layout Plain Layout
17525 \begin_layout Subsection
17527 \begin_inset Index idx
17532 \begin_layout Plain Layout
17534 \begin_inset IndexMacro subentry
17537 \begin_layout Plain Layout
17549 \begin_inset Index idx
17554 \begin_layout Plain Layout
17556 \begin_inset IndexMacro subentry
17559 \begin_layout Plain Layout
17573 \begin_layout Standard
17574 \begin_inset Float table
17581 \begin_layout Plain Layout
17582 \begin_inset Caption Standard
17584 \begin_layout Plain Layout
17585 \begin_inset CommandInset label
17587 name "tab:Table-colored-without"
17591 Table colored without using the package
17596 \begin_inset Argument 1
17599 \begin_layout Plain Layout
17600 Table without colortbl
17613 \begin_layout Plain Layout
17615 \begin_inset Tabular
17616 <lyxtabular version="3" rows="3" columns="3">
17617 <features tabularvalignment="middle">
17618 <column alignment="center" valignment="top">
17619 <column alignment="center" valignment="top">
17620 <column alignment="center" valignment="top">
17622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17625 \begin_layout Plain Layout
17633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17636 \begin_layout Plain Layout
17644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17647 \begin_layout Plain Layout
17657 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17660 \begin_layout Plain Layout
17668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17671 \begin_layout Plain Layout
17679 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17682 \begin_layout Plain Layout
17692 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17695 \begin_layout Plain Layout
17703 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17706 \begin_layout Plain Layout
17714 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17717 \begin_layout Plain Layout
17738 \begin_layout Standard
17739 If you only need colored text,
17740 mark the cells and choose a color in the
17743 \begin_inset space ~
17748 dialog (toolbar button
17751 arg "dialog-show character"
17755 This was used to create Table
17756 \begin_inset space ~
17760 \begin_inset CommandInset ref
17762 reference "tab:Table-colored-without"
17768 In any other case you have to use the \SpecialChar LaTeX
17774 \begin_inset Index idx
17779 \begin_layout Plain Layout
17782 \begin_inset IndexMacro subentry
17785 \begin_layout Plain Layout
17799 \begin_layout Standard
17803 \begin_layout Plain Layout
17813 \begin_inset Note Note
17816 \begin_layout Plain Layout
17817 The following section part will only be displayed when the \SpecialChar LaTeX
17830 \begin_layout Standard
17831 To create colored tables,
17836 must be loaded in the preamble with the line
17839 \begin_layout Standard
17844 usepackage{colortbl}
17847 \begin_layout Standard
17848 The color of a column is adjusted with the command
17851 \begin_layout Standard
17856 columncolor{name of color}
17859 \begin_layout Standard
17865 More about the command
17869 is contained in section
17870 \begin_inset space ~
17874 \begin_inset CommandInset ref
17876 reference "subsec:Multicolumn-Calculations"
17884 \begin_layout Standard
17885 The following color names are predefined:
17888 \begin_layout Standard
17928 \begin_layout Standard
17929 \begin_inset VSpace medskip
17935 \begin_layout Standard
17936 If you add the option
17939 \begin_layout Standard
17945 \begin_layout Standard
17946 to the document class options in the document settings,
17947 you can additionally use further 61
17948 \begin_inset space ~
17952 These colors are listed in appendix
17953 \begin_inset space ~
17957 \begin_inset CommandInset ref
17959 reference "chap:List-of-dvips-colornames"
17965 One of these colors,
17971 is used as example in Table
17972 \begin_inset space ~
17976 \begin_inset CommandInset ref
17978 reference "tab:Table-colored-using"
17986 \begin_layout Standard
17987 \begin_inset VSpace medskip
17993 \begin_layout Standard
17994 You can also define your own color with the command
17997 \begin_layout Standard
18002 definecolor{color name}{color model}{color values}
18005 \begin_layout Standard
18006 The color model can be
18009 \begin_layout Labeling
18010 \labelwidthstring 00.00.0000
18018 \begin_layout Labeling
18019 \labelwidthstring 00.00.0000
18025 \begin_layout Labeling
18026 \labelwidthstring 00.00.0000
18030 \begin_layout Standard
18031 and the color values are comma separated numbers between 0 and 1 describing the factor for the corresponding color of the color model.
18034 \begin_layout Standard
18036 \begin_inset space \thinspace{}
18040 \begin_inset space \space{}
18047 " in the preamble with
18050 \begin_layout Standard
18055 definecolor{darkgreen}{cmyk}{0.5,
18061 \begin_layout Standard
18069 \begin_layout Standard
18074 definecolor{lightgray}{gray}{0.8}
18077 \begin_layout Standard
18078 \begin_inset VSpace medskip
18084 \begin_layout Standard
18085 Lines are colored with the command
18088 \begin_layout Standard
18093 rowcolor{name of color}
18096 \begin_layout Standard
18097 and cells are colored with the command
18100 \begin_layout Standard
18105 cellcolor{name of color}
18108 \begin_layout Standard
18109 Both commands are inserted at the beginning of a cell as \SpecialChar TeX
18113 \begin_layout Standard
18114 To color characters in the table,
18115 mark the cells and use the
18118 \begin_inset space ~
18124 If a cell contains \SpecialChar TeX
18125 Code mark only the characters,
18126 otherwise the colored \SpecialChar TeX
18127 Code will cause \SpecialChar LaTeX
18131 \begin_layout Standard
18132 \begin_inset Note Greyedout
18135 \begin_layout Plain Layout
18141 Not all DVI-viewers are able to display self-defined colors.
18149 \begin_layout Standard
18150 \begin_inset VSpace bigskip
18156 \begin_layout Standard
18158 \begin_inset space ~
18162 \begin_inset CommandInset ref
18164 reference "tab:Table-colored-using"
18170 The color of the first column should be
18178 \begin_layout Standard
18183 columncolor{darkgreen}
18188 \begin_layout Standard
18189 as \SpecialChar LaTeX
18190 -argument for this column.
18191 The first row should be light blue,
18192 therefore the \SpecialChar TeX
18196 \begin_layout Standard
18204 \begin_layout Standard
18205 is inserted to the first cell of this row.
18206 Note that this overwrites the column color for the first cell.
18207 The last cell of the last row is colored maroon by inserting the \SpecialChar TeX
18211 \begin_layout Standard
18219 \begin_layout Standard
18220 The characters could now be colored using the menu
18222 Edit\SpecialChar menuseparator
18224 \begin_inset space ~
18232 \begin_layout Standard
18233 \begin_inset Float table
18240 \begin_layout Plain Layout
18241 \begin_inset Caption Standard
18243 \begin_layout Plain Layout
18244 \begin_inset CommandInset label
18246 name "tab:Table-colored-using"
18250 Table colored using the package
18255 \begin_inset Argument 1
18258 \begin_layout Plain Layout
18259 Table with colortbl
18272 \begin_layout Plain Layout
18274 \begin_inset Tabular
18275 <lyxtabular version="3" rows="3" columns="3">
18276 <features tabularvalignment="middle">
18277 <column alignment="center" valignment="top" special=">{\columncolor{darkgreen}\centering}c">
18278 <column alignment="center" valignment="top">
18279 <column alignment="center" valignment="top">
18281 <cell alignment="center" valignment="top" usebox="none">
18284 \begin_layout Plain Layout
18288 \begin_layout Plain Layout
18304 <cell alignment="center" valignment="top" usebox="none">
18307 \begin_layout Plain Layout
18315 <cell alignment="center" valignment="top" usebox="none">
18318 \begin_layout Plain Layout
18328 <cell alignment="center" valignment="top" usebox="none">
18331 \begin_layout Plain Layout
18339 <cell alignment="center" valignment="top" usebox="none">
18342 \begin_layout Plain Layout
18350 <cell alignment="center" valignment="top" usebox="none">
18353 \begin_layout Plain Layout
18363 <cell alignment="center" valignment="top" usebox="none">
18366 \begin_layout Plain Layout
18374 <cell alignment="center" valignment="top" usebox="none">
18377 \begin_layout Plain Layout
18385 <cell alignment="center" valignment="top" usebox="none">
18388 \begin_layout Plain Layout
18392 \begin_layout Plain Layout
18421 \begin_layout Standard
18425 \begin_layout Plain Layout
18435 \begin_inset Note Note
18438 \begin_layout Plain Layout
18439 The following will be displayed when the \SpecialChar LaTeX
18452 \begin_layout Standard
18453 You need to install the package
18457 to see the content of this section in the output.
18460 \begin_layout Standard
18464 \begin_layout Plain Layout
18476 \begin_layout Subsection
18478 \begin_inset Index idx
18483 \begin_layout Plain Layout
18485 \begin_inset IndexMacro subentry
18488 \begin_layout Plain Layout
18500 \begin_inset Index idx
18505 \begin_layout Plain Layout
18507 \begin_inset IndexMacro subentry
18510 \begin_layout Plain Layout
18524 \begin_layout Standard
18525 In case every second table row needs to be colored there is an alternative to the method described in the previous section:
18526 One loads the package
18531 \begin_inset Index idx
18536 \begin_layout Plain Layout
18539 \begin_inset IndexMacro subentry
18542 \begin_layout Plain Layout
18553 in the document preamble with the command
18556 \begin_layout Standard
18561 usepackage[table]{xcolor}
18564 \begin_layout Standard
18569 automatically loads also the package
18574 \begin_inset Index idx
18579 \begin_layout Plain Layout
18582 \begin_inset IndexMacro subentry
18585 \begin_layout Plain Layout
18601 must be installed in your \SpecialChar LaTeX
18603 otherwise you get \SpecialChar LaTeX
18607 \begin_layout Standard
18611 \begin_layout Plain Layout
18621 \begin_inset Note Note
18624 \begin_layout Plain Layout
18625 The following section part will only be displayed when the \SpecialChar LaTeX
18638 \begin_layout Standard
18639 The table rows are colored with the command
18642 \begin_layout Standard
18647 rowcolors[commands]{row number}{odd row color}{even row color}
18650 \begin_layout Standard
18651 that is either inserted in the document preamble or as \SpecialChar TeX
18652 Code before the first table to be colored.
18654 \begin_inset space ~
18657 number is the number of the first row which should be colored according to the odd row color.
18658 commands can be additional commands that are executed before every table row.
18659 So for example the command
18662 \begin_layout Standard
18667 rowcolors{1}{white}{lightgray}
18670 \begin_layout Standard
18671 leads to the coloring scheme of Table
18672 \begin_inset space ~
18676 \begin_inset CommandInset ref
18678 reference "tab:Table-rowcolors"
18687 \begin_layout Standard
18694 hline]{1}{lightgray}{cyan}
18697 \begin_layout Standard
18698 leads to the coloring scheme of Table
18699 \begin_inset space ~
18703 \begin_inset CommandInset ref
18705 reference "tab:Table-rowcolors-2"
18712 \begin_inset space ~
18716 \begin_inset space ~
18720 \begin_inset space ~
18724 \begin_inset space ~
18727 color are left empty,
18728 no color will be used so that the command
18731 \begin_layout Standard
18739 \begin_layout Standard
18740 deletes all colors.
18747 affects all tables following that command.
18750 \begin_layout Standard
18754 \begin_layout Plain Layout
18758 rowcolors{1}{white}{lightgray}
18766 \begin_layout Standard
18767 \begin_inset Float table
18774 \begin_layout Plain Layout
18775 \begin_inset Caption Standard
18777 \begin_layout Plain Layout
18778 \begin_inset CommandInset label
18780 name "tab:Table-rowcolors"
18784 Table where every second row is colored light gray.
18792 \begin_layout Plain Layout
18794 \begin_inset Tabular
18795 <lyxtabular version="3" rows="4" columns="3">
18796 <features tabularvalignment="middle">
18797 <column alignment="center" valignment="top">
18798 <column alignment="center" valignment="top" width="0pt">
18799 <column alignment="center" valignment="top" width="0pt">
18801 <cell alignment="center" valignment="top" usebox="none">
18804 \begin_layout Plain Layout
18810 <cell alignment="center" valignment="top" usebox="none">
18813 \begin_layout Plain Layout
18819 <cell alignment="center" valignment="top" usebox="none">
18822 \begin_layout Plain Layout
18830 <cell alignment="center" valignment="top" usebox="none">
18833 \begin_layout Plain Layout
18839 <cell alignment="center" valignment="top" usebox="none">
18842 \begin_layout Plain Layout
18848 <cell alignment="center" valignment="top" usebox="none">
18851 \begin_layout Plain Layout
18859 <cell alignment="center" valignment="top" usebox="none">
18862 \begin_layout Plain Layout
18868 <cell alignment="center" valignment="top" usebox="none">
18871 \begin_layout Plain Layout
18877 <cell alignment="center" valignment="top" usebox="none">
18880 \begin_layout Plain Layout
18888 <cell alignment="center" valignment="top" usebox="none">
18891 \begin_layout Plain Layout
18897 <cell alignment="center" valignment="top" usebox="none">
18900 \begin_layout Plain Layout
18906 <cell alignment="center" valignment="top" usebox="none">
18909 \begin_layout Plain Layout
18928 \begin_layout Standard
18932 \begin_layout Plain Layout
18938 hline]{1}{lightgray}{cyan}
18946 \begin_layout Standard
18947 \begin_inset Float table
18954 \begin_layout Plain Layout
18955 \begin_inset Caption Standard
18957 \begin_layout Plain Layout
18958 \begin_inset CommandInset label
18960 name "tab:Table-rowcolors-2"
18964 Table where every second row is colored cyan and at which there is a line between each row.
18972 \begin_layout Plain Layout
18974 \begin_inset Tabular
18975 <lyxtabular version="3" rows="4" columns="3">
18976 <features tabularvalignment="middle">
18977 <column alignment="center" valignment="top">
18978 <column alignment="center" valignment="top">
18979 <column alignment="center" valignment="top" width="0pt">
18981 <cell alignment="center" valignment="top" usebox="none">
18984 \begin_layout Plain Layout
18990 <cell alignment="center" valignment="top" usebox="none">
18993 \begin_layout Plain Layout
18999 <cell alignment="center" valignment="top" usebox="none">
19002 \begin_layout Plain Layout
19010 <cell alignment="center" valignment="top" usebox="none">
19013 \begin_layout Plain Layout
19019 <cell alignment="center" valignment="top" usebox="none">
19022 \begin_layout Plain Layout
19028 <cell alignment="center" valignment="top" usebox="none">
19031 \begin_layout Plain Layout
19039 <cell alignment="center" valignment="top" usebox="none">
19042 \begin_layout Plain Layout
19048 <cell alignment="center" valignment="top" usebox="none">
19051 \begin_layout Plain Layout
19057 <cell alignment="center" valignment="top" usebox="none">
19060 \begin_layout Plain Layout
19068 <cell alignment="center" valignment="top" usebox="none">
19071 \begin_layout Plain Layout
19077 <cell alignment="center" valignment="top" usebox="none">
19080 \begin_layout Plain Layout
19086 <cell alignment="center" valignment="top" usebox="none">
19089 \begin_layout Plain Layout
19108 \begin_layout Standard
19112 \begin_layout Plain Layout
19122 \begin_inset Note Note
19125 \begin_layout Plain Layout
19126 turns off the row coloring
19134 \begin_layout Standard
19138 \begin_layout Plain Layout
19148 \begin_inset Note Note
19151 \begin_layout Plain Layout
19152 The following will be displayed when the \SpecialChar LaTeX
19165 \begin_layout Standard
19166 You need to install the package
19170 to see the content of this section in the output.
19173 \begin_layout Standard
19177 \begin_layout Plain Layout
19189 \begin_layout Subsection
19191 \begin_inset Index idx
19196 \begin_layout Plain Layout
19198 \begin_inset IndexMacro subentry
19201 \begin_layout Plain Layout
19213 \begin_inset Index idx
19218 \begin_layout Plain Layout
19220 \begin_inset IndexMacro subentry
19223 \begin_layout Plain Layout
19237 \begin_layout Standard
19238 As described in section
19239 \begin_inset space ~
19243 \begin_inset CommandInset ref
19245 reference "subsec:Line-Thickness"
19251 the line thickness for all lines in a table can be adjusted with the length
19259 \begin_inset space \thinspace{}
19262 pt for all tables of this section.
19266 \begin_layout Plain Layout
19272 arrayrulewidth}{1.5pt}
19280 \begin_layout Standard
19281 To color vertical lines for example with green,
19282 create the following column format in the document preamble,
19283 according to the description in section
19284 \begin_inset space ~
19288 \begin_inset CommandInset ref
19290 reference "subsec:Customized-Format"
19298 \begin_layout Standard
19303 newcolumntype{W}{!{
19310 \begin_layout Standard
19312 \begin_inset space ~
19316 \begin_inset CommandInset ref
19318 reference "tab:Table-with-vertical-colored"
19323 the \SpecialChar LaTeX
19328 was used for the last column and
19332 for the other columns.
19335 \begin_layout Standard
19336 If you want to have several colors,
19337 define more column formats.
19340 \begin_layout Standard
19341 \begin_inset Float table
19348 \begin_layout Plain Layout
19349 \begin_inset Caption Standard
19351 \begin_layout Plain Layout
19352 \begin_inset CommandInset label
19354 name "tab:Table-with-vertical-colored"
19358 Table with colored vertical lines
19366 \begin_layout Plain Layout
19368 \begin_inset Tabular
19369 <lyxtabular version="3" rows="3" columns="3">
19370 <features tabularvalignment="middle">
19371 <column alignment="center" valignment="top" special="Wc">
19372 <column alignment="center" valignment="top" special="Wc">
19373 <column alignment="center" valignment="top" special="WcW">
19375 <cell alignment="center" valignment="top" topline="true" usebox="none">
19378 \begin_layout Plain Layout
19384 <cell alignment="center" valignment="top" topline="true" usebox="none">
19387 \begin_layout Plain Layout
19393 <cell alignment="center" valignment="top" topline="true" usebox="none">
19396 \begin_layout Plain Layout
19404 <cell alignment="center" valignment="top" topline="true" usebox="none">
19407 \begin_layout Plain Layout
19413 <cell alignment="center" valignment="top" topline="true" usebox="none">
19416 \begin_layout Plain Layout
19422 <cell alignment="center" valignment="top" topline="true" usebox="none">
19425 \begin_layout Plain Layout
19433 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19436 \begin_layout Plain Layout
19442 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19445 \begin_layout Plain Layout
19451 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19454 \begin_layout Plain Layout
19473 \begin_layout Standard
19474 \begin_inset VSpace bigskip
19477 To color all horizontal lines for example with red,
19479 \begin_inset space ~
19483 \begin_inset CommandInset ref
19485 reference "tab:Table-with-horizontal-colored"
19491 insert these commands in \SpecialChar TeX
19492 code before the table or table float:
19495 \begin_layout Standard
19505 \begin_inset Newline newline
19513 \begin_inset Newline newline
19517 \begin_inset Phantom HPhantom
19520 \begin_layout Plain Layout
19523 \begin_inset space ~
19533 arrayrulecolor{red}
19537 arrayrulecolor{black}}
19540 \begin_layout Standard
19544 \begin_layout Plain Layout
19555 \begin_layout Plain Layout
19564 \begin_layout Plain Layout
19568 arrayrulecolor{red}
19572 arrayrulecolor{black}}
19578 \begin_inset Float table
19585 \begin_layout Plain Layout
19586 \begin_inset Caption Standard
19588 \begin_layout Plain Layout
19589 \begin_inset CommandInset label
19591 name "tab:Table-with-horizontal-colored"
19595 Table with colored horizontal lines
19603 \begin_layout Plain Layout
19605 \begin_inset Tabular
19606 <lyxtabular version="3" rows="3" columns="3">
19607 <features tabularvalignment="middle">
19608 <column alignment="center" valignment="top">
19609 <column alignment="center" valignment="top">
19610 <column alignment="center" valignment="top">
19612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19615 \begin_layout Plain Layout
19621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19624 \begin_layout Plain Layout
19630 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19633 \begin_layout Plain Layout
19641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19644 \begin_layout Plain Layout
19650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19653 \begin_layout Plain Layout
19659 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19662 \begin_layout Plain Layout
19670 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19673 \begin_layout Plain Layout
19679 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19682 \begin_layout Plain Layout
19688 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19691 \begin_layout Plain Layout
19710 \begin_layout Standard
19711 To return to the default line color black,
19712 insert this command in \SpecialChar TeX
19713 code after the table or table float:
19716 \begin_layout Standard
19728 \begin_layout Standard
19730 \begin_inset space ~
19734 \begin_inset CommandInset ref
19736 reference "tab:Table-with-colored"
19741 is an example with colored vertical and horizontal lines.
19744 \begin_layout Standard
19745 \begin_inset Float table
19752 \begin_layout Plain Layout
19753 \begin_inset Caption Standard
19755 \begin_layout Plain Layout
19756 \begin_inset CommandInset label
19758 name "tab:Table-with-colored"
19762 Table with colored lines
19770 \begin_layout Plain Layout
19772 \begin_inset Tabular
19773 <lyxtabular version="3" rows="3" columns="3">
19774 <features tabularvalignment="middle">
19775 <column alignment="center" valignment="top" special="Wc">
19776 <column alignment="center" valignment="top" special="Wc">
19777 <column alignment="center" valignment="top" special="WcW">
19779 <cell alignment="center" valignment="top" topline="true" usebox="none">
19782 \begin_layout Plain Layout
19788 <cell alignment="center" valignment="top" topline="true" usebox="none">
19791 \begin_layout Plain Layout
19797 <cell alignment="center" valignment="top" topline="true" usebox="none">
19800 \begin_layout Plain Layout
19808 <cell alignment="center" valignment="top" topline="true" usebox="none">
19811 \begin_layout Plain Layout
19817 <cell alignment="center" valignment="top" topline="true" usebox="none">
19820 \begin_layout Plain Layout
19826 <cell alignment="center" valignment="top" topline="true" usebox="none">
19829 \begin_layout Plain Layout
19836 <row topspace="default">
19837 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19840 \begin_layout Plain Layout
19846 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19849 \begin_layout Plain Layout
19855 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19858 \begin_layout Plain Layout
19877 \begin_layout Standard
19881 \begin_layout Plain Layout
19897 \begin_layout Standard
19901 \begin_layout Plain Layout
19907 arrayrulewidth}{1.2pt}
19915 \begin_layout Standard
19916 To color only some of the table lines another strategy is necessary.
19917 To color all following horizontal lines,
19918 insert this command as \SpecialChar TeX
19919 code as last thing in the row that should be above the first colored line:
19922 \begin_layout Standard
19931 arrayrulecolor{blue}%
19934 \begin_layout Standard
19935 To go back to black lines,
19936 add this command as first thing in the row that is above the black lines:
19939 \begin_layout Standard
19944 arrayrulecolor{black}
19947 \begin_layout Standard
19948 With this one can color table lines like in Table
19949 \begin_inset space ~
19953 \begin_inset CommandInset ref
19955 reference "tab:Table-with-different-hor"
19962 with this method it is not possible to color the line above the first row of a table.
19965 \begin_layout Standard
19966 \begin_inset Float table
19973 \begin_layout Plain Layout
19974 \begin_inset Caption Standard
19976 \begin_layout Plain Layout
19977 \begin_inset CommandInset label
19979 name "tab:Table-with-different-hor"
19983 Table with different horizontal line colors.
19991 \begin_layout Plain Layout
19993 \begin_inset Tabular
19994 <lyxtabular version="3" rows="6" columns="7">
19995 <features tabularvalignment="middle">
19996 <column alignment="center" valignment="top">
19997 <column alignment="center" valignment="top">
19998 <column alignment="center" valignment="top">
19999 <column alignment="center" valignment="top">
20000 <column alignment="center" valignment="top">
20001 <column alignment="center" valignment="top">
20002 <column alignment="center" valignment="top">
20004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20007 \begin_layout Plain Layout
20013 <cell alignment="center" valignment="top" topline="true" usebox="none">
20016 \begin_layout Plain Layout
20022 <cell alignment="center" valignment="top" topline="true" usebox="none">
20025 \begin_layout Plain Layout
20031 <cell alignment="center" valignment="top" topline="true" usebox="none">
20034 \begin_layout Plain Layout
20040 <cell alignment="center" valignment="top" topline="true" usebox="none">
20043 \begin_layout Plain Layout
20049 <cell alignment="center" valignment="top" topline="true" usebox="none">
20052 \begin_layout Plain Layout
20058 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
20061 \begin_layout Plain Layout
20065 \begin_layout Plain Layout
20073 arrayrulecolor{blue}%
20085 <cell alignment="center" valignment="top" usebox="none">
20088 \begin_layout Plain Layout
20094 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20097 \begin_layout Plain Layout
20103 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20106 \begin_layout Plain Layout
20112 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20115 \begin_layout Plain Layout
20121 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20124 \begin_layout Plain Layout
20130 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
20133 \begin_layout Plain Layout
20139 <cell alignment="center" valignment="top" usebox="none">
20142 \begin_layout Plain Layout
20150 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20153 \begin_layout Plain Layout
20157 \begin_layout Plain Layout
20161 arrayrulecolor{black}
20171 <cell alignment="center" valignment="top" usebox="none">
20174 \begin_layout Plain Layout
20180 <cell alignment="center" valignment="top" usebox="none">
20183 \begin_layout Plain Layout
20189 <cell alignment="center" valignment="top" usebox="none">
20192 \begin_layout Plain Layout
20198 <cell alignment="center" valignment="top" usebox="none">
20201 \begin_layout Plain Layout
20207 <cell alignment="center" valignment="top" usebox="none">
20210 \begin_layout Plain Layout
20216 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20219 \begin_layout Plain Layout
20227 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20230 \begin_layout Plain Layout
20236 <cell alignment="center" valignment="top" usebox="none">
20239 \begin_layout Plain Layout
20245 <cell alignment="center" valignment="top" usebox="none">
20248 \begin_layout Plain Layout
20254 <cell alignment="center" valignment="top" usebox="none">
20257 \begin_layout Plain Layout
20263 <cell alignment="center" valignment="top" usebox="none">
20266 \begin_layout Plain Layout
20272 <cell alignment="center" valignment="top" usebox="none">
20275 \begin_layout Plain Layout
20281 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20284 \begin_layout Plain Layout
20288 \begin_layout Plain Layout
20296 arrayrulecolor{green}%
20308 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20311 \begin_layout Plain Layout
20317 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20320 \begin_layout Plain Layout
20326 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20329 \begin_layout Plain Layout
20335 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20338 \begin_layout Plain Layout
20344 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20347 \begin_layout Plain Layout
20353 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20356 \begin_layout Plain Layout
20362 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
20365 \begin_layout Plain Layout
20373 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20376 \begin_layout Plain Layout
20380 \begin_layout Plain Layout
20384 arrayrulecolor{black}
20394 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20397 \begin_layout Plain Layout
20403 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20406 \begin_layout Plain Layout
20412 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20415 \begin_layout Plain Layout
20421 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20424 \begin_layout Plain Layout
20430 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20433 \begin_layout Plain Layout
20439 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20442 \begin_layout Plain Layout
20446 \begin_layout Plain Layout
20454 arrayrulecolor{blue}%
20477 \begin_layout Standard
20478 To change the color of vertical lines within a row,
20480 \begin_inset space ~
20484 \begin_inset CommandInset ref
20486 reference "tab:Table-with-different-ver"
20492 one needs to use multicolumns.
20493 At first one needs to remove all vertical lines that don't run along the whole column.
20494 Now one colors all lines using the command
20497 \begin_layout Standard
20506 arrayrulecolor{blue}%
20509 \begin_layout Standard
20511 Finally one inserts this command as \SpecialChar TeX
20512 code to every cell in the row where one needs a vertical line in a different color:
20515 \begin_layout Standard
20531 \begin_layout Standard
20532 This adds a vertical line to both sides of the cell.
20533 The left one will be green,
20535 If no color change is necessary one can omit the
20541 command in the above command.
20542 To get for example a black left line and a blue right line you can write:
20545 \begin_layout Standard
20557 \begin_layout Standard
20558 because the color blue was already set for all lines.
20563 creates hereby the vertical line while
20576 To set vertical lines without changing any color use
20579 \begin_layout Standard
20584 multicolumn{1}{|c|}{
20587 \begin_layout Standard
20588 After this command insert the cell content the normal way and end the cell with a closing brace
20592 in \SpecialChar TeX
20596 \begin_layout Standard
20597 \begin_inset Float table
20604 \begin_layout Plain Layout
20605 \begin_inset Caption Standard
20607 \begin_layout Plain Layout
20608 \begin_inset CommandInset label
20610 name "tab:Table-with-different-ver"
20614 Table with different vertical line colors in one row.
20622 \begin_layout Plain Layout
20624 \begin_inset Tabular
20625 <lyxtabular version="3" rows="5" columns="7">
20626 <features tabularvalignment="middle">
20627 <column alignment="center" valignment="top">
20628 <column alignment="center" valignment="top">
20629 <column alignment="center" valignment="top">
20630 <column alignment="center" valignment="top">
20631 <column alignment="center" valignment="top">
20632 <column alignment="center" valignment="top">
20633 <column alignment="center" valignment="top">
20635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20638 \begin_layout Plain Layout
20644 <cell alignment="center" valignment="top" topline="true" usebox="none">
20647 \begin_layout Plain Layout
20653 <cell alignment="center" valignment="top" topline="true" usebox="none">
20656 \begin_layout Plain Layout
20662 <cell alignment="center" valignment="top" topline="true" usebox="none">
20665 \begin_layout Plain Layout
20671 <cell alignment="center" valignment="top" topline="true" usebox="none">
20674 \begin_layout Plain Layout
20680 <cell alignment="center" valignment="top" topline="true" usebox="none">
20683 \begin_layout Plain Layout
20689 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
20692 \begin_layout Plain Layout
20696 \begin_layout Plain Layout
20704 arrayrulecolor{red}%
20716 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20719 \begin_layout Plain Layout
20723 \begin_layout Plain Layout
20740 \begin_layout Plain Layout
20752 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20755 \begin_layout Plain Layout
20761 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20764 \begin_layout Plain Layout
20770 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20773 \begin_layout Plain Layout
20779 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20782 \begin_layout Plain Layout
20788 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20791 \begin_layout Plain Layout
20795 \begin_layout Plain Layout
20799 multicolumn{1}{c|}{
20808 \begin_layout Plain Layout
20820 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20823 \begin_layout Plain Layout
20827 \begin_layout Plain Layout
20844 \begin_layout Plain Layout
20858 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20861 \begin_layout Plain Layout
20865 \begin_layout Plain Layout
20869 arrayrulecolor{black}
20879 <cell alignment="center" valignment="top" usebox="none">
20882 \begin_layout Plain Layout
20888 <cell alignment="center" valignment="top" usebox="none">
20891 \begin_layout Plain Layout
20897 <cell alignment="center" valignment="top" usebox="none">
20900 \begin_layout Plain Layout
20906 <cell alignment="center" valignment="top" usebox="none">
20909 \begin_layout Plain Layout
20915 <cell alignment="center" valignment="top" usebox="none">
20918 \begin_layout Plain Layout
20924 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20927 \begin_layout Plain Layout
20931 \begin_layout Plain Layout
20939 arrayrulecolor{magenta}%
20951 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20954 \begin_layout Plain Layout
20958 \begin_layout Plain Layout
20962 multicolumn{1}{|c!{
20975 \begin_layout Plain Layout
20987 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20990 \begin_layout Plain Layout
20994 \begin_layout Plain Layout
21011 \begin_layout Plain Layout
21023 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21026 \begin_layout Plain Layout
21030 \begin_layout Plain Layout
21047 \begin_layout Plain Layout
21059 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21062 \begin_layout Plain Layout
21066 \begin_layout Plain Layout
21083 \begin_layout Plain Layout
21095 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21098 \begin_layout Plain Layout
21102 \begin_layout Plain Layout
21119 \begin_layout Plain Layout
21131 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21134 \begin_layout Plain Layout
21138 \begin_layout Plain Layout
21155 \begin_layout Plain Layout
21167 <cell alignment="center" valignment="top" rightline="true" usebox="none">
21170 \begin_layout Plain Layout
21174 \begin_layout Plain Layout
21178 multicolumn{1}{c|}{
21187 \begin_layout Plain Layout
21201 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21204 \begin_layout Plain Layout
21208 \begin_layout Plain Layout
21212 arrayrulecolor{black}
21222 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21225 \begin_layout Plain Layout
21231 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21234 \begin_layout Plain Layout
21240 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21243 \begin_layout Plain Layout
21249 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21252 \begin_layout Plain Layout
21258 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21261 \begin_layout Plain Layout
21267 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
21270 \begin_layout Plain Layout
21289 \begin_layout Standard
21293 \begin_layout Plain Layout
21299 arrayrulewidth}{0.4pt}
21307 \begin_layout Section
21308 Rotated Table Cells
21309 \begin_inset CommandInset label
21311 name "sec:Rotated-Table-Cells"
21316 \begin_inset Index idx
21321 \begin_layout Plain Layout
21323 \begin_inset IndexMacro subentry
21326 \begin_layout Plain Layout
21338 \begin_inset Index idx
21343 \begin_layout Plain Layout
21352 \begin_layout Standard
21353 \begin_inset Note Greyedout
21356 \begin_layout Plain Layout
21362 Not all DVI-viewers are able to display rotations.
21370 \begin_layout Standard
21372 \begin_inset space ~
21376 \begin_inset CommandInset ref
21378 reference "tab:Table-with-rotated"
21386 is an example where 3
21387 \begin_inset space ~
21390 cells were rotated by 45
21391 \begin_inset space \thinspace{}
21397 \begin_layout Standard
21398 \begin_inset Float table
21405 \begin_layout Plain Layout
21406 \begin_inset Caption Standard
21408 \begin_layout Plain Layout
21409 \begin_inset CommandInset label
21411 name "tab:Table-with-rotated"
21415 Table with rotated cells in the first row.
21423 \begin_layout Plain Layout
21426 \begin_inset Tabular
21427 <lyxtabular version="3" rows="2" columns="3">
21428 <features tabularvalignment="middle">
21429 <column alignment="center" valignment="top" width="0pt">
21430 <column alignment="center" valignment="top" width="0pt">
21431 <column alignment="center" valignment="top" width="0pt">
21433 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21436 \begin_layout Plain Layout
21442 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21445 \begin_layout Plain Layout
21451 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21454 \begin_layout Plain Layout
21462 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21465 \begin_layout Plain Layout
21471 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21474 \begin_layout Plain Layout
21480 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21483 \begin_layout Plain Layout
21502 \begin_layout Standard
21503 \begin_inset Note Greyedout
21506 \begin_layout Plain Layout
21512 Line breaks (shortcut
21515 arg "newline-insert newline"
21518 ) are not allowed in rotated cells.
21526 \begin_layout Standard
21527 If you want to rotate table cells containing line breaks,
21528 you have to put the cell content into a minipage or a parbox.
21532 \begin_layout Plain Layout
21533 For more about these boxes see sec.
21534 \begin_inset space \thinspace{}
21538 \begin_inset CommandInset ref
21540 reference "sec:Minipages"
21546 \begin_inset CommandInset ref
21548 reference "sec:Parboxes"
21558 If you rotate this cell by 90
21559 \begin_inset space \thinspace{}
21562 ° the width of the box is the height of the cell.
21563 To avoid to estimate a suitable box width one can use a minipage with a variable width.
21564 Such a box is inserted by loading the module
21567 \begin_inset space ~
21572 in the document settings.
21573 Then one can use the menu
21575 Insert\SpecialChar menuseparator
21577 \begin_inset space ~
21580 Insets\SpecialChar menuseparator
21582 \begin_inset space ~
21588 \begin_inset space ~
21593 \begin_inset space ~
21597 \begin_inset CommandInset ref
21599 reference "tab:Table-with-rotated-multi"
21604 is an example for a rotated multiline cell where a variable width minipage is used.
21607 \begin_layout Standard
21608 \begin_inset Float table
21615 \begin_layout Plain Layout
21616 \begin_inset Caption Standard
21618 \begin_layout Plain Layout
21619 \begin_inset CommandInset label
21621 name "tab:Table-with-rotated-multi"
21625 Table with rotated multiline cell.
21633 \begin_layout Plain Layout
21636 \begin_inset Tabular
21637 <lyxtabular version="3" rows="2" columns="3">
21638 <features tabularvalignment="middle">
21639 <column alignment="center" valignment="top">
21640 <column alignment="center" valignment="top" width="0pt">
21641 <column alignment="center" valignment="top">
21643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21646 \begin_layout Plain Layout
21652 <cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
21655 \begin_layout Plain Layout
21656 \begin_inset Flex Minipage (Var. Width)
21659 \begin_layout Plain Layout
21661 \begin_inset Newline newline
21665 \begin_inset space ~
21678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21681 \begin_layout Plain Layout
21689 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21692 \begin_layout Plain Layout
21698 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21701 \begin_layout Plain Layout
21707 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21710 \begin_layout Plain Layout
21729 \begin_layout Section
21730 Table Width Calculation
21731 \begin_inset CommandInset label
21733 name "sec:Table-Width-Calculation"
21740 \begin_layout Standard
21741 For wide tables it is sometimes difficult to assure that the table does not protrude over the page margin.
21742 Setting a fixed width for every column of the table is the solution,
21743 but what amount of space is needed for each column?
21746 \begin_layout Standard
21748 \begin_inset Formula $W_{\mathrm{table}}$
21752 Every column has the width of the specified column width
21753 \begin_inset Formula $W_{\mathrm{column}}$
21756 (that the content of the column can consume) plus two times the separation between the column content and the column border (\SpecialChar LaTeX
21765 \begin_inset space \thinspace{}
21768 pt) plus the width of a border line (\SpecialChar LaTeX
21777 \begin_inset space \thinspace{}
21782 \begin_inset Formula $n$
21786 \begin_inset space ~
21789 columns have the same width,
21791 \begin_inset Formula
21793 W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
21801 \begin_layout Standard
21802 The available width for a table is the space between the page margins or the width of a text column (for a two-column document) (\SpecialChar LaTeX
21810 If all table columns should have the same width and
21811 \begin_inset Formula $W_{\mathrm{table}}$
21815 \begin_inset space \thinspace{}
21822 \begin_inset Formula $W_{\mathrm{column}}$
21825 can easily be calculated.
21828 \begin_layout Standard
21829 To be able to perform calculations you need to load the \SpecialChar LaTeX
21835 \begin_inset Index idx
21840 \begin_layout Plain Layout
21843 \begin_inset IndexMacro subentry
21846 \begin_layout Plain Layout
21857 in the document preamble.
21858 To set the width in the table dialog you have to use the field
21864 The command scheme for this field is the same that is explained in section
21865 \begin_inset space ~
21869 \begin_inset CommandInset ref
21871 reference "subsec:Multicolumn-Calculations"
21878 \begin_inset space \thinspace{}
21881 columns with an uniform width and centered text,
21882 enter there for each column the command
21885 \begin_layout Standard
21892 columnwidth-62.4pt)/5}
21895 \begin_layout Standard
21897 \begin_inset space \thinspace{}
21900 columns where 2 should have 0.75
21901 \begin_inset space ~
21904 times the width than the 3 others,
21906 \begin_inset Formula
21908 \backslash\mbox{columnwidth} & =3\,W_{\mathrm{column}}+2\cdot0.75\,W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
21909 & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
21910 & =4.5\,W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
21911 W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
21919 \begin_layout Standard
21920 In the table therefore the command
21923 \begin_layout Standard
21930 columnwidth-62.4pt)/
21935 \begin_layout Standard
21936 is used for the wider columns and
21939 \begin_layout Standard
21946 columnwidth-62.4pt)/
21953 \begin_layout Standard
21954 for the smaller ones:
21957 \begin_layout Standard
21958 \begin_inset Tabular
21959 <lyxtabular version="3" rows="2" columns="5">
21960 <features tabularvalignment="middle">
21961 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21962 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21963 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21964 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21965 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21967 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21970 \begin_layout Plain Layout
21976 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21979 \begin_layout Plain Layout
21985 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21988 \begin_layout Plain Layout
21994 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21997 \begin_layout Plain Layout
22003 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22006 \begin_layout Plain Layout
22014 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22017 \begin_layout Plain Layout
22018 111111 1111111 111111 111111111 11111 11111 1111
22023 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22026 \begin_layout Plain Layout
22032 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22035 \begin_layout Plain Layout
22036 2222 22222 222222 222222222 2222222 22 22222
22041 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22044 \begin_layout Plain Layout
22050 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22053 \begin_layout Plain Layout
22054 333333 333333 333333 33333 3333333 333
22067 \begin_layout Section
22068 Table Customization
22069 \begin_inset Index idx
22074 \begin_layout Plain Layout
22075 Table Customization
22081 \begin_inset Index idx
22086 \begin_layout Plain Layout
22088 \begin_inset IndexMacro subentry
22091 \begin_layout Plain Layout
22105 \begin_layout Subsection
22107 \begin_inset CommandInset label
22109 name "subsec:Row-Spacing"
22114 \begin_inset Index idx
22119 \begin_layout Plain Layout
22120 Table Customization
22121 \begin_inset IndexMacro subentry
22124 \begin_layout Plain Layout
22138 \begin_layout Standard
22139 You can add vertical space to table rows in the
22143 tab of the table dialog.
22144 You find there three possibilities:
22147 \begin_layout Description
22149 \begin_inset space ~
22153 \begin_inset space ~
22156 row will add space above the characters of the table row.
22157 If the table is a formal table
22161 \begin_layout Plain Layout
22162 Formal tables are explained in section
22163 \begin_inset space ~
22167 \begin_inset CommandInset ref
22169 reference "sec:Formal-Tables"
22180 will insert as default 0.5
22181 \begin_inset space \thinspace{}
22185 For normal tables the inserted space will unfortunately destroy the vertical table lines as in the following table:
22186 \begin_inset VSpace medskip
22190 \begin_inset Newline newline
22194 \begin_inset space \hspace*{}
22199 \begin_inset space \hfill{}
22203 \begin_inset Tabular
22204 <lyxtabular version="3" rows="3" columns="1">
22205 <features tabularvalignment="middle">
22206 <column alignment="center" valignment="top">
22208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22211 \begin_layout Plain Layout
22218 <row topspace="3mm">
22219 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22222 \begin_layout Plain Layout
22224 \begin_inset space \thinspace{}
22227 mm space top of row
22234 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22237 \begin_layout Plain Layout
22249 \begin_inset space \hfill{}
22253 \begin_inset space \hspace*{}
22258 \begin_inset VSpace medskip
22262 \begin_inset Newline newline
22265 So inserting space in the top of row for normal tables is only useful when you don't have vertical lines.
22268 \begin_layout Description
22270 \begin_inset space ~
22274 \begin_inset space ~
22277 row will add space below the characters of the table row.
22278 If the table is a formal table \SpecialChar LyX
22279 will insert as default 0.5
22280 \begin_inset space \thinspace{}
22284 for normal tables the default size is 2
22285 \begin_inset space \thinspace{}
22291 \begin_layout Description
22293 \begin_inset space ~
22296 rows adds space between the current and the following row.
22297 If the table is a formal table \SpecialChar LyX
22298 will insert as default 0.5
22299 \begin_inset space \thinspace{}
22303 For normal tables the inserted space will unfortunately destroy the vertical table lines as in the following table:
22304 \begin_inset VSpace medskip
22308 \begin_inset Newline newline
22312 \begin_inset space \hspace*{}
22317 \begin_inset space \hfill{}
22321 \begin_inset Tabular
22322 <lyxtabular version="3" rows="3" columns="1">
22323 <features tabularvalignment="middle">
22324 <column alignment="center" valignment="top">
22326 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22329 \begin_layout Plain Layout
22336 <row interlinespace="3mm">
22337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22340 \begin_layout Plain Layout
22341 \begin_inset Formula $\downarrow$
22345 \begin_inset space \thinspace{}
22348 mm space between row
22349 \begin_inset Formula $\downarrow$
22359 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22362 \begin_layout Plain Layout
22363 \begin_inset Formula $\uparrow$
22367 \begin_inset space \thinspace{}
22370 mm space between row
22371 \begin_inset Formula $\uparrow$
22385 \begin_inset space \hfill{}
22389 \begin_inset space \hspace*{}
22394 \begin_inset VSpace medskip
22398 \begin_inset Newline newline
22401 So inserting space between rows for normal tables is only useful when you don't have vertical lines.
22404 \begin_layout Standard
22405 \begin_inset VSpace bigskip
22408 When you want to add extra height to all cells of all tables,
22409 you can do this with the following preamble lines:
22412 \begin_layout Standard
22417 @ifundefined{extrarowheight}
22418 \begin_inset Newline newline
22422 \begin_inset Phantom HPhantom
22425 \begin_layout Plain Layout
22428 \begin_inset space ~
22438 usepackage{array}}{}
22439 \begin_inset Newline newline
22446 extrarowheight}{height}
22449 \begin_inset Note Note
22452 \begin_layout Plain Layout
22457 will be loaded automatically by \SpecialChar LyX
22458 when you use self defined table formats.
22459 To avoid that it is loaded twice the command
22465 is used in the above command.
22473 \begin_layout Standard
22478 can have one of the units listed in appendix
22479 \begin_inset space ~
22483 \begin_inset CommandInset ref
22485 reference "cha:Units-available-in"
22491 But this has the disadvantage that the cell texts are no longer exactly vertically centered.
22494 \begin_layout Standard
22495 If you are using font sizes larger than the normal size,
22496 the table borders are often too close to the letters.
22497 This can be corrected by inserting the command
22503 in \SpecialChar TeX
22504 Code at the beginning of a table row.
22506 \begin_inset space ~
22510 \begin_inset CommandInset ref
22512 reference "tab:Vertical-alignment-of"
22517 illustrates the effect.
22520 \begin_layout Standard
22522 \begin_inset Float table
22529 \begin_layout Plain Layout
22530 \begin_inset Caption Standard
22532 \begin_layout Plain Layout
22533 \begin_inset CommandInset label
22535 name "tab:Vertical-alignment-of"
22539 Vertical alignment of text with large font sizes.
22547 \begin_layout Plain Layout
22548 \begin_inset space \hfill{}
22552 \begin_inset Float table
22559 \begin_layout Plain Layout
22560 \begin_inset Caption Standard
22562 \begin_layout Plain Layout
22571 \begin_layout Plain Layout
22574 \begin_inset Tabular
22575 <lyxtabular version="3" rows="6" columns="1">
22576 <features tabularvalignment="middle">
22577 <column alignment="left" valignment="top">
22579 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22582 \begin_layout Plain Layout
22591 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22594 \begin_layout Plain Layout
22604 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22607 \begin_layout Plain Layout
22617 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22620 \begin_layout Plain Layout
22630 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22633 \begin_layout Plain Layout
22643 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22646 \begin_layout Plain Layout
22665 \begin_inset space \hfill{}
22669 \begin_inset Float table
22676 \begin_layout Plain Layout
22677 \begin_inset Caption Standard
22679 \begin_layout Plain Layout
22680 Table using the command
22694 \begin_layout Plain Layout
22697 \begin_inset Tabular
22698 <lyxtabular version="3" rows="6" columns="1">
22699 <features tabularvalignment="middle">
22700 <column alignment="left" valignment="top">
22702 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22705 \begin_layout Plain Layout
22714 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22717 \begin_layout Plain Layout
22723 \begin_layout Plain Layout
22739 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22742 \begin_layout Plain Layout
22748 \begin_layout Plain Layout
22764 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22767 \begin_layout Plain Layout
22773 \begin_layout Plain Layout
22789 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22792 \begin_layout Plain Layout
22798 \begin_layout Plain Layout
22814 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22817 \begin_layout Plain Layout
22823 \begin_layout Plain Layout
22850 \begin_inset space \hfill{}
22861 \begin_layout Subsection
22862 Special Cell Alignment
22863 \begin_inset CommandInset label
22865 name "subsec:Special-Cell-Alignment"
22870 \begin_inset Index idx
22875 \begin_layout Plain Layout
22876 Table Customization
22877 \begin_inset IndexMacro subentry
22880 \begin_layout Plain Layout
22881 Special Cell Alignment
22894 \begin_layout Standard
22895 Sometimes it looks better when the cell entries of a column are aligned with a special character,
22897 \begin_inset space \thinspace{}
22901 \begin_inset space \space{}
22904 with the decimal separator as in Table
22905 \begin_inset space ~
22909 \begin_inset CommandInset ref
22911 reference "tab:Table-cells-align"
22917 This alignment is achieved by setting the cursor into the column and then either pressing the toolbar button
22920 arg "tabular-feature align-decimal"
22923 or setting the alignment in the table settings to
22926 \begin_inset space ~
22930 \begin_inset space ~
22936 The alignment character can be a character of your choice and is specified in the table settings.
22939 \begin_layout Standard
22940 \begin_inset Float table
22947 \begin_layout Plain Layout
22948 \begin_inset Caption Standard
22950 \begin_layout Plain Layout
22951 \begin_inset CommandInset label
22953 name "tab:Table-cells-align"
22957 Table cells of a column aligned with the decimal separator.
22965 \begin_layout Plain Layout
22967 \begin_inset Tabular
22968 <lyxtabular version="3" rows="4" columns="1">
22969 <features booktabs="true" tabularvalignment="middle">
22970 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
22972 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22975 \begin_layout Plain Layout
22983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22986 \begin_layout Plain Layout
22994 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22997 \begin_layout Plain Layout
23005 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
23008 \begin_layout Plain Layout
23027 \begin_layout Standard
23028 \begin_inset Float table
23035 \begin_layout Plain Layout
23036 \begin_inset Caption Standard
23038 \begin_layout Plain Layout
23039 \begin_inset CommandInset label
23041 name "tab:Table-align-operator"
23045 Table cells of a column aligned with the operators.
23053 \begin_layout Plain Layout
23055 \begin_inset Tabular
23056 <lyxtabular version="3" rows="4" columns="2">
23057 <features booktabs="true" tabularvalignment="middle">
23058 <column alignment="right" valignment="top" width="0pt">
23059 <column alignment="left" valignment="top" width="0pt" special="@{}l">
23061 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
23064 \begin_layout Plain Layout
23070 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23073 \begin_layout Plain Layout
23081 <cell alignment="center" valignment="top" usebox="none">
23084 \begin_layout Plain Layout
23085 \begin_inset Formula $12\,+$
23093 <cell alignment="center" valignment="top" usebox="none">
23096 \begin_layout Plain Layout
23097 \begin_inset Formula $\,6$
23107 <cell alignment="center" valignment="top" usebox="none">
23110 \begin_layout Plain Layout
23111 \begin_inset Formula $0\,-$
23119 <cell alignment="center" valignment="top" usebox="none">
23122 \begin_layout Plain Layout
23123 \begin_inset Formula $\,68$
23133 <cell alignment="center" valignment="top" usebox="none">
23136 \begin_layout Plain Layout
23137 \begin_inset Formula $-123\,/$
23145 <cell alignment="center" valignment="top" usebox="none">
23148 \begin_layout Plain Layout
23149 \begin_inset Formula $\,0$
23170 \begin_layout Standard
23171 For alignments at characters in formulas this method does not work because the field to specify the alignment character does not allow formulas.
23172 In this case one need to use the method from Table
23173 \begin_inset space ~
23177 \begin_inset CommandInset ref
23179 reference "tab:Table-align-operator"
23185 This table was created with a 4×2 table.
23186 The heading is a centered multicolumn.
23187 The first column is right-aligned and contains the first part including the operator.
23188 The second column is left aligned and contains the rest.
23189 A small space was added at the beginning of each cell of the second column to get the space that is usually around operators.
23190 To omit the space that is normally between two table columns,
23191 the following \SpecialChar LaTeX
23192 -argument was used for the second column:
23195 \begin_layout Standard
23201 \begin_layout Standard
23203 \begin_inset space ~
23207 \begin_inset CommandInset ref
23209 reference "tab:Several-table-cell"
23214 shows some example alignments.
23215 For the alignment with the relation sign,
23216 a small space was added like for the second column of Table
23217 \begin_inset space ~
23221 \begin_inset CommandInset ref
23223 reference "tab:Table-align-operator"
23231 \begin_layout Standard
23232 \begin_inset Float table
23239 \begin_layout Plain Layout
23240 \begin_inset Caption Standard
23242 \begin_layout Plain Layout
23243 \begin_inset CommandInset label
23245 name "tab:Several-table-cell"
23249 Several table cell alignments.
23257 \begin_layout Plain Layout
23259 \begin_inset Tabular
23260 <lyxtabular version="3" rows="4" columns="6">
23261 <features tabularvalignment="middle">
23262 <column alignment="right" valignment="top">
23263 <column alignment="left" valignment="top" special="@{}l">
23264 <column alignment="right" valignment="top">
23265 <column alignment="left" valignment="top" special="@{}l">
23266 <column alignment="right" valignment="top">
23267 <column alignment="left" valignment="top" special="@{}l">
23269 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
23272 \begin_layout Plain Layout
23278 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23281 \begin_layout Plain Layout
23287 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
23290 \begin_layout Plain Layout
23296 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23299 \begin_layout Plain Layout
23305 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
23308 \begin_layout Plain Layout
23314 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23317 \begin_layout Plain Layout
23325 <cell alignment="center" valignment="top" usebox="none">
23328 \begin_layout Plain Layout
23334 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23337 \begin_layout Plain Layout
23339 \begin_inset space \thinspace{}
23347 <cell alignment="center" valignment="top" usebox="none">
23350 \begin_layout Plain Layout
23351 \begin_inset Formula $10\cdot$
23359 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23362 \begin_layout Plain Layout
23363 \begin_inset Formula $10^{\mbox{-}17}$
23371 <cell alignment="center" valignment="top" usebox="none">
23374 \begin_layout Plain Layout
23375 \begin_inset Formula $\Gamma(t)\propto$
23383 <cell alignment="center" valignment="top" usebox="none">
23386 \begin_layout Plain Layout
23387 \begin_inset Formula $\:\Upsilon(t)$
23397 <cell alignment="center" valignment="top" usebox="none">
23400 \begin_layout Plain Layout
23406 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23409 \begin_layout Plain Layout
23411 \begin_inset space \thinspace{}
23419 <cell alignment="center" valignment="top" usebox="none">
23422 \begin_layout Plain Layout
23423 \begin_inset Formula $5.78\cdot$
23431 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23434 \begin_layout Plain Layout
23435 \begin_inset Formula $10^{7}$
23443 <cell alignment="center" valignment="top" usebox="none">
23446 \begin_layout Plain Layout
23447 \begin_inset Formula $A\ne$
23455 <cell alignment="center" valignment="top" usebox="none">
23458 \begin_layout Plain Layout
23459 \begin_inset Formula $\:B_{\mathrm{red}}$
23469 <cell alignment="center" valignment="top" usebox="none">
23472 \begin_layout Plain Layout
23478 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23481 \begin_layout Plain Layout
23483 \begin_inset space \thinspace{}
23491 <cell alignment="center" valignment="top" usebox="none">
23494 \begin_layout Plain Layout
23496 \begin_inset Formula $33.5\cdot$
23504 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23507 \begin_layout Plain Layout
23508 \begin_inset Formula $10^{4}$
23516 <cell alignment="center" valignment="top" usebox="none">
23519 \begin_layout Plain Layout
23520 \begin_inset Formula $\sin(\alpha)\ge$
23528 <cell alignment="center" valignment="top" usebox="none">
23531 \begin_layout Plain Layout
23532 \begin_inset Formula $\:\sin(\beta)$
23553 \begin_layout Subsection
23554 Customized Cell/Column Format
23555 \begin_inset CommandInset label
23557 name "subsec:Customized-Format"
23562 \begin_inset Index idx
23567 \begin_layout Plain Layout
23568 Table Customization
23569 \begin_inset IndexMacro subentry
23572 \begin_layout Plain Layout
23586 \begin_layout Standard
23587 Calculating the required width for normal columns as described in section
23588 \begin_inset space ~
23592 \begin_inset CommandInset ref
23594 reference "sec:Table-Width-Calculation"
23599 or for spanned columns as described in section
23600 \begin_inset space ~
23604 \begin_inset CommandInset ref
23606 reference "subsec:Multicolumn-Calculations"
23611 is very annoying if you have several tables where a calculation is necessary.
23612 To make life easier,
23613 you can define a cell/column format in the preamble,
23614 that can be used in all tables of the document.
23615 The format is defined with the command
23618 \begin_layout Standard
23623 newcolumntype{name of format}[number of arguments]{commands}
23626 \begin_layout Standard
23627 The format name may only consist of one letter.
23656 are predefined and cannot be used.
23657 But all letters are allowed as capitals.
23660 \begin_layout Standard
23661 \begin_inset VSpace medskip
23667 \begin_layout Standard
23668 For vertically and horizontally centered multicolumn cells with a fixed width you can define the cell format
23671 \begin_layout Standard
23676 newcolumntype{M}[1]{>{
23683 \begin_layout Standard
23690 avoids the problem of hyphenating the first word,
23691 as described in section
23692 \begin_inset space ~
23696 \begin_inset CommandInset ref
23698 reference "subsec:Multiple-Lines-in"
23704 Now you can simply enter
23707 \begin_layout Standard
23713 \begin_layout Standard
23719 in the table dialog to create a multicolumn.
23722 \begin_layout Standard
23723 \begin_inset VSpace bigskip
23729 \begin_layout Standard
23730 For cells spanned by a multicolumn cell,
23731 you can define the format
23734 \begin_layout Standard
23739 newcolumntype{S}[2]{>{
23744 \begin_inset Newline newline
23748 \begin_inset Phantom HPhantom
23751 \begin_layout Plain Layout
23765 arrayrulewidth)*(1-#2))/#2}}
23768 \begin_layout Standard
23769 This format uses equation
23770 \begin_inset CommandInset ref
23777 to calculate the required width so that each spanned cell has the same width.
23780 \begin_layout Standard
23784 \begin_layout Standard
23787 S{width of multicolumn cell}{number of spanned columns}
23790 \begin_layout Standard
23791 as \SpecialChar LaTeX
23792 -argument of the column.
23795 \begin_layout Standard
23796 \begin_inset VSpace bigskip
23802 \begin_layout Standard
23803 For colored columns,
23807 \begin_layout Standard
23812 newcolumntype{K}[1]{>{
23819 \begin_layout Standard
23821 \begin_inset Quotes eld
23825 \begin_inset Quotes erd
23828 at the end creates a column with a flexible width whose text is horizontally centered.
23832 \begin_layout Standard
23838 \begin_layout Standard
23839 as \SpecialChar LaTeX
23843 \begin_layout Standard
23844 \begin_inset VSpace bigskip
23850 \begin_layout Standard
23852 \begin_inset space ~
23856 \begin_inset CommandInset ref
23858 reference "tab:Table-using-user-defined"
23863 use the \SpecialChar LaTeX
23867 \begin_layout Standard
23873 \begin_layout Standard
23874 for the first column and the multicolumn,
23877 \begin_layout Standard
23883 \begin_layout Standard
23884 for the last column,
23888 \begin_layout Standard
23894 \begin_layout Standard
23895 for the cells in the second column.
23898 \begin_layout Standard
23899 \begin_inset Float table
23906 \begin_layout Plain Layout
23907 \begin_inset Caption Standard
23909 \begin_layout Plain Layout
23910 \begin_inset CommandInset label
23912 name "tab:Table-using-user-defined"
23916 Table using user-defined table formats
23924 \begin_layout Plain Layout
23926 \begin_inset Tabular
23927 <lyxtabular version="3" rows="3" columns="4">
23928 <features tabularvalignment="middle">
23929 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
23930 <column alignment="center" valignment="middle" special="S{2.5cm}{2}">
23931 <column alignment="center" valignment="middle">
23932 <column alignment="center" valignment="middle" special="K{red}">
23934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23937 \begin_layout Plain Layout
23938 verylongtablecellword
23943 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
23946 \begin_layout Plain Layout
23947 multiple lines multicolumn
23952 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23955 \begin_layout Plain Layout
23961 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23964 \begin_layout Plain Layout
23972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23975 \begin_layout Plain Layout
23981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23984 \begin_layout Plain Layout
23990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23993 \begin_layout Plain Layout
23999 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24002 \begin_layout Plain Layout
24010 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24013 \begin_layout Plain Layout
24019 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24022 \begin_layout Plain Layout
24028 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24031 \begin_layout Plain Layout
24037 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24040 \begin_layout Plain Layout
24059 \begin_layout Subsection
24061 \begin_inset CommandInset label
24063 name "subsec:Line-Thickness"
24068 \begin_inset Index idx
24073 \begin_layout Plain Layout
24074 Table Customization
24075 \begin_inset IndexMacro subentry
24078 \begin_layout Plain Layout
24092 \begin_layout Standard
24093 The line thickness for all lines in a table can be adjusted with the length
24100 To set for example a line thickness of 1.5
24101 \begin_inset space \thinspace{}
24106 \begin_inset space ~
24110 \begin_inset CommandInset ref
24112 reference "tab:Table-with-1.5"
24121 \begin_layout Standard
24128 arrayrulewidth}{1.5pt}
24131 \begin_layout Standard
24132 in \SpecialChar TeX
24133 Code before the table or table float.
24134 The changed thickness is valid for all subsequent tables.
24135 To use the default value again,
24143 \begin_inset space \thinspace{}
24146 pt in \SpecialChar TeX
24147 Code after the table or table float.
24150 \begin_layout Standard
24154 \begin_layout Plain Layout
24160 arrayrulewidth}{1.5pt}
24166 \begin_inset Float table
24173 \begin_layout Plain Layout
24174 \begin_inset Caption Standard
24176 \begin_layout Plain Layout
24177 \begin_inset CommandInset label
24179 name "tab:Table-with-1.5"
24184 \begin_inset space \thinspace{}
24195 \begin_layout Plain Layout
24197 \begin_inset Tabular
24198 <lyxtabular version="3" rows="3" columns="3">
24199 <features tabularvalignment="middle">
24200 <column alignment="center" valignment="top">
24201 <column alignment="center" valignment="top">
24202 <column alignment="center" valignment="top">
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" leftline="true" usebox="none">
24236 \begin_layout Plain Layout
24242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24245 \begin_layout Plain Layout
24251 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24254 \begin_layout Plain Layout
24262 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24265 \begin_layout Plain Layout
24271 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24274 \begin_layout Plain Layout
24280 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24283 \begin_layout Plain Layout
24303 \begin_layout Plain Layout
24309 arrayrulewidth}{0.4pt}
24317 \begin_layout Standard
24318 \begin_inset VSpace bigskip
24321 To set the line thickness to 1.5
24322 \begin_inset space \thinspace{}
24325 pt only for horizontal lines,
24327 \begin_inset space ~
24331 \begin_inset CommandInset ref
24333 reference "tab:Table-with-horizontal"
24339 insert these commands in \SpecialChar TeX
24340 Code before the table or table float:
24343 \begin_layout Standard
24353 \begin_inset Newline newline
24361 \begin_inset Newline newline
24370 arrayrulewidth 1.5pt}
24371 \begin_inset Newline newline
24382 arrayrulewidth 0.4pt}}
24385 \begin_layout Standard
24386 To return to the default line thickness,
24387 insert this command in \SpecialChar TeX
24388 Code after the table or table float:
24391 \begin_layout Standard
24403 \begin_layout Standard
24407 \begin_layout Plain Layout
24418 \begin_layout Plain Layout
24427 \begin_layout Plain Layout
24435 arrayrulewidth 1.5pt}
24438 \begin_layout Plain Layout
24448 arrayrulewidth 0.4pt}}
24454 \begin_inset Float table
24461 \begin_layout Plain Layout
24462 \begin_inset Caption Standard
24464 \begin_layout Plain Layout
24465 \begin_inset CommandInset label
24467 name "tab:Table-with-horizontal"
24472 \begin_inset space \thinspace{}
24475 pt thick horizontal lines
24483 \begin_layout Plain Layout
24485 \begin_inset Tabular
24486 <lyxtabular version="3" rows="3" columns="3">
24487 <features tabularvalignment="middle">
24488 <column alignment="center" valignment="top">
24489 <column alignment="center" valignment="top">
24490 <column alignment="center" valignment="top">
24492 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24495 \begin_layout Plain Layout
24501 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24504 \begin_layout Plain Layout
24510 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24513 \begin_layout Plain Layout
24521 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24524 \begin_layout Plain Layout
24530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24533 \begin_layout Plain Layout
24539 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24542 \begin_layout Plain Layout
24550 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24553 \begin_layout Plain Layout
24559 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24562 \begin_layout Plain Layout
24568 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24571 \begin_layout Plain Layout
24591 \begin_layout Plain Layout
24607 \begin_layout Standard
24608 \begin_inset VSpace bigskip
24611 To set the line thickness to 1.5
24612 \begin_inset space \thinspace{}
24615 pt only for vertical lines,
24616 create the following column format in the document preamble,
24617 according to the description in section
24618 \begin_inset space ~
24622 \begin_inset CommandInset ref
24624 reference "subsec:Customized-Format"
24632 \begin_layout Standard
24637 newcolumntype{V}{!{
24639 vrule width 1.5pt}}
24642 \begin_layout Standard
24644 \begin_inset space ~
24648 \begin_inset CommandInset ref
24650 reference "tab:Table-with-vertical"
24655 the \SpecialChar LaTeX
24659 \begin_layout Standard
24665 \begin_layout Standard
24666 was used for the last column and
24669 \begin_layout Standard
24675 \begin_layout Standard
24676 for the other columns.
24679 \begin_layout Standard
24680 \begin_inset Float table
24687 \begin_layout Plain Layout
24688 \begin_inset Caption Standard
24690 \begin_layout Plain Layout
24691 \begin_inset CommandInset label
24693 name "tab:Table-with-vertical"
24698 \begin_inset space \thinspace{}
24701 pt thick vertical lines
24709 \begin_layout Plain Layout
24711 \begin_inset Tabular
24712 <lyxtabular version="3" rows="3" columns="3">
24713 <features tabularvalignment="middle">
24714 <column alignment="center" valignment="top" special="Vc">
24715 <column alignment="center" valignment="top" special="Vc">
24716 <column alignment="center" valignment="top" special="VcV">
24718 <cell alignment="center" valignment="top" topline="true" usebox="none">
24721 \begin_layout Plain Layout
24727 <cell alignment="center" valignment="top" topline="true" usebox="none">
24730 \begin_layout Plain Layout
24736 <cell alignment="center" valignment="top" topline="true" usebox="none">
24739 \begin_layout Plain Layout
24747 <cell alignment="center" valignment="top" topline="true" usebox="none">
24750 \begin_layout Plain Layout
24756 <cell alignment="center" valignment="top" topline="true" usebox="none">
24759 \begin_layout Plain Layout
24765 <cell alignment="center" valignment="top" topline="true" usebox="none">
24768 \begin_layout Plain Layout
24776 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24779 \begin_layout Plain Layout
24785 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24788 \begin_layout Plain Layout
24794 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24797 \begin_layout Plain Layout
24816 \begin_layout Subsection
24818 \begin_inset Index idx
24823 \begin_layout Plain Layout
24824 Table Customization
24825 \begin_inset IndexMacro subentry
24828 \begin_layout Plain Layout
24842 \begin_layout Standard
24846 \begin_layout Plain Layout
24856 \begin_inset Note Note
24859 \begin_layout Plain Layout
24860 The following section will only be displayed when the \SpecialChar LaTeX
24873 \begin_layout Standard
24874 \begin_inset Float table
24881 \begin_layout Plain Layout
24882 \begin_inset Caption Standard
24884 \begin_layout Plain Layout
24885 \begin_inset CommandInset label
24887 name "tab:Table-with-dashed"
24891 Table with dashed lines
24899 \begin_layout Plain Layout
24901 \begin_inset Tabular
24902 <lyxtabular version="3" rows="5" columns="5">
24903 <features tabularvalignment="middle">
24904 <column alignment="center" valignment="top">
24905 <column alignment="center" valignment="top">
24906 <column alignment="center" valignment="top" special=":c">
24907 <column alignment="center" valignment="top">
24908 <column alignment="center" valignment="top">
24910 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24913 \begin_layout Plain Layout
24919 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24922 \begin_layout Plain Layout
24928 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24931 \begin_layout Plain Layout
24937 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24940 \begin_layout Plain Layout
24946 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24949 \begin_layout Plain Layout
24957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24960 \begin_layout Plain Layout
24966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24969 \begin_layout Plain Layout
24975 <cell alignment="center" valignment="top" topline="true" usebox="none">
24978 \begin_layout Plain Layout
24984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24987 \begin_layout Plain Layout
24993 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24996 \begin_layout Plain Layout
25004 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25007 \begin_layout Plain Layout
25011 \begin_layout Plain Layout
25025 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25028 \begin_layout Plain Layout
25034 <cell alignment="center" valignment="top" usebox="none">
25037 \begin_layout Plain Layout
25043 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25046 \begin_layout Plain Layout
25052 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25055 \begin_layout Plain Layout
25063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25066 \begin_layout Plain Layout
25070 \begin_layout Plain Layout
25084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25087 \begin_layout Plain Layout
25093 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
25096 \begin_layout Plain Layout
25102 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25105 \begin_layout Plain Layout
25111 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25114 \begin_layout Plain Layout
25122 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25125 \begin_layout Plain Layout
25131 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25134 \begin_layout Plain Layout
25140 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25143 \begin_layout Plain Layout
25149 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25152 \begin_layout Plain Layout
25158 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25161 \begin_layout Plain Layout
25180 \begin_layout Standard
25182 does not natively support dashed lines,
25183 so you have to use \SpecialChar TeX
25185 As a prerequisite the \SpecialChar LaTeX
25191 \begin_inset Index idx
25196 \begin_layout Plain Layout
25199 \begin_inset IndexMacro subentry
25202 \begin_layout Plain Layout
25213 must be loaded in the document preamble with the command
25216 \begin_layout Standard
25221 usepackage{arydshln}
25224 \begin_layout Standard
25225 To make a vertical line dashed,
25227 \begin_inset Quotes eld
25231 \begin_inset Quotes erd
25234 together with the character for the horizontal alignment as \SpecialChar LaTeX
25235 argument in the table cell dialog.
25238 \begin_layout Standard
25239 For a horizontal dashed line add the command
25242 \begin_layout Standard
25250 \begin_layout Standard
25251 in \SpecialChar TeX
25252 Code as first element of the first cell in the table row.
25255 \begin_layout Standard
25256 For dashed multicolumn lines use the command
25259 \begin_layout Standard
25264 cdashline{line number
25269 \begin_layout Standard
25270 in \SpecialChar TeX
25271 Code as the first element of the first cell in the table row.
25272 If you have for example a multicolumn spanning columns 2 to 4 and you want to have a dashed line above,
25276 \begin_layout Standard
25284 \begin_layout Standard
25285 as the first element of the first cell in the row of the multicolumn.
25288 \begin_layout Standard
25289 \begin_inset VSpace bigskip
25295 \begin_layout Standard
25297 \begin_inset space ~
25301 \begin_inset CommandInset ref
25303 reference "tab:Table-with-dashed"
25309 \begin_inset Quotes eld
25317 \begin_inset Quotes erd
25320 as \SpecialChar LaTeX
25321 argument of the third column.
25322 The \SpecialChar TeX
25329 was inserted in the first cell of the third row and the \SpecialChar TeX
25331 \begin_inset Newline newline
25340 was inserted in the first cell of the fourth row.
25343 \begin_layout Standard
25344 \begin_inset VSpace bigskip
25350 \begin_layout Standard
25351 Tables with dashed lines can also be colored as shown by Table
25352 \begin_inset space ~
25356 \begin_inset CommandInset ref
25358 reference "tab:Colored-table-with"
25366 \begin_layout Standard
25370 \begin_layout Plain Layout
25376 arrayrulewidth}{1pt}
25382 \begin_inset Note Note
25385 \begin_layout Plain Layout
25386 thicker lines for better visualization of the line color
25394 \begin_layout Standard
25398 \begin_layout Plain Layout
25402 dashgapcolor{green}
25408 \begin_inset Note Note
25411 \begin_layout Plain Layout
25412 color gaps between dashes green
25420 \begin_layout Standard
25424 \begin_layout Plain Layout
25435 \begin_layout Plain Layout
25444 \begin_layout Plain Layout
25448 arrayrulecolor{red}
25452 arrayrulecolor{black}}
25458 \begin_inset Note Note
25461 \begin_layout Plain Layout
25471 \begin_layout Standard
25475 \begin_layout Plain Layout
25486 \begin_layout Plain Layout
25495 \begin_layout Plain Layout
25499 arrayrulecolor{yellow}
25503 arrayrulecolor{black}}
25509 \begin_inset Note Note
25512 \begin_layout Plain Layout
25513 color partial horizontal,
25514 dashed lines yellow
25522 \begin_layout Standard
25523 \begin_inset Float table
25530 \begin_layout Plain Layout
25531 \begin_inset Caption Standard
25533 \begin_layout Plain Layout
25534 \begin_inset CommandInset label
25536 name "tab:Colored-table-with"
25540 Colored table with dashed lines
25548 \begin_layout Plain Layout
25550 \begin_inset Tabular
25551 <lyxtabular version="3" rows="5" columns="5">
25552 <features tabularvalignment="middle">
25553 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
25554 <column alignment="center" valignment="top" width="0pt">
25555 <column alignment="center" valignment="top" width="0pt" special=":c">
25556 <column alignment="center" valignment="top">
25557 <column alignment="center" valignment="top">
25559 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25562 \begin_layout Plain Layout
25568 <cell alignment="center" valignment="top" topline="true" usebox="none">
25571 \begin_layout Plain Layout
25577 <cell alignment="center" valignment="top" topline="true" usebox="none">
25580 \begin_layout Plain Layout
25586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25589 \begin_layout Plain Layout
25595 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25598 \begin_layout Plain Layout
25606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25609 \begin_layout Plain Layout
25615 <cell alignment="center" valignment="top" topline="true" usebox="none">
25618 \begin_layout Plain Layout
25624 <cell alignment="center" valignment="top" topline="true" usebox="none">
25627 \begin_layout Plain Layout
25633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25636 \begin_layout Plain Layout
25642 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25645 \begin_layout Plain Layout
25653 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25656 \begin_layout Plain Layout
25660 \begin_layout Plain Layout
25673 \begin_layout Plain Layout
25687 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25690 \begin_layout Plain Layout
25696 <cell alignment="center" valignment="top" usebox="none">
25699 \begin_layout Plain Layout
25705 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25708 \begin_layout Plain Layout
25714 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25717 \begin_layout Plain Layout
25725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25728 \begin_layout Plain Layout
25732 \begin_layout Plain Layout
25746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25749 \begin_layout Plain Layout
25755 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
25758 \begin_layout Plain Layout
25764 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25767 \begin_layout Plain Layout
25773 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25776 \begin_layout Plain Layout
25784 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25787 \begin_layout Plain Layout
25793 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25796 \begin_layout Plain Layout
25802 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25805 \begin_layout Plain Layout
25811 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25814 \begin_layout Plain Layout
25820 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25823 \begin_layout Plain Layout
25827 \begin_layout Plain Layout
25854 \begin_layout Standard
25858 \begin_layout Plain Layout
25872 \begin_inset Note Note
25875 \begin_layout Plain Layout
25884 \begin_layout Standard
25888 \begin_layout Plain Layout
25902 \begin_inset Note Note
25905 \begin_layout Plain Layout
25914 \begin_layout Standard
25918 \begin_layout Plain Layout
25928 \begin_inset Note Note
25931 \begin_layout Plain Layout
25940 \begin_layout Standard
25944 \begin_layout Plain Layout
25950 arrayrulewidth}{0.4pt}
25956 \begin_inset Note Note
25959 \begin_layout Plain Layout
25968 \begin_layout Standard
25969 The coloring of lines,
25970 columns and lines works as decribed in section
25971 \begin_inset space ~
25975 \begin_inset CommandInset ref
25977 reference "sec:Colored-Tables"
25983 Coloring horizontal lines works analogically as described there as well,
25984 one only needs to replace in the commands
26009 so one uses the command
26012 \begin_layout Standard
26022 \begin_inset Newline newline
26030 \begin_inset Newline newline
26034 \begin_inset Phantom HPhantom
26037 \begin_layout Plain Layout
26038 \begin_inset space ~
26048 arrayrulecolor{red}
26052 arrayrulecolor{black}}
26055 \begin_layout Standard
26066 \begin_layout Standard
26076 \begin_inset Newline newline
26084 \begin_inset Newline newline
26088 \begin_inset Phantom HPhantom
26091 \begin_layout Plain Layout
26092 \begin_inset space ~
26102 arrayrulecolor{red}
26106 arrayrulecolor{black}}
26109 \begin_layout Standard
26110 To get back the black line color,
26111 one needs to insert the following commands as \SpecialChar TeX
26112 Code behind the table:
26115 \begin_layout Standard
26123 \begin_layout Standard
26135 \begin_layout Standard
26143 \begin_layout Standard
26155 \begin_layout Standard
26156 To color the gaps between the dashes the command
26159 \begin_layout Standard
26164 dashgapcolor{color}
26167 \begin_layout Standard
26168 can be used in front of a table as \SpecialChar TeX
26170 color is hereby the name of a defined color.
26174 \begin_layout Standard
26182 \begin_layout Standard
26183 unsets the changes made by
26192 \begin_layout Standard
26193 \begin_inset Note Greyedout
26196 \begin_layout Plain Layout
26203 If there are multiple commands in a cell,
26208 needs to be the first one in the cell.
26214 \begin_inset space ~
26218 \begin_inset CommandInset ref
26220 reference "tab:Colored-table-with"
26245 \begin_layout Standard
26246 \begin_inset Note Greyedout
26249 \begin_layout Plain Layout
26256 The \SpecialChar LaTeX
26261 must be loaded in the document preamble before the \SpecialChar LaTeX
26267 \begin_inset Index idx
26272 \begin_layout Plain Layout
26275 \begin_inset IndexMacro subentry
26278 \begin_layout Plain Layout
26297 \begin_layout Standard
26301 \begin_layout Plain Layout
26311 \begin_inset Note Note
26314 \begin_layout Plain Layout
26315 The following will be displayed when the \SpecialChar LaTeX
26328 \begin_layout Standard
26329 You need to install the package
26333 to see the content of this section in the output.
26336 \begin_layout Standard
26340 \begin_layout Plain Layout
26352 \begin_layout Standard
26353 For more information about dashed lines see the documentation of
26359 \begin_inset CommandInset citation
26369 \begin_layout Chapter
26371 \begin_inset CommandInset label
26378 \begin_inset Index idx
26383 \begin_layout Plain Layout
26392 \begin_layout Section
26394 \begin_inset CommandInset label
26396 name "sec:FloatIntroduction"
26401 \begin_inset Index idx
26406 \begin_layout Plain Layout
26408 \begin_inset IndexMacro subentry
26411 \begin_layout Plain Layout
26425 \begin_layout Standard
26426 A float is a block of text associated with some sort of label,
26427 which doesn't have a fixed location.
26429 \begin_inset Quotes eld
26433 \begin_inset Quotes erd
26436 forward or backward a page or two,
26437 to wherever it fits best.
26445 \begin_inset space ~
26450 are also floats because they can float to the next page when there are too many notes on the page.
26453 \begin_layout Standard
26454 Floats allow a high quality layout.
26455 Images and tables can be spread evenly among the pages to avoid white space and pages without text.
26456 As the floating often destroys the context between the text and the image/table,
26457 every float can be referenced in the text.
26458 Floats are therefore numbered.
26459 Referencing is described in section
26460 \begin_inset space ~
26464 \begin_inset CommandInset ref
26466 reference "sec:Referencing-Floats"
26474 \begin_layout Standard
26478 Insert\SpecialChar menuseparator
26484 arg "float-insert figure"
26490 arg "float-insert table"
26499 a box with a label.
26500 The label will automatically be translated to the document language in the output.
26501 After the label you can insert the caption text.
26502 The image or table is inserted above or below the caption in a separate paragraph within the float.
26503 More about the caption placement is contained in section
26504 \begin_inset space ~
26508 \begin_inset CommandInset ref
26510 reference "sec:Caption-Placement"
26516 To keep your \SpecialChar LyX
26518 you can open and close the float box by left-clicking on the box label.
26519 A closed float box looks like this:
26521 \begin_inset Graphics
26522 filename clipart/float.png
26524 scaleBeforeRotation
26528 – a gray button with a red label.
26531 \begin_layout Standard
26532 It is recommended that you insert floats as separate standard paragraphs to avoid possible \SpecialChar LaTeX
26533 -errors that can occur when the surrounding text is specially formatted.
26536 \begin_layout Standard
26537 Existing figures or tables can be put into a float by highlighting them and then pressing the corresponding toolbar button for a new float.
26540 \begin_layout Section
26544 \begin_layout Standard
26545 Besides figure and table floats that are described in sections
26546 \begin_inset space ~
26550 \begin_inset CommandInset ref
26552 reference "sec:Figure-Floats"
26558 \begin_inset CommandInset ref
26560 reference "sec:Table-Floats"
26567 offers the float types
26576 The latter are explained in sec.
26577 \begin_inset space \thinspace{}
26581 \begin_inset CommandInset ref
26583 reference "sec:Wrap-Floats"
26591 \begin_layout Subsection
26593 \begin_inset Index idx
26598 \begin_layout Plain Layout
26600 \begin_inset IndexMacro subentry
26603 \begin_layout Plain Layout
26617 \begin_layout Standard
26618 \begin_inset Float algorithm
26625 \begin_layout Plain Layout
26626 \begin_inset Caption Standard
26628 \begin_layout Plain Layout
26629 \begin_inset CommandInset label
26631 name "alg:Example-Algorithm-float"
26635 Example Algorithm float
26643 \begin_layout LyX-Code
26645 \begin_inset Newline newline
26650 \begin_inset Newline newline
26654 \begin_inset VSpace -4mm
26665 \begin_layout Standard
26666 This float type is inserted with the menu
26668 Insert\SpecialChar menuseparator
26669 Float\SpecialChar menuseparator
26673 It is used for program codes and descriptions of algorithms and can be seen as an alternative to program code listings that are explained in chapter
26674 \begin_inset space ~
26678 \begin_inset CommandInset ref
26680 reference "cha:Program-Code-Listings"
26686 A possible environment for algorithms is the
26692 described in \SpecialChar LyX
26699 \begin_inset space ~
26703 \begin_inset CommandInset ref
26705 reference "alg:Example-Algorithm-float"
26710 is an example of an algorithm float where -4
26711 \begin_inset space \thinspace{}
26714 mm vertical space was added at the end of the float to have the bottom rule exactly below the last text line.
26717 \begin_layout Standard
26718 The float label is not automatically translated into the document language.
26719 If your document is not in English,
26720 you have to do this manually by adding the following line to the document preamble
26725 \begin_layout Standard
26730 floatname{algorithm}{your
26731 \begin_inset space ~
26737 \begin_layout Standard
26741 \begin_inset space ~
26747 \begin_inset Quotes eld
26755 \begin_inset Quotes erd
26761 \begin_layout Standard
26762 To insert the list of algorithms you can use the menu
26764 Insert\SpecialChar menuseparator
26766 \begin_inset space \thinspace{}
26770 \begin_inset space \thinspace{}
26773 TOC\SpecialChar menuseparator
26776 when your document has the same language as \SpecialChar LyX
26778 In other cases use this command in \SpecialChar TeX
26782 \begin_layout Standard
26787 listof{algorithm}{your
26788 \begin_inset space ~
26794 \begin_layout Standard
26798 \begin_inset space ~
26804 \begin_inset Quotes eld
26812 \begin_inset Quotes erd
26818 \begin_layout Standard
26819 Algorithm floats are not by default numbered in the scheme
26820 \begin_inset Quotes eld
26824 \begin_inset Quotes erd
26827 as is the case for table and figure floats in many document-classes.
26828 To number algorithm floats in the same scheme,
26829 add this command to your document preamble:
26832 \begin_layout Standard
26837 numberwithin{algorithm}{chapter}
26840 \begin_layout Standard
26841 To be able to use the command
26851 \begin_inset space ~
26856 in the document settings the option
26859 \begin_inset space ~
26863 \begin_inset space ~
26867 \begin_inset space ~
26875 \begin_layout Section
26877 \begin_inset Index idx
26882 \begin_layout Plain Layout
26884 \begin_inset IndexMacro subentry
26887 \begin_layout Plain Layout
26901 \begin_layout Standard
26902 Floats are usually numbered either independently from the sections the floats are in,
26904 \begin_inset Quotes eld
26908 \begin_inset Quotes erd
26912 \begin_inset Quotes eld
26916 \begin_inset Quotes erd
26920 This depends on the document class used.
26923 \begin_layout Standard
26924 To change section-independent numbering,
26925 you can use this command in the document preamble:
26928 \begin_layout Standard
26940 \begin_layout Standard
26947 is the command that prints the table number.
26949 the command would be
26962 in the command above prints the table number as a small roman number.
26965 \begin_layout Standard
26966 To change the numbering scheme for example to
26967 \begin_inset Quotes eld
26971 \begin_inset Quotes erd
26975 use this command in the preamble:
26978 \begin_layout Standard
26983 numberwithin{table}{subsection}
26986 \begin_layout Standard
26987 To be able to use the command
26997 \begin_inset space ~
27002 in the document settings the option
27005 \begin_inset space ~
27009 \begin_inset space ~
27013 \begin_inset space ~
27021 \begin_layout Standard
27022 Please also have a look at section
27023 \begin_inset space ~
27027 \begin_inset CommandInset ref
27029 reference "subsec:Footnote-Numbering"
27034 for the details and important notes about the numbering commands.
27037 \begin_layout Section
27039 \begin_inset CommandInset label
27041 name "sec:Referencing-Floats"
27046 \begin_inset Index idx
27051 \begin_layout Plain Layout
27053 \begin_inset IndexMacro subentry
27056 \begin_layout Plain Layout
27068 \begin_inset Index idx
27073 \begin_layout Plain Layout
27075 \begin_inset IndexMacro subentry
27078 \begin_layout Plain Layout
27092 \begin_layout Standard
27093 To reference a float,
27094 insert a label into its caption using the menu
27096 Insert\SpecialChar menuseparator
27099 or the toolbar button
27106 A grey label box like this one:
27108 \begin_inset Graphics
27109 filename clipart/label.png
27110 scaleBeforeRotation
27114 will be inserted and the label window pops up asking for the label text.
27116 offers as text the first words of the caption with a prefix.
27117 The prefix depends on the float type,
27119 \begin_inset space \thinspace{}
27123 \begin_inset space \space{}
27126 for figure floats the prefix will be "
27133 \begin_layout Standard
27134 The label is used as anchor and name for the reference.
27135 You can refer to the label using the menu
27137 Insert\SpecialChar menuseparator
27140 or the toolbar button
27143 arg "dialog-show-new-inset ref"
27147 The cross-reference window appears showing all labels of the document.
27148 If you have multiple \SpecialChar LyX
27150 choose the one you are working on from the drop-list at the top of the dialog.
27151 You can now sort the labels alphabetically and then choose one.
27152 A grey cross-reference box like this one:
27154 \begin_inset Graphics
27155 filename clipart/reference.png
27156 scaleBeforeRotation
27161 At the position of the cross-reference box the float number will appear in the output.
27164 \begin_layout Standard
27165 It is recommended that you use a non-breaking space between the cross-reference name and its number to avoid line breaks between them.
27166 If a cross-reference refers to a non-existing label,
27167 you will see two question marks in the output instead of the reference.
27170 \begin_layout Standard
27171 You can change labels at any time by clicking on the label box.
27172 References to the changed label will automatically update their links to the new label text.
27175 \begin_layout Standard
27179 \begin_inset space ~
27183 \begin_inset space ~
27188 in the cross-reference window sets the cursor before the referred label.
27189 The button text changes then to Go
27190 \begin_inset space ~
27193 Back and you can use it to set the cursor back to the cross-reference.
27196 \begin_layout Subsection
27197 Cross-Reference Formats
27198 \begin_inset CommandInset label
27200 name "subsec:Cross-Reference-Formats"
27205 \begin_inset Index idx
27210 \begin_layout Plain Layout
27212 \begin_inset IndexMacro subentry
27215 \begin_layout Plain Layout
27229 \begin_layout Standard
27230 There are six varieties of cross-references:
27233 \begin_layout Description
27235 prints the float number,
27236 this is the default:
27238 \begin_inset CommandInset ref
27240 reference "fig:Two-distorted-images"
27248 \begin_layout Description
27250 prints the float number within two parentheses,
27251 this is the style normally used to reference formulas,
27252 especially when the reference name
27253 \begin_inset Quotes eld
27257 \begin_inset Quotes erd
27262 \begin_inset CommandInset ref
27272 \begin_layout Description
27274 prints the page number:
27276 \begin_inset space ~
27280 \begin_inset CommandInset ref
27281 LatexCommand pageref
27282 reference "fig:Two-distorted-images"
27290 \begin_layout Description
27292 \begin_inset space ~
27296 \begin_inset space ~
27300 prints the text "on page" and the page number:
27302 \begin_inset CommandInset ref
27303 LatexCommand vpageref
27304 reference "fig:Two-distorted-images"
27312 \begin_layout Description
27314 \begin_inset space ~
27318 \begin_inset space ~
27322 \begin_inset space ~
27326 prints the float number,
27327 the text "on page",
27328 and the page number:
27330 \begin_inset CommandInset ref
27332 reference "fig:Two-distorted-images"
27340 \begin_layout Description
27342 \begin_inset space ~
27346 prints a self-defined cross-reference format.
27347 \begin_inset Newline newline
27351 \begin_inset Note Greyedout
27354 \begin_layout Plain Layout
27360 This feature is only available when you have the \SpecialChar LaTeX
27370 \begin_inset Index idx
27375 \begin_layout Plain Layout
27378 \begin_inset IndexMacro subentry
27381 \begin_layout Plain Layout
27393 \begin_inset Index idx
27398 \begin_layout Plain Layout
27401 \begin_inset IndexMacro subentry
27404 \begin_layout Plain Layout
27421 \begin_inset Newline newline
27424 You can select which \SpecialChar LaTeX
27425 -package should be used for this feature by setting the option
27427 Use refstyle (not prettyref) for cross-references
27431 Document\SpecialChar menuseparator
27432 Settings\SpecialChar menuseparator
27436 The format is specified by adding the command
27448 (refstyle) to the preamble of the document.
27449 For example redefining all references to figures (which have the label prefix
27450 \begin_inset Quotes eld
27458 \begin_inset Quotes erd
27461 ) can be done with this command
27462 \begin_inset Newline newline
27469 newref{fig}{refcmd={Image on page
27474 \begin_inset Newline newline
27477 For more information about the format,
27478 have a look at the package documentations,
27480 \begin_inset CommandInset citation
27482 key "prettyref,refstyle"
27488 \begin_inset Newline newline
27499 are only available if you use the \SpecialChar LaTeX
27515 \begin_inset space \thinspace{}
27519 \begin_inset space \space{}
27523 \begin_inset Quotes eld
27527 \begin_inset Quotes erd
27535 outputs the name capitalized,
27537 \begin_inset space \thinspace{}
27541 \begin_inset space \space{}
27545 \begin_inset Quotes eld
27549 \begin_inset Quotes erd
27553 Both options can be combined to get e.
27554 \begin_inset space \thinspace{}
27558 \begin_inset space \space{}
27562 \begin_inset Quotes eld
27566 \begin_inset Quotes erd
27572 \begin_layout Description
27574 \begin_inset space ~
27578 prints the caption of the reference:
27580 \begin_inset CommandInset ref
27581 LatexCommand nameref
27582 reference "fig:Two-distorted-images"
27590 \begin_layout Description
27592 \begin_inset space ~
27596 prints only the \SpecialChar LaTeX
27597 label for the reference:
27599 \begin_inset CommandInset ref
27600 LatexCommand labelonly
27601 reference "fig:Two-distorted-images"
27610 \begin_inset Newline newline
27613 This allows to use the label for commands in \SpecialChar TeX
27619 one can omit the prefix of the label name:
27621 \begin_inset CommandInset ref
27622 LatexCommand labelonly
27623 reference "fig:Two-distorted-images"
27634 \begin_layout Standard
27639 will not print the page number if the label is on the previous,
27643 \begin_inset space \thinspace{}
27647 \begin_inset space \space{}
27651 \begin_inset Quotes eld
27659 \begin_inset Quotes erd
27665 <reference> on page <page>
27667 will not print anything about the page if the label is on the same page.
27670 \begin_layout Standard
27671 The number and current page of the part of the document referred to in the output is automatically calculated by \SpecialChar LaTeX
27673 The varieties are adjusted in the field
27677 of the cross-reference window that appears when you click on the cross-reference box.
27680 \begin_layout Standard
27681 \begin_inset Note Greyedout
27684 \begin_layout Plain Layout
27690 It is recommended to use the \SpecialChar LaTeX
27696 \begin_inset Index idx
27701 \begin_layout Plain Layout
27704 \begin_inset IndexMacro subentry
27707 \begin_layout Plain Layout
27723 \begin_inset Index idx
27728 \begin_layout Plain Layout
27731 \begin_inset IndexMacro subentry
27734 \begin_layout Plain Layout
27745 does not know all of \SpecialChar LyX
27746 's possible label shortcuts
27750 \begin_layout Plain Layout
27751 \begin_inset Quotes eld
27755 \begin_inset Quotes erd
27758 is for example \SpecialChar LyX
27759 's shortcut for labels in figure captions.
27764 and is not internationalized.
27772 \begin_layout Subsection
27773 Automatic Reference Naming
27774 \begin_inset Index idx
27779 \begin_layout Plain Layout
27781 \begin_inset IndexMacro subentry
27784 \begin_layout Plain Layout
27785 Automatic Reference Naming
27798 \begin_layout Standard
27799 The \SpecialChar LaTeX
27805 \begin_inset Index idx
27810 \begin_layout Plain Layout
27813 \begin_inset IndexMacro subentry
27816 \begin_layout Plain Layout
27828 that is enabled in the
27837 provides a very useful feature that cross-references automatically include the name of the referenced floats (or text parts like
27842 So you will save having to write e.
27843 \begin_inset space \thinspace{}
27847 \begin_inset space \space{}
27851 \begin_inset Quotes eld
27855 \begin_inset Quotes erd
27858 before every reference to a figure.
27859 To use this feature,
27864 and insert this line to the \SpecialChar LaTeX
27868 \begin_layout Standard
27884 \begin_layout Standard
27885 When you prefer other reference names than the default ones,
27886 for example you want instead of
27887 \begin_inset Quotes eld
27891 \begin_inset Quotes erd
27895 \begin_inset Quotes eld
27899 \begin_inset space \thinspace{}
27903 \begin_inset Quotes eld
27907 you can redefine the name by inserting this in the preamble:
27910 \begin_layout Standard
27921 sectionautorefname}
27922 \begin_inset Newline newline
27926 \begin_inset Phantom HPhantom
27929 \begin_layout Plain Layout
27932 \begin_inset space ~
27945 \begin_layout Standard
27946 When you are using another document language than English,
27948 \begin_inset Newline newline
27964 where *** is the name of the language used.
27967 \begin_layout Standard
27968 To get automatic names,
27969 but not for certain reference types,
27970 for example not for equations,
27971 use this preamble code:
27974 \begin_layout Standard
27985 equationautorefname}[1]{}}
27988 \begin_layout Standard
27989 More about this topic can be found in
27994 \begin_inset CommandInset citation
28004 \begin_layout Standard
28005 \begin_inset Note Greyedout
28008 \begin_layout Plain Layout
28014 Automatic reference naming cannot be used when you use cross-references in the
28017 \begin_inset space ~
28023 as described in section
28024 \begin_inset space ~
28028 \begin_inset CommandInset ref
28030 reference "subsec:Cross-Reference-Formats"
28043 \begin_layout Standard
28048 manual is an example where automatic reference naming is used.
28051 \begin_layout Subsection
28053 \begin_inset CommandInset label
28055 name "subsec:Reference-Position"
28060 \begin_inset Index idx
28065 \begin_layout Plain Layout
28067 \begin_inset IndexMacro subentry
28070 \begin_layout Plain Layout
28084 \begin_layout Standard
28090 \begin_inset Index idx
28095 \begin_layout Plain Layout
28098 \begin_inset IndexMacro subentry
28101 \begin_layout Plain Layout
28120 dialog to link cross-references in the output,
28121 you will see that clicking on an image float reference jumps to the image label.
28122 The caption will be the first text part on the screen,
28123 so that you cannot see the image without scrolling.
28124 This is because the reference link anchor is placed at the position of the label.
28125 With the use of the package
28130 \begin_inset Index idx
28135 \begin_layout Plain Layout
28138 \begin_inset IndexMacro subentry
28141 \begin_layout Plain Layout
28153 which is part of the \SpecialChar LaTeX
28159 \begin_inset Index idx
28164 \begin_layout Plain Layout
28167 \begin_inset IndexMacro subentry
28170 \begin_layout Plain Layout
28182 the link anchor is placed at the beginning of a float.
28183 To use this feature for figure floats,
28188 in the document preamble with the line
28191 \begin_layout Standard
28196 usepackage[figure]{hypcap}
28199 \begin_layout Standard
28204 for all float types but this is not recommended for stability reasons.
28205 For more information,
28211 \begin_inset CommandInset citation
28221 \begin_layout Standard
28222 \begin_inset Note Greyedout
28225 \begin_layout Plain Layout
28235 has no effect on references to subfigures.
28243 \begin_layout Section
28245 \begin_inset CommandInset label
28247 name "sec:Float-Settings"
28252 \begin_inset Index idx
28257 \begin_layout Plain Layout
28259 \begin_inset IndexMacro subentry
28262 \begin_layout Plain Layout
28276 \begin_layout Standard
28277 Float Settings can be adjusted at two places in \SpecialChar LyX
28281 Document\SpecialChar menuseparator
28282 Settings\SpecialChar ldots
28283 \SpecialChar menuseparator
28287 you can set some options that are used by default for all floats of the document (placement on page and alignment of contents),
28288 unless you modify the local settings of a float.
28291 \begin_layout Standard
28292 The latter can be done by right-clicking on a float-box and clicking on
28294 Settings\SpecialChar ldots
28297 This opens a dialog where you can,
28298 now only for the given float,
28299 alter the global placement and alignment options,
28300 and adapt some other options that are only available for single floats.
28304 Document\SpecialChar menuseparator
28305 Settings\SpecialChar menuseparator
28313 are described in turn.
28316 \begin_layout Subsection
28318 \begin_inset CommandInset label
28320 name "sec:Float-Placement"
28325 \begin_inset Index idx
28330 \begin_layout Plain Layout
28332 \begin_inset IndexMacro subentry
28335 \begin_layout Plain Layout
28349 \begin_layout Standard
28352 Document\SpecialChar menuseparator
28353 Settings\SpecialChar menuseparator
28361 you can modify the placement algorithm that \SpecialChar LaTeX
28362 uses for positioning floats on the page,
28363 either for all floats (
28365 Document\SpecialChar menuseparator
28366 Settings\SpecialChar menuseparator
28369 ) or a particular float (local
28386 Document\SpecialChar menuseparator
28387 Settings\SpecialChar menuseparator
28390 (meaning that the default placement algorithm of the document class is used) or
28398 dialog (meaning that the settings in
28400 Document\SpecialChar menuseparator
28401 Settings\SpecialChar menuseparator
28405 which are the Class Defaults by default).
28406 If you want to change this,
28409 Placement Settings:
28417 This allows you to select one or more from:
28420 \begin_layout Description
28422 \begin_inset space ~
28426 \begin_inset space ~
28429 possible try to place the float on the position where it has been inserted
28432 \begin_layout Description
28434 \begin_inset space ~
28437 definitely forces the placement of the float on the position where it has been inserted
28440 \begin_layout Description
28442 \begin_inset space ~
28446 \begin_inset space ~
28449 page try to place the float at the top of the current page
28452 \begin_layout Description
28454 \begin_inset space ~
28458 \begin_inset space ~
28461 page try to place the float at the bottom of the current page
28464 \begin_layout Description
28466 \begin_inset space ~
28470 \begin_inset space ~
28473 floats try to place the float on its own page
28476 \begin_layout Standard
28477 The order of the above option is
28481 used by \SpecialChar LaTeX
28484 if you use the default placement,
28489 \begin_inset space ~
28493 \begin_inset space ~
28502 \begin_inset space ~
28506 \begin_inset space ~
28512 and then the others.
28513 If you do not use the default,
28515 will try only the checked options but in the same order.
28517 \begin_inset space ~
28520 placements is possible the procedure is internally repeated trying to put the float on the following page.
28523 \begin_layout Standard
28525 each option has its own rules:
28528 \begin_layout Labeling
28529 \labelwidthstring 00.00.0000
28533 \begin_inset space ~
28537 \begin_inset space ~
28542 only floats occupying less than 70
28543 \begin_inset space \thinspace{}
28546 % of the page can be placed at the top of a page (
28555 \begin_layout Labeling
28556 \labelwidthstring 00.00.0000
28560 \begin_inset space ~
28564 \begin_inset space ~
28570 only floats occupying less than 30
28571 \begin_inset space \thinspace{}
28574 % of the page can be placed at the bottom of a page.
28584 \begin_layout Labeling
28585 \labelwidthstring 00.00.0000
28589 \begin_inset space ~
28593 \begin_inset space ~
28599 only if more than 50
28600 \begin_inset space \thinspace{}
28603 % of the page is occupied by floats,
28604 several floats can be set together on a page.
28614 \begin_layout Standard
28615 If you don't like these rules,
28616 you can ignore them by using the additional option
28619 \begin_inset space ~
28624 \begin_inset space ~
28630 \begin_inset Newline newline
28633 You can also redefine the rules with \SpecialChar LaTeX
28634 -commands that are given in parentheses after the rules description above.
28635 To increase for example the often too small default of the bottom-rule to 50
28636 \begin_inset space \thinspace{}
28640 add this line to your document preamble:
28643 \begin_layout Standard
28650 bottomfraction}{0.5}
28653 \begin_layout Standard
28654 Sometimes you might need,
28655 under all circumstances,
28656 a float to be placed exactly at the position where it is inserted.
28657 For this case you can use the option
28660 \begin_inset space ~
28666 Use this option very rarely and only if the document is almost ready to be printed,
28667 because the float is then no longer able to
28668 \begin_inset Quotes eld
28672 \begin_inset Quotes erd
28675 when you change your document and this will often destroy the page layout.
28678 \begin_layout Standard
28679 There are no placement options for text wrap floats,
28680 because they are always surrounded by the text of a certain paragraph.
28681 \begin_inset VSpace bigskip
28687 \begin_layout Standard
28688 Sometimes you have the problem that a float is placed at the top of a page while its corresponding section starts at the middle of the page,
28689 so that the reader could think the float is part of the previous section.
28690 To avoid this the \SpecialChar LaTeX
28698 It suppresses a given float placement for the page where it is inserted and can therefore be used to avoid floats being set before a section starts.
28700 add these commands to your document preamble:
28703 \begin_layout Standard
28713 \begin_inset Newline newline
28727 \begin_layout Standard
28728 You can define the same for all section headings,
28729 like chapters and subsections.
28730 This definition is not recommended to be used for small text parts like subsubsections because \SpecialChar LaTeX
28731 may then have problems finding a suitable placement.
28734 \begin_layout Standard
28735 \begin_inset VSpace bigskip
28738 In some cases it is required to have all figures/tables at the end of the document.
28739 For this purpose the \SpecialChar LaTeX
28745 \begin_inset Index idx
28750 \begin_layout Plain Layout
28753 \begin_inset IndexMacro subentry
28756 \begin_layout Plain Layout
28768 It puts all figure and table floats at the end of the document into their own sections.
28769 At the original float position a text hint like
28770 \begin_inset Quotes eld
28776 \begin_inset space ~
28782 \begin_inset Quotes erd
28786 The endfloat-package is loaded in the preamble with the line
28789 \begin_layout Standard
28794 usepackage[options]{endfloat}
28797 \begin_layout Standard
28798 There are various package options to format the created figure/table sections.
28799 For more information we refer you to the
28804 \begin_inset CommandInset citation
28812 \begin_inset Newline newline
28816 \begin_inset Note Greyedout
28819 \begin_layout Plain Layout
28825 doesn't provide an automatic translation for the text hint,
28826 you have to do this manually,
28828 \begin_inset space ~
28832 \begin_inset CommandInset citation
28845 \begin_inset Newline newline
28849 \begin_inset Note Greyedout
28852 \begin_layout Plain Layout
28858 There is currently a bug in
28862 when the caption contains a German
28863 \begin_inset Quotes eld
28867 \begin_inset Quotes erd
28871 Use in this case the command
28872 \begin_inset Quotes eld
28882 \begin_inset Quotes erd
28885 in \SpecialChar TeX
28887 \begin_inset Quotes eld
28891 \begin_inset Quotes erd
28902 \begin_layout Standard
28903 \begin_inset VSpace bigskip
28906 For more details about float placements,
28907 have a look at \SpecialChar LaTeX
28910 \begin_inset CommandInset citation
28912 key "latexcompanion,latexguide,latexbook"
28920 \begin_layout Subsection
28921 Alignment of Float Contents
28924 \begin_layout Standard
28925 In this list of options,
28926 you can define how the contents of a float (or all floats by default,
28929 Document\SpecialChar menuseparator
28937 means that the alignment of the class,
28938 or the default alignment of \SpecialChar LaTeX
28945 (only visible in the
28952 Document\SpecialChar menuseparator
28955 ) takes the setting specified in
28957 Document\SpecialChar menuseparator
28958 Settings\SpecialChar menuseparator
28962 The other three options,
28978 are self-explanatory.
28979 If one of these is selected in
28981 Document\SpecialChar menuseparator
28982 Settings\SpecialChar menuseparator
28986 all floats of the document will have this setting by default (so it is fairly easy,
28988 to center all floats).
28991 \begin_layout Subsection
28992 Other Float Options
28995 \begin_layout Standard
28996 These two options are only visible in the local
29003 Document\SpecialChar menuseparator
29007 \begin_layout Standard
29011 \begin_inset space ~
29016 is useful for two-column documents:
29018 the float will span both columns on the page instead of being confined to just one.
29021 \begin_layout Standard
29025 \begin_inset space ~
29030 is used to rotate floats,
29032 \begin_inset CommandInset ref
29034 reference "sec:Rotated-Floats"
29042 \begin_layout Section
29044 \begin_inset CommandInset label
29046 name "sec:Rotated-Floats"
29051 \begin_inset Index idx
29056 \begin_layout Plain Layout
29058 \begin_inset IndexMacro subentry
29061 \begin_layout Plain Layout
29075 \begin_layout Standard
29076 Especially for wide tables you might have floats rotated.
29077 To rotate a whole float including the caption,
29078 right-click on the float-box and use the option
29081 \begin_inset space ~
29089 \begin_layout Standard
29090 Rotated floats are always placed on a page of their own (or column of their own;
29091 in case you have a multi-column document).
29092 You can let them span several columns using the float settings option
29095 \begin_inset space ~
29101 Floats are rotated so that you can read them from the outside margin.
29102 To force a certain rotation direction for all pages,
29103 you can add either the option
29111 to the document class options.
29114 \begin_layout Standard
29115 Referencing rotated floats is the same as for normal floats,
29116 the caption format is also the same:
29118 \begin_inset space ~
29122 \begin_inset CommandInset ref
29124 reference "tab:Rotated-table"
29129 is an example of a rotated table float.
29132 \begin_layout Standard
29133 \begin_inset Note Greyedout
29136 \begin_layout Plain Layout
29142 Not all DVI-viewers are able to display rotated floats.
29150 \begin_layout Standard
29151 \begin_inset Float table
29158 \begin_layout Plain Layout
29159 \begin_inset Caption Standard
29161 \begin_layout Plain Layout
29162 \begin_inset CommandInset label
29164 name "tab:Rotated-table"
29176 \begin_layout Plain Layout
29178 \begin_inset Tabular
29179 <lyxtabular version="3" rows="1" columns="5">
29180 <features tabularvalignment="middle">
29181 <column alignment="center" valignment="top">
29182 <column alignment="center" valignment="top">
29183 <column alignment="center" valignment="top">
29184 <column alignment="center" valignment="top">
29185 <column alignment="center" valignment="top">
29187 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29190 \begin_layout Plain Layout
29196 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29199 \begin_layout Plain Layout
29205 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29208 \begin_layout Plain Layout
29214 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29217 \begin_layout Plain Layout
29223 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29226 \begin_layout Plain Layout
29245 \begin_layout Section
29247 \begin_inset Index idx
29252 \begin_layout Plain Layout
29254 \begin_inset IndexMacro subentry
29257 \begin_layout Plain Layout
29271 \begin_layout Standard
29272 Subfloats are for example used when a figure consists of several images.
29273 They are created by inserting a float into an existing float.
29274 The placement of the subfloats can be controlled in the same way as for paragraphs as shown in table
29275 \begin_inset space ~
29279 \begin_inset CommandInset ref
29281 reference "tab:Two-subtables-side"
29287 \begin_inset CommandInset ref
29289 reference "tab:Two-subtables-upon"
29297 \begin_layout Standard
29298 Referencing subfloats works as for normal floats:
29300 \begin_inset space ~
29304 \begin_inset CommandInset ref
29306 reference "tab:This-is-subtable-a"
29312 \begin_inset CommandInset ref
29314 reference "tab:This-is-subtable-b"
29319 are subtables of table
29320 \begin_inset space ~
29324 \begin_inset CommandInset ref
29326 reference "tab:Two-subtables-side"
29334 \begin_layout Standard
29335 \begin_inset Float table
29342 \begin_layout Plain Layout
29343 \begin_inset Caption Standard
29345 \begin_layout Plain Layout
29346 \begin_inset CommandInset label
29348 name "tab:Two-subtables-side"
29352 Two subtables placed side by side.
29360 \begin_layout Plain Layout
29362 \begin_inset space \hfill{}
29366 \begin_inset Float table
29373 \begin_layout Plain Layout
29374 \begin_inset Caption Standard
29376 \begin_layout Plain Layout
29377 \begin_inset CommandInset label
29379 name "tab:This-is-subtable-a"
29383 This is subtable a.
29391 \begin_layout Plain Layout
29393 \begin_inset Tabular
29394 <lyxtabular version="3" rows="1" columns="5">
29395 <features tabularvalignment="middle">
29396 <column alignment="center" valignment="top">
29397 <column alignment="center" valignment="top">
29398 <column alignment="center" valignment="top">
29399 <column alignment="center" valignment="top">
29400 <column alignment="center" valignment="top">
29402 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29405 \begin_layout Plain Layout
29411 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29414 \begin_layout Plain Layout
29420 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29423 \begin_layout Plain Layout
29429 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29432 \begin_layout Plain Layout
29438 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29441 \begin_layout Plain Layout
29458 \begin_inset space \hfill{}
29462 \begin_inset Float table
29469 \begin_layout Plain Layout
29470 \begin_inset Caption Standard
29472 \begin_layout Plain Layout
29473 \begin_inset CommandInset label
29475 name "tab:This-is-subtable-b"
29479 This is subtable b.
29487 \begin_layout Plain Layout
29489 \begin_inset Tabular
29490 <lyxtabular version="3" rows="1" columns="5">
29491 <features tabularvalignment="middle">
29492 <column alignment="center" valignment="top">
29493 <column alignment="center" valignment="top">
29494 <column alignment="center" valignment="top">
29495 <column alignment="center" valignment="top">
29496 <column alignment="center" valignment="top">
29498 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29501 \begin_layout Plain Layout
29507 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29510 \begin_layout Plain Layout
29516 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29519 \begin_layout Plain Layout
29525 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29528 \begin_layout Plain Layout
29534 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29537 \begin_layout Plain Layout
29554 \begin_inset space \hfill{}
29565 \begin_layout Standard
29566 \begin_inset Float table
29573 \begin_layout Plain Layout
29574 \begin_inset Caption Standard
29576 \begin_layout Plain Layout
29577 \begin_inset CommandInset label
29579 name "tab:Two-subtables-upon"
29583 Two subtables placed one above the other.
29584 (a) table with 4 cells,
29585 (b) table with 5 cells.
29593 \begin_layout Plain Layout
29595 \begin_inset Float table
29602 \begin_layout Plain Layout
29603 \begin_inset Caption Standard
29605 \begin_layout Plain Layout
29614 \begin_layout Plain Layout
29616 \begin_inset Tabular
29617 <lyxtabular version="3" rows="1" columns="4">
29618 <features tabularvalignment="middle">
29619 <column alignment="center" valignment="top">
29620 <column alignment="center" valignment="top">
29621 <column alignment="center" valignment="top">
29622 <column alignment="center" valignment="top">
29624 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29627 \begin_layout Plain Layout
29633 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29636 \begin_layout Plain Layout
29642 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29645 \begin_layout Plain Layout
29651 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29654 \begin_layout Plain Layout
29673 \begin_layout Plain Layout
29675 \begin_inset Float table
29682 \begin_layout Plain Layout
29683 \begin_inset Caption Standard
29685 \begin_layout Plain Layout
29694 \begin_layout Plain Layout
29696 \begin_inset Tabular
29697 <lyxtabular version="3" rows="1" columns="5">
29698 <features tabularvalignment="middle">
29699 <column alignment="center" valignment="top">
29700 <column alignment="center" valignment="top">
29701 <column alignment="center" valignment="top">
29702 <column alignment="center" valignment="top">
29703 <column alignment="center" valignment="top">
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" usebox="none">
29735 \begin_layout Plain Layout
29741 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29744 \begin_layout Plain Layout
29768 \begin_layout Section
29769 Floats Side by Side
29770 \begin_inset Index idx
29775 \begin_layout Plain Layout
29777 \begin_inset IndexMacro subentry
29780 \begin_layout Plain Layout
29794 \begin_layout Standard
29795 To place floats side by side,
29797 \begin_inset space ~
29801 \begin_inset CommandInset ref
29803 reference "fig:Float-left"
29809 \begin_inset CommandInset ref
29811 reference "fig:Float-right"
29822 In it two minipage boxes are inserted.
29826 \begin_layout Plain Layout
29827 Minipages are explained in section
29828 \begin_inset space ~
29832 \begin_inset CommandInset ref
29834 reference "sec:Minipages"
29844 The width is set to 45
29845 \begin_inset space \thinspace{}
29849 \begin_inset space \thinspace{}
29852 column% and the box alignment to
29857 The minipage boxes contain the image and the caption in the same way as they are in a float.
29858 The only difference is that the image unit
29861 \begin_inset space ~
29865 \begin_inset space ~
29870 is now calculated according to the width of the minipage boxes.
29873 \begin_layout Standard
29874 \begin_inset Float figure
29881 \begin_layout Plain Layout
29882 \begin_inset Box Frameless
29892 height_special "totalheight"
29897 backgroundcolor "none"
29900 \begin_layout Plain Layout
29902 \begin_inset Graphics
29903 filename clipart/2D-intensity-plot.pdf
29905 scaleBeforeRotation
29912 \begin_layout Plain Layout
29913 \begin_inset Caption Standard
29915 \begin_layout Plain Layout
29916 \begin_inset CommandInset label
29918 name "fig:Float-left"
29922 Float on the left side.
29933 \begin_inset space \hfill{}
29937 \begin_inset Box Frameless
29947 height_special "totalheight"
29952 backgroundcolor "none"
29955 \begin_layout Plain Layout
29957 \begin_inset Graphics
29958 filename clipart/Star-structure.pdf
29960 scaleBeforeRotation
29967 \begin_layout Plain Layout
29968 \begin_inset Caption Standard
29970 \begin_layout Plain Layout
29971 \begin_inset CommandInset label
29973 name "fig:Float-right"
29977 Float on the right side.
29995 \begin_layout Standard
29996 An alternative and simpler solution is to use the module
29998 Variable-width Minipages
30002 \begin_inset space \thinspace{}
30006 \begin_inset CommandInset ref
30008 reference "sec:Minipages"
30014 Variable-width minipages adapt automatically to the width of the figures and tables.
30015 They do not require an explicit width to be given,
30016 and they improve the horizontal alignment of the figures.
30017 The LyX example file
30019 varwidth-floats-side-by-side
30021 gives examples of how to do this.
30024 \begin_layout Section
30026 \begin_inset Index idx
30031 \begin_layout Plain Layout
30033 \begin_inset IndexMacro subentry
30036 \begin_layout Plain Layout
30048 \begin_inset Index idx
30053 \begin_layout Plain Layout
30055 \begin_inset IndexMacro subentry
30058 \begin_layout Plain Layout
30070 \begin_inset CommandInset label
30072 name "sec:Caption-Formatting"
30079 \begin_layout Standard
30084 environment is the default paragraph environment for
30089 On the \SpecialChar LyX
30090 screen captions appear as a label,
30092 \begin_inset space \thinspace{}
30096 \begin_inset space \space{}
30100 \begin_inset Quotes eld
30108 \begin_inset Quotes erd
30111 followed by the caption text.
30113 \begin_inset Quotes eld
30117 \begin_inset Quotes erd
30120 is the actual reference number.
30121 By default the label and the number are in the same font as the caption text and a colon follows the number to divide the label from the text.
30122 This caption format is suitable for many but not all documents.
30126 \begin_layout Standard
30127 To change the default caption format,
30128 load the \SpecialChar LaTeX
30134 \begin_inset Index idx
30139 \begin_layout Plain Layout
30142 \begin_inset IndexMacro subentry
30145 \begin_layout Plain Layout
30156 in the document preamble with this line:
30159 \begin_layout Standard
30164 usepackage[format definition]{caption}
30167 \begin_layout Standard
30168 To have for example the label and the number in sans-serif,
30169 bold font and the table captions always above the table as in this document,
30170 use the following command:
30173 \begin_layout Standard
30178 usepackage[labelfont={bf,sf},
30179 tableposition=top]{caption}
30182 \begin_layout Standard
30183 You can also define different caption formats for the different float types.
30184 In this case load the
30188 package without format specific options and define the different formats with the help of the command
30191 \begin_layout Standard
30196 captionsetup[float type]{format definition}
30199 \begin_layout Standard
30200 in the document preamble.
30201 For example the caption formats of Figure
30202 \begin_inset space ~
30206 \begin_inset CommandInset ref
30208 reference "fig:This-is-an-fig"
30214 \begin_inset space ~
30218 \begin_inset CommandInset ref
30220 reference "tab:This-is-an-tab"
30225 can be created using these commands in the document preamble:
30228 \begin_layout Standard
30233 usepackage[tableposition=top]{caption}
30236 \begin_inset Newline newline
30243 captionsetup[figure]{labelfont={tt},
30246 \begin_inset Newline newline
30250 \begin_inset Phantom HPhantom
30253 \begin_layout Plain Layout
30258 captionsetup[figure]{
30264 \begin_inset Newline newline
30269 captionsetup[table]{labelfont={bf,sf}}
30272 \begin_layout Standard
30273 \begin_inset Note Greyedout
30276 \begin_layout Plain Layout
30286 has no effect when a
30291 \begin_inset Index idx
30296 \begin_layout Plain Layout
30299 \begin_inset IndexMacro subentry
30302 \begin_layout Plain Layout
30313 document class is used.
30314 In this case the document class option
30316 captions=tableheading
30326 \begin_layout Standard
30327 For more information about the package
30331 we refer to its documentation
30332 \begin_inset CommandInset citation
30342 \begin_layout Standard
30343 To change the label name from e.
30344 \begin_inset space \thinspace{}
30348 \begin_inset space \space{}
30352 \begin_inset Quotes eld
30356 \begin_inset Quotes erd
30360 \begin_inset Quotes eld
30364 \begin_inset Quotes erd
30367 use this preamble command:
30370 \begin_layout Standard
30377 fnum@figure}{Image~
30382 \begin_layout Standard
30389 inserts the figure number and
30392 \begin_inset Quotes eld
30398 \begin_inset Quotes erd
30401 creates a non-breaking space.
30404 \begin_layout Standard
30405 \begin_inset VSpace bigskip
30413 \begin_inset Index idx
30418 \begin_layout Plain Layout
30421 \begin_inset IndexMacro subentry
30424 \begin_layout Plain Layout
30437 article (KOMA-Script)
30447 letter (KOMA-Script)
30452 report (KOMA-Script)
30455 \begin_inset space \thinspace{}
30459 you can alternatively to the
30467 's built-in command
30475 to have the caption label in bold,
30476 add this command to your document preamble:
30479 \begin_layout Standard
30484 setkomafont{captionlabel}{
30489 \begin_layout Standard
30490 For more information about
30501 \begin_inset CommandInset citation
30511 \begin_layout Standard
30515 \begin_layout Plain Layout
30519 captionsetup[figure]{labelfont={tt},
30528 \begin_inset Note Note
30531 \begin_layout Plain Layout
30532 The caption format is changed only for this example.
30540 \begin_layout Standard
30541 \begin_inset Float figure
30548 \begin_layout Plain Layout
30550 \begin_inset Graphics
30551 filename clipart/2D-intensity-plot.pdf
30552 scaleBeforeRotation
30559 \begin_layout Plain Layout
30560 \begin_inset Caption Standard
30562 \begin_layout Plain Layout
30563 \begin_inset CommandInset label
30565 name "fig:This-is-an-fig"
30569 This is an example figure caption that is longer than one line to show the different caption format.
30570 Here a self-defined caption format is used.
30583 \begin_layout Standard
30587 \begin_layout Plain Layout
30591 captionsetup[figure]{labelfont={bf,sf},
30602 \begin_layout Standard
30603 \begin_inset Float table
30610 \begin_layout Plain Layout
30611 \begin_inset Caption Standard
30613 \begin_layout Plain Layout
30614 \begin_inset CommandInset label
30616 name "tab:This-is-an-tab"
30620 This is an example table caption that is longer than one line to show the different caption format.
30621 Here the standard caption format for tables in this document is used.
30629 \begin_layout Plain Layout
30631 \begin_inset Tabular
30632 <lyxtabular version="3" rows="1" columns="5">
30633 <features tabularvalignment="middle">
30634 <column alignment="center" valignment="top">
30635 <column alignment="center" valignment="top">
30636 <column alignment="center" valignment="top">
30637 <column alignment="center" valignment="top">
30638 <column alignment="center" valignment="top">
30640 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30643 \begin_layout Plain Layout
30649 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30652 \begin_layout Plain Layout
30658 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30661 \begin_layout Plain Layout
30667 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30670 \begin_layout Plain Layout
30676 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30679 \begin_layout Plain Layout
30698 \begin_layout Section
30700 \begin_inset Index idx
30705 \begin_layout Plain Layout
30707 \begin_inset IndexMacro subentry
30710 \begin_layout Plain Layout
30722 \begin_inset Index idx
30727 \begin_layout Plain Layout
30729 \begin_inset IndexMacro subentry
30732 \begin_layout Plain Layout
30744 \begin_inset CommandInset label
30746 name "sec:Caption-Placement"
30753 \begin_layout Standard
30754 The common caption placement rule is:
30757 \begin_layout Description
30759 Caption is set below the figure
30762 \begin_layout Description
30764 Caption is set above the table
30767 \begin_layout Standard
30768 Having the caption above the table is unfortunately not supported in \SpecialChar LaTeX
30769 's standard classes.
30770 That means if you are using the document classes
30789 there will be no space between the caption and the table.
30790 To insert the necessary space,
30791 load the \SpecialChar LaTeX
30797 \begin_inset Index idx
30802 \begin_layout Plain Layout
30805 \begin_inset IndexMacro subentry
30808 \begin_layout Plain Layout
30819 in your document preamble with the option
30823 \begin_layout Plain Layout
30825 \begin_inset space ~
30829 \begin_inset CommandInset ref
30831 reference "sec:Caption-Formatting"
30836 for more information of the package
30848 \begin_layout Standard
30854 \begin_layout Standard
30860 \begin_inset Index idx
30865 \begin_layout Plain Layout
30868 \begin_inset IndexMacro subentry
30871 \begin_layout Plain Layout
30884 article (KOMA-Script)
30894 letter (KOMA-Script)
30899 report (KOMA-Script)
30902 \begin_inset space \thinspace{}
30906 you can alternatively to the
30910 package set the document class option
30914 \begin_layout Plain Layout
30915 That option is used in this document.
30923 \begin_layout Standard
30926 captions=tableheading
30929 \begin_layout Standard
30930 In documents with a KOMA-Script document class you can also right-click on a caption and mark in the context menu if this should be a caption above or below the table/figure.
30931 This way you can override the document-wide caption placement for certain captions.
30933 \begin_inset space ~
30937 \begin_inset CommandInset ref
30939 reference "tab:A-caption-marked"
30944 is an example where the caption is marked a being below the table while it is above.
30945 For comparison the caption in Table
30946 \begin_inset space ~
30950 \begin_inset CommandInset ref
30952 reference "tab:A-standard-table"
30960 \begin_layout Standard
30961 \begin_inset Float table
30968 \begin_layout Plain Layout
30969 \begin_inset Caption Below
30971 \begin_layout Plain Layout
30972 \begin_inset CommandInset label
30974 name "tab:A-caption-marked"
30978 A caption marked as being below the table.
30986 \begin_layout Plain Layout
30988 \begin_inset Tabular
30989 <lyxtabular version="3" rows="3" columns="3">
30990 <features tabularvalignment="middle">
30991 <column alignment="center" valignment="top" width="0pt">
30992 <column alignment="center" valignment="top" width="0pt">
30993 <column alignment="center" valignment="top" width="0pt">
30995 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30998 \begin_layout Plain Layout
31004 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31007 \begin_layout Plain Layout
31013 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31016 \begin_layout Plain Layout
31024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31027 \begin_layout Plain Layout
31033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31036 \begin_layout Plain Layout
31042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31045 \begin_layout Plain Layout
31053 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31056 \begin_layout Plain Layout
31057 \begin_inset Formula $\int x^{2}dx$
31065 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31068 \begin_layout Plain Layout
31069 \begin_inset Formula $\left[\begin{array}{cc}
31072 \end{array}\right]$
31080 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31083 \begin_layout Plain Layout
31084 \begin_inset Formula $1+1=2$
31105 \begin_layout Standard
31106 \begin_inset Float table
31113 \begin_layout Plain Layout
31114 \begin_inset Caption Standard
31116 \begin_layout Plain Layout
31117 \begin_inset CommandInset label
31119 name "tab:A-standard-table"
31123 A standard table caption.
31131 \begin_layout Plain Layout
31133 \begin_inset Tabular
31134 <lyxtabular version="3" rows="3" columns="3">
31135 <features tabularvalignment="middle">
31136 <column alignment="center" valignment="top" width="0pt">
31137 <column alignment="center" valignment="top" width="0pt">
31138 <column alignment="center" valignment="top" width="0pt">
31140 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31143 \begin_layout Plain Layout
31149 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31152 \begin_layout Plain Layout
31158 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31161 \begin_layout Plain Layout
31169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31172 \begin_layout Plain Layout
31178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31181 \begin_layout Plain Layout
31187 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31190 \begin_layout Plain Layout
31198 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31201 \begin_layout Plain Layout
31202 \begin_inset Formula $\int x^{2}dx$
31210 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31213 \begin_layout Plain Layout
31214 \begin_inset Formula $\left[\begin{array}{cc}
31217 \end{array}\right]$
31225 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31228 \begin_layout Plain Layout
31229 \begin_inset Formula $1+1=2$
31250 \begin_layout Standard
31251 \begin_inset VSpace bigskip
31254 It is also possible to set the caption beside a figure or table.
31255 To get this the \SpecialChar LaTeX
31261 \begin_inset Index idx
31266 \begin_layout Plain Layout
31269 \begin_inset IndexMacro subentry
31272 \begin_layout Plain Layout
31283 has to be loaded in the document preamble with the line
31286 \begin_layout Standard
31291 usepackage[option]{sidecap}
31294 \begin_layout Standard
31295 If you set no option,
31296 the caption is placed on the side of the outer page margin – to the right on odd pages,
31297 to the left on even pages.
31298 You can change the placement to inner margin with the option
31303 To force the placement always to the right or left,
31316 \begin_layout Standard
31320 \begin_layout Plain Layout
31330 \begin_inset Note Note
31333 \begin_layout Plain Layout
31334 The following section will only be displayed when the \SpecialChar LaTeX
31347 \begin_layout Standard
31348 To place in \SpecialChar LyX
31349 the caption of a float on the side,
31350 it is necessary to add these commands to the document preamble:
31353 \begin_layout Standard
31355 \begin_inset CommandInset line
31366 \begin_layout Standard
31373 TabBesBeg}[1][1.0]{%
31374 \begin_inset Newline newline
31378 \begin_inset Phantom HPhantom
31381 \begin_layout Plain Layout
31382 \begin_inset space ~
31397 \begin_inset Newline newline
31401 \begin_inset Phantom HPhantom
31404 \begin_layout Plain Layout
31407 \begin_inset space ~
31422 \begin_inset Newline newline
31426 \begin_inset Phantom HPhantom
31429 \begin_layout Plain Layout
31432 \begin_inset space ~
31442 renewenvironment{table}[1]{
31444 begin{SCtable}[#1]##1}{
31449 \begin_layout Standard
31457 \begin_inset Newline newline
31461 \begin_inset Phantom HPhantom
31464 \begin_layout Plain Layout
31465 \begin_inset space ~
31480 \begin_inset Newline newline
31484 \begin_inset Phantom HPhantom
31487 \begin_layout Plain Layout
31488 \begin_inset space ~
31505 \begin_layout Standard
31512 FigBesBeg}[1][1.0]{%
31513 \begin_inset Newline newline
31517 \begin_inset Phantom HPhantom
31520 \begin_layout Plain Layout
31521 \begin_inset space ~
31536 \begin_inset Newline newline
31540 \begin_inset Phantom HPhantom
31543 \begin_layout Plain Layout
31544 \begin_inset space ~
31559 \begin_inset Newline newline
31563 \begin_inset Phantom HPhantom
31566 \begin_layout Plain Layout
31567 \begin_inset space ~
31577 renewenvironment{figure}[1]{
31579 begin{SCfigure}[#1]##1}{
31584 \begin_layout Standard
31592 \begin_inset Newline newline
31596 \begin_inset Phantom HPhantom
31599 \begin_layout Plain Layout
31600 \begin_inset space ~
31615 \begin_inset Newline newline
31619 \begin_inset Phantom HPhantom
31622 \begin_layout Plain Layout
31623 \begin_inset space ~
31640 \begin_layout Standard
31642 \begin_inset CommandInset line
31653 \begin_layout Standard
31654 The commands allow you to redefine the floats so that the caption is set on the side.
31655 For figure floats use the command
31658 \begin_layout Standard
31666 \begin_layout Standard
31667 in \SpecialChar TeX
31668 Code before the float.
31669 And insert the command
31672 \begin_layout Standard
31680 \begin_layout Standard
31681 in \SpecialChar TeX
31682 Code at the point where you want to get back to the original float definition.
31685 \begin_layout Standard
31686 For table floats use the corresponding commands
31689 \begin_layout Standard
31703 \begin_layout Standard
31705 \begin_inset space ~
31709 \begin_inset CommandInset ref
31711 reference "fig:cap-beside-fig"
31717 \begin_inset space ~
31721 \begin_inset CommandInset ref
31723 reference "tab:cap-beside-tab"
31728 are examples where the caption is set beside.
31731 \begin_layout Standard
31732 You can see in the examples that the caption text appears at the top of the floats for table floats and at the bottom for figure floats.
31734 you can use the command
31737 \begin_layout Standard
31742 sidecaptionvpos{float type}{placement}
31745 \begin_layout Standard
31746 in the document preamble or in \SpecialChar TeX
31747 Code before the float.
31748 The float type is either
31757 the placement can be
31758 \begin_inset Quotes eld
31766 \begin_inset Quotes erd
31771 \begin_inset Quotes eld
31779 \begin_inset Quotes erd
31784 \begin_inset Quotes eld
31792 \begin_inset Quotes erd
31796 To have for example the caption of figure floats vertically centered,
31800 \begin_layout Standard
31805 sidecaptionvpos{figure}{c}
31808 \begin_layout Standard
31809 This was used for Figure
31810 \begin_inset space ~
31814 \begin_inset CommandInset ref
31816 reference "fig:cap-beside-fig-2"
31824 \begin_layout Standard
31825 \begin_inset VSpace medskip
31831 \begin_layout Standard
31832 The default caption width is the width of the image/table.
31833 For thin image/tables,
31835 \begin_inset space ~
31839 \begin_inset CommandInset ref
31841 reference "tab:cap-beside-tab"
31847 this leads to captions that are too thin.
31848 You can increase the width by specifying a factor that will be multiplied with the image/table width to get the caption width.
31849 The caption width will automatically be recalculated in case it would protrude over the page or column margin due to the specified width.
31854 can either be given as optional argument for
31863 \begin_layout Standard
31871 \begin_layout Standard
31872 or in the definition of
31882 with another value.
31883 If you do the latter,
31884 your factor will be the default if
31890 is used without an argument.
31892 \begin_inset space ~
31896 \begin_inset CommandInset ref
31898 reference "tab:cap-beside-tab-wider"
31903 the factor 5 was used.
31906 \begin_layout Standard
31907 \begin_inset Note Greyedout
31910 \begin_layout Plain Layout
31916 For floats with captions set beside,
31917 you cannot use the float placement option
31920 \begin_inset space ~
31925 because it is not supported by
31937 \begin_layout Standard
31938 \begin_inset VSpace medskip
31941 For more information about the package
31945 we refer to its documentation
31946 \begin_inset CommandInset citation
31956 \begin_layout Standard
31957 \begin_inset Note Greyedout
31960 \begin_layout Plain Layout
31966 The \SpecialChar LaTeX
31972 \begin_inset Index idx
31977 \begin_layout Plain Layout
31980 \begin_inset IndexMacro subentry
31983 \begin_layout Plain Layout
31995 described in section
31996 \begin_inset space ~
32000 \begin_inset CommandInset ref
32002 reference "subsec:Reference-Position"
32008 has no effect on floats with the caption set beside.
32016 \begin_layout Standard
32020 \begin_layout Plain Layout
32032 \begin_layout Standard
32033 \begin_inset Float figure
32040 \begin_layout Plain Layout
32041 \begin_inset Graphics
32042 filename clipart/3D-structure-distort.pdf
32044 scaleBeforeRotation
32051 \begin_layout Plain Layout
32052 \begin_inset Caption Standard
32054 \begin_layout Plain Layout
32055 \begin_inset CommandInset label
32057 name "fig:cap-beside-fig"
32061 This is a caption beside a figure.
32074 \begin_layout Standard
32078 \begin_layout Plain Layout
32090 \begin_layout Standard
32094 \begin_layout Plain Layout
32106 \begin_layout Standard
32107 \begin_inset Float table
32114 \begin_layout Plain Layout
32115 \begin_inset Caption Standard
32117 \begin_layout Plain Layout
32118 \begin_inset CommandInset label
32120 name "tab:cap-beside-tab"
32124 This is a caption beside a table.
32132 \begin_layout Plain Layout
32133 \begin_inset Tabular
32134 <lyxtabular version="3" rows="4" columns="5">
32135 <features tabularvalignment="middle">
32136 <column alignment="center" valignment="top">
32137 <column alignment="center" valignment="top">
32138 <column alignment="center" valignment="top">
32139 <column alignment="center" valignment="top">
32140 <column alignment="center" valignment="top">
32142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32145 \begin_layout Plain Layout
32151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32154 \begin_layout Plain Layout
32160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32163 \begin_layout Plain Layout
32169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32172 \begin_layout Plain Layout
32178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32181 \begin_layout Plain Layout
32189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32192 \begin_layout Plain Layout
32198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32201 \begin_layout Plain Layout
32207 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32210 \begin_layout Plain Layout
32216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32219 \begin_layout Plain Layout
32225 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32228 \begin_layout Plain Layout
32236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32239 \begin_layout Plain Layout
32245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32248 \begin_layout Plain Layout
32254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32257 \begin_layout Plain Layout
32263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32266 \begin_layout Plain Layout
32272 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32275 \begin_layout Plain Layout
32283 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32286 \begin_layout Plain Layout
32292 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32295 \begin_layout Plain Layout
32301 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32304 \begin_layout Plain Layout
32310 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32313 \begin_layout Plain Layout
32319 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32322 \begin_layout Plain Layout
32341 \begin_layout Standard
32345 \begin_layout Plain Layout
32357 \begin_layout Standard
32361 \begin_layout Plain Layout
32374 \begin_layout Plain Layout
32378 sidecaptionvpos{figure}{c}
32384 \begin_inset Float figure
32391 \begin_layout Plain Layout
32392 \begin_inset Graphics
32393 filename clipart/3D-structure-distort.pdf
32395 scaleBeforeRotation
32402 \begin_layout Plain Layout
32403 \begin_inset Caption Standard
32405 \begin_layout Plain Layout
32406 \begin_inset CommandInset label
32408 name "fig:cap-beside-fig-2"
32412 This is a vertically centered caption beside a figure.
32425 \begin_layout Standard
32429 \begin_layout Plain Layout
32441 \begin_layout Standard
32445 \begin_layout Plain Layout
32457 \begin_layout Standard
32458 \begin_inset Float table
32465 \begin_layout Plain Layout
32466 \begin_inset Caption Standard
32468 \begin_layout Plain Layout
32469 \begin_inset CommandInset label
32471 name "tab:cap-beside-tab-wider"
32475 This caption is wider than the one in Table
32476 \begin_inset space ~
32480 \begin_inset CommandInset ref
32482 reference "tab:cap-beside-tab"
32495 \begin_layout Plain Layout
32496 \begin_inset Tabular
32497 <lyxtabular version="3" rows="4" columns="5">
32498 <features tabularvalignment="middle">
32499 <column alignment="center" valignment="top">
32500 <column alignment="center" valignment="top">
32501 <column alignment="center" valignment="top">
32502 <column alignment="center" valignment="top">
32503 <column alignment="center" valignment="top">
32505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32508 \begin_layout Plain Layout
32514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32517 \begin_layout Plain Layout
32523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32526 \begin_layout Plain Layout
32532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32535 \begin_layout Plain Layout
32541 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32544 \begin_layout Plain Layout
32552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32555 \begin_layout Plain Layout
32561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32564 \begin_layout Plain Layout
32570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32573 \begin_layout Plain Layout
32579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32582 \begin_layout Plain Layout
32588 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32591 \begin_layout Plain Layout
32599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32602 \begin_layout Plain Layout
32608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32611 \begin_layout Plain Layout
32617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32620 \begin_layout Plain Layout
32626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32629 \begin_layout Plain Layout
32635 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32638 \begin_layout Plain Layout
32646 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32649 \begin_layout Plain Layout
32655 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32658 \begin_layout Plain Layout
32664 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32667 \begin_layout Plain Layout
32673 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32676 \begin_layout Plain Layout
32682 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32685 \begin_layout Plain Layout
32704 \begin_layout Standard
32708 \begin_layout Plain Layout
32720 \begin_layout Standard
32724 \begin_layout Plain Layout
32734 \begin_inset Note Note
32737 \begin_layout Plain Layout
32738 The following will be displayed when the \SpecialChar LaTeX
32751 \begin_layout Standard
32752 You need to install the \SpecialChar LaTeX
32757 to see the following part of this section in the output.
32760 \begin_layout Standard
32764 \begin_layout Plain Layout
32776 \begin_layout Section
32778 \begin_inset Index idx
32783 \begin_layout Plain Layout
32785 \begin_inset IndexMacro subentry
32788 \begin_layout Plain Layout
32802 \begin_layout Standard
32803 Similar to the table of contents where the sections of the document are listed,
32804 there are listings for all float types,
32805 like the figures of the documents.
32806 You can insert them via the
32808 Insert\SpecialChar menuseparator
32810 \begin_inset space ~
32814 \begin_inset space ~
32822 \begin_layout Standard
32823 The list entries are the float captions or its short title,
32825 and the page number where they appear in the document.
32828 \begin_layout Standard
32829 You can find the list of figures and tables at the end of this document.
32832 \begin_layout Chapter
32836 \begin_layout Section
32839 \begin_inset Index idx
32844 \begin_layout Plain Layout
32846 \begin_inset IndexMacro subentry
32849 \begin_layout Plain Layout
32864 \begin_layout Standard
32865 Notes are inserted with the toolbar button
32873 Insert\SpecialChar menuseparator
32877 There are three types of notes:
32880 \begin_layout Description
32883 \begin_inset space ~
32886 Note This note type is for internal notes that won't appear in the output.
32887 Its note-box looks like this:
32888 \begin_inset Newline newline
32892 \begin_inset Newline newline
32896 \begin_inset Graphics
32897 filename clipart/LyXNoteImage.png
32899 scaleBeforeRotation
32904 \begin_inset Note Note
32907 \begin_layout Plain Layout
32908 This is text in a note box that doesn't appear in the output.
32916 \begin_layout Description
32917 Comment This note also doesn't appear in the output but it appears as \SpecialChar LaTeX
32919 when you export the document to \SpecialChar LaTeX
32922 File\SpecialChar menuseparator
32923 Export\SpecialChar menuseparator
32925 \begin_inset space ~
32928 (pdflatex) / (plain)
32931 Its note-box looks like this:
32932 \begin_inset Newline newline
32936 \begin_inset Newline newline
32940 \begin_inset Graphics
32941 filename clipart/CommentNoteImage.png
32943 scaleBeforeRotation
32948 \begin_inset Note Comment
32951 \begin_layout Plain Layout
32952 This is text in a note box that only appears as comment in \SpecialChar LaTeX
32961 \begin_layout Description
32963 \begin_inset space ~
32966 Out This note will appear in the output as grey text.
32967 Its note-box looks like this:
32968 \begin_inset Newline newline
32972 \begin_inset Newline newline
32976 \begin_inset Graphics
32977 filename clipart/GreyedOutNoteImage.png
32979 scaleBeforeRotation
32984 \begin_inset Newline newline
32991 \begin_layout Plain Layout
32995 renewenvironment{lyxgreyedout}
32998 \begin_layout Plain Layout
33002 textcolor[gray]{0.8}
33012 \begin_inset Note Greyedout
33015 \begin_layout Plain Layout
33016 This is text of a comment that appears grey in the output.
33025 \begin_layout Plain Layout
33029 renewenvironment{lyxgreyedout}
33032 \begin_layout Plain Layout
33046 \begin_inset Note Note
33049 \begin_layout Plain Layout
33050 The greyed out note is here redefined to show it with the original \SpecialChar LyX
33051 definition because greyed out notes are redefined in the preamble of this document,
33052 as described below,
33059 \begin_inset Newline newline
33063 \begin_inset Newline newline
33066 As you can see in the example,
33067 the first line of greyed out notes is a bit indented and greyed out notes can have footnotes.
33070 \begin_layout Standard
33071 \begin_inset VSpace bigskip
33074 When you use the toolbar button
33085 \begin_inset space ~
33091 You can switch between the three note types by right-clicking on the note-box.
33096 If you want to turn existing text into a note,
33097 mark it and click on the note
33110 To change a note to text,
33111 press the backspace key when the cursor is in the first position of a note,
33112 or press the delete key when the cursor is in the very last position of the note,
33116 \begin_layout Standard
33117 \begin_inset VSpace bigskip
33120 You can change the text color of the greyed out notes in the menu
33122 Document\SpecialChar menuseparator
33123 Settings\SpecialChar menuseparator
33129 \begin_layout Section
33131 \begin_inset CommandInset label
33133 name "sec:Footnotes"
33138 \begin_inset Index idx
33143 \begin_layout Plain Layout
33145 \begin_inset IndexMacro subentry
33148 \begin_layout Plain Layout
33160 \begin_inset Index idx
33165 \begin_layout Plain Layout
33174 \begin_layout Standard
33175 Footnotes can be inserted using the toolbar button
33178 arg "footnote-insert"
33183 Insert\SpecialChar menuseparator
33187 You will then see the following footnote-box:
33189 \begin_inset Graphics
33190 filename clipart/footnote.png
33192 scaleBeforeRotation
33200 where you can enter the footnote text.
33201 If you want to turn existing text into a footnote,
33202 mark it and click on the footnote
33228 key when the cursor is in the first position of a
33241 key when the cursor is in the very last position of the
33253 \begin_layout Standard
33254 Here is an example footnote:
33262 \begin_layout Plain Layout
33263 \begin_inset CommandInset label
33265 name "foot:This-is-an"
33269 This is an example footnote.
33282 \begin_layout Plain Layout
33286 newcounter{MyRepeatFoot}
33289 \begin_layout Plain Layout
33293 setcounter{MyRepeatFoot}{
33303 \begin_layout Standard
33304 The footnote will appear in the output as a superscript number at the text position where the footnote box is placed.
33305 The footnote text is placed at the bottom of the current page.
33306 The footnote number is calculated by \SpecialChar LaTeX
33308 the numbers are consecutive.
33309 Whether the footnote number is reset for every chapter depends on your document class.
33312 \begin_layout Standard
33313 Footnotes can be referenced like floats:
33314 Insert a label into the footnote and cross-reference this label in the text as described in section
33315 \begin_inset space ~
33319 \begin_inset CommandInset ref
33321 reference "sec:Referencing-Floats"
33327 \begin_inset Newline newline
33330 This is a cross-reference of Footnote
33331 \begin_inset space ~
33335 \begin_inset CommandInset ref
33337 reference "foot:This-is-an"
33345 \begin_layout Standard
33346 \begin_inset VSpace defskip
33349 Footnotes in title environments are usually not numbered with symbols and they cannot contain several paragraphs.
33350 See for example the footnote in the titling of this document.
33353 \begin_layout Standard
33354 Footnotes in multi-page tables are described in section
33355 \begin_inset space ~
33359 \begin_inset CommandInset ref
33361 reference "subsec:Footnotes-in-Multi-page"
33369 \begin_layout Standard
33370 \begin_inset VSpace defskip
33376 \begin_layout Standard
33377 Footnotes in minipage boxes are printed,
33378 but inside the box and with a different numbering because a minipage box is like a page inside a page.
33379 (For more about minipages,
33381 \begin_inset space ~
33385 \begin_inset CommandInset ref
33387 reference "sec:Minipages"
33392 .) To get a footnote in the minipage that is output at the bottom of the page like normal footnotes use this method:
33393 Instead of the footnote the command
33399 is inserted as \SpecialChar TeX
33401 The text of the footnote is entered as an argument of the \SpecialChar TeX
33408 after the minipage.
33409 \begin_inset Newline newline
33412 This was done for the following minipage with the command
33415 \begin_layout Standard
33422 Footnote outside the minipage.
33427 \begin_layout Standard
33428 \begin_inset Box Frameless
33438 height_special "totalheight"
33443 backgroundcolor "none"
33446 \begin_layout Plain Layout
33447 This an example text in a minipage.
33451 \begin_layout Plain Layout
33452 Footnote in the minipage.
33460 \begin_layout Plain Layout
33461 This an example text in a minipage.
33465 \begin_layout Plain Layout
33482 \begin_layout Standard
33486 \begin_layout Plain Layout
33495 Footnote outside the minipage.
33499 \begin_layout Plain Layout
33509 \begin_layout Standard
33510 \begin_inset VSpace defskip
33516 \begin_layout Standard
33517 To refer to the same footnote several times without printing the footnote text every time,
33522 footnotemark[number]
33524 in \SpecialChar TeX
33526 \begin_inset Newline newline
33529 As you do not know the number of the repeating footnote while you are writing the text,
33530 you have to store its number.
33531 For the following footnote mark example,
33532 these commands were inserted in \SpecialChar TeX
33533 code after Footnote
33534 \begin_inset space ~
33538 \begin_inset CommandInset ref
33540 reference "foot:This-is-an"
33545 to store the footnote number:
33548 \begin_layout Standard
33553 newcounter{MyRepeatFoot}
33554 \begin_inset Newline newline
33559 setcounter{MyRepeatFoot}{
33564 \begin_layout Standard
33565 The footnote mark was then created with this command:
33568 \begin_layout Standard
33578 \begin_layout Standard
33579 Here is a repeated footnote:
33587 \begin_layout Plain Layout
33601 \begin_layout Standard
33602 If you want to repeat the previous footnote,
33603 you can omit the storage of the footnote number and just use this command instead:
33606 \begin_layout Standard
33616 \begin_layout Standard
33617 Here is another repeated footnote:
33625 \begin_layout Plain Layout
33639 \begin_layout Subsection
33641 \begin_inset CommandInset label
33643 name "subsec:Footnote-Numbering"
33648 \begin_inset Index idx
33653 \begin_layout Plain Layout
33655 \begin_inset IndexMacro subentry
33658 \begin_layout Plain Layout
33672 \begin_layout Standard
33673 To reset the footnote number back to 1 after each section
33676 add this command to your document preamble:
33679 \begin_layout Standard
33684 @addtoreset{footnote}{section}
33687 \begin_layout Standard
33688 \begin_inset VSpace bigskip
33691 The following preamble command changes the footnote numbering style to small roman numerals:
33694 \begin_layout Standard
33706 \begin_layout Standard
33710 \begin_layout Plain Layout
33723 This is a footnote with roman numbering:
33727 \begin_layout Plain Layout
33728 This is an example footnote with roman numbering.
33736 \begin_layout Standard
33737 To change the numbering style to capital roman numerals replace in the command above
33751 \begin_inset Quotes eld
33755 \begin_inset Quotes erd
33758 footnotes with capital or small Latin letters use
33773 \begin_inset Quotes eld
33777 \begin_inset Quotes erd
33780 footnotes with symbols use
33789 \begin_layout Standard
33790 \begin_inset Note Greyedout
33793 \begin_layout Plain Layout
33799 You can only number 26 footnotes with Latin letters,
33800 because this numbering is limited to single letters.
33806 \begin_inset Newline newline
33810 \begin_inset Note Greyedout
33813 \begin_layout Plain Layout
33819 You can only number 9 footnotes with symbols.
33827 \begin_layout Standard
33828 To return to the default numbering style after you have changed to another one,
33841 in the command above.
33845 \begin_layout Plain Layout
33861 \begin_layout Standard
33862 \begin_inset VSpace bigskip
33868 \begin_layout Standard
33869 If you want to have footnotes numbered in the scheme
33870 \begin_inset Quotes eld
33874 \begin_inset Quotes erd
33878 add the following command to your document preamble:
33881 \begin_layout Standard
33886 numberwithin{footnote}{chapter}
33889 \begin_layout Standard
33890 To be able to use the command
33900 \begin_inset space ~
33905 in the document settings the option
33908 \begin_inset space ~
33912 \begin_inset space ~
33916 \begin_inset space ~
33924 \begin_layout Standard
33928 \begin_layout Plain Layout
33932 numberwithin{footnote}{chapter}
33937 This is another example footnote:
33943 \begin_layout Plain Layout
33944 This is a footnote numbered in the scheme
33945 \begin_inset Quotes eld
33949 \begin_inset Quotes erd
33963 \begin_layout Plain Layout
33979 \begin_layout Standard
33980 \begin_inset Note Greyedout
33983 \begin_layout Plain Layout
33995 always prints out the footnote number as arabic number;
33996 previous redefinitions to get non-arabic numbers are overwritten.
34004 \begin_layout Standard
34005 So to get for example the scheme
34006 \begin_inset Quotes eld
34012 \begin_inset Quotes erd
34016 use this command instead of
34025 \begin_layout Standard
34039 \begin_layout Subsection
34041 \begin_inset Index idx
34046 \begin_layout Plain Layout
34048 \begin_inset IndexMacro subentry
34051 \begin_layout Plain Layout
34065 \begin_layout Standard
34066 If you have several footnotes in one page,
34067 they appear without vertical space between them at the bottom of the page.
34068 To make them more readable you can e.
34069 \begin_inset space \thinspace{}
34073 \begin_inset space \space{}
34077 \begin_inset space \thinspace{}
34080 mm space with the following preamble command:
34083 \begin_layout Standard
34093 \begin_inset Newline newline
34107 \begin_layout Standard
34108 \begin_inset VSpace bigskip
34111 In a two-column document the footnotes appear at the bottom of every column,
34113 \begin_inset space ~
34117 \begin_inset CommandInset ref
34119 reference "fig:Standard-footnote-placement"
34125 If the footnotes should only appear at the bottom of the right column,
34127 \begin_inset space ~
34131 \begin_inset CommandInset ref
34133 reference "fig:Footnote-placement-in"
34139 use the \SpecialChar LaTeX
34145 \begin_inset Index idx
34150 \begin_layout Plain Layout
34153 \begin_inset IndexMacro subentry
34156 \begin_layout Plain Layout
34167 with this command in the document preamble:
34170 \begin_layout Standard
34175 usepackage{ftnright}
34178 \begin_layout Standard
34179 \begin_inset Float figure
34186 \begin_layout Plain Layout
34189 \begin_inset Box Boxed
34199 height_special "totalheight"
34204 backgroundcolor "none"
34207 \begin_layout Plain Layout
34208 \begin_inset Graphics
34209 filename clipart/without_fntright.pdf
34211 scaleBeforeRotation
34223 \begin_layout Plain Layout
34224 \begin_inset Caption Standard
34226 \begin_layout Plain Layout
34227 \begin_inset CommandInset label
34229 name "fig:Standard-footnote-placement"
34233 Standard footnote placement in two-column documents.
34246 \begin_layout Standard
34247 \begin_inset Float figure
34254 \begin_layout Plain Layout
34257 \begin_inset Box Boxed
34267 height_special "totalheight"
34272 backgroundcolor "none"
34275 \begin_layout Plain Layout
34276 \begin_inset Graphics
34277 filename clipart/with_fntright.pdf
34279 scaleBeforeRotation
34291 \begin_layout Plain Layout
34292 \begin_inset Caption Standard
34294 \begin_layout Plain Layout
34295 \begin_inset CommandInset label
34297 name "fig:Footnote-placement-in"
34301 Footnote placement in two-column documents when the \SpecialChar LaTeX
34319 \begin_layout Standard
34320 \begin_inset VSpace bigskip
34323 In some scientific literature it is usual to collect the footnotes and print them in a separate paragraph at the end of a section,
34325 \begin_inset space ~
34329 \begin_inset CommandInset ref
34331 reference "fig:Endnotes"
34337 They are then called
34338 \begin_inset Quotes eld
34342 \begin_inset Quotes erd
34346 \begin_inset Index idx
34351 \begin_layout Plain Layout
34357 To use endnotes instead of footnotes in your document,
34360 Document\SpecialChar menuseparator
34361 Settings\SpecialChar menuseparator
34367 \begin_inset space ~
34371 \begin_inset space ~
34377 To insert the collected footnotes,
34381 \begin_layout Standard
34389 \begin_layout Standard
34390 in \SpecialChar TeX
34391 Code at the end of a section or chapter.
34394 \begin_layout Standard
34395 \begin_inset Float figure
34402 \begin_layout Plain Layout
34405 \begin_inset Box Boxed
34415 height_special "totalheight"
34420 backgroundcolor "none"
34423 \begin_layout Plain Layout
34424 \begin_inset Graphics
34425 filename clipart/endnotes.pdf
34427 scaleBeforeRotation
34439 \begin_layout Plain Layout
34440 \begin_inset Caption Standard
34442 \begin_layout Plain Layout
34443 \begin_inset CommandInset label
34445 name "fig:Endnotes"
34449 Endnotes – footnotes are printed in a separate paragraph at the end of sections or chapters.
34462 \begin_layout Standard
34463 \begin_inset VSpace medskip
34466 The paragraph heading for the endnotes isn't automatically translated into the document language,
34467 this must be done manually.
34468 The following preamble command translates the default English
34469 \begin_inset Quotes eld
34473 \begin_inset Quotes erd
34477 \begin_inset Quotes eld
34481 \begin_inset Quotes erd
34487 \begin_layout Standard
34494 notesname}{Anmerkungen}
34497 \begin_layout Standard
34498 \begin_inset VSpace medskip
34501 The numbering of endnotes can be changed like the footnote numbering as described in section
34502 \begin_inset space ~
34506 \begin_inset CommandInset ref
34508 reference "subsec:Footnote-Numbering"
34514 just replace the command
34527 To reset the endnote number use the command
34533 as described in section
34534 \begin_inset space ~
34538 \begin_inset CommandInset ref
34540 reference "subsec:Footnote-Numbering"
34545 and replace the command parameter
34556 \begin_layout Standard
34557 For endnotes there is the command
34561 endnotemark[number]
34563 similar to the command
34570 that is described in section
34571 \begin_inset space ~
34575 \begin_inset CommandInset ref
34577 reference "sec:Footnotes"
34585 \begin_layout Standard
34586 \begin_inset VSpace bigskip
34589 Footnotes can also be placed in the page margin and the footnote text alignment can be changed,
34590 see the \SpecialChar LaTeX
34596 \begin_inset Index idx
34601 \begin_layout Plain Layout
34604 \begin_inset IndexMacro subentry
34607 \begin_layout Plain Layout
34620 \begin_inset CommandInset citation
34627 for more information about this.
34630 \begin_layout Standard
34631 For various further footnote formatting issues have a look at \SpecialChar LaTeX
34634 \begin_inset CommandInset citation
34636 key "latexcompanion,latexguide,latexbook"
34647 \begin_inset Index idx
34652 \begin_layout Plain Layout
34655 \begin_inset IndexMacro subentry
34658 \begin_layout Plain Layout
34670 you can adjust all footnote settings using class-specific commands,
34672 \begin_inset CommandInset citation
34682 \begin_layout Section
34684 \begin_inset Index idx
34689 \begin_layout Plain Layout
34691 \begin_inset IndexMacro subentry
34694 \begin_layout Plain Layout
34708 \begin_layout Standard
34709 Margin notes look and behave in \SpecialChar LyX
34711 They are inserted via the menu
34713 Insert\SpecialChar menuseparator
34715 \begin_inset space ~
34720 or the toolbar button
34723 arg "marginalnote-insert"
34737 \begin_inset Quotes eld
34741 \begin_inset Quotes erd
34744 appears where you can enter the text of the margin note.
34747 \begin_layout Standard
34748 At the side is an example margin note.
34753 \begin_inset Marginal
34756 \begin_layout Plain Layout
34757 This is a margin note.
34765 \begin_layout Standard
34766 Margin notes appear at the right side in single-sided documents.
34767 In double-sided documents they appear in the outer margin – left on even pages,
34768 right on odd pages.
34769 The text of margin notes is aligned opposite to the outer margin – right-aligned when the note appears in the left margin.
34770 The first line of the margin note is placed at the position of the text line where it is inserted in the document.
34773 \begin_layout Standard
34774 \begin_inset VSpace bigskip
34777 To place the margin note in the inner margin,
34781 \begin_layout Standard
34789 \begin_layout Standard
34790 in \SpecialChar TeX
34791 Code before a margin note.
34792 The new placement is valid for all subsequent margin notes.
34797 \begin_layout Plain Layout
34807 \begin_inset Marginal
34810 \begin_layout Plain Layout
34811 This is a margin note in the inner margin.
34819 \begin_inset Newline newline
34825 \begin_inset Note Greyedout
34828 \begin_layout Plain Layout
34834 There is often not enough space in the inner margin so that the notes are not correctly displayed in the output.
34842 \begin_layout Standard
34843 To return to the default placement insert the command
34846 \begin_layout Standard
34854 \begin_layout Standard
34855 in \SpecialChar TeX
34860 \begin_layout Plain Layout
34870 \begin_inset Note Greyedout
34873 \begin_layout Plain Layout
34879 The command is ignored when it is within a paragraph where also the command
34893 \begin_layout Standard
34894 \begin_inset VSpace bigskip
34901 \begin_inset Marginal
34904 \begin_layout Plain Layout
34905 AVeryLongMarginParWord that isn't hyphenated.
34913 Similar to the case described in section
34914 \begin_inset space ~
34918 \begin_inset CommandInset ref
34920 reference "subsec:Multiple-Lines-in"
34926 long words cannot be hyphenated when they are the first word in a margin note.
34929 \begin_inset space \thinspace{}
34932 pt horizontal space before the word
34937 \begin_inset Marginal
34940 \begin_layout Plain Layout
34941 \begin_inset space \hspace*{}
34945 AVeryLongMarginParWord that is hyphenated.
34953 \begin_layout Standard
34954 \begin_inset VSpace bigskip
34960 \begin_layout Standard
34961 \begin_inset Note Greyedout
34964 \begin_layout Plain Layout
34970 Margin notes can normally not be used inside tables,
34980 \begin_layout Standard
34981 \begin_inset VSpace bigskip
34987 \begin_layout Standard
34991 \begin_layout Plain Layout
35001 \begin_inset Note Note
35004 \begin_layout Plain Layout
35005 The following section will only be displayed when the \SpecialChar LaTeX
35018 \begin_layout Standard
35019 This restriction can be evaded by using the \SpecialChar LaTeX
35025 \begin_inset Index idx
35030 \begin_layout Plain Layout
35033 \begin_inset IndexMacro subentry
35036 \begin_layout Plain Layout
35048 By adding these two lines to your document preamble,
35049 the command used by \SpecialChar LyX
35050 for margin notes is redefined to use the command provided by the
35057 \begin_layout Standard
35062 usepackage{marginnote}
35063 \begin_inset Newline newline
35075 \begin_layout Standard
35076 This is also used in this document because
35080 has another useful feature:
35081 You can set a vertical offset for the note.
35082 This is often needed when too many margin notes are too close together or for a better page layout.
35083 The offset is set in \SpecialChar LyX
35084 as \SpecialChar TeX
35085 Code directly after the margin note in the scheme
35088 \begin_layout Standard
35094 \begin_layout Standard
35095 where the offset is a length with one of the units listed in Table
35096 \begin_inset space ~
35100 \begin_inset CommandInset ref
35102 reference "tab:Units"
35108 A negative value shifts the note up,
35109 a positive value shifts it down.
35113 For example the margin note beside this text line is shifted up 1.5
35114 \begin_inset space \thinspace{}
35117 cm with the \SpecialChar TeX
35119 \begin_inset Quotes eld
35129 \begin_inset Quotes erd
35133 \begin_inset Marginal
35136 \begin_layout Plain Layout
35137 This margin note is shifted up 1.5
35138 \begin_inset space \thinspace{}
35141 cm from its original position.
35153 \begin_layout Plain Layout
35163 \begin_layout Standard
35164 \begin_inset VSpace medskip
35171 you can also change the alignment of the text in the margin note.
35172 For example the commands
35175 \begin_layout Standard
35182 raggedleftmarginnote}{
35185 \begin_inset Newline newline
35192 raggedrightmarginnote}{
35197 \begin_layout Standard
35198 set the alignment to centered.
35203 raggedleftmarginnote
35205 denotes margin notes that appear at the left side.
35212 \begin_layout Plain Layout
35218 raggedleftmarginnote}{
35223 \begin_layout Plain Layout
35229 raggedrightmarginnote}{
35237 \begin_inset Marginal
35240 \begin_layout Plain Layout
35241 The text of this margin note is centered.
35252 \begin_layout Standard
35259 raggedleftmarginnote}{
35262 \begin_inset Newline newline
35269 raggedrightmarginnote}{
35278 \begin_layout Plain Layout
35284 raggedleftmarginnote}{
35289 \begin_layout Plain Layout
35295 raggedrightmarginnote}{
35305 \begin_layout Standard
35306 \begin_inset VSpace medskip
35309 For the other features of
35313 refer to its documentation
35314 \begin_inset CommandInset citation
35324 \begin_layout Standard
35325 \begin_inset VSpace bigskip
35328 You can adjust the layout of margin notes by changing its definition.
35329 To create for example a header for all margin notes with the underlined,
35331 and bold header text
35332 \begin_inset Quotes eld
35344 \begin_inset Quotes erd
35348 add this to your document preamble:
35351 \begin_layout Standard
35361 \begin_inset Newline newline
35371 \begin_inset Newline newline
35375 \begin_inset Phantom HPhantom
35378 \begin_layout Plain Layout
35381 \begin_inset space ~
35397 underbar{Attention!}}}%
35398 \begin_inset Newline newline
35402 \begin_inset Phantom HPhantom
35405 \begin_layout Plain Layout
35408 \begin_inset space ~
35425 \begin_layout Standard
35432 \begin_layout Plain Layout
35443 \begin_layout Plain Layout
35454 \begin_layout Plain Layout
35462 underbar{Attention!}}}%
35465 \begin_layout Plain Layout
35479 \begin_inset Marginal
35482 \begin_layout Plain Layout
35483 This is a margin note with a defined heading.
35495 \begin_layout Plain Layout
35509 \begin_layout Plain Layout
35526 \begin_inset Note Note
35529 \begin_layout Plain Layout
35530 The margin note format is changed only for this example.
35538 \begin_layout Standard
35542 \begin_layout Plain Layout
35552 \begin_inset Note Note
35555 \begin_layout Plain Layout
35556 The following will be displayed when the \SpecialChar LaTeX
35569 \begin_layout Standard
35570 You need to install the \SpecialChar LaTeX
35575 to see the following part of this section in the output.
35578 \begin_layout Standard
35582 \begin_layout Plain Layout
35594 \begin_layout Chapter
35598 \begin_layout Section
35600 \begin_inset Index idx
35605 \begin_layout Plain Layout
35607 \begin_inset IndexMacro subentry
35610 \begin_layout Plain Layout
35624 \begin_layout Standard
35625 Boxes are used to format a block of text.
35626 Boxes can be used to write documents with multiple languages,
35628 \begin_inset space ~
35632 \begin_inset CommandInset ref
35634 reference "sec:Minipages"
35642 \begin_inset space ~
35646 \begin_inset CommandInset ref
35648 reference "sec:Decoration"
35654 to prevent words from being hyphenated,
35656 \begin_inset space ~
35660 \begin_inset CommandInset ref
35662 reference "sec:Prevent-Hyphenation"
35670 \begin_inset space ~
35674 \begin_inset CommandInset ref
35676 reference "subsec:Vertical-Alignment"
35682 or to set the background color of texts,
35684 \begin_inset space ~
35688 \begin_inset CommandInset ref
35690 reference "sec:Colored-Boxes"
35698 \begin_layout Standard
35699 Boxes can be inserted with the menu
35701 Insert\SpecialChar menuseparator
35704 or the toolbar button
35707 arg "box-insert Frameless"
35711 A grey box with the label
35717 \begin_inset Graphics
35718 filename clipart/BoxInsetDefault.png
35720 scaleBeforeRotation
35725 The box type can be specified by right-clicking on the box and selecting
35730 The box dialog offers the
35733 \begin_inset space ~
35756 is the default for new boxes and is explained in section
35757 \begin_inset space ~
35761 \begin_inset CommandInset ref
35763 reference "sec:Minipages"
35773 is described in section
35774 \begin_inset space ~
35778 \begin_inset CommandInset ref
35780 reference "sec:Parboxes"
35790 \begin_inset CommandInset ref
35792 reference "sec:Prevent-Hyphenation"
35800 \begin_layout Standard
35801 Boxes are not numbered and can therefore not be referenced like floats or footnotes.
35804 \begin_layout Standard
35805 \begin_inset Note Greyedout
35808 \begin_layout Plain Layout
35814 Boxes must not be the item in an
35830 \begin_layout Standard
35831 \begin_inset Note Greyedout
35834 \begin_layout Plain Layout
35840 For an unknown reason you can only set the
35843 \begin_inset space ~
35852 when you use a framed box.
35856 \begin_inset space ~
35861 type and without frames are explained in section
35862 \begin_inset space ~
35866 \begin_inset CommandInset ref
35868 reference "sec:Prevent-Hyphenation"
35881 \begin_layout Section
35883 \begin_inset CommandInset label
35885 name "sec:Box-Dialog"
35890 \begin_inset Index idx
35895 \begin_layout Plain Layout
35897 \begin_inset IndexMacro subentry
35900 \begin_layout Plain Layout
35914 \begin_layout Subsection
35916 \begin_inset Index idx
35921 \begin_layout Plain Layout
35923 \begin_inset IndexMacro subentry
35926 \begin_layout Plain Layout
35940 \begin_layout Standard
35941 In the box dialog you can adjust the box geometry in the fields
35950 The available units for the geometry are explained in Table
35951 \begin_inset space ~
35955 \begin_inset CommandInset ref
35957 reference "tab:Units"
35967 offers the following additional sizes:
35970 \begin_layout Description
35971 Depth This is the plain text
35972 \begin_inset Quotes eld
35976 \begin_inset Quotes erd
35980 It ignores the total depth when there are multiple text lines in the box:
35981 \begin_inset Newline newline
35985 \begin_inset Newline newline
35989 \begin_inset Newline newline
35993 \begin_inset Box Boxed
36003 height_special "depth"
36008 backgroundcolor "none"
36011 \begin_layout Plain Layout
36013 Box height set to 1
36014 \begin_inset space \thinspace{}
36023 \begin_inset Newline newline
36027 \begin_inset Newline newline
36033 \begin_layout Description
36034 Height This is the height of the text that is inside the box.
36036 \begin_inset space \thinspace{}
36040 \begin_inset space \space{}
36043 2 for this size will set the box height to 2
36044 \begin_inset space ~
36047 times the text height:
36049 \begin_inset Box Boxed
36059 height_special "height"
36064 backgroundcolor "none"
36067 \begin_layout Plain Layout
36069 Box height set to 2
36070 \begin_inset space \thinspace{}
36081 \begin_layout Description
36083 \begin_inset space ~
36086 Height This is the Height
36087 \begin_inset space \thinspace{}
36091 \begin_inset space \thinspace{}
36096 \begin_inset Box Boxed
36106 height_special "totalheight"
36111 backgroundcolor "none"
36114 \begin_layout Plain Layout
36116 Box height set to 1
36117 \begin_inset space \thinspace{}
36121 \begin_inset space ~
36132 \begin_layout Description
36133 Width This sets the width of the box as height:
36135 \begin_inset Box Boxed
36145 height_special "width"
36150 backgroundcolor "none"
36153 \begin_layout Plain Layout
36155 Box height set to 1
36156 \begin_inset space \thinspace{}
36167 \begin_layout Subsection
36169 \begin_inset Index idx
36174 \begin_layout Plain Layout
36176 \begin_inset IndexMacro subentry
36179 \begin_layout Plain Layout
36193 \begin_layout Standard
36194 When you have chosen an
36197 \begin_inset space ~
36203 the vertical box alignment can be:
36206 \begin_layout Description
36207 Top This is an example text line.
36209 \begin_inset Box Boxed
36219 height_special "totalheight"
36224 backgroundcolor "none"
36227 \begin_layout Plain Layout
36229 This box is top-aligned.
36234 This is an example text line.
36237 \begin_layout Description
36238 Middle This is an example text line.
36240 \begin_inset Box Boxed
36250 height_special "totalheight"
36255 backgroundcolor "none"
36258 \begin_layout Plain Layout
36260 This box is middle-aligned.
36265 This is an example text line.
36268 \begin_layout Description
36269 Bottom This is an example text line.
36271 \begin_inset Box Boxed
36281 height_special "totalheight"
36286 backgroundcolor "none"
36289 \begin_layout Plain Layout
36291 This box is bottom-aligned.
36296 This is an example text line.
36299 \begin_layout Standard
36300 \begin_inset Note Greyedout
36303 \begin_layout Plain Layout
36309 The vertical box alignment can be lost in the output when you have two boxes in a line and one has e.
36310 \begin_inset space \thinspace{}
36314 \begin_inset space \space{}
36317 a shadow and the other one not.
36325 \begin_layout Standard
36326 The horizontal box alignment can be set via \SpecialChar LyX
36327 's paragraph dialog when you set the box into its own paragraph.
36330 \begin_layout Standard
36331 \begin_inset VSpace bigskip
36334 When you have chosen an
36337 \begin_inset space ~
36343 the box content can be aligned vertically to:
36346 \begin_layout Description
36347 top This is an example text line.
36349 \begin_inset Box Boxed
36359 height_special "totalheight"
36364 backgroundcolor "none"
36367 \begin_layout Plain Layout
36369 This box text is top-aligned.
36374 This is an example text line.
36377 \begin_layout Description
36378 middle This is an example text line.
36380 \begin_inset Box Boxed
36390 height_special "totalheight"
36395 backgroundcolor "none"
36398 \begin_layout Plain Layout
36400 This box text is middle-aligned.
36405 This is an example text line.
36408 \begin_layout Description
36409 bottom This is an example text line.
36411 \begin_inset Box Boxed
36421 height_special "totalheight"
36426 backgroundcolor "none"
36429 \begin_layout Plain Layout
36431 This box text is bottom-aligned.
36436 This is an example text line.
36439 \begin_layout Description
36440 stretch This is an example text line.
36442 \begin_inset Box Boxed
36452 height_special "totalheight"
36457 backgroundcolor "none"
36460 \begin_layout Plain Layout
36465 \begin_layout Plain Layout
36470 \begin_layout Plain Layout
36477 This is an example text line.
36480 \begin_layout Standard
36481 To stretch the box content,
36482 it must consist of more than one paragraph.
36483 In the example above every text line is in an own paragraph.
36486 \begin_layout Standard
36487 \begin_inset VSpace bigskip
36490 To align the box content horizontally you can use \SpecialChar LyX
36491 's paragraph dialog when you have chosen an
36494 \begin_inset space ~
36502 \begin_layout Standard
36504 \begin_inset Box Boxed
36514 height_special "totalheight"
36519 backgroundcolor "none"
36522 \begin_layout Plain Layout
36527 \begin_layout Plain Layout
36532 \begin_layout Plain Layout
36542 \begin_layout Standard
36543 If you have not set an
36546 \begin_inset space ~
36552 you can align the box content horizontally in the box dialog.
36555 \begin_layout Standard
36557 \begin_inset Box Boxed
36567 height_special "totalheight"
36572 backgroundcolor "none"
36575 \begin_layout Plain Layout
36576 This box text is horizontally stretched.
36584 \begin_layout Subsection
36586 \begin_inset CommandInset label
36588 name "sec:Decoration"
36593 \begin_inset Index idx
36598 \begin_layout Plain Layout
36600 \begin_inset IndexMacro subentry
36603 \begin_layout Plain Layout
36617 \begin_layout Standard
36618 The type of the box can be specified in the box dialog in the drop-down list
36623 The following types are possible:
36626 \begin_layout Description
36628 \begin_inset space ~
36631 frame Nothing is drawn.
36634 \begin_layout Description
36636 \begin_inset space ~
36640 \begin_inset space ~
36643 frame This draws a rectangular frame around the box.
36644 The frame line thickness can be specified.
36646 \begin_inset Box Boxed
36656 height_special "totalheight"
36661 backgroundcolor "none"
36664 \begin_layout Plain Layout
36674 \begin_layout Description
36676 \begin_inset space ~
36680 \begin_inset space ~
36683 thin This draws an oval frame around the box.
36684 The frame line thickness has the size 0.4
36685 \begin_inset space \thinspace{}
36690 \begin_inset Box ovalbox
36700 height_special "totalheight"
36705 backgroundcolor "none"
36708 \begin_layout Plain Layout
36719 \begin_layout Description
36721 \begin_inset space ~
36725 \begin_inset space ~
36728 thick This draws an oval frame around the box.
36729 The frame line thickness has the size 0.8
36730 \begin_inset space \thinspace{}
36735 \begin_inset Box Ovalbox
36745 height_special "totalheight"
36750 backgroundcolor "none"
36753 \begin_layout Plain Layout
36764 \begin_layout Description
36766 \begin_inset space ~
36769 shadow This draws a rectangular frame with a shadow around the box.
36770 The frame line thickness and the shadow can be specified.
36772 \begin_inset Box Shadowbox
36782 height_special "totalheight"
36787 backgroundcolor "none"
36790 \begin_layout Plain Layout
36800 \begin_layout Description
36802 \begin_inset space ~
36805 background This draws a box with a red background.
36806 Unlike colored boxes
36810 \begin_layout Plain Layout
36812 \begin_inset space \thinspace{}
36816 \begin_inset CommandInset ref
36818 reference "sec:Colored-Boxes"
36829 it always uses the whole column width and the box is set as its own paragraph.
36831 \begin_inset Box Shaded
36841 height_special "totalheight"
36846 backgroundcolor "none"
36849 \begin_layout Plain Layout
36850 Shaded background box
36858 \begin_layout Description
36860 \begin_inset space ~
36864 \begin_inset space ~
36867 frame This draws a double-line rectangular frame around the box.
36868 The line thickness of the inner frame is 0.75
36869 \begin_inset space \thinspace{}
36873 \begin_inset space ~
36877 the thickness of the outer frame is 1.5
36878 \begin_inset space \thinspace{}
36882 \begin_inset space ~
36886 The distance between the lines is 1.5
36887 \begin_inset space \thinspace{}
36891 \begin_inset space ~
36895 \begin_inset space \thinspace{}
36899 \begin_inset space \thinspace{}
36903 \begin_inset space \thinspace{}
36908 \begin_inset Box Doublebox
36918 height_special "totalheight"
36923 backgroundcolor "none"
36926 \begin_layout Plain Layout
36928 Double rectangular box
36936 \begin_layout Standard
36937 \begin_inset VSpace bigskip
36941 's box label will reflect the different frame types.
36942 To be able to use all types,
36943 the \SpecialChar LaTeX
36949 \begin_inset Index idx
36954 \begin_layout Plain Layout
36957 \begin_inset IndexMacro subentry
36960 \begin_layout Plain Layout
36974 \begin_layout Standard
36975 \begin_inset VSpace bigskip
36978 When you use the decoration
36980 simple rectangular frame
36983 you can allow page breaks within a box.
36985 unlike other framed boxes,
36986 the frame always uses the whole column width and the box is set as its own paragraph:
36988 \begin_inset Box Framed
36998 height_special "totalheight"
37003 backgroundcolor "none"
37006 \begin_layout Plain Layout
37007 Allow page break box
37015 \begin_layout Section
37017 \begin_inset Index idx
37022 \begin_layout Plain Layout
37024 \begin_inset IndexMacro subentry
37027 \begin_layout Plain Layout
37041 \begin_layout Standard
37042 The diameter of the round corners of the oval boxes can be set with the command
37052 \begin_layout Standard
37060 \begin_layout Standard
37061 sets the diameter to 1
37062 \begin_inset space \thinspace{}
37069 \begin_layout Standard
37077 \begin_layout Standard
37078 sets the diameter to
37081 \begin_inset space \thinspace{}
37085 \begin_inset space \thinspace{}
37088 minimum(width and height of box)
37100 \begin_layout Standard
37104 \begin_layout Plain Layout
37114 \begin_inset Box Ovalbox
37124 height_special "totalheight"
37129 backgroundcolor "none"
37132 \begin_layout Plain Layout
37141 \begin_inset space \thinspace{}
37145 \begin_inset space \thinspace{}
37149 \begin_inset space \thinspace{}
37161 \begin_layout Plain Layout
37173 \begin_layout Standard
37174 \begin_inset VSpace bigskip
37180 \begin_layout Standard
37181 The default background color red of
37185 boxes can either be changed locally with the command
37189 definecolor{shadecolor}
37191 or globally with the menu
37193 Tools\SpecialChar menuseparator
37194 Preferences\SpecialChar menuseparator
37195 Colors\SpecialChar menuseparator
37197 \begin_inset space ~
37209 command is explained in section
37210 \begin_inset space ~
37214 \begin_inset CommandInset ref
37216 reference "sec:Colored-Tables"
37225 \begin_layout Plain Layout
37232 requires the \SpecialChar LaTeX
37239 \begin_inset space ~
37243 \begin_inset CommandInset ref
37245 reference "sec:Colored-Boxes"
37255 For example the appearance of the following shaded background box is set with the \SpecialChar TeX
37259 \begin_layout Standard
37264 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
37267 \begin_layout Standard
37271 \begin_layout Plain Layout
37275 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
37281 \begin_inset Box Shaded
37291 height_special "totalheight"
37296 backgroundcolor "none"
37299 \begin_layout Plain Layout
37302 This is yellow text in a
37312 box with dark green background.
37321 \begin_layout Plain Layout
37325 definecolor{shadecolor}{rgb}{1,0,0}
37333 \begin_layout Standard
37334 \begin_inset VSpace bigskip
37337 Manually changed sizes and colors are valid for all boxes following the commands that change them.
37340 \begin_layout Section
37342 \begin_inset CommandInset label
37344 name "sec:Minipages"
37349 \begin_inset Index idx
37354 \begin_layout Plain Layout
37356 \begin_inset IndexMacro subentry
37359 \begin_layout Plain Layout
37373 \begin_layout Standard
37374 Minipages are treated by \SpecialChar LaTeX
37375 as pages within pages and can therefore for example have their own footnotes.
37378 \begin_layout Standard
37379 Minipages are useful when you write documents with different languages.
37382 \begin_layout Standard
37383 Below are two example minipages side by side.
37384 Their width is set to 45
37385 \begin_inset space \thinspace{}
37388 col% and they are separated by a horizontal fill,
37389 that was inserted via the menu
37391 Insert\SpecialChar menuseparator
37393 \begin_inset space ~
37396 Formatting\SpecialChar menuseparator
37398 \begin_inset space ~
37404 \begin_inset Newpage newpage
37410 \begin_layout Standard
37411 \begin_inset Box Frameless
37421 height_special "totalheight"
37426 backgroundcolor "none"
37429 \begin_layout Plain Layout
37432 Dies ist ein deutscher Text.
37433 Dies ist ein deutscher Text.
37434 Dies ist ein deutscher Text.
37435 Dies ist ein deutscher Text.
37436 Dies ist ein deutscher Text.
37437 Dies ist ein deutscher Text.
37438 Dies ist ein deutscher Text.
37439 Dies ist ein deutscher Text.
37440 Dies ist ein deutscher Text.
37441 Dies ist ein deutscher Text.
37442 Dies ist ein deutscher Text.
37443 Dies ist ein deutscher Text.
37444 Dies ist ein deutscher Text
37448 \begin_layout Plain Layout
37451 Dies ist eine deutsche Fußnote.
37457 Dies ist ein deutscher Text.
37458 Dies ist ein deutscher Text.
37464 \begin_inset space \hfill{}
37468 \begin_inset Box Frameless
37478 height_special "totalheight"
37483 backgroundcolor "none"
37486 \begin_layout Plain Layout
37487 This is an English Text.
37488 This is an English Text.
37489 This is an English Text.
37490 This is an English Text.
37491 This is an English Text.
37492 This is an English Text.
37493 This is an English Text.
37494 This is an English Text.
37495 This is an English Text.
37496 This is an English Text.
37497 This is an English Text.
37498 This is an English Text.
37499 This is an English Text.
37500 This is an English Text.
37501 This is an English Text.
37502 This is an English Text.
37506 \begin_layout Plain Layout
37507 This is an English footnote.
37512 This is an English Text.
37520 \begin_layout Standard
37521 \begin_inset VSpace bigskip
37524 The document-wide paragraph settings are ignored within minipages.
37525 That means that there will be no space between paragraphs in minipages although you set it to e.
37526 \begin_inset space \thinspace{}
37530 \begin_inset space \space{}
37537 in the document settings.
37540 \begin_layout Standard
37541 Minipages can also be used to set a background color for text parts,
37543 \begin_inset space ~
37547 \begin_inset CommandInset ref
37549 reference "sec:Colored-Boxes"
37557 \begin_layout Standard
37558 \begin_inset Note Greyedout
37561 \begin_layout Plain Layout
37567 You cannot have floats or margin notes inside minipages but minipages can be used inside tables,
37577 \begin_layout Standard
37578 \begin_inset VSpace bigskip
37584 \begin_layout Standard
37586 has also basic support for minipages whose size is automatically determined by the width of their contents,
37589 Variable-width Minipages
37592 The \SpecialChar LyX
37595 varwidth-floats-side-by-side
37597 gives examples of variable-width minipages used for placing two floats side-by-side.
37600 \begin_layout Section
37602 \begin_inset CommandInset label
37604 name "sec:Parboxes"
37609 \begin_inset Index idx
37614 \begin_layout Plain Layout
37616 \begin_inset IndexMacro subentry
37619 \begin_layout Plain Layout
37633 \begin_layout Standard
37634 Parboxes are very similar to minipages with the difference that they cannot have footnotes.
37637 \begin_layout Standard
37639 \begin_inset Box Frameless
37649 height_special "totalheight"
37654 backgroundcolor "none"
37657 \begin_layout Plain Layout
37658 This a text within a parbox.
37659 This a text within a parbox.
37662 \begin_layout Plain Layout
37663 This footnote won't appear:
37667 \begin_layout Plain Layout
37668 This footnote is inside a parbox and will therefore not appear.
37681 \begin_layout Section
37682 Boxes for Words and Characters
37683 \begin_inset Index idx
37688 \begin_layout Plain Layout
37690 \begin_inset IndexMacro subentry
37693 \begin_layout Plain Layout
37707 \begin_layout Subsection
37708 Prevent Hyphenation
37709 \begin_inset CommandInset label
37711 name "sec:Prevent-Hyphenation"
37716 \begin_inset Index idx
37721 \begin_layout Plain Layout
37723 \begin_inset IndexMacro subentry
37726 \begin_layout Plain Layout
37727 to Prevent Hyphenation
37740 \begin_layout Standard
37741 You can use the box type
37745 to prevent words or text from being hyphenated.
37746 \begin_inset Newline newline
37749 Here is an example text:
37752 \begin_layout Standard
37753 This line is an example to show how you can prevent the hyphenation of
37754 \begin_inset Quotes eld
37758 \begin_inset Quotes erd
37764 \begin_layout Standard
37765 To prevent the hyphenation of the word
37766 \begin_inset Quotes eld
37770 \begin_inset Quotes erd
37774 put the word into a box,
37778 \begin_inset space ~
37787 and use no explicit width.
37790 \begin_layout Standard
37791 This is the result:
37794 \begin_layout Standard
37795 This line is an example to show how you can prevent the hyphenation of
37796 \begin_inset Box Frameless
37806 height_special "totalheight"
37811 backgroundcolor "none"
37814 \begin_layout Plain Layout
37815 \begin_inset Quotes eld
37819 \begin_inset Quotes erd
37830 \begin_layout Standard
37831 You can alternatively set the command
37832 \begin_inset Quotes eld
37842 \begin_inset Quotes grd
37845 as \SpecialChar TeX
37846 Code directly before the word:
37849 \begin_layout Standard
37850 This line is an example to show how you can prevent the hyphenation of
37851 \begin_inset Quotes eld
37858 \begin_layout Plain Layout
37868 \begin_inset Quotes erd
37874 \begin_layout Standard
37875 Of course the word now protrudes over the side margin.
37879 Insert\SpecialChar menuseparator
37880 Formatting\SpecialChar menuseparator
37882 \begin_inset space ~
37886 \begin_inset space ~
37894 arg "newline-insert newline"
37897 ) a line break before the word:
37900 \begin_layout Standard
37901 This line is an example to show how you can prevent the hyphenation of
37902 \begin_inset Newline newline
37906 \begin_inset Box Frameless
37916 height_special "totalheight"
37921 backgroundcolor "none"
37924 \begin_layout Plain Layout
37925 \begin_inset Quotes eld
37929 \begin_inset Quotes erd
37940 \begin_layout Subsection
37942 \begin_inset CommandInset label
37944 name "subsec:Vertical-Alignment"
37949 \begin_inset Index idx
37954 \begin_layout Plain Layout
37956 \begin_inset IndexMacro subentry
37959 \begin_layout Plain Layout
37960 for Vertical Alignment
37971 \begin_inset Index idx
37976 \begin_layout Plain Layout
37978 \begin_inset IndexMacro subentry
37981 \begin_layout Plain Layout
37995 \begin_layout Standard
37996 With the help of the command
38002 you can align words,
38003 characters or other boxes vertically relative to the surrounding text.
38010 is used with the following scheme:
38013 \begin_layout Standard
38018 raisebox{lift}[height][depth]{box content}
38021 \begin_layout Standard
38022 The lift can be a positive value to raise the box or a negative value to lower the box.
38025 \begin_layout Standard
38026 To align for example the word
38027 \begin_inset Quotes eld
38031 \begin_inset Quotes erd
38034 so that the bottom of the
38035 \begin_inset Quotes eld
38039 \begin_inset Quotes erd
38043 \begin_inset Quotes eld
38047 \begin_inset Quotes erd
38050 is at the baseline,
38054 \begin_layout Standard
38064 \begin_layout Standard
38065 in \SpecialChar TeX
38066 Code before the word.
38067 After the word insert a closing brace
38068 \begin_inset Quotes eld
38076 \begin_inset Quotes erd
38079 in \SpecialChar TeX
38081 \begin_inset Newline newline
38084 This is the result:
38087 \begin_layout Standard
38088 This is a text line with the word
38092 \begin_layout Plain Layout
38104 \begin_inset Quotes eld
38108 \begin_inset Quotes erd
38115 \begin_layout Plain Layout
38125 \begin_layout Standard
38126 \begin_inset VSpace bigskip
38129 When you raise or lower characters in a line,
38130 the line distance will be spread:
38133 \begin_layout Standard
38134 This is a text line with the word
38138 \begin_layout Plain Layout
38150 \begin_inset Quotes eld
38154 \begin_inset Quotes erd
38161 \begin_layout Plain Layout
38169 \begin_inset Newline newline
38172 This is a text line with the word
38176 \begin_layout Plain Layout
38186 \begin_inset Quotes eld
38190 \begin_inset Quotes erd
38197 \begin_layout Plain Layout
38207 \begin_layout Standard
38208 If you want to prevent this for a certain reason,
38209 set the box height to a zero value.
38213 \begin_layout Standard
38223 \begin_layout Standard
38224 This is a text line with the word
38228 \begin_layout Plain Layout
38240 \begin_inset Quotes eld
38244 \begin_inset Quotes erd
38251 \begin_layout Plain Layout
38259 \begin_inset Newline newline
38263 \begin_inset Newline newline
38266 This is a text line with the word
38270 \begin_layout Plain Layout
38274 raisebox{0.5cm}[0pt]{
38280 \begin_inset Quotes eld
38284 \begin_inset Quotes erd
38291 \begin_layout Plain Layout
38301 \begin_layout Section
38303 \begin_inset CommandInset label
38305 name "sec:Colored-Boxes"
38310 \begin_inset Index idx
38315 \begin_layout Plain Layout
38317 \begin_inset IndexMacro subentry
38320 \begin_layout Plain Layout
38334 \begin_layout Standard
38335 To color the background of a box just select the color you like in the box dialog.
38336 This is for example a box with orange background:
38338 \begin_inset Box Frameless
38348 height_special "totalheight"
38353 backgroundcolor "orange"
38356 \begin_layout Plain Layout
38357 Box with orange background
38365 \begin_layout Standard
38366 If you use the decoration
38369 \begin_inset space ~
38373 \begin_inset space ~
38378 you can set a frame color.
38379 In this case you must also specify a background color (LyX sets white as default).
38380 Here is an example:
38382 \begin_inset Box Boxed
38392 height_special "totalheight"
38397 backgroundcolor "yellow"
38400 \begin_layout Plain Layout
38401 Box with teal frame color and yellow background color
38409 \begin_layout Standard
38410 \begin_inset VSpace bigskip
38413 Of course you can also have colored text inside a colored box:
38414 \begin_inset Newline newline
38418 \begin_inset Box Boxed
38428 height_special "totalheight"
38433 backgroundcolor "magenta"
38436 \begin_layout Plain Layout
38439 This is colored text within a colored,
38448 \begin_layout Standard
38449 \begin_inset VSpace bigskip
38455 \begin_layout Standard
38456 If you need another color than the predefined ones,
38457 you can define your own color as described in section
38458 \begin_inset space ~
38462 \begin_inset CommandInset ref
38464 reference "sec:Colored-Tables"
38470 To use your own color you must typeset the box by using TeX code:
38473 \begin_layout Standard
38474 Colored boxes without frame are created with the command
38481 It has the following scheme:
38484 \begin_layout Standard
38489 colorbox{color}{box content}
38492 \begin_layout Standard
38493 The box content can also be a box and colored boxes can also be within other boxes.
38495 \begin_inset space \thinspace{}
38499 \begin_inset space \space{}
38502 a darkgreen background for a word,
38506 \begin_layout Standard
38511 colorbox{darkgreen}{
38514 \begin_layout Standard
38515 before the word in \SpecialChar TeX
38517 After the word insert a closing brace
38518 \begin_inset Quotes eld
38526 \begin_inset Quotes erd
38529 in \SpecialChar TeX
38531 \begin_inset Newline newline
38534 This is the result:
38537 \begin_layout Standard
38538 This is a line where the word
38542 \begin_layout Plain Layout
38546 colorbox{darkgreen}{
38552 \begin_inset Quotes eld
38556 \begin_inset Quotes erd
38563 \begin_layout Plain Layout
38570 has a darkgreen background.
38573 \begin_layout Standard
38575 colored boxes are created with the command
38582 It has the following scheme:
38585 \begin_layout Standard
38590 fcolorbox{frame color}{box color}{box content}
38593 \begin_layout Section
38594 Rotated and Scaled Boxes
38597 \begin_layout Standard
38598 To use the boxes described in this section,
38603 must be loaded in the document settings.
38606 \begin_layout Standard
38607 \begin_inset Note Greyedout
38610 \begin_layout Plain Layout
38616 Not all DVI viewers are able to display rotated or scaled material.
38624 \begin_layout Standard
38625 \begin_inset Note Greyedout
38628 \begin_layout Plain Layout
38634 Floats are not allowed inside a rotated or scaled box.
38642 \begin_layout Subsection
38644 \begin_inset Index idx
38649 \begin_layout Plain Layout
38651 \begin_inset IndexMacro subentry
38654 \begin_layout Plain Layout
38666 \begin_inset Index idx
38671 \begin_layout Plain Layout
38680 \begin_layout Standard
38681 To rotate material,
38682 you can put it into a
38687 Such a box is inserted via the menu
38689 Insert\SpecialChar menuseparator
38690 Custom Insets\SpecialChar menuseparator
38696 \begin_layout Standard
38697 The rotation origin can be specified via the inset
38703 Insert\SpecialChar menuseparator
38711 The following positions are possible:
38737 along with meaningful combinations of the four base positions.
38742 means that the rotation origin is at the top left corner of the box.
38743 When no rotation origin is specified,
38749 The rotation angle is a number that can be negative that specifies the angle in degrees.
38750 The rotation direction is counterclockwise.
38753 \begin_layout Standard
38754 In the following example
38758 was inserted to the
38766 was inserted to the
38773 \begin_layout Standard
38775 \begin_inset Flex Rotatebox
38778 \begin_layout Plain Layout
38779 \begin_inset Argument 1
38782 \begin_layout Plain Layout
38789 \begin_inset Argument 2
38792 \begin_layout Plain Layout
38806 \begin_layout Standard
38807 The box content can also be another box or an inline formula:
38810 \begin_layout Standard
38812 \begin_inset Flex Rotatebox
38815 \begin_layout Plain Layout
38816 \begin_inset Argument 1
38819 \begin_layout Plain Layout
38826 \begin_inset Argument 2
38829 \begin_layout Plain Layout
38836 \begin_inset Box Doublebox
38846 height_special "totalheight"
38851 backgroundcolor "none"
38854 \begin_layout Plain Layout
38866 \begin_inset Flex Rotatebox
38869 \begin_layout Plain Layout
38870 \begin_inset Argument 1
38873 \begin_layout Plain Layout
38880 \begin_inset Argument 2
38883 \begin_layout Plain Layout
38890 \begin_inset Formula $\int A\,\mathrm{d}x=B$
38901 \begin_layout Standard
38902 or an image or table:
38905 \begin_layout Standard
38907 \begin_inset Flex Rotatebox
38910 \begin_layout Plain Layout
38911 \begin_inset Argument 1
38914 \begin_layout Plain Layout
38921 \begin_inset Argument 2
38924 \begin_layout Plain Layout
38931 \begin_inset Graphics
38932 filename clipart/Star-structure.pdf
38943 with a rotated image
38944 \begin_inset Flex Rotatebox
38947 \begin_layout Plain Layout
38948 \begin_inset Argument 2
38951 \begin_layout Plain Layout
38958 \begin_inset Tabular
38959 <lyxtabular version="3" rows="2" columns="2">
38960 <features tabularvalignment="middle">
38961 <column alignment="center" valignment="top">
38962 <column alignment="center" valignment="top">
38964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38967 \begin_layout Plain Layout
38973 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38976 \begin_layout Plain Layout
38984 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38987 \begin_layout Plain Layout
38993 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38996 \begin_layout Plain Layout
39013 \begin_inset Index idx
39018 \begin_layout Plain Layout
39020 \begin_inset IndexMacro subentry
39023 \begin_layout Plain Layout
39035 \begin_inset Index idx
39040 \begin_layout Plain Layout
39041 Table Customization
39042 \begin_inset IndexMacro subentry
39045 \begin_layout Plain Layout
39059 \begin_layout Standard
39060 \begin_inset Note Greyedout
39063 \begin_layout Plain Layout
39073 inset is empty or contains other characters than numbers you will get \SpecialChar LaTeX
39074 errors when viewing/exporting the document.
39082 \begin_layout Subsection
39084 \begin_inset Index idx
39089 \begin_layout Plain Layout
39091 \begin_inset IndexMacro subentry
39094 \begin_layout Plain Layout
39106 \begin_inset Index idx
39111 \begin_layout Plain Layout
39120 \begin_layout Standard
39121 To scale material put it into a
39126 Such a box is inserted via the menu
39128 Insert\SpecialChar menuseparator
39129 Custom Insets\SpecialChar menuseparator
39135 \begin_layout Standard
39140 inset has the mandatory inset
39144 and the optional inset
39148 (inserted via the menu
39150 Insert\SpecialChar menuseparator
39154 Input there the horizontal and vertical scale factor,
39161 the horizontal factor will also be used as the vertical one.
39164 \begin_layout Standard
39165 To get for example the double text size,
39166 compared to the document text size,
39178 \begin_inset Flex Scalebox
39181 \begin_layout Plain Layout
39182 \begin_inset Argument 1
39185 \begin_layout Plain Layout
39199 \begin_layout Standard
39217 \begin_inset Flex Scalebox
39220 \begin_layout Plain Layout
39221 \begin_inset Argument 1
39224 \begin_layout Plain Layout
39231 \begin_inset Argument 2
39234 \begin_layout Plain Layout
39248 \begin_layout Standard
39249 If the scaling factor is negative,
39250 the box content will be mirrored.
39267 can be used to create mirror writing:
39269 \begin_inset Flex Scalebox
39272 \begin_layout Plain Layout
39273 \begin_inset Argument 1
39276 \begin_layout Plain Layout
39283 \begin_inset Argument 2
39286 \begin_layout Plain Layout
39300 \begin_layout Standard
39318 \begin_inset Flex Scalebox
39321 \begin_layout Plain Layout
39322 \begin_inset Argument 1
39325 \begin_layout Plain Layout
39332 \begin_inset Argument 2
39335 \begin_layout Plain Layout
39349 \begin_layout Standard
39356 Insert\SpecialChar menuseparator
39357 Custom Insets\SpecialChar menuseparator
39383 \begin_layout Standard
39384 \begin_inset Note Greyedout
39387 \begin_layout Plain Layout
39397 inset is empty or contains other characters than numbers you will get LaTeX errors when viewing/exporting the document.
39405 \begin_layout Standard
39406 \begin_inset VSpace bigskip
39415 Insert\SpecialChar menuseparator
39416 Custom Insets\SpecialChar menuseparator
39419 ) is used to scale the content to a defined width and height.
39424 inset has the mandatory inset
39428 and the optional inset
39432 (inserted via the menu
39434 Insert\SpecialChar menuseparator
39438 Input there the width and height,
39440 as value with a unit.
39442 \begin_inset CommandInset ref
39444 reference "tab:Units"
39449 lists the possible units.
39450 If there is an exclamation mark
39455 in one of the two insets,
39456 the size is set so that the aspect ratio of the box content is kept.
39461 inset is used an exclamation mark will internally be used for the height.
39464 \begin_layout Standard
39483 \begin_inset Flex Resizebox
39486 \begin_layout Plain Layout
39487 \begin_inset Argument 1
39490 \begin_layout Plain Layout
39497 \begin_inset Argument 2
39500 \begin_layout Plain Layout
39512 \begin_inset Newline newline
39538 \begin_inset Flex Resizebox
39541 \begin_layout Plain Layout
39542 \begin_inset Argument 1
39545 \begin_layout Plain Layout
39552 \begin_inset Argument 2
39555 \begin_layout Plain Layout
39569 \begin_layout Standard
39570 \begin_inset Note Greyedout
39573 \begin_layout Plain Layout
39583 inset is empty or contains an invalid unit you will get LaTeX errors when viewing/exporting the document.
39591 \begin_layout Standard
39592 \begin_inset VSpace bigskip
39598 \begin_layout Standard
39599 The boxes can be combined in any order.
39608 which is in turn inside a
39615 \begin_layout Standard
39618 \begin_inset Flex Rotatebox
39621 \begin_layout Plain Layout
39622 \begin_inset Argument 1
39625 \begin_layout Plain Layout
39632 \begin_inset Argument 2
39635 \begin_layout Plain Layout
39642 \begin_inset Flex Resizebox
39645 \begin_layout Plain Layout
39646 \begin_inset Argument 1
39649 \begin_layout Plain Layout
39656 \begin_inset Flex Reflectbox
39659 \begin_layout Plain Layout
39678 \begin_layout Standard
39682 and inline formulas are allowed as box content:
39685 \begin_layout Standard
39688 \begin_inset Flex Resizebox
39691 \begin_layout Plain Layout
39692 \begin_inset Argument 1
39695 \begin_layout Plain Layout
39702 \begin_inset Flex Reflectbox
39705 \begin_layout Plain Layout
39706 \begin_inset Graphics
39707 filename clipart/Star-structure.pdf
39724 \begin_inset Flex Resizebox
39727 \begin_layout Plain Layout
39728 \begin_inset Argument 1
39731 \begin_layout Plain Layout
39738 \begin_inset Flex Reflectbox
39741 \begin_layout Plain Layout
39742 \begin_inset Tabular
39743 <lyxtabular version="3" rows="2" columns="2">
39744 <features tabularvalignment="middle">
39745 <column alignment="center" valignment="top">
39746 <column alignment="center" valignment="top">
39748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39751 \begin_layout Plain Layout
39757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
39760 \begin_layout Plain Layout
39768 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
39771 \begin_layout Plain Layout
39777 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
39780 \begin_layout Plain Layout
39802 \begin_inset Flex Resizebox
39805 \begin_layout Plain Layout
39806 \begin_inset Argument 1
39809 \begin_layout Plain Layout
39816 \begin_inset Flex Reflectbox
39819 \begin_layout Plain Layout
39820 \begin_inset Formula $\int A\,\mathrm{d}x=B$
39834 \begin_inset Index idx
39839 \begin_layout Plain Layout
39841 \begin_inset IndexMacro subentry
39844 \begin_layout Plain Layout
39856 \begin_inset Index idx
39861 \begin_layout Plain Layout
39862 Table Customization
39863 \begin_inset IndexMacro subentry
39866 \begin_layout Plain Layout
39880 \begin_layout Standard
39881 When the global formula style
39885 is used in the document
39889 \begin_layout Plain Layout
39891 \begin_inset Quotes eld
39895 \begin_inset Quotes erd
39898 is added to the document class options.
39904 display style formulas can also be scaled.
39907 \begin_layout Chapter
39908 Objects Surrounded by Text
39909 \begin_inset Index idx
39914 \begin_layout Plain Layout
39923 \begin_layout Section
39925 \begin_inset CommandInset label
39927 name "sec:Wrap-Floats"
39932 \begin_inset Index idx
39937 \begin_layout Plain Layout
39939 \begin_inset IndexMacro subentry
39942 \begin_layout Plain Layout
39954 \begin_inset Index idx
39959 \begin_layout Plain Layout
39961 \begin_inset IndexMacro subentry
39964 \begin_layout Plain Layout
39978 \begin_layout Standard
39979 \begin_inset Wrap figure
39986 \begin_layout Plain Layout
39987 \begin_inset Graphics
39988 filename clipart/2D-intensity-plot.pdf
39990 scaleBeforeRotation
39991 rotateOrigin center
39998 \begin_layout Plain Layout
39999 \begin_inset Caption Standard
40001 \begin_layout Plain Layout
40002 \begin_inset CommandInset label
40004 name "fig:This-is-a"
40008 This is a wrapped figure float.
40018 This float type is used if you want to wrap text around a figure or table so that it only occupies some fraction of the column width.
40019 It can be inserted using the menu
40021 Insert\SpecialChar menuseparator
40022 Floats\SpecialChar menuseparator
40024 \begin_inset space ~
40032 \begin_inset space ~
40037 if the \SpecialChar LaTeX
40043 \begin_inset Index idx
40048 \begin_layout Plain Layout
40051 \begin_inset IndexMacro subentry
40054 \begin_layout Plain Layout
40069 \begin_layout Plain Layout
40070 Installing a \SpecialChar LaTeX
40071 -package is explained it in the
40075 \begin_inset space ~
40085 The settings of the float can be modified by right-clicking on the float box.
40086 The mandatory settings are the float
40099 that specifies how much the float is set into the paragraph
40100 \begin_inset space \thinspace{}
40104 \begin_inset space \thinspace{}
40111 \begin_inset space ~
40116 that specifies how many text lines the float will approximately need.
40117 The line span is often hard to approximate;
40118 so it is better only to use it when you encounter float placement problems.
40119 You can furthermore decide if \SpecialChar LaTeX
40120 is allowed to let the float float within the paragraph or to surrounding paragraphs.
40122 \begin_inset space ~
40126 \begin_inset CommandInset ref
40128 reference "fig:This-is-a"
40133 is an example text wrap float with a width of 40
40134 \begin_inset space \thinspace{}
40139 \begin_inset space \thinspace{}
40146 \begin_layout Standard
40147 \begin_inset Note Greyedout
40150 \begin_layout Plain Layout
40157 \begin_inset space ~
40160 wrap float floats are fragile!
40162 \begin_inset space \thinspace{}
40166 \begin_inset space \space{}
40169 having a figure too close to the bottom of the page can mess things up in such a way that the float does not appear in the output or that it is placed over some other text.
40177 \begin_layout Standard
40179 the following applies for wrap floats:
40182 \begin_layout Itemize
40183 They should not be placed in paragraphs that run over a page break.
40184 That means that wrap floats are better inserted in their exact place when the document is almost finished and you are able to estimate where page breaks will appear.
40187 \begin_layout Itemize
40188 They should either be placed in their own paragraph before the paragraph where they should wrap into or within a paragraph.
40191 \begin_layout Itemize
40192 In consecutive paragraphs they may cause troubles,
40193 so ensure that there is a text paragraph between them as separator.
40196 \begin_layout Itemize
40197 They are not allowed in section headings or tables.
40200 \begin_layout Itemize
40201 Their numbering and referencing works as described in chap.
40202 \begin_inset space \thinspace{}
40206 \begin_inset CommandInset ref
40208 reference "chap:Floats"
40216 \begin_layout Section
40217 Surrounded Fixed Objects
40218 \begin_inset Index idx
40223 \begin_layout Plain Layout
40225 \begin_inset IndexMacro subentry
40228 \begin_layout Plain Layout
40242 \begin_layout Standard
40243 The wrap floats described in sec.
40244 \begin_inset space \thinspace{}
40248 \begin_inset CommandInset ref
40250 reference "sec:Wrap-Floats"
40255 have these positions in the paragraph:
40258 \begin_layout Standard
40261 \begin_inset Tabular
40262 <lyxtabular version="3" rows="2" columns="2">
40263 <features tabularvalignment="middle">
40264 <column alignment="center" valignment="top">
40265 <column alignment="center" valignment="top">
40267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40270 \begin_layout Plain Layout
40273 arg "dialog-show-new-inset graphics"
40281 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40284 \begin_layout Plain Layout
40292 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40295 \begin_layout Plain Layout
40301 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40304 \begin_layout Plain Layout
40316 \begin_inset Tabular
40317 <lyxtabular version="3" rows="2" columns="2">
40318 <features tabularvalignment="middle">
40319 <column alignment="center" valignment="top">
40320 <column alignment="center" valignment="top">
40322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40325 \begin_layout Plain Layout
40331 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40334 \begin_layout Plain Layout
40337 arg "dialog-show-new-inset graphics"
40347 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40350 \begin_layout Plain Layout
40356 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40359 \begin_layout Plain Layout
40373 \begin_layout Standard
40374 To get an object exactly at the position where it is inserted,
40375 for example to get one of these positions:
40376 \begin_inset VSpace defskip
40382 \begin_layout Standard
40385 \begin_inset Tabular
40386 <lyxtabular version="3" rows="2" columns="2">
40387 <features tabularvalignment="middle">
40388 <column alignment="center" valignment="top">
40389 <column alignment="center" valignment="top">
40391 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40394 \begin_layout Plain Layout
40400 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40403 \begin_layout Plain Layout
40411 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40414 \begin_layout Plain Layout
40417 arg "dialog-show-new-inset graphics"
40425 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40428 \begin_layout Plain Layout
40440 \begin_inset Tabular
40441 <lyxtabular version="3" rows="2" columns="2">
40442 <features tabularvalignment="middle">
40443 <column alignment="center" valignment="top">
40444 <column alignment="center" valignment="top">
40446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40449 \begin_layout Plain Layout
40455 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40458 \begin_layout Plain Layout
40466 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40469 \begin_layout Plain Layout
40475 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40478 \begin_layout Plain Layout
40481 arg "dialog-show-new-inset graphics"
40495 \begin_inset Tabular
40496 <lyxtabular version="3" rows="2" columns="3">
40497 <features tabularvalignment="middle">
40498 <column alignment="center" valignment="top">
40499 <column alignment="center" valignment="top">
40500 <column alignment="center" valignment="top">
40502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40505 \begin_layout Plain Layout
40511 <cell alignment="center" valignment="top" topline="true" usebox="none">
40514 \begin_layout Plain Layout
40517 arg "dialog-show-new-inset graphics"
40525 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40528 \begin_layout Plain Layout
40536 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40539 \begin_layout Plain Layout
40545 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
40548 \begin_layout Plain Layout
40554 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40557 \begin_layout Plain Layout
40569 \begin_inset Tabular
40570 <lyxtabular version="3" rows="2" columns="3">
40571 <features tabularvalignment="middle">
40572 <column alignment="center" valignment="top">
40573 <column alignment="center" valignment="top">
40574 <column alignment="center" valignment="top">
40576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40579 \begin_layout Plain Layout
40585 <cell alignment="center" valignment="top" topline="true" usebox="none">
40588 \begin_layout Plain Layout
40594 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40597 \begin_layout Plain Layout
40605 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40608 \begin_layout Plain Layout
40614 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
40617 \begin_layout Plain Layout
40620 arg "dialog-show-new-inset graphics"
40628 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40631 \begin_layout Plain Layout
40645 \begin_layout Standard
40648 \begin_inset Tabular
40649 <lyxtabular version="3" rows="3" columns="2">
40650 <features tabularvalignment="middle">
40651 <column alignment="center" valignment="top">
40652 <column alignment="center" valignment="top">
40654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40657 \begin_layout Plain Layout
40663 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40666 \begin_layout Plain Layout
40674 <cell alignment="center" valignment="top" leftline="true" usebox="none">
40677 \begin_layout Plain Layout
40680 arg "dialog-show-new-inset graphics"
40688 <cell alignment="center" valignment="top" rightline="true" usebox="none">
40691 \begin_layout Plain Layout
40699 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40702 \begin_layout Plain Layout
40708 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40711 \begin_layout Plain Layout
40723 \begin_inset Tabular
40724 <lyxtabular version="3" rows="3" columns="3">
40725 <features tabularvalignment="middle">
40726 <column alignment="center" valignment="top">
40727 <column alignment="center" valignment="top">
40728 <column alignment="center" valignment="top">
40730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40733 \begin_layout Plain Layout
40739 <cell alignment="center" valignment="top" topline="true" usebox="none">
40742 \begin_layout Plain Layout
40748 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40751 \begin_layout Plain Layout
40759 <cell alignment="center" valignment="top" leftline="true" usebox="none">
40762 \begin_layout Plain Layout
40768 <cell alignment="center" valignment="top" usebox="none">
40771 \begin_layout Plain Layout
40774 arg "dialog-show-new-inset graphics"
40782 <cell alignment="center" valignment="top" rightline="true" usebox="none">
40785 \begin_layout Plain Layout
40793 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40796 \begin_layout Plain Layout
40802 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
40805 \begin_layout Plain Layout
40811 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40814 \begin_layout Plain Layout
40826 \begin_inset Tabular
40827 <lyxtabular version="3" rows="3" columns="2">
40828 <features tabularvalignment="middle">
40829 <column alignment="center" valignment="top">
40830 <column alignment="center" valignment="top">
40832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40835 \begin_layout Plain Layout
40841 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40844 \begin_layout Plain Layout
40852 <cell alignment="center" valignment="top" leftline="true" usebox="none">
40855 \begin_layout Plain Layout
40861 <cell alignment="center" valignment="top" rightline="true" usebox="none">
40864 \begin_layout Plain Layout
40867 arg "dialog-show-new-inset graphics"
40877 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40880 \begin_layout Plain Layout
40886 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40889 \begin_layout Plain Layout
40903 \begin_layout Standard
40905 you can use the \SpecialChar LaTeX
40911 \begin_inset Index idx
40916 \begin_layout Plain Layout
40919 \begin_inset IndexMacro subentry
40922 \begin_layout Plain Layout
40934 Here is an example:
40937 \begin_layout Standard
40941 \begin_layout Plain Layout
40951 \begin_inset Note Note
40954 \begin_layout Plain Layout
40955 The following section will only be displayed when the \SpecialChar LaTeX
40968 \begin_layout Standard
40972 \begin_layout Plain Layout
40976 begin{window}[2,c,{
40982 \begin_inset Graphics
40983 filename clipart/2D-intensity-plot.pdf
40986 scaleBeforeRotation
40987 rotateOrigin center
40995 \begin_layout Plain Layout
41000 \begin_layout Plain Layout
41009 It was in the spring of the year 1894 that all London was interested,
41010 and the fashionable world dismayed,
41011 by the murder of the Honourable Ronald Adair under most unusual and inexplicable circumstances.
41012 The public has already learned those particulars of the crime which
41018 \begin_layout Plain Layout
41029 came out in the police investigation,
41030 but a good deal was suppressed upon that occasion,
41031 since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts.
41033 at the end of nearly ten years,
41034 am I allowed to supply those missing links which make up the whole of that remarkable chain.
41040 \begin_layout Plain Layout
41052 \begin_layout Standard
41056 \begin_layout Plain Layout
41065 Footnote of the paragraph with the fixed object.
41069 \begin_layout Plain Layout
41079 \begin_layout Standard
41080 Surrounded fixed objects are used to let text float around them,
41081 at which the object's position in the paragraph can be determined by the number of lines above it.
41082 In contrary to floats is it not possible to have a numbered caption.
41085 \begin_layout Standard
41086 A fixed object is inserted by adding the command
41089 \begin_layout Standard
41094 begin{window}[2,c,{
41097 \begin_layout Standard
41098 as \SpecialChar TeX
41099 Code at the beginning of the paragraph.
41100 The first parameter in the bracket,
41102 defines the number of lines above the object,
41105 the position of the object.
41107 'c' and 'r' (for left,
41109 right) are possible.
41110 Behind the command you insert the object.
41111 In this example an image with a width of 40
41112 \begin_inset space \thinspace{}
41115 % of the text column width was inserted.
41116 The object can also be a table,
41117 a box or an equation.
41118 Behind the object the command
41121 \begin_layout Standard
41124 },description text]
41125 \begin_inset Newline newline
41131 \begin_layout Standard
41134 \begin_inset Quotes eld
41142 \begin_inset Quotes erd
41145 is in the second line.
41146 The description text is optional.
41147 The text surrounding the object must be in the same paragraph as the object,
41148 so it must begin directly after the
41153 At the end of the paragraph insert the command:
41156 \begin_layout Standard
41164 \begin_layout Standard
41165 Within a paragraph with a fixed object,
41166 you cannot insert footnotes in the normal way.
41167 You have to use instead the command
41173 inside the paragraph and outside the command
41179 as described in sec.
41180 \begin_inset space \thinspace{}
41184 \begin_inset CommandInset ref
41186 reference "sec:Footnotes"
41194 \begin_layout Standard
41198 \begin_layout Plain Layout
41208 \begin_inset Note Note
41211 \begin_layout Plain Layout
41212 The following will be displayed when the \SpecialChar LaTeX
41225 \begin_layout Standard
41226 You need to install the \SpecialChar LaTeX
41231 to see the following part of this section in the output.
41234 \begin_layout Standard
41238 \begin_layout Plain Layout
41250 \begin_layout Section
41252 \begin_inset Index idx
41257 \begin_layout Plain Layout
41264 \begin_inset Index idx
41269 \begin_layout Plain Layout
41271 \begin_inset IndexMacro subentry
41274 \begin_layout Plain Layout
41288 \begin_layout Standard
41290 you must have the \SpecialChar LaTeX
41296 \begin_inset Index idx
41301 \begin_layout Plain Layout
41304 \begin_inset IndexMacro subentry
41307 \begin_layout Plain Layout
41318 installed and use the module
41322 in your document (menu
41324 Document\SpecialChar menuseparator
41325 Settings\SpecialChar menuseparator
41329 To insert an initial,
41335 This style has a mandatory and two optional arguments.
41336 The arguments are inserted via the
41341 The mandatory argument
41345 contains the letter(s) that is the initial,
41349 \begin_inset space ~
41353 \begin_inset space ~
41358 contains the rest of the word or text of the initial letter(s).
41363 contains parameters to modify the initial.
41364 For more information about the possible parameters see the documentation of
41370 \begin_inset CommandInset citation
41378 The style itself contains the text that is surrounding the initial.
41379 The usual style is hereby that the word whose first letter is the initial,
41387 \begin_layout Standard
41388 Here are some examples:
41391 \begin_layout Standard
41395 \begin_layout Plain Layout
41405 \begin_inset Note Note
41408 \begin_layout Plain Layout
41409 The following section will only be displayed when the \SpecialChar LaTeX
41422 \begin_layout Enumerate
41423 No optional argument,
41424 the initial is the letter 'I' in the math font
41425 \begin_inset Formula $\mathfrak{Fraktur}$
41432 \begin_layout Initial
41433 \begin_inset Argument 2
41436 \begin_layout Plain Layout
41437 \begin_inset Formula $\mathfrak{I}$
41446 \begin_inset Argument 3
41449 \begin_layout Plain Layout
41455 was in the spring of the year 1894 that all London was interested,
41456 and the fashionable world dismayed,
41457 by the murder of the Honourable Ronald Adair under most unusual and inexplicable circumstances.
41458 The public has already learned those particulars of the crime which came out in the police investigation,
41459 but a good deal was suppressed upon that occasion,
41460 since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts.
41461 \begin_inset Newpage newpage
41468 \begin_layout Enumerate
41469 Only one line is surrounding the initial,
41470 which is formed by two letters in standard font and no text is printed in small caps:
41474 \begin_layout Initial
41475 \begin_inset Argument 1
41478 \begin_layout Plain Layout
41485 \begin_inset Argument 2
41488 \begin_layout Plain Layout
41494 was in the spring of the year 1894 that all London was interested,
41495 and the fashionable world dismayed,
41496 by the murder of the Honourable Ronald Adair under most unusual and inexplicable circumstances.
41497 The public has already learned those particulars of the crime which came out in the police investigation,
41498 but a good deal was suppressed upon that occasion,
41499 since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts.
41503 \begin_layout Enumerate
41505 hanging initial over 3
41506 \begin_inset space ~
41509 lines in the math font
41510 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
41515 \begin_inset Quotes eld
41518 t was in the spring
41519 \begin_inset Quotes erd
41527 to color the initial,
41528 you must insert this command before the initial:
41529 \begin_inset Newline newline
41543 \begin_inset Newline newline
41551 \begin_inset Quotes eld
41555 \begin_inset Quotes erd
41560 \begin_inset Quotes eld
41564 \begin_inset Quotes erd
41569 \begin_inset Quotes eld
41573 \begin_inset Quotes erd
41578 \begin_inset Quotes eld
41582 \begin_inset Quotes erd
41587 \begin_inset Quotes eld
41591 \begin_inset Quotes erd
41596 \begin_inset Quotes eld
41600 \begin_inset Quotes erd
41605 \begin_inset Quotes eld
41609 \begin_inset Quotes erd
41613 \begin_inset Quotes eld
41617 \begin_inset Quotes erd
41621 and add this command to the document preamble:
41622 \begin_inset Newline newline
41629 @ifundefined{textcolor}
41630 \begin_inset Newline newline
41634 \begin_inset space ~
41639 usepackage{color}}{}
41643 \begin_layout Standard
41647 \begin_layout Plain Layout
41661 \begin_inset Note Note
41664 \begin_layout Plain Layout
41665 makes the initial magenta
41673 \begin_layout Initial
41674 \begin_inset Argument 1
41677 \begin_layout Plain Layout
41686 \begin_inset Argument 2
41689 \begin_layout Plain Layout
41690 \begin_inset Formula $\mathcal{I}$
41699 \begin_inset Argument 3
41702 \begin_layout Plain Layout
41703 t was in the spring
41708 of the year 1894 that all London was interested,
41709 and the fashionable world dismayed,
41710 by the murder of the Honourable Ronald Adair under most unusual and inexplicable circumstances.
41711 The public has already learned those particulars of the crime which came out in the police investigation,
41712 but a good deal was suppressed upon that occasion,
41713 since the case for the prosecution was so overwhelmingly strong that it was not necessary to bring forward all the facts.
41717 \begin_layout Standard
41721 \begin_layout Plain Layout
41731 \begin_inset Note Note
41734 \begin_layout Plain Layout
41735 The following will be displayed when the \SpecialChar LaTeX
41748 \begin_layout Standard
41749 You need to install the \SpecialChar LaTeX
41754 to see the following part of this section in the output.
41757 \begin_layout Standard
41761 \begin_layout Plain Layout
41773 \begin_layout Chapter
41774 External Document Parts
41775 \begin_inset Index idx
41780 \begin_layout Plain Layout
41781 External Document Parts
41789 \begin_layout Standard
41792 Insert\SpecialChar menuseparator
41795 you can insert external material into your document.
41799 \begin_layout Description
41801 \begin_inset space ~
41804 Document Another \SpecialChar LyX
41806 its content is directly inserted to your document.
41809 \begin_layout Description
41811 \begin_inset space ~
41814 Text A text document;
41815 each line is inserted in your document as a separate paragraph.
41818 \begin_layout Description
41820 \begin_inset space ~
41824 \begin_inset space ~
41828 \begin_inset space ~
41831 Lines A text document;
41832 text lines are inserted in your document continuously but an empty text line creates a new paragraph.
41835 \begin_layout Description
41837 \begin_inset space ~
41840 Material Files in various formats.
41843 \begin_layout Description
41845 \begin_inset space ~
41848 Document \SpecialChar LyX
41849 or \SpecialChar LaTeX
41853 \begin_layout Section
41855 \begin_inset Index idx
41860 \begin_layout Plain Layout
41861 External Document Parts
41862 \begin_inset IndexMacro subentry
41865 \begin_layout Plain Layout
41879 \begin_layout Standard
41880 The external material feature allows you to insert files into your document without converting them to a format that can be read by the document output format.
41882 takes care of the necessary conversions.
41883 This is similar to images that can be inserted in various image formats in \SpecialChar LyX
41885 When you have enabled Instant Preview in \SpecialChar LyX
41886 's preferences under
41889 \begin_inset space ~
41893 \begin_inset space ~
41896 feel\SpecialChar menuseparator
41900 the external material types Dia and Xfig are directly shown in \SpecialChar LyX
41904 \begin_layout Standard
41905 External material can be inserted via the
41909 dialog that is accessible with the menu
41911 Insert\SpecialChar menuseparator
41912 File\SpecialChar menuseparator
41914 \begin_inset space ~
41920 Currently the following file types (
41927 \begin_layout Description
41929 \begin_inset space ~
41932 diagram This template supports chess position diagrams made with the program
41935 \begin_inset CommandInset href
41938 target "https://en.wikipedia.org/wiki/XBoard"
41948 \begin_layout Description
41950 \begin_inset space ~
41953 diagram This template supports diagrams created with the program
41956 \begin_inset CommandInset href
41959 target "https://en.wikipedia.org/wiki/Dia_(software)"
41969 \begin_layout Description
41971 \begin_inset space ~
41974 figure This template supports specific scalable images derived from scalable vector graphics (SVG),
41975 in which the contained text is replaced by a version typeset by \SpecialChar LaTeX
41976 (and hence in the current document font).
41977 It relies on a feature of the program
41980 \begin_inset CommandInset href
41983 target "https://inkscape.org/"
41990 which creates a special PDF or EPS and \SpecialChar LaTeX
41991 file from a given SVG file (in
41996 the feature is available via the option
41998 Omit text in PDF and create LaTeX file
42000 when saving a drawing as PDF or EPS).
42001 The benefit of such files is a uniform text style throughout the whole document.
42002 \begin_inset Newline newline
42005 The external template reads SVG files and uses a converter program to generate the respective PDF\SpecialChar breakableslash
42006 EPS and \SpecialChar LaTeX
42016 so you don't have to export those files yourself.
42017 If you prefer the latter and want use given
42034 simply input the respective
42047 \begin_inset space ~
42051 \begin_inset CommandInset ref
42053 reference "sec:Child-Documents"
42058 ) rather than using this template.
42059 \begin_inset Newline newline
42062 You can use \SpecialChar TeX
42063 code commands such as
42078 \begin_inset space \space{}
42081 in the text of the SVG.
42082 The size of the font will be taken from the settings of the \SpecialChar LyX
42085 \begin_inset CommandInset citation
42092 for more information and examples.
42095 \begin_layout Description
42097 \begin_inset space ~
42101 \begin_inset space ~
42104 music This template is used for music notation typeset with the program
42105 \begin_inset Newline linebreak
42111 \begin_inset CommandInset href
42114 target "https://en.wikipedia.org/wiki/LilyPond"
42122 For \SpecialChar LyX
42123 's extended support for LilyPond have a look at \SpecialChar LyX
42131 \begin_layout Description
42133 \begin_inset space ~
42136 pages With this template you can insert PDF documents to your document.
42137 To specify the range of pages that should be included,
42148 LaTeX and LyX options
42151 The argument of this option is a comma separated list,
42152 containing page numbers (insert as option
42157 ranges of page numbers (
42161 ) or any combination.
42162 To insert empty pages use {}.
42164 \begin_inset space \thinspace{}
42168 \begin_inset space ~
42173 pages={3,{},8-11,15}
42175 will insert page 3,
42181 Page ranges are specified in the syntax
42190 This selects all pages from
42203 defaults to the first page;
42208 defaults to the last page of the document.
42209 The last page can also be selected with the keyword
42214 (This is only permitted in a page range.) So
42218 will insert all pages of the document and
42222 will insert all pages in reverse order.
42223 If the pages option is not specified,
42224 only the first page of the PDF is inserted.
42225 \begin_inset Newline newline
42232 inserts the pages with their original size,
42233 if this option is not given,
42234 the pages will be resized to fith the width of the page of your document.
42239 you can specify the width and height of the input pages and their rotation.
42240 If another width than 100
42241 \begin_inset space \thinspace{}
42249 will be overwritten.
42250 For more info and possible options,
42251 have a look into the documentation of the \SpecialChar LaTeX
42257 \begin_inset CommandInset citation
42265 \begin_inset Index idx
42270 \begin_layout Plain Layout
42273 \begin_inset IndexMacro subentry
42276 \begin_layout Plain Layout
42288 \begin_inset Newline newline
42291 To use this template in a
42295 presentation you need to first insert an
42299 environment and in a subsequent paragraph a \SpecialChar TeX
42300 Code box containing the command
42304 setbeamertemplate{background canvas}{}
42307 Then you can insert as many paragraphs containing the PDFPages template as you wish.
42308 Behind the included PDF pages you can resume the Beamer presentation by beginning a new frame or by starting a new section.
42309 To avoid stray blank pages prior to the PDF pages,
42310 make sure to use the
42314 alignment for the paragraph containing the template.
42315 \begin_inset Newline newline
42318 Here is an included PDF which is rotated by -5°:
42320 \begin_inset External
42322 filename clipart/Abstract.pdf
42323 extra LaTeX "noautoscale, pages=-"
42325 rotateOrigin bottomleft
42332 \begin_layout Description
42334 \begin_inset space ~
42337 image This can be used for bitmap images.
42338 The image can be treated in the
42342 dialog like the images that are usually included via the
42346 dialog as described in section
42347 \begin_inset space ~
42351 \begin_inset CommandInset ref
42353 reference "sec:Graphics-Dialog"
42359 Here is an inserted raster image:
42361 \begin_inset External
42362 template RasterImage
42363 filename clipart/ToolbarEnvBox.png
42370 \begin_layout Description
42371 Spreadsheet With this template you can insert spreadsheets
42372 \begin_inset space \thinspace{}
42376 \begin_inset space \thinspace{}
42379 tables in the format of
42382 \begin_inset CommandInset href
42385 target "https://en.wikipedia.org/wiki/Gnumeric"
42394 \begin_inset CommandInset href
42396 name "OpenDocument"
42397 target "https://en.wikipedia.org/wiki/OpenDocument"
42404 \begin_inset CommandInset href
42406 name "Microsoft Office XML"
42407 target "https://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
42413 \begin_inset CommandInset href
42415 name "Office Open XML"
42416 target "https://en.wikipedia.org/wiki/Office_Open_XML"
42422 For this feature \SpecialChar LyX
42423 must have found the program
42427 during its configuration.
42428 This program is part of Gnumeric,
42429 so that you must have Gnumeric installed,
42430 also if you don't have tables in the Gnumeric format.
42431 For examples and possible limitations have a look at \SpecialChar LyX
42439 \begin_layout Description
42441 \begin_inset space ~
42444 graphics This can be used for vector graphics.
42445 The image can be treated in the
42449 dialog like the images that are usually included via the
42453 dialog as described in section
42454 \begin_inset space ~
42458 \begin_inset CommandInset ref
42460 reference "sec:Graphics-Dialog"
42466 Here is an inserted vector graphics:
42468 \begin_inset External
42469 template VectorGraphics
42470 filename clipart/SVG-Drawing.svg
42479 \begin_layout Description
42481 \begin_inset space ~
42484 figure This template supports images created with the program
42485 \begin_inset CommandInset href
42488 target "https://en.wikipedia.org/wiki/Xfig"
42496 \begin_layout Standard
42497 When you use the option
42510 only the path to the inserted file is shown in the output.
42511 \begin_inset Newline newline
42514 External material is displayed in \SpecialChar LyX
42515 either as a box like this:
42517 \begin_inset Graphics
42518 filename clipart/ExternalMaterial.png
42520 scaleBeforeRotation
42525 depending on the option
42531 LaTeX and LyX options
42536 \begin_layout Standard
42543 manual explains how you can define your own templates.
42546 \begin_layout Section
42548 \begin_inset CommandInset label
42550 name "sec:Child-Documents"
42555 \begin_inset Index idx
42560 \begin_layout Plain Layout
42561 External Document Parts
42562 \begin_inset IndexMacro subentry
42565 \begin_layout Plain Layout
42577 \begin_inset Index idx
42582 \begin_layout Plain Layout
42584 \begin_inset IndexMacro subentry
42587 \begin_layout Plain Layout
42601 \begin_layout Standard
42602 Child documents are used if you have a long document consisting of several larger parts or sections.
42603 For maintenance it is often useful and sometimes even required to split the document into several files that can be revised separately.
42604 The different documents are then the so called
42605 \begin_inset Quotes eld
42609 \begin_inset Quotes erd
42613 and a master document connects them to print the full document or parts of it.
42614 A child document inherits elements from its master,
42615 for example the \SpecialChar LaTeX
42618 and labels for cross-references.
42621 \begin_layout Standard
42622 To be able to work on child documents without the need to open their master,
42623 specify in the child document the master in the menu
42625 Document\SpecialChar menuseparator
42626 Settings\SpecialChar menuseparator
42628 \begin_inset space ~
42634 This master document will then be used in the background by \SpecialChar LyX
42635 when you edit the child document.
42638 \begin_layout Standard
42639 Included documents are displayed in \SpecialChar LyX
42640 as a box like this:
42642 \begin_inset Graphics
42643 filename clipart/ChildDocument.png
42645 scaleBeforeRotation
42649 To include child documents in a master document use the menu
42651 Insert\SpecialChar menuseparator
42652 File\SpecialChar menuseparator
42654 \begin_inset space ~
42660 A dialog pops up where you can choose between four include methods:
42663 \begin_layout Description
42664 Include You can include \SpecialChar LyX
42665 and \SpecialChar LaTeX
42676 the included document will be opened in \SpecialChar LyX
42677 in a new file tab so that you can modify it.
42678 \begin_inset Newline newline
42684 \begin_layout Standard
42685 Here is a child document inserted using
42691 \begin_inset CommandInset include
42692 LatexCommand include
42693 filename "DummyDocument1.lyx"
42701 \begin_layout Standard
42702 The section numbering includes the sections of the included files in the order they are inserted in the master document.
42703 The included example document has for example a subsection that is numbered as a subsection of this section.
42704 Labels of included documents can be referenced:
42706 \begin_inset space ~
42710 \begin_inset CommandInset ref
42712 reference "subsec:External-Subsection-1"
42720 \begin_layout Standard
42721 The preamble of the child document is ignored;
42722 only the preamble of the master document is used.
42723 Branches in child documents will be ignored by the master document when the master document does not have a branch with the same name.
42724 Included documents are inserted starting on a new page and ending with a page break.
42727 \begin_layout Standard
42728 \begin_inset Note Greyedout
42731 \begin_layout Plain Layout
42737 If you have included a \SpecialChar LyX
42738 or \SpecialChar LaTeX
42740 you are warned when you export/view the document in case the child document uses another document class than the master document as this will lead to unexpected outputs.
42748 \begin_layout Description
42749 Input This method is very similar to the Include method.
42750 The differences are:
42754 \begin_layout Itemize
42755 Input files don't start with a new page and don't end with a page break.
42758 \begin_layout Itemize
42759 Input files can be previewed in \SpecialChar LyX
42763 \begin_inset space ~
42768 is enabled in \SpecialChar LyX
42769 's preferences under
42772 \begin_inset space ~
42776 \begin_inset space ~
42779 feel\SpecialChar menuseparator
42785 \begin_layout Itemize
42786 You cannot exclude Input files via the menu
42788 Document\SpecialChar menuseparator
42789 Settings\SpecialChar menuseparator
42796 \begin_layout Standard
42797 Here is a child document inserted using
42803 \begin_inset CommandInset include
42805 filename "DummyDocument2.lyx"
42813 \begin_layout Description
42814 Verbatim With this method any text file can be included.
42815 The file is shown in the output with its source code;
42816 no command used in the text is invoked.
42817 You can use the option
42819 Mark spaces in output
42821 that displays the character
42822 \begin_inset Quotes eld
42829 \begin_layout Plain Layout
42839 \begin_inset Quotes erd
42842 for every space character in the source code.
42843 The difference from the method via the menu
42845 Insert\SpecialChar menuseparator
42846 File\SpecialChar menuseparator
42848 \begin_inset space ~
42853 is that the document content is not shown in \SpecialChar LyX
42857 \begin_layout Standard
42858 Here is a child document inserted as Verbatim:
42860 \begin_inset CommandInset include
42861 LatexCommand verbatiminput
42862 filename "DummyTextDocument.txt"
42868 \begin_inset VSpace bigskip
42871 Here is a child document inserted as Verbatim using the
42873 Mark spaces in output
42877 \begin_inset CommandInset include
42878 LatexCommand verbatiminput*
42879 filename "DummyTextDocument.txt"
42887 \begin_layout Standard
42888 \begin_inset VSpace bigskip
42894 \begin_layout Standard
42895 \begin_inset Note Greyedout
42898 \begin_layout Plain Layout
42904 As you can see in the examples above,
42905 the text of the documents included as
42909 is not broken at the end of the document lines.
42917 \begin_layout Description
42918 Listings This type is described in chapter
42919 \begin_inset space ~
42923 \begin_inset CommandInset ref
42925 reference "cha:Program-Code-Listings"
42933 \begin_layout Standard
42934 \begin_inset Note Greyedout
42937 \begin_layout Plain Layout
42943 Including the same document twice in a document using different methods could cause \SpecialChar LaTeX
42952 \begin_layout Standard
42953 If you want to view/export only selected children of your master document,
42954 either because you want to save compiling time or because you want to distribute single chapters of the book you are just writing,
42955 you can exclude children from the output.
42956 This is done via the menu
42958 Document\SpecialChar menuseparator
42959 Settings\SpecialChar menuseparator
42963 You can exclude\SpecialChar breakableslash
42964 include children by double-clicking on the
42968 column of the respective child document in the list (note that this only works for documents embedded via
42969 \begin_inset Quotes eld
42973 \begin_inset Quotes erd
42978 \begin_inset Quotes eld
42982 \begin_inset Quotes erd
42989 \begin_layout Standard
42992 Global Counters & References
42994 you can set how page numbers,
42996 section counters etc.
43000 \begin_layout Itemize
43007 will assure that all page numbers,
43009 \begin_inset space ~
43012 are correct as if the whole document was output.
43013 This is useful if you want the selected sub-documents to look exactly as in the context of the whole document.
43016 needs to process the whole document in the background for this feature,
43017 which can take a long time.
43020 \begin_layout Itemize
43027 only compiles the master and the included documents.
43028 Thus the counters will differ from the complete document,
43029 and references to excluded child documents will not be resolved.
43030 If you want to save compile time and if counters and references do not need to be correct,
43031 use this option as this is the fastest one.
43034 \begin_layout Itemize
43039 is somewhat in-between the above two.
43040 If this is selected,
43042 will compile the whole document at the first output,
43043 which sets up counters and references correctly.
43044 In subsequent outputs,
43045 it will compile the whole document only if a change has been made in an excluded child document.
43046 As long as you only edit the included files,
43047 this approach is as fast as the second one,
43048 while giving you more or less correct counters and references.
43049 They are only more or less correct since the change of size of included documents obviously also changes the pagination of excluded documents,
43050 but this change cannot be tracked with this method.
43053 \begin_layout Standard
43055 you can put each included file into a branch.
43059 \begin_layout Plain Layout
43060 Branches are described in section
43064 of the \SpecialChar LyX
43074 By enabling\SpecialChar breakableslash
43075 disabling branches you can decide which included files will appear in the output.
43076 This has the advantage that it also works with Input'ed sub-documents.
43078 counters and references will not be maintained with this approach.
43081 \begin_layout Chapter
43082 Program Code Listings
43083 \begin_inset CommandInset label
43085 name "cha:Program-Code-Listings"
43090 \begin_inset Index idx
43095 \begin_layout Plain Layout
43102 \begin_inset Index idx
43107 \begin_layout Plain Layout
43114 \begin_inset Index idx
43119 \begin_layout Plain Layout
43121 \begin_inset IndexMacro subentry
43124 \begin_layout Plain Layout
43138 \begin_layout Standard
43139 To include and typeset program code you can use the
43143 inset that can be inserted via the menu
43145 Insert\SpecialChar menuseparator
43149 The \SpecialChar LaTeX
43155 \begin_inset Index idx
43160 \begin_layout Plain Layout
43163 \begin_inset IndexMacro subentry
43166 \begin_layout Plain Layout
43182 \begin_inset Index idx
43187 \begin_layout Plain Layout
43190 \begin_inset IndexMacro subentry
43193 \begin_layout Plain Layout
43204 provide a powerful and flexible way to insert program source code into your document.
43205 One can only use one of these packages in a document.
43210 is used by default.
43213 \begin_layout Standard
43214 \begin_inset Note Note
43217 \begin_layout Plain Layout
43224 does NOT want to encourage users to add the
43228 option to converter definitions.
43230 but it is a huge security risk.
43231 There is an active discussion about how to handle this.
43232 Once that's been resolved,
43233 this can be updated appropriately.
43236 \begin_layout Plain Layout
43240 \begin_layout Plain Layout
43246 you need to select it as the syntax highlighting package in the document settings under
43255 requires also additionally the module
43267 \begin_layout Plain Layout
43268 Under \SpecialChar LyX
43273 is already installed.
43282 for the \SpecialChar LaTeX
43284 If you want for example view or export your document as the format
43287 \begin_inset space ~
43293 go to the \SpecialChar LyX
43294 preferences and there to the section
43297 \begin_inset space ~
43300 Handling\SpecialChar menuseparator
43304 There go to the entry
43307 \begin_inset space ~
43311 \begin_inset space ~
43316 and look at the field
43321 There you see by default the content
43322 \begin_inset Newline newline
43330 \begin_inset Newline newline
43334 \begin_inset Newline newline
43339 pdflatex $$i -shell-escape
43340 \begin_inset Newline newline
43349 button and subsequently
43358 The same can be done for the output formats
43361 \begin_inset space ~
43369 \begin_inset space ~
43382 \begin_layout Standard
43383 Right-clicking on a listings inset opens the context menu containing where you can set the listings format.
43386 \begin_layout Standard
43388 a listing starts a new paragraph in the output.
43389 The placement option
43392 \begin_inset space ~
43397 prints the listing inline like this:
43399 \begin_inset listings
43400 lstparams "language={C++}"
43404 \begin_layout Plain Layout
43412 \begin_inset Newline newline
43419 creates a listings float where you can specify the placement options
43420 \begin_inset Quotes eld
43428 \begin_inset Quotes erd
43433 \begin_inset Quotes eld
43441 \begin_inset Quotes erd
43446 \begin_inset Quotes eld
43454 \begin_inset Quotes erd
43459 \begin_inset Quotes eld
43467 \begin_inset Quotes erd
43470 corresponding to the float placement options described in section
43471 \begin_inset space ~
43475 \begin_inset CommandInset ref
43477 reference "sec:Float-Settings"
43483 The placement options can be mixed and are inserted without any separation,
43485 \begin_inset space \thinspace{}
43489 \begin_inset space \space{}
43493 \begin_inset Quotes eld
43501 \begin_inset Quotes erd
43506 \begin_inset Quotes eld
43510 \begin_inset Quotes erd
43513 has sometimes no effect,
43514 but you don't need to use the
43518 option in this case as also non-float listings can have captions and be referenced.
43521 \begin_layout Standard
43522 You can add captions to listings that are not inline with the menu
43524 Insert\SpecialChar menuseparator
43528 Listings can be referenced like floats:
43530 \begin_inset space ~
43534 \begin_inset CommandInset ref
43536 reference "lst:Example-Listing"
43542 A list of listings which contains all listings with captions can be created via the menu
43544 Insert\SpecialChar menuseparator
43546 \begin_inset space ~
43550 \begin_inset space ~
43553 TOC\SpecialChar menuseparator
43557 The list entries are the listing caption and the listing number.
43560 \begin_layout Standard
43561 \begin_inset listings
43562 lstparams "language=Python"
43566 \begin_layout Plain Layout
43568 \begin_inset Caption Standard
43570 \begin_layout Plain Layout
43571 \begin_inset CommandInset label
43573 name "lst:Example-Listing"
43577 Example Listing float
43582 # Example listing float
43585 \begin_layout Plain Layout
43590 \begin_layout Plain Layout
43592 'this is a python function'
43595 \begin_layout Plain Layout
43605 \begin_layout Standard
43606 \begin_inset Note Greyedout
43609 \begin_layout Plain Layout
43619 package places captions before the listing by default.
43620 \begin_inset Newline newline
43627 package places them after the listing by default if it is floating.
43628 If it is not floating,
43629 caption will be typeset before the listing if it is inserted to its first line,
43630 otherwise it will be typeset after the listing.
43631 If you want to force the placement in every case before the listing,
43632 you have to add the following lines as last thing to the preamble:
43633 \begin_inset Newline newline
43640 @ifundefined{newfloat}
43641 \begin_inset Newline newline
43645 \begin_inset Phantom HPhantom
43648 \begin_layout Plain Layout
43651 \begin_inset space ~
43661 usepackage{float}}{}
43662 \begin_inset Newline newline
43667 floatstyle{plaintop}
43670 \begin_inset Note Note
43673 \begin_layout Plain Layout
43678 will be loaded automatically by \SpecialChar LyX
43679 when you use special document-wide float placement settings.
43680 To avoid that it is loaded twice the command
43686 is used in the above command.
43699 \begin_layout Standard
43700 When you have set a programming language in the listings dialog,
43701 the keywords of this language will be recognized and specially typeset in the output.
43702 In the example listings the Python keyword
43703 \begin_inset Quotes eld
43707 \begin_inset Quotes erd
43710 is recognized and printed bold in the output.
43713 \begin_layout Standard
43714 \begin_inset Note Greyedout
43717 \begin_layout Plain Layout
43723 If you don't get bold keywords when using typewriter fonts,
43728 font probably doesn't provide a bold shape.
43729 In this case select a different one in the menu
43731 Document\SpecialChar menuseparator
43732 Settings\SpecialChar menuseparator
43745 provide bold shapes.)
43753 \begin_layout Standard
43757 \begin_inset space ~
43762 of the listings dialog you can specify the line numbering style.
43763 You can insert a number to specify which lines are numbered in the field
43769 \begin_inset space \thinspace{}
43773 \begin_inset space \space{}
43777 \begin_inset Quotes eld
43781 \begin_inset Quotes erd
43785 only every 3rd line will be numbered.
43788 \begin_layout Standard
43789 You can furthermore specify a range of lines;
43790 only these will then appear in the output.
43793 Extended character table
43795 is only meaningful for the
43799 package and should be used when you use national characters like the German umlauts in the listing.
43800 \begin_inset Newline newline
43803 Here is an example listing with left line numbering,
43805 \begin_inset Quotes eld
43809 \begin_inset Quotes erd
43814 \begin_inset Quotes eld
43818 \begin_inset Quotes erd
43823 \begin_inset Quotes eld
43826 Extended character table
43827 \begin_inset Quotes erd
43831 \begin_inset Quotes eld
43835 \begin_inset space ~
43839 \begin_inset space ~
43843 \begin_inset Quotes erd
43848 \begin_inset space \thinspace{}
43852 \begin_inset space \thinspace{}
43858 \begin_layout Standard
43859 \begin_inset listings
43860 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
43864 \begin_layout Plain Layout
43869 \begin_layout Plain Layout
43871 'this is a python function'
43874 \begin_layout Plain Layout
43879 \begin_layout Plain Layout
43884 \begin_layout Plain Layout
43886 'This is a German word:
43890 \begin_layout Plain Layout
43895 \begin_layout Plain Layout
43900 \begin_layout Plain Layout
43902 'this is a python function'
43905 \begin_layout Plain Layout
43915 \begin_layout Standard
43916 When you have tabulators in your listing,
43917 you can specify the number of characters that are spanned by a tabulator in the field
43920 \begin_inset space ~
43928 \begin_layout Standard
43929 \begin_inset Note Greyedout
43932 \begin_layout Plain Layout
43938 Due to a bug in the
43942 package the line numbering is shifted by a line by every previous listing.
43943 That's the reason why the lines 2 and 5 are numbered in the above listing and not the lines 3 and 6.
43951 \begin_layout Standard
43952 \begin_inset VSpace bigskip
43958 \begin_layout Standard
43959 It is also possible to print lines from a file as listing.
43963 Insert\SpecialChar menuseparator
43964 File\SpecialChar menuseparator
43967 and choose the type
43975 \begin_layout Plain Layout
43976 The other child document types are described in section
43977 \begin_inset space ~
43981 \begin_inset CommandInset ref
43983 reference "sec:Child-Documents"
43993 In the child document dialog you can specify the listing parameters in a text box.
43994 To show a list of all available parameters,
43995 type in a question mark
43996 \begin_inset Quotes eld
44000 \begin_inset Quotes erd
44006 \begin_layout Standard
44007 To reference child document listings,
44008 write a label text into the corresponding field of the child document dialog.
44009 The label can then be referenced using the menu
44011 Insert\SpecialChar menuseparator
44017 \begin_layout Standard
44019 \begin_inset space ~
44023 \begin_inset CommandInset ref
44025 reference "lst:file-listing"
44030 is an example for a listing of a file;
44032 \begin_inset space \thinspace{}
44036 \begin_inset space \thinspace{}
44039 15 of this \SpecialChar LyX
44043 \begin_layout Standard
44044 \begin_inset CommandInset include
44045 LatexCommand lstinputlisting
44046 filename "EmbeddedObjects.lyx"
44047 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
44055 \begin_layout Standard
44056 \begin_inset VSpace bigskip
44062 \begin_layout Standard
44063 Inserting a formula into a listing can be done the following way:
44066 \begin_layout Enumerate
44067 Open the listings dialog and add
44068 \begin_inset Newline newline
44076 \begin_inset Newline newline
44079 to the field of the
44086 \begin_layout Enumerate
44087 Create a formula outside the listing
44090 \begin_layout Enumerate
44091 Copy the content of the formula (not the formula inset) to the clipboard (shortcut
44100 \begin_layout Enumerate
44101 In the listing write
44102 \begin_inset Quotes eld
44110 \begin_inset Quotes erd
44113 and copy from the clipboard between the dollar-signs (shortcut
44122 \begin_layout Standard
44123 \begin_inset listings
44124 lstparams "language=Python,mathescape=true"
44128 \begin_layout Plain Layout
44130 \begin_inset Caption Standard
44132 \begin_layout Plain Layout
44133 Example Listing float containing a formula
44138 # Example listing float
44141 \begin_layout Plain Layout
44146 \begin_layout Plain Layout
44159 \begin_layout Plain Layout
44169 \begin_layout Standard
44170 \begin_inset VSpace bigskip
44176 \begin_layout Standard
44177 Global listings settings can be set in the
44179 Document\SpecialChar menuseparator
44180 Settings\SpecialChar menuseparator
44184 To get there a list of available options,
44185 type in a question mark
44186 \begin_inset Quotes eld
44190 \begin_inset Quotes erd
44196 \begin_layout Standard
44197 For more information about the
44206 we refer to their documentation
44207 \begin_inset CommandInset citation
44209 key "listings,minted"
44217 \begin_layout Standard
44218 \begin_inset Newpage newpage
44224 \begin_layout Chapter
44226 Units available in \SpecialChar LyX
44228 \begin_inset Index idx
44233 \begin_layout Plain Layout
44240 \begin_inset CommandInset label
44242 name "cha:Units-available-in"
44249 \begin_layout Standard
44250 To understand the units described in this documentation,
44252 \begin_inset space ~
44256 \begin_inset CommandInset ref
44258 reference "tab:Units"
44263 explains all units available in \SpecialChar LyX
44267 \begin_layout Standard
44268 \begin_inset Float table
44275 \begin_layout Plain Layout
44276 \begin_inset Caption Standard
44278 \begin_layout Plain Layout
44279 \begin_inset CommandInset label
44293 \begin_layout Plain Layout
44294 \begin_inset VSpace medskip
44300 \begin_layout Plain Layout
44302 \begin_inset Tabular
44303 <lyxtabular version="3" rows="21" columns="3">
44304 <features tabularvalignment="middle">
44305 <column alignment="center" valignment="top">
44306 <column alignment="center" valignment="middle" width="50col%">
44307 <column alignment="center" valignment="top">
44309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
44312 \begin_layout Plain Layout
44318 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
44321 \begin_layout Plain Layout
44327 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
44330 \begin_layout Plain Layout
44339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44342 \begin_layout Plain Layout
44348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44351 \begin_layout Plain Layout
44353 \begin_inset space \thinspace{}
44357 \begin_inset space \thinspace{}
44365 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44368 \begin_layout Plain Layout
44376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44379 \begin_layout Plain Layout
44385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44388 \begin_layout Plain Layout
44390 \begin_inset space \thinspace{}
44394 \begin_inset space \thinspace{}
44402 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44405 \begin_layout Plain Layout
44413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44416 \begin_layout Plain Layout
44422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44425 \begin_layout Plain Layout
44431 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44434 \begin_layout Plain Layout
44442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44445 \begin_layout Plain Layout
44451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44454 \begin_layout Plain Layout
44456 \begin_inset space \thinspace{}
44460 \begin_inset Formula $\approx$
44464 \begin_inset space \thinspace{}
44472 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44475 \begin_layout Plain Layout
44483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44486 \begin_layout Plain Layout
44492 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44495 \begin_layout Plain Layout
44505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44508 \begin_layout Plain Layout
44516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44519 \begin_layout Plain Layout
44525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44528 \begin_layout Plain Layout
44538 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44541 \begin_layout Plain Layout
44549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44552 \begin_layout Plain Layout
44558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44561 \begin_layout Plain Layout
44567 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44570 \begin_layout Plain Layout
44578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44581 \begin_layout Plain Layout
44587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44590 \begin_layout Plain Layout
44596 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44599 \begin_layout Plain Layout
44607 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44610 \begin_layout Plain Layout
44616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44619 \begin_layout Plain Layout
44621 \begin_inset space \thinspace{}
44625 \begin_inset space \thinspace{}
44633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44636 \begin_layout Plain Layout
44644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44647 \begin_layout Plain Layout
44653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44656 \begin_layout Plain Layout
44658 \begin_inset space \thinspace{}
44662 \begin_inset space \thinspace{}
44670 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44673 \begin_layout Plain Layout
44681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44684 \begin_layout Plain Layout
44690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44693 \begin_layout Plain Layout
44695 \begin_inset space \thinspace{}
44699 \begin_inset space \thinspace{}
44707 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44710 \begin_layout Plain Layout
44718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44721 \begin_layout Plain Layout
44727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44730 \begin_layout Plain Layout
44731 scaled point (65536
44732 \begin_inset space \thinspace{}
44736 \begin_inset space \thinspace{}
44744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44747 \begin_layout Plain Layout
44755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44758 \begin_layout Plain Layout
44764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44767 \begin_layout Plain Layout
44773 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44776 \begin_layout Plain Layout
44786 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44789 \begin_layout Plain Layout
44795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44798 \begin_layout Plain Layout
44799 % of height between baselines of two subsequent text lines
44804 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44807 \begin_layout Plain Layout
44817 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44820 \begin_layout Plain Layout
44826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44829 \begin_layout Plain Layout
44835 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44838 \begin_layout Plain Layout
44848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44851 \begin_layout Plain Layout
44857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44860 \begin_layout Plain Layout
44866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44869 \begin_layout Plain Layout
44879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44882 \begin_layout Plain Layout
44888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44891 \begin_layout Plain Layout
44897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44900 \begin_layout Plain Layout
44910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44913 \begin_layout Plain Layout
44919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44922 \begin_layout Plain Layout
44923 % of original image width
44928 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44931 \begin_layout Plain Layout
44939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44942 \begin_layout Plain Layout
44948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44951 \begin_layout Plain Layout
44957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44960 \begin_layout Plain Layout
44970 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
44973 \begin_layout Plain Layout
44979 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
44982 \begin_layout Plain Layout
44988 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
44991 \begin_layout Plain Layout
45012 \begin_layout Chapter
45013 Output File Formats with Graphics
45014 \begin_inset CommandInset label
45016 name "cha:Output-File-Formats"
45023 \begin_layout Section
45025 \begin_inset Index idx
45030 \begin_layout Plain Layout
45032 \begin_inset IndexMacro subentry
45035 \begin_layout Plain Layout
45047 \begin_inset Index idx
45052 \begin_layout Plain Layout
45054 \begin_inset IndexMacro see
45057 \begin_layout Plain Layout
45071 \begin_layout Standard
45072 This file type has the extension
45073 \begin_inset Quotes eld
45081 \begin_inset Quotes erd
45086 \begin_inset Quotes eld
45090 \begin_inset Quotes erd
45094 because it is completely portable;
45095 you can move them from one machine to another without needing to do any sort of conversion.
45096 At the time when this file-format was developed,
45097 this was no matter of course.
45098 DVIs are used for quick previews and as pre-stage for other output formats,
45102 \begin_layout Standard
45103 \begin_inset Note Greyedout
45106 \begin_layout Plain Layout
45112 DVI-files do not contain images;
45113 they will only be a linked.
45118 So don't forget this,
45123 file to another computer.
45124 This property can also slow down your computer when you view the DVI,
45125 because the DVI-viewer has to convert the image in the background to make it visible when you scroll in the DVI.
45126 So it is recommended that you use PDF for files with many images.
45129 \begin_layout Standard
45130 You can export your document to DVI by using the menu
45132 File\SpecialChar menuseparator
45133 Export\SpecialChar menuseparator
45137 You can view your document as DVI via the
45144 \begin_layout Section
45146 \begin_inset Index idx
45151 \begin_layout Plain Layout
45153 \begin_inset IndexMacro subentry
45156 \begin_layout Plain Layout
45168 \begin_inset Index idx
45173 \begin_layout Plain Layout
45175 \begin_inset IndexMacro see
45178 \begin_layout Plain Layout
45192 \begin_layout Standard
45193 This file type has the extension
45194 \begin_inset Quotes eld
45202 \begin_inset Quotes erd
45206 PostScript was developed by the company
45210 as a printer language.
45211 The file therefore contains commands that the printer uses to print the file.
45212 PostScript can be seen as a
45213 \begin_inset Quotes eld
45216 programming language
45217 \begin_inset Quotes erd
45221 you can calculate with it and draw diagrams and images.
45225 \begin_layout Plain Layout
45226 If you are interested to learn more about this,
45227 have a look at the \SpecialChar LaTeX
45233 \begin_inset CommandInset citation
45245 Due to this ability,
45246 the files are often bigger than PDFs.
45249 \begin_layout Standard
45250 PostScript can only contain images in the format
45251 \begin_inset Quotes eld
45254 Encapsulated PostScript
45255 \begin_inset Quotes erd
45260 \begin_inset Quotes eld
45268 \begin_inset Quotes erd
45272 As \SpecialChar LyX
45273 allows you to use any known image format in your document,
45274 it has to convert images in the background to EPS.
45276 \begin_inset space ~
45280 \begin_inset space ~
45283 images in your document,
45286 \begin_inset space ~
45289 conversions whenever you view or export your document.
45290 This will slow down your work flow with \SpecialChar LyX
45292 So if you plan to use PostScript,
45293 you can insert your images directly as EPS to avoid this problem.
45296 \begin_layout Standard
45297 You can export your document to PostScript using the menu
45299 File\SpecialChar menuseparator
45300 Export\SpecialChar menuseparator
45304 You can view your document as PostScript via the
45311 \begin_layout Section
45313 \begin_inset Index idx
45318 \begin_layout Plain Layout
45320 \begin_inset IndexMacro subentry
45323 \begin_layout Plain Layout
45335 \begin_inset Index idx
45340 \begin_layout Plain Layout
45349 \begin_layout Standard
45350 This file type has the extension
45351 \begin_inset Quotes eld
45359 \begin_inset Quotes erd
45364 \begin_inset Quotes eld
45367 Portable Document Format
45368 \begin_inset Quotes erd
45371 (PDF) was developed by
45375 as a derivative of PostScript.
45376 It is more compressed and it uses fewer commands than PostScript.
45378 \begin_inset Quotes eld
45382 \begin_inset Quotes erd
45386 it can be processed at any computer system and the printed output looks exactly the same.
45389 \begin_layout Standard
45390 PDF can contain images in its own PDF format,
45392 \begin_inset Quotes eld
45395 Joint Photographic Experts Group
45396 \begin_inset Quotes erd
45401 \begin_inset Quotes eld
45409 \begin_inset Quotes erd
45413 \begin_inset Quotes eld
45421 \begin_inset Quotes erd
45426 \begin_inset Quotes eld
45429 Portable Network Graphics
45430 \begin_inset Quotes erd
45435 \begin_inset Quotes eld
45443 \begin_inset Quotes erd
45447 Nevertheless you can use any other image format,
45448 because \SpecialChar LyX
45449 converts them in the background to one of these formats.
45450 But as described in the section about PostScript,
45451 the image conversion will slow down your work flow.
45452 So it is recommended that you use images in one of the three mentioned formats.
45455 \begin_layout Standard
45456 You can export your document to PDF via the menu
45458 File\SpecialChar menuseparator
45461 in three different ways:
45464 \begin_layout Description
45466 \begin_inset space ~
45469 (ps2pdf) This uses the program
45473 that creates a PDF from a PostScript-version of your file.
45474 The PostScript-version is produced by the program
45478 which uses a DVI-version as intermediate step.
45479 So this export variant consists of three conversions.
45482 \begin_layout Description
45484 \begin_inset space ~
45487 (dvipdfm) This uses the program
45491 that converts your file in the background to DVI and in a second step to PDF.
45494 \begin_layout Description
45496 \begin_inset space ~
45499 (pdflatex) This uses the program
45503 that converts your file directly to PDF.
45506 \begin_layout Standard
45507 It is recommended that you use
45510 \begin_inset space ~
45519 supports all features of actual PDF-versions,
45520 is quick and works stable.
45525 is not under development and therefore a bit outdated.
45528 \begin_layout Standard
45529 You can view your document as PDF via the
45533 menu or by using a toolbar button.
45536 \begin_layout Chapter
45537 List of dvips color names
45538 \begin_inset CommandInset label
45540 name "chap:List-of-dvips-colornames"
45547 \begin_layout Standard
45548 \begin_inset Tabular
45549 <lyxtabular version="3" rows="17" columns="4">
45550 <features tabularvalignment="middle">
45551 <column alignment="left" valignment="top" width="0pt">
45552 <column alignment="left" valignment="top" width="0pt">
45553 <column alignment="left" valignment="top" width="0pt">
45554 <column alignment="left" valignment="top" width="0pt">
45556 <cell alignment="left" valignment="top" usebox="none">
45559 \begin_layout Plain Layout
45563 \begin_layout Plain Layout
45576 \begin_layout Plain Layout
45587 \begin_layout Plain Layout
45599 <cell alignment="left" valignment="top" usebox="none">
45602 \begin_layout Plain Layout
45606 \begin_layout Plain Layout
45619 \begin_layout Plain Layout
45630 \begin_layout Plain Layout
45642 <cell alignment="left" valignment="top" usebox="none">
45645 \begin_layout Plain Layout
45649 \begin_layout Plain Layout
45662 \begin_layout Plain Layout
45673 \begin_layout Plain Layout
45685 <cell alignment="left" valignment="top" usebox="none">
45688 \begin_layout Plain Layout
45692 \begin_layout Plain Layout
45705 \begin_layout Plain Layout
45716 \begin_layout Plain Layout
45730 <cell alignment="center" valignment="top" usebox="none">
45733 \begin_layout Plain Layout
45737 \begin_layout Plain Layout
45750 \begin_layout Plain Layout
45758 \begin_inset Phantom Phantom
45761 \begin_layout Plain Layout
45771 \begin_layout Plain Layout
45783 <cell alignment="center" valignment="top" usebox="none">
45786 \begin_layout Plain Layout
45790 \begin_layout Plain Layout
45803 \begin_layout Plain Layout
45811 \begin_inset Phantom Phantom
45814 \begin_layout Plain Layout
45824 \begin_layout Plain Layout
45836 <cell alignment="center" valignment="top" usebox="none">
45839 \begin_layout Plain Layout
45843 \begin_layout Plain Layout
45856 \begin_layout Plain Layout
45864 \begin_inset Phantom Phantom
45867 \begin_layout Plain Layout
45877 \begin_layout Plain Layout
45889 <cell alignment="center" valignment="top" usebox="none">
45892 \begin_layout Plain Layout
45896 \begin_layout Plain Layout
45909 \begin_layout Plain Layout
45917 \begin_inset Phantom Phantom
45920 \begin_layout Plain Layout
45930 \begin_layout Plain Layout
45944 <cell alignment="left" valignment="top" usebox="none">
45947 \begin_layout Plain Layout
45951 \begin_layout Plain Layout
45964 \begin_layout Plain Layout
45972 \begin_inset Phantom Phantom
45975 \begin_layout Plain Layout
45985 \begin_layout Plain Layout
45997 <cell alignment="left" valignment="top" usebox="none">
46000 \begin_layout Plain Layout
46004 \begin_layout Plain Layout
46017 \begin_layout Plain Layout
46025 \begin_inset Phantom Phantom
46028 \begin_layout Plain Layout
46038 \begin_layout Plain Layout
46050 <cell alignment="left" valignment="top" usebox="none">
46053 \begin_layout Plain Layout
46057 \begin_layout Plain Layout
46070 \begin_layout Plain Layout
46078 \begin_inset Phantom Phantom
46081 \begin_layout Plain Layout
46091 \begin_layout Plain Layout
46103 <cell alignment="left" valignment="top" usebox="none">
46106 \begin_layout Plain Layout
46110 \begin_layout Plain Layout
46123 \begin_layout Plain Layout
46131 \begin_inset Phantom Phantom
46134 \begin_layout Plain Layout
46144 \begin_layout Plain Layout
46158 <cell alignment="left" valignment="top" usebox="none">
46161 \begin_layout Plain Layout
46165 \begin_layout Plain Layout
46178 \begin_layout Plain Layout
46186 \begin_inset Phantom Phantom
46189 \begin_layout Plain Layout
46199 \begin_layout Plain Layout
46211 <cell alignment="left" valignment="top" usebox="none">
46214 \begin_layout Plain Layout
46218 \begin_layout Plain Layout
46231 \begin_layout Plain Layout
46239 \begin_inset Phantom Phantom
46242 \begin_layout Plain Layout
46252 \begin_layout Plain Layout
46264 <cell alignment="left" valignment="top" usebox="none">
46267 \begin_layout Plain Layout
46271 \begin_layout Plain Layout
46284 \begin_layout Plain Layout
46292 \begin_inset Phantom Phantom
46295 \begin_layout Plain Layout
46305 \begin_layout Plain Layout
46317 <cell alignment="left" valignment="top" usebox="none">
46320 \begin_layout Plain Layout
46324 \begin_layout Plain Layout
46337 \begin_layout Plain Layout
46345 \begin_inset Phantom Phantom
46348 \begin_layout Plain Layout
46358 \begin_layout Plain Layout
46372 <cell alignment="left" valignment="top" usebox="none">
46375 \begin_layout Plain Layout
46379 \begin_layout Plain Layout
46392 \begin_layout Plain Layout
46400 \begin_inset Phantom Phantom
46403 \begin_layout Plain Layout
46413 \begin_layout Plain Layout
46425 <cell alignment="left" valignment="top" usebox="none">
46428 \begin_layout Plain Layout
46432 \begin_layout Plain Layout
46445 \begin_layout Plain Layout
46453 \begin_inset Phantom Phantom
46456 \begin_layout Plain Layout
46466 \begin_layout Plain Layout
46478 <cell alignment="left" valignment="top" usebox="none">
46481 \begin_layout Plain Layout
46485 \begin_layout Plain Layout
46498 \begin_layout Plain Layout
46506 \begin_inset Phantom Phantom
46509 \begin_layout Plain Layout
46519 \begin_layout Plain Layout
46531 <cell alignment="left" valignment="top" usebox="none">
46534 \begin_layout Plain Layout
46538 \begin_layout Plain Layout
46551 \begin_layout Plain Layout
46559 \begin_inset Phantom Phantom
46562 \begin_layout Plain Layout
46572 \begin_layout Plain Layout
46586 <cell alignment="left" valignment="top" usebox="none">
46589 \begin_layout Plain Layout
46593 \begin_layout Plain Layout
46606 \begin_layout Plain Layout
46614 \begin_inset Phantom Phantom
46617 \begin_layout Plain Layout
46627 \begin_layout Plain Layout
46639 <cell alignment="left" valignment="top" usebox="none">
46642 \begin_layout Plain Layout
46646 \begin_layout Plain Layout
46659 \begin_layout Plain Layout
46667 \begin_inset Phantom Phantom
46670 \begin_layout Plain Layout
46680 \begin_layout Plain Layout
46692 <cell alignment="left" valignment="top" usebox="none">
46695 \begin_layout Plain Layout
46699 \begin_layout Plain Layout
46712 \begin_layout Plain Layout
46720 \begin_inset Phantom Phantom
46723 \begin_layout Plain Layout
46733 \begin_layout Plain Layout
46745 <cell alignment="left" valignment="top" usebox="none">
46748 \begin_layout Plain Layout
46752 \begin_layout Plain Layout
46765 \begin_layout Plain Layout
46773 \begin_inset Phantom Phantom
46776 \begin_layout Plain Layout
46786 \begin_layout Plain Layout
46800 <cell alignment="center" valignment="top" usebox="none">
46803 \begin_layout Plain Layout
46807 \begin_layout Plain Layout
46820 \begin_layout Plain Layout
46828 \begin_inset Phantom Phantom
46831 \begin_layout Plain Layout
46841 \begin_layout Plain Layout
46853 <cell alignment="center" valignment="top" usebox="none">
46856 \begin_layout Plain Layout
46860 \begin_layout Plain Layout
46873 \begin_layout Plain Layout
46881 \begin_inset Phantom Phantom
46884 \begin_layout Plain Layout
46894 \begin_layout Plain Layout
46906 <cell alignment="center" valignment="top" usebox="none">
46909 \begin_layout Plain Layout
46913 \begin_layout Plain Layout
46926 \begin_layout Plain Layout
46934 \begin_inset Phantom Phantom
46937 \begin_layout Plain Layout
46947 \begin_layout Plain Layout
46959 <cell alignment="center" valignment="top" usebox="none">
46962 \begin_layout Plain Layout
46966 \begin_layout Plain Layout
46979 \begin_layout Plain Layout
46987 \begin_inset Phantom Phantom
46990 \begin_layout Plain Layout
47000 \begin_layout Plain Layout
47014 <cell alignment="left" valignment="top" usebox="none">
47017 \begin_layout Plain Layout
47021 \begin_layout Plain Layout
47034 \begin_layout Plain Layout
47042 \begin_inset Phantom Phantom
47045 \begin_layout Plain Layout
47055 \begin_layout Plain Layout
47067 <cell alignment="left" valignment="top" usebox="none">
47070 \begin_layout Plain Layout
47074 \begin_layout Plain Layout
47087 \begin_layout Plain Layout
47095 \begin_inset Phantom Phantom
47098 \begin_layout Plain Layout
47108 \begin_layout Plain Layout
47120 <cell alignment="left" valignment="top" usebox="none">
47123 \begin_layout Plain Layout
47127 \begin_layout Plain Layout
47140 \begin_layout Plain Layout
47148 \begin_inset Phantom Phantom
47151 \begin_layout Plain Layout
47161 \begin_layout Plain Layout
47173 <cell alignment="left" valignment="top" usebox="none">
47176 \begin_layout Plain Layout
47180 \begin_layout Plain Layout
47193 \begin_layout Plain Layout
47201 \begin_inset Phantom Phantom
47204 \begin_layout Plain Layout
47214 \begin_layout Plain Layout
47228 <cell alignment="left" valignment="top" usebox="none">
47231 \begin_layout Plain Layout
47235 \begin_layout Plain Layout
47248 \begin_layout Plain Layout
47256 \begin_inset Phantom Phantom
47259 \begin_layout Plain Layout
47269 \begin_layout Plain Layout
47281 <cell alignment="left" valignment="top" usebox="none">
47284 \begin_layout Plain Layout
47288 \begin_layout Plain Layout
47301 \begin_layout Plain Layout
47309 \begin_inset Phantom Phantom
47312 \begin_layout Plain Layout
47322 \begin_layout Plain Layout
47334 <cell alignment="left" valignment="top" usebox="none">
47337 \begin_layout Plain Layout
47341 \begin_layout Plain Layout
47354 \begin_layout Plain Layout
47362 \begin_inset Phantom Phantom
47365 \begin_layout Plain Layout
47375 \begin_layout Plain Layout
47387 <cell alignment="left" valignment="top" usebox="none">
47390 \begin_layout Plain Layout
47394 \begin_layout Plain Layout
47407 \begin_layout Plain Layout
47415 \begin_inset Phantom Phantom
47418 \begin_layout Plain Layout
47428 \begin_layout Plain Layout
47442 <cell alignment="left" valignment="top" usebox="none">
47445 \begin_layout Plain Layout
47449 \begin_layout Plain Layout
47462 \begin_layout Plain Layout
47470 \begin_inset Phantom Phantom
47473 \begin_layout Plain Layout
47483 \begin_layout Plain Layout
47495 <cell alignment="left" valignment="top" usebox="none">
47498 \begin_layout Plain Layout
47502 \begin_layout Plain Layout
47515 \begin_layout Plain Layout
47523 \begin_inset Phantom Phantom
47526 \begin_layout Plain Layout
47536 \begin_layout Plain Layout
47548 <cell alignment="left" valignment="top" usebox="none">
47551 \begin_layout Plain Layout
47555 \begin_layout Plain Layout
47568 \begin_layout Plain Layout
47576 \begin_inset Phantom Phantom
47579 \begin_layout Plain Layout
47589 \begin_layout Plain Layout
47601 <cell alignment="left" valignment="top" usebox="none">
47604 \begin_layout Plain Layout
47608 \begin_layout Plain Layout
47621 \begin_layout Plain Layout
47629 \begin_inset Phantom Phantom
47632 \begin_layout Plain Layout
47642 \begin_layout Plain Layout
47656 <cell alignment="left" valignment="top" usebox="none">
47659 \begin_layout Plain Layout
47663 \begin_layout Plain Layout
47676 \begin_layout Plain Layout
47684 \begin_inset Phantom Phantom
47687 \begin_layout Plain Layout
47697 \begin_layout Plain Layout
47709 <cell alignment="left" valignment="top" usebox="none">
47712 \begin_layout Plain Layout
47716 \begin_layout Plain Layout
47729 \begin_layout Plain Layout
47737 \begin_inset Phantom Phantom
47740 \begin_layout Plain Layout
47750 \begin_layout Plain Layout
47762 <cell alignment="left" valignment="top" usebox="none">
47765 \begin_layout Plain Layout
47769 \begin_layout Plain Layout
47782 \begin_layout Plain Layout
47790 \begin_inset Phantom Phantom
47793 \begin_layout Plain Layout
47803 \begin_layout Plain Layout
47815 <cell alignment="left" valignment="top" usebox="none">
47818 \begin_layout Plain Layout
47822 \begin_layout Plain Layout
47835 \begin_layout Plain Layout
47843 \begin_inset Phantom Phantom
47846 \begin_layout Plain Layout
47856 \begin_layout Plain Layout
47870 <cell alignment="left" valignment="top" usebox="none">
47873 \begin_layout Plain Layout
47877 \begin_layout Plain Layout
47890 \begin_layout Plain Layout
47898 \begin_inset Phantom Phantom
47901 \begin_layout Plain Layout
47911 \begin_layout Plain Layout
47923 <cell alignment="left" valignment="top" usebox="none">
47926 \begin_layout Plain Layout
47930 \begin_layout Plain Layout
47943 \begin_layout Plain Layout
47951 \begin_inset Phantom Phantom
47954 \begin_layout Plain Layout
47964 \begin_layout Plain Layout
47976 <cell alignment="left" valignment="top" usebox="none">
47979 \begin_layout Plain Layout
47983 \begin_layout Plain Layout
47996 \begin_layout Plain Layout
48004 \begin_inset Phantom Phantom
48007 \begin_layout Plain Layout
48017 \begin_layout Plain Layout
48029 <cell alignment="left" valignment="top" usebox="none">
48032 \begin_layout Plain Layout
48036 \begin_layout Plain Layout
48049 \begin_layout Plain Layout
48057 \begin_inset Phantom Phantom
48060 \begin_layout Plain Layout
48070 \begin_layout Plain Layout
48084 <cell alignment="left" valignment="top" usebox="none">
48087 \begin_layout Plain Layout
48091 \begin_layout Plain Layout
48104 \begin_layout Plain Layout
48112 \begin_inset Phantom Phantom
48115 \begin_layout Plain Layout
48125 \begin_layout Plain Layout
48137 <cell alignment="left" valignment="top" usebox="none">
48140 \begin_layout Plain Layout
48144 \begin_layout Plain Layout
48157 \begin_layout Plain Layout
48165 \begin_inset Phantom Phantom
48168 \begin_layout Plain Layout
48178 \begin_layout Plain Layout
48190 <cell alignment="left" valignment="top" usebox="none">
48193 \begin_layout Plain Layout
48197 \begin_layout Plain Layout
48210 \begin_layout Plain Layout
48218 \begin_inset Phantom Phantom
48221 \begin_layout Plain Layout
48231 \begin_layout Plain Layout
48243 <cell alignment="left" valignment="top" usebox="none">
48246 \begin_layout Plain Layout
48250 \begin_layout Plain Layout
48263 \begin_layout Plain Layout
48271 \begin_inset Phantom Phantom
48274 \begin_layout Plain Layout
48284 \begin_layout Plain Layout
48298 <cell alignment="left" valignment="top" usebox="none">
48301 \begin_layout Plain Layout
48305 \begin_layout Plain Layout
48318 \begin_layout Plain Layout
48326 \begin_inset Phantom Phantom
48329 \begin_layout Plain Layout
48339 \begin_layout Plain Layout
48351 <cell alignment="left" valignment="top" usebox="none">
48354 \begin_layout Plain Layout
48358 \begin_layout Plain Layout
48371 \begin_layout Plain Layout
48379 \begin_inset Phantom Phantom
48382 \begin_layout Plain Layout
48392 \begin_layout Plain Layout
48404 <cell alignment="left" valignment="top" usebox="none">
48407 \begin_layout Plain Layout
48411 \begin_layout Plain Layout
48424 \begin_layout Plain Layout
48432 \begin_inset Phantom Phantom
48435 \begin_layout Plain Layout
48445 \begin_layout Plain Layout
48457 <cell alignment="left" valignment="top" usebox="none">
48460 \begin_layout Plain Layout
48464 \begin_layout Plain Layout
48477 \begin_layout Plain Layout
48485 \begin_inset Phantom Phantom
48488 \begin_layout Plain Layout
48498 \begin_layout Plain Layout
48512 <cell alignment="left" valignment="top" usebox="none">
48515 \begin_layout Plain Layout
48519 \begin_layout Plain Layout
48532 \begin_layout Plain Layout
48540 \begin_inset Phantom Phantom
48543 \begin_layout Plain Layout
48553 \begin_layout Plain Layout
48565 <cell alignment="left" valignment="top" usebox="none">
48568 \begin_layout Plain Layout
48572 \begin_layout Plain Layout
48585 \begin_layout Plain Layout
48593 \begin_inset Phantom Phantom
48596 \begin_layout Plain Layout
48606 \begin_layout Plain Layout
48618 <cell alignment="left" valignment="top" usebox="none">
48621 \begin_layout Plain Layout
48625 \begin_layout Plain Layout
48638 \begin_layout Plain Layout
48646 \begin_inset Phantom Phantom
48649 \begin_layout Plain Layout
48659 \begin_layout Plain Layout
48671 <cell alignment="left" valignment="top" usebox="none">
48674 \begin_layout Plain Layout
48678 \begin_layout Plain Layout
48691 \begin_layout Plain Layout
48699 \begin_inset Phantom Phantom
48702 \begin_layout Plain Layout
48712 \begin_layout Plain Layout
48726 <cell alignment="left" valignment="top" usebox="none">
48729 \begin_layout Plain Layout
48733 \begin_layout Plain Layout
48746 \begin_layout Plain Layout
48754 \begin_inset Phantom Phantom
48757 \begin_layout Plain Layout
48767 \begin_layout Plain Layout
48779 <cell alignment="left" valignment="top" usebox="none">
48782 \begin_layout Plain Layout
48786 \begin_layout Plain Layout
48799 \begin_layout Plain Layout
48807 \begin_inset Phantom Phantom
48810 \begin_layout Plain Layout
48820 \begin_layout Plain Layout
48832 <cell alignment="left" valignment="top" usebox="none">
48835 \begin_layout Plain Layout
48839 \begin_layout Plain Layout
48852 \begin_layout Plain Layout
48860 \begin_inset Phantom Phantom
48863 \begin_layout Plain Layout
48873 \begin_layout Plain Layout
48885 <cell alignment="left" valignment="top" usebox="none">
48888 \begin_layout Plain Layout
48892 \begin_layout Plain Layout
48905 \begin_layout Plain Layout
48913 \begin_inset Phantom Phantom
48916 \begin_layout Plain Layout
48926 \begin_layout Plain Layout
48940 <cell alignment="left" valignment="top" usebox="none">
48943 \begin_layout Plain Layout
48947 \begin_layout Plain Layout
48960 \begin_layout Plain Layout
48968 \begin_inset Phantom Phantom
48971 \begin_layout Plain Layout
48981 \begin_layout Plain Layout
48993 <cell alignment="left" valignment="top" usebox="none">
48996 \begin_layout Plain Layout
49002 <cell alignment="left" valignment="top" usebox="none">
49005 \begin_layout Plain Layout
49011 <cell alignment="left" valignment="top" usebox="none">
49014 \begin_layout Plain Layout
49028 \begin_layout Chapter
49029 Explanation of Equation
49030 \begin_inset space ~
49034 \begin_inset CommandInset ref
49042 \begin_inset CommandInset label
49044 name "cha:Explanation-of-Equation"
49051 \begin_layout Standard
49052 We can calculate the total width of
49057 \begin_inset Formula $W_{\mathrm{tot\,n}}$
49061 \begin_inset Formula
49063 W_{\mathrm{tot}\,n}=n\cdot(W_{g\,n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
49069 \begin_inset Formula $W_{g\,n}$
49072 is the given width of all cells,
49079 is the \SpecialChar LaTeX
49080 -length between the cell text and the cell border (its default value is 6
49081 \begin_inset space \thinspace{}
49091 is the thickness of the cell border line,
49093 \begin_inset space \thinspace{}
49099 \begin_layout Standard
49101 \begin_inset space ~
49105 \begin_inset CommandInset ref
49107 reference "eq:Wtot_n"
49113 the total width of a multicolumn
49114 \begin_inset Formula $W_{\mathrm{tot\,mult}}$
49118 \begin_inset Formula
49120 W_{\mathrm{tot\,mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
49128 \begin_layout Standard
49129 By setting equation
49130 \begin_inset space ~
49134 \begin_inset CommandInset ref
49136 reference "eq:Wtot_n"
49142 \begin_inset CommandInset ref
49144 reference "eq:Wtot_mult"
49149 equal we can calculate the needed given width
49150 \begin_inset Formula $W_{g\,n}$
49157 columns are spanned,
49158 so that each column has a total width of
49159 \begin_inset Formula $W_{\mathrm{tot\,mult}}/n$
49163 \begin_inset Formula
49165 W_{g\,n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
49173 \begin_layout Bibliography
49174 \begin_inset CommandInset bibitem
49175 LatexCommand bibitem
49176 key "latexcompanion"
49181 Frank Mittelbach and Michel Goossens:
49184 The \SpecialChar LaTeX
49185 Companion Second Edition.
49192 \begin_layout Bibliography
49193 \begin_inset CommandInset bibitem
49194 LatexCommand bibitem
49200 Helmut Kopka and Patrick W.
49204 A Guide to \SpecialChar LaTeX
49212 \begin_layout Bibliography
49213 \begin_inset CommandInset bibitem
49214 LatexCommand bibitem
49225 A Document Preparation System.
49233 \begin_layout Bibliography
49234 \begin_inset CommandInset bibitem
49235 LatexCommand bibitem
49241 Documentation of the \SpecialChar LaTeX
49245 \begin_inset CommandInset href
49248 target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
49256 \begin_inset Index idx
49261 \begin_layout Plain Layout
49264 \begin_inset IndexMacro subentry
49267 \begin_layout Plain Layout
49281 \begin_layout Bibliography
49282 \begin_inset CommandInset bibitem
49283 LatexCommand bibitem
49289 Documentation of the \SpecialChar LaTeX
49293 \begin_inset CommandInset href
49296 target "https://www.ctan.org/tex-archive/macros/latex/contrib//booktabs/booktabs.pdf"
49304 \begin_inset Index idx
49309 \begin_layout Plain Layout
49312 \begin_inset IndexMacro subentry
49315 \begin_layout Plain Layout
49329 \begin_layout Bibliography
49330 \begin_inset CommandInset bibitem
49331 LatexCommand bibitem
49337 Documentation of the \SpecialChar LaTeX
49341 \begin_inset CommandInset href
49344 target "https://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"
49352 \begin_inset Index idx
49357 \begin_layout Plain Layout
49360 \begin_inset IndexMacro subentry
49363 \begin_layout Plain Layout
49377 \begin_layout Bibliography
49378 \begin_inset CommandInset bibitem
49379 LatexCommand bibitem
49385 Documentation of the \SpecialChar LaTeX
49389 \begin_inset CommandInset href
49392 target "https://www.ctan.org/tex-archive/macros/latex/contrib//diagbox/diagbox.pdf"
49400 \begin_inset Index idx
49405 \begin_layout Plain Layout
49408 \begin_inset IndexMacro subentry
49411 \begin_layout Plain Layout
49425 \begin_layout Bibliography
49426 \begin_inset CommandInset bibitem
49427 LatexCommand bibitem
49433 Documentation of the \SpecialChar LaTeX
49437 \begin_inset CommandInset href
49440 target "https://www.ctan.org/tex-archive/macros/latex/contrib//endfloat/endfloat.pdf"
49448 \begin_inset Index idx
49453 \begin_layout Plain Layout
49456 \begin_inset IndexMacro subentry
49459 \begin_layout Plain Layout
49473 \begin_layout Bibliography
49474 \begin_inset CommandInset bibitem
49475 LatexCommand bibitem
49481 Documentation of the \SpecialChar LaTeX
49485 \begin_inset CommandInset href
49488 target "https://www.ctan.org/tex-archive/macros/latex/contrib//footmisc/footmisc.pdf"
49496 \begin_inset Index idx
49501 \begin_layout Plain Layout
49504 \begin_inset IndexMacro subentry
49507 \begin_layout Plain Layout
49521 \begin_layout Bibliography
49522 \begin_inset CommandInset bibitem
49523 LatexCommand bibitem
49529 Documentation of the \SpecialChar LaTeX
49533 \begin_inset CommandInset href
49536 target "https://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
49544 \begin_inset Index idx
49549 \begin_layout Plain Layout
49552 \begin_inset IndexMacro subentry
49555 \begin_layout Plain Layout
49569 \begin_layout Bibliography
49570 \begin_inset CommandInset bibitem
49571 LatexCommand bibitem
49577 Documentation of the \SpecialChar LaTeX
49581 \begin_inset CommandInset href
49584 target "https://www.ctan.org/tex-archive/macros/latex/contrib//hyperref/hyperref.pdf"
49592 \begin_inset Index idx
49597 \begin_layout Plain Layout
49600 \begin_inset IndexMacro subentry
49603 \begin_layout Plain Layout
49617 \begin_layout Bibliography
49618 \begin_inset CommandInset bibitem
49619 LatexCommand bibitem
49625 Documentation of the \SpecialChar LaTeX
49629 \begin_inset CommandInset href
49632 target "https://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf"
49640 \begin_inset Index idx
49645 \begin_layout Plain Layout
49648 \begin_inset IndexMacro subentry
49651 \begin_layout Plain Layout
49665 \begin_layout Bibliography
49666 \begin_inset CommandInset bibitem
49667 LatexCommand bibitem
49673 Documentation of the \SpecialChar LaTeX
49677 \begin_inset CommandInset href
49680 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/lettrine.pdf"
49688 \begin_inset CommandInset href
49691 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/demo.pdf"
49697 \begin_inset Index idx
49702 \begin_layout Plain Layout
49705 \begin_inset IndexMacro subentry
49708 \begin_layout Plain Layout
49722 \begin_layout Bibliography
49723 \begin_inset CommandInset bibitem
49724 LatexCommand bibitem
49730 Documentation of the \SpecialChar LaTeX
49734 \begin_inset CommandInset href
49737 target "https://www.ctan.org/tex-archive/macros/latex/contrib//listings/listings.pdf"
49745 \begin_inset Index idx
49750 \begin_layout Plain Layout
49753 \begin_inset IndexMacro subentry
49756 \begin_layout Plain Layout
49770 \begin_layout Bibliography
49771 \begin_inset CommandInset bibitem
49772 LatexCommand bibitem
49778 Documentation of the \SpecialChar LaTeX
49782 \begin_inset CommandInset href
49785 target "https://www.ctan.org/tex-archive/macros/latex/contrib//minted/minted.pdf"
49793 \begin_inset Index idx
49798 \begin_layout Plain Layout
49801 \begin_inset IndexMacro subentry
49804 \begin_layout Plain Layout
49818 \begin_layout Bibliography
49819 \begin_inset CommandInset bibitem
49820 LatexCommand bibitem
49826 Documentation of the \SpecialChar LaTeX
49830 \begin_inset CommandInset href
49833 target "https://www.ctan.org/tex-archive/macros/latex/contrib//marginnote/marginnote.pdf"
49841 \begin_inset Index idx
49846 \begin_layout Plain Layout
49849 \begin_inset IndexMacro subentry
49852 \begin_layout Plain Layout
49866 \begin_layout Bibliography
49867 \begin_inset CommandInset bibitem
49868 LatexCommand bibitem
49874 Documentation of the \SpecialChar LaTeX
49878 \begin_inset CommandInset href
49881 target "https://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
49889 \begin_inset Index idx
49894 \begin_layout Plain Layout
49897 \begin_inset IndexMacro subentry
49900 \begin_layout Plain Layout
49914 \begin_layout Bibliography
49915 \begin_inset CommandInset bibitem
49916 LatexCommand bibitem
49922 Documentation of the \SpecialChar LaTeX
49926 \begin_inset CommandInset href
49929 target "https://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
49937 \begin_inset Index idx
49942 \begin_layout Plain Layout
49945 \begin_inset IndexMacro subentry
49948 \begin_layout Plain Layout
49962 \begin_layout Bibliography
49963 \begin_inset CommandInset bibitem
49964 LatexCommand bibitem
49970 Web page of the \SpecialChar LaTeX
49974 \begin_inset CommandInset href
49977 target "http://tug.org/PSTricks/"
49985 \begin_inset Index idx
49990 \begin_layout Plain Layout
49993 \begin_inset IndexMacro subentry
49996 \begin_layout Plain Layout
50010 \begin_layout Bibliography
50011 \begin_inset CommandInset bibitem
50012 LatexCommand bibitem
50018 Documentation of the \SpecialChar LaTeX
50022 \begin_inset CommandInset href
50025 target "https://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
50033 \begin_inset Index idx
50038 \begin_layout Plain Layout
50041 \begin_inset IndexMacro subentry
50044 \begin_layout Plain Layout
50058 \begin_layout Bibliography
50059 \begin_inset CommandInset bibitem
50060 LatexCommand bibitem
50066 Documentation of the \SpecialChar LaTeX
50070 \begin_inset CommandInset href
50073 target "https://www.ctan.org/tex-archive/macros/latex/contrib//sidecap/sidecap.pdf"
50081 \begin_inset Index idx
50086 \begin_layout Plain Layout
50089 \begin_inset IndexMacro subentry
50092 \begin_layout Plain Layout
50106 \begin_layout Bibliography
50107 \begin_inset CommandInset bibitem
50108 LatexCommand bibitem
50114 Documentation of the option
50115 \begin_inset CommandInset href
50117 name "Omit text in PDF"
50118 target "https://www.ctan.org/tex-archive/info/svg-inkscape/InkscapePDFLaTeX.pdf"
50126 \begin_inset CommandInset href
50129 target "https://inkscape.org"
50137 \begin_layout Standard
50138 \begin_inset CommandInset index_print
50139 LatexCommand printindex