1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/
9 % that links to image floats jumps
10 % to the beginning of the float and
12 \usepackage[figure]{hypcap}
14 % the pages of the TOC are numbered roman
15 % and a PDF-bookmark for the TOC is added
16 \let\myTOC\tableofcontents
17 \renewcommand\tableofcontents{%
19 \pdfbookmark[1]{\contentsname}{}
23 % provides caption formatting
24 \usepackage[labelfont={bf,sf}]{caption}[2004/07/16]
26 % provides commands to set caption
27 % beside tables/images
28 \newcommand{\TabBesBeg}[1][1.0]{%
30 \let\MyEndtable\endtable
31 \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}}
33 \newcommand{\TabBesEnd}{%
35 \let\endtable\MyEndtable}
37 \newcommand{\FigBesBeg}[1][1.0]{%
39 \let\MyEndfigure\endfigure
40 \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}
42 \newcommand{\FigBesEnd}{%
44 \let\endfigure\MyEndfigure}
46 % enables calculation of values,
49 % increase the bottom float placement fraction
50 \renewcommand{\bottomfraction}{0.5}
52 % avoids that floats are placed before their
53 % corresponding section starts
54 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
56 % speed up the longtable calculation
57 \setcounter{LTchunksize}{100}
59 % used for colored tables
60 \@ifundefined{textcolor}
61 {\usepackage{color}}{}
62 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
63 \definecolor{lightgrey}{gray}{0.8}
65 % check for package colortbl
66 % used for colored table cells
68 \IfFileExists{colortbl.sty}
69 {\usepackage{colortbl}
70 \setboolean{colortbl}{true}}
71 {\setboolean{colortbl}{false}}
73 % used to have extra space in table cells
74 \@ifundefined{extrarowheight}
75 {\usepackage{array}}{}
76 \setlength{\extrarowheight}{2pt}
78 % used for customized tables
81 {>{\centering\hspace{0pt}}m{#1}}
84 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
87 {>{\columncolor{#1}\hspace{0pt}}c}
89 \newcolumntype{V}{!{\vrule width 1.5pt}}
91 \newcolumntype{W}{!{\color{green}\vline}}
94 % insert additional vertical space of
95 % 1.5 mm between footnotes
97 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
99 % number algorithm floats within chapters
100 \numberwithin{algorithm}{chapter}
102 % ------------------------------------
103 % used to check for needed LaTeX packages
106 % check for package arydshln
107 % used for tables with dashed lines
108 \newboolean{arydshln}
109 \IfFileExists{arydshln.sty}
110 {\usepackage{arydshln}
111 \setboolean{arydshln}{true}}
112 {\setboolean{arydshln}{false}}
114 % check for package marginnote
115 % used for margin notes
116 \newboolean{marginnote}
117 \IfFileExists{marginnote.sty}
118 {\usepackage{marginnote}
119 \let\marginpar\marginnote
120 \setboolean{marginnote}{true}}
121 {\setboolean{marginnote}{false}}
123 % check for package sidecap
124 % used for captions on the side
126 \IfFileExists{sidecap.sty}
127 {\usepackage{sidecap}
128 \setboolean{sidecap}{true}}
129 {\setboolean{sidecap}{false}}
132 % used for surrounded fixed objects
133 \newboolean{picinpar}
134 \IfFileExists{picinpar.sty}
135 {\usepackage{picinpar}
136 \setboolean{picinpar}{true}}
137 {\setboolean{picinpar}{false}}
140 \newboolean{lettrine}
141 \IfFileExists{lettrine.sty}
142 {\usepackage{lettrine}
143 \setboolean{lettrine}{true}}
144 {\setboolean{lettrine}{false}}
148 \IfFileExists{diagbox.sty}
149 {\usepackage{diagbox}
150 \setboolean{diagbox}{true}}
151 {\setboolean{diagbox}{false}}
153 \setlength{\parskip}{\medskipamount}
154 \setlength{\parindent}{0pt}
156 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,dvipsnames,table
157 \use_default_options false
163 \maintain_unincluded_children no
165 \language_package default
168 \font_roman "lmodern" "default"
169 \font_sans "lmss" "default"
170 \font_typewriter "lmtt" "default"
171 \font_math "auto" "auto"
172 \font_default_family default
173 \use_non_tex_fonts false
175 \font_roman_osf false
177 \font_typewriter_osf false
178 \font_sf_scale 100 100
179 \font_tt_scale 100 100
181 \use_dash_ligatures true
183 \default_output_format pdf2
185 \bibtex_command default
186 \index_command makeindex
190 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
191 \pdf_author "LyX Team, Uwe Stöhr"
192 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
193 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
195 \pdf_bookmarksnumbered true
196 \pdf_bookmarksopen true
197 \pdf_bookmarksopenlevel 1
198 \pdf_breaklinks false
202 \pdf_pdfusetitle false
203 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
206 \use_package amsmath 1
207 \use_package amssymb 1
208 \use_package cancel 1
210 \use_package mathdots 1
211 \use_package mathtools 1
212 \use_package mhchem 1
213 \use_package stackrel 1
214 \use_package stmaryrd 1
215 \use_package undertilde 1
217 \cite_engine_type default
221 \paperorientation portrait
227 \notefontcolor #0000ff
234 \paragraph_separation indent
235 \paragraph_indentation default
237 \math_numbering_side default
238 \quotes_style english
242 \paperpagestyle default
244 \tracking_changes true
245 \output_changes false
247 \postpone_fragile_content false
250 \html_be_strict false
251 \docbook_table_output 0
252 \docbook_mathml_prefix 1
253 \author -1382599118 "Daniel"
254 \author -712698321 "Jürgen Spitzmüller"
256 \author 274215730 "scott"
257 \author 630872221 "Jean-Pierre Chrétien" jeanpierre.chretien@free.fr
264 's detailed Figure, Table, Floats, Notes, Boxes and External Material manual
268 by the \SpecialChar LyX
273 \begin_layout Plain Layout
275 If you have comments or error corrections, please send them to the \SpecialChar LyX
278 \begin_inset CommandInset href
280 name "lyx-docs@lists.lyx.org"
281 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
293 \begin_inset Note Note
296 \begin_layout Plain Layout
303 \begin_inset Newline newline
307 \begin_inset Newline newline
315 \begin_layout Standard
316 \begin_inset CommandInset toc
317 LatexCommand tableofcontents
324 \begin_layout Standard
325 \begin_inset Note Note
328 \begin_layout Plain Layout
329 To export all parts of this document to PDF, PS, or DVI the \SpecialChar LaTeX
340 diagbox, lettrine, marginnote, picinpar
347 If they are not installed you can export the document anyway but the sections
348 where the packages are required won't appear in the output.
351 \begin_layout Plain Layout
352 The latest PDF-version of this document can be found here:
353 \begin_inset Newline newline
358 https://wiki.lyx.org/LyX/Manuals#EmbeddedObjects
366 \begin_layout Chapter
368 \begin_inset Index idx
373 \begin_layout Plain Layout
380 \begin_inset Index idx
385 \begin_layout Plain Layout
387 \begin_inset IndexMacro see
390 \begin_layout Plain Layout
404 \begin_layout Section
406 \begin_inset Index idx
411 \begin_layout Plain Layout
413 \begin_inset IndexMacro subentry
416 \begin_layout Plain Layout
428 \begin_inset CommandInset label
430 name "sec:Graphics-Dialog"
437 \begin_layout Standard
438 To insert an image into your document, place the cursor at the text position
439 you want and click on the toolbar icon
442 arg "dialog-show-new-inset graphics"
447 Insert\SpecialChar menuseparator
451 Then a dialog will appear to choose the file to load.
452 The image will appear in the output exactly at the position where it is
456 \begin_layout Standard
457 The graphics dialog can be called at any time by clicking on an image.
458 This dialog has three tabs:
461 \begin_layout Description
466 Here you can choose an image file and adjust its appearance in the output.
467 The available units for the image size are explained in appendix
472 \begin_inset CommandInset ref
474 reference "cha:Units-available-in"
479 \begin_inset Newline newline
483 \begin_inset Index idx
488 \begin_layout Plain Layout
490 \begin_inset IndexMacro subentry
493 \begin_layout Plain Layout
504 You can rotate images counter-clockwise by setting a rotation angle and
506 The image will also be rotated inside \SpecialChar LyX
508 \begin_inset Newline newline
512 \begin_inset Index idx
517 \begin_layout Plain Layout
519 \begin_inset IndexMacro subentry
522 \begin_layout Plain Layout
533 Images can be scaled by using a percentage value or by setting the width
534 and height explicitly.
535 If you set only the width or only the height, the other size will be determined
537 If you set both, then the image will be transformed to the given size,
538 possibly distorting it.
539 To prevent the image from distortion, use the option
541 Maintain aspect ratio
544 The image will then be scaled so that its width and height don't exceed
545 the specified dimensions.
546 \begin_inset Newline newline
549 Images can be opened in a program of your choice by right-clicking on it
550 and choosing the entry
559 The program can be set for every image format in the file format settings
564 \begin_layout Description
577 Alternatively to the usage of scaling units it is possible to set image
578 coordinates to adjust the height and width of the image in the output.
579 The coordinates can also be calculated automatically by pressing the button
609 will only print the image region within the given coordinates.
610 Normally you don't need to worry about image coordinates and can ignore
614 \begin_layout Description
631 In this tab you can modify the appearance of the image within \SpecialChar LyX
632 and \SpecialChar LaTeX
634 can specify additional \SpecialChar LaTeX
636 \begin_inset Newline newline
647 makes the image appear in the output only as a frame with the size of the
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, so adjusting one image
683 of the group automatically also adjusts all other images of the group in
685 So you can for example change the size for a bunch of images without the
686 need to manually change each of them.
687 Joining an existing group can also be done using the context menu of the
688 image by checking the name of the desired group.
691 \begin_layout Standard
692 \begin_inset VSpace bigskip
698 \begin_layout Standard
699 This is an example image in PDF format
703 \begin_layout Plain Layout
704 Image formats are explained in section
709 \begin_inset CommandInset ref
711 reference "sec:Image-Formats"
720 within a separate, horizontally centered paragraph:
723 \begin_layout Standard
725 \begin_inset Graphics
726 filename clipart/2D-intensity-plot.pdf
735 \begin_layout Standard
736 This is the same image like the one above but in draft mode:
739 \begin_layout Standard
741 \begin_inset Graphics
742 filename clipart/2D-intensity-plot.pdf
752 \begin_layout Standard
753 \begin_inset Newpage newpage
759 \begin_layout Section
761 \begin_inset CommandInset label
763 name "sec:Figure-Floats"
768 \begin_inset Index idx
773 \begin_layout Plain Layout
775 \begin_inset IndexMacro subentry
778 \begin_layout Plain Layout
790 \begin_inset Index idx
795 \begin_layout Plain Layout
797 \begin_inset IndexMacro subentry
800 \begin_layout Plain Layout
814 \begin_layout Standard
815 For general explanations about floats, have a look at section
820 \begin_inset CommandInset ref
822 reference "sec:FloatIntroduction"
829 \begin_layout Standard
833 arg "float-insert figure"
838 Insert\SpecialChar menuseparator
839 Float\SpecialChar menuseparator
842 inserts a float with a caption that has the label
843 \begin_inset Quotes eld
851 \begin_inset Quotes erd
854 (# is the actual number).
855 You can insert the image above the caption, like in Figure
860 \begin_inset CommandInset ref
862 reference "fig:A-star-in"
866 or below the caption, like in Figure
871 \begin_inset CommandInset ref
873 reference "fig:A-3D-object"
878 More about caption placement is described in section
883 \begin_inset CommandInset ref
885 reference "sec:Caption-Placement"
892 \begin_layout Standard
893 \begin_inset Float figure
900 \begin_layout Plain Layout
902 \begin_inset Graphics
903 filename clipart/Star-structure.pdf
914 \begin_layout Plain Layout
915 \begin_inset Caption Standard
917 \begin_layout Plain Layout
918 \begin_inset CommandInset label
937 \begin_layout Standard
938 \begin_inset Float figure
945 \begin_layout Plain Layout
946 \begin_inset Caption Standard
948 \begin_layout Plain Layout
949 \begin_inset CommandInset label
951 name "fig:A-3D-object"
963 \begin_layout Plain Layout
965 \begin_inset Graphics
966 filename clipart/3D-structure-distort.pdf
982 \begin_layout Standard
983 \begin_inset Index idx
988 \begin_layout Plain Layout
990 \begin_inset IndexMacro subentry
993 \begin_layout Plain Layout
1005 \begin_inset space ~
1009 \begin_inset CommandInset ref
1011 reference "fig:A-star-in"
1016 \begin_inset CommandInset ref
1018 reference "fig:A-3D-object"
1022 are examples of referenced figures.
1023 Figures can be referenced in the text by referencing their label.
1024 To do this insert a label in the caption using the menu
1026 Insert\SpecialChar menuseparator
1029 or the toolbar button
1036 You can now refer to the label using the menu
1038 Insert\SpecialChar menuseparator
1040 \begin_inset space ~
1045 or the toolbar button
1048 arg "dialog-show-new-inset ref"
1052 It is important to use references to floats, rather than using vague references
1054 \begin_inset Quotes eld
1058 \begin_inset Quotes erd
1061 , because \SpecialChar LaTeX
1062 will reposition the floats in the final document and it might
1064 \begin_inset Quotes eld
1068 \begin_inset Quotes erd
1072 \begin_inset Newline newline
1075 Referencing is explained in detail in section
1076 \begin_inset space ~
1080 \begin_inset CommandInset ref
1082 reference "sec:Referencing-Floats"
1089 \begin_layout Standard
1090 Normally only one image is inserted to a figure float, but sometimes you
1091 might want to use two images with separate subcaptions.
1092 This can be done by inserting image floats into existing image floats.
1093 Note that only the main caption of the float is added to the List of Figures.
1095 \begin_inset space ~
1099 \begin_inset CommandInset ref
1101 reference "fig:Two-distorted-images"
1105 is an example of a figure float with two images set side by side.
1106 You can also set the images one below the other.
1108 \begin_inset space ~
1112 \begin_inset CommandInset ref
1114 reference "fig:Pink-object"
1119 \begin_inset CommandInset ref
1121 reference "fig:A-star"
1128 \begin_layout Standard
1129 \begin_inset Float figure
1136 \begin_layout Plain Layout
1137 \begin_inset space \hfill{}
1141 \begin_inset Float figure
1148 \begin_layout Plain Layout
1149 \begin_inset Caption Standard
1151 \begin_layout Plain Layout
1152 \begin_inset CommandInset label
1154 name "fig:Pink-object"
1166 \begin_layout Plain Layout
1167 \begin_inset Graphics
1168 filename clipart/3D-structure-distort.pdf
1181 \begin_inset space \hfill{}
1185 \begin_inset Float figure
1192 \begin_layout Plain Layout
1193 \begin_inset Caption Standard
1195 \begin_layout Plain Layout
1196 \begin_inset CommandInset label
1210 \begin_layout Plain Layout
1211 \begin_inset Graphics
1212 filename clipart/Star-structure.pdf
1225 \begin_inset space \hfill{}
1231 \begin_layout Plain Layout
1232 \begin_inset Caption Standard
1234 \begin_layout Plain Layout
1235 \begin_inset CommandInset label
1237 name "fig:Two-distorted-images"
1241 Two distorted images.
1242 Both images are in the image settings group named
1243 \begin_inset Quotes eld
1247 \begin_inset Quotes erd
1263 \begin_layout Standard
1264 \begin_inset Newpage newpage
1270 \begin_layout Section
1272 \begin_inset CommandInset label
1274 name "sec:Image-Formats"
1279 \begin_inset Index idx
1284 \begin_layout Plain Layout
1291 \begin_inset Index idx
1296 \begin_layout Plain Layout
1298 \begin_inset IndexMacro subentry
1301 \begin_layout Plain Layout
1315 \begin_layout Standard
1316 You can insert images in any known file format.
1317 But as explained in appendix
1318 \begin_inset space ~
1322 \begin_inset CommandInset ref
1324 reference "cha:Output-File-Formats"
1328 , each output document format allows only a few image formats.
1330 uses therefore the program
1334 in the background to convert the images to the right format.
1335 To increase your work flow by avoiding these conversions in the background,
1336 you could choose to use only the image formats that can directly be embedded
1337 in the output file format.
1338 The output file formats are explained in appendix
1339 \begin_inset space ~
1343 \begin_inset CommandInset ref
1345 reference "cha:Output-File-Formats"
1352 \begin_layout Standard
1353 Similar to fonts there are two types of image formats:
1356 \begin_layout Description
1358 \begin_inset space ~
1361 images consist of pixel values, often in a compressed form.
1362 They are therefore not fully scalable and look pixelated in large zooms.
1363 Well-known bitmap image formats are
1364 \begin_inset Quotes eld
1367 Graphics Interchange Format
1368 \begin_inset Quotes erd
1371 (GIF, file extension
1372 \begin_inset Quotes eld
1380 \begin_inset Quotes erd
1384 \begin_inset Index idx
1389 \begin_layout Plain Layout
1391 \begin_inset IndexMacro see
1394 \begin_layout Plain Layout
1406 \begin_inset Quotes eld
1409 Portable Network Graphics
1410 \begin_inset Quotes erd
1413 (PNG, file extension
1414 \begin_inset Quotes eld
1422 \begin_inset Quotes erd
1426 \begin_inset Index idx
1431 \begin_layout Plain Layout
1433 \begin_inset IndexMacro see
1436 \begin_layout Plain Layout
1448 \begin_inset Quotes eld
1451 Joint Photographic Experts Group
1452 \begin_inset Quotes erd
1455 (JPG, file extension
1456 \begin_inset Quotes eld
1464 \begin_inset Quotes erd
1468 \begin_inset Quotes eld
1476 \begin_inset Quotes erd
1480 \begin_inset Index idx
1485 \begin_layout Plain Layout
1487 \begin_inset IndexMacro see
1490 \begin_layout Plain Layout
1504 \begin_layout Description
1506 \begin_inset space ~
1509 images consist of vectors and can therefore be scaled to any size without
1511 The scaling ability is necessary if you want to create presentations, because
1512 presentations are always scaled by the video projector.
1513 Scaling is also useful for online documents to let the user zoom into diagrams.
1514 \begin_inset Newline newline
1517 Well-known scalable image formats are
1518 \begin_inset Quotes eld
1521 Scalable Vector Graphics
1522 \begin_inset Quotes erd
1525 (SVG, file extension
1526 \begin_inset Quotes eld
1534 \begin_inset Quotes erd
1538 \begin_inset Index idx
1543 \begin_layout Plain Layout
1545 \begin_inset IndexMacro see
1548 \begin_layout Plain Layout
1560 \begin_inset Quotes eld
1563 Encapsulated PostScript
1564 \begin_inset Quotes erd
1567 (EPS, file extension
1568 \begin_inset Quotes eld
1576 \begin_inset Quotes erd
1580 \begin_inset Index idx
1585 \begin_layout Plain Layout
1587 \begin_inset IndexMacro see
1590 \begin_layout Plain Layout
1602 \begin_inset Quotes eld
1605 Portable Document Format
1606 \begin_inset Quotes erd
1609 (PDF, file extension
1610 \begin_inset Quotes eld
1618 \begin_inset Quotes erd
1622 \begin_inset Index idx
1627 \begin_layout Plain Layout
1634 \begin_inset Quotes eld
1638 \begin_inset Quotes erd
1641 (WMF, file extension
1642 \begin_inset Quotes eld
1650 \begin_inset Quotes erd
1654 \begin_inset Index idx
1659 \begin_layout Plain Layout
1661 \begin_inset IndexMacro see
1664 \begin_layout Plain Layout
1677 \begin_inset Quotes eld
1681 \begin_inset Quotes erd
1684 , because you can convert any bitmap image to a PDF or EPS-image and the
1685 result will still be a bitmap image.
1686 In such cases only a header with the image properties is added to the original
1691 \begin_layout Plain Layout
1692 In the case of PDF, the original image is additionally compressed.
1698 The PDF-files generated by
1702 are for example bitmap images.
1705 \begin_layout Standard
1706 Normally it is not possible to convert a bitmap image into a scalable one,
1708 Only the image formats PDF and EPS can directly be embedded to PDF and
1709 PostScript output files, respectively.
1710 SVG and WMF-images are recalculated to bitmaps when the output file is
1711 generated because there is currently no adequate WMF/SVG
1712 \begin_inset Formula $\to$
1715 PDF/EPS converter available.
1718 \begin_layout Chapter
1720 \begin_inset Index idx
1725 \begin_layout Plain Layout
1734 \begin_layout Section
1736 \begin_inset Index idx
1741 \begin_layout Plain Layout
1743 \begin_inset IndexMacro subentry
1746 \begin_layout Plain Layout
1760 \begin_layout Standard
1761 You can insert a table using either the toolbar button
1764 arg "tabular-insert"
1769 Insert\SpecialChar menuseparator
1773 The toolbar button offers you a graphical selection: move the mouse to
1774 set the column/row number of the table that should be created and then
1775 press a mouse button.
1776 When you use the menu to create a table, a dialog will appear, asking you
1777 for the number of rows and columns
1778 \change_inserted -712698321 1554289643
1779 , and you can select a specific (border) style
1782 \change_deleted -712698321 1554289644
1784 \begin_inset Newline newline
1788 \change_inserted -712698321 1554289645
1792 \begin_layout Standard
1793 The default table has lines around any cell and the first row appears separated
1794 from the rest of the table.
1795 This separation occurs due to a double line: The cells of the first row
1796 have a line below them and the cells of the second row have a line above
1798 Here is an example table:
1801 \begin_layout Standard
1803 \begin_inset Tabular
1804 <lyxtabular version="3" rows="4" columns="4">
1805 <features tabularvalignment="middle">
1806 <column alignment="center" valignment="top">
1807 <column alignment="center" valignment="top">
1808 <column alignment="center" valignment="top">
1809 <column alignment="center" valignment="top">
1811 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1814 \begin_layout Plain Layout
1820 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1823 \begin_layout Plain Layout
1838 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1841 \begin_layout Plain Layout
1847 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1850 \begin_layout Plain Layout
1858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1861 \begin_layout Plain Layout
1876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1879 \begin_layout Plain Layout
1885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1888 \begin_layout Plain Layout
1894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1897 \begin_layout Plain Layout
1905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1908 \begin_layout Plain Layout
1923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1926 \begin_layout Plain Layout
1932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1935 \begin_layout Plain Layout
1941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1944 \begin_layout Plain Layout
1952 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1955 \begin_layout Plain Layout
1970 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1973 \begin_layout Plain Layout
1979 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1982 \begin_layout Plain Layout
1988 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1991 \begin_layout Plain Layout
2005 \begin_layout Standard
2007 \change_inserted -712698321 1554289664
2008 This corresponds to the
2009 \begin_inset Quotes eld
2013 \begin_inset Quotes erd
2016 table style listed in the style selection.
2019 \begin_layout Standard
2021 \change_inserted -712698321 1554289664
2022 Other available styles include:
2025 \begin_layout Itemize
2027 \change_inserted -712698321 1554289664
2029 \begin_inset Quotes eld
2033 \begin_inset Quotes erd
2036 which looks line the above table, but without the first row being separated
2040 \begin_layout Itemize
2042 \change_inserted -712698321 1554289664
2043 a border-less table with no lines at all,
2046 \begin_layout Itemize
2048 \change_inserted -712698321 1554289664
2050 \begin_inset Quotes eld
2054 \begin_inset Quotes erd
2057 as often used in professional publishing with horizontal lines only and
2058 bold top/bottom lines (see
2068 \change_inserted 630872221 1622640694
2069 It is also possible to have an horizontal (thin) Footline above the last
2075 \begin_layout Standard
2077 \change_inserted -712698321 1554289664
2078 The default style used in the dialog as well as the style used by the toolbar
2079 button can be changed in
2081 Document\SpecialChar menuseparator
2082 Settings\SpecialChar menuseparator
2086 So if the default style above is not the one you need, you should alter
2090 \begin_layout Section
2092 \begin_inset Index idx
2097 \begin_layout Plain Layout
2099 \begin_inset IndexMacro subentry
2102 \begin_layout Plain Layout
2116 \begin_layout Standard
2117 You can alter a table by clicking on it with the right mouse button, which
2118 brings up the context menu.
2119 Under the menu entry
2123 you can adjust the settings of that cell and row/column respectively where
2124 the cursor is currently placed.
2127 More\SpecialChar menuseparator
2130 opens the table dialog where you can adjust more things.
2131 Most of the dialog options also work on selections.
2132 This means if you select more cells, columns or rows, the action is done
2133 for the whole selection.
2134 Note that there is a difference between selecting the
2138 of the cell, and the cell itself.
2139 \begin_inset Newline newline
2142 With the dialog option
2145 \begin_inset space ~
2150 every change you make in the dialog is directly applied.
2151 If you move the cursor to another table cell the dialog will then also
2152 be updated with the parameters of the new cell.
2153 If you change length values in the dialog you must press
2157 to get the change applied.
2158 \begin_inset Newline newline
2161 You can alter tables with the following tabs of the table dialog:
2164 \begin_layout Description
2166 \begin_inset space ~
2169 Settings Here you can set the table width
2170 \begin_inset Index idx
2175 \begin_layout Plain Layout
2177 \begin_inset IndexMacro subentry
2180 \begin_layout Plain Layout
2191 , and the horizontal alignment and the width of the current column.
2195 \begin_inset space ~
2199 \begin_inset space ~
2204 is described in section
2205 \begin_inset space ~
2209 \begin_inset CommandInset ref
2211 reference "subsec:Special-Cell-Alignment"
2216 When you have set a width you can also adjust the vertical alignment of
2218 A given width will allow the cell to have line breaks and multiple paragraphs
2220 \begin_inset space \thinspace{}
2224 \begin_inset CommandInset ref
2226 reference "subsec:Multiple-Lines-in"
2231 If you set no width, the column is as wide as the content of its widest
2233 \begin_inset Newline newline
2236 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2238 \begin_inset space \thinspace{}
2242 \begin_inset CommandInset ref
2244 reference "subsec:Multicolumns"
2248 or the cells of one column as multirow cell, see sec.
2249 \begin_inset space \thinspace{}
2253 \begin_inset CommandInset ref
2255 reference "subsec:Multirows"
2260 \begin_inset Newline newline
2263 The rotate check boxes rotate the current cell, a selection, or the whole
2264 table counter-clockwise by 90
2265 \begin_inset space \thinspace{}
2269 The rotation is not shown within \SpecialChar LyX
2270 , only in the output.
2271 For more information see sec.
2272 \begin_inset space \thinspace{}
2276 \begin_inset CommandInset ref
2278 reference "sec:Rotated-Table-Cells"
2283 \begin_inset Newline newline
2287 \begin_inset Note Greyedout
2290 \begin_layout Plain Layout
2295 Not all DVI-viewers are able to display rotations.
2301 \begin_inset Newline newline
2304 The table-wide vertical alignment is used for tables within text lines:
2305 \begin_inset Newline newline
2308 A line with tables with different alignments:
2309 \begin_inset Tabular
2310 <lyxtabular version="3" rows="2" columns="2">
2311 <features tabularvalignment="top">
2312 <column alignment="center" valignment="top" width="0pt">
2313 <column alignment="center" valignment="top">
2315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2318 \begin_layout Plain Layout
2324 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2327 \begin_layout Plain Layout
2344 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2347 \begin_layout Plain Layout
2362 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2365 \begin_layout Plain Layout
2377 \begin_inset Tabular
2378 <lyxtabular version="3" rows="2" columns="2">
2379 <features tabularvalignment="middle">
2380 <column alignment="center" valignment="top">
2381 <column alignment="center" valignment="top">
2383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2386 \begin_layout Plain Layout
2392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2395 \begin_layout Plain Layout
2412 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2415 \begin_layout Plain Layout
2430 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2433 \begin_layout Plain Layout
2445 \begin_inset Tabular
2446 <lyxtabular version="3" rows="2" columns="2">
2447 <features tabularvalignment="bottom">
2448 <column alignment="center" valignment="top" width="0pt">
2449 <column alignment="center" valignment="top">
2451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2454 \begin_layout Plain Layout
2460 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2463 \begin_layout Plain Layout
2480 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2483 \begin_layout Plain Layout
2498 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2501 \begin_layout Plain Layout
2513 \begin_inset Newline newline
2516 It is also possible to enter a \SpecialChar LaTeX
2517 -argument which is needed for special table
2518 formattings, see sec.
2519 \begin_inset space \thinspace{}
2523 \begin_inset CommandInset ref
2525 reference "subsec:Multicolumn-Calculations"
2530 \begin_inset CommandInset ref
2532 reference "sec:Colored-Tables"
2539 \begin_layout Description
2540 Borders In this tab you can add and delete border lines for the current
2542 \begin_inset Newline newline
2545 Using the style option
2549 will convert the table to a formal table as described in sec.
2550 \begin_inset space \thinspace{}
2554 \begin_inset CommandInset ref
2556 reference "sec:Formal-Tables"
2561 \begin_inset Newline newline
2564 You can also add space here to table rows as described in sec.
2565 \begin_inset space \thinspace{}
2569 \begin_inset CommandInset ref
2571 reference "subsec:Row-Spacing"
2578 \begin_layout Description
2580 \begin_inset space ~
2583 table This tab is to make a table a multi-page table that can run over several
2586 \begin_inset space ~
2590 \begin_inset CommandInset ref
2592 reference "sec:Multi-page-Tables"
2597 \begin_inset CommandInset ref
2599 reference "sec:Special-Longtable-Issues"
2603 describe the multi-page table features in detail.
2606 \begin_layout Section
2608 \begin_inset Index idx
2613 \begin_layout Plain Layout
2615 \begin_inset IndexMacro subentry
2618 \begin_layout Plain Layout
2632 \begin_layout Standard
2633 The table toolbar is an alternative to the table dialog to be able to alter
2635 It should normally appear at the bottom of \SpecialChar LyX
2636 's main window when the cursor
2638 You can alternatively switch it on to appear always, by right-clicking
2643 \begin_layout Standard
2644 The toolbar has the following icons:
2647 \begin_layout Labeling
2648 \labelwidthstring 00.00.0000
2651 arg "tabular-feature append-row"
2654 adds a row below the current cell or selection
2657 \begin_layout Labeling
2658 \labelwidthstring 00.00.0000
2661 arg "tabular-feature append-column"
2664 adds a column right beside the current cell or selection
2667 \begin_layout Labeling
2668 \labelwidthstring 00.00.0000
2671 arg "tabular-feature delete-row"
2674 deletes the current row or selection
2677 \begin_layout Labeling
2678 \labelwidthstring 00.00.0000
2681 arg "tabular-feature delete-column"
2684 deletes the current column or selection
2687 \begin_layout Labeling
2688 \labelwidthstring 00.00.0000
2691 arg "tabular-feature move-row-up"
2697 \begin_layout Labeling
2698 \labelwidthstring 00.00.0000
2701 arg "tabular-feature move-column-left"
2704 moves the column to the left
2707 \begin_layout Labeling
2708 \labelwidthstring 00.00.0000
2711 arg "tabular-feature move-row-down"
2717 \begin_layout Labeling
2718 \labelwidthstring 00.00.0000
2721 arg "tabular-feature move-column-right"
2724 moves the column to the right
2727 \begin_layout Labeling
2728 \labelwidthstring 00.00.0000
2731 arg "tabular-feature toggle-line-top"
2735 \change_deleted -1382599118 1647157945
2737 \change_inserted -1382599118 1647157946
2740 a line at the top of
2741 \change_inserted -1382599118 1647158116
2745 \change_inserted -1382599118 1647157889
2747 \change_deleted -1382599118 1647157917
2751 \change_deleted -1382599118 1647157923
2753 \change_inserted -1382599118 1647157925
2759 \begin_layout Labeling
2760 \labelwidthstring 00.00.0000
2763 arg "tabular-feature toggle-line-bottom"
2767 \change_deleted -1382599118 1647157963
2769 \change_inserted -1382599118 1647157964
2772 a line at the bottom of
2773 \change_inserted -1382599118 1647158114
2777 \change_inserted -1382599118 1647157991
2779 \change_deleted -1382599118 1647158003
2783 \change_deleted -1382599118 1647158007
2785 \change_inserted -1382599118 1647158009
2791 \begin_layout Labeling
2792 \labelwidthstring 00.00.0000
2795 arg "tabular-feature toggle-line-left"
2799 \change_deleted -1382599118 1647157971
2801 \change_inserted -1382599118 1647157972
2804 a line at the left side of
2805 \change_inserted -1382599118 1647158111
2809 \change_inserted -1382599118 1647158027
2811 \change_deleted -1382599118 1647158069
2815 \change_deleted -1382599118 1647158043
2817 \change_inserted -1382599118 1647158044
2823 \begin_layout Labeling
2824 \labelwidthstring 00.00.0000
2827 arg "tabular-feature toggle-line-right"
2831 \change_deleted -1382599118 1647157974
2833 \change_inserted -1382599118 1647157975
2836 a line at the right side of
2837 \change_inserted -1382599118 1647158109
2841 \change_inserted -1382599118 1647158061
2843 \change_deleted -1382599118 1647158072
2847 \change_deleted -1382599118 1647158078
2849 \change_inserted -1382599118 1647158082
2851 \change_inserted -712698321 1554289731
2855 \begin_layout Labeling
2856 \labelwidthstring 00.00.0000
2858 \change_inserted -712698321 1554289910
2861 arg "tabular-feature toggle-border-lines"
2865 \change_deleted -1382599118 1647157966
2867 \change_inserted -1382599118 1647157967
2869 \change_inserted -712698321 1554289910
2870 a border around the currently selected cells
2871 \change_inserted -1382599118 1647040213
2875 \begin_layout Labeling
2876 \labelwidthstring 00.00.0000
2878 \change_inserted -1382599118 1647158092
2881 arg "tabular-feature toggle-inner-lines"
2884 toggles inner lines for the currently selected cells
2889 \begin_layout Labeling
2890 \labelwidthstring 00.00.0000
2893 arg "tabular-feature toggle-all-lines"
2896 adds lines around the current or selected cells - if the current cell is
2897 not a multicolumn cell this also affects the current row and column
2900 \begin_layout Labeling
2901 \labelwidthstring 00.00.0000
2904 arg "tabular-feature unset-all-lines"
2907 deletes all lines of the current or selected cells - if the current cell
2908 is not a multicolumn cell this also affects the current row and column
2909 \change_inserted -712698321 1554289920
2913 \begin_layout Labeling
2914 \labelwidthstring 00.00.0000
2916 \change_inserted -712698321 1554292586
2919 arg "tabular-feature reset-formal-default"
2922 If using a formal table, this resets the border to its default (only horizontal
2923 lines in top and bottom rows)
2928 \begin_layout Labeling
2929 \labelwidthstring 00.00.0000
2932 arg "tabular-feature m-align-left"
2935 left-aligns the content of the current cell / column
2938 \begin_layout Labeling
2939 \labelwidthstring 00.00.0000
2942 arg "tabular-feature m-align-center"
2945 centers the content of the current cell / column horizontally
2948 \begin_layout Labeling
2949 \labelwidthstring 00.00.0000
2952 arg "tabular-feature m-align-right"
2955 right-aligns the content of the current cell / column
2958 \begin_layout Labeling
2959 \labelwidthstring 00.00.0000
2962 arg "tabular-feature align-decimal"
2965 aligns the content of the current column at a character
2968 \begin_layout Labeling
2969 \labelwidthstring 00.00.0000
2972 arg "tabular-feature m-valign-top"
2975 aligns the content of the current cell vertically to the top
2978 \begin_layout Labeling
2979 \labelwidthstring 00.00.0000
2982 arg "tabular-feature m-valign-middle"
2985 centers the content of the current cell vertically
2988 \begin_layout Labeling
2989 \labelwidthstring 00.00.0000
2992 arg "tabular-feature m-valign-bottom"
2995 aligns the content of the current cell vertically to the bottom
2998 \begin_layout Labeling
2999 \labelwidthstring 00.00.0000
3002 arg "tabular-feature set-rotate-cell"
3005 rotates the current cell or selection counter-clockwise by 90°
3008 \begin_layout Labeling
3009 \labelwidthstring 00.00.0000
3012 arg "tabular-feature set-rotate-tabular"
3015 rotates the whole table counter-clockwise by 90°
3018 \begin_layout Labeling
3019 \labelwidthstring 00.00.0000
3022 arg "tabular-feature multicolumn"
3025 sets the current cell or selection as a multicolumn
3028 \begin_layout Labeling
3029 \labelwidthstring 00.00.0000
3032 arg "tabular-feature multirow"
3035 sets the current cell or selection as a multirow
3038 \begin_layout Standard
3039 \begin_inset Note Greyedout
3042 \begin_layout Plain Layout
3047 For the output the vertical alignment of the first cell in a row is used
3048 for all following cells in the row.
3056 \begin_layout Section
3058 \begin_inset Index idx
3063 \begin_layout Plain Layout
3065 \begin_inset IndexMacro subentry
3068 \begin_layout Plain Layout
3082 \begin_layout Standard
3083 In addition to the table dialog and toolbar, the menu
3085 Edit\SpecialChar menuseparator
3088 allows you to add and delete border lines for the current row/column and
3089 to set the current selection as multicolumn.
3090 The menu is only available when the cursor is inside a table.
3093 \begin_layout Section
3095 \begin_inset CommandInset label
3097 name "sec:Table-Floats"
3102 \begin_inset Index idx
3107 \begin_layout Plain Layout
3109 \begin_inset IndexMacro subentry
3112 \begin_layout Plain Layout
3124 \begin_inset Index idx
3129 \begin_layout Plain Layout
3131 \begin_inset IndexMacro subentry
3134 \begin_layout Plain Layout
3148 \begin_layout Standard
3149 For general explanations about floats, have a look at section
3150 \begin_inset space ~
3154 \begin_inset CommandInset ref
3156 reference "sec:FloatIntroduction"
3163 \begin_layout Standard
3164 \begin_inset Float table
3171 \begin_layout Plain Layout
3172 \begin_inset Caption Standard
3174 \begin_layout Plain Layout
3175 \begin_inset CommandInset label
3177 name "tab:a table float"
3189 \begin_layout Plain Layout
3191 \begin_inset Tabular
3192 <lyxtabular version="3" rows="3" columns="3">
3193 <features tabularvalignment="middle">
3194 <column alignment="center" valignment="top" width="0pt">
3195 <column alignment="center" valignment="top" width="0pt">
3196 <column alignment="center" valignment="top" width="0pt">
3198 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3201 \begin_layout Plain Layout
3216 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3219 \begin_layout Plain Layout
3234 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3237 \begin_layout Plain Layout
3254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3257 \begin_layout Plain Layout
3272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3275 \begin_layout Plain Layout
3290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3293 \begin_layout Plain Layout
3310 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3313 \begin_layout Plain Layout
3323 \begin_inset Formula $\int x^{2}dx$
3331 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3334 \begin_layout Plain Layout
3344 \begin_inset Formula $\left[\begin{array}{cc}
3355 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3358 \begin_layout Plain Layout
3368 \begin_inset Formula $1+1=2$
3389 \begin_layout Standard
3390 Table floats can be inserted using the menu
3392 Insert\SpecialChar menuseparator
3393 Float\SpecialChar menuseparator
3396 or the toolbar button
3399 arg "float-insert table"
3405 \begin_layout Standard
3406 The float appears as a collapsible box with a caption that has the label
3408 \begin_inset Quotes eld
3412 \begin_inset space ~
3416 \begin_inset Quotes erd
3419 (# is the actual table number).
3420 You can insert tables in the float above or below the caption.
3423 \begin_layout Standard
3425 \begin_inset space ~
3429 \begin_inset CommandInset ref
3431 reference "tab:a table float"
3435 is an example table within a table float.
3438 \begin_layout Standard
3439 Having the caption above the table is the common rule that is unfortunately
3440 not supported in \SpecialChar LaTeX
3441 's standard classes.
3442 This means that, if you are using the document classes
3458 , there will be no space between the caption and the table.
3459 To insert the needed space, add the following option to the load command
3460 of the \SpecialChar LaTeX
3466 \begin_inset Index idx
3471 \begin_layout Plain Layout
3474 \begin_inset IndexMacro subentry
3477 \begin_layout Plain Layout
3488 in your document preamble:
3492 \begin_layout Plain Layout
3493 For more information have a look at section
3494 \begin_inset space ~
3498 \begin_inset CommandInset ref
3500 reference "sec:Caption-Placement"
3512 \begin_layout Standard
3518 \begin_layout Standard
3523 , which is described in section
3524 \begin_inset space ~
3528 \begin_inset CommandInset ref
3530 reference "sec:Caption-Formatting"
3534 , is used to adjust the caption format.
3537 \begin_layout Standard
3538 \begin_inset Index idx
3543 \begin_layout Plain Layout
3545 \begin_inset IndexMacro subentry
3548 \begin_layout Plain Layout
3559 Tables can be cross-referenced in the text by referencing their label.
3560 To do this insert a label in the caption using the menu
3562 Insert\SpecialChar menuseparator
3565 or the toolbar button
3572 You can now refer to the label using the menu
3574 Insert\SpecialChar menuseparator
3576 \begin_inset space ~
3581 or the toolbar button
3584 arg "dialog-show-new-inset ref"
3588 \begin_inset Newline newline
3591 Referencing is explained in detail in section
3592 \begin_inset space ~
3596 \begin_inset CommandInset ref
3598 reference "sec:Referencing-Floats"
3605 \begin_layout Section
3611 \begin_inset CommandInset label
3613 name "sec:Multi-page-Tables"
3618 \begin_inset Index idx
3623 \begin_layout Plain Layout
3630 \begin_inset Index idx
3635 \begin_layout Plain Layout
3637 \begin_inset IndexMacro subentry
3640 \begin_layout Plain Layout
3654 \begin_layout Standard
3655 If the table is too long to fit on one page, you can use the option
3658 \begin_inset space ~
3666 \begin_inset space ~
3671 of the table dialog to split the table automatically over more pages.
3672 Doing this enables the following options:
3675 \begin_layout Description
3676 Header: The current row is defined to be a header row that appears on all
3677 pages of the multi-page table; except for the first page, if
3680 \begin_inset space ~
3686 This is therefore called the main header.
3689 \begin_layout Description
3691 \begin_inset space ~
3694 header: The current row is defined to be a header row that appears on the
3695 first page of the multi-page table.
3698 \begin_layout Description
3699 Footer: The current row is defined to be a footer row that appears on all
3700 pages of the multi-page table; except for the last page, if
3703 \begin_inset space ~
3711 \begin_layout Description
3713 \begin_inset space ~
3716 footer: The current row is defined to be a footer row that appears on the
3717 last page of the multi-page table.
3720 \begin_layout Description
3721 Caption: The current row contains the table caption.
3722 The row is reset as single column and a caption is inserted.
3723 More about multi-page table captions is explained in sec.
3724 \begin_inset space \thinspace{}
3728 \begin_inset CommandInset ref
3730 reference "subsec:Multi-page-Table-Captions"
3737 \begin_layout Standard
3738 You can also specify a row where the table is split.
3739 See the following multi-page table to see how it works:
3742 \begin_layout Standard
3744 \begin_inset Tabular
3745 <lyxtabular version="3" rows="69" columns="3">
3746 <features islongtable="true" longtabularalignment="center">
3747 <column alignment="left" valignment="top" width="0cm">
3748 <column alignment="left" valignment="top" width="0pt">
3749 <column alignment="center" valignment="top" width="0pt">
3750 <row endfirsthead="true">
3751 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3754 \begin_layout Plain Layout
3757 Example Phone List (ignore the names)
3762 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3765 \begin_layout Plain Layout
3771 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3774 \begin_layout Plain Layout
3781 <row endfirsthead="true">
3782 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3785 \begin_layout Plain Layout
3793 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3796 \begin_layout Plain Layout
3802 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3805 \begin_layout Plain Layout
3814 <row endhead="true">
3815 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3818 \begin_layout Plain Layout
3826 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3829 \begin_layout Plain Layout
3835 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3838 \begin_layout Plain Layout
3845 <row endhead="true">
3846 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3849 \begin_layout Plain Layout
3857 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3860 \begin_layout Plain Layout
3866 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3869 \begin_layout Plain Layout
3878 <row endfoot="true">
3879 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3882 \begin_layout Plain Layout
3883 continued on next page
3888 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3891 \begin_layout Plain Layout
3897 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3900 \begin_layout Plain Layout
3908 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3911 \begin_layout Plain Layout
3919 <cell alignment="center" valignment="top" usebox="none">
3922 \begin_layout Plain Layout
3928 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3931 \begin_layout Plain Layout
3939 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3942 \begin_layout Plain Layout
3950 <cell alignment="center" valignment="top" usebox="none">
3953 \begin_layout Plain Layout
3959 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3962 \begin_layout Plain Layout
3970 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3973 \begin_layout Plain Layout
3981 <cell alignment="center" valignment="top" usebox="none">
3984 \begin_layout Plain Layout
3990 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3993 \begin_layout Plain Layout
4001 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4004 \begin_layout Plain Layout
4012 <cell alignment="center" valignment="top" usebox="none">
4015 \begin_layout Plain Layout
4021 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4024 \begin_layout Plain Layout
4032 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4035 \begin_layout Plain Layout
4043 <cell alignment="center" valignment="top" usebox="none">
4046 \begin_layout Plain Layout
4052 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4055 \begin_layout Plain Layout
4063 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4066 \begin_layout Plain Layout
4074 <cell alignment="center" valignment="top" usebox="none">
4077 \begin_layout Plain Layout
4083 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4086 \begin_layout Plain Layout
4094 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4097 \begin_layout Plain Layout
4105 <cell alignment="center" valignment="top" usebox="none">
4108 \begin_layout Plain Layout
4114 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4117 \begin_layout Plain Layout
4125 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4128 \begin_layout Plain Layout
4136 <cell alignment="center" valignment="top" usebox="none">
4139 \begin_layout Plain Layout
4145 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4148 \begin_layout Plain Layout
4156 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4159 \begin_layout Plain Layout
4167 <cell alignment="center" valignment="top" usebox="none">
4170 \begin_layout Plain Layout
4176 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4179 \begin_layout Plain Layout
4187 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4190 \begin_layout Plain Layout
4198 <cell alignment="center" valignment="top" usebox="none">
4201 \begin_layout Plain Layout
4207 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4210 \begin_layout Plain Layout
4218 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4221 \begin_layout Plain Layout
4229 <cell alignment="center" valignment="top" usebox="none">
4232 \begin_layout Plain Layout
4238 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4241 \begin_layout Plain Layout
4249 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4252 \begin_layout Plain Layout
4260 <cell alignment="center" valignment="top" usebox="none">
4263 \begin_layout Plain Layout
4269 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4272 \begin_layout Plain Layout
4280 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4283 \begin_layout Plain Layout
4291 <cell alignment="center" valignment="top" usebox="none">
4294 \begin_layout Plain Layout
4300 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4303 \begin_layout Plain Layout
4311 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4314 \begin_layout Plain Layout
4322 <cell alignment="center" valignment="top" usebox="none">
4325 \begin_layout Plain Layout
4331 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4334 \begin_layout Plain Layout
4342 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4345 \begin_layout Plain Layout
4353 <cell alignment="center" valignment="top" usebox="none">
4356 \begin_layout Plain Layout
4362 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4365 \begin_layout Plain Layout
4373 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4376 \begin_layout Plain Layout
4384 <cell alignment="center" valignment="top" usebox="none">
4387 \begin_layout Plain Layout
4393 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4396 \begin_layout Plain Layout
4404 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4407 \begin_layout Plain Layout
4415 <cell alignment="center" valignment="top" usebox="none">
4418 \begin_layout Plain Layout
4424 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4427 \begin_layout Plain Layout
4435 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4438 \begin_layout Plain Layout
4446 <cell alignment="center" valignment="top" usebox="none">
4449 \begin_layout Plain Layout
4455 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4458 \begin_layout Plain Layout
4466 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4469 \begin_layout Plain Layout
4477 <cell alignment="center" valignment="top" usebox="none">
4480 \begin_layout Plain Layout
4486 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4489 \begin_layout Plain Layout
4497 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4500 \begin_layout Plain Layout
4508 <cell alignment="center" valignment="top" usebox="none">
4511 \begin_layout Plain Layout
4517 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4520 \begin_layout Plain Layout
4528 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4531 \begin_layout Plain Layout
4539 <cell alignment="center" valignment="top" usebox="none">
4542 \begin_layout Plain Layout
4548 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4551 \begin_layout Plain Layout
4559 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4562 \begin_layout Plain Layout
4570 <cell alignment="center" valignment="top" usebox="none">
4573 \begin_layout Plain Layout
4579 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4582 \begin_layout Plain Layout
4590 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4593 \begin_layout Plain Layout
4601 <cell alignment="center" valignment="top" usebox="none">
4604 \begin_layout Plain Layout
4610 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4613 \begin_layout Plain Layout
4621 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4624 \begin_layout Plain Layout
4632 <cell alignment="center" valignment="top" usebox="none">
4635 \begin_layout Plain Layout
4641 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4644 \begin_layout Plain Layout
4652 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4655 \begin_layout Plain Layout
4663 <cell alignment="center" valignment="top" usebox="none">
4666 \begin_layout Plain Layout
4672 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4675 \begin_layout Plain Layout
4683 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4686 \begin_layout Plain Layout
4694 <cell alignment="center" valignment="top" usebox="none">
4697 \begin_layout Plain Layout
4703 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4706 \begin_layout Plain Layout
4714 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4717 \begin_layout Plain Layout
4725 <cell alignment="center" valignment="top" usebox="none">
4728 \begin_layout Plain Layout
4734 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4737 \begin_layout Plain Layout
4745 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4748 \begin_layout Plain Layout
4756 <cell alignment="center" valignment="top" usebox="none">
4759 \begin_layout Plain Layout
4765 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4768 \begin_layout Plain Layout
4776 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4779 \begin_layout Plain Layout
4787 <cell alignment="center" valignment="top" usebox="none">
4790 \begin_layout Plain Layout
4796 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4799 \begin_layout Plain Layout
4807 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4810 \begin_layout Plain Layout
4818 <cell alignment="center" valignment="top" usebox="none">
4821 \begin_layout Plain Layout
4827 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4830 \begin_layout Plain Layout
4838 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4841 \begin_layout Plain Layout
4849 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4852 \begin_layout Plain Layout
4858 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4861 \begin_layout Plain Layout
4869 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4872 \begin_layout Plain Layout
4878 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4881 \begin_layout Plain Layout
4887 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4890 \begin_layout Plain Layout
4898 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4901 \begin_layout Plain Layout
4909 <cell alignment="center" valignment="top" usebox="none">
4912 \begin_layout Plain Layout
4918 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4921 \begin_layout Plain Layout
4929 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4932 \begin_layout Plain Layout
4940 <cell alignment="center" valignment="top" usebox="none">
4943 \begin_layout Plain Layout
4949 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4952 \begin_layout Plain Layout
4960 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4963 \begin_layout Plain Layout
4971 <cell alignment="center" valignment="top" usebox="none">
4974 \begin_layout Plain Layout
4980 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4983 \begin_layout Plain Layout
4991 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4994 \begin_layout Plain Layout
5002 <cell alignment="center" valignment="top" usebox="none">
5005 \begin_layout Plain Layout
5011 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5014 \begin_layout Plain Layout
5022 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5025 \begin_layout Plain Layout
5033 <cell alignment="center" valignment="top" usebox="none">
5036 \begin_layout Plain Layout
5042 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5045 \begin_layout Plain Layout
5053 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5056 \begin_layout Plain Layout
5064 <cell alignment="center" valignment="top" usebox="none">
5067 \begin_layout Plain Layout
5073 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5076 \begin_layout Plain Layout
5084 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5087 \begin_layout Plain Layout
5095 <cell alignment="center" valignment="top" usebox="none">
5098 \begin_layout Plain Layout
5104 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5107 \begin_layout Plain Layout
5115 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5118 \begin_layout Plain Layout
5126 <cell alignment="center" valignment="top" usebox="none">
5129 \begin_layout Plain Layout
5135 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5138 \begin_layout Plain Layout
5146 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5149 \begin_layout Plain Layout
5157 <cell alignment="center" valignment="top" usebox="none">
5160 \begin_layout Plain Layout
5166 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5169 \begin_layout Plain Layout
5177 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5180 \begin_layout Plain Layout
5188 <cell alignment="center" valignment="top" usebox="none">
5191 \begin_layout Plain Layout
5197 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5200 \begin_layout Plain Layout
5208 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5211 \begin_layout Plain Layout
5219 <cell alignment="center" valignment="top" usebox="none">
5222 \begin_layout Plain Layout
5228 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5231 \begin_layout Plain Layout
5239 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5242 \begin_layout Plain Layout
5250 <cell alignment="center" valignment="top" usebox="none">
5253 \begin_layout Plain Layout
5259 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5262 \begin_layout Plain Layout
5270 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5273 \begin_layout Plain Layout
5281 <cell alignment="center" valignment="top" usebox="none">
5284 \begin_layout Plain Layout
5290 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5293 \begin_layout Plain Layout
5301 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5304 \begin_layout Plain Layout
5312 <cell alignment="center" valignment="top" usebox="none">
5315 \begin_layout Plain Layout
5321 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5324 \begin_layout Plain Layout
5332 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5335 \begin_layout Plain Layout
5343 <cell alignment="center" valignment="top" usebox="none">
5346 \begin_layout Plain Layout
5352 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5355 \begin_layout Plain Layout
5363 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5366 \begin_layout Plain Layout
5374 <cell alignment="center" valignment="top" usebox="none">
5377 \begin_layout Plain Layout
5383 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5386 \begin_layout Plain Layout
5394 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5397 \begin_layout Plain Layout
5405 <cell alignment="center" valignment="top" usebox="none">
5408 \begin_layout Plain Layout
5414 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5417 \begin_layout Plain Layout
5425 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5428 \begin_layout Plain Layout
5436 <cell alignment="center" valignment="top" usebox="none">
5439 \begin_layout Plain Layout
5445 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5448 \begin_layout Plain Layout
5456 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5459 \begin_layout Plain Layout
5467 <cell alignment="center" valignment="top" usebox="none">
5470 \begin_layout Plain Layout
5476 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5479 \begin_layout Plain Layout
5487 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5490 \begin_layout Plain Layout
5498 <cell alignment="center" valignment="top" usebox="none">
5501 \begin_layout Plain Layout
5507 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5510 \begin_layout Plain Layout
5518 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5521 \begin_layout Plain Layout
5529 <cell alignment="center" valignment="top" usebox="none">
5532 \begin_layout Plain Layout
5538 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5541 \begin_layout Plain Layout
5549 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5552 \begin_layout Plain Layout
5560 <cell alignment="center" valignment="top" usebox="none">
5563 \begin_layout Plain Layout
5569 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5572 \begin_layout Plain Layout
5580 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5583 \begin_layout Plain Layout
5591 <cell alignment="center" valignment="top" usebox="none">
5594 \begin_layout Plain Layout
5600 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5603 \begin_layout Plain Layout
5611 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5614 \begin_layout Plain Layout
5622 <cell alignment="center" valignment="top" usebox="none">
5625 \begin_layout Plain Layout
5631 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5634 \begin_layout Plain Layout
5642 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5645 \begin_layout Plain Layout
5653 <cell alignment="center" valignment="top" usebox="none">
5656 \begin_layout Plain Layout
5662 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5665 \begin_layout Plain Layout
5673 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5676 \begin_layout Plain Layout
5684 <cell alignment="center" valignment="top" usebox="none">
5687 \begin_layout Plain Layout
5693 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5696 \begin_layout Plain Layout
5704 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5707 \begin_layout Plain Layout
5715 <cell alignment="center" valignment="top" usebox="none">
5718 \begin_layout Plain Layout
5724 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5727 \begin_layout Plain Layout
5735 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5738 \begin_layout Plain Layout
5746 <cell alignment="center" valignment="top" usebox="none">
5749 \begin_layout Plain Layout
5755 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5758 \begin_layout Plain Layout
5766 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5769 \begin_layout Plain Layout
5777 <cell alignment="center" valignment="top" usebox="none">
5780 \begin_layout Plain Layout
5786 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5789 \begin_layout Plain Layout
5797 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5800 \begin_layout Plain Layout
5808 <cell alignment="center" valignment="top" usebox="none">
5811 \begin_layout Plain Layout
5817 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5820 \begin_layout Plain Layout
5828 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5831 \begin_layout Plain Layout
5839 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5842 \begin_layout Plain Layout
5848 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5851 \begin_layout Plain Layout
5858 <row endlastfoot="true">
5859 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5862 \begin_layout Plain Layout
5868 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5871 \begin_layout Plain Layout
5877 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5880 \begin_layout Plain Layout
5895 \begin_layout Plain Layout
5899 addtocounter{table}{-1}
5905 \begin_inset Note Note
5908 \begin_layout Plain Layout
5909 See the first greyed-out note in section
5910 \begin_inset space ~
5914 \begin_inset CommandInset ref
5916 reference "subsec:Multi-page-Table-Captions"
5920 for an explanation of this command.
5928 \begin_layout Subsection
5929 Footnotes in Multi-page tables
5930 \begin_inset CommandInset label
5932 name "subsec:Footnotes-in-Multi-page"
5937 \begin_inset Index idx
5942 \begin_layout Plain Layout
5944 \begin_inset IndexMacro subentry
5947 \begin_layout Plain Layout
5954 \begin_inset IndexMacro subentry
5957 \begin_layout Plain Layout
5971 \begin_layout Standard
5972 Footnotes can be inserted to every Multi-page table cell.
5973 They appear at the bottom of the page where the table cell with the footnote
5976 \begin_inset space ~
5980 \begin_inset CommandInset ref
5982 reference "tab:DiffCaptions"
5986 has for example a footnote.
5989 \begin_layout Subsection
5990 Multi-page Table Alignment
5991 \begin_inset Index idx
5996 \begin_layout Plain Layout
5998 \begin_inset IndexMacro subentry
6001 \begin_layout Plain Layout
6008 \begin_inset IndexMacro subentry
6011 \begin_layout Plain Layout
6025 \begin_layout Standard
6026 The horizontal alignment of multi-page tables can be set in the table settings
6028 For left- and right-alignment the table will be directly at the page border.
6029 To add space between the table and the border one has to set the alignment
6030 to center and change the value of the \SpecialChar LaTeX
6043 by inserting this line as \SpecialChar TeX
6044 Code before the multi-page table:
6047 \begin_layout Standard
6057 \begin_layout Standard
6058 The value can have any of the units listed in Table
6059 \begin_inset space ~
6063 \begin_inset CommandInset ref
6065 reference "tab:Units"
6076 controls the horizontal distance from the left page border to the multi-page
6083 the distance from the right side.
6084 The default value for both lengths is
6090 , which is in this case the same as an horizontal fill in \SpecialChar LyX
6094 \begin_layout Standard
6095 The following multi-page table was centered and
6111 \begin_layout Plain Layout
6127 \begin_layout Standard
6128 \begin_inset Tabular
6129 <lyxtabular version="3" rows="5" columns="5">
6130 <features islongtable="true" longtabularalignment="center">
6131 <column alignment="center" valignment="top">
6132 <column alignment="center" valignment="top" width="0pt">
6133 <column alignment="center" valignment="top">
6134 <column alignment="center" valignment="top">
6135 <column alignment="center" valignment="top">
6137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6140 \begin_layout Plain Layout
6146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6149 \begin_layout Plain Layout
6155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6158 \begin_layout Plain Layout
6164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6167 \begin_layout Plain Layout
6173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6176 \begin_layout Plain Layout
6184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6187 \begin_layout Plain Layout
6193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6196 \begin_layout Plain Layout
6202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6205 \begin_layout Plain Layout
6211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6214 \begin_layout Plain Layout
6220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6223 \begin_layout Plain Layout
6231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6234 \begin_layout Plain Layout
6240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6243 \begin_layout Plain Layout
6249 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6252 \begin_layout Plain Layout
6258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6261 \begin_layout Plain Layout
6267 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6270 \begin_layout Plain Layout
6278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6281 \begin_layout Plain Layout
6287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6290 \begin_layout Plain Layout
6296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6299 \begin_layout Plain Layout
6305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6308 \begin_layout Plain Layout
6314 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6317 \begin_layout Plain Layout
6325 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6328 \begin_layout Plain Layout
6334 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6337 \begin_layout Plain Layout
6343 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6346 \begin_layout Plain Layout
6352 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6355 \begin_layout Plain Layout
6361 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6364 \begin_layout Plain Layout
6379 \begin_layout Plain Layout
6396 \begin_layout Plain Layout
6400 addtocounter{table}{-1}
6406 \begin_inset Note Note
6409 \begin_layout Plain Layout
6410 See the first greyed-out note in section
6411 \begin_inset space ~
6415 \begin_inset CommandInset ref
6417 reference "subsec:Multi-page-Table-Captions"
6421 for an explanation of this command.
6429 \begin_layout Subsection
6430 Multi-page Table Captions
6431 \begin_inset Index idx
6436 \begin_layout Plain Layout
6438 \begin_inset IndexMacro subentry
6441 \begin_layout Plain Layout
6448 \begin_inset IndexMacro subentry
6451 \begin_layout Plain Layout
6463 \begin_inset CommandInset label
6465 name "subsec:Multi-page-Table-Captions"
6472 \begin_layout Standard
6473 A multi-page table cannot be put into a table float because floats can only
6475 But the caption environment of floats can also be used for multi-page tables
6476 when you use the multi-page table option
6480 as described in sec.
6481 \begin_inset space \thinspace{}
6485 \begin_inset CommandInset ref
6487 reference "sec:Multi-page-Tables"
6492 Only one table row should contain a caption, either a header or a footer
6496 \begin_layout Standard
6497 Here is a short multi-page table to see how it works:
6500 \begin_layout Standard
6501 \begin_inset Tabular
6502 <lyxtabular version="3" rows="6" columns="5">
6503 <features islongtable="true" longtabularalignment="center">
6504 <column alignment="center" valignment="top">
6505 <column alignment="center" valignment="top">
6506 <column alignment="center" valignment="top">
6507 <column alignment="center" valignment="top">
6508 <column alignment="center" valignment="top">
6509 <row endfirsthead="true" caption="true">
6510 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6513 \begin_layout Plain Layout
6514 \begin_inset Caption Standard
6516 \begin_layout Plain Layout
6517 Multi-page table with caption
6518 \begin_inset Argument 1
6521 \begin_layout Plain Layout
6537 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6540 \begin_layout Plain Layout
6546 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6549 \begin_layout Plain Layout
6555 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6558 \begin_layout Plain Layout
6564 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6567 \begin_layout Plain Layout
6575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6578 \begin_layout Plain Layout
6584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6587 \begin_layout Plain Layout
6593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6596 \begin_layout Plain Layout
6602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6605 \begin_layout Plain Layout
6611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6614 \begin_layout Plain Layout
6622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6625 \begin_layout Plain Layout
6631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6634 \begin_layout Plain Layout
6640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6643 \begin_layout Plain Layout
6649 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6652 \begin_layout Plain Layout
6658 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6661 \begin_layout Plain Layout
6669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6672 \begin_layout Plain Layout
6678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6681 \begin_layout Plain Layout
6687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6690 \begin_layout Plain Layout
6696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6699 \begin_layout Plain Layout
6705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6708 \begin_layout Plain Layout
6716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6719 \begin_layout Plain Layout
6725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6728 \begin_layout Plain Layout
6734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6737 \begin_layout Plain Layout
6743 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6746 \begin_layout Plain Layout
6752 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6755 \begin_layout Plain Layout
6763 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6766 \begin_layout Plain Layout
6772 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6775 \begin_layout Plain Layout
6781 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6784 \begin_layout Plain Layout
6790 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6793 \begin_layout Plain Layout
6799 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6802 \begin_layout Plain Layout
6816 \begin_layout Standard
6817 \begin_inset VSpace medskip
6821 \begin_inset Note Greyedout
6824 \begin_layout Plain Layout
6828 \begin_inset space ~
6833 The table number is increased for every multi-page table, even if you did
6834 not set a caption for it.
6835 For this reason you could have the case that e.
6836 \begin_inset space \thinspace{}
6840 \begin_inset space \space{}
6844 \begin_inset space ~
6848 \begin_inset space ~
6851 2.1 in the list of tables if there are two multi-page tables without captions.
6852 To avoid this you can add the following command in \SpecialChar TeX
6853 Code after every multi-page
6854 table without a caption:
6857 \begin_layout Plain Layout
6862 addtocounter{table}{-1}
6865 \begin_layout Plain Layout
6866 This is not needed when none of your multi-page tables has a caption and
6867 you add the following code to the document preamble:
6870 \begin_layout Plain Layout
6880 \begin_inset Newline newline
6891 addtocounter{table}{-1}}
6899 \begin_layout Standard
6900 \begin_inset Note Greyedout
6903 \begin_layout Plain Layout
6907 \begin_inset space ~
6917 \begin_inset Index idx
6922 \begin_layout Plain Layout
6925 \begin_inset IndexMacro subentry
6928 \begin_layout Plain Layout
6947 dialog to link cross-references, the link to a multi-page table caption
6948 will always point to the beginning of the document.
6956 \begin_layout Subsubsection
6957 References to multi-page tables
6958 \begin_inset Index idx
6963 \begin_layout Plain Layout
6965 \begin_inset IndexMacro subentry
6968 \begin_layout Plain Layout
6975 \begin_inset IndexMacro subentry
6978 \begin_layout Plain Layout
6992 \begin_layout Standard
6993 \begin_inset Tabular
6994 <lyxtabular version="3" rows="6" columns="5">
6995 <features islongtable="true" longtabularalignment="center">
6996 <column alignment="center" valignment="top">
6997 <column alignment="center" valignment="top">
6998 <column alignment="center" valignment="top">
6999 <column alignment="center" valignment="top">
7000 <column alignment="center" valignment="top">
7001 <row endfirsthead="true" caption="true">
7002 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7005 \begin_layout Plain Layout
7006 \begin_inset Caption Standard
7008 \begin_layout Plain Layout
7009 Referenced multi-page table
7010 \begin_inset CommandInset label
7012 name "tab:Referenced-multi-page-table"
7026 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7029 \begin_layout Plain Layout
7035 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7038 \begin_layout Plain Layout
7044 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7047 \begin_layout Plain Layout
7053 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7056 \begin_layout Plain Layout
7064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7067 \begin_layout Plain Layout
7073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7076 \begin_layout Plain Layout
7082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7085 \begin_layout Plain Layout
7091 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7094 \begin_layout Plain Layout
7100 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7103 \begin_layout Plain Layout
7111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7114 \begin_layout Plain Layout
7120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7123 \begin_layout Plain Layout
7129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7132 \begin_layout Plain Layout
7138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7141 \begin_layout Plain Layout
7147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7150 \begin_layout Plain Layout
7158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7161 \begin_layout Plain Layout
7167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7170 \begin_layout Plain Layout
7176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7179 \begin_layout Plain Layout
7185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7188 \begin_layout Plain Layout
7194 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7197 \begin_layout Plain Layout
7205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7208 \begin_layout Plain Layout
7214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7217 \begin_layout Plain Layout
7223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7226 \begin_layout Plain Layout
7232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7235 \begin_layout Plain Layout
7241 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7244 \begin_layout Plain Layout
7252 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7255 \begin_layout Plain Layout
7261 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7264 \begin_layout Plain Layout
7270 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7273 \begin_layout Plain Layout
7279 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7282 \begin_layout Plain Layout
7288 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7291 \begin_layout Plain Layout
7305 \begin_layout Standard
7306 To reference a multi-page table, insert a label into the caption.
7309 \begin_layout Standard
7310 This is a reference to Table
7311 \begin_inset space ~
7315 \begin_inset CommandInset ref
7317 reference "tab:Referenced-multi-page-table"
7324 \begin_layout Standard
7325 The caption layout can be set together with all other captions of your document
7326 using the \SpecialChar LaTeX
7332 \begin_inset Index idx
7337 \begin_layout Plain Layout
7340 \begin_inset IndexMacro subentry
7343 \begin_layout Plain Layout
7355 \begin_inset space ~
7359 \begin_inset CommandInset ref
7361 reference "sec:Caption-Formatting"
7368 \begin_layout Subsubsection
7370 \begin_inset Index idx
7375 \begin_layout Plain Layout
7377 \begin_inset IndexMacro subentry
7380 \begin_layout Plain Layout
7387 \begin_inset IndexMacro subentry
7390 \begin_layout Plain Layout
7404 \begin_layout Standard
7405 The maximal width of caption lines is defined by the length
7412 Its default value is 4
7413 \begin_inset space \thinspace{}
7417 To change it add the following command to your document preamble or as
7419 Code into your document before the multi-page table that should be affected
7422 \begin_layout Standard
7432 \begin_layout Standard
7437 can have one of the units listed in appendix
7438 \begin_inset space ~
7442 \begin_inset CommandInset ref
7444 reference "cha:Units-available-in"
7451 \begin_layout Standard
7452 The following tables show the difference:
7455 \begin_layout Standard
7456 \begin_inset Tabular
7457 <lyxtabular version="3" rows="6" columns="5">
7458 <features islongtable="true" longtabularalignment="center">
7459 <column alignment="center" valignment="top">
7460 <column alignment="center" valignment="top">
7461 <column alignment="center" valignment="top">
7462 <column alignment="center" valignment="top">
7463 <column alignment="center" valignment="top">
7464 <row endfirsthead="true" caption="true">
7465 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7468 \begin_layout Plain Layout
7469 \begin_inset Caption Standard
7471 \begin_layout Plain Layout
7472 Long full title with default width long full title with default width long
7473 full title with default width
7474 \begin_inset Argument 1
7477 \begin_layout Plain Layout
7478 caption with default width
7493 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7496 \begin_layout Plain Layout
7502 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7505 \begin_layout Plain Layout
7511 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7514 \begin_layout Plain Layout
7520 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7523 \begin_layout Plain Layout
7531 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7534 \begin_layout Plain Layout
7540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7543 \begin_layout Plain Layout
7549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7552 \begin_layout Plain Layout
7558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7561 \begin_layout Plain Layout
7567 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7570 \begin_layout Plain Layout
7578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7581 \begin_layout Plain Layout
7587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7590 \begin_layout Plain Layout
7596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7599 \begin_layout Plain Layout
7605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7608 \begin_layout Plain Layout
7614 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7617 \begin_layout Plain Layout
7625 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7628 \begin_layout Plain Layout
7634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7637 \begin_layout Plain Layout
7643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7646 \begin_layout Plain Layout
7652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7655 \begin_layout Plain Layout
7661 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7664 \begin_layout Plain Layout
7672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7675 \begin_layout Plain Layout
7681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7684 \begin_layout Plain Layout
7690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7693 \begin_layout Plain Layout
7699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7702 \begin_layout Plain Layout
7708 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7711 \begin_layout Plain Layout
7719 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7722 \begin_layout Plain Layout
7728 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7731 \begin_layout Plain Layout
7737 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7740 \begin_layout Plain Layout
7746 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7749 \begin_layout Plain Layout
7755 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7758 \begin_layout Plain Layout
7772 \begin_layout Standard
7776 \begin_layout Plain Layout
7788 \begin_inset Tabular
7789 <lyxtabular version="3" rows="6" columns="5">
7790 <features islongtable="true" longtabularalignment="center">
7791 <column alignment="center" valignment="top">
7792 <column alignment="center" valignment="top">
7793 <column alignment="center" valignment="top">
7794 <column alignment="center" valignment="top">
7795 <column alignment="center" valignment="top">
7796 <row endfirsthead="true" caption="true">
7797 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7800 \begin_layout Plain Layout
7801 \begin_inset Caption Standard
7803 \begin_layout Plain Layout
7804 Long full title with width set to 5
7805 \begin_inset space \thinspace{}
7808 cm long full title with width set to 5
7809 \begin_inset space \thinspace{}
7812 cm long full title with width set to 5
7813 \begin_inset space \thinspace{}
7817 \begin_inset Argument 1
7820 \begin_layout Plain Layout
7822 \begin_inset space \thinspace{}
7826 \begin_inset space \thinspace{}
7830 \begin_inset space \thinspace{}
7848 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7851 \begin_layout Plain Layout
7857 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7860 \begin_layout Plain Layout
7866 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7869 \begin_layout Plain Layout
7875 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7878 \begin_layout Plain Layout
7886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7889 \begin_layout Plain Layout
7895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7898 \begin_layout Plain Layout
7904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7907 \begin_layout Plain Layout
7913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7916 \begin_layout Plain Layout
7922 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7925 \begin_layout Plain Layout
7933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7936 \begin_layout Plain Layout
7942 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7945 \begin_layout Plain Layout
7951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7954 \begin_layout Plain Layout
7960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7963 \begin_layout Plain Layout
7969 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7972 \begin_layout Plain Layout
7980 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7983 \begin_layout Plain Layout
7989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7992 \begin_layout Plain Layout
7998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8001 \begin_layout Plain Layout
8007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8010 \begin_layout Plain Layout
8016 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8019 \begin_layout Plain Layout
8027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8030 \begin_layout Plain Layout
8036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8039 \begin_layout Plain Layout
8045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8048 \begin_layout Plain Layout
8054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8057 \begin_layout Plain Layout
8063 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8066 \begin_layout Plain Layout
8074 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8077 \begin_layout Plain Layout
8083 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8086 \begin_layout Plain Layout
8092 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8095 \begin_layout Plain Layout
8101 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
8104 \begin_layout Plain Layout
8110 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8113 \begin_layout Plain Layout
8127 \begin_layout Standard
8131 \begin_layout Plain Layout
8145 \begin_layout Standard
8146 \begin_inset Note Greyedout
8149 \begin_layout Plain Layout
8154 When the \SpecialChar LaTeX
8160 \begin_inset Index idx
8165 \begin_layout Plain Layout
8168 \begin_inset IndexMacro subentry
8171 \begin_layout Plain Layout
8182 is used, as in this document, the full page width is used for the caption
8183 when you use the default value of 4
8184 \begin_inset space \thinspace{}
8194 To get in this case exactly a 4
8195 \begin_inset space \thinspace{}
8198 in wide caption, you can either use a value slightly different from 4.0
8199 \begin_inset space \thinspace{}
8203 \begin_inset space \thinspace{}
8207 \begin_inset space \space{}
8211 \begin_inset space \thinspace{}
8214 in, or the \SpecialChar LaTeX
8219 captionsetup{width=value}
8221 that is provided by the
8233 \begin_layout Subsubsection
8234 Different Captions for Table Pages
8235 \begin_inset Index idx
8240 \begin_layout Plain Layout
8242 \begin_inset IndexMacro subentry
8245 \begin_layout Plain Layout
8252 \begin_inset IndexMacro subentry
8255 \begin_layout Plain Layout
8256 Different Captions for Pages
8269 \begin_layout Standard
8270 When the table captions for the following pages should differ from the one
8271 of the first table page, mark a empty row as header which contains a caption.
8272 Then right-click on the caption and select in the context menu
8275 \begin_inset space ~
8282 \begin_inset space ~
8286 \begin_inset CommandInset ref
8288 reference "tab:DiffCaptions"
8292 is an example of a multi-page table with different heading where the second
8293 caption does not include the table number.
8296 \begin_layout Standard
8298 \begin_inset Tabular
8299 <lyxtabular version="3" rows="59" columns="3">
8300 <features islongtable="true" longtabularalignment="center">
8301 <column alignment="left" valignment="top" width="0cm">
8302 <column alignment="left" valignment="top" width="0pt">
8303 <column alignment="center" valignment="top" width="0pt">
8304 <row endfirsthead="true" caption="true">
8305 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8308 \begin_layout Plain Layout
8309 \begin_inset Caption Standard
8311 \begin_layout Plain Layout
8313 \begin_inset CommandInset label
8315 name "tab:DiffCaptions"
8320 \begin_inset Argument 1
8323 \begin_layout Plain Layout
8339 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8342 \begin_layout Plain Layout
8348 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8351 \begin_layout Plain Layout
8358 <row endfirsthead="true">
8359 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8362 \begin_layout Plain Layout
8365 Example Phone List (ignore the names)
8370 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
8373 \begin_layout Plain Layout
8379 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
8382 \begin_layout Plain Layout
8389 <row endfirsthead="true">
8390 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8393 \begin_layout Plain Layout
8401 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8404 \begin_layout Plain Layout
8410 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8413 \begin_layout Plain Layout
8422 <row endhead="true" caption="true">
8423 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8426 \begin_layout Plain Layout
8427 \begin_inset Caption Unnumbered
8429 \begin_layout Plain Layout
8430 Continued Example Phone List
8440 <cell multicolumn="2" alignment="left" valignment="top" leftline="true" usebox="none">
8443 \begin_layout Plain Layout
8449 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8452 \begin_layout Plain Layout
8459 <row endhead="true">
8460 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8463 \begin_layout Plain Layout
8471 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8474 \begin_layout Plain Layout
8480 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8483 \begin_layout Plain Layout
8490 <row endhead="true">
8491 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8494 \begin_layout Plain Layout
8502 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8505 \begin_layout Plain Layout
8511 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8514 \begin_layout Plain Layout
8523 <row endfoot="true">
8524 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
8527 \begin_layout Plain Layout
8528 continued on next page
8533 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8536 \begin_layout Plain Layout
8542 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8545 \begin_layout Plain Layout
8553 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8556 \begin_layout Plain Layout
8564 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8567 \begin_layout Plain Layout
8573 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8576 \begin_layout Plain Layout
8584 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8587 \begin_layout Plain Layout
8595 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8598 \begin_layout Plain Layout
8604 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8607 \begin_layout Plain Layout
8615 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8618 \begin_layout Plain Layout
8626 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8629 \begin_layout Plain Layout
8635 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8638 \begin_layout Plain Layout
8646 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8649 \begin_layout Plain Layout
8657 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8660 \begin_layout Plain Layout
8666 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8669 \begin_layout Plain Layout
8677 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8680 \begin_layout Plain Layout
8688 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8691 \begin_layout Plain Layout
8697 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8700 \begin_layout Plain Layout
8708 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8711 \begin_layout Plain Layout
8719 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8722 \begin_layout Plain Layout
8728 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8731 \begin_layout Plain Layout
8739 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8742 \begin_layout Plain Layout
8750 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8753 \begin_layout Plain Layout
8759 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8762 \begin_layout Plain Layout
8770 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8773 \begin_layout Plain Layout
8781 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8784 \begin_layout Plain Layout
8790 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8793 \begin_layout Plain Layout
8801 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8804 \begin_layout Plain Layout
8812 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8815 \begin_layout Plain Layout
8821 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8824 \begin_layout Plain Layout
8832 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8835 \begin_layout Plain Layout
8843 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8846 \begin_layout Plain Layout
8852 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8855 \begin_layout Plain Layout
8863 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8866 \begin_layout Plain Layout
8874 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8877 \begin_layout Plain Layout
8883 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8886 \begin_layout Plain Layout
8894 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8897 \begin_layout Plain Layout
8905 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8908 \begin_layout Plain Layout
8914 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8917 \begin_layout Plain Layout
8925 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8928 \begin_layout Plain Layout
8936 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8939 \begin_layout Plain Layout
8945 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8948 \begin_layout Plain Layout
8956 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8959 \begin_layout Plain Layout
8967 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8970 \begin_layout Plain Layout
8976 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8979 \begin_layout Plain Layout
8987 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8990 \begin_layout Plain Layout
8999 \begin_layout Plain Layout
9010 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9013 \begin_layout Plain Layout
9019 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9022 \begin_layout Plain Layout
9030 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9033 \begin_layout Plain Layout
9041 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9044 \begin_layout Plain Layout
9050 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9053 \begin_layout Plain Layout
9061 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9064 \begin_layout Plain Layout
9072 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9075 \begin_layout Plain Layout
9081 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9084 \begin_layout Plain Layout
9092 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9095 \begin_layout Plain Layout
9103 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9106 \begin_layout Plain Layout
9112 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9115 \begin_layout Plain Layout
9123 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9126 \begin_layout Plain Layout
9134 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9137 \begin_layout Plain Layout
9143 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9146 \begin_layout Plain Layout
9154 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9157 \begin_layout Plain Layout
9165 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9168 \begin_layout Plain Layout
9174 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9177 \begin_layout Plain Layout
9185 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9188 \begin_layout Plain Layout
9196 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9199 \begin_layout Plain Layout
9205 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9208 \begin_layout Plain Layout
9216 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9219 \begin_layout Plain Layout
9227 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9230 \begin_layout Plain Layout
9236 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9239 \begin_layout Plain Layout
9247 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9250 \begin_layout Plain Layout
9258 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9261 \begin_layout Plain Layout
9267 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9270 \begin_layout Plain Layout
9278 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9281 \begin_layout Plain Layout
9289 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9292 \begin_layout Plain Layout
9298 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9301 \begin_layout Plain Layout
9309 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9312 \begin_layout Plain Layout
9320 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9323 \begin_layout Plain Layout
9329 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9332 \begin_layout Plain Layout
9340 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9343 \begin_layout Plain Layout
9351 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9354 \begin_layout Plain Layout
9360 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9363 \begin_layout Plain Layout
9371 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9374 \begin_layout Plain Layout
9382 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9385 \begin_layout Plain Layout
9391 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9394 \begin_layout Plain Layout
9402 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9405 \begin_layout Plain Layout
9413 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9416 \begin_layout Plain Layout
9422 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9425 \begin_layout Plain Layout
9433 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9436 \begin_layout Plain Layout
9444 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9447 \begin_layout Plain Layout
9453 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9456 \begin_layout Plain Layout
9464 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9467 \begin_layout Plain Layout
9475 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9478 \begin_layout Plain Layout
9484 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9487 \begin_layout Plain Layout
9495 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9498 \begin_layout Plain Layout
9506 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9509 \begin_layout Plain Layout
9515 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9518 \begin_layout Plain Layout
9526 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9529 \begin_layout Plain Layout
9535 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
9538 \begin_layout Plain Layout
9544 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9547 \begin_layout Plain Layout
9555 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9558 \begin_layout Plain Layout
9566 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9569 \begin_layout Plain Layout
9575 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9578 \begin_layout Plain Layout
9586 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9589 \begin_layout Plain Layout
9597 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9600 \begin_layout Plain Layout
9606 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9609 \begin_layout Plain Layout
9617 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9620 \begin_layout Plain Layout
9628 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9631 \begin_layout Plain Layout
9637 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9640 \begin_layout Plain Layout
9648 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9651 \begin_layout Plain Layout
9659 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9662 \begin_layout Plain Layout
9668 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9671 \begin_layout Plain Layout
9679 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9682 \begin_layout Plain Layout
9690 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9693 \begin_layout Plain Layout
9699 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9702 \begin_layout Plain Layout
9710 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9713 \begin_layout Plain Layout
9721 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9724 \begin_layout Plain Layout
9730 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9733 \begin_layout Plain Layout
9741 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9744 \begin_layout Plain Layout
9752 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9755 \begin_layout Plain Layout
9761 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9764 \begin_layout Plain Layout
9772 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9775 \begin_layout Plain Layout
9783 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9786 \begin_layout Plain Layout
9792 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9795 \begin_layout Plain Layout
9803 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9806 \begin_layout Plain Layout
9814 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9817 \begin_layout Plain Layout
9823 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9826 \begin_layout Plain Layout
9834 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9837 \begin_layout Plain Layout
9845 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9848 \begin_layout Plain Layout
9854 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9857 \begin_layout Plain Layout
9865 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9868 \begin_layout Plain Layout
9876 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9879 \begin_layout Plain Layout
9885 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9888 \begin_layout Plain Layout
9896 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9899 \begin_layout Plain Layout
9907 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9910 \begin_layout Plain Layout
9916 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9919 \begin_layout Plain Layout
9927 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9930 \begin_layout Plain Layout
9938 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9941 \begin_layout Plain Layout
9947 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9950 \begin_layout Plain Layout
9958 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9961 \begin_layout Plain Layout
9969 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9972 \begin_layout Plain Layout
9978 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9981 \begin_layout Plain Layout
9989 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9992 \begin_layout Plain Layout
10000 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10003 \begin_layout Plain Layout
10009 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10012 \begin_layout Plain Layout
10020 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10023 \begin_layout Plain Layout
10031 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10034 \begin_layout Plain Layout
10040 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10043 \begin_layout Plain Layout
10051 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10054 \begin_layout Plain Layout
10062 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10065 \begin_layout Plain Layout
10071 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10074 \begin_layout Plain Layout
10082 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10085 \begin_layout Plain Layout
10093 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10096 \begin_layout Plain Layout
10102 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10105 \begin_layout Plain Layout
10113 <cell alignment="left" valignment="top" leftline="true" usebox="none">
10116 \begin_layout Plain Layout
10124 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10127 \begin_layout Plain Layout
10133 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10136 \begin_layout Plain Layout
10144 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
10147 \begin_layout Plain Layout
10155 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
10158 \begin_layout Plain Layout
10164 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
10167 \begin_layout Plain Layout
10181 \begin_layout Section
10182 Special Multi-page Table Issues
10183 \begin_inset CommandInset label
10185 name "sec:Special-Longtable-Issues"
10192 \begin_layout Subsection
10193 Multi-page Table Calculation
10194 \begin_inset Index idx
10199 \begin_layout Plain Layout
10201 \begin_inset IndexMacro subentry
10204 \begin_layout Plain Layout
10211 \begin_inset IndexMacro subentry
10214 \begin_layout Plain Layout
10228 \begin_layout Standard
10230 calculates the height of table pages and their page breaks using so called
10232 Chunks are parts of tables that held at the same time in \SpecialChar LaTeX
10234 The default value was historically set to only 20
10235 \begin_inset space ~
10239 If you are using multi-page tables with many pages this may slow down the
10240 creation of your document.
10241 You can safely increase the chunk size to values of 100
10242 \begin_inset space \thinspace{}
10246 \begin_inset space \thinspace{}
10249 1000 by adding this command line to your document preamble:
10252 \begin_layout Standard
10257 setcounter{LTchunksize}{100}
10260 \begin_layout Subsection
10261 Floats and Multi-page Tables
10262 \begin_inset Index idx
10267 \begin_layout Plain Layout
10269 \begin_inset IndexMacro subentry
10272 \begin_layout Plain Layout
10279 \begin_inset IndexMacro subentry
10282 \begin_layout Plain Layout
10296 \begin_layout Standard
10297 There might be problems when a float appears on the same page where a multi-page
10299 To avoid such a situation, insert a
10300 \begin_inset Quotes eld
10304 \begin_inset Quotes erd
10309 Insert\SpecialChar menuseparator
10310 Formatting\SpecialChar menuseparator
10312 \begin_inset space ~
10317 ) before your multi-page table.
10320 \begin_layout Subsection
10322 \begin_inset Index idx
10327 \begin_layout Plain Layout
10329 \begin_inset IndexMacro subentry
10332 \begin_layout Plain Layout
10339 \begin_inset IndexMacro subentry
10342 \begin_layout Plain Layout
10356 \begin_layout Standard
10357 By default tables are only broken between rows.
10358 If you have a cell with multiples lines and want to have a page break within
10359 the cell, insert the new line command
10360 \begin_inset Quotes eld
10372 \begin_inset Quotes erd
10375 as \SpecialChar TeX
10376 Code at the point of the cell where it can be broken.
10385 command you have to insert in \SpecialChar TeX
10387 \begin_inset Quotes eld
10395 \begin_inset Quotes erd
10398 characters as the number of the following table columns.
10403 is the character to separate table cells.
10404 Write in \SpecialChar TeX
10409 the content of the corresponding following cell and delete the content
10411 \begin_inset Newline newline
10422 command, insert as many
10426 characters as the number of table columns before the current column.
10428 \begin_inset space ~
10432 \begin_inset CommandInset ref
10434 reference "tab:ForcedPagebreak"
10438 the cell that should be broken is in the second column followed by another
10440 Therefore the following command was inserted in the cell as \SpecialChar TeX
10443 \begin_inset Quotes eld
10451 \begin_inset Quotes erd
10457 \begin_layout Standard
10467 \begin_inset Newline newline
10473 \begin_layout Standard
10475 \begin_inset Quotes eld
10479 \begin_inset Quotes erd
10482 in the third column of the row was deleted.
10489 is only needed when a page break should definitely occur at this position,
10490 otherwise it would be a conditional break.
10491 If your footer row of the multi-page table has for a certain reason no
10492 upper line but you would have a horizontal line where the cell is broken,
10493 use this command instead:
10496 \begin_layout Standard
10504 \begin_inset Newline newline
10512 \begin_layout Standard
10513 When the cell to be broken is in the last column, the command
10516 \begin_layout Standard
10526 \begin_layout Standard
10527 must be inserted as \SpecialChar TeX
10528 Code at the beginning of the cell.
10529 This ensures that the part of the cell that will be displayed on the new
10530 page appears with the full width.
10533 \begin_layout Standard
10535 \begin_inset Tabular
10536 <lyxtabular version="3" rows="38" columns="3">
10537 <features islongtable="true" longtabularalignment="center">
10538 <column alignment="left" valignment="top" width="0cm">
10539 <column alignment="left" valignment="top" width="3cm">
10540 <column alignment="center" valignment="top" width="0pt">
10541 <row endfirsthead="true" caption="true">
10542 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10545 \begin_layout Plain Layout
10546 \begin_inset Caption Standard
10548 \begin_layout Plain Layout
10549 Table with forced page break in table cell
10550 \begin_inset CommandInset label
10552 name "tab:ForcedPagebreak"
10557 \begin_inset Argument 1
10560 \begin_layout Plain Layout
10561 Table with forced page break in table cell
10576 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10579 \begin_layout Plain Layout
10585 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10588 \begin_layout Plain Layout
10595 <row endfirsthead="true">
10596 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10599 \begin_layout Plain Layout
10602 Example Phone List (ignore the names)
10607 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10610 \begin_layout Plain Layout
10616 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10619 \begin_layout Plain Layout
10626 <row endfirsthead="true">
10627 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10630 \begin_layout Plain Layout
10638 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10641 \begin_layout Plain Layout
10647 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10650 \begin_layout Plain Layout
10659 <row endhead="true" caption="true">
10660 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10663 \begin_layout Plain Layout
10664 \begin_inset Caption Unnumbered
10666 \begin_layout Plain Layout
10667 Continued Example Phone List
10677 <cell multicolumn="2" alignment="left" valignment="top" rightline="true" usebox="none">
10680 \begin_layout Plain Layout
10686 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
10689 \begin_layout Plain Layout
10696 <row endhead="true">
10697 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10700 \begin_layout Plain Layout
10708 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10711 \begin_layout Plain Layout
10717 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10720 \begin_layout Plain Layout
10727 <row endhead="true">
10728 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10731 \begin_layout Plain Layout
10739 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10742 \begin_layout Plain Layout
10748 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10751 \begin_layout Plain Layout
10760 <row endfoot="true">
10761 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10764 \begin_layout Plain Layout
10765 continued on next page
10770 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10773 \begin_layout Plain Layout
10779 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10782 \begin_layout Plain Layout
10790 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10793 \begin_layout Plain Layout
10801 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10804 \begin_layout Plain Layout
10810 <cell alignment="right" valignment="top" rightline="true" usebox="none">
10813 \begin_layout Plain Layout
10821 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10824 \begin_layout Plain Layout
10832 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10835 \begin_layout Plain Layout
10841 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10844 \begin_layout Plain Layout
10852 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10855 \begin_layout Plain Layout
10863 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10866 \begin_layout Plain Layout
10872 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10875 \begin_layout Plain Layout
10883 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10886 \begin_layout Plain Layout
10894 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10897 \begin_layout Plain Layout
10903 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10906 \begin_layout Plain Layout
10914 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10917 \begin_layout Plain Layout
10925 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10928 \begin_layout Plain Layout
10934 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10937 \begin_layout Plain Layout
10945 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10948 \begin_layout Plain Layout
10956 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10959 \begin_layout Plain Layout
10965 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10968 \begin_layout Plain Layout
10976 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10979 \begin_layout Plain Layout
10987 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10990 \begin_layout Plain Layout
10996 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10999 \begin_layout Plain Layout
11007 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11010 \begin_layout Plain Layout
11018 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11021 \begin_layout Plain Layout
11027 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11030 \begin_layout Plain Layout
11038 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11041 \begin_layout Plain Layout
11049 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11052 \begin_layout Plain Layout
11058 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11061 \begin_layout Plain Layout
11069 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11072 \begin_layout Plain Layout
11080 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11083 \begin_layout Plain Layout
11089 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11092 \begin_layout Plain Layout
11100 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11103 \begin_layout Plain Layout
11111 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11114 \begin_layout Plain Layout
11120 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11123 \begin_layout Plain Layout
11131 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11134 \begin_layout Plain Layout
11142 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11145 \begin_layout Plain Layout
11151 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11154 \begin_layout Plain Layout
11162 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11165 \begin_layout Plain Layout
11173 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11176 \begin_layout Plain Layout
11182 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11185 \begin_layout Plain Layout
11193 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11196 \begin_layout Plain Layout
11204 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11207 \begin_layout Plain Layout
11213 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11216 \begin_layout Plain Layout
11224 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11227 \begin_layout Plain Layout
11235 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11238 \begin_layout Plain Layout
11244 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11247 \begin_layout Plain Layout
11255 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11258 \begin_layout Plain Layout
11266 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11269 \begin_layout Plain Layout
11275 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11278 \begin_layout Plain Layout
11286 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11289 \begin_layout Plain Layout
11297 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11300 \begin_layout Plain Layout
11306 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11309 \begin_layout Plain Layout
11317 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11320 \begin_layout Plain Layout
11328 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11331 \begin_layout Plain Layout
11337 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11340 \begin_layout Plain Layout
11348 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11351 \begin_layout Plain Layout
11359 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11362 \begin_layout Plain Layout
11368 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11371 \begin_layout Plain Layout
11379 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11382 \begin_layout Plain Layout
11390 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11393 \begin_layout Plain Layout
11399 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11402 \begin_layout Plain Layout
11410 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11413 \begin_layout Plain Layout
11421 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11424 \begin_layout Plain Layout
11430 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11433 \begin_layout Plain Layout
11441 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11444 \begin_layout Plain Layout
11452 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11455 \begin_layout Plain Layout
11461 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11464 \begin_layout Plain Layout
11472 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11475 \begin_layout Plain Layout
11483 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11486 \begin_layout Plain Layout
11488 Fürst von Montecompatri, 11.
11489 Fürst von Sulmona und Vivaro, 10.
11490 Fürst von Rossano, 5.
11491 Herzog von Canemorte, 11.
11492 Herzog von Palombara, 5.
11493 Herzog von Castelchiodato,
11497 \begin_layout Plain Layout
11508 \begin_layout Plain Layout
11516 Herzog von Poggionativo, 11.
11517 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
11518 Graf von Valinfreda, 11.
11519 Baron von Cropalati, 11.
11520 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
11525 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11528 \begin_layout Plain Layout
11536 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11539 \begin_layout Plain Layout
11547 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11550 \begin_layout Plain Layout
11556 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11559 \begin_layout Plain Layout
11567 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11570 \begin_layout Plain Layout
11578 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11581 \begin_layout Plain Layout
11587 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11590 \begin_layout Plain Layout
11598 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11601 \begin_layout Plain Layout
11609 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11612 \begin_layout Plain Layout
11618 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11621 \begin_layout Plain Layout
11629 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11632 \begin_layout Plain Layout
11640 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11643 \begin_layout Plain Layout
11649 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11652 \begin_layout Plain Layout
11660 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11663 \begin_layout Plain Layout
11671 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11674 \begin_layout Plain Layout
11680 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11683 \begin_layout Plain Layout
11691 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11694 \begin_layout Plain Layout
11702 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11705 \begin_layout Plain Layout
11711 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11714 \begin_layout Plain Layout
11722 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11725 \begin_layout Plain Layout
11733 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11736 \begin_layout Plain Layout
11742 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11745 \begin_layout Plain Layout
11753 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11756 \begin_layout Plain Layout
11764 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
11767 \begin_layout Plain Layout
11773 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11776 \begin_layout Plain Layout
11790 \begin_layout Section
11791 Multiple Lines, Columns and Rows
11794 \begin_layout Subsection
11795 Multiple Lines in Table Cells
11796 \begin_inset CommandInset label
11798 name "subsec:Multiple-Lines-in"
11803 \begin_inset Index idx
11808 \begin_layout Plain Layout
11809 Multiple Lines in Table Cells
11815 \begin_inset Index idx
11820 \begin_layout Plain Layout
11822 \begin_inset IndexMacro subentry
11825 \begin_layout Plain Layout
11839 \begin_layout Standard
11841 \begin_inset Float table
11848 \begin_layout Plain Layout
11849 \begin_inset Caption Standard
11851 \begin_layout Plain Layout
11852 \begin_inset CommandInset label
11854 name "tab:Table-with-multiple"
11858 Table with multiple lines in cells
11866 \begin_layout Plain Layout
11868 \begin_inset Tabular
11869 <lyxtabular version="3" rows="3" columns="3">
11870 <features tabularvalignment="middle">
11871 <column alignment="center" valignment="middle" width="2.5cm">
11872 <column alignment="center" valignment="middle">
11873 <column alignment="center" valignment="middle">
11875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11878 \begin_layout Plain Layout
11880 \begin_inset Newline linebreak
11888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11891 \begin_layout Plain Layout
11897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11900 \begin_layout Plain Layout
11908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11911 \begin_layout Plain Layout
11917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11920 \begin_layout Plain Layout
11926 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11929 \begin_layout Plain Layout
11937 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11940 \begin_layout Plain Layout
11946 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11949 \begin_layout Plain Layout
11955 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11958 \begin_layout Plain Layout
11977 \begin_layout Standard
11978 Setting a fixed width for a column enables you to enter text as a paragraph
11979 with multiple lines and hyphenation.
11982 \begin_layout Standard
11984 \begin_inset space ~
11988 \begin_inset CommandInset ref
11990 reference "tab:Table-with-multiple"
11994 , create a 3×3 table, mark the first cell and right-click on it.
11995 In the appearing table dialog we set a cell width of 2.5
11996 \begin_inset space \thinspace{}
11999 cm and choose centered for the vertical and horizontal alignment.
12000 The vertical alignment is used for all cells of the row.
12001 As our text is smaller than 2.5
12002 \begin_inset space \thinspace{}
12005 cm, only one line will appear.
12006 To get two lines, a justified line break (shortcut
12009 arg "newline-insert linebreak"
12013 If the text is wider than the set cell width, it will automatically be
12014 broken to several lines.
12017 \begin_layout Standard
12018 If you have a long word in a cell with a fixed width, it cannot be hyphenated
12019 by \SpecialChar LaTeX
12020 if it is the first entry.
12021 Therefore you need to insert something to prevent the word not being the
12023 So add a horizontal space of 0
12024 \begin_inset space \thinspace{}
12027 pt before the word.
12028 As the space is zero, it doesn't change the output.
12030 \begin_inset space ~
12034 \begin_inset CommandInset ref
12036 reference "tab:Table-with-and"
12043 \begin_layout Standard
12044 \begin_inset Float table
12051 \begin_layout Plain Layout
12052 \begin_inset Caption Standard
12054 \begin_layout Plain Layout
12055 \begin_inset CommandInset label
12057 name "tab:Table-with-and"
12061 Table with and without hyphenation
12069 \begin_layout Plain Layout
12070 \begin_inset space \hfill{}
12074 \begin_inset Tabular
12075 <lyxtabular version="3" rows="3" columns="3">
12076 <features tabularvalignment="middle">
12077 <column alignment="center" valignment="middle" width="2.5cm">
12078 <column alignment="center" valignment="middle">
12079 <column alignment="center" valignment="middle">
12081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12084 \begin_layout Plain Layout
12085 verylongtablecellword
12090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12093 \begin_layout Plain Layout
12099 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12102 \begin_layout Plain Layout
12110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12113 \begin_layout Plain Layout
12119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12122 \begin_layout Plain Layout
12128 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12131 \begin_layout Plain Layout
12139 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12142 \begin_layout Plain Layout
12148 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12151 \begin_layout Plain Layout
12157 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12160 \begin_layout Plain Layout
12172 \begin_inset space \hfill{}
12176 \begin_inset Tabular
12177 <lyxtabular version="3" rows="3" columns="3">
12178 <features tabularvalignment="middle">
12179 <column alignment="center" valignment="middle" width="2.5cm">
12180 <column alignment="center" valignment="middle">
12181 <column alignment="center" valignment="middle">
12183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12186 \begin_layout Plain Layout
12187 \begin_inset space \hspace{}
12191 verylongtablecellword
12196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12199 \begin_layout Plain Layout
12205 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12208 \begin_layout Plain Layout
12216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12219 \begin_layout Plain Layout
12225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12228 \begin_layout Plain Layout
12234 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12237 \begin_layout Plain Layout
12245 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12248 \begin_layout Plain Layout
12254 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12257 \begin_layout Plain Layout
12263 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12266 \begin_layout Plain Layout
12278 \begin_inset space \hfill{}
12289 \begin_layout Subsection
12291 \begin_inset CommandInset label
12293 name "subsec:Multicolumns"
12298 \begin_inset Index idx
12303 \begin_layout Plain Layout
12310 \begin_inset Index idx
12315 \begin_layout Plain Layout
12317 \begin_inset IndexMacro subentry
12320 \begin_layout Plain Layout
12334 \begin_layout Subsubsection
12338 \begin_layout Standard
12339 To merge cells over multiple columns, select as many cells within a row
12340 as you want to merge and use either the table-toolbar button
12343 arg "tabular-feature multicolumn"
12348 Edit\SpecialChar menuseparator
12349 Table\SpecialChar menuseparator
12352 , or right click on the marked cells and choose
12356 in the context menu.
12359 \begin_layout Standard
12360 Multicolumns have their own cell settings.
12361 That means changing cell borders, cell alignment, and the width only affects
12363 Here is an example table with a multicolumn cell in the first row and one
12364 in the last row without the upper border:
12367 \begin_layout Standard
12369 \begin_inset Tabular
12370 <lyxtabular version="3" rows="3" columns="4">
12371 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
12372 <column alignment="center" valignment="top" width="0pt">
12373 <column alignment="center" valignment="middle">
12374 <column alignment="center" valignment="top" width="0in">
12375 <column alignment="center" valignment="top" width="0pt">
12377 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12380 \begin_layout Plain Layout
12386 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12389 \begin_layout Plain Layout
12395 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12398 \begin_layout Plain Layout
12404 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12407 \begin_layout Plain Layout
12415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12418 \begin_layout Plain Layout
12433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12436 \begin_layout Plain Layout
12442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12445 \begin_layout Plain Layout
12451 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12454 \begin_layout Plain Layout
12462 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12465 \begin_layout Plain Layout
12471 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
12474 \begin_layout Plain Layout
12480 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12483 \begin_layout Plain Layout
12489 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12492 \begin_layout Plain Layout
12506 \begin_layout Subsubsection
12507 Multicolumn Calculations
12508 \begin_inset CommandInset label
12510 name "subsec:Multicolumn-Calculations"
12515 \begin_inset Index idx
12520 \begin_layout Plain Layout
12522 \begin_inset IndexMacro subentry
12525 \begin_layout Plain Layout
12539 \begin_layout Standard
12541 supports multicolumns directly, but we have to take account of the cell
12542 width of the columns spanned by the multicolumn cell.
12545 \begin_layout Standard
12546 \begin_inset Float table
12553 \begin_layout Plain Layout
12554 \begin_inset Caption Standard
12556 \begin_layout Plain Layout
12557 \begin_inset CommandInset label
12559 name "tab:Table-with-centered"
12563 Table with centered multicolumn text above two columns that have exactly
12564 half the width of the multicolumn cell
12565 \begin_inset Argument 1
12568 \begin_layout Plain Layout
12569 Perfect multicolumn table
12582 \begin_layout Plain Layout
12584 \begin_inset Tabular
12585 <lyxtabular version="3" rows="3" columns="3">
12586 <features tabularvalignment="middle">
12587 <column alignment="center" valignment="middle" special=">{\centering}m{1.25cm-6.2pt}">
12588 <column alignment="center" valignment="middle">
12589 <column alignment="center" valignment="top">
12591 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
12594 \begin_layout Plain Layout
12595 multiple lines multicolumn
12600 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12603 \begin_layout Plain Layout
12609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12612 \begin_layout Plain Layout
12620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12623 \begin_layout Plain Layout
12629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12632 \begin_layout Plain Layout
12638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12641 \begin_layout Plain Layout
12649 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12652 \begin_layout Plain Layout
12658 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12661 \begin_layout Plain Layout
12667 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12670 \begin_layout Plain Layout
12689 \begin_layout Standard
12690 To create for example Table
12691 \begin_inset space ~
12695 \begin_inset CommandInset ref
12697 reference "tab:Table-with-centered"
12701 , mark the first two cells in the first row of a 3×3 table and right-click
12703 Now choose for this cell
12712 \begin_inset space \thinspace{}
12715 cm in the table dialog.
12716 The merged columns should have exactly half the width of the multicolumn
12717 cell, so that you would set a width of 1.25
12718 \begin_inset space \thinspace{}
12721 cm for the first column.
12722 The second column has then automatically a width of 1.25
12723 \begin_inset space \thinspace{}
12726 cm (multicolumn width - width of first column).
12727 This was done for Table
12728 \begin_inset space ~
12732 \begin_inset CommandInset ref
12734 reference "tab:Table-without-half"
12741 \begin_layout Standard
12742 \begin_inset Float table
12749 \begin_layout Plain Layout
12750 \begin_inset Caption Standard
12752 \begin_layout Plain Layout
12753 \begin_inset CommandInset label
12755 name "tab:Table-without-half"
12759 Table where the spanned table columns are not exactly half the width of
12760 the multicolumn cell
12761 \begin_inset Argument 1
12764 \begin_layout Plain Layout
12765 Imperfect multicolumn table
12778 \begin_layout Plain Layout
12780 \begin_inset Tabular
12781 <lyxtabular version="3" rows="3" columns="3">
12782 <features tabularvalignment="middle">
12783 <column alignment="center" valignment="top" width="1.25cm">
12784 <column alignment="center" valignment="top">
12785 <column alignment="center" valignment="top">
12787 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12790 \begin_layout Plain Layout
12791 multiple lines multicolumn
12796 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12799 \begin_layout Plain Layout
12805 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12808 \begin_layout Plain Layout
12816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12819 \begin_layout Plain Layout
12825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12828 \begin_layout Plain Layout
12834 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12837 \begin_layout Plain Layout
12845 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12848 \begin_layout Plain Layout
12854 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12857 \begin_layout Plain Layout
12863 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12866 \begin_layout Plain Layout
12885 \begin_layout Standard
12886 You can see that the first column is not half the width of the multicolumn
12887 cell, it is a bit bigger.
12888 The reason is that the specified width of a cell
12889 \begin_inset Formula $W_{g}$
12892 is not its total width
12893 \begin_inset Formula $W_{\mathrm{tot}}$
12896 because a cell is always a bit larger than specified.
12898 \begin_inset space ~
12902 \begin_inset CommandInset ref
12904 reference "cha:Explanation-of-Equation"
12908 explains this in detail.
12911 \begin_layout Standard
12913 \begin_inset Formula $W_{g\,n}$
12916 which the user needs to set when
12920 columns are spanned can be calculated, so that each column has a total
12922 \begin_inset Formula $W_{\mathrm{tot\,multicolumn}}/n$
12926 \begin_inset Formula
12928 W_{g\,n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
12936 \begin_layout Standard
12937 In our case we have
12938 \begin_inset Formula $n=2$
12942 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
12945 cm and the default values for the lengths, so that equation
12946 \begin_inset CommandInset ref
12953 \begin_inset Formula
12955 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
12963 \begin_layout Standard
12964 To enable calculations in \SpecialChar LaTeX
12965 , the \SpecialChar LaTeX
12970 must be loaded with the document preamble line
12971 \begin_inset Index idx
12976 \begin_layout Plain Layout
12979 \begin_inset IndexMacro subentry
12982 \begin_layout Plain Layout
12996 \begin_layout Standard
13004 \begin_layout Standard
13006 does not allow you to calculate lengths in the
13010 field of the table dialog.
13011 Therefore you have to format the column by inserting a \SpecialChar LaTeX
13014 Here is an overview about the arguments:
13017 \begin_layout Itemize
13022 creates cell with a fixed width, its text is vertically top-aligned
13025 \begin_layout Itemize
13030 creates cell with a fixed width, its text is vertically centered
13033 \begin_layout Itemize
13038 creates cell with a fixed width, its text is vertically bottom-aligned
13041 \begin_layout Standard
13042 By entering a \SpecialChar LaTeX
13043 -argument, all cell settings set in the table dialog are overwritt
13047 \begin_layout Standard
13048 \begin_inset Note Greyedout
13051 \begin_layout Plain Layout
13056 Due to a bug, \SpecialChar LyX
13057 shows the overwritten settings anyway.
13065 \begin_layout Standard
13066 As the text should be horizontally centered, the command
13073 You can now enter the following \SpecialChar LaTeX
13074 -argument for the first spanned column:
13077 \begin_layout Standard
13082 centering}m{1.25cm-6.2pt}
13085 \begin_layout Standard
13090 means, that the commands inside the braces are applied before the cell
13094 \begin_layout Standard
13095 Although we have chosen centered alignment for the text of the multicolumn
13096 cell, it is still left aligned.
13097 This is because \SpecialChar LyX
13098 only applies the alignment to single columns.
13099 So for the multicolumn cell we have to use the \SpecialChar LaTeX
13103 \begin_layout Standard
13111 \begin_layout Subsection
13113 \begin_inset CommandInset label
13115 name "subsec:Multirows"
13120 \begin_inset Index idx
13125 \begin_layout Plain Layout
13132 \begin_inset Index idx
13137 \begin_layout Plain Layout
13139 \begin_inset IndexMacro subentry
13142 \begin_layout Plain Layout
13156 \begin_layout Standard
13157 To merge cells over multiple rows, select as many cells within a column
13158 as you want to merge and use either the table-toolbar button
13161 arg "tabular-feature multirow"
13166 Edit\SpecialChar menuseparator
13167 Table\SpecialChar menuseparator
13170 , or right click on the marked cells and choose
13174 in the context menu.
13177 \begin_layout Standard
13178 Here is an example table with a multirow in the first column:
13181 \begin_layout Standard
13183 \begin_inset Tabular
13184 <lyxtabular version="3" rows="3" columns="3">
13185 <features tabularvalignment="middle">
13186 <column alignment="center" valignment="top" width="0pt">
13187 <column alignment="center" valignment="top">
13188 <column alignment="center" valignment="top">
13190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13193 \begin_layout Plain Layout
13199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13202 \begin_layout Plain Layout
13208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13211 \begin_layout Plain Layout
13219 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13222 \begin_layout Plain Layout
13228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13231 \begin_layout Plain Layout
13237 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13240 \begin_layout Plain Layout
13248 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13251 \begin_layout Plain Layout
13257 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13260 \begin_layout Plain Layout
13266 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13269 \begin_layout Plain Layout
13283 \begin_layout Standard
13284 The width of multirow cells is set by setting the width and alignment for
13290 shifts the content of the multirow up/down if the offset is positive/negative.
13293 \begin_layout Standard
13294 If the column of a multirow cell has no explicit width, the multirow cell
13295 inherits the alignment of the column.
13296 Otherwise it is by default left-aligned.
13297 To override the default, renew the command
13306 \begin_layout Standard
13318 \begin_layout Standard
13319 in the document preamble.
13320 Then all entries of multirow cells in the document are centered.
13321 If centering is only needed for several tables, you can renew the command
13322 in a \SpecialChar TeX
13323 Code box just before the table instead of the preamble.
13324 If the text should be right-aligned, replace
13337 To return to left-alignment
13346 \begin_layout Standard
13347 This is an example table with a right-aligned multirow cell that has a vertical
13349 \begin_inset space \thinspace{}
13353 \begin_inset space \thinspace{}
13359 \begin_layout Standard
13365 \begin_layout Plain Layout
13379 \begin_inset Tabular
13380 <lyxtabular version="3" rows="4" columns="3">
13381 <features tabularvalignment="middle">
13382 <column alignment="center" valignment="top" width="3cm">
13383 <column alignment="center" valignment="top">
13384 <column alignment="center" valignment="top">
13386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13389 \begin_layout Plain Layout
13395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13398 \begin_layout Plain Layout
13404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13407 \begin_layout Plain Layout
13415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13418 \begin_layout Plain Layout
13424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13427 \begin_layout Plain Layout
13433 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13436 \begin_layout Plain Layout
13444 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13447 \begin_layout Plain Layout
13453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13456 \begin_layout Plain Layout
13462 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13465 \begin_layout Plain Layout
13473 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13476 \begin_layout Plain Layout
13482 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13485 \begin_layout Plain Layout
13491 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13494 \begin_layout Plain Layout
13509 \begin_layout Plain Layout
13525 \begin_layout Standard
13526 To start a new line in a multirow you can use a forced line break (shortcut
13530 arg "newline-insert newline"
13533 ) but this will not respect the cell lines as demonstrated in this table:
13536 \begin_layout Standard
13539 \begin_inset Tabular
13540 <lyxtabular version="3" rows="3" columns="2">
13541 <features tabularvalignment="middle">
13542 <column alignment="left" valignment="middle" width="2cm">
13543 <column alignment="center" valignment="top">
13545 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
13548 \begin_layout Plain Layout
13550 \begin_inset Newline newline
13554 \begin_inset Newline newline
13562 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13565 \begin_layout Plain Layout
13573 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
13576 \begin_layout Plain Layout
13582 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13585 \begin_layout Plain Layout
13593 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13596 \begin_layout Plain Layout
13602 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13605 \begin_layout Plain Layout
13619 \begin_layout Standard
13620 Therefore be careful with forced line breaks.
13623 \begin_layout Subsection
13624 Cells with diagonal line(s)
13627 \begin_layout Standard
13628 To tell the reader what is meant by column and row headings in a table,
13629 it is helpful to split the first cell of the table by one or two diagonal
13631 This can be achieved by loading the \SpecialChar LaTeX
13637 \begin_inset Index idx
13642 \begin_layout Plain Layout
13645 \begin_inset IndexMacro subentry
13648 \begin_layout Plain Layout
13659 in the document preamble.
13660 The package provides the command
13666 that is inserted as \SpecialChar TeX
13667 Code and that can take 2 or 3
13668 \begin_inset space ~
13674 \begin_layout Standard
13679 diagbox[options]{lower left}{upper right}
13682 \begin_layout Standard
13687 diagbox[options]{lower left}{upper left}{upper right}
13690 \begin_layout Standard
13691 The first scheme divides the cell by a single diagonal line and the arguments
13692 are placed below and above this line.
13693 The second scheme divides the cell by 2
13694 \begin_inset space ~
13700 \begin_layout Standard
13704 \begin_layout Plain Layout
13714 \begin_inset Note Note
13717 \begin_layout Plain Layout
13718 The following section will only be displayed when the \SpecialChar LaTeX
13731 \begin_layout Standard
13732 Here is an example table where
13738 is used in the 2-argument scheme in the first cell:
13739 \begin_inset VSpace medskip
13745 \begin_layout Standard
13747 \begin_inset Tabular
13748 <lyxtabular version="3" rows="4" columns="4">
13749 <features tabularvalignment="middle">
13750 <column alignment="center" valignment="top">
13751 <column alignment="center" valignment="top">
13752 <column alignment="center" valignment="top">
13753 <column alignment="center" valignment="top">
13755 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13758 \begin_layout Plain Layout
13762 \begin_layout Plain Layout
13775 \begin_layout Plain Layout
13786 \begin_layout Plain Layout
13798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13801 \begin_layout Plain Layout
13807 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13810 \begin_layout Plain Layout
13816 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13819 \begin_layout Plain Layout
13827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13830 \begin_layout Plain Layout
13836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13839 \begin_layout Plain Layout
13845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13848 \begin_layout Plain Layout
13854 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13857 \begin_layout Plain Layout
13865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13868 \begin_layout Plain Layout
13874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13877 \begin_layout Plain Layout
13883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13886 \begin_layout Plain Layout
13892 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13895 \begin_layout Plain Layout
13903 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13906 \begin_layout Plain Layout
13912 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13915 \begin_layout Plain Layout
13921 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13924 \begin_layout Plain Layout
13930 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13933 \begin_layout Plain Layout
13945 \begin_inset VSpace medskip
13951 \begin_layout Standard
13952 The 3-argument scheme is for example useful for cross-tables of sports leagues
13956 \begin_layout Standard
13959 \begin_inset Tabular
13960 <lyxtabular version="3" rows="4" columns="4">
13961 <features tabularvalignment="middle">
13962 <column alignment="center" valignment="top" width="0pt">
13963 <column alignment="center" valignment="top">
13964 <column alignment="center" valignment="top">
13965 <column alignment="center" valignment="top">
13967 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13970 \begin_layout Plain Layout
13974 \begin_layout Plain Layout
13987 \begin_layout Plain Layout
13998 \begin_layout Plain Layout
14009 \begin_layout Plain Layout
14021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14024 \begin_layout Plain Layout
14030 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14033 \begin_layout Plain Layout
14039 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14042 \begin_layout Plain Layout
14050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14053 \begin_layout Plain Layout
14059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14062 \begin_layout Plain Layout
14068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14071 \begin_layout Plain Layout
14077 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14080 \begin_layout Plain Layout
14088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14091 \begin_layout Plain Layout
14097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14100 \begin_layout Plain Layout
14106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14109 \begin_layout Plain Layout
14115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14118 \begin_layout Plain Layout
14126 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14129 \begin_layout Plain Layout
14135 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14138 \begin_layout Plain Layout
14144 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14147 \begin_layout Plain Layout
14153 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14156 \begin_layout Plain Layout
14170 \begin_layout Standard
14171 For larger cross-tables one might use split cells in 2 or every corner of
14172 the table like in this example:
14175 \begin_layout Standard
14178 \begin_inset Tabular
14179 <lyxtabular version="3" rows="5" columns="5">
14180 <features tabularvalignment="middle">
14181 <column alignment="center" valignment="top" width="0pt">
14182 <column alignment="center" valignment="top">
14183 <column alignment="center" valignment="top">
14184 <column alignment="center" valignment="top">
14185 <column alignment="center" valignment="top">
14187 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14190 \begin_layout Plain Layout
14194 \begin_layout Plain Layout
14207 \begin_layout Plain Layout
14218 \begin_layout Plain Layout
14229 \begin_layout Plain Layout
14241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14244 \begin_layout Plain Layout
14250 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14253 \begin_layout Plain Layout
14259 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14262 \begin_layout Plain Layout
14268 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
14271 \begin_layout Plain Layout
14275 \begin_layout Plain Layout
14288 \begin_layout Plain Layout
14299 \begin_layout Plain Layout
14310 \begin_layout Plain Layout
14324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14327 \begin_layout Plain Layout
14333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14336 \begin_layout Plain Layout
14342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14345 \begin_layout Plain Layout
14351 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14354 \begin_layout Plain Layout
14360 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14363 \begin_layout Plain Layout
14371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14374 \begin_layout Plain Layout
14380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14383 \begin_layout Plain Layout
14389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14392 \begin_layout Plain Layout
14398 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14401 \begin_layout Plain Layout
14407 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14410 \begin_layout Plain Layout
14418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14421 \begin_layout Plain Layout
14427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14430 \begin_layout Plain Layout
14436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14439 \begin_layout Plain Layout
14445 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14448 \begin_layout Plain Layout
14454 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14457 \begin_layout Plain Layout
14465 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14468 \begin_layout Plain Layout
14472 \begin_layout Plain Layout
14485 \begin_layout Plain Layout
14496 \begin_layout Plain Layout
14507 \begin_layout Plain Layout
14519 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14522 \begin_layout Plain Layout
14528 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14531 \begin_layout Plain Layout
14537 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14540 \begin_layout Plain Layout
14546 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
14549 \begin_layout Plain Layout
14553 \begin_layout Plain Layout
14566 \begin_layout Plain Layout
14577 \begin_layout Plain Layout
14588 \begin_layout Plain Layout
14608 \begin_layout Standard
14609 To rotate the diagonal lines, the command option
14634 and represent a point of a compass.
14639 is for example the south-west corner.
14640 Thus in the lower left cell of the above table the command
14643 \begin_layout Standard
14648 diagbox[dir=SW]{Team home}{Result}{Team away}
14651 \begin_layout Standard
14653 If no direction is given, it will be NW.
14656 \begin_layout Standard
14657 The necessary width of split cells is automatically calculated.
14658 Thus if you set a fixed column width smaller than the calculated one, the
14659 cell's content will protrude the cell borders:
14662 \begin_layout Standard
14665 \begin_inset Tabular
14666 <lyxtabular version="3" rows="2" columns="2">
14667 <features tabularvalignment="middle">
14668 <column alignment="center" valignment="top" width="3cm">
14669 <column alignment="center" valignment="top">
14671 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14674 \begin_layout Plain Layout
14678 \begin_layout Plain Layout
14691 \begin_layout Plain Layout
14702 \begin_layout Plain Layout
14714 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14717 \begin_layout Plain Layout
14725 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14728 \begin_layout Plain Layout
14734 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14737 \begin_layout Plain Layout
14751 \begin_layout Standard
14752 If you need a certain width for columns with a split cell, use the command
14757 (replace '3cm' by the width you need).
14758 In the following table the width of the first column is set to 4
14759 \begin_inset space \thinspace{}
14770 \begin_inset space \thinspace{}
14774 \begin_inset space \thinspace{}
14779 tabcolsep is necessary because the overall width is the width for the text
14780 (in this case the 4
14781 \begin_inset space \thinspace{}
14784 cm) plus two times the separation of the text and the cell border.
14785 The calculation of the width cannot be done in the command option of
14791 so one needs to create a new length which can be used later.
14792 This is done with the \SpecialChar TeX
14796 \begin_layout Standard
14804 \begin_inset Newline newline
14816 \begin_layout Standard
14820 \begin_layout Plain Layout
14829 \begin_layout Plain Layout
14845 \begin_layout Standard
14846 To enable calculations in \SpecialChar LaTeX
14847 one needs to load the package
14852 \begin_inset Index idx
14857 \begin_layout Plain Layout
14860 \begin_inset IndexMacro subentry
14863 \begin_layout Plain Layout
14874 in the document preamble.
14877 \begin_layout Standard
14878 In this table you can now use the command
14881 \begin_layout Standard
14891 \begin_layout Standard
14895 \begin_layout Standard
14898 \begin_inset Tabular
14899 <lyxtabular version="3" rows="2" columns="2">
14900 <features tabularvalignment="middle">
14901 <column alignment="center" valignment="top" width="4cm">
14902 <column alignment="center" valignment="top">
14904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14907 \begin_layout Plain Layout
14911 \begin_layout Plain Layout
14926 \begin_layout Plain Layout
14937 \begin_layout Plain Layout
14949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14952 \begin_layout Plain Layout
14960 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14963 \begin_layout Plain Layout
14969 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14972 \begin_layout Plain Layout
14986 \begin_layout Standard
14987 Note that the split cell needs to be the widest one in the column.
14988 Otherwise the length of the diagonal line cannot be calculated correctly
14989 like in this table:
14992 \begin_layout Standard
14995 \begin_inset Tabular
14996 <lyxtabular version="3" rows="2" columns="2">
14997 <features tabularvalignment="middle">
14998 <column alignment="center" valignment="top" width="0pt">
14999 <column alignment="center" valignment="top">
15001 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15004 \begin_layout Plain Layout
15008 \begin_layout Plain Layout
15021 \begin_layout Plain Layout
15032 \begin_layout Plain Layout
15044 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15047 \begin_layout Plain Layout
15055 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15058 \begin_layout Plain Layout
15064 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15067 \begin_layout Plain Layout
15081 \begin_layout Standard
15082 In this case use the
15093 It is then not necessary to add 2
15095 tabcolsep because the cell width is now the width of the column.
15096 In this table a width of 3
15097 \begin_inset space \thinspace{}
15103 \begin_layout Standard
15106 \begin_inset Tabular
15107 <lyxtabular version="3" rows="2" columns="2">
15108 <features tabularvalignment="middle">
15109 <column alignment="center" valignment="top" width="0pt">
15110 <column alignment="center" valignment="top">
15112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15115 \begin_layout Plain Layout
15119 \begin_layout Plain Layout
15123 diagbox[width=3cm]{
15132 \begin_layout Plain Layout
15143 \begin_layout Plain Layout
15155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15158 \begin_layout Plain Layout
15166 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15169 \begin_layout Plain Layout
15175 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15178 \begin_layout Plain Layout
15192 \begin_layout Standard
15193 For multiple text lines in split cells one needs some extra height to fit
15194 the text to the cell.
15195 This can be achieved with the
15205 (replace '3cm' by the height you need).
15206 In the following table the command
15209 \begin_layout Standard
15214 diagbox[width=3cm,height=1.4cm]{A
15225 \begin_layout Standard
15226 is used in the first cell.
15235 creates hereby the line break.
15239 \begin_layout Plain Layout
15240 Breaking lines with
15244 is only possible when the column has a fixed width.
15252 \begin_layout Standard
15255 \begin_inset Tabular
15256 <lyxtabular version="3" rows="2" columns="2">
15257 <features tabularvalignment="middle">
15258 <column alignment="center" valignment="top">
15259 <column alignment="center" valignment="top">
15261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15264 \begin_layout Plain Layout
15268 \begin_layout Plain Layout
15272 diagbox[width=3cm,height=1.4cm]{
15281 \begin_layout Plain Layout
15296 \begin_layout Plain Layout
15307 \begin_layout Plain Layout
15322 \begin_layout Plain Layout
15334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15337 \begin_layout Plain Layout
15345 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
15348 \begin_layout Plain Layout
15354 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
15357 \begin_layout Plain Layout
15371 \begin_layout Standard
15375 \begin_layout Plain Layout
15385 \begin_inset Note Note
15388 \begin_layout Plain Layout
15389 The following will be displayed when the \SpecialChar LaTeX
15402 \begin_layout Standard
15403 You need to install the \SpecialChar LaTeX
15408 to see the following part of this section in the output.
15411 \begin_layout Standard
15415 \begin_layout Plain Layout
15427 \begin_layout Standard
15428 For more info about the \SpecialChar LaTeX
15433 , see its documentation,
15434 \begin_inset CommandInset citation
15444 \begin_layout Section
15446 \begin_inset CommandInset label
15448 name "sec:Formal-Tables"
15453 \begin_inset Index idx
15458 \begin_layout Plain Layout
15460 \begin_inset IndexMacro subentry
15463 \begin_layout Plain Layout
15477 \begin_layout Standard
15478 Tables are often typeset in books similar to Table
15479 \begin_inset space ~
15483 \begin_inset CommandInset ref
15485 reference "tab:Example-booktabs-table"
15490 This kind of tables is called
15491 \begin_inset Quotes eld
15499 \begin_inset Quotes erd
15503 To make a table a formal table
15504 \change_inserted -712698321 1554290084
15505 , select the table style
15506 \begin_inset Quotes eld
15510 \change_deleted 630872221 1622707670
15512 \change_inserted 630872221 1622707670
15515 \change_inserted -712698321 1554290084
15517 \begin_inset Quotes erd
15520 in the Table Creation dialog or
15530 tab of the table dialog
15531 \change_inserted -712698321 1554290131
15532 (if you additionally check the option
15534 Use Default Formal Style
15536 , the border lines are adapted to a sensible default)
15541 \begin_layout Standard
15542 \begin_inset Float table
15549 \begin_layout Plain Layout
15550 \begin_inset Caption Standard
15552 \begin_layout Plain Layout
15553 \begin_inset CommandInset label
15555 name "tab:Example-booktabs-table"
15560 \change_deleted -712698321 1554292310
15562 \change_inserted -712698321 1554292311
15573 \begin_layout Plain Layout
15575 \begin_inset Tabular
15576 <lyxtabular version="3" rows="8" columns="4">
15577 <features booktabs="true" tabularvalignment="middle">
15578 <column alignment="center" valignment="top">
15579 <column alignment="center" valignment="top" width="0pt">
15580 <column alignment="center" valignment="top" width="0pt">
15581 <column alignment="center" valignment="top">
15583 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15586 \begin_layout Plain Layout
15592 <cell alignment="center" valignment="top" topline="true" usebox="none">
15595 \begin_layout Plain Layout
15597 \begin_inset space \thinspace{}
15605 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
15608 \begin_layout Plain Layout
15610 \begin_inset space \thinspace{}
15618 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15621 \begin_layout Plain Layout
15629 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15632 \begin_layout Plain Layout
15634 \change_deleted -712698321 1554290161
15638 \begin_layout Plain Layout
15651 \begin_layout Plain Layout
15662 Detector thickness in µm
15667 <cell alignment="center" valignment="top" usebox="none">
15670 \begin_layout Plain Layout
15676 <cell alignment="center" valignment="top" usebox="none">
15679 \begin_layout Plain Layout
15685 <cell alignment="center" valignment="top" usebox="none">
15688 \begin_layout Plain Layout
15696 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15699 \begin_layout Plain Layout
15705 <cell alignment="center" valignment="top" topline="true" toplinertrim="true" usebox="none">
15708 \begin_layout Plain Layout
15714 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
15717 \begin_layout Plain Layout
15723 <cell alignment="center" valignment="top" topline="true" usebox="none">
15726 \begin_layout Plain Layout
15733 <row topspace="default">
15734 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15737 \begin_layout Plain Layout
15738 Spatial resolution in µm
15743 <cell alignment="center" valignment="top" usebox="none">
15746 \begin_layout Plain Layout
15752 <cell alignment="center" valignment="top" usebox="none">
15755 \begin_layout Plain Layout
15761 <cell alignment="center" valignment="top" usebox="none">
15764 \begin_layout Plain Layout
15771 <row topspace="default">
15772 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15775 \begin_layout Plain Layout
15777 \begin_inset Formula $f_{\mathrm{max}}$
15785 <cell alignment="center" valignment="top" usebox="none">
15788 \begin_layout Plain Layout
15794 <cell alignment="center" valignment="top" usebox="none">
15797 \begin_layout Plain Layout
15803 <cell alignment="center" valignment="top" usebox="none">
15806 \begin_layout Plain Layout
15813 <row topspace="default">
15814 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15817 \begin_layout Plain Layout
15819 \change_deleted -712698321 1554290260
15823 \begin_layout Plain Layout
15827 cmidrule[2pt](l{10pt}){1-1}
15834 LSF-spatial resolution
15839 <cell alignment="center" valignment="top" usebox="none">
15842 \begin_layout Plain Layout
15848 <cell alignment="center" valignment="top" usebox="none">
15851 \begin_layout Plain Layout
15857 <cell alignment="center" valignment="top" usebox="none">
15860 \begin_layout Plain Layout
15868 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15871 \begin_layout Plain Layout
15877 <cell alignment="center" valignment="top" usebox="none">
15880 \begin_layout Plain Layout
15886 <cell alignment="center" valignment="top" usebox="none">
15889 \begin_layout Plain Layout
15895 <cell alignment="center" valignment="top" usebox="none">
15898 \begin_layout Plain Layout
15906 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15909 \begin_layout Plain Layout
15915 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15918 \begin_layout Plain Layout
15924 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15927 \begin_layout Plain Layout
15933 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15936 \begin_layout Plain Layout
15955 \begin_layout Standard
15956 Spaces to table rows can be added using the
15960 tab of the table dialog as described in section
15961 \begin_inset space ~
15965 \begin_inset CommandInset ref
15967 reference "subsec:Row-Spacing"
15974 \begin_layout Standard
15975 Unlike normal tables, formal tables have no vertical table lines.
15976 The horizontal table lines can be set as for normal tables but they appear
15977 with different widths in the output:
15978 \begin_inset Newline newline
15981 The first and the last table line have a default width of 0.08
15982 \begin_inset space \thinspace{}
15985 em while the other lines have a default width of 0.05
15986 \begin_inset space \thinspace{}
15992 \begin_layout Standard
15993 The default widths can be changed with the following preamble lines
15996 \begin_layout Standard
16006 \begin_inset Newline newline
16018 \begin_layout Standard
16019 This example is for the first line, the so called
16024 If you want to change the width for the last line, replace
16033 To change the width for the other lines replace
16042 You can use all units listed in appendix
16043 \begin_inset space ~
16047 \begin_inset CommandInset ref
16049 reference "cha:Units-available-in"
16056 \begin_layout Standard
16058 \change_deleted -712698321 1554290929
16059 Lines that do not span all table columns can be created by setting a table
16060 line for multicolumn cells.
16062 will then internally use the command
16068 to create this line.
16070 \change_inserted -712698321 1554291959
16072 \begin_inset space ~
16076 \begin_inset CommandInset ref
16078 reference "tab:Example-booktabs-table"
16082 , formal tables often use shortened lines to group columns.
16083 This can be done in the borders widget of the table dialog.
16084 With formal tables, the top and bottom borders have to small offset lines
16085 to the left and the right.
16086 Clicking on these will trim the line respectively.
16091 \begin_layout Standard
16093 \change_inserted -712698321 1554291403
16094 If you need to adjust the length of the trimming or the height of the rules,
16095 you have to resort to \SpecialChar TeX
16097 The respective command (which is also used for the trimmed mid rules) is
16103 \begin_layout Standard
16108 cmidrule[height](trim){startcol-endcol}
16111 \begin_layout Standard
16113 \change_deleted -712698321 1554292020
16120 are currently not supported by \SpecialChar LyX
16121 so you have to use \SpecialChar TeX
16130 s can manually be created by inserting the command as \SpecialChar TeX
16132 cell entry of the first cell of a row.
16133 The line is then drawn in the output above the current row.
16138 \begin_layout Standard
16139 The default for the optional
16144 \begin_inset space \thinspace{}
16152 is the number of the column where the line starts and
16156 the column number where the line ends.
16161 always needs to be specified, also when the line should span only one column.
16162 The optional parameter
16179 Using for example the parameter
16183 means that the line is trimmed from its left end by 2
16184 \begin_inset space \thinspace{}
16188 If you don't specify the
16192 the line is trimmed by the default of 0.5
16193 \begin_inset space \thinspace{}
16197 \change_inserted -712698321 1554291561
16198 (this is what is done if you use trimming from the dialog)
16201 \change_inserted -712698321 1554292039
16205 \begin_layout Standard
16207 \change_inserted -712698321 1554292207
16218 is currently not supported by \SpecialChar LyX
16219 , and neither are the
16224 If you need this you can manually insert a
16230 with the respective settings as \SpecialChar TeX
16231 Code as the first cell entry of the first
16233 The line is then drawn in the output above the current row.
16235 \begin_inset space ~
16239 \begin_inset CommandInset ref
16241 reference "tab:Special-booktabs-table"
16245 exemplifies this (in the sixth row).
16250 \begin_layout Standard
16252 \change_deleted -712698321 1554291078
16253 \begin_inset VSpace bigskip
16257 \begin_inset space ~
16261 \begin_inset CommandInset ref
16263 reference "tab:Example-booktabs-table"
16267 was created using the commands
16270 \begin_layout Standard
16272 \change_deleted -712698321 1554291077
16282 \begin_layout Standard
16284 \change_deleted -712698321 1554291077
16285 at the beginning of the second row and
16288 \begin_layout Standard
16290 \change_deleted -712698321 1554291077
16295 cmidrule[2pt](l{10pt}){1-1}
16298 \begin_layout Standard
16300 \change_deleted -712698321 1554291077
16306 \begin_layout Standard
16308 \change_deleted -712698321 1554292212
16309 \begin_inset VSpace bigskip
16317 \begin_layout Standard
16319 \change_inserted -712698321 1554291573
16322 might want to have overlapping
16329 \change_deleted -712698321 1554296804
16331 \change_inserted -712698321 1554296808
16332 exemplified as well
16335 \begin_inset space ~
16339 \begin_inset CommandInset ref
16341 reference "tab:Special-booktabs-table"
16346 \change_inserted -712698321 1554291601
16347 , even though this is considered bad style (so only use it if you really
16351 This can be achieved with the \SpecialChar TeX
16355 \begin_layout Standard
16363 \begin_layout Standard
16364 The command that was used for the second row of Table
16365 \begin_inset space ~
16369 \begin_inset CommandInset ref
16371 reference "tab:Special-booktabs-table"
16378 \begin_layout Standard
16380 \change_deleted -712698321 1554291798
16396 \begin_layout Standard
16397 The command for the sixth row is
16400 \begin_layout Standard
16402 \change_deleted -712698321 1554291810
16416 \begin_layout Standard
16417 \begin_inset VSpace bigskip
16423 \begin_layout Standard
16424 If you are in any way not satisfied with the border line spacing, you can
16425 use the following command to produce lines that span over all table columns
16430 \begin_layout Standard
16435 specialrule{width}{space above}{space below}
16438 \begin_layout Standard
16439 For more information about these features, refer to the manual of the \SpecialChar LaTeX
16446 \begin_inset CommandInset citation
16454 \begin_inset Index idx
16459 \begin_layout Plain Layout
16462 \begin_inset IndexMacro subentry
16465 \begin_layout Plain Layout
16479 \begin_layout Standard
16480 \begin_inset Float table
16487 \begin_layout Plain Layout
16488 \begin_inset Caption Standard
16490 \begin_layout Plain Layout
16491 \begin_inset CommandInset label
16493 name "tab:Special-booktabs-table"
16498 \change_inserted -712698321 1554292295
16500 \change_deleted -712698321 1554292304
16502 \change_inserted -712698321 1554292305
16504 \change_deleted -712698321 1554292300
16515 \begin_layout Plain Layout
16517 \begin_inset Tabular
16518 <lyxtabular version="3" rows="8" columns="4">
16519 <features booktabs="true" tabularvalignment="middle">
16520 <column alignment="center" valignment="top">
16521 <column alignment="center" valignment="top" width="0pt">
16522 <column alignment="center" valignment="top" width="0pt">
16523 <column alignment="center" valignment="top" width="0pt">
16525 <cell alignment="center" valignment="top" topline="true" usebox="none">
16528 \begin_layout Plain Layout
16534 <cell alignment="center" valignment="top" topline="true" bottomline="true" bottomlinertrim="true" usebox="none">
16537 \begin_layout Plain Layout
16539 \begin_inset space \thinspace{}
16547 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
16550 \begin_layout Plain Layout
16552 \begin_inset space \thinspace{}
16560 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16563 \begin_layout Plain Layout
16571 <cell alignment="center" valignment="top" usebox="none">
16574 \begin_layout Plain Layout
16576 \change_deleted -712698321 1554291732
16580 \begin_layout Plain Layout
16593 \begin_layout Plain Layout
16608 \begin_layout Plain Layout
16621 \begin_layout Plain Layout
16630 Detector thickness in µm
16635 <cell alignment="center" valignment="top" usebox="none">
16638 \begin_layout Plain Layout
16644 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
16647 \begin_layout Plain Layout
16653 <cell alignment="center" valignment="top" topline="true" usebox="none">
16656 \begin_layout Plain Layout
16664 <cell alignment="center" valignment="top" topline="true" usebox="none">
16667 \begin_layout Plain Layout
16673 <cell alignment="center" valignment="top" topline="true" usebox="none">
16676 \begin_layout Plain Layout
16682 <cell alignment="center" valignment="top" topline="true" usebox="none">
16685 \begin_layout Plain Layout
16691 <cell alignment="center" valignment="top" topline="true" usebox="none">
16694 \begin_layout Plain Layout
16701 <row topspace="default">
16702 <cell alignment="center" valignment="top" usebox="none">
16705 \begin_layout Plain Layout
16706 Spatial resolution in µm
16711 <cell alignment="center" valignment="top" usebox="none">
16714 \begin_layout Plain Layout
16720 <cell alignment="center" valignment="top" usebox="none">
16723 \begin_layout Plain Layout
16729 <cell alignment="center" valignment="top" usebox="none">
16732 \begin_layout Plain Layout
16739 <row topspace="default">
16740 <cell alignment="center" valignment="top" usebox="none">
16743 \begin_layout Plain Layout
16745 \begin_inset Formula $f_{\mathrm{max}}$
16753 <cell alignment="center" valignment="top" usebox="none">
16756 \begin_layout Plain Layout
16762 <cell alignment="center" valignment="top" usebox="none">
16765 \begin_layout Plain Layout
16771 <cell alignment="center" valignment="top" usebox="none">
16774 \begin_layout Plain Layout
16782 <cell alignment="center" valignment="top" topline="true" usebox="none">
16785 \begin_layout Plain Layout
16789 \begin_layout Plain Layout
16802 \begin_layout Plain Layout
16807 \change_inserted -712698321 1554291896
16815 LSF-spatial resolution
16820 <cell alignment="center" valignment="top" topline="true" usebox="none">
16823 \begin_layout Plain Layout
16829 <cell alignment="center" valignment="top" topline="true" usebox="none">
16832 \begin_layout Plain Layout
16838 <cell alignment="center" valignment="top" topline="true" usebox="none">
16841 \begin_layout Plain Layout
16849 <cell alignment="center" valignment="top" usebox="none">
16852 \begin_layout Plain Layout
16858 <cell alignment="center" valignment="top" usebox="none">
16861 \begin_layout Plain Layout
16867 <cell alignment="center" valignment="top" usebox="none">
16870 \begin_layout Plain Layout
16876 <cell alignment="center" valignment="top" usebox="none">
16879 \begin_layout Plain Layout
16887 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16890 \begin_layout Plain Layout
16896 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16899 \begin_layout Plain Layout
16905 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16908 \begin_layout Plain Layout
16914 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16917 \begin_layout Plain Layout
16936 \begin_layout Section
16937 Vertical Table Alignment
16938 \begin_inset Index idx
16943 \begin_layout Plain Layout
16945 \begin_inset IndexMacro subentry
16948 \begin_layout Plain Layout
16962 \begin_layout Standard
16963 To align tables vertically in a text line, the table must be inside a box.
16964 The box can then be vertically aligned as described in section
16965 \begin_inset space ~
16969 \begin_inset CommandInset ref
16971 reference "sec:Box-Dialog"
16978 \begin_layout Standard
16979 In the following example the tables are inside a minipage
16983 \begin_layout Plain Layout
16984 Minipages are described in section
16985 \begin_inset space ~
16989 \begin_inset CommandInset ref
16991 reference "sec:Minipages"
17000 box that has a width of 15
17001 \begin_inset space \thinspace{}
17007 \begin_layout Itemize
17009 \begin_inset Box Frameless
17019 height_special "totalheight"
17024 backgroundcolor "none"
17027 \begin_layout Plain Layout
17028 \begin_inset Tabular
17029 <lyxtabular version="3" rows="3" columns="3">
17030 <features tabularvalignment="middle">
17031 <column alignment="center" valignment="top">
17032 <column alignment="center" valignment="top">
17033 <column alignment="center" valignment="top">
17035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17038 \begin_layout Plain Layout
17044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17047 \begin_layout Plain Layout
17053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17056 \begin_layout Plain Layout
17064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17067 \begin_layout Plain Layout
17073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17076 \begin_layout Plain Layout
17082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17085 \begin_layout Plain Layout
17093 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17096 \begin_layout Plain Layout
17102 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17105 \begin_layout Plain Layout
17111 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17114 \begin_layout Plain Layout
17134 \begin_layout Plain Layout
17146 \begin_inset Box Frameless
17156 height_special "totalheight"
17161 backgroundcolor "none"
17164 \begin_layout Plain Layout
17165 \begin_inset Tabular
17166 <lyxtabular version="3" rows="3" columns="3">
17167 <features tabularvalignment="middle">
17168 <column alignment="center" valignment="top">
17169 <column alignment="center" valignment="top">
17170 <column alignment="center" valignment="top">
17172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17175 \begin_layout Plain Layout
17181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17184 \begin_layout Plain Layout
17190 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17193 \begin_layout Plain Layout
17201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17204 \begin_layout Plain Layout
17210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17213 \begin_layout Plain Layout
17219 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17222 \begin_layout Plain Layout
17230 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17233 \begin_layout Plain Layout
17239 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17242 \begin_layout Plain Layout
17248 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17251 \begin_layout Plain Layout
17271 \begin_layout Plain Layout
17281 \begin_layout Itemize
17283 \begin_inset Box Frameless
17293 height_special "totalheight"
17298 backgroundcolor "none"
17301 \begin_layout Plain Layout
17302 \begin_inset Tabular
17303 <lyxtabular version="3" rows="3" columns="3">
17304 <features tabularvalignment="middle">
17305 <column alignment="center" valignment="top">
17306 <column alignment="center" valignment="top">
17307 <column alignment="center" valignment="top">
17309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17312 \begin_layout Plain Layout
17318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17321 \begin_layout Plain Layout
17327 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17330 \begin_layout Plain Layout
17338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17341 \begin_layout Plain Layout
17347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17350 \begin_layout Plain Layout
17356 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17359 \begin_layout Plain Layout
17367 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17370 \begin_layout Plain Layout
17376 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17379 \begin_layout Plain Layout
17385 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17388 \begin_layout Plain Layout
17407 \begin_layout Itemize
17409 \begin_inset Box Frameless
17419 height_special "totalheight"
17424 backgroundcolor "none"
17427 \begin_layout Plain Layout
17428 \begin_inset Tabular
17429 <lyxtabular version="3" rows="3" columns="3">
17430 <features tabularvalignment="middle">
17431 <column alignment="center" valignment="top">
17432 <column alignment="center" valignment="top">
17433 <column alignment="center" valignment="top">
17435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17438 \begin_layout Plain Layout
17444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17447 \begin_layout Plain Layout
17453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17456 \begin_layout Plain Layout
17464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17467 \begin_layout Plain Layout
17473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17476 \begin_layout Plain Layout
17482 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17485 \begin_layout Plain Layout
17493 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17496 \begin_layout Plain Layout
17502 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17505 \begin_layout Plain Layout
17511 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17514 \begin_layout Plain Layout
17534 \begin_layout Plain Layout
17546 \begin_inset Box Frameless
17556 height_special "totalheight"
17561 backgroundcolor "none"
17564 \begin_layout Plain Layout
17565 \begin_inset Tabular
17566 <lyxtabular version="3" rows="3" columns="3">
17567 <features tabularvalignment="middle">
17568 <column alignment="center" valignment="top">
17569 <column alignment="center" valignment="top">
17570 <column alignment="center" valignment="top">
17572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17575 \begin_layout Plain Layout
17581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17584 \begin_layout Plain Layout
17590 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17593 \begin_layout Plain Layout
17601 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17604 \begin_layout Plain Layout
17610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17613 \begin_layout Plain Layout
17619 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17622 \begin_layout Plain Layout
17630 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17633 \begin_layout Plain Layout
17639 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17642 \begin_layout Plain Layout
17648 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17651 \begin_layout Plain Layout
17671 \begin_layout Plain Layout
17681 \begin_layout Standard
17682 As you will see, the content of the first and last table row is not correctly
17684 To get this alignment, the minipage box must be set into a raisebox.
17688 \begin_layout Plain Layout
17689 Raiseboxes are described in section
17690 \begin_inset space ~
17694 \begin_inset CommandInset ref
17696 reference "subsec:Vertical-Alignment"
17705 In the example above the second table in the first item is aligned using
17706 the \SpecialChar TeX
17710 \begin_layout Standard
17720 \begin_layout Standard
17722 After the box the closing brace
17726 is inserted as \SpecialChar TeX
17728 For the second table in the last item the command
17731 \begin_layout Standard
17741 \begin_layout Standard
17745 \begin_layout Standard
17746 \begin_inset Note Greyedout
17749 \begin_layout Plain Layout
17754 The alignment of the table row content to the surrounding text line is
17756 The required value for the
17762 command for this alignment depends on the document font, the font size,
17763 and the table line thickness.
17771 \begin_layout Section
17773 \begin_inset CommandInset label
17775 name "sec:Colored-Tables"
17780 \begin_inset Index idx
17785 \begin_layout Plain Layout
17787 \begin_inset IndexMacro subentry
17790 \begin_layout Plain Layout
17804 \begin_layout Subsection
17806 \begin_inset Index idx
17811 \begin_layout Plain Layout
17813 \begin_inset IndexMacro subentry
17816 \begin_layout Plain Layout
17828 \begin_inset Index idx
17833 \begin_layout Plain Layout
17835 \begin_inset IndexMacro subentry
17838 \begin_layout Plain Layout
17852 \begin_layout Standard
17853 \begin_inset Float table
17860 \begin_layout Plain Layout
17861 \begin_inset Caption Standard
17863 \begin_layout Plain Layout
17864 \begin_inset CommandInset label
17866 name "tab:Table-colored-without"
17870 Table colored without using the package
17875 \begin_inset Argument 1
17878 \begin_layout Plain Layout
17879 Table without colortbl
17892 \begin_layout Plain Layout
17894 \begin_inset Tabular
17895 <lyxtabular version="3" rows="3" columns="3">
17896 <features tabularvalignment="middle">
17897 <column alignment="center" valignment="top">
17898 <column alignment="center" valignment="top">
17899 <column alignment="center" valignment="top">
17901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17904 \begin_layout Plain Layout
17912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17915 \begin_layout Plain Layout
17923 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17926 \begin_layout Plain Layout
17936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17939 \begin_layout Plain Layout
17947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17950 \begin_layout Plain Layout
17958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17961 \begin_layout Plain Layout
17971 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17974 \begin_layout Plain Layout
17982 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17985 \begin_layout Plain Layout
17993 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17996 \begin_layout Plain Layout
18017 \begin_layout Standard
18018 If you only need colored text, mark the cells and choose a color in the
18022 \begin_inset space ~
18027 dialog (toolbar button
18030 arg "dialog-show character"
18034 This was used to create Table
18035 \begin_inset space ~
18039 \begin_inset CommandInset ref
18041 reference "tab:Table-colored-without"
18046 In any other case you have to use the \SpecialChar LaTeX
18052 \begin_inset Index idx
18057 \begin_layout Plain Layout
18060 \begin_inset IndexMacro subentry
18063 \begin_layout Plain Layout
18077 \begin_layout Standard
18081 \begin_layout Plain Layout
18091 \begin_inset Note Note
18094 \begin_layout Plain Layout
18095 The following section part will only be displayed when the \SpecialChar LaTeX
18108 \begin_layout Standard
18109 To create colored tables,
18113 must be loaded in the preamble with the line
18116 \begin_layout Standard
18121 usepackage{colortbl}
18124 \begin_layout Standard
18125 The color of a column is adjusted with the command
18128 \begin_layout Standard
18133 columncolor{name of color}
18136 \begin_layout Standard
18142 More about the command
18146 is contained in section
18147 \begin_inset space ~
18151 \begin_inset CommandInset ref
18153 reference "subsec:Multicolumn-Calculations"
18160 \begin_layout Standard
18161 The following color names are predefined:
18164 \begin_layout Standard
18198 \begin_layout Standard
18199 \begin_inset VSpace medskip
18205 \begin_layout Standard
18206 If you add the option
18209 \begin_layout Standard
18215 \begin_layout Standard
18216 to the document class options in the document settings, you can additionally
18218 \begin_inset space ~
18222 These colors are listed in appendix
18223 \begin_inset space ~
18227 \begin_inset CommandInset ref
18229 reference "chap:List-of-dvips-colornames"
18234 One of these colors,
18238 , is used as example in Table
18239 \begin_inset space ~
18243 \begin_inset CommandInset ref
18245 reference "tab:Table-colored-using"
18252 \begin_layout Standard
18253 \begin_inset VSpace medskip
18259 \begin_layout Standard
18260 You can also define your own color with the command
18263 \begin_layout Standard
18268 definecolor{color name}{color model}{color values}
18271 \begin_layout Standard
18272 The color model can be
18275 \begin_layout Labeling
18276 \labelwidthstring 00.00.0000
18277 cmyk: cyan, magenta, yellow, black
18280 \begin_layout Labeling
18281 \labelwidthstring 00.00.0000
18282 rgb: red, green blue
18285 \begin_layout Labeling
18286 \labelwidthstring 00.00.0000
18290 \begin_layout Standard
18291 and the color values are comma separated numbers between 0 and 1 describing
18292 the factor for the corresponding color of the color model.
18295 \begin_layout Standard
18297 \begin_inset space \thinspace{}
18301 \begin_inset space \space{}
18308 " in the preamble with
18311 \begin_layout Standard
18316 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
18319 \begin_layout Standard
18327 \begin_layout Standard
18332 definecolor{lightgray}{gray}{0.8}
18335 \begin_layout Standard
18336 \begin_inset VSpace medskip
18342 \begin_layout Standard
18343 Lines are colored with the command
18346 \begin_layout Standard
18351 rowcolor{name of color}
18354 \begin_layout Standard
18355 and cells are colored with the command
18358 \begin_layout Standard
18363 cellcolor{name of color}
18366 \begin_layout Standard
18367 Both commands are inserted at the beginning of a cell as \SpecialChar TeX
18371 \begin_layout Standard
18372 To color characters in the table, mark the cells and use the
18375 \begin_inset space ~
18381 If a cell contains \SpecialChar TeX
18382 Code mark only the characters, otherwise the colored
18384 Code will cause \SpecialChar LaTeX
18388 \begin_layout Standard
18389 \begin_inset Note Greyedout
18392 \begin_layout Plain Layout
18397 Not all DVI-viewers are able to display self-defined colors.
18405 \begin_layout Standard
18406 \begin_inset VSpace bigskip
18412 \begin_layout Standard
18414 \begin_inset space ~
18418 \begin_inset CommandInset ref
18420 reference "tab:Table-colored-using"
18424 do the following: The color of the first column should be
18432 \begin_layout Standard
18437 columncolor{darkgreen}
18442 \begin_layout Standard
18443 as \SpecialChar LaTeX
18444 -argument for this column.
18445 The first row should be light blue, therefore the \SpecialChar TeX
18449 \begin_layout Standard
18457 \begin_layout Standard
18458 is inserted to the first cell of this row.
18459 Note that this overwrites the column color for the first cell.
18460 The last cell of the last row is colored maroon by inserting the \SpecialChar TeX
18465 \begin_layout Standard
18473 \begin_layout Standard
18474 The characters could now be colored using the menu
18476 Edit\SpecialChar menuseparator
18478 \begin_inset space ~
18486 \begin_layout Standard
18487 \begin_inset Float table
18494 \begin_layout Plain Layout
18495 \begin_inset Caption Standard
18497 \begin_layout Plain Layout
18498 \begin_inset CommandInset label
18500 name "tab:Table-colored-using"
18504 Table colored using the package
18509 \begin_inset Argument 1
18512 \begin_layout Plain Layout
18513 Table with colortbl
18526 \begin_layout Plain Layout
18528 \begin_inset Tabular
18529 <lyxtabular version="3" rows="3" columns="3">
18530 <features tabularvalignment="middle">
18531 <column alignment="center" valignment="top" special=">{\columncolor{darkgreen}\centering}c">
18532 <column alignment="center" valignment="top">
18533 <column alignment="center" valignment="top">
18535 <cell alignment="center" valignment="top" usebox="none">
18538 \begin_layout Plain Layout
18542 \begin_layout Plain Layout
18558 <cell alignment="center" valignment="top" usebox="none">
18561 \begin_layout Plain Layout
18569 <cell alignment="center" valignment="top" usebox="none">
18572 \begin_layout Plain Layout
18582 <cell alignment="center" valignment="top" usebox="none">
18585 \begin_layout Plain Layout
18593 <cell alignment="center" valignment="top" usebox="none">
18596 \begin_layout Plain Layout
18604 <cell alignment="center" valignment="top" usebox="none">
18607 \begin_layout Plain Layout
18617 <cell alignment="center" valignment="top" usebox="none">
18620 \begin_layout Plain Layout
18628 <cell alignment="center" valignment="top" usebox="none">
18631 \begin_layout Plain Layout
18639 <cell alignment="center" valignment="top" usebox="none">
18642 \begin_layout Plain Layout
18646 \begin_layout Plain Layout
18675 \begin_layout Standard
18679 \begin_layout Plain Layout
18689 \begin_inset Note Note
18692 \begin_layout Plain Layout
18693 The following will be displayed when the \SpecialChar LaTeX
18706 \begin_layout Standard
18707 You need to install the package
18711 to see the content of this section in the output.
18714 \begin_layout Standard
18718 \begin_layout Plain Layout
18730 \begin_layout Subsection
18732 \begin_inset Index idx
18737 \begin_layout Plain Layout
18739 \begin_inset IndexMacro subentry
18742 \begin_layout Plain Layout
18754 \begin_inset Index idx
18759 \begin_layout Plain Layout
18761 \begin_inset IndexMacro subentry
18764 \begin_layout Plain Layout
18778 \begin_layout Standard
18779 In case every second table row needs to be colored there is an alternative
18780 to the method described in the previous section: One loads the package
18786 \begin_inset Index idx
18791 \begin_layout Plain Layout
18794 \begin_inset IndexMacro subentry
18797 \begin_layout Plain Layout
18808 in the document preamble with the command
18811 \begin_layout Standard
18816 usepackage[table]{xcolor}
18819 \begin_layout Standard
18824 automatically loads also the package
18829 \begin_inset Index idx
18834 \begin_layout Plain Layout
18837 \begin_inset IndexMacro subentry
18840 \begin_layout Plain Layout
18855 must be installed in your \SpecialChar LaTeX
18856 -distribution, otherwise you get \SpecialChar LaTeX
18860 \begin_layout Standard
18864 \begin_layout Plain Layout
18874 \begin_inset Note Note
18877 \begin_layout Plain Layout
18878 The following section part will only be displayed when the \SpecialChar LaTeX
18891 \begin_layout Standard
18892 The table rows are colored with the command
18895 \begin_layout Standard
18900 rowcolors[commands]{row number}{odd row color}{even row color}
18903 \begin_layout Standard
18904 that is either inserted in the document preamble or as \SpecialChar TeX
18906 first table to be colored.
18908 \begin_inset space ~
18911 number is the number of the first row which should be colored according
18912 to the odd row color.
18913 commands can be additional commands that are executed before every table
18915 So for example the command
18918 \begin_layout Standard
18923 rowcolors{1}{white}{lightgray}
18926 \begin_layout Standard
18927 leads to the coloring scheme of Table
18928 \begin_inset space ~
18932 \begin_inset CommandInset ref
18934 reference "tab:Table-rowcolors"
18942 \begin_layout Standard
18949 hline]{1}{lightgray}{cyan}
18952 \begin_layout Standard
18953 leads to the coloring scheme of Table
18954 \begin_inset space ~
18958 \begin_inset CommandInset ref
18960 reference "tab:Table-rowcolors-2"
18966 \begin_inset space ~
18970 \begin_inset space ~
18974 \begin_inset space ~
18978 \begin_inset space ~
18981 color are left empty, no color will be used so that the command
18984 \begin_layout Standard
18992 \begin_layout Standard
18993 deletes all colors.
19000 affects all tables following that command.
19003 \begin_layout Standard
19007 \begin_layout Plain Layout
19011 rowcolors{1}{white}{lightgray}
19019 \begin_layout Standard
19020 \begin_inset Float table
19027 \begin_layout Plain Layout
19028 \begin_inset Caption Standard
19030 \begin_layout Plain Layout
19031 \begin_inset CommandInset label
19033 name "tab:Table-rowcolors"
19037 Table where every second row is colored light gray.
19045 \begin_layout Plain Layout
19047 \begin_inset Tabular
19048 <lyxtabular version="3" rows="4" columns="3">
19049 <features tabularvalignment="middle">
19050 <column alignment="center" valignment="top">
19051 <column alignment="center" valignment="top" width="0pt">
19052 <column alignment="center" valignment="top" width="0pt">
19054 <cell alignment="center" valignment="top" usebox="none">
19057 \begin_layout Plain Layout
19063 <cell alignment="center" valignment="top" usebox="none">
19066 \begin_layout Plain Layout
19072 <cell alignment="center" valignment="top" usebox="none">
19075 \begin_layout Plain Layout
19083 <cell alignment="center" valignment="top" usebox="none">
19086 \begin_layout Plain Layout
19092 <cell alignment="center" valignment="top" usebox="none">
19095 \begin_layout Plain Layout
19101 <cell alignment="center" valignment="top" usebox="none">
19104 \begin_layout Plain Layout
19112 <cell alignment="center" valignment="top" usebox="none">
19115 \begin_layout Plain Layout
19121 <cell alignment="center" valignment="top" usebox="none">
19124 \begin_layout Plain Layout
19130 <cell alignment="center" valignment="top" usebox="none">
19133 \begin_layout Plain Layout
19141 <cell alignment="center" valignment="top" usebox="none">
19144 \begin_layout Plain Layout
19150 <cell alignment="center" valignment="top" usebox="none">
19153 \begin_layout Plain Layout
19159 <cell alignment="center" valignment="top" usebox="none">
19162 \begin_layout Plain Layout
19181 \begin_layout Standard
19185 \begin_layout Plain Layout
19191 hline]{1}{lightgray}{cyan}
19199 \begin_layout Standard
19200 \begin_inset Float table
19207 \begin_layout Plain Layout
19208 \begin_inset Caption Standard
19210 \begin_layout Plain Layout
19211 \begin_inset CommandInset label
19213 name "tab:Table-rowcolors-2"
19217 Table where every second row is colored cyan and at which there is a line
19226 \begin_layout Plain Layout
19228 \begin_inset Tabular
19229 <lyxtabular version="3" rows="4" columns="3">
19230 <features tabularvalignment="middle">
19231 <column alignment="center" valignment="top">
19232 <column alignment="center" valignment="top">
19233 <column alignment="center" valignment="top" width="0pt">
19235 <cell alignment="center" valignment="top" usebox="none">
19238 \begin_layout Plain Layout
19244 <cell alignment="center" valignment="top" usebox="none">
19247 \begin_layout Plain Layout
19253 <cell alignment="center" valignment="top" usebox="none">
19256 \begin_layout Plain Layout
19264 <cell alignment="center" valignment="top" usebox="none">
19267 \begin_layout Plain Layout
19273 <cell alignment="center" valignment="top" usebox="none">
19276 \begin_layout Plain Layout
19282 <cell alignment="center" valignment="top" usebox="none">
19285 \begin_layout Plain Layout
19293 <cell alignment="center" valignment="top" usebox="none">
19296 \begin_layout Plain Layout
19302 <cell alignment="center" valignment="top" usebox="none">
19305 \begin_layout Plain Layout
19311 <cell alignment="center" valignment="top" usebox="none">
19314 \begin_layout Plain Layout
19322 <cell alignment="center" valignment="top" usebox="none">
19325 \begin_layout Plain Layout
19331 <cell alignment="center" valignment="top" usebox="none">
19334 \begin_layout Plain Layout
19340 <cell alignment="center" valignment="top" usebox="none">
19343 \begin_layout Plain Layout
19362 \begin_layout Standard
19366 \begin_layout Plain Layout
19376 \begin_inset Note Note
19379 \begin_layout Plain Layout
19380 turns off the row coloring
19388 \begin_layout Standard
19392 \begin_layout Plain Layout
19402 \begin_inset Note Note
19405 \begin_layout Plain Layout
19406 The following will be displayed when the \SpecialChar LaTeX
19419 \begin_layout Standard
19420 You need to install the package
19424 to see the content of this section in the output.
19427 \begin_layout Standard
19431 \begin_layout Plain Layout
19443 \begin_layout Subsection
19445 \begin_inset Index idx
19450 \begin_layout Plain Layout
19452 \begin_inset IndexMacro subentry
19455 \begin_layout Plain Layout
19467 \begin_inset Index idx
19472 \begin_layout Plain Layout
19474 \begin_inset IndexMacro subentry
19477 \begin_layout Plain Layout
19491 \begin_layout Standard
19492 As described in section
19493 \begin_inset space ~
19497 \begin_inset CommandInset ref
19499 reference "subsec:Line-Thickness"
19503 , the line thickness for all lines in a table can be adjusted with the length
19512 \begin_inset space \thinspace{}
19515 pt for all tables of this section.
19519 \begin_layout Plain Layout
19525 arrayrulewidth}{1.5pt}
19533 \begin_layout Standard
19534 To color vertical lines for example with green, create the following column
19535 format in the document preamble, according to the description in section
19536 \begin_inset space ~
19540 \begin_inset CommandInset ref
19542 reference "subsec:Customized-Format"
19549 \begin_layout Standard
19554 newcolumntype{W}{!{
19561 \begin_layout Standard
19563 \begin_inset space ~
19567 \begin_inset CommandInset ref
19569 reference "tab:Table-with-vertical-colored"
19573 the \SpecialChar LaTeX
19578 was used for the last column and
19582 for the other columns.
19585 \begin_layout Standard
19586 If you want to have several colors, define more column formats.
19589 \begin_layout Standard
19590 \begin_inset Float table
19597 \begin_layout Plain Layout
19598 \begin_inset Caption Standard
19600 \begin_layout Plain Layout
19601 \begin_inset CommandInset label
19603 name "tab:Table-with-vertical-colored"
19607 Table with colored vertical lines
19615 \begin_layout Plain Layout
19617 \begin_inset Tabular
19618 <lyxtabular version="3" rows="3" columns="3">
19619 <features tabularvalignment="middle">
19620 <column alignment="center" valignment="top" special="Wc">
19621 <column alignment="center" valignment="top" special="Wc">
19622 <column alignment="center" valignment="top" special="WcW">
19624 <cell alignment="center" valignment="top" topline="true" usebox="none">
19627 \begin_layout Plain Layout
19633 <cell alignment="center" valignment="top" topline="true" usebox="none">
19636 \begin_layout Plain Layout
19642 <cell alignment="center" valignment="top" topline="true" usebox="none">
19645 \begin_layout Plain Layout
19653 <cell alignment="center" valignment="top" topline="true" usebox="none">
19656 \begin_layout Plain Layout
19662 <cell alignment="center" valignment="top" topline="true" usebox="none">
19665 \begin_layout Plain Layout
19671 <cell alignment="center" valignment="top" topline="true" usebox="none">
19674 \begin_layout Plain Layout
19682 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19685 \begin_layout Plain Layout
19691 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19694 \begin_layout Plain Layout
19700 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19703 \begin_layout Plain Layout
19722 \begin_layout Standard
19723 \begin_inset VSpace bigskip
19726 To color all horizontal lines for example with red, as in Table
19727 \begin_inset space ~
19731 \begin_inset CommandInset ref
19733 reference "tab:Table-with-horizontal-colored"
19737 , insert these commands in \SpecialChar TeX
19738 code before the table or table float:
19741 \begin_layout Standard
19751 \begin_inset Newline newline
19759 \begin_inset Newline newline
19763 \begin_inset Phantom HPhantom
19766 \begin_layout Plain Layout
19769 \begin_inset space ~
19779 arrayrulecolor{red}
19783 arrayrulecolor{black}}
19786 \begin_layout Standard
19790 \begin_layout Plain Layout
19801 \begin_layout Plain Layout
19810 \begin_layout Plain Layout
19814 arrayrulecolor{red}
19818 arrayrulecolor{black}}
19824 \begin_inset Float table
19831 \begin_layout Plain Layout
19832 \begin_inset Caption Standard
19834 \begin_layout Plain Layout
19835 \begin_inset CommandInset label
19837 name "tab:Table-with-horizontal-colored"
19841 Table with colored horizontal lines
19849 \begin_layout Plain Layout
19851 \begin_inset Tabular
19852 <lyxtabular version="3" rows="3" columns="3">
19853 <features tabularvalignment="middle">
19854 <column alignment="center" valignment="top">
19855 <column alignment="center" valignment="top">
19856 <column alignment="center" valignment="top">
19858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19861 \begin_layout Plain Layout
19867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19870 \begin_layout Plain Layout
19876 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19879 \begin_layout Plain Layout
19887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19890 \begin_layout Plain Layout
19896 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19899 \begin_layout Plain Layout
19905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19908 \begin_layout Plain Layout
19916 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19919 \begin_layout Plain Layout
19925 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19928 \begin_layout Plain Layout
19934 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19937 \begin_layout Plain Layout
19956 \begin_layout Standard
19957 To return to the default line color black, insert this command in \SpecialChar TeX
19959 after the table or table float:
19962 \begin_layout Standard
19974 \begin_layout Standard
19976 \begin_inset space ~
19980 \begin_inset CommandInset ref
19982 reference "tab:Table-with-colored"
19986 is an example with colored vertical and horizontal lines.
19989 \begin_layout Standard
19990 \begin_inset Float table
19997 \begin_layout Plain Layout
19998 \begin_inset Caption Standard
20000 \begin_layout Plain Layout
20001 \begin_inset CommandInset label
20003 name "tab:Table-with-colored"
20007 Table with colored lines
20015 \begin_layout Plain Layout
20017 \begin_inset Tabular
20018 <lyxtabular version="3" rows="3" columns="3">
20019 <features tabularvalignment="middle">
20020 <column alignment="center" valignment="top" special="Wc">
20021 <column alignment="center" valignment="top" special="Wc">
20022 <column alignment="center" valignment="top" special="WcW">
20024 <cell alignment="center" valignment="top" topline="true" usebox="none">
20027 \begin_layout Plain Layout
20033 <cell alignment="center" valignment="top" topline="true" usebox="none">
20036 \begin_layout Plain Layout
20042 <cell alignment="center" valignment="top" topline="true" usebox="none">
20045 \begin_layout Plain Layout
20053 <cell alignment="center" valignment="top" topline="true" usebox="none">
20056 \begin_layout Plain Layout
20062 <cell alignment="center" valignment="top" topline="true" usebox="none">
20065 \begin_layout Plain Layout
20071 <cell alignment="center" valignment="top" topline="true" usebox="none">
20074 \begin_layout Plain Layout
20081 <row topspace="default">
20082 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20085 \begin_layout Plain Layout
20091 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20094 \begin_layout Plain Layout
20100 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20103 \begin_layout Plain Layout
20122 \begin_layout Standard
20126 \begin_layout Plain Layout
20142 \begin_layout Standard
20146 \begin_layout Plain Layout
20152 arrayrulewidth}{1.2pt}
20160 \begin_layout Standard
20161 To color only some of the table lines another strategy is necessary.
20162 To color all following horizontal lines, insert this command as \SpecialChar TeX
20164 last thing in the row that should be above the first colored line:
20167 \begin_layout Standard
20176 arrayrulecolor{blue}%
20179 \begin_layout Standard
20180 To go back to black lines, add this command as first thing in the row that
20181 is above the black lines:
20184 \begin_layout Standard
20189 arrayrulecolor{black}
20192 \begin_layout Standard
20193 With this one can color table lines like in Table
20194 \begin_inset space ~
20198 \begin_inset CommandInset ref
20200 reference "tab:Table-with-different-hor"
20205 However, with this method it is not possible to color the line above the
20206 first row of a table.
20209 \begin_layout Standard
20210 \begin_inset Float table
20217 \begin_layout Plain Layout
20218 \begin_inset Caption Standard
20220 \begin_layout Plain Layout
20221 \begin_inset CommandInset label
20223 name "tab:Table-with-different-hor"
20227 Table with different horizontal line colors.
20235 \begin_layout Plain Layout
20237 \begin_inset Tabular
20238 <lyxtabular version="3" rows="6" columns="7">
20239 <features tabularvalignment="middle">
20240 <column alignment="center" valignment="top">
20241 <column alignment="center" valignment="top">
20242 <column alignment="center" valignment="top">
20243 <column alignment="center" valignment="top">
20244 <column alignment="center" valignment="top">
20245 <column alignment="center" valignment="top">
20246 <column alignment="center" valignment="top">
20248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20251 \begin_layout Plain Layout
20257 <cell alignment="center" valignment="top" topline="true" usebox="none">
20260 \begin_layout Plain Layout
20266 <cell alignment="center" valignment="top" topline="true" usebox="none">
20269 \begin_layout Plain Layout
20275 <cell alignment="center" valignment="top" topline="true" usebox="none">
20278 \begin_layout Plain Layout
20284 <cell alignment="center" valignment="top" topline="true" usebox="none">
20287 \begin_layout Plain Layout
20293 <cell alignment="center" valignment="top" topline="true" usebox="none">
20296 \begin_layout Plain Layout
20302 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
20305 \begin_layout Plain Layout
20309 \begin_layout Plain Layout
20317 arrayrulecolor{blue}%
20329 <cell alignment="center" valignment="top" usebox="none">
20332 \begin_layout Plain Layout
20338 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20341 \begin_layout Plain Layout
20347 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20350 \begin_layout Plain Layout
20356 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20359 \begin_layout Plain Layout
20365 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20368 \begin_layout Plain Layout
20374 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
20377 \begin_layout Plain Layout
20383 <cell alignment="center" valignment="top" usebox="none">
20386 \begin_layout Plain Layout
20394 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20397 \begin_layout Plain Layout
20401 \begin_layout Plain Layout
20405 arrayrulecolor{black}
20415 <cell alignment="center" valignment="top" usebox="none">
20418 \begin_layout Plain Layout
20424 <cell alignment="center" valignment="top" usebox="none">
20427 \begin_layout Plain Layout
20433 <cell alignment="center" valignment="top" usebox="none">
20436 \begin_layout Plain Layout
20442 <cell alignment="center" valignment="top" usebox="none">
20445 \begin_layout Plain Layout
20451 <cell alignment="center" valignment="top" usebox="none">
20454 \begin_layout Plain Layout
20460 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20463 \begin_layout Plain Layout
20471 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20474 \begin_layout Plain Layout
20480 <cell alignment="center" valignment="top" usebox="none">
20483 \begin_layout Plain Layout
20489 <cell alignment="center" valignment="top" usebox="none">
20492 \begin_layout Plain Layout
20498 <cell alignment="center" valignment="top" usebox="none">
20501 \begin_layout Plain Layout
20507 <cell alignment="center" valignment="top" usebox="none">
20510 \begin_layout Plain Layout
20516 <cell alignment="center" valignment="top" usebox="none">
20519 \begin_layout Plain Layout
20525 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20528 \begin_layout Plain Layout
20532 \begin_layout Plain Layout
20540 arrayrulecolor{green}%
20552 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20555 \begin_layout Plain Layout
20561 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20564 \begin_layout Plain Layout
20570 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20573 \begin_layout Plain Layout
20579 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20582 \begin_layout Plain Layout
20588 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20591 \begin_layout Plain Layout
20597 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20600 \begin_layout Plain Layout
20606 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
20609 \begin_layout Plain Layout
20617 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20620 \begin_layout Plain Layout
20624 \begin_layout Plain Layout
20628 arrayrulecolor{black}
20638 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20641 \begin_layout Plain Layout
20647 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20650 \begin_layout Plain Layout
20656 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20659 \begin_layout Plain Layout
20665 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20668 \begin_layout Plain Layout
20674 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20677 \begin_layout Plain Layout
20683 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20686 \begin_layout Plain Layout
20690 \begin_layout Plain Layout
20698 arrayrulecolor{blue}%
20721 \begin_layout Standard
20722 To change the color of vertical lines within a row, like in Table
20723 \begin_inset space ~
20727 \begin_inset CommandInset ref
20729 reference "tab:Table-with-different-ver"
20733 , one needs to use multicolumns.
20734 At first one needs to remove all vertical lines that don't run along the
20736 Now one colors all lines using the command
20739 \begin_layout Standard
20748 arrayrulecolor{blue}%
20751 \begin_layout Standard
20753 Finally one inserts this command as \SpecialChar TeX
20754 code to every cell in the row where
20755 one needs a vertical line in a different color:
20758 \begin_layout Standard
20774 \begin_layout Standard
20775 This adds a vertical line to both sides of the cell.
20776 The left one will be green, the right one red.
20777 If no color change is necessary one can omit the
20783 command in the above command.
20784 To get for example a black left line and a blue right line you can write:
20787 \begin_layout Standard
20799 \begin_layout Standard
20800 because the color blue was already set for all lines.
20805 creates hereby the vertical line while
20818 To set vertical lines without changing any color use
20821 \begin_layout Standard
20826 multicolumn{1}{|c|}{
20829 \begin_layout Standard
20830 After this command insert the cell content the normal way and end the cell
20831 with a closing brace
20835 in \SpecialChar TeX
20839 \begin_layout Standard
20840 \begin_inset Float table
20847 \begin_layout Plain Layout
20848 \begin_inset Caption Standard
20850 \begin_layout Plain Layout
20851 \begin_inset CommandInset label
20853 name "tab:Table-with-different-ver"
20857 Table with different vertical line colors in one row.
20865 \begin_layout Plain Layout
20867 \begin_inset Tabular
20868 <lyxtabular version="3" rows="5" columns="7">
20869 <features tabularvalignment="middle">
20870 <column alignment="center" valignment="top">
20871 <column alignment="center" valignment="top">
20872 <column alignment="center" valignment="top">
20873 <column alignment="center" valignment="top">
20874 <column alignment="center" valignment="top">
20875 <column alignment="center" valignment="top">
20876 <column alignment="center" valignment="top">
20878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20881 \begin_layout Plain Layout
20887 <cell alignment="center" valignment="top" topline="true" usebox="none">
20890 \begin_layout Plain Layout
20896 <cell alignment="center" valignment="top" topline="true" usebox="none">
20899 \begin_layout Plain Layout
20905 <cell alignment="center" valignment="top" topline="true" usebox="none">
20908 \begin_layout Plain Layout
20914 <cell alignment="center" valignment="top" topline="true" usebox="none">
20917 \begin_layout Plain Layout
20923 <cell alignment="center" valignment="top" topline="true" usebox="none">
20926 \begin_layout Plain Layout
20932 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
20935 \begin_layout Plain Layout
20939 \begin_layout Plain Layout
20947 arrayrulecolor{red}%
20959 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20962 \begin_layout Plain Layout
20966 \begin_layout Plain Layout
20983 \begin_layout Plain Layout
20995 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20998 \begin_layout Plain Layout
21004 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21007 \begin_layout Plain Layout
21013 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21016 \begin_layout Plain Layout
21022 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21025 \begin_layout Plain Layout
21031 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21034 \begin_layout Plain Layout
21038 \begin_layout Plain Layout
21042 multicolumn{1}{c|}{
21051 \begin_layout Plain Layout
21063 <cell alignment="center" valignment="top" rightline="true" usebox="none">
21066 \begin_layout Plain Layout
21070 \begin_layout Plain Layout
21087 \begin_layout Plain Layout
21101 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21104 \begin_layout Plain Layout
21108 \begin_layout Plain Layout
21112 arrayrulecolor{black}
21122 <cell alignment="center" valignment="top" usebox="none">
21125 \begin_layout Plain Layout
21131 <cell alignment="center" valignment="top" usebox="none">
21134 \begin_layout Plain Layout
21140 <cell alignment="center" valignment="top" usebox="none">
21143 \begin_layout Plain Layout
21149 <cell alignment="center" valignment="top" usebox="none">
21152 \begin_layout Plain Layout
21158 <cell alignment="center" valignment="top" usebox="none">
21161 \begin_layout Plain Layout
21167 <cell alignment="center" valignment="top" rightline="true" usebox="none">
21170 \begin_layout Plain Layout
21174 \begin_layout Plain Layout
21182 arrayrulecolor{magenta}%
21194 <cell alignment="center" valignment="top" leftline="true" usebox="none">
21197 \begin_layout Plain Layout
21201 \begin_layout Plain Layout
21205 multicolumn{1}{|c!{
21218 \begin_layout Plain Layout
21230 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21233 \begin_layout Plain Layout
21237 \begin_layout Plain Layout
21254 \begin_layout Plain Layout
21266 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21269 \begin_layout Plain Layout
21273 \begin_layout Plain Layout
21290 \begin_layout Plain Layout
21302 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21305 \begin_layout Plain Layout
21309 \begin_layout Plain Layout
21326 \begin_layout Plain Layout
21338 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21341 \begin_layout Plain Layout
21345 \begin_layout Plain Layout
21362 \begin_layout Plain Layout
21374 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
21377 \begin_layout Plain Layout
21381 \begin_layout Plain Layout
21398 \begin_layout Plain Layout
21410 <cell alignment="center" valignment="top" rightline="true" usebox="none">
21413 \begin_layout Plain Layout
21417 \begin_layout Plain Layout
21421 multicolumn{1}{c|}{
21430 \begin_layout Plain Layout
21444 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
21447 \begin_layout Plain Layout
21451 \begin_layout Plain Layout
21455 arrayrulecolor{black}
21465 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21468 \begin_layout Plain Layout
21474 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21477 \begin_layout Plain Layout
21483 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21486 \begin_layout Plain Layout
21492 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21495 \begin_layout Plain Layout
21501 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
21504 \begin_layout Plain Layout
21510 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
21513 \begin_layout Plain Layout
21532 \begin_layout Standard
21536 \begin_layout Plain Layout
21542 arrayrulewidth}{0.4pt}
21550 \begin_layout Section
21551 Rotated Table Cells
21552 \begin_inset CommandInset label
21554 name "sec:Rotated-Table-Cells"
21559 \begin_inset Index idx
21564 \begin_layout Plain Layout
21566 \begin_inset IndexMacro subentry
21569 \begin_layout Plain Layout
21581 \begin_inset Index idx
21586 \begin_layout Plain Layout
21595 \begin_layout Standard
21596 \begin_inset Note Greyedout
21599 \begin_layout Plain Layout
21604 Not all DVI-viewers are able to display rotations.
21612 \begin_layout Standard
21614 \begin_inset space ~
21618 \begin_inset CommandInset ref
21620 reference "tab:Table-with-rotated"
21627 is an example where 3
21628 \begin_inset space ~
21631 cells were rotated by 45
21632 \begin_inset space \thinspace{}
21638 \begin_layout Standard
21639 \begin_inset Float table
21646 \begin_layout Plain Layout
21647 \begin_inset Caption Standard
21649 \begin_layout Plain Layout
21650 \begin_inset CommandInset label
21652 name "tab:Table-with-rotated"
21656 Table with rotated cells in the first row.
21664 \begin_layout Plain Layout
21667 \begin_inset Tabular
21668 <lyxtabular version="3" rows="2" columns="3">
21669 <features tabularvalignment="middle">
21670 <column alignment="center" valignment="top" width="0pt">
21671 <column alignment="center" valignment="top" width="0pt">
21672 <column alignment="center" valignment="top" width="0pt">
21674 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21677 \begin_layout Plain Layout
21683 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21686 \begin_layout Plain Layout
21692 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21695 \begin_layout Plain Layout
21703 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21706 \begin_layout Plain Layout
21712 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21715 \begin_layout Plain Layout
21721 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21724 \begin_layout Plain Layout
21743 \begin_layout Standard
21744 \begin_inset Note Greyedout
21747 \begin_layout Plain Layout
21752 Line breaks (shortcut
21755 arg "newline-insert newline"
21758 ) are not allowed in rotated cells.
21766 \begin_layout Standard
21767 If you want to rotate table cells containing line breaks, you have to put
21768 the cell content into a minipage or a parbox.
21772 \begin_layout Plain Layout
21773 For more about these boxes see sec.
21774 \begin_inset space \thinspace{}
21778 \begin_inset CommandInset ref
21780 reference "sec:Minipages"
21785 \begin_inset CommandInset ref
21787 reference "sec:Parboxes"
21796 If you rotate this cell by 90
21797 \begin_inset space \thinspace{}
21800 ° the width of the box is the height of the cell.
21801 To avoid to estimate a suitable box width one can use a minipage with a
21803 Such a box is inserted by loading the module
21806 \begin_inset space ~
21811 in the document settings.
21812 Then one can use the menu
21814 Insert\SpecialChar menuseparator
21816 \begin_inset space ~
21819 Insets\SpecialChar menuseparator
21821 \begin_inset space ~
21827 \begin_inset space ~
21832 \begin_inset space ~
21836 \begin_inset CommandInset ref
21838 reference "tab:Table-with-rotated-multi"
21842 is an example for a rotated multiline cell where a variable width minipage
21846 \begin_layout Standard
21847 \begin_inset Float table
21854 \begin_layout Plain Layout
21855 \begin_inset Caption Standard
21857 \begin_layout Plain Layout
21858 \begin_inset CommandInset label
21860 name "tab:Table-with-rotated-multi"
21864 Table with rotated multiline cell.
21872 \begin_layout Plain Layout
21875 \begin_inset Tabular
21876 <lyxtabular version="3" rows="2" columns="3">
21877 <features tabularvalignment="middle">
21878 <column alignment="center" valignment="top">
21879 <column alignment="center" valignment="top" width="0pt">
21880 <column alignment="center" valignment="top">
21882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21885 \begin_layout Plain Layout
21891 <cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
21894 \begin_layout Plain Layout
21895 \begin_inset Flex Minipage (Var. Width)
21898 \begin_layout Plain Layout
21900 \begin_inset Newline newline
21904 \begin_inset space ~
21917 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21920 \begin_layout Plain Layout
21928 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21931 \begin_layout Plain Layout
21937 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21940 \begin_layout Plain Layout
21946 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21949 \begin_layout Plain Layout
21968 \begin_layout Section
21969 Table Width Calculation
21970 \begin_inset CommandInset label
21972 name "sec:Table-Width-Calculation"
21979 \begin_layout Standard
21980 For wide tables it is sometimes difficult to assure that the table does
21981 not protrude over the page margin.
21982 Setting a fixed width for every column of the table is the solution, but
21983 what amount of space is needed for each column?
21986 \begin_layout Standard
21988 \begin_inset Formula $W_{\mathrm{table}}$
21991 can be calculated: Every column has the width of the specified column width
21993 \begin_inset Formula $W_{\mathrm{column}}$
21996 (that the content of the column can consume) plus two times the separation
21997 between the column content and the column border (\SpecialChar LaTeX
22005 \begin_inset space \thinspace{}
22008 pt) plus the width of a border line (\SpecialChar LaTeX
22016 \begin_inset space \thinspace{}
22020 \begin_inset Formula $n$
22024 \begin_inset space ~
22027 columns have the same width, the table width is
22028 \begin_inset Formula
22030 W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
22038 \begin_layout Standard
22039 The available width for a table is the space between the page margins or
22040 the width of a text column (for a two-column document) (\SpecialChar LaTeX
22048 If all table columns should have the same width and
22049 \begin_inset Formula $W_{\mathrm{table}}$
22053 \begin_inset space \thinspace{}
22059 \begin_inset Formula $W_{\mathrm{column}}$
22062 can easily be calculated.
22065 \begin_layout Standard
22066 To be able to perform calculations you need to load the \SpecialChar LaTeX
22072 \begin_inset Index idx
22077 \begin_layout Plain Layout
22080 \begin_inset IndexMacro subentry
22083 \begin_layout Plain Layout
22094 in the document preamble.
22095 To set the width in the table dialog you have to use the field
22101 The command scheme for this field is the same that is explained in section
22102 \begin_inset space ~
22106 \begin_inset CommandInset ref
22108 reference "subsec:Multicolumn-Calculations"
22114 \begin_inset space \thinspace{}
22117 columns with an uniform width and centered text, enter there for each column
22121 \begin_layout Standard
22128 columnwidth-62.4pt)/5}
22131 \begin_layout Standard
22133 \begin_inset space \thinspace{}
22136 columns where 2 should have 0.75
22137 \begin_inset space ~
22140 times the width than the 3 others, the calculation is
22141 \begin_inset Formula
22143 \backslash\mbox{columnwidth} & =3\,W_{\mathrm{column}}+2\cdot0.75\,W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
22144 & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
22145 & =4.5\,W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
22146 W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
22154 \begin_layout Standard
22155 In the table therefore the command
22158 \begin_layout Standard
22165 columnwidth-62.4pt)/
22170 \begin_layout Standard
22171 is used for the wider columns and
22174 \begin_layout Standard
22181 columnwidth-62.4pt)/
22188 \begin_layout Standard
22189 for the smaller ones:
22192 \begin_layout Standard
22193 \begin_inset Tabular
22194 <lyxtabular version="3" rows="2" columns="5">
22195 <features tabularvalignment="middle">
22196 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
22197 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
22198 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
22199 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
22200 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
22202 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22205 \begin_layout Plain Layout
22211 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22214 \begin_layout Plain Layout
22220 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22223 \begin_layout Plain Layout
22229 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22232 \begin_layout Plain Layout
22238 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22241 \begin_layout Plain Layout
22249 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22252 \begin_layout Plain Layout
22253 111111 1111111 111111 111111111 11111 11111 1111
22258 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22261 \begin_layout Plain Layout
22267 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22270 \begin_layout Plain Layout
22271 2222 22222 222222 222222222 2222222 22 22222
22276 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
22279 \begin_layout Plain Layout
22285 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22288 \begin_layout Plain Layout
22289 333333 333333 333333 33333 3333333 333
22302 \begin_layout Section
22303 Table Customization
22304 \begin_inset Index idx
22309 \begin_layout Plain Layout
22310 Table Customization
22316 \begin_inset Index idx
22321 \begin_layout Plain Layout
22323 \begin_inset IndexMacro subentry
22326 \begin_layout Plain Layout
22340 \begin_layout Subsection
22342 \begin_inset CommandInset label
22344 name "subsec:Row-Spacing"
22349 \begin_inset Index idx
22354 \begin_layout Plain Layout
22355 Table Customization
22356 \begin_inset IndexMacro subentry
22359 \begin_layout Plain Layout
22373 \begin_layout Standard
22374 You can add vertical space to table rows in the
22378 tab of the table dialog.
22379 You find there three possibilities:
22382 \begin_layout Description
22384 \begin_inset space ~
22388 \begin_inset space ~
22391 row will add space above the characters of the table row.
22392 If the table is a formal table
22396 \begin_layout Plain Layout
22397 Formal tables are explained in section
22398 \begin_inset space ~
22402 \begin_inset CommandInset ref
22404 reference "sec:Formal-Tables"
22414 will insert as default 0.5
22415 \begin_inset space \thinspace{}
22419 For normal tables the inserted space will unfortunately destroy the vertical
22420 table lines as in the following table:
22421 \begin_inset VSpace medskip
22425 \begin_inset Newline newline
22429 \begin_inset space \hspace*{}
22434 \begin_inset space \hfill{}
22438 \begin_inset Tabular
22439 <lyxtabular version="3" rows="3" columns="1">
22440 <features tabularvalignment="middle">
22441 <column alignment="center" valignment="top">
22443 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22446 \begin_layout Plain Layout
22453 <row topspace="3mm">
22454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22457 \begin_layout Plain Layout
22459 \begin_inset space \thinspace{}
22462 mm space top of row
22469 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22472 \begin_layout Plain Layout
22484 \begin_inset space \hfill{}
22488 \begin_inset space \hspace*{}
22493 \begin_inset VSpace medskip
22497 \begin_inset Newline newline
22500 So inserting space in the top of row for normal tables is only useful when
22501 you don't have vertical lines.
22504 \begin_layout Description
22506 \begin_inset space ~
22510 \begin_inset space ~
22513 row will add space below the characters of the table row.
22514 If the table is a formal table \SpecialChar LyX
22515 will insert as default 0.5
22516 \begin_inset space \thinspace{}
22519 em space, for normal tables the default size is 2
22520 \begin_inset space \thinspace{}
22526 \begin_layout Description
22528 \begin_inset space ~
22531 rows adds space between the current and the following row.
22532 If the table is a formal table \SpecialChar LyX
22533 will insert as default 0.5
22534 \begin_inset space \thinspace{}
22538 For normal tables the inserted space will unfortunately destroy the vertical
22539 table lines as in the following table:
22540 \begin_inset VSpace medskip
22544 \begin_inset Newline newline
22548 \begin_inset space \hspace*{}
22553 \begin_inset space \hfill{}
22557 \begin_inset Tabular
22558 <lyxtabular version="3" rows="3" columns="1">
22559 <features tabularvalignment="middle">
22560 <column alignment="center" valignment="top">
22562 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22565 \begin_layout Plain Layout
22572 <row interlinespace="3mm">
22573 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22576 \begin_layout Plain Layout
22577 \begin_inset Formula $\downarrow$
22581 \begin_inset space \thinspace{}
22584 mm space between row
22585 \begin_inset Formula $\downarrow$
22595 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22598 \begin_layout Plain Layout
22599 \begin_inset Formula $\uparrow$
22603 \begin_inset space \thinspace{}
22606 mm space between row
22607 \begin_inset Formula $\uparrow$
22621 \begin_inset space \hfill{}
22625 \begin_inset space \hspace*{}
22630 \begin_inset VSpace medskip
22634 \begin_inset Newline newline
22637 So inserting space between rows for normal tables is only useful when you
22638 don't have vertical lines.
22641 \begin_layout Standard
22642 \begin_inset VSpace bigskip
22645 When you want to add extra height to all cells of all tables, you can do
22646 this with the following preamble lines:
22649 \begin_layout Standard
22654 @ifundefined{extrarowheight}
22655 \begin_inset Newline newline
22659 \begin_inset Phantom HPhantom
22662 \begin_layout Plain Layout
22665 \begin_inset space ~
22675 usepackage{array}}{}
22676 \begin_inset Newline newline
22683 extrarowheight}{height}
22686 \begin_inset Note Note
22689 \begin_layout Plain Layout
22694 will be loaded automatically by \SpecialChar LyX
22695 when you use self defined table formats.
22696 To avoid that it is loaded twice the command
22702 is used in the above command.
22710 \begin_layout Standard
22715 can have one of the units listed in appendix
22716 \begin_inset space ~
22720 \begin_inset CommandInset ref
22722 reference "cha:Units-available-in"
22727 But this has the disadvantage that the cell texts are no longer exactly
22728 vertically centered.
22731 \begin_layout Standard
22732 If you are using font sizes larger than the normal size, the table borders
22733 are often too close to the letters.
22734 This can be corrected by inserting the command
22740 in \SpecialChar TeX
22741 Code at the beginning of a table row.
22743 \begin_inset space ~
22747 \begin_inset CommandInset ref
22749 reference "tab:Vertical-alignment-of"
22753 illustrates the effect.
22756 \begin_layout Standard
22758 \begin_inset Float table
22765 \begin_layout Plain Layout
22766 \begin_inset Caption Standard
22768 \begin_layout Plain Layout
22769 \begin_inset CommandInset label
22771 name "tab:Vertical-alignment-of"
22775 Vertical alignment of text with large font sizes.
22783 \begin_layout Plain Layout
22784 \begin_inset space \hfill{}
22788 \begin_inset Float table
22795 \begin_layout Plain Layout
22796 \begin_inset Caption Standard
22798 \begin_layout Plain Layout
22807 \begin_layout Plain Layout
22810 \begin_inset Tabular
22811 <lyxtabular version="3" rows="6" columns="1">
22812 <features tabularvalignment="middle">
22813 <column alignment="left" valignment="top">
22815 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22818 \begin_layout Plain Layout
22826 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22829 \begin_layout Plain Layout
22839 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22842 \begin_layout Plain Layout
22852 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22855 \begin_layout Plain Layout
22865 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22868 \begin_layout Plain Layout
22878 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22881 \begin_layout Plain Layout
22900 \begin_inset space \hfill{}
22904 \begin_inset Float table
22911 \begin_layout Plain Layout
22912 \begin_inset Caption Standard
22914 \begin_layout Plain Layout
22915 Table using the command
22929 \begin_layout Plain Layout
22932 \begin_inset Tabular
22933 <lyxtabular version="3" rows="6" columns="1">
22934 <features tabularvalignment="middle">
22935 <column alignment="left" valignment="top">
22937 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22940 \begin_layout Plain Layout
22948 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22951 \begin_layout Plain Layout
22957 \begin_layout Plain Layout
22973 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22976 \begin_layout Plain Layout
22982 \begin_layout Plain Layout
22998 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23001 \begin_layout Plain Layout
23007 \begin_layout Plain Layout
23023 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23026 \begin_layout Plain Layout
23032 \begin_layout Plain Layout
23048 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23051 \begin_layout Plain Layout
23057 \begin_layout Plain Layout
23084 \begin_inset space \hfill{}
23095 \begin_layout Subsection
23096 Special Cell Alignment
23097 \begin_inset CommandInset label
23099 name "subsec:Special-Cell-Alignment"
23104 \begin_inset Index idx
23109 \begin_layout Plain Layout
23110 Table Customization
23111 \begin_inset IndexMacro subentry
23114 \begin_layout Plain Layout
23115 Special Cell Alignment
23128 \begin_layout Standard
23129 Sometimes it looks better when the cell entries of a column are aligned
23130 with a special character, e.
23131 \begin_inset space \thinspace{}
23135 \begin_inset space \space{}
23138 with the decimal separator as in Table
23139 \begin_inset space ~
23143 \begin_inset CommandInset ref
23145 reference "tab:Table-cells-align"
23150 This alignment is achieved by setting the cursor into the column and then
23151 either pressing the toolbar button
23154 arg "tabular-feature align-decimal"
23157 or setting the alignment in the table settings to
23160 \begin_inset space ~
23164 \begin_inset space ~
23170 The alignment character can be a character of your choice and is specified
23171 in the table settings.
23174 \begin_layout Standard
23175 \begin_inset Float table
23182 \begin_layout Plain Layout
23183 \begin_inset Caption Standard
23185 \begin_layout Plain Layout
23186 \begin_inset CommandInset label
23188 name "tab:Table-cells-align"
23192 Table cells of a column aligned with the decimal separator.
23200 \begin_layout Plain Layout
23202 \begin_inset Tabular
23203 <lyxtabular version="3" rows="4" columns="1">
23204 <features booktabs="true" tabularvalignment="middle">
23205 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
23207 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
23210 \begin_layout Plain Layout
23218 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23221 \begin_layout Plain Layout
23229 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
23232 \begin_layout Plain Layout
23240 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
23243 \begin_layout Plain Layout
23262 \begin_layout Standard
23263 \begin_inset Float table
23270 \begin_layout Plain Layout
23271 \begin_inset Caption Standard
23273 \begin_layout Plain Layout
23274 \begin_inset CommandInset label
23276 name "tab:Table-align-operator"
23280 Table cells of a column aligned with the operators.
23288 \begin_layout Plain Layout
23290 \begin_inset Tabular
23291 <lyxtabular version="3" rows="4" columns="2">
23292 <features booktabs="true" tabularvalignment="middle">
23293 <column alignment="right" valignment="top" width="0pt">
23294 <column alignment="left" valignment="top" width="0pt" special="@{}l">
23296 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
23299 \begin_layout Plain Layout
23305 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23308 \begin_layout Plain Layout
23316 <cell alignment="center" valignment="top" usebox="none">
23319 \begin_layout Plain Layout
23320 \begin_inset Formula $12\,+$
23328 <cell alignment="center" valignment="top" usebox="none">
23331 \begin_layout Plain Layout
23332 \begin_inset Formula $\,6$
23342 <cell alignment="center" valignment="top" usebox="none">
23345 \begin_layout Plain Layout
23346 \begin_inset Formula $0\,-$
23354 <cell alignment="center" valignment="top" usebox="none">
23357 \begin_layout Plain Layout
23358 \begin_inset Formula $\,68$
23368 <cell alignment="center" valignment="top" usebox="none">
23371 \begin_layout Plain Layout
23372 \begin_inset Formula $-123\,/$
23380 <cell alignment="center" valignment="top" usebox="none">
23383 \begin_layout Plain Layout
23384 \begin_inset Formula $\,0$
23405 \begin_layout Standard
23406 For alignments at characters in formulas this method does not work because
23407 the field to specify the alignment character does not allow formulas.
23408 In this case one need to use the method from Table
23409 \begin_inset space ~
23413 \begin_inset CommandInset ref
23415 reference "tab:Table-align-operator"
23420 This table was created with a 4×2 table.
23421 The heading is a centered multicolumn.
23422 The first column is right-aligned and contains the first part including
23424 The second column is left aligned and contains the rest.
23425 A small space was added at the beginning of each cell of the second column
23426 to get the space that is usually around operators.
23427 To omit the space that is normally between two table columns, the following
23429 -argument was used for the second column:
23432 \begin_layout Standard
23438 \begin_layout Standard
23440 \begin_inset space ~
23444 \begin_inset CommandInset ref
23446 reference "tab:Several-table-cell"
23450 shows some example alignments.
23451 For the alignment with the relation sign, a small space was added like
23452 for the second column of Table
23453 \begin_inset space ~
23457 \begin_inset CommandInset ref
23459 reference "tab:Table-align-operator"
23466 \begin_layout Standard
23467 \begin_inset Float table
23474 \begin_layout Plain Layout
23475 \begin_inset Caption Standard
23477 \begin_layout Plain Layout
23478 \begin_inset CommandInset label
23480 name "tab:Several-table-cell"
23484 Several table cell alignments.
23492 \begin_layout Plain Layout
23494 \begin_inset Tabular
23495 <lyxtabular version="3" rows="4" columns="6">
23496 <features tabularvalignment="middle">
23497 <column alignment="right" valignment="top">
23498 <column alignment="left" valignment="top" special="@{}l">
23499 <column alignment="right" valignment="top">
23500 <column alignment="left" valignment="top" special="@{}l">
23501 <column alignment="right" valignment="top">
23502 <column alignment="left" valignment="top" special="@{}l">
23504 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
23507 \begin_layout Plain Layout
23513 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23516 \begin_layout Plain Layout
23522 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
23525 \begin_layout Plain Layout
23531 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23534 \begin_layout Plain Layout
23540 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
23543 \begin_layout Plain Layout
23549 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23552 \begin_layout Plain Layout
23560 <cell alignment="center" valignment="top" usebox="none">
23563 \begin_layout Plain Layout
23569 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23572 \begin_layout Plain Layout
23574 \begin_inset space \thinspace{}
23582 <cell alignment="center" valignment="top" usebox="none">
23585 \begin_layout Plain Layout
23586 \begin_inset Formula $10\cdot$
23594 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23597 \begin_layout Plain Layout
23598 \begin_inset Formula $10^{\mbox{-}17}$
23606 <cell alignment="center" valignment="top" usebox="none">
23609 \begin_layout Plain Layout
23610 \begin_inset Formula $\Gamma(t)\propto$
23618 <cell alignment="center" valignment="top" usebox="none">
23621 \begin_layout Plain Layout
23622 \begin_inset Formula $\:\Upsilon(t)$
23632 <cell alignment="center" valignment="top" usebox="none">
23635 \begin_layout Plain Layout
23641 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23644 \begin_layout Plain Layout
23646 \begin_inset space \thinspace{}
23654 <cell alignment="center" valignment="top" usebox="none">
23657 \begin_layout Plain Layout
23658 \begin_inset Formula $5.78\cdot$
23666 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23669 \begin_layout Plain Layout
23670 \begin_inset Formula $10^{7}$
23678 <cell alignment="center" valignment="top" usebox="none">
23681 \begin_layout Plain Layout
23682 \begin_inset Formula $A\ne$
23690 <cell alignment="center" valignment="top" usebox="none">
23693 \begin_layout Plain Layout
23694 \begin_inset Formula $\:B_{\mathrm{red}}$
23704 <cell alignment="center" valignment="top" usebox="none">
23707 \begin_layout Plain Layout
23713 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23716 \begin_layout Plain Layout
23718 \begin_inset space \thinspace{}
23726 <cell alignment="center" valignment="top" usebox="none">
23729 \begin_layout Plain Layout
23731 \begin_inset Formula $33.5\cdot$
23739 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23742 \begin_layout Plain Layout
23743 \begin_inset Formula $10^{4}$
23751 <cell alignment="center" valignment="top" usebox="none">
23754 \begin_layout Plain Layout
23755 \begin_inset Formula $\sin(\alpha)\ge$
23763 <cell alignment="center" valignment="top" usebox="none">
23766 \begin_layout Plain Layout
23767 \begin_inset Formula $\:\sin(\beta)$
23788 \begin_layout Subsection
23789 Customized Cell/Column Format
23790 \begin_inset CommandInset label
23792 name "subsec:Customized-Format"
23797 \begin_inset Index idx
23802 \begin_layout Plain Layout
23803 Table Customization
23804 \begin_inset IndexMacro subentry
23807 \begin_layout Plain Layout
23821 \begin_layout Standard
23822 Calculating the required width for normal columns as described in section
23823 \begin_inset space ~
23827 \begin_inset CommandInset ref
23829 reference "sec:Table-Width-Calculation"
23833 or for spanned columns as described in section
23834 \begin_inset space ~
23838 \begin_inset CommandInset ref
23840 reference "subsec:Multicolumn-Calculations"
23844 is very annoying if you have several tables where a calculation is necessary.
23845 To make life easier, you can define a cell/column format in the preamble,
23846 that can be used in all tables of the document.
23847 The format is defined with the command
23850 \begin_layout Standard
23855 newcolumntype{name of format}[number of arguments]{commands}
23858 \begin_layout Standard
23859 The format name may only consist of one letter.
23884 are predefined and cannot be used.
23885 But all letters are allowed as capitals.
23888 \begin_layout Standard
23889 \begin_inset VSpace medskip
23895 \begin_layout Standard
23896 For vertically and horizontally centered multicolumn cells with a fixed
23897 width you can define the cell format
23900 \begin_layout Standard
23905 newcolumntype{M}[1]{>{
23912 \begin_layout Standard
23919 avoids the problem of hyphenating the first word, as described in section
23920 \begin_inset space ~
23924 \begin_inset CommandInset ref
23926 reference "subsec:Multiple-Lines-in"
23931 Now you can simply enter
23934 \begin_layout Standard
23940 \begin_layout Standard
23946 in the table dialog to create a multicolumn.
23949 \begin_layout Standard
23950 \begin_inset VSpace bigskip
23956 \begin_layout Standard
23957 For cells spanned by a multicolumn cell, you can define the format
23960 \begin_layout Standard
23965 newcolumntype{S}[2]{>{
23970 \begin_inset Newline newline
23974 \begin_inset Phantom HPhantom
23977 \begin_layout Plain Layout
23991 arrayrulewidth)*(1-#2))/#2}}
23994 \begin_layout Standard
23995 This format uses equation
23996 \begin_inset CommandInset ref
24002 to calculate the required width so that each spanned cell has the same
24006 \begin_layout Standard
24010 \begin_layout Standard
24013 S{width of multicolumn cell}{number of spanned columns}
24016 \begin_layout Standard
24017 as \SpecialChar LaTeX
24018 -argument of the column.
24021 \begin_layout Standard
24022 \begin_inset VSpace bigskip
24028 \begin_layout Standard
24029 For colored columns, you can define
24032 \begin_layout Standard
24037 newcolumntype{K}[1]{>{
24044 \begin_layout Standard
24046 \begin_inset Quotes eld
24050 \begin_inset Quotes erd
24053 at the end creates a column with a flexible width whose text is horizontally
24058 \begin_layout Standard
24064 \begin_layout Standard
24065 as \SpecialChar LaTeX
24069 \begin_layout Standard
24070 \begin_inset VSpace bigskip
24076 \begin_layout Standard
24078 \begin_inset space ~
24082 \begin_inset CommandInset ref
24084 reference "tab:Table-using-user-defined"
24088 use the \SpecialChar LaTeX
24092 \begin_layout Standard
24098 \begin_layout Standard
24099 for the first column and the multicolumn,
24102 \begin_layout Standard
24108 \begin_layout Standard
24109 for the last column, and
24112 \begin_layout Standard
24118 \begin_layout Standard
24119 for the cells in the second column.
24122 \begin_layout Standard
24123 \begin_inset Float table
24130 \begin_layout Plain Layout
24131 \begin_inset Caption Standard
24133 \begin_layout Plain Layout
24134 \begin_inset CommandInset label
24136 name "tab:Table-using-user-defined"
24140 Table using user-defined table formats
24148 \begin_layout Plain Layout
24150 \begin_inset Tabular
24151 <lyxtabular version="3" rows="3" columns="4">
24152 <features tabularvalignment="middle">
24153 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
24154 <column alignment="center" valignment="middle" special="S{2.5cm}{2}">
24155 <column alignment="center" valignment="middle">
24156 <column alignment="center" valignment="middle" special="K{red}">
24158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24161 \begin_layout Plain Layout
24162 verylongtablecellword
24167 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
24170 \begin_layout Plain Layout
24171 multiple lines multicolumn
24176 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24179 \begin_layout Plain Layout
24185 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24188 \begin_layout Plain Layout
24196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24199 \begin_layout Plain Layout
24205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24208 \begin_layout Plain Layout
24214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24217 \begin_layout Plain Layout
24223 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24226 \begin_layout Plain Layout
24234 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24237 \begin_layout Plain Layout
24243 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24246 \begin_layout Plain Layout
24252 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24255 \begin_layout Plain Layout
24261 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24264 \begin_layout Plain Layout
24283 \begin_layout Subsection
24285 \begin_inset CommandInset label
24287 name "subsec:Line-Thickness"
24292 \begin_inset Index idx
24297 \begin_layout Plain Layout
24298 Table Customization
24299 \begin_inset IndexMacro subentry
24302 \begin_layout Plain Layout
24316 \begin_layout Standard
24317 The line thickness for all lines in a table can be adjusted with the length
24325 To set for example a line thickness of 1.5
24326 \begin_inset space \thinspace{}
24330 \begin_inset space ~
24334 \begin_inset CommandInset ref
24336 reference "tab:Table-with-1.5"
24340 , insert the command
24343 \begin_layout Standard
24350 arrayrulewidth}{1.5pt}
24353 \begin_layout Standard
24354 in \SpecialChar TeX
24355 Code before the table or table float.
24356 The changed thickness is valid for all subsequent tables.
24357 To use the default value again, set
24364 \begin_inset space \thinspace{}
24367 pt in \SpecialChar TeX
24368 Code after the table or table float.
24371 \begin_layout Standard
24375 \begin_layout Plain Layout
24381 arrayrulewidth}{1.5pt}
24387 \begin_inset Float table
24394 \begin_layout Plain Layout
24395 \begin_inset Caption Standard
24397 \begin_layout Plain Layout
24398 \begin_inset CommandInset label
24400 name "tab:Table-with-1.5"
24405 \begin_inset space \thinspace{}
24416 \begin_layout Plain Layout
24418 \begin_inset Tabular
24419 <lyxtabular version="3" rows="3" columns="3">
24420 <features tabularvalignment="middle">
24421 <column alignment="center" valignment="top">
24422 <column alignment="center" valignment="top">
24423 <column alignment="center" valignment="top">
24425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24428 \begin_layout Plain Layout
24434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24437 \begin_layout Plain Layout
24443 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24446 \begin_layout Plain Layout
24454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24457 \begin_layout Plain Layout
24463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24466 \begin_layout Plain Layout
24472 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24475 \begin_layout Plain Layout
24483 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24486 \begin_layout Plain Layout
24492 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24495 \begin_layout Plain Layout
24501 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24504 \begin_layout Plain Layout
24524 \begin_layout Plain Layout
24530 arrayrulewidth}{0.4pt}
24538 \begin_layout Standard
24539 \begin_inset VSpace bigskip
24542 To set the line thickness to 1.5
24543 \begin_inset space \thinspace{}
24546 pt only for horizontal lines, as in Table
24547 \begin_inset space ~
24551 \begin_inset CommandInset ref
24553 reference "tab:Table-with-horizontal"
24557 , insert these commands in \SpecialChar TeX
24558 Code before the table or table float:
24561 \begin_layout Standard
24571 \begin_inset Newline newline
24579 \begin_inset Newline newline
24588 arrayrulewidth 1.5pt}
24589 \begin_inset Newline newline
24600 arrayrulewidth 0.4pt}}
24603 \begin_layout Standard
24604 To return to the default line thickness, insert this command in \SpecialChar TeX
24606 the table or table float:
24609 \begin_layout Standard
24621 \begin_layout Standard
24625 \begin_layout Plain Layout
24636 \begin_layout Plain Layout
24645 \begin_layout Plain Layout
24653 arrayrulewidth 1.5pt}
24656 \begin_layout Plain Layout
24666 arrayrulewidth 0.4pt}}
24672 \begin_inset Float table
24679 \begin_layout Plain Layout
24680 \begin_inset Caption Standard
24682 \begin_layout Plain Layout
24683 \begin_inset CommandInset label
24685 name "tab:Table-with-horizontal"
24690 \begin_inset space \thinspace{}
24693 pt thick horizontal lines
24701 \begin_layout Plain Layout
24703 \begin_inset Tabular
24704 <lyxtabular version="3" rows="3" columns="3">
24705 <features tabularvalignment="middle">
24706 <column alignment="center" valignment="top">
24707 <column alignment="center" valignment="top">
24708 <column alignment="center" valignment="top">
24710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24713 \begin_layout Plain Layout
24719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24722 \begin_layout Plain Layout
24728 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24731 \begin_layout Plain Layout
24739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24742 \begin_layout Plain Layout
24748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24751 \begin_layout Plain Layout
24757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24760 \begin_layout Plain Layout
24768 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24771 \begin_layout Plain Layout
24777 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24780 \begin_layout Plain Layout
24786 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24789 \begin_layout Plain Layout
24809 \begin_layout Plain Layout
24825 \begin_layout Standard
24826 \begin_inset VSpace bigskip
24829 To set the line thickness to 1.5
24830 \begin_inset space \thinspace{}
24833 pt only for vertical lines, create the following column format in the document
24834 preamble, according to the description in section
24835 \begin_inset space ~
24839 \begin_inset CommandInset ref
24841 reference "subsec:Customized-Format"
24848 \begin_layout Standard
24853 newcolumntype{V}{!{
24855 vrule width 1.5pt}}
24858 \begin_layout Standard
24860 \begin_inset space ~
24864 \begin_inset CommandInset ref
24866 reference "tab:Table-with-vertical"
24870 the \SpecialChar LaTeX
24874 \begin_layout Standard
24880 \begin_layout Standard
24881 was used for the last column and
24884 \begin_layout Standard
24890 \begin_layout Standard
24891 for the other columns.
24894 \begin_layout Standard
24895 \begin_inset Float table
24902 \begin_layout Plain Layout
24903 \begin_inset Caption Standard
24905 \begin_layout Plain Layout
24906 \begin_inset CommandInset label
24908 name "tab:Table-with-vertical"
24913 \begin_inset space \thinspace{}
24916 pt thick vertical lines
24924 \begin_layout Plain Layout
24926 \begin_inset Tabular
24927 <lyxtabular version="3" rows="3" columns="3">
24928 <features tabularvalignment="middle">
24929 <column alignment="center" valignment="top" special="Vc">
24930 <column alignment="center" valignment="top" special="Vc">
24931 <column alignment="center" valignment="top" special="VcV">
24933 <cell alignment="center" valignment="top" topline="true" usebox="none">
24936 \begin_layout Plain Layout
24942 <cell alignment="center" valignment="top" topline="true" usebox="none">
24945 \begin_layout Plain Layout
24951 <cell alignment="center" valignment="top" topline="true" usebox="none">
24954 \begin_layout Plain Layout
24962 <cell alignment="center" valignment="top" topline="true" usebox="none">
24965 \begin_layout Plain Layout
24971 <cell alignment="center" valignment="top" topline="true" usebox="none">
24974 \begin_layout Plain Layout
24980 <cell alignment="center" valignment="top" topline="true" usebox="none">
24983 \begin_layout Plain Layout
24991 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24994 \begin_layout Plain Layout
25000 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25003 \begin_layout Plain Layout
25009 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25012 \begin_layout Plain Layout
25031 \begin_layout Subsection
25033 \begin_inset Index idx
25038 \begin_layout Plain Layout
25039 Table Customization
25040 \begin_inset IndexMacro subentry
25043 \begin_layout Plain Layout
25057 \begin_layout Standard
25061 \begin_layout Plain Layout
25071 \begin_inset Note Note
25074 \begin_layout Plain Layout
25075 The following section will only be displayed when the \SpecialChar LaTeX
25088 \begin_layout Standard
25089 \begin_inset Float table
25096 \begin_layout Plain Layout
25097 \begin_inset Caption Standard
25099 \begin_layout Plain Layout
25100 \begin_inset CommandInset label
25102 name "tab:Table-with-dashed"
25106 Table with dashed lines
25114 \begin_layout Plain Layout
25116 \begin_inset Tabular
25117 <lyxtabular version="3" rows="5" columns="5">
25118 <features tabularvalignment="middle">
25119 <column alignment="center" valignment="top">
25120 <column alignment="center" valignment="top">
25121 <column alignment="center" valignment="top" special=":c">
25122 <column alignment="center" valignment="top">
25123 <column alignment="center" valignment="top">
25125 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25128 \begin_layout Plain Layout
25134 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25137 \begin_layout Plain Layout
25143 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25146 \begin_layout Plain Layout
25152 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25155 \begin_layout Plain Layout
25161 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25164 \begin_layout Plain Layout
25172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25175 \begin_layout Plain Layout
25181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25184 \begin_layout Plain Layout
25190 <cell alignment="center" valignment="top" topline="true" usebox="none">
25193 \begin_layout Plain Layout
25199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25202 \begin_layout Plain Layout
25208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25211 \begin_layout Plain Layout
25219 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25222 \begin_layout Plain Layout
25226 \begin_layout Plain Layout
25240 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25243 \begin_layout Plain Layout
25249 <cell alignment="center" valignment="top" usebox="none">
25252 \begin_layout Plain Layout
25258 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25261 \begin_layout Plain Layout
25267 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25270 \begin_layout Plain Layout
25278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25281 \begin_layout Plain Layout
25285 \begin_layout Plain Layout
25299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25302 \begin_layout Plain Layout
25308 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
25311 \begin_layout Plain Layout
25317 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25320 \begin_layout Plain Layout
25326 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25329 \begin_layout Plain Layout
25337 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25340 \begin_layout Plain Layout
25346 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25349 \begin_layout Plain Layout
25355 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25358 \begin_layout Plain Layout
25364 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25367 \begin_layout Plain Layout
25373 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25376 \begin_layout Plain Layout
25395 \begin_layout Standard
25397 does not natively support dashed lines, so you have to use \SpecialChar TeX
25399 As a prerequisite the \SpecialChar LaTeX
25405 \begin_inset Index idx
25410 \begin_layout Plain Layout
25413 \begin_inset IndexMacro subentry
25416 \begin_layout Plain Layout
25427 must be loaded in the document preamble with the command
25430 \begin_layout Standard
25435 usepackage{arydshln}
25438 \begin_layout Standard
25439 To make a vertical line dashed, enter the colon
25440 \begin_inset Quotes eld
25444 \begin_inset Quotes erd
25447 together with the character for the horizontal alignment as \SpecialChar LaTeX
25449 the table cell dialog.
25452 \begin_layout Standard
25453 For a horizontal dashed line add the command
25456 \begin_layout Standard
25464 \begin_layout Standard
25465 in \SpecialChar TeX
25466 Code as first element of the first cell in the table row.
25469 \begin_layout Standard
25470 For dashed multicolumn lines use the command
25473 \begin_layout Standard
25478 cdashline{line number
25483 \begin_layout Standard
25484 in \SpecialChar TeX
25485 Code as the first element of the first cell in the table row.
25486 If you have for example a multicolumn spanning columns 2 to 4 and you want
25487 to have a dashed line above, add the command
25490 \begin_layout Standard
25498 \begin_layout Standard
25499 as the first element of the first cell in the row of the multicolumn.
25502 \begin_layout Standard
25503 \begin_inset VSpace bigskip
25509 \begin_layout Standard
25511 \begin_inset space ~
25515 \begin_inset CommandInset ref
25517 reference "tab:Table-with-dashed"
25522 \begin_inset Quotes eld
25530 \begin_inset Quotes erd
25533 as \SpecialChar LaTeX
25534 argument of the third column.
25535 The \SpecialChar TeX
25542 was inserted in the first cell of the third row and the \SpecialChar TeX
25544 \begin_inset Newline newline
25553 was inserted in the first cell of the fourth row.
25556 \begin_layout Standard
25557 \begin_inset VSpace bigskip
25563 \begin_layout Standard
25564 Tables with dashed lines can also be colored as shown by Table
25565 \begin_inset space ~
25569 \begin_inset CommandInset ref
25571 reference "tab:Colored-table-with"
25578 \begin_layout Standard
25582 \begin_layout Plain Layout
25588 arrayrulewidth}{1pt}
25594 \begin_inset Note Note
25597 \begin_layout Plain Layout
25598 thicker lines for better visualization of the line color
25606 \begin_layout Standard
25610 \begin_layout Plain Layout
25614 dashgapcolor{green}
25620 \begin_inset Note Note
25623 \begin_layout Plain Layout
25624 color gaps between dashes green
25632 \begin_layout Standard
25636 \begin_layout Plain Layout
25647 \begin_layout Plain Layout
25656 \begin_layout Plain Layout
25660 arrayrulecolor{red}
25664 arrayrulecolor{black}}
25670 \begin_inset Note Note
25673 \begin_layout Plain Layout
25674 color horizontal, dashed lines red
25682 \begin_layout Standard
25686 \begin_layout Plain Layout
25697 \begin_layout Plain Layout
25706 \begin_layout Plain Layout
25710 arrayrulecolor{yellow}
25714 arrayrulecolor{black}}
25720 \begin_inset Note Note
25723 \begin_layout Plain Layout
25724 color partial horizontal, dashed lines yellow
25732 \begin_layout Standard
25733 \begin_inset Float table
25740 \begin_layout Plain Layout
25741 \begin_inset Caption Standard
25743 \begin_layout Plain Layout
25744 \begin_inset CommandInset label
25746 name "tab:Colored-table-with"
25750 Colored table with dashed lines
25758 \begin_layout Plain Layout
25760 \begin_inset Tabular
25761 <lyxtabular version="3" rows="5" columns="5">
25762 <features tabularvalignment="middle">
25763 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
25764 <column alignment="center" valignment="top" width="0pt">
25765 <column alignment="center" valignment="top" width="0pt" special=":c">
25766 <column alignment="center" valignment="top">
25767 <column alignment="center" valignment="top">
25769 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25772 \begin_layout Plain Layout
25778 <cell alignment="center" valignment="top" topline="true" usebox="none">
25781 \begin_layout Plain Layout
25787 <cell alignment="center" valignment="top" topline="true" usebox="none">
25790 \begin_layout Plain Layout
25796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25799 \begin_layout Plain Layout
25805 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25808 \begin_layout Plain Layout
25816 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25819 \begin_layout Plain Layout
25825 <cell alignment="center" valignment="top" topline="true" usebox="none">
25828 \begin_layout Plain Layout
25834 <cell alignment="center" valignment="top" topline="true" usebox="none">
25837 \begin_layout Plain Layout
25843 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25846 \begin_layout Plain Layout
25852 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25855 \begin_layout Plain Layout
25863 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25866 \begin_layout Plain Layout
25870 \begin_layout Plain Layout
25883 \begin_layout Plain Layout
25897 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25900 \begin_layout Plain Layout
25906 <cell alignment="center" valignment="top" usebox="none">
25909 \begin_layout Plain Layout
25915 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25918 \begin_layout Plain Layout
25924 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25927 \begin_layout Plain Layout
25935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25938 \begin_layout Plain Layout
25942 \begin_layout Plain Layout
25956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25959 \begin_layout Plain Layout
25965 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
25968 \begin_layout Plain Layout
25974 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25977 \begin_layout Plain Layout
25983 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25986 \begin_layout Plain Layout
25994 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25997 \begin_layout Plain Layout
26003 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26006 \begin_layout Plain Layout
26012 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
26015 \begin_layout Plain Layout
26021 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
26024 \begin_layout Plain Layout
26030 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
26033 \begin_layout Plain Layout
26037 \begin_layout Plain Layout
26064 \begin_layout Standard
26068 \begin_layout Plain Layout
26082 \begin_inset Note Note
26085 \begin_layout Plain Layout
26094 \begin_layout Standard
26098 \begin_layout Plain Layout
26112 \begin_inset Note Note
26115 \begin_layout Plain Layout
26124 \begin_layout Standard
26128 \begin_layout Plain Layout
26138 \begin_inset Note Note
26141 \begin_layout Plain Layout
26150 \begin_layout Standard
26154 \begin_layout Plain Layout
26160 arrayrulewidth}{0.4pt}
26166 \begin_inset Note Note
26169 \begin_layout Plain Layout
26178 \begin_layout Standard
26179 The coloring of lines, columns and lines works as decribed in section
26180 \begin_inset space ~
26184 \begin_inset CommandInset ref
26186 reference "sec:Colored-Tables"
26191 Coloring horizontal lines works analogically as described there as well,
26192 one only needs to replace in the commands
26216 ; so one uses the command
26219 \begin_layout Standard
26229 \begin_inset Newline newline
26237 \begin_inset Newline newline
26241 \begin_inset Phantom HPhantom
26244 \begin_layout Plain Layout
26245 \begin_inset space ~
26255 arrayrulecolor{red}
26259 arrayrulecolor{black}}
26262 \begin_layout Standard
26272 \begin_layout Standard
26282 \begin_inset Newline newline
26290 \begin_inset Newline newline
26294 \begin_inset Phantom HPhantom
26297 \begin_layout Plain Layout
26298 \begin_inset space ~
26308 arrayrulecolor{red}
26312 arrayrulecolor{black}}
26315 \begin_layout Standard
26316 To get back the black line color, one needs to insert the following commands
26317 as \SpecialChar TeX
26318 Code behind the table:
26321 \begin_layout Standard
26329 \begin_layout Standard
26341 \begin_layout Standard
26349 \begin_layout Standard
26361 \begin_layout Standard
26362 To color the gaps between the dashes the command
26365 \begin_layout Standard
26370 dashgapcolor{color}
26373 \begin_layout Standard
26374 can be used in front of a table as \SpecialChar TeX
26376 color is hereby the name of a defined color.
26380 \begin_layout Standard
26388 \begin_layout Standard
26389 unsets the changes made by
26398 \begin_layout Standard
26399 \begin_inset Note Greyedout
26402 \begin_layout Plain Layout
26408 : If there are multiple commands in a cell, the command of
26412 needs to be the first one in the cell.
26418 \begin_inset space ~
26422 \begin_inset CommandInset ref
26424 reference "tab:Colored-table-with"
26448 \begin_layout Standard
26449 \begin_inset Note Greyedout
26452 \begin_layout Plain Layout
26458 The \SpecialChar LaTeX
26463 must be loaded in the document preamble before the \SpecialChar LaTeX
26469 \begin_inset Index idx
26474 \begin_layout Plain Layout
26477 \begin_inset IndexMacro subentry
26480 \begin_layout Plain Layout
26499 \begin_layout Standard
26503 \begin_layout Plain Layout
26513 \begin_inset Note Note
26516 \begin_layout Plain Layout
26517 The following will be displayed when the \SpecialChar LaTeX
26530 \begin_layout Standard
26531 You need to install the package
26535 to see the content of this section in the output.
26538 \begin_layout Standard
26542 \begin_layout Plain Layout
26554 \begin_layout Standard
26555 For more information about dashed lines see the documentation of
26560 \begin_inset CommandInset citation
26570 \begin_layout Chapter
26572 \begin_inset CommandInset label
26579 \begin_inset Index idx
26584 \begin_layout Plain Layout
26593 \begin_layout Section
26595 \begin_inset CommandInset label
26597 name "sec:FloatIntroduction"
26602 \begin_inset Index idx
26607 \begin_layout Plain Layout
26609 \begin_inset IndexMacro subentry
26612 \begin_layout Plain Layout
26626 \begin_layout Standard
26627 A float is a block of text associated with some sort of label, which doesn't
26628 have a fixed location.
26630 \begin_inset Quotes eld
26634 \begin_inset Quotes erd
26637 forward or backward a page or two, to wherever it fits best.
26645 \begin_inset space ~
26650 are also floats because they can float to the next page when there are
26651 too many notes on the page.
26654 \begin_layout Standard
26655 Floats allow a high quality layout.
26656 Images and tables can be spread evenly among the pages to avoid white space
26657 and pages without text.
26658 As the floating often destroys the context between the text and the image/table
26659 , every float can be referenced in the text.
26660 Floats are therefore numbered.
26661 Referencing is described in section
26662 \begin_inset space ~
26666 \begin_inset CommandInset ref
26668 reference "sec:Referencing-Floats"
26675 \begin_layout Standard
26676 To insert a float, use the menu
26678 Insert\SpecialChar menuseparator
26684 arg "float-insert figure"
26690 arg "float-insert table"
26698 inset, a box with a label.
26699 The label will automatically be translated to the document language in
26701 After the label you can insert the caption text.
26702 The image or table is inserted above or below the caption in a separate
26703 paragraph within the float.
26704 More about the caption placement is contained in section
26705 \begin_inset space ~
26709 \begin_inset CommandInset ref
26711 reference "sec:Caption-Placement"
26716 To keep your \SpecialChar LyX
26717 document readable, you can open and close the float box by
26718 left-clicking on the box label.
26719 A closed float box looks like this:
26720 \begin_inset Graphics
26721 filename clipart/float.png
26723 scaleBeforeRotation
26727 – a gray button with a red label.
26730 \begin_layout Standard
26731 It is recommended that you insert floats as separate standard paragraphs
26732 to avoid possible \SpecialChar LaTeX
26733 -errors that can occur when the surrounding text is specially
26737 \begin_layout Standard
26738 Existing figures or tables can be put into a float by highlighting them
26739 and then pressing the corresponding toolbar button for a new float.
26742 \begin_layout Section
26746 \begin_layout Standard
26747 Besides figure and table floats that are described in sections
26748 \begin_inset space ~
26752 \begin_inset CommandInset ref
26754 reference "sec:Figure-Floats"
26759 \begin_inset CommandInset ref
26761 reference "sec:Table-Floats"
26765 respectively, \SpecialChar LyX
26766 offers the float types
26775 The latter are explained in sec.
26776 \begin_inset space \thinspace{}
26780 \begin_inset CommandInset ref
26782 reference "sec:Wrap-Floats"
26789 \begin_layout Subsection
26791 \begin_inset Index idx
26796 \begin_layout Plain Layout
26798 \begin_inset IndexMacro subentry
26801 \begin_layout Plain Layout
26815 \begin_layout Standard
26816 \begin_inset Float algorithm
26823 \begin_layout Plain Layout
26824 \begin_inset Caption Standard
26826 \begin_layout Plain Layout
26827 \begin_inset CommandInset label
26829 name "alg:Example-Algorithm-float"
26833 Example Algorithm float
26841 \begin_layout LyX-Code
26843 \begin_inset Newline newline
26846 Sum := Sum + A(I); /* comment */
26847 \begin_inset Newline newline
26851 \begin_inset VSpace -4mm
26862 \begin_layout Standard
26863 This float type is inserted with the menu
26865 Insert\SpecialChar menuseparator
26866 Float\SpecialChar menuseparator
26870 It is used for program codes and descriptions of algorithms and can be
26871 seen as an alternative to program code listings that are explained in chapter
26872 \begin_inset space ~
26876 \begin_inset CommandInset ref
26878 reference "cha:Program-Code-Listings"
26883 A possible environment for algorithms is the
26888 , described in \SpecialChar LyX
26895 \begin_inset space ~
26899 \begin_inset CommandInset ref
26901 reference "alg:Example-Algorithm-float"
26905 is an example of an algorithm float where -4
26906 \begin_inset space \thinspace{}
26909 mm vertical space was added at the end of the float to have the bottom rule
26910 exactly below the last text line.
26913 \begin_layout Standard
26914 The float label is not automatically translated into the document language.
26915 If your document is not in English, you have to do this manually by adding
26916 the following line to the document preamble
26921 \begin_layout Standard
26926 floatname{algorithm}{your
26927 \begin_inset space ~
26933 \begin_layout Standard
26937 \begin_inset space ~
26943 \begin_inset Quotes eld
26951 \begin_inset Quotes erd
26957 \begin_layout Standard
26958 To insert the list of algorithms you can use the menu
26960 Insert\SpecialChar menuseparator
26962 \begin_inset space \thinspace{}
26966 \begin_inset space \thinspace{}
26969 TOC\SpecialChar menuseparator
26972 when your document has the same language as \SpecialChar LyX
26974 In other cases use this command in \SpecialChar TeX
26978 \begin_layout Standard
26983 listof{algorithm}{your
26984 \begin_inset space ~
26990 \begin_layout Standard
26994 \begin_inset space ~
27000 \begin_inset Quotes eld
27008 \begin_inset Quotes erd
27014 \begin_layout Standard
27015 Algorithm floats are not by default numbered in the scheme
27016 \begin_inset Quotes eld
27020 \begin_inset Quotes erd
27023 as is the case for table and figure floats in many document-classes.
27024 To number algorithm floats in the same scheme, add this command to your
27028 \begin_layout Standard
27033 numberwithin{algorithm}{chapter}
27036 \begin_layout Standard
27037 To be able to use the command
27046 \begin_inset space ~
27051 in the document settings the option
27054 \begin_inset space ~
27058 \begin_inset space ~
27062 \begin_inset space ~
27070 \begin_layout Section
27072 \begin_inset Index idx
27077 \begin_layout Plain Layout
27079 \begin_inset IndexMacro subentry
27082 \begin_layout Plain Layout
27096 \begin_layout Standard
27097 Floats are usually numbered either independently from the sections the floats
27098 are in, or in the scheme
27099 \begin_inset Quotes eld
27103 \begin_inset Quotes erd
27107 \begin_inset Quotes eld
27111 \begin_inset Quotes erd
27115 This depends on the document class used.
27118 \begin_layout Standard
27119 To change section-independent numbering, you can use this command in the
27123 \begin_layout Standard
27135 \begin_layout Standard
27142 is the command that prints the table number.
27143 For figure floats, the command would be
27156 in the command above prints the table number as a small roman number.
27159 \begin_layout Standard
27160 To change the numbering scheme for example to
27161 \begin_inset Quotes eld
27165 \begin_inset Quotes erd
27168 , use this command in the preamble:
27171 \begin_layout Standard
27176 numberwithin{table}{subsection}
27179 \begin_layout Standard
27180 To be able to use the command
27189 \begin_inset space ~
27194 in the document settings the option
27197 \begin_inset space ~
27201 \begin_inset space ~
27205 \begin_inset space ~
27213 \begin_layout Standard
27214 Please also have a look at section
27215 \begin_inset space ~
27219 \begin_inset CommandInset ref
27221 reference "subsec:Footnote-Numbering"
27225 for the details and important notes about the numbering commands.
27228 \begin_layout Section
27230 \begin_inset CommandInset label
27232 name "sec:Referencing-Floats"
27237 \begin_inset Index idx
27242 \begin_layout Plain Layout
27244 \begin_inset IndexMacro subentry
27247 \begin_layout Plain Layout
27259 \begin_inset Index idx
27264 \begin_layout Plain Layout
27266 \begin_inset IndexMacro subentry
27269 \begin_layout Plain Layout
27283 \begin_layout Standard
27284 To reference a float, insert a label into its caption using the menu
27286 Insert\SpecialChar menuseparator
27289 or the toolbar button
27296 A grey label box like this one:
27297 \begin_inset Graphics
27298 filename clipart/label.png
27299 scaleBeforeRotation
27303 will be inserted and the label window pops up asking for the label text.
27305 offers as text the first words of the caption with a prefix.
27306 The prefix depends on the float type, e.
27307 \begin_inset space \thinspace{}
27311 \begin_inset space \space{}
27314 for figure floats the prefix will be "
27321 \begin_layout Standard
27322 The label is used as anchor and name for the reference.
27323 You can refer to the label using the menu
27325 Insert\SpecialChar menuseparator
27328 or the toolbar button
27331 arg "dialog-show-new-inset ref"
27335 The cross-reference window appears showing all labels of the document.
27336 If you have multiple \SpecialChar LyX
27337 documents opened, choose the one you are working
27338 on from the drop-list at the top of the dialog.
27339 You can now sort the labels alphabetically and then choose one.
27340 A grey cross-reference box like this one:
27341 \begin_inset Graphics
27342 filename clipart/reference.png
27343 scaleBeforeRotation
27348 At the position of the cross-reference box the float number will appear
27352 \begin_layout Standard
27353 It is recommended that you use a
27354 \change_deleted 177693 1654669168
27356 \change_inserted 177693 1654669170
27359 space between the cross-reference name and its number to avoid line breaks
27361 If a cross-reference refers to a non-existing label, you will see two question
27362 marks in the output instead of the reference.
27365 \begin_layout Standard
27366 You can change labels at any time by clicking on the label box.
27367 References to the changed label will automatically update their links to
27368 the new label text.
27371 \begin_layout Standard
27375 \begin_inset space ~
27379 \begin_inset space ~
27384 in the cross-reference window sets the cursor before the referred label.
27385 The button text changes then to Go
27386 \begin_inset space ~
27389 Back and you can use it to set the cursor back to the cross-reference.
27392 \begin_layout Subsection
27393 Cross-Reference Formats
27394 \begin_inset CommandInset label
27396 name "subsec:Cross-Reference-Formats"
27401 \begin_inset Index idx
27406 \begin_layout Plain Layout
27408 \begin_inset IndexMacro subentry
27411 \begin_layout Plain Layout
27425 \begin_layout Standard
27426 There are six varieties of cross-references:
27429 \begin_layout Description
27430 <reference>: prints the float number, this is the default:
27431 \begin_inset CommandInset ref
27433 reference "fig:Two-distorted-images"
27440 \begin_layout Description
27441 (<reference>): prints the float number within two parentheses, this is the
27442 style normally used to reference formulas, especially when the reference
27444 \begin_inset Quotes eld
27448 \begin_inset Quotes erd
27452 \begin_inset CommandInset ref
27461 \begin_layout Description
27462 <page>: prints the page number: Page
27463 \begin_inset space ~
27467 \begin_inset CommandInset ref
27468 LatexCommand pageref
27469 reference "fig:Two-distorted-images"
27476 \begin_layout Description
27478 \begin_inset space ~
27482 \begin_inset space ~
27485 <page>: prints the text "on page" and the page number:
27486 \begin_inset CommandInset ref
27487 LatexCommand vpageref
27488 reference "fig:Two-distorted-images"
27495 \begin_layout Description
27497 \begin_inset space ~
27501 \begin_inset space ~
27505 \begin_inset space ~
27508 <page>: prints the float number, the text "on page", and the page number:
27510 \begin_inset CommandInset ref
27512 reference "fig:Two-distorted-images"
27519 \begin_layout Description
27521 \begin_inset space ~
27524 reference: prints a self-defined cross-reference format.
27525 \begin_inset Newline newline
27529 \begin_inset Note Greyedout
27532 \begin_layout Plain Layout
27537 This feature is only available when you have the \SpecialChar LaTeX
27547 \begin_inset Index idx
27552 \begin_layout Plain Layout
27555 \begin_inset IndexMacro subentry
27558 \begin_layout Plain Layout
27570 \begin_inset Index idx
27575 \begin_layout Plain Layout
27578 \begin_inset IndexMacro subentry
27581 \begin_layout Plain Layout
27598 \begin_inset Newline newline
27601 You can select which \SpecialChar LaTeX
27602 -package should be used for this feature by setting
27605 Use refstyle (not prettyref) for cross-references
27609 Document\SpecialChar menuseparator
27610 Settings\SpecialChar menuseparator
27614 The format is specified by adding the command
27626 (refstyle) to the preamble of the document.
27627 For example redefining all references to figures (which have the label
27629 \begin_inset Quotes eld
27637 \begin_inset Quotes erd
27640 ) can be done with this command
27641 \begin_inset Newline newline
27648 newref{fig}{refcmd={Image on page
27653 \begin_inset Newline newline
27656 For more information about the format, have a look at the package documentations
27658 \begin_inset CommandInset citation
27660 key "prettyref,refstyle"
27666 \begin_inset Newline newline
27677 are only available if you use the \SpecialChar LaTeX
27692 \begin_inset space \thinspace{}
27696 \begin_inset space \space{}
27700 \begin_inset Quotes eld
27704 \begin_inset Quotes erd
27711 outputs the name capitalized, e.
27712 \begin_inset space \thinspace{}
27716 \begin_inset space \space{}
27720 \begin_inset Quotes eld
27724 \begin_inset Quotes erd
27728 Both options can be combined to get e.
27729 \begin_inset space \thinspace{}
27733 \begin_inset space \space{}
27737 \begin_inset Quotes eld
27741 \begin_inset Quotes erd
27747 \begin_layout Description
27749 \begin_inset space ~
27752 reference: prints the caption of the reference:
27753 \begin_inset CommandInset ref
27754 LatexCommand nameref
27755 reference "fig:Two-distorted-images"
27762 \begin_layout Description
27764 \begin_inset space ~
27767 only: prints only the \SpecialChar LaTeX
27768 label for the reference:
27769 \begin_inset CommandInset ref
27770 LatexCommand labelonly
27771 reference "fig:Two-distorted-images"
27779 \begin_inset Newline newline
27782 This allows to use the label for commands in \SpecialChar TeX
27788 one can omit the prefix of the label name:
27789 \begin_inset CommandInset ref
27790 LatexCommand labelonly
27791 reference "fig:Two-distorted-images"
27801 \begin_layout Standard
27806 will not print the page number if the label is on the previous, the same,
27809 \begin_inset space \thinspace{}
27813 \begin_inset space \space{}
27817 \begin_inset Quotes eld
27825 \begin_inset Quotes erd
27831 <reference> on page <page>
27833 will not print anything about the page if the label is on the same page.
27836 \begin_layout Standard
27837 The number and current page of the part of the document referred to in the
27838 output is automatically calculated by \SpecialChar LaTeX
27840 The varieties are adjusted in the field
27844 of the cross-reference window that appears when you click on the cross-referenc
27848 \begin_layout Standard
27849 \begin_inset Note Greyedout
27852 \begin_layout Plain Layout
27857 It is recommended to use the \SpecialChar LaTeX
27863 \begin_inset Index idx
27868 \begin_layout Plain Layout
27871 \begin_inset IndexMacro subentry
27874 \begin_layout Plain Layout
27890 \begin_inset Index idx
27895 \begin_layout Plain Layout
27898 \begin_inset IndexMacro subentry
27901 \begin_layout Plain Layout
27912 does not know all of \SpecialChar LyX
27913 's possible label shortcuts
27917 \begin_layout Plain Layout
27918 \begin_inset Quotes eld
27922 \begin_inset Quotes erd
27925 is for example \SpecialChar LyX
27926 's shortcut for labels in figure captions.
27931 and is not internationalized.
27939 \begin_layout Subsection
27940 Automatic Reference Naming
27941 \begin_inset Index idx
27946 \begin_layout Plain Layout
27948 \begin_inset IndexMacro subentry
27951 \begin_layout Plain Layout
27952 Automatic Reference Naming
27965 \begin_layout Standard
27966 The \SpecialChar LaTeX
27972 \begin_inset Index idx
27977 \begin_layout Plain Layout
27980 \begin_inset IndexMacro subentry
27983 \begin_layout Plain Layout
27994 , that is enabled in the
28002 dialog, provides a very useful feature that cross-references automatically
28003 include the name of the referenced floats (or text parts like
28008 So you will save having to write e.
28009 \begin_inset space \thinspace{}
28013 \begin_inset space \space{}
28017 \begin_inset Quotes eld
28021 \begin_inset Quotes erd
28024 before every reference to a figure.
28025 To use this feature, enable
28029 and insert this line to the \SpecialChar LaTeX
28033 \begin_layout Standard
28049 \begin_layout Standard
28050 When you prefer other reference names than the default ones, for example
28051 you want instead of
28052 \begin_inset Quotes eld
28056 \begin_inset Quotes erd
28060 \begin_inset Quotes eld
28064 \begin_inset space \thinspace{}
28068 \begin_inset Quotes eld
28071 , you can redefine the name by inserting this in the preamble:
28074 \begin_layout Standard
28085 sectionautorefname}
28086 \begin_inset Newline newline
28090 \begin_inset Phantom HPhantom
28093 \begin_layout Plain Layout
28096 \begin_inset space ~
28109 \begin_layout Standard
28110 When you are using another document language than English, replace
28111 \begin_inset Newline newline
28126 , where *** is the name of the language used.
28129 \begin_layout Standard
28130 To get automatic names, but not for certain reference types, for example
28131 not for equations, use this preamble code:
28134 \begin_layout Standard
28145 equationautorefname}[1]{}}
28148 \begin_layout Standard
28149 More about this topic can be found in
28154 \begin_inset CommandInset citation
28164 \begin_layout Standard
28165 \begin_inset Note Greyedout
28168 \begin_layout Plain Layout
28173 Automatic reference naming cannot be used when you use cross-references
28177 \begin_inset space ~
28182 style, as described in section
28183 \begin_inset space ~
28187 \begin_inset CommandInset ref
28189 reference "subsec:Cross-Reference-Formats"
28201 \begin_layout Standard
28206 manual is an example where automatic reference naming is used.
28209 \begin_layout Subsection
28211 \begin_inset CommandInset label
28213 name "subsec:Reference-Position"
28218 \begin_inset Index idx
28223 \begin_layout Plain Layout
28225 \begin_inset IndexMacro subentry
28228 \begin_layout Plain Layout
28242 \begin_layout Standard
28248 \begin_inset Index idx
28253 \begin_layout Plain Layout
28256 \begin_inset IndexMacro subentry
28259 \begin_layout Plain Layout
28278 dialog to link cross-references in the output, you will see that clicking
28279 on an image float reference jumps to the image label.
28280 The caption will be the first text part on the screen, so that you cannot
28281 see the image without scrolling.
28282 This is because the reference link anchor is placed at the position of
28284 With the use of the package
28289 \begin_inset Index idx
28294 \begin_layout Plain Layout
28297 \begin_inset IndexMacro subentry
28300 \begin_layout Plain Layout
28311 , which is part of the \SpecialChar LaTeX
28317 \begin_inset Index idx
28322 \begin_layout Plain Layout
28325 \begin_inset IndexMacro subentry
28328 \begin_layout Plain Layout
28339 , the link anchor is placed at the beginning of a float.
28340 To use this feature for figure floats, load
28344 in the document preamble with the line
28347 \begin_layout Standard
28352 usepackage[figure]{hypcap}
28355 \begin_layout Standard
28360 for all float types but this is not recommended for stability reasons.
28361 For more information, have a look at
28366 \begin_inset CommandInset citation
28376 \begin_layout Standard
28377 \begin_inset Note Greyedout
28380 \begin_layout Plain Layout
28389 has no effect on references to subfigures.
28397 \begin_layout Section
28399 \change_deleted -712698321 1526031763
28401 \change_inserted -712698321 1526031765
28405 \begin_inset CommandInset label
28407 name "sec:Float-Settings"
28412 \begin_inset Index idx
28417 \begin_layout Plain Layout
28419 \begin_inset IndexMacro subentry
28422 \begin_layout Plain Layout
28424 \change_deleted -712698321 1526031841
28426 \change_inserted -712698321 1526031842
28442 \begin_layout Standard
28444 \change_inserted -712698321 1526033385
28445 Float Settings can be adjusted at two places in \SpecialChar LyX
28447 \change_inserted 630872221 1622709604
28449 \change_deleted 630872221 1622709603
28451 \change_inserted -712698321 1526033385
28454 Document\SpecialChar menuseparator
28455 Settings\SpecialChar ldots
28456 \SpecialChar menuseparator
28459 , you can set some options that are used by default for all floats of the
28460 document (placement on page and alignment of contents), unless you modify
28461 the local settings of a float.
28466 \begin_layout Standard
28468 \change_inserted -712698321 1526032513
28469 The latter can be done by
28470 \change_deleted -712698321 1526032513
28472 \change_inserted -712698321 1526032513
28475 ight-clicking on a float-box and clicking on
28478 \change_inserted -712698321 1526033387
28485 \change_inserted -712698321 1526032520
28488 opens a dialog where you can
28489 \change_inserted -712698321 1526032584
28490 , now only for the given float,
28493 \change_inserted -712698321 1526033452
28497 \change_deleted -712698321 1526033439
28498 options that \SpecialChar LaTeX
28499 uses for positioning the float
28500 \change_inserted -712698321 1526033493
28501 and alignment options, and adapt some other options that are only available
28506 \change_inserted -712698321 1526032658
28507 All these options, both for
28509 Document\SpecialChar menuseparator
28510 Settings\SpecialChar menuseparator
28517 , are described in turn.
28518 \change_deleted -712698321 1526031652
28520 \begin_inset Newline newline
28526 \begin_inset space ~
28531 is only useful for two-column documents: If you select it, the float will
28532 span both columns on the page instead of being confined to just one.
28533 \begin_inset Newline newline
28539 \begin_inset space ~
28544 is used to rotate floats, see section
28545 \begin_inset CommandInset ref
28547 reference "sec:Rotated-Floats"
28556 \begin_layout Subsection
28558 \change_inserted -712698321 1526031775
28560 \begin_inset CommandInset label
28562 name "sec:Float-Placement"
28567 \begin_inset Index idx
28572 \begin_layout Plain Layout
28574 \change_inserted -712698321 1526031775
28578 \begin_inset IndexMacro subentry
28581 \begin_layout Plain Layout
28583 \change_inserted -712698321 1526031775
28601 \begin_layout Standard
28603 \change_inserted -712698321 1526032697
28606 Document\SpecialChar menuseparator
28607 Settings\SpecialChar menuseparator
28615 \change_deleted -712698321 1526032811
28616 You can use one or more of the following options in the float dialog to
28618 \change_inserted -712698321 1526032812
28622 \change_inserted -712698321 1526033558
28623 algorithm that \SpecialChar LaTeX
28624 uses for positioning floats on the page, either
28627 \change_inserted -712698321 1526033535
28630 Document\SpecialChar menuseparator
28631 Settings\SpecialChar menuseparator
28637 \change_inserted -712698321 1526033570
28648 By default, this is set to
28651 \change_inserted -712698321 1526033604
28658 Document\SpecialChar menuseparator
28659 Settings\SpecialChar menuseparator
28662 (meaning that the default placement algorithm of the document class is
28671 dialog (meaning that the settings in
28673 Document\SpecialChar menuseparator
28674 Settings\SpecialChar menuseparator
28677 are used, which are the Class Defaults by default).
28678 If you want to change this,
28679 \change_deleted -712698321 1526033009
28681 \change_inserted -712698321 1526033535
28685 \change_deleted -712698321 1526031920
28687 \change_inserted -712698321 1526033535
28690 Placement Settings:
28695 \change_inserted -712698321 1526033535
28699 \change_deleted -712698321 1526031908
28701 \begin_inset space ~
28705 \begin_inset space ~
28709 \change_inserted -712698321 1526033535
28712 This allows you to select one or more from
28717 \begin_layout Description
28719 \begin_inset space ~
28723 \begin_inset space ~
28726 possible try to place the float on the position where it has been inserted
28727 \change_inserted 630872221 1622713522
28731 \begin_layout Description
28733 \change_inserted 630872221 1622713704
28735 \begin_inset space ~
28738 definitely forces the placement of the float on the position where it has
28744 \begin_layout Description
28746 \begin_inset space ~
28750 \begin_inset space ~
28753 page try to place the float at the top of the current page
28756 \begin_layout Description
28758 \begin_inset space ~
28762 \begin_inset space ~
28765 page try to place the float at the bottom of the current page
28768 \begin_layout Description
28770 \begin_inset space ~
28774 \begin_inset space ~
28777 floats try to place the float on its own page
28780 \begin_layout Standard
28781 The order of the above option is
28785 used by \SpecialChar LaTeX
28787 That means, if you use the default placement, \SpecialChar LaTeX
28791 \begin_inset space ~
28795 \begin_inset space ~
28803 \begin_inset space ~
28807 \begin_inset space ~
28812 , and then the others.
28813 If you do not use the default, \SpecialChar LaTeX
28814 will try only the checked options but in
28817 \begin_inset space ~
28820 placements is possible the procedure is internally repeated trying to put
28821 the float on the following page.
28824 \begin_layout Standard
28825 By default, each option has its own rules:
28828 \begin_layout Labeling
28829 \labelwidthstring 00.00.0000
28833 \begin_inset space ~
28837 \begin_inset space ~
28842 only floats occupying less than 70
28843 \begin_inset space \thinspace{}
28846 % of the page can be placed at the top of a page (
28855 \begin_layout Labeling
28856 \labelwidthstring 00.00.0000
28860 \begin_inset space ~
28864 \begin_inset space ~
28869 : only floats occupying less than 30
28870 \begin_inset space \thinspace{}
28873 % of the page can be placed at the bottom of a page.
28883 \begin_layout Labeling
28884 \labelwidthstring 00.00.0000
28888 \begin_inset space ~
28892 \begin_inset space ~
28897 : only if more than 50
28898 \begin_inset space \thinspace{}
28901 % of the page is occupied by floats, several floats can be set together
28912 \begin_layout Standard
28913 If you don't like these rules, you can ignore them by using the additional
28917 \begin_inset space ~
28922 \begin_inset space ~
28928 \begin_inset Newline newline
28931 You can also redefine the rules with \SpecialChar LaTeX
28932 -commands that are given in parentheses
28933 after the rules description above.
28934 To increase for example the often too small default of the bottom-rule
28936 \begin_inset space \thinspace{}
28939 % of the page, add this line to your document preamble:
28942 \begin_layout Standard
28949 bottomfraction}{0.5}
28952 \begin_layout Standard
28953 Sometimes you might need, under all circumstances, a float to be placed
28954 exactly at the position where it is inserted.
28955 For this case you can use the option
28958 \begin_inset space ~
28964 Use this option very rarely and only if the document is almost ready to
28965 be printed, because the float is then no longer able to
28966 \begin_inset Quotes eld
28970 \begin_inset Quotes erd
28973 when you change your document and this will often destroy the page layout.
28976 \begin_layout Standard
28977 There are no placement options for text wrap floats, because they are always
28978 surrounded by the text of a certain paragraph.
28979 \begin_inset VSpace bigskip
28985 \begin_layout Standard
28986 Sometimes you have the problem that a float is placed at the top of a page
28987 while its corresponding section starts at the middle of the page, so that
28988 the reader could think the float is part of the previous section.
28989 To avoid this the \SpecialChar LaTeX
28997 It suppresses a given float placement for the page where it is inserted
28998 and can therefore be used to avoid floats being set before a section starts.
28999 To get this, add these commands to your document preamble:
29002 \begin_layout Standard
29012 \begin_inset Newline newline
29026 \begin_layout Standard
29027 You can define the same for all section headings, like chapters and subsections.
29028 This definition is not recommended to be used for small text parts like
29029 subsubsections because \SpecialChar LaTeX
29030 may then have problems finding a suitable placement.
29033 \begin_layout Standard
29034 \begin_inset VSpace bigskip
29037 In some cases it is required to have all figures/tables at the end of the
29039 For this purpose the \SpecialChar LaTeX
29045 \begin_inset Index idx
29050 \begin_layout Plain Layout
29053 \begin_inset IndexMacro subentry
29056 \begin_layout Plain Layout
29068 It puts all figure and table floats at the end of the document into their
29070 At the original float position a text hint like
29071 \begin_inset Quotes eld
29077 \begin_inset space ~
29083 \begin_inset Quotes erd
29087 The endfloat-package is loaded in the preamble with the line
29090 \begin_layout Standard
29095 usepackage[options]{endfloat}
29098 \begin_layout Standard
29099 There are various package options to format the created figure/table sections.
29100 For more information we refer you to the
29105 \begin_inset CommandInset citation
29113 \begin_inset Newline newline
29117 \begin_inset Note Greyedout
29120 \begin_layout Plain Layout
29125 doesn't provide an automatic translation for the text hint, you have to
29126 do this manually, see section
29127 \begin_inset space ~
29131 \begin_inset CommandInset citation
29144 \begin_inset Newline newline
29148 \begin_inset Note Greyedout
29151 \begin_layout Plain Layout
29156 There is currently a bug in
29160 when the caption contains a German
29161 \begin_inset Quotes eld
29165 \begin_inset Quotes erd
29169 Use in this case the command
29170 \begin_inset Quotes eld
29180 \begin_inset Quotes erd
29183 in \SpecialChar TeX
29185 \begin_inset Quotes eld
29189 \begin_inset Quotes erd
29200 \begin_layout Standard
29201 \begin_inset VSpace bigskip
29204 For more details about float placements, have a look at \SpecialChar LaTeX
29206 \begin_inset CommandInset citation
29208 key "latexcompanion,latexguide,latexbook"
29214 \change_inserted -712698321 1526030561
29218 \begin_layout Subsection
29220 \change_inserted -712698321 1526031989
29221 Alignment of Float Contents
29224 \begin_layout Standard
29226 \change_inserted -712698321 1526032316
29227 In this list of options, you can define how the contents of a float (or
29228 all floats by default, if selected from
29230 Document\SpecialChar menuseparator
29238 means that the alignment of the class, or the default alignment of \SpecialChar LaTeX
29245 (only visible in the
29251 Document\SpecialChar menuseparator
29254 ) takes the setting specified in
29256 Document\SpecialChar menuseparator
29257 Settings\SpecialChar menuseparator
29261 The other three options,
29273 , are self-explanatory.
29274 If one of these is selected in
29276 Document\SpecialChar menuseparator
29277 Settings\SpecialChar menuseparator
29280 , all floats of the document will have this setting by default (so it is
29281 fairly easy, for instance, to center all floats).
29286 \begin_layout Subsection
29288 \change_inserted -712698321 1526030571
29289 Other Float Options
29292 \begin_layout Standard
29294 \change_inserted -712698321 1526035716
29295 These two options are only visible in the local
29301 Document\SpecialChar menuseparator
29307 \begin_layout Standard
29309 \change_inserted -712698321 1526033931
29313 \begin_inset space ~
29318 is useful for two-column documents: If you select it, the float will span
29319 both columns on the page instead of being confined to just one.
29322 \begin_layout Standard
29324 \change_inserted -712698321 1526030572
29328 \begin_inset space ~
29333 is used to rotate floats, see section
29334 \begin_inset CommandInset ref
29336 reference "sec:Rotated-Floats"
29345 \begin_layout Section
29347 \begin_inset CommandInset label
29349 name "sec:Rotated-Floats"
29354 \begin_inset Index idx
29359 \begin_layout Plain Layout
29361 \begin_inset IndexMacro subentry
29364 \begin_layout Plain Layout
29378 \begin_layout Standard
29379 Especially for wide tables you might have floats rotated.
29380 To rotate a whole float including the caption, right-click on the float-box
29384 \begin_inset space ~
29392 \begin_layout Standard
29393 Rotated floats are always placed on a page of their own (or column of their
29394 own; in case you have a multi-column document).
29395 You can let them span several columns using the float settings option
29398 \begin_inset space ~
29404 Floats are rotated so that you can read them from the outside margin.
29405 To force a certain rotation direction for all pages, you can add either
29414 to the document class options.
29417 \begin_layout Standard
29418 Referencing rotated floats is the same as for normal floats, the caption
29419 format is also the same: Table
29420 \begin_inset space ~
29424 \begin_inset CommandInset ref
29426 reference "tab:Rotated-table"
29430 is an example of a rotated table float.
29433 \begin_layout Standard
29434 \begin_inset Note Greyedout
29437 \begin_layout Plain Layout
29442 Not all DVI-viewers are able to display rotated floats.
29450 \begin_layout Standard
29451 \begin_inset Float table
29458 \begin_layout Plain Layout
29459 \begin_inset Caption Standard
29461 \begin_layout Plain Layout
29462 \begin_inset CommandInset label
29464 name "tab:Rotated-table"
29476 \begin_layout Plain Layout
29478 \begin_inset Tabular
29479 <lyxtabular version="3" rows="1" columns="5">
29480 <features tabularvalignment="middle">
29481 <column alignment="center" valignment="top">
29482 <column alignment="center" valignment="top">
29483 <column alignment="center" valignment="top">
29484 <column alignment="center" valignment="top">
29485 <column alignment="center" valignment="top">
29487 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29490 \begin_layout Plain Layout
29496 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29499 \begin_layout Plain Layout
29505 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29508 \begin_layout Plain Layout
29514 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29517 \begin_layout Plain Layout
29523 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29526 \begin_layout Plain Layout
29545 \begin_layout Section
29547 \begin_inset Index idx
29552 \begin_layout Plain Layout
29554 \begin_inset IndexMacro subentry
29557 \begin_layout Plain Layout
29571 \begin_layout Standard
29572 Subfloats are for example used when a figure consists of several images.
29573 They are created by inserting a float into an existing float.
29574 The placement of the subfloats can be controlled in the same way as for
29575 paragraphs as shown in table
29576 \begin_inset space ~
29580 \begin_inset CommandInset ref
29582 reference "tab:Two-subtables-side"
29587 \begin_inset CommandInset ref
29589 reference "tab:Two-subtables-upon"
29596 \begin_layout Standard
29597 Referencing subfloats works as for normal floats: Table
29598 \begin_inset space ~
29602 \begin_inset CommandInset ref
29604 reference "tab:This-is-subtable-a"
29609 \begin_inset CommandInset ref
29611 reference "tab:This-is-subtable-b"
29615 are subtables of table
29616 \begin_inset space ~
29620 \begin_inset CommandInset ref
29622 reference "tab:Two-subtables-side"
29629 \begin_layout Standard
29630 \begin_inset Float table
29637 \begin_layout Plain Layout
29638 \begin_inset Caption Standard
29640 \begin_layout Plain Layout
29641 \begin_inset CommandInset label
29643 name "tab:Two-subtables-side"
29647 Two subtables placed side by side.
29655 \begin_layout Plain Layout
29657 \begin_inset space \hfill{}
29661 \begin_inset Float table
29668 \begin_layout Plain Layout
29669 \begin_inset Caption Standard
29671 \begin_layout Plain Layout
29672 \begin_inset CommandInset label
29674 name "tab:This-is-subtable-a"
29678 This is subtable a.
29686 \begin_layout Plain Layout
29688 \begin_inset Tabular
29689 <lyxtabular version="3" rows="1" columns="5">
29690 <features tabularvalignment="middle">
29691 <column alignment="center" valignment="top">
29692 <column alignment="center" valignment="top">
29693 <column alignment="center" valignment="top">
29694 <column alignment="center" valignment="top">
29695 <column alignment="center" valignment="top">
29697 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29700 \begin_layout Plain Layout
29706 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29709 \begin_layout Plain Layout
29715 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29718 \begin_layout Plain Layout
29724 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29727 \begin_layout Plain Layout
29733 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29736 \begin_layout Plain Layout
29753 \begin_inset space \hfill{}
29757 \begin_inset Float table
29764 \begin_layout Plain Layout
29765 \begin_inset Caption Standard
29767 \begin_layout Plain Layout
29768 \begin_inset CommandInset label
29770 name "tab:This-is-subtable-b"
29774 This is subtable b.
29782 \begin_layout Plain Layout
29784 \begin_inset Tabular
29785 <lyxtabular version="3" rows="1" columns="5">
29786 <features tabularvalignment="middle">
29787 <column alignment="center" valignment="top">
29788 <column alignment="center" valignment="top">
29789 <column alignment="center" valignment="top">
29790 <column alignment="center" valignment="top">
29791 <column alignment="center" valignment="top">
29793 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29796 \begin_layout Plain Layout
29802 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29805 \begin_layout Plain Layout
29811 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29814 \begin_layout Plain Layout
29820 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29823 \begin_layout Plain Layout
29829 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29832 \begin_layout Plain Layout
29849 \begin_inset space \hfill{}
29860 \begin_layout Standard
29861 \begin_inset Float table
29868 \begin_layout Plain Layout
29869 \begin_inset Caption Standard
29871 \begin_layout Plain Layout
29872 \begin_inset CommandInset label
29874 name "tab:Two-subtables-upon"
29878 Two subtables placed one above the other.
29879 (a) table with 4 cells, (b) table with 5 cells.
29887 \begin_layout Plain Layout
29889 \begin_inset Float table
29896 \begin_layout Plain Layout
29897 \begin_inset Caption Standard
29899 \begin_layout Plain Layout
29908 \begin_layout Plain Layout
29910 \begin_inset Tabular
29911 <lyxtabular version="3" rows="1" columns="4">
29912 <features tabularvalignment="middle">
29913 <column alignment="center" valignment="top">
29914 <column alignment="center" valignment="top">
29915 <column alignment="center" valignment="top">
29916 <column alignment="center" valignment="top">
29918 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29921 \begin_layout Plain Layout
29927 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29930 \begin_layout Plain Layout
29936 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29939 \begin_layout Plain Layout
29945 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29948 \begin_layout Plain Layout
29967 \begin_layout Plain Layout
29969 \begin_inset Float table
29976 \begin_layout Plain Layout
29977 \begin_inset Caption Standard
29979 \begin_layout Plain Layout
29988 \begin_layout Plain Layout
29990 \begin_inset Tabular
29991 <lyxtabular version="3" rows="1" columns="5">
29992 <features tabularvalignment="middle">
29993 <column alignment="center" valignment="top">
29994 <column alignment="center" valignment="top">
29995 <column alignment="center" valignment="top">
29996 <column alignment="center" valignment="top">
29997 <column alignment="center" valignment="top">
29999 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30002 \begin_layout Plain Layout
30008 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30011 \begin_layout Plain Layout
30017 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30020 \begin_layout Plain Layout
30026 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30029 \begin_layout Plain Layout
30035 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30038 \begin_layout Plain Layout
30062 \begin_layout Section
30063 Floats Side by Side
30064 \begin_inset Index idx
30069 \begin_layout Plain Layout
30071 \begin_inset IndexMacro subentry
30074 \begin_layout Plain Layout
30088 \begin_layout Standard
30089 To place floats side by side, as in Figures
30090 \begin_inset space ~
30094 \begin_inset CommandInset ref
30096 reference "fig:Float-left"
30101 \begin_inset CommandInset ref
30103 reference "fig:Float-right"
30112 In it two minipage boxes are inserted.
30116 \begin_layout Plain Layout
30117 Minipages are explained in section
30118 \begin_inset space ~
30122 \begin_inset CommandInset ref
30124 reference "sec:Minipages"
30133 The width is set to 45
30134 \begin_inset space \thinspace{}
30138 \begin_inset space \thinspace{}
30141 column% and the box alignment to
30146 The minipage boxes contain the image and the caption in the same way as
30147 they are in a float.
30148 The only difference is that the image unit
30151 \begin_inset space ~
30155 \begin_inset space ~
30160 is now calculated according to the width of the minipage boxes.
30163 \begin_layout Standard
30164 \begin_inset Float figure
30171 \begin_layout Plain Layout
30172 \begin_inset Box Frameless
30182 height_special "totalheight"
30187 backgroundcolor "none"
30190 \begin_layout Plain Layout
30192 \begin_inset Graphics
30193 filename clipart/2D-intensity-plot.pdf
30195 scaleBeforeRotation
30202 \begin_layout Plain Layout
30203 \begin_inset Caption Standard
30205 \begin_layout Plain Layout
30206 \begin_inset CommandInset label
30208 name "fig:Float-left"
30212 Float on the left side.
30223 \begin_inset space \hfill{}
30227 \begin_inset Box Frameless
30237 height_special "totalheight"
30242 backgroundcolor "none"
30245 \begin_layout Plain Layout
30247 \begin_inset Graphics
30248 filename clipart/Star-structure.pdf
30250 scaleBeforeRotation
30257 \begin_layout Plain Layout
30258 \begin_inset Caption Standard
30260 \begin_layout Plain Layout
30261 \begin_inset CommandInset label
30263 name "fig:Float-right"
30267 Float on the right side.
30285 \begin_layout Standard
30286 An alternative and simpler solution is to use the module
30288 Variable-width Minipages
30291 \begin_inset space \thinspace{}
30295 \begin_inset CommandInset ref
30297 reference "sec:Minipages"
30302 Variable-width minipages adapt automatically to the width of the figures
30304 They do not require an explicit width to be given, and they improve the
30305 horizontal alignment of the figures.
30306 The LyX example file
30308 varwidth-floats-side-by-side
30310 gives examples of how to do this.
30313 \begin_layout Section
30315 \begin_inset Index idx
30320 \begin_layout Plain Layout
30322 \begin_inset IndexMacro subentry
30325 \begin_layout Plain Layout
30337 \begin_inset Index idx
30342 \begin_layout Plain Layout
30344 \begin_inset IndexMacro subentry
30347 \begin_layout Plain Layout
30359 \begin_inset CommandInset label
30361 name "sec:Caption-Formatting"
30368 \begin_layout Standard
30373 environment is the default paragraph environment for
30378 On the \SpecialChar LyX
30379 screen captions appear as a label, e.
30380 \begin_inset space \thinspace{}
30384 \begin_inset space \space{}
30388 \begin_inset Quotes eld
30396 \begin_inset Quotes erd
30399 followed by the caption text.
30401 \begin_inset Quotes eld
30405 \begin_inset Quotes erd
30408 is the actual reference number.
30409 By default the label and the number are in the same font as the caption
30410 text and a colon follows the number to divide the label from the text.
30411 This caption format is suitable for many but not all documents.
30415 \begin_layout Standard
30416 To change the default caption format, load the \SpecialChar LaTeX
30422 \begin_inset Index idx
30427 \begin_layout Plain Layout
30430 \begin_inset IndexMacro subentry
30433 \begin_layout Plain Layout
30444 in the document preamble with this line:
30447 \begin_layout Standard
30452 usepackage[format definition]{caption}
30455 \begin_layout Standard
30456 To have for example the label and the number in sans-serif, bold font and
30457 the table captions always above the table as in this document, use the
30461 \begin_layout Standard
30466 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
30469 \begin_layout Standard
30470 You can also define different caption formats for the different float types.
30471 In this case load the
30475 package without format specific options and define the different formats
30476 with the help of the command
30479 \begin_layout Standard
30484 captionsetup[float type]{format definition}
30487 \begin_layout Standard
30488 in the document preamble.
30489 For example the caption formats of Figure
30490 \begin_inset space ~
30494 \begin_inset CommandInset ref
30496 reference "fig:This-is-an-fig"
30501 \begin_inset space ~
30505 \begin_inset CommandInset ref
30507 reference "tab:This-is-an-tab"
30511 can be created using these commands in the document preamble:
30514 \begin_layout Standard
30519 usepackage[tableposition=top]{caption}
30522 \begin_inset Newline newline
30529 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
30530 \begin_inset Newline newline
30534 \begin_inset Phantom HPhantom
30537 \begin_layout Plain Layout
30542 captionsetup[figure]{
30548 \begin_inset Newline newline
30553 captionsetup[table]{labelfont={bf,sf}}
30556 \begin_layout Standard
30557 \begin_inset Note Greyedout
30560 \begin_layout Plain Layout
30569 has no effect when a
30574 \begin_inset Index idx
30579 \begin_layout Plain Layout
30582 \begin_inset IndexMacro subentry
30585 \begin_layout Plain Layout
30596 document class is used.
30597 In this case the document class option
30599 captions=tableheading
30609 \begin_layout Standard
30610 For more information about the package
30614 we refer to its documentation
30615 \begin_inset CommandInset citation
30625 \begin_layout Standard
30626 To change the label name from e.
30627 \begin_inset space \thinspace{}
30631 \begin_inset space \space{}
30635 \begin_inset Quotes eld
30639 \begin_inset Quotes erd
30643 \begin_inset Quotes eld
30647 \begin_inset Quotes erd
30650 use this preamble command:
30653 \begin_layout Standard
30660 fnum@figure}{Image~
30665 \begin_layout Standard
30672 inserts the figure number and
30675 \begin_inset Quotes eld
30681 \begin_inset Quotes erd
30685 \change_deleted 177693 1654669177
30687 \change_inserted 177693 1654669179
30693 \begin_layout Standard
30694 \begin_inset VSpace bigskip
30702 \begin_inset Index idx
30707 \begin_layout Plain Layout
30710 \begin_inset IndexMacro subentry
30713 \begin_layout Plain Layout
30726 article (KOMA-Script)
30734 letter (KOMA-Script)
30738 report (KOMA-Script)
30741 \begin_inset space \thinspace{}
30744 ), you can alternatively to the
30752 's built-in command
30759 For example, to have the caption label in bold, add this command to your
30763 \begin_layout Standard
30768 setkomafont{captionlabel}{
30773 \begin_layout Standard
30774 For more information about
30785 \begin_inset CommandInset citation
30795 \begin_layout Standard
30799 \begin_layout Plain Layout
30803 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
30810 \begin_inset Note Note
30813 \begin_layout Plain Layout
30814 The caption format is changed only for this example.
30822 \begin_layout Standard
30823 \begin_inset Float figure
30830 \begin_layout Plain Layout
30832 \begin_inset Graphics
30833 filename clipart/2D-intensity-plot.pdf
30834 scaleBeforeRotation
30841 \begin_layout Plain Layout
30842 \begin_inset Caption Standard
30844 \begin_layout Plain Layout
30845 \begin_inset CommandInset label
30847 name "fig:This-is-an-fig"
30851 This is an example figure caption that is longer than one line to show the
30852 different caption format.
30853 Here a self-defined caption format is used.
30866 \begin_layout Standard
30870 \begin_layout Plain Layout
30874 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
30883 \begin_layout Standard
30884 \begin_inset Float table
30891 \begin_layout Plain Layout
30892 \begin_inset Caption Standard
30894 \begin_layout Plain Layout
30895 \begin_inset CommandInset label
30897 name "tab:This-is-an-tab"
30901 This is an example table caption that is longer than one line to show the
30902 different caption format.
30903 Here the standard caption format for tables in this document is used.
30911 \begin_layout Plain Layout
30913 \begin_inset Tabular
30914 <lyxtabular version="3" rows="1" columns="5">
30915 <features tabularvalignment="middle">
30916 <column alignment="center" valignment="top">
30917 <column alignment="center" valignment="top">
30918 <column alignment="center" valignment="top">
30919 <column alignment="center" valignment="top">
30920 <column alignment="center" valignment="top">
30922 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30925 \begin_layout Plain Layout
30931 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30934 \begin_layout Plain Layout
30940 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30943 \begin_layout Plain Layout
30949 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30952 \begin_layout Plain Layout
30958 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30961 \begin_layout Plain Layout
30980 \begin_layout Section
30982 \begin_inset Index idx
30987 \begin_layout Plain Layout
30989 \begin_inset IndexMacro subentry
30992 \begin_layout Plain Layout
31004 \begin_inset Index idx
31009 \begin_layout Plain Layout
31011 \begin_inset IndexMacro subentry
31014 \begin_layout Plain Layout
31026 \begin_inset CommandInset label
31028 name "sec:Caption-Placement"
31035 \begin_layout Standard
31036 The common caption placement rule is:
31039 \begin_layout Description
31040 Figure: Caption is set below the figure
31043 \begin_layout Description
31044 Table: Caption is set above the table
31047 \begin_layout Standard
31048 Having the caption above the table is unfortunately not supported in \SpecialChar LaTeX
31051 That means if you are using the document classes
31067 there will be no space between the caption and the table.
31068 To insert the necessary space, load the \SpecialChar LaTeX
31074 \begin_inset Index idx
31079 \begin_layout Plain Layout
31082 \begin_inset IndexMacro subentry
31085 \begin_layout Plain Layout
31096 in your document preamble with the option
31100 \begin_layout Plain Layout
31102 \begin_inset space ~
31106 \begin_inset CommandInset ref
31108 reference "sec:Caption-Formatting"
31112 for more information of the package
31124 \begin_layout Standard
31130 \begin_layout Standard
31136 \begin_inset Index idx
31141 \begin_layout Plain Layout
31144 \begin_inset IndexMacro subentry
31147 \begin_layout Plain Layout
31160 article (KOMA-Script)
31168 letter (KOMA-Script)
31172 report (KOMA-Script)
31175 \begin_inset space \thinspace{}
31178 ), you can alternatively to the
31182 package set the document class option
31186 \begin_layout Plain Layout
31187 That option is used in this document.
31195 \begin_layout Standard
31198 captions=tableheading
31201 \begin_layout Standard
31202 In documents with a KOMA-Script document class you can also right-click
31203 on a caption and mark in the context menu if this should be a caption above
31204 or below the table/figure.
31205 This way you can override the document-wide caption placement for certain
31208 \begin_inset space ~
31212 \begin_inset CommandInset ref
31214 reference "tab:A-caption-marked"
31218 is an example where the caption is marked a being below the table while
31220 For comparison the caption in Table
31221 \begin_inset space ~
31225 \begin_inset CommandInset ref
31227 reference "tab:A-standard-table"
31234 \begin_layout Standard
31235 \begin_inset Float table
31242 \begin_layout Plain Layout
31243 \begin_inset Caption Below
31245 \begin_layout Plain Layout
31246 \begin_inset CommandInset label
31248 name "tab:A-caption-marked"
31252 A caption marked as being below the table.
31260 \begin_layout Plain Layout
31262 \begin_inset Tabular
31263 <lyxtabular version="3" rows="3" columns="3">
31264 <features tabularvalignment="middle">
31265 <column alignment="center" valignment="top" width="0pt">
31266 <column alignment="center" valignment="top" width="0pt">
31267 <column alignment="center" valignment="top" width="0pt">
31269 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31272 \begin_layout Plain Layout
31278 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31281 \begin_layout Plain Layout
31287 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31290 \begin_layout Plain Layout
31298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31301 \begin_layout Plain Layout
31307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31310 \begin_layout Plain Layout
31316 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31319 \begin_layout Plain Layout
31327 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31330 \begin_layout Plain Layout
31331 \begin_inset Formula $\int x^{2}dx$
31339 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31342 \begin_layout Plain Layout
31343 \begin_inset Formula $\left[\begin{array}{cc}
31346 \end{array}\right]$
31354 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31357 \begin_layout Plain Layout
31358 \begin_inset Formula $1+1=2$
31379 \begin_layout Standard
31380 \begin_inset Float table
31387 \begin_layout Plain Layout
31388 \begin_inset Caption Standard
31390 \begin_layout Plain Layout
31391 \begin_inset CommandInset label
31393 name "tab:A-standard-table"
31397 A standard table caption.
31405 \begin_layout Plain Layout
31407 \begin_inset Tabular
31408 <lyxtabular version="3" rows="3" columns="3">
31409 <features tabularvalignment="middle">
31410 <column alignment="center" valignment="top" width="0pt">
31411 <column alignment="center" valignment="top" width="0pt">
31412 <column alignment="center" valignment="top" width="0pt">
31414 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31417 \begin_layout Plain Layout
31423 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31426 \begin_layout Plain Layout
31432 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31435 \begin_layout Plain Layout
31443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31446 \begin_layout Plain Layout
31452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31455 \begin_layout Plain Layout
31461 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31464 \begin_layout Plain Layout
31472 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31475 \begin_layout Plain Layout
31476 \begin_inset Formula $\int x^{2}dx$
31484 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31487 \begin_layout Plain Layout
31488 \begin_inset Formula $\left[\begin{array}{cc}
31491 \end{array}\right]$
31499 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31502 \begin_layout Plain Layout
31503 \begin_inset Formula $1+1=2$
31524 \begin_layout Standard
31525 \begin_inset VSpace bigskip
31528 It is also possible to set the caption beside a figure or table.
31529 To get this the \SpecialChar LaTeX
31535 \begin_inset Index idx
31540 \begin_layout Plain Layout
31543 \begin_inset IndexMacro subentry
31546 \begin_layout Plain Layout
31557 has to be loaded in the document preamble with the line
31560 \begin_layout Standard
31565 usepackage[option]{sidecap}
31568 \begin_layout Standard
31569 If you set no option, the caption is placed on the side of the outer page
31570 margin – to the right on odd pages, to the left on even pages.
31571 You can change the placement to inner margin with the option
31576 To force the placement always to the right or left, use the option
31587 \begin_layout Standard
31591 \begin_layout Plain Layout
31601 \begin_inset Note Note
31604 \begin_layout Plain Layout
31605 The following section will only be displayed when the \SpecialChar LaTeX
31618 \begin_layout Standard
31619 To place in \SpecialChar LyX
31620 the caption of a float on the side, it is necessary to add
31621 these commands to the document preamble:
31624 \begin_layout Standard
31626 \begin_inset CommandInset line
31637 \begin_layout Standard
31644 TabBesBeg}[1][1.0]{%
31645 \begin_inset Newline newline
31649 \begin_inset Phantom HPhantom
31652 \begin_layout Plain Layout
31653 \begin_inset space ~
31668 \begin_inset Newline newline
31672 \begin_inset Phantom HPhantom
31675 \begin_layout Plain Layout
31678 \begin_inset space ~
31693 \begin_inset Newline newline
31697 \begin_inset Phantom HPhantom
31700 \begin_layout Plain Layout
31703 \begin_inset space ~
31713 renewenvironment{table}[1]{
31715 begin{SCtable}[#1]##1}{
31720 \begin_layout Standard
31728 \begin_inset Newline newline
31732 \begin_inset Phantom HPhantom
31735 \begin_layout Plain Layout
31736 \begin_inset space ~
31751 \begin_inset Newline newline
31755 \begin_inset Phantom HPhantom
31758 \begin_layout Plain Layout
31759 \begin_inset space ~
31776 \begin_layout Standard
31783 FigBesBeg}[1][1.0]{%
31784 \begin_inset Newline newline
31788 \begin_inset Phantom HPhantom
31791 \begin_layout Plain Layout
31792 \begin_inset space ~
31807 \begin_inset Newline newline
31811 \begin_inset Phantom HPhantom
31814 \begin_layout Plain Layout
31815 \begin_inset space ~
31830 \begin_inset Newline newline
31834 \begin_inset Phantom HPhantom
31837 \begin_layout Plain Layout
31838 \begin_inset space ~
31848 renewenvironment{figure}[1]{
31850 begin{SCfigure}[#1]##1}{
31855 \begin_layout Standard
31863 \begin_inset Newline newline
31867 \begin_inset Phantom HPhantom
31870 \begin_layout Plain Layout
31871 \begin_inset space ~
31886 \begin_inset Newline newline
31890 \begin_inset Phantom HPhantom
31893 \begin_layout Plain Layout
31894 \begin_inset space ~
31911 \begin_layout Standard
31913 \begin_inset CommandInset line
31924 \begin_layout Standard
31925 The commands allow you to redefine the floats so that the caption is set
31927 For figure floats use the command
31930 \begin_layout Standard
31938 \begin_layout Standard
31939 in \SpecialChar TeX
31940 Code before the float.
31941 And insert the command
31944 \begin_layout Standard
31952 \begin_layout Standard
31953 in \SpecialChar TeX
31954 Code at the point where you want to get back to the original float definitio
31958 \begin_layout Standard
31959 For table floats use the corresponding commands
31962 \begin_layout Standard
31976 \begin_layout Standard
31978 \begin_inset space ~
31982 \begin_inset CommandInset ref
31984 reference "fig:cap-beside-fig"
31989 \begin_inset space ~
31993 \begin_inset CommandInset ref
31995 reference "tab:cap-beside-tab"
31999 are examples where the caption is set beside.
32002 \begin_layout Standard
32003 You can see in the examples that the caption text appears at the top of
32004 the floats for table floats and at the bottom for figure floats.
32005 To change this, you can use the command
32008 \begin_layout Standard
32013 sidecaptionvpos{float type}{placement}
32016 \begin_layout Standard
32017 in the document preamble or in \SpecialChar TeX
32018 Code before the float.
32019 The float type is either
32027 , the placement can be
32028 \begin_inset Quotes eld
32036 \begin_inset Quotes erd
32040 \begin_inset Quotes eld
32048 \begin_inset Quotes erd
32052 \begin_inset Quotes eld
32060 \begin_inset Quotes erd
32064 To have for example the caption of figure floats vertically centered, use
32068 \begin_layout Standard
32073 sidecaptionvpos{figure}{c}
32076 \begin_layout Standard
32077 This was used for Figure
32078 \begin_inset space ~
32082 \begin_inset CommandInset ref
32084 reference "fig:cap-beside-fig-2"
32091 \begin_layout Standard
32092 \begin_inset VSpace medskip
32098 \begin_layout Standard
32099 The default caption width is the width of the image/table.
32100 For thin image/tables, like in Table
32101 \begin_inset space ~
32105 \begin_inset CommandInset ref
32107 reference "tab:cap-beside-tab"
32111 , this leads to captions that are too thin.
32112 You can increase the width by specifying a factor that will be multiplied
32113 with the image/table width to get the caption width.
32114 The caption width will automatically be recalculated in case it would protrude
32115 over the page or column margin due to the specified width.
32120 can either be given as optional argument for
32129 \begin_layout Standard
32137 \begin_layout Standard
32138 or in the definition of
32148 with another value.
32149 If you do the latter, your factor will be the default if
32155 is used without an argument.
32157 \begin_inset space ~
32161 \begin_inset CommandInset ref
32163 reference "tab:cap-beside-tab-wider"
32167 the factor 5 was used.
32170 \begin_layout Standard
32171 \begin_inset Note Greyedout
32174 \begin_layout Plain Layout
32179 For floats with captions set beside, you cannot use the float placement
32183 \begin_inset space ~
32188 because it is not supported by
32200 \begin_layout Standard
32201 \begin_inset VSpace medskip
32204 For more information about the package
32208 we refer to its documentation
32209 \begin_inset CommandInset citation
32219 \begin_layout Standard
32220 \begin_inset Note Greyedout
32223 \begin_layout Plain Layout
32228 The \SpecialChar LaTeX
32234 \begin_inset Index idx
32239 \begin_layout Plain Layout
32242 \begin_inset IndexMacro subentry
32245 \begin_layout Plain Layout
32256 , described in section
32257 \begin_inset space ~
32261 \begin_inset CommandInset ref
32263 reference "subsec:Reference-Position"
32267 , has no effect on floats with the caption set beside.
32275 \begin_layout Standard
32279 \begin_layout Plain Layout
32291 \begin_layout Standard
32292 \begin_inset Float figure
32299 \begin_layout Plain Layout
32300 \begin_inset Graphics
32301 filename clipart/3D-structure-distort.pdf
32303 scaleBeforeRotation
32310 \begin_layout Plain Layout
32311 \begin_inset Caption Standard
32313 \begin_layout Plain Layout
32314 \begin_inset CommandInset label
32316 name "fig:cap-beside-fig"
32320 This is a caption beside a figure.
32333 \begin_layout Standard
32337 \begin_layout Plain Layout
32349 \begin_layout Standard
32353 \begin_layout Plain Layout
32365 \begin_layout Standard
32366 \begin_inset Float table
32373 \begin_layout Plain Layout
32374 \begin_inset Caption Standard
32376 \begin_layout Plain Layout
32377 \begin_inset CommandInset label
32379 name "tab:cap-beside-tab"
32383 This is a caption beside a table.
32391 \begin_layout Plain Layout
32392 \begin_inset Tabular
32393 <lyxtabular version="3" rows="4" columns="5">
32394 <features tabularvalignment="middle">
32395 <column alignment="center" valignment="top">
32396 <column alignment="center" valignment="top">
32397 <column alignment="center" valignment="top">
32398 <column alignment="center" valignment="top">
32399 <column alignment="center" valignment="top">
32401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32404 \begin_layout Plain Layout
32410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32413 \begin_layout Plain Layout
32419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32422 \begin_layout Plain Layout
32428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32431 \begin_layout Plain Layout
32437 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32440 \begin_layout Plain Layout
32448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32451 \begin_layout Plain Layout
32457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32460 \begin_layout Plain Layout
32466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32469 \begin_layout Plain Layout
32475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32478 \begin_layout Plain Layout
32484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32487 \begin_layout Plain Layout
32495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32498 \begin_layout Plain Layout
32504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32507 \begin_layout Plain Layout
32513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32516 \begin_layout Plain Layout
32522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32525 \begin_layout Plain Layout
32531 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32534 \begin_layout Plain Layout
32542 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32545 \begin_layout Plain Layout
32551 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32554 \begin_layout Plain Layout
32560 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32563 \begin_layout Plain Layout
32569 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32572 \begin_layout Plain Layout
32578 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32581 \begin_layout Plain Layout
32600 \begin_layout Standard
32604 \begin_layout Plain Layout
32616 \begin_layout Standard
32620 \begin_layout Plain Layout
32633 \begin_layout Plain Layout
32637 sidecaptionvpos{figure}{c}
32643 \begin_inset Float figure
32650 \begin_layout Plain Layout
32651 \begin_inset Graphics
32652 filename clipart/3D-structure-distort.pdf
32654 scaleBeforeRotation
32661 \begin_layout Plain Layout
32662 \begin_inset Caption Standard
32664 \begin_layout Plain Layout
32665 \begin_inset CommandInset label
32667 name "fig:cap-beside-fig-2"
32671 This is a vertically centered caption beside a figure.
32684 \begin_layout Standard
32688 \begin_layout Plain Layout
32700 \begin_layout Standard
32704 \begin_layout Plain Layout
32716 \begin_layout Standard
32717 \begin_inset Float table
32724 \begin_layout Plain Layout
32725 \begin_inset Caption Standard
32727 \begin_layout Plain Layout
32728 \begin_inset CommandInset label
32730 name "tab:cap-beside-tab-wider"
32734 This caption is wider than the one in Table
32735 \begin_inset space ~
32739 \begin_inset CommandInset ref
32741 reference "tab:cap-beside-tab"
32753 \begin_layout Plain Layout
32754 \begin_inset Tabular
32755 <lyxtabular version="3" rows="4" columns="5">
32756 <features tabularvalignment="middle">
32757 <column alignment="center" valignment="top">
32758 <column alignment="center" valignment="top">
32759 <column alignment="center" valignment="top">
32760 <column alignment="center" valignment="top">
32761 <column alignment="center" valignment="top">
32763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32766 \begin_layout Plain Layout
32772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32775 \begin_layout Plain Layout
32781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32784 \begin_layout Plain Layout
32790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32793 \begin_layout Plain Layout
32799 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32802 \begin_layout Plain Layout
32810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32813 \begin_layout Plain Layout
32819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32822 \begin_layout Plain Layout
32828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32831 \begin_layout Plain Layout
32837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32840 \begin_layout Plain Layout
32846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32849 \begin_layout Plain Layout
32857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32860 \begin_layout Plain Layout
32866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32869 \begin_layout Plain Layout
32875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32878 \begin_layout Plain Layout
32884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
32887 \begin_layout Plain Layout
32893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
32896 \begin_layout Plain Layout
32904 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32907 \begin_layout Plain Layout
32913 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32916 \begin_layout Plain Layout
32922 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32925 \begin_layout Plain Layout
32931 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
32934 \begin_layout Plain Layout
32940 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
32943 \begin_layout Plain Layout
32962 \begin_layout Standard
32966 \begin_layout Plain Layout
32978 \begin_layout Standard
32982 \begin_layout Plain Layout
32992 \begin_inset Note Note
32995 \begin_layout Plain Layout
32996 The following will be displayed when the \SpecialChar LaTeX
33009 \begin_layout Standard
33010 You need to install the \SpecialChar LaTeX
33015 to see the following part of this section in the output.
33018 \begin_layout Standard
33022 \begin_layout Plain Layout
33034 \begin_layout Section
33036 \begin_inset Index idx
33041 \begin_layout Plain Layout
33043 \begin_inset IndexMacro subentry
33046 \begin_layout Plain Layout
33060 \begin_layout Standard
33061 Similar to the table of contents where the sections of the document are
33062 listed, there are listings for all float types, like the figures of the
33064 You can insert them via the
33066 Insert\SpecialChar menuseparator
33068 \begin_inset space ~
33072 \begin_inset space ~
33080 \begin_layout Standard
33081 The list entries are the float captions or its short title, the float number,
33082 and the page number where they appear in the document.
33085 \begin_layout Standard
33086 You can find the list of figures and tables at the end of this document.
33089 \begin_layout Chapter
33093 \begin_layout Section
33096 \begin_inset Index idx
33101 \begin_layout Plain Layout
33103 \begin_inset IndexMacro subentry
33106 \begin_layout Plain Layout
33121 \begin_layout Standard
33122 Notes are inserted with the toolbar button
33130 Insert\SpecialChar menuseparator
33134 There are three types of notes:
33137 \begin_layout Description
33140 \begin_inset space ~
33143 Note This note type is for internal notes that won't appear in the output.
33144 Its note-box looks like this:
33145 \begin_inset Newline newline
33149 \begin_inset Newline newline
33153 \begin_inset Graphics
33154 filename clipart/LyXNoteImage.png
33156 scaleBeforeRotation
33161 \begin_inset Note Note
33164 \begin_layout Plain Layout
33165 This is text in a note box that doesn't appear in the output.
33173 \begin_layout Description
33174 Comment This note also doesn't appear in the output but it appears as \SpecialChar LaTeX
33176 when you export the document to \SpecialChar LaTeX
33179 File\SpecialChar menuseparator
33180 Export\SpecialChar menuseparator
33182 \begin_inset space ~
33185 (pdflatex) / (plain)
33188 Its note-box looks like this:
33189 \begin_inset Newline newline
33193 \begin_inset Newline newline
33197 \begin_inset Graphics
33198 filename clipart/CommentNoteImage.png
33200 scaleBeforeRotation
33205 \begin_inset Note Comment
33208 \begin_layout Plain Layout
33209 This is text in a note box that only appears as comment in \SpecialChar LaTeX
33218 \begin_layout Description
33220 \begin_inset space ~
33223 Out This note will appear in the output as grey text.
33224 Its note-box looks like this:
33225 \begin_inset Newline newline
33229 \begin_inset Newline newline
33233 \begin_inset Graphics
33234 filename clipart/GreyedOutNoteImage.png
33236 scaleBeforeRotation
33241 \begin_inset Newline newline
33248 \begin_layout Plain Layout
33252 renewenvironment{lyxgreyedout}
33255 \begin_layout Plain Layout
33259 textcolor[gray]{0.8}
33269 \begin_inset Note Greyedout
33272 \begin_layout Plain Layout
33273 This is text of a comment that appears grey in the output.
33282 \begin_layout Plain Layout
33286 renewenvironment{lyxgreyedout}
33289 \begin_layout Plain Layout
33303 \begin_inset Note Note
33306 \begin_layout Plain Layout
33307 The greyed out note is here redefined to show it with the original \SpecialChar LyX
33309 because greyed out notes are redefined in the preamble of this document,
33310 as described below, to have blue text.
33316 \begin_inset Newline newline
33320 \begin_inset Newline newline
33323 As you can see in the example, the first line of greyed out notes is a bit
33324 indented and greyed out notes can have footnotes.
33327 \begin_layout Standard
33328 \begin_inset VSpace bigskip
33331 When you use the toolbar button
33341 \begin_inset space ~
33347 You can switch between the three note types by right-clicking on the note-box.
33352 If you want to turn existing text into a note, mark it and click on the
33366 To change a note to text, press the backspace key when the cursor is in
33367 the first position of a note, or press the delete key when the cursor is
33368 in the very last position of the note, respectively.
33371 \begin_layout Standard
33372 \begin_inset VSpace bigskip
33375 You can change the text color of the greyed out notes in the menu
33377 Document\SpecialChar menuseparator
33378 Settings\SpecialChar menuseparator
33384 \begin_layout Section
33386 \begin_inset CommandInset label
33388 name "sec:Footnotes"
33393 \begin_inset Index idx
33398 \begin_layout Plain Layout
33400 \begin_inset IndexMacro subentry
33403 \begin_layout Plain Layout
33415 \begin_inset Index idx
33420 \begin_layout Plain Layout
33429 \begin_layout Standard
33430 Footnotes can be inserted using the toolbar button
33433 arg "footnote-insert"
33438 Insert\SpecialChar menuseparator
33442 You will then see the following footnote-box:
33443 \begin_inset Graphics
33444 filename clipart/footnote.png
33446 scaleBeforeRotation
33454 where you can enter the footnote text.
33455 If you want to turn existing text into a footnote, mark it and click on
33481 key when the cursor is in the first position of a
33493 key when the cursor is in the very last position of the
33504 \begin_layout Standard
33505 Here is an example footnote:
33513 \begin_layout Plain Layout
33514 \begin_inset CommandInset label
33516 name "foot:This-is-an"
33520 This is an example footnote.
33533 \begin_layout Plain Layout
33537 newcounter{MyRepeatFoot}
33540 \begin_layout Plain Layout
33544 setcounter{MyRepeatFoot}{
33554 \begin_layout Standard
33555 The footnote will appear in the output as a superscript number at the text
33556 position where the footnote box is placed.
33557 The footnote text is placed at the bottom of the current page.
33558 The footnote number is calculated by \SpecialChar LaTeX
33559 ; the numbers are consecutive.
33560 Whether the footnote number is reset for every chapter depends on your
33564 \begin_layout Standard
33565 Footnotes can be referenced like floats: Insert a label into the footnote
33566 and cross-reference this label in the text as described in section
33567 \begin_inset space ~
33571 \begin_inset CommandInset ref
33573 reference "sec:Referencing-Floats"
33578 \begin_inset Newline newline
33581 This is a cross-reference of Footnote
33582 \begin_inset space ~
33586 \begin_inset CommandInset ref
33588 reference "foot:This-is-an"
33595 \begin_layout Standard
33596 \begin_inset VSpace defskip
33599 Footnotes in title environments are usually not numbered with symbols and
33600 they cannot contain several paragraphs.
33601 See for example the footnote in the titling of this document.
33604 \begin_layout Standard
33605 Footnotes in multi-page tables are described in section
33606 \begin_inset space ~
33610 \begin_inset CommandInset ref
33612 reference "subsec:Footnotes-in-Multi-page"
33619 \begin_layout Standard
33620 \begin_inset VSpace defskip
33626 \begin_layout Standard
33627 Footnotes in minipage boxes are printed, but inside the box and with a different
33628 numbering because a minipage box is like a page inside a page.
33629 (For more about minipages, see section
33630 \begin_inset space ~
33634 \begin_inset CommandInset ref
33636 reference "sec:Minipages"
33640 .) To get a footnote in the minipage that is output at the bottom of the
33641 page like normal footnotes use this method: Instead of the footnote the
33648 is inserted as \SpecialChar TeX
33650 The text of the footnote is entered as an argument of the \SpecialChar TeX
33658 after the minipage.
33659 \begin_inset Newline newline
33662 This was done for the following minipage with the command
33665 \begin_layout Standard
33672 Footnote outside the minipage.
33677 \begin_layout Standard
33678 \begin_inset Box Frameless
33688 height_special "totalheight"
33693 backgroundcolor "none"
33696 \begin_layout Plain Layout
33697 This an example text in a minipage.
33701 \begin_layout Plain Layout
33702 Footnote in the minipage.
33710 \begin_layout Plain Layout
33711 This an example text in a minipage.
33715 \begin_layout Plain Layout
33732 \begin_layout Standard
33736 \begin_layout Plain Layout
33745 Footnote outside the minipage.
33749 \begin_layout Plain Layout
33759 \begin_layout Standard
33760 \begin_inset VSpace defskip
33766 \begin_layout Standard
33767 To refer to the same footnote several times without printing the footnote
33768 text every time, use the command
33772 footnotemark[number]
33774 in \SpecialChar TeX
33776 \begin_inset Newline newline
33779 As you do not know the number of the repeating footnote while you are writing
33780 the text, you have to store its number.
33781 For the following footnote mark example, these commands were inserted in
33783 code after Footnote
33784 \begin_inset space ~
33788 \begin_inset CommandInset ref
33790 reference "foot:This-is-an"
33794 to store the footnote number:
33797 \begin_layout Standard
33802 newcounter{MyRepeatFoot}
33803 \begin_inset Newline newline
33808 setcounter{MyRepeatFoot}{
33813 \begin_layout Standard
33814 The footnote mark was then created with this command:
33817 \begin_layout Standard
33827 \begin_layout Standard
33828 Here is a repeated footnote:
33836 \begin_layout Plain Layout
33850 \begin_layout Standard
33851 If you want to repeat the previous footnote, you can omit the storage of
33852 the footnote number and just use this command instead:
33855 \begin_layout Standard
33865 \begin_layout Standard
33866 Here is another repeated footnote:
33874 \begin_layout Plain Layout
33888 \begin_layout Subsection
33890 \begin_inset CommandInset label
33892 name "subsec:Footnote-Numbering"
33897 \begin_inset Index idx
33902 \begin_layout Plain Layout
33904 \begin_inset IndexMacro subentry
33907 \begin_layout Plain Layout
33921 \begin_layout Standard
33922 To reset the footnote number back to 1 after each section
33924 , add this command to your document preamble:
33927 \begin_layout Standard
33932 @addtoreset{footnote}{section}
33935 \begin_layout Standard
33936 \begin_inset VSpace bigskip
33939 The following preamble command changes the footnote numbering style to small
33943 \begin_layout Standard
33955 \begin_layout Standard
33959 \begin_layout Plain Layout
33972 This is a footnote with roman numbering:
33976 \begin_layout Plain Layout
33977 This is an example footnote with roman numbering.
33985 \begin_layout Standard
33986 To change the numbering style to capital roman numerals replace in the command
34001 \begin_inset Quotes eld
34005 \begin_inset Quotes erd
34008 footnotes with capital or small Latin letters use
34022 \begin_inset Quotes eld
34026 \begin_inset Quotes erd
34029 footnotes with symbols use
34038 \begin_layout Standard
34039 \begin_inset Note Greyedout
34042 \begin_layout Plain Layout
34047 You can only number 26 footnotes with Latin letters, because this numbering
34048 is limited to single letters.
34054 \begin_inset Newline newline
34058 \begin_inset Note Greyedout
34061 \begin_layout Plain Layout
34066 You can only number 9 footnotes with symbols.
34074 \begin_layout Standard
34075 To return to the default numbering style after you have changed to another
34088 in the command above.
34092 \begin_layout Plain Layout
34108 \begin_layout Standard
34109 \begin_inset VSpace bigskip
34115 \begin_layout Standard
34116 If you want to have footnotes numbered in the scheme
34117 \begin_inset Quotes eld
34121 \begin_inset Quotes erd
34124 , add the following command to your document preamble:
34127 \begin_layout Standard
34132 numberwithin{footnote}{chapter}
34135 \begin_layout Standard
34136 To be able to use the command
34145 \begin_inset space ~
34150 in the document settings the option
34153 \begin_inset space ~
34157 \begin_inset space ~
34161 \begin_inset space ~
34169 \begin_layout Standard
34173 \begin_layout Plain Layout
34177 numberwithin{footnote}{chapter}
34182 This is another example footnote:
34188 \begin_layout Plain Layout
34189 This is a footnote numbered in the scheme
34190 \begin_inset Quotes eld
34194 \begin_inset Quotes erd
34208 \begin_layout Plain Layout
34224 \begin_layout Standard
34225 \begin_inset Note Greyedout
34228 \begin_layout Plain Layout
34239 always prints out the footnote number as arabic number; previous redefinitions
34240 to get non-arabic numbers are overwritten.
34248 \begin_layout Standard
34249 So to get for example the scheme
34250 \begin_inset Quotes eld
34256 \begin_inset Quotes erd
34259 , use this command instead of
34268 \begin_layout Standard
34282 \begin_layout Subsection
34284 \begin_inset Index idx
34289 \begin_layout Plain Layout
34291 \begin_inset IndexMacro subentry
34294 \begin_layout Plain Layout
34308 \begin_layout Standard
34309 If you have several footnotes in one page, they appear without vertical
34310 space between them at the bottom of the page.
34311 To make them more readable you can e.
34312 \begin_inset space \thinspace{}
34316 \begin_inset space \space{}
34320 \begin_inset space \thinspace{}
34323 mm space with the following preamble command:
34326 \begin_layout Standard
34336 \begin_inset Newline newline
34350 \begin_layout Standard
34351 \begin_inset VSpace bigskip
34354 In a two-column document the footnotes appear at the bottom of every column,
34356 \begin_inset space ~
34360 \begin_inset CommandInset ref
34362 reference "fig:Standard-footnote-placement"
34367 If the footnotes should only appear at the bottom of the right column,
34369 \begin_inset space ~
34373 \begin_inset CommandInset ref
34375 reference "fig:Footnote-placement-in"
34379 , use the \SpecialChar LaTeX
34385 \begin_inset Index idx
34390 \begin_layout Plain Layout
34393 \begin_inset IndexMacro subentry
34396 \begin_layout Plain Layout
34407 with this command in the document preamble:
34410 \begin_layout Standard
34415 usepackage{ftnright}
34418 \begin_layout Standard
34419 \begin_inset Float figure
34426 \begin_layout Plain Layout
34429 \begin_inset Box Boxed
34439 height_special "totalheight"
34444 backgroundcolor "none"
34447 \begin_layout Plain Layout
34448 \begin_inset Graphics
34449 filename clipart/without_fntright.pdf
34451 scaleBeforeRotation
34463 \begin_layout Plain Layout
34464 \begin_inset Caption Standard
34466 \begin_layout Plain Layout
34467 \begin_inset CommandInset label
34469 name "fig:Standard-footnote-placement"
34473 Standard footnote placement in two-column documents.
34486 \begin_layout Standard
34487 \begin_inset Float figure
34494 \begin_layout Plain Layout
34497 \begin_inset Box Boxed
34507 height_special "totalheight"
34512 backgroundcolor "none"
34515 \begin_layout Plain Layout
34516 \begin_inset Graphics
34517 filename clipart/with_fntright.pdf
34519 scaleBeforeRotation
34531 \begin_layout Plain Layout
34532 \begin_inset Caption Standard
34534 \begin_layout Plain Layout
34535 \begin_inset CommandInset label
34537 name "fig:Footnote-placement-in"
34541 Footnote placement in two-column documents when the \SpecialChar LaTeX
34559 \begin_layout Standard
34560 \begin_inset VSpace bigskip
34563 In some scientific literature it is usual to collect the footnotes and print
34564 them in a separate paragraph at the end of a section, as in Figure
34565 \begin_inset space ~
34569 \begin_inset CommandInset ref
34571 reference "fig:Endnotes"
34576 They are then called
34577 \begin_inset Quotes eld
34581 \begin_inset Quotes erd
34585 \begin_inset Index idx
34590 \begin_layout Plain Layout
34596 To use endnotes instead of footnotes in your document, load in the menu
34599 Document\SpecialChar menuseparator
34600 Settings\SpecialChar menuseparator
34606 \begin_inset space ~
34610 \begin_inset space ~
34616 To insert the collected footnotes, insert the command
34619 \begin_layout Standard
34627 \begin_layout Standard
34628 in \SpecialChar TeX
34629 Code at the end of a section or chapter.
34632 \begin_layout Standard
34633 \begin_inset Float figure
34640 \begin_layout Plain Layout
34643 \begin_inset Box Boxed
34653 height_special "totalheight"
34658 backgroundcolor "none"
34661 \begin_layout Plain Layout
34662 \begin_inset Graphics
34663 filename clipart/endnotes.pdf
34665 scaleBeforeRotation
34677 \begin_layout Plain Layout
34678 \begin_inset Caption Standard
34680 \begin_layout Plain Layout
34681 \begin_inset CommandInset label
34683 name "fig:Endnotes"
34687 Endnotes – footnotes are printed in a separate paragraph at the end of sections
34701 \begin_layout Standard
34702 \begin_inset VSpace medskip
34705 The paragraph heading for the endnotes isn't automatically translated into
34706 the document language, this must be done manually.
34707 The following preamble command translates the default English
34708 \begin_inset Quotes eld
34712 \begin_inset Quotes erd
34716 \begin_inset Quotes eld
34720 \begin_inset Quotes erd
34726 \begin_layout Standard
34733 notesname}{Anmerkungen}
34736 \begin_layout Standard
34737 \begin_inset VSpace medskip
34740 The numbering of endnotes can be changed like the footnote numbering as
34741 described in section
34742 \begin_inset space ~
34746 \begin_inset CommandInset ref
34748 reference "subsec:Footnote-Numbering"
34752 ; just replace the command
34765 To reset the endnote number use the command
34771 as described in section
34772 \begin_inset space ~
34776 \begin_inset CommandInset ref
34778 reference "subsec:Footnote-Numbering"
34782 and replace the command parameter
34793 \begin_layout Standard
34794 For endnotes there is the command
34798 endnotemark[number]
34800 similar to the command
34806 , that is described in section
34807 \begin_inset space ~
34811 \begin_inset CommandInset ref
34813 reference "sec:Footnotes"
34820 \begin_layout Standard
34821 \begin_inset VSpace bigskip
34824 Footnotes can also be placed in the page margin and the footnote text alignment
34825 can be changed, see the \SpecialChar LaTeX
34831 \begin_inset Index idx
34836 \begin_layout Plain Layout
34839 \begin_inset IndexMacro subentry
34842 \begin_layout Plain Layout
34854 \begin_inset CommandInset citation
34861 for more information about this.
34864 \begin_layout Standard
34865 For various further footnote formatting issues have a look at \SpecialChar LaTeX
34867 \begin_inset CommandInset citation
34869 key "latexcompanion,latexguide,latexbook"
34880 \begin_inset Index idx
34885 \begin_layout Plain Layout
34888 \begin_inset IndexMacro subentry
34891 \begin_layout Plain Layout
34902 document class, you can adjust all footnote settings using class-specific
34904 \begin_inset CommandInset citation
34914 \begin_layout Section
34916 \begin_inset Index idx
34921 \begin_layout Plain Layout
34923 \begin_inset IndexMacro subentry
34926 \begin_layout Plain Layout
34940 \begin_layout Standard
34941 Margin notes look and behave in \SpecialChar LyX
34943 They are inserted via the menu
34945 Insert\SpecialChar menuseparator
34947 \begin_inset space ~
34952 or the toolbar button
34955 arg "marginalnote-insert"
34969 \begin_inset Quotes eld
34973 \begin_inset Quotes erd
34976 appears where you can enter the text of the margin note.
34979 \begin_layout Standard
34980 At the side is an example margin note.
34985 \begin_inset Marginal
34988 \begin_layout Plain Layout
34989 This is a margin note.
34997 \begin_layout Standard
34998 Margin notes appear at the right side in single-sided documents.
34999 In double-sided documents they appear in the outer margin – left on even
35000 pages, right on odd pages.
35001 The text of margin notes is aligned opposite to the outer margin – right-aligne
35002 d when the note appears in the left margin.
35003 The first line of the margin note is placed at the position of the text
35004 line where it is inserted in the document.
35007 \begin_layout Standard
35008 \begin_inset VSpace bigskip
35011 To place the margin note in the inner margin, add the command
35014 \begin_layout Standard
35022 \begin_layout Standard
35023 in \SpecialChar TeX
35024 Code before a margin note.
35025 The new placement is valid for all subsequent margin notes.
35030 \begin_layout Plain Layout
35040 \begin_inset Marginal
35043 \begin_layout Plain Layout
35044 This is a margin note in the inner margin.
35052 \begin_inset Newline newline
35058 \begin_inset Note Greyedout
35061 \begin_layout Plain Layout
35066 There is often not enough space in the inner margin so that the notes are
35067 not correctly displayed in the output.
35075 \begin_layout Standard
35076 To return to the default placement insert the command
35079 \begin_layout Standard
35087 \begin_layout Standard
35088 in \SpecialChar TeX
35093 \begin_layout Plain Layout
35103 \begin_inset Note Greyedout
35106 \begin_layout Plain Layout
35111 The command is ignored when it is within a paragraph where also the command
35126 \begin_layout Standard
35127 \begin_inset VSpace bigskip
35134 \begin_inset Marginal
35137 \begin_layout Plain Layout
35138 AVeryLongMarginParWord that isn't hyphenated.
35146 Similar to the case described in section
35147 \begin_inset space ~
35151 \begin_inset CommandInset ref
35153 reference "subsec:Multiple-Lines-in"
35157 , long words cannot be hyphenated when they are the first word in a margin
35159 To avoid this, insert 0
35160 \begin_inset space \thinspace{}
35163 pt horizontal space before the word
35168 \begin_inset Marginal
35171 \begin_layout Plain Layout
35172 \begin_inset space \hspace*{}
35176 AVeryLongMarginParWord that is hyphenated.
35184 \begin_layout Standard
35185 \begin_inset VSpace bigskip
35191 \begin_layout Standard
35192 \begin_inset Note Greyedout
35195 \begin_layout Plain Layout
35200 Margin notes can normally not be used inside tables, floats, and footnotes.
35208 \begin_layout Standard
35209 \begin_inset VSpace bigskip
35215 \begin_layout Standard
35219 \begin_layout Plain Layout
35229 \begin_inset Note Note
35232 \begin_layout Plain Layout
35233 The following section will only be displayed when the \SpecialChar LaTeX
35246 \begin_layout Standard
35247 This restriction can be evaded by using the \SpecialChar LaTeX
35253 \begin_inset Index idx
35258 \begin_layout Plain Layout
35261 \begin_inset IndexMacro subentry
35264 \begin_layout Plain Layout
35276 By adding these two lines to your document preamble, the command used by
35278 for margin notes is redefined to use the command provided by the
35285 \begin_layout Standard
35290 usepackage{marginnote}
35291 \begin_inset Newline newline
35303 \begin_layout Standard
35304 This is also used in this document because
35308 has another useful feature: You can set a vertical offset for the note.
35309 This is often needed when too many margin notes are too close together
35310 or for a better page layout.
35311 The offset is set in \SpecialChar LyX
35312 as \SpecialChar TeX
35313 Code directly after the margin note in the scheme
35316 \begin_layout Standard
35322 \begin_layout Standard
35323 where the offset is a length with one of the units listed in Table
35324 \begin_inset space ~
35328 \begin_inset CommandInset ref
35330 reference "tab:Units"
35335 A negative value shifts the note up, a positive value shifts it down.
35339 For example the margin note beside this text line is shifted up 1.5
35340 \begin_inset space \thinspace{}
35343 cm with the \SpecialChar TeX
35345 \begin_inset Quotes eld
35355 \begin_inset Quotes erd
35359 \begin_inset Marginal
35362 \begin_layout Plain Layout
35363 This margin note is shifted up 1.5
35364 \begin_inset space \thinspace{}
35367 cm from its original position.
35379 \begin_layout Plain Layout
35389 \begin_layout Standard
35390 \begin_inset VSpace medskip
35397 you can also change the alignment of the text in the margin note.
35398 For example the commands
35401 \begin_layout Standard
35408 raggedleftmarginnote}{
35411 \begin_inset Newline newline
35418 raggedrightmarginnote}{
35423 \begin_layout Standard
35424 set the alignment to centered.
35429 raggedleftmarginnote
35431 denotes margin notes that appear at the left side.
35438 \begin_layout Plain Layout
35444 raggedleftmarginnote}{
35449 \begin_layout Plain Layout
35455 raggedrightmarginnote}{
35463 \begin_inset Marginal
35466 \begin_layout Plain Layout
35467 The text of this margin note is centered.
35478 \begin_layout Standard
35485 raggedleftmarginnote}{
35488 \begin_inset Newline newline
35495 raggedrightmarginnote}{
35504 \begin_layout Plain Layout
35510 raggedleftmarginnote}{
35515 \begin_layout Plain Layout
35521 raggedrightmarginnote}{
35531 \begin_layout Standard
35532 \begin_inset VSpace medskip
35535 For the other features of
35539 refer to its documentation
35540 \begin_inset CommandInset citation
35550 \begin_layout Standard
35551 \begin_inset VSpace bigskip
35554 You can adjust the layout of margin notes by changing its definition.
35555 To create for example a header for all margin notes with the underlined,
35556 sans-serif, and bold header text
35557 \begin_inset Quotes eld
35569 \begin_inset Quotes erd
35572 , add this to your document preamble:
35575 \begin_layout Standard
35585 \begin_inset Newline newline
35595 \begin_inset Newline newline
35599 \begin_inset Phantom HPhantom
35602 \begin_layout Plain Layout
35605 \begin_inset space ~
35621 underbar{Attention!}}}%
35622 \begin_inset Newline newline
35626 \begin_inset Phantom HPhantom
35629 \begin_layout Plain Layout
35632 \begin_inset space ~
35649 \begin_layout Standard
35656 \begin_layout Plain Layout
35667 \begin_layout Plain Layout
35678 \begin_layout Plain Layout
35686 underbar{Attention!}}}%
35689 \begin_layout Plain Layout
35703 \begin_inset Marginal
35706 \begin_layout Plain Layout
35707 This is a margin note with a defined heading.
35719 \begin_layout Plain Layout
35733 \begin_layout Plain Layout
35750 \begin_inset Note Note
35753 \begin_layout Plain Layout
35754 The margin note format is changed only for this example.
35762 \begin_layout Standard
35766 \begin_layout Plain Layout
35776 \begin_inset Note Note
35779 \begin_layout Plain Layout
35780 The following will be displayed when the \SpecialChar LaTeX
35793 \begin_layout Standard
35794 You need to install the \SpecialChar LaTeX
35799 to see the following part of this section in the output.
35802 \begin_layout Standard
35806 \begin_layout Plain Layout
35818 \begin_layout Chapter
35822 \begin_layout Section
35824 \begin_inset Index idx
35829 \begin_layout Plain Layout
35831 \begin_inset IndexMacro subentry
35834 \begin_layout Plain Layout
35848 \begin_layout Standard
35849 Boxes are used to format a block of text.
35850 Boxes can be used to write documents with multiple languages, see section
35851 \begin_inset space ~
35855 \begin_inset CommandInset ref
35857 reference "sec:Minipages"
35861 , to frame texts, see section
35862 \begin_inset space ~
35866 \begin_inset CommandInset ref
35868 reference "sec:Decoration"
35872 , to prevent words from being hyphenated, see section
35873 \begin_inset space ~
35877 \begin_inset CommandInset ref
35879 reference "sec:Prevent-Hyphenation"
35883 , to align text, see section
35884 \begin_inset space ~
35888 \begin_inset CommandInset ref
35890 reference "subsec:Vertical-Alignment"
35894 , or to set the background color of texts, see section
35895 \begin_inset space ~
35899 \begin_inset CommandInset ref
35901 reference "sec:Colored-Boxes"
35908 \begin_layout Standard
35909 Boxes can be inserted with the menu
35911 Insert\SpecialChar menuseparator
35914 or the toolbar button
35917 arg "box-insert Frameless"
35921 A grey box with the label
35926 \begin_inset Graphics
35927 filename clipart/BoxInsetDefault.png
35929 scaleBeforeRotation
35934 The box type can be specified by right-clicking on the box and selecting
35940 The box dialog offers the
35943 \begin_inset space ~
35965 is the default for new boxes and is explained in section
35966 \begin_inset space ~
35970 \begin_inset CommandInset ref
35972 reference "sec:Minipages"
35980 is described in section
35981 \begin_inset space ~
35985 \begin_inset CommandInset ref
35987 reference "sec:Parboxes"
35996 \begin_inset CommandInset ref
35998 reference "sec:Prevent-Hyphenation"
36005 \begin_layout Standard
36006 Boxes are not numbered and can therefore not be referenced like floats or
36010 \begin_layout Standard
36011 \begin_inset Note Greyedout
36014 \begin_layout Plain Layout
36019 Boxes must not be the item in an
36035 \begin_layout Standard
36036 \begin_inset Note Greyedout
36039 \begin_layout Plain Layout
36044 For an unknown reason you can only set the
36047 \begin_inset space ~
36056 when you use a framed box.
36060 \begin_inset space ~
36065 type and without frames are explained in section
36066 \begin_inset space ~
36070 \begin_inset CommandInset ref
36072 reference "sec:Prevent-Hyphenation"
36084 \begin_layout Section
36086 \begin_inset CommandInset label
36088 name "sec:Box-Dialog"
36093 \begin_inset Index idx
36098 \begin_layout Plain Layout
36100 \begin_inset IndexMacro subentry
36103 \begin_layout Plain Layout
36117 \begin_layout Subsection
36119 \begin_inset Index idx
36124 \begin_layout Plain Layout
36126 \begin_inset IndexMacro subentry
36129 \begin_layout Plain Layout
36143 \begin_layout Standard
36144 In the box dialog you can adjust the box geometry in the fields
36153 The available units for the geometry are explained in Table
36154 \begin_inset space ~
36158 \begin_inset CommandInset ref
36160 reference "tab:Units"
36169 offers the following additional sizes:
36172 \begin_layout Description
36173 Depth This is the plain text
36174 \begin_inset Quotes eld
36178 \begin_inset Quotes erd
36182 It ignores the total depth when there are multiple text lines in the box:
36183 \begin_inset Newline newline
36187 \begin_inset Newline newline
36191 \begin_inset Newline newline
36195 \begin_inset Box Boxed
36205 height_special "depth"
36210 backgroundcolor "none"
36213 \begin_layout Plain Layout
36215 Box height set to 1
36216 \begin_inset space \thinspace{}
36225 \begin_inset Newline newline
36229 \begin_inset Newline newline
36235 \begin_layout Description
36236 Height This is the height of the text that is inside the box.
36238 \begin_inset space \thinspace{}
36242 \begin_inset space \space{}
36245 2 for this size will set the box height to 2
36246 \begin_inset space ~
36249 times the text height:
36250 \begin_inset Box Boxed
36260 height_special "height"
36265 backgroundcolor "none"
36268 \begin_layout Plain Layout
36270 Box height set to 2
36271 \begin_inset space \thinspace{}
36282 \begin_layout Description
36284 \begin_inset space ~
36287 Height This is the Height
36288 \begin_inset space \thinspace{}
36292 \begin_inset space \thinspace{}
36296 \begin_inset Box Boxed
36306 height_special "totalheight"
36311 backgroundcolor "none"
36314 \begin_layout Plain Layout
36316 Box height set to 1
36317 \begin_inset space \thinspace{}
36321 \begin_inset space ~
36332 \begin_layout Description
36333 Width This sets the width of the box as height:
36334 \begin_inset Box Boxed
36344 height_special "width"
36349 backgroundcolor "none"
36352 \begin_layout Plain Layout
36354 Box height set to 1
36355 \begin_inset space \thinspace{}
36366 \begin_layout Subsection
36368 \begin_inset Index idx
36373 \begin_layout Plain Layout
36375 \begin_inset IndexMacro subentry
36378 \begin_layout Plain Layout
36392 \begin_layout Standard
36393 When you have chosen an
36396 \begin_inset space ~
36401 , the vertical box alignment can be:
36404 \begin_layout Description
36405 Top This is an example text line.
36407 \begin_inset Box Boxed
36417 height_special "totalheight"
36422 backgroundcolor "none"
36425 \begin_layout Plain Layout
36427 This box is top-aligned.
36432 This is an example text line.
36435 \begin_layout Description
36436 Middle This is an example text line.
36438 \begin_inset Box Boxed
36448 height_special "totalheight"
36453 backgroundcolor "none"
36456 \begin_layout Plain Layout
36458 This box is middle-aligned.
36463 This is an example text line.
36466 \begin_layout Description
36467 Bottom This is an example text line.
36469 \begin_inset Box Boxed
36479 height_special "totalheight"
36484 backgroundcolor "none"
36487 \begin_layout Plain Layout
36489 This box is bottom-aligned.
36494 This is an example text line.
36497 \begin_layout Standard
36498 \begin_inset Note Greyedout
36501 \begin_layout Plain Layout
36506 The vertical box alignment can be lost in the output when you have two
36507 boxes in a line and one has e.
36508 \begin_inset space \thinspace{}
36512 \begin_inset space \space{}
36515 a shadow and the other one not.
36523 \begin_layout Standard
36524 The horizontal box alignment can be set via \SpecialChar LyX
36525 's paragraph dialog when you
36526 set the box into its own paragraph.
36529 \begin_layout Standard
36530 \begin_inset VSpace bigskip
36533 When you have chosen an
36536 \begin_inset space ~
36541 , the box content can be aligned vertically to:
36544 \begin_layout Description
36545 top This is an example text line.
36547 \begin_inset Box Boxed
36557 height_special "totalheight"
36562 backgroundcolor "none"
36565 \begin_layout Plain Layout
36567 This box text is top-aligned.
36572 This is an example text line.
36575 \begin_layout Description
36576 middle This is an example text line.
36578 \begin_inset Box Boxed
36588 height_special "totalheight"
36593 backgroundcolor "none"
36596 \begin_layout Plain Layout
36598 This box text is middle-aligned.
36603 This is an example text line.
36606 \begin_layout Description
36607 bottom This is an example text line.
36609 \begin_inset Box Boxed
36619 height_special "totalheight"
36624 backgroundcolor "none"
36627 \begin_layout Plain Layout
36629 This box text is bottom-aligned.
36634 This is an example text line.
36637 \begin_layout Description
36638 stretch This is an example text line.
36640 \begin_inset Box Boxed
36650 height_special "totalheight"
36655 backgroundcolor "none"
36658 \begin_layout Plain Layout
36663 \begin_layout Plain Layout
36668 \begin_layout Plain Layout
36675 This is an example text line.
36678 \begin_layout Standard
36679 To stretch the box content, it must consist of more than one paragraph.
36680 In the example above every text line is in an own paragraph.
36683 \begin_layout Standard
36684 \begin_inset VSpace bigskip
36687 To align the box content horizontally you can use \SpecialChar LyX
36688 's paragraph dialog when
36692 \begin_inset space ~
36700 \begin_layout Standard
36702 \begin_inset Box Boxed
36712 height_special "totalheight"
36717 backgroundcolor "none"
36720 \begin_layout Plain Layout
36725 \begin_layout Plain Layout
36730 \begin_layout Plain Layout
36740 \begin_layout Standard
36741 If you have not set an
36744 \begin_inset space ~
36749 , you can align the box content horizontally in the box dialog.
36752 \begin_layout Standard
36754 \begin_inset Box Boxed
36764 height_special "totalheight"
36769 backgroundcolor "none"
36772 \begin_layout Plain Layout
36773 This box text is horizontally stretched.
36781 \begin_layout Subsection
36783 \begin_inset CommandInset label
36785 name "sec:Decoration"
36790 \begin_inset Index idx
36795 \begin_layout Plain Layout
36797 \begin_inset IndexMacro subentry
36800 \begin_layout Plain Layout
36814 \begin_layout Standard
36815 The type of the box can be specified in the box dialog in the drop-down
36821 The following types are possible:
36824 \begin_layout Description
36826 \begin_inset space ~
36829 frame Nothing is drawn.
36832 \begin_layout Description
36834 \begin_inset space ~
36838 \begin_inset space ~
36841 frame This draws a rectangular frame around the box.
36842 The frame line thickness can be specified.
36844 \begin_inset Box Boxed
36854 height_special "totalheight"
36859 backgroundcolor "none"
36862 \begin_layout Plain Layout
36872 \begin_layout Description
36874 \begin_inset space ~
36878 \begin_inset space ~
36881 thin This draws an oval frame around the box.
36882 The frame line thickness has the size 0.4
36883 \begin_inset space \thinspace{}
36888 \begin_inset Box ovalbox
36898 height_special "totalheight"
36903 backgroundcolor "none"
36906 \begin_layout Plain Layout
36916 \begin_layout Description
36918 \begin_inset space ~
36922 \begin_inset space ~
36925 thick This draws an oval frame around the box.
36926 The frame line thickness has the size 0.8
36927 \begin_inset space \thinspace{}
36932 \begin_inset Box Ovalbox
36942 height_special "totalheight"
36947 backgroundcolor "none"
36950 \begin_layout Plain Layout
36960 \begin_layout Description
36962 \begin_inset space ~
36965 shadow This draws a rectangular frame with a shadow around the box.
36966 The frame line thickness and the shadow can be specified.
36968 \begin_inset Box Shadowbox
36978 height_special "totalheight"
36983 backgroundcolor "none"
36986 \begin_layout Plain Layout
36996 \begin_layout Description
36998 \begin_inset space ~
37001 background This draws a box with a red background.
37002 Unlike colored boxes
37006 \begin_layout Plain Layout
37008 \begin_inset space \thinspace{}
37012 \begin_inset CommandInset ref
37014 reference "sec:Colored-Boxes"
37023 , it always uses the whole column width and the box is set as its own paragraph.
37025 \begin_inset Box Shaded
37035 height_special "totalheight"
37040 backgroundcolor "none"
37043 \begin_layout Plain Layout
37044 Shaded background box
37052 \begin_layout Description
37054 \begin_inset space ~
37058 \begin_inset space ~
37061 frame This draws a double-line rectangular frame around the box.
37062 The line thickness of the inner frame is 0.75
37063 \begin_inset space \thinspace{}
37067 \begin_inset space ~
37070 thickness, the thickness of the outer frame is 1.5
37071 \begin_inset space \thinspace{}
37075 \begin_inset space ~
37079 The distance between the lines is 1.5
37080 \begin_inset space \thinspace{}
37084 \begin_inset space ~
37088 \begin_inset space \thinspace{}
37092 \begin_inset space \thinspace{}
37096 \begin_inset space \thinspace{}
37101 \begin_inset Box Doublebox
37111 height_special "totalheight"
37116 backgroundcolor "none"
37119 \begin_layout Plain Layout
37121 Double rectangular box
37129 \begin_layout Standard
37130 \begin_inset VSpace bigskip
37134 's box label will reflect the different frame types.
37135 To be able to use all types, the \SpecialChar LaTeX
37141 \begin_inset Index idx
37146 \begin_layout Plain Layout
37149 \begin_inset IndexMacro subentry
37152 \begin_layout Plain Layout
37166 \begin_layout Standard
37167 \begin_inset VSpace bigskip
37170 When you use the decoration
37172 simple rectangular frame
37174 and no inner box, you can allow page breaks within a box.
37175 Note that then, unlike other framed boxes, the frame always uses the whole
37176 column width and the box is set as its own paragraph:
37177 \begin_inset Box Framed
37187 height_special "totalheight"
37192 backgroundcolor "none"
37195 \begin_layout Plain Layout
37196 Allow page break box
37204 \begin_layout Section
37206 \begin_inset Index idx
37211 \begin_layout Plain Layout
37213 \begin_inset IndexMacro subentry
37216 \begin_layout Plain Layout
37230 \begin_layout Standard
37231 The diameter of the round corners of the oval boxes can be set with the
37242 \begin_layout Standard
37250 \begin_layout Standard
37251 sets the diameter to 1
37252 \begin_inset space \thinspace{}
37259 \begin_layout Standard
37267 \begin_layout Standard
37268 sets the diameter to
37271 \begin_inset space \thinspace{}
37275 \begin_inset space \thinspace{}
37278 minimum(width and height of box)
37290 \begin_layout Standard
37294 \begin_layout Plain Layout
37304 \begin_inset Box Ovalbox
37314 height_special "totalheight"
37319 backgroundcolor "none"
37322 \begin_layout Plain Layout
37331 \begin_inset space \thinspace{}
37335 \begin_inset space \thinspace{}
37339 \begin_inset space \thinspace{}
37351 \begin_layout Plain Layout
37363 \begin_layout Standard
37364 \begin_inset VSpace bigskip
37370 \begin_layout Standard
37371 The default background color red of
37375 boxes can either be changed locally with the command
37379 definecolor{shadecolor}
37381 or globally with the menu
37383 Tools\SpecialChar menuseparator
37384 Preferences\SpecialChar menuseparator
37385 Colors\SpecialChar menuseparator
37387 \begin_inset space ~
37399 command is explained in section
37400 \begin_inset space ~
37404 \begin_inset CommandInset ref
37406 reference "sec:Colored-Tables"
37414 \begin_layout Plain Layout
37421 requires the \SpecialChar LaTeX
37426 in the preamble, see section
37427 \begin_inset space ~
37431 \begin_inset CommandInset ref
37433 reference "sec:Colored-Boxes"
37442 For example the appearance of the following shaded background box is set
37443 with the \SpecialChar TeX
37447 \begin_layout Standard
37452 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
37455 \begin_layout Standard
37459 \begin_layout Plain Layout
37463 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
37469 \begin_inset Box Shaded
37479 height_special "totalheight"
37484 backgroundcolor "none"
37487 \begin_layout Plain Layout
37490 This is yellow text in a
37500 box with dark green background.
37509 \begin_layout Plain Layout
37513 definecolor{shadecolor}{rgb}{1,0,0}
37521 \begin_layout Standard
37522 \begin_inset VSpace bigskip
37525 Manually changed sizes and colors are valid for all boxes following the
37526 commands that change them.
37529 \begin_layout Section
37531 \begin_inset CommandInset label
37533 name "sec:Minipages"
37538 \begin_inset Index idx
37543 \begin_layout Plain Layout
37545 \begin_inset IndexMacro subentry
37548 \begin_layout Plain Layout
37562 \begin_layout Standard
37563 Minipages are treated by \SpecialChar LaTeX
37564 as pages within pages and can therefore for example
37565 have their own footnotes.
37568 \begin_layout Standard
37569 Minipages are useful when you write documents with different languages.
37572 \begin_layout Standard
37573 Below are two example minipages side by side.
37574 Their width is set to 45
37575 \begin_inset space \thinspace{}
37578 col% and they are separated by a horizontal fill, that was inserted via
37581 Insert\SpecialChar menuseparator
37583 \begin_inset space ~
37586 Formatting\SpecialChar menuseparator
37588 \begin_inset space ~
37594 \begin_inset Newpage newpage
37600 \begin_layout Standard
37601 \begin_inset Box Frameless
37611 height_special "totalheight"
37616 backgroundcolor "none"
37619 \begin_layout Plain Layout
37622 Dies ist ein deutscher Text.
37623 Dies ist ein deutscher Text.
37624 Dies ist ein deutscher Text.
37625 Dies ist ein deutscher Text.
37626 Dies ist ein deutscher Text.
37627 Dies ist ein deutscher Text.
37628 Dies ist ein deutscher Text.
37629 Dies ist ein deutscher Text.
37630 Dies ist ein deutscher Text.
37631 Dies ist ein deutscher Text.
37632 Dies ist ein deutscher Text.
37633 Dies ist ein deutscher Text.
37634 Dies ist ein deutscher Text
37638 \begin_layout Plain Layout
37641 Dies ist eine deutsche Fußnote.
37647 Dies ist ein deutscher Text.
37648 Dies ist ein deutscher Text.
37654 \begin_inset space \hfill{}
37658 \begin_inset Box Frameless
37668 height_special "totalheight"
37673 backgroundcolor "none"
37676 \begin_layout Plain Layout
37677 This is an English Text.
37678 This is an English Text.
37679 This is an English Text.
37680 This is an English Text.
37681 This is an English Text.
37682 This is an English Text.
37683 This is an English Text.
37684 This is an English Text.
37685 This is an English Text.
37686 This is an English Text.
37687 This is an English Text.
37688 This is an English Text.
37689 This is an English Text.
37690 This is an English Text.
37691 This is an English Text.
37692 This is an English Text.
37696 \begin_layout Plain Layout
37697 This is an English footnote.
37702 This is an English Text.
37710 \begin_layout Standard
37711 \begin_inset VSpace bigskip
37714 The document-wide paragraph settings are ignored within minipages.
37715 That means that there will be no space between paragraphs in minipages
37716 although you set it to e.
37717 \begin_inset space \thinspace{}
37721 \begin_inset space \space{}
37728 in the document settings.
37731 \begin_layout Standard
37732 Minipages can also be used to set a background color for text parts, see
37734 \begin_inset space ~
37738 \begin_inset CommandInset ref
37740 reference "sec:Colored-Boxes"
37747 \begin_layout Standard
37748 \begin_inset Note Greyedout
37751 \begin_layout Plain Layout
37756 You cannot have floats or margin notes inside minipages but minipages can
37757 be used inside tables, floats, and other boxes.
37765 \begin_layout Standard
37766 \begin_inset VSpace bigskip
37772 \begin_layout Standard
37774 has also basic support for minipages whose size is automatically determined
37775 by the width of their contents, via the module
37777 Variable-width Minipages
37780 The \SpecialChar LyX
37783 varwidth-floats-side-by-side
37785 gives examples of variable-width minipages used for placing two floats
37789 \begin_layout Section
37791 \begin_inset CommandInset label
37793 name "sec:Parboxes"
37798 \begin_inset Index idx
37803 \begin_layout Plain Layout
37805 \begin_inset IndexMacro subentry
37808 \begin_layout Plain Layout
37822 \begin_layout Standard
37823 Parboxes are very similar to minipages with the difference that they cannot
37827 \begin_layout Standard
37829 \begin_inset Box Frameless
37839 height_special "totalheight"
37844 backgroundcolor "none"
37847 \begin_layout Plain Layout
37848 This a text within a parbox.
37849 This a text within a parbox.
37852 \begin_layout Plain Layout
37853 This footnote won't appear:
37857 \begin_layout Plain Layout
37858 This footnote is inside a parbox and will therefore not appear.
37871 \begin_layout Section
37872 Boxes for Words and Characters
37873 \begin_inset Index idx
37878 \begin_layout Plain Layout
37880 \begin_inset IndexMacro subentry
37883 \begin_layout Plain Layout
37897 \begin_layout Subsection
37898 Prevent Hyphenation
37899 \begin_inset CommandInset label
37901 name "sec:Prevent-Hyphenation"
37906 \begin_inset Index idx
37911 \begin_layout Plain Layout
37913 \begin_inset IndexMacro subentry
37916 \begin_layout Plain Layout
37917 to Prevent Hyphenation
37930 \begin_layout Standard
37931 You can use the box type
37935 to prevent words or text from being hyphenated.
37936 \begin_inset Newline newline
37939 Here is an example text:
37942 \begin_layout Standard
37943 This line is an example to show how you can prevent the hyphenation of
37944 \begin_inset Quotes eld
37948 \begin_inset Quotes erd
37954 \begin_layout Standard
37955 To prevent the hyphenation of the word
37956 \begin_inset Quotes eld
37960 \begin_inset Quotes erd
37963 , put the word into a box, set the
37966 \begin_inset space ~
37975 and use no explicit width.
37978 \begin_layout Standard
37979 This is the result:
37982 \begin_layout Standard
37983 This line is an example to show how you can prevent the hyphenation of
37984 \begin_inset Box Frameless
37994 height_special "totalheight"
37999 backgroundcolor "none"
38002 \begin_layout Plain Layout
38003 \begin_inset Quotes eld
38007 \begin_inset Quotes erd
38018 \begin_layout Standard
38019 You can alternatively set the command
38020 \begin_inset Quotes eld
38030 \begin_inset Quotes grd
38033 as \SpecialChar TeX
38034 Code directly before the word:
38037 \begin_layout Standard
38038 This line is an example to show how you can prevent the hyphenation of
38039 \begin_inset Quotes eld
38046 \begin_layout Plain Layout
38056 \begin_inset Quotes erd
38062 \begin_layout Standard
38063 Of course the word now protrudes over the side margin.
38064 To avoid this, add via the menu
38066 Insert\SpecialChar menuseparator
38067 Formatting\SpecialChar menuseparator
38069 \begin_inset space ~
38073 \begin_inset space ~
38081 arg "newline-insert newline"
38084 ) a line break before the word:
38087 \begin_layout Standard
38088 This line is an example to show how you can prevent the hyphenation of
38089 \begin_inset Newline newline
38093 \begin_inset Box Frameless
38103 height_special "totalheight"
38108 backgroundcolor "none"
38111 \begin_layout Plain Layout
38112 \begin_inset Quotes eld
38116 \begin_inset Quotes erd
38127 \begin_layout Subsection
38129 \begin_inset CommandInset label
38131 name "subsec:Vertical-Alignment"
38136 \begin_inset Index idx
38141 \begin_layout Plain Layout
38143 \begin_inset IndexMacro subentry
38146 \begin_layout Plain Layout
38147 for Vertical Alignment
38158 \begin_inset Index idx
38163 \begin_layout Plain Layout
38165 \begin_inset IndexMacro subentry
38168 \begin_layout Plain Layout
38182 \begin_layout Standard
38183 With the help of the command
38189 you can align words, characters or other boxes vertically relative to the
38197 is used with the following scheme:
38200 \begin_layout Standard
38205 raisebox{lift}[height][depth]{box content}
38208 \begin_layout Standard
38209 The lift can be a positive value to raise the box or a negative value to
38213 \begin_layout Standard
38214 To align for example the word
38215 \begin_inset Quotes eld
38219 \begin_inset Quotes erd
38222 so that the bottom of the
38223 \begin_inset Quotes eld
38227 \begin_inset Quotes erd
38231 \begin_inset Quotes eld
38235 \begin_inset Quotes erd
38238 is at the baseline, insert the command
38241 \begin_layout Standard
38251 \begin_layout Standard
38252 in \SpecialChar TeX
38253 Code before the word.
38254 After the word insert a closing brace
38255 \begin_inset Quotes eld
38263 \begin_inset Quotes erd
38266 in \SpecialChar TeX
38268 \begin_inset Newline newline
38271 This is the result:
38274 \begin_layout Standard
38275 This is a text line with the word
38279 \begin_layout Plain Layout
38291 \begin_inset Quotes eld
38295 \begin_inset Quotes erd
38302 \begin_layout Plain Layout
38312 \begin_layout Standard
38313 \begin_inset VSpace bigskip
38316 When you raise or lower characters in a line, the line distance will be
38320 \begin_layout Standard
38321 This is a text line with the word
38325 \begin_layout Plain Layout
38337 \begin_inset Quotes eld
38341 \begin_inset Quotes erd
38348 \begin_layout Plain Layout
38356 \begin_inset Newline newline
38359 This is a text line with the word
38363 \begin_layout Plain Layout
38373 \begin_inset Quotes eld
38377 \begin_inset Quotes erd
38384 \begin_layout Plain Layout
38394 \begin_layout Standard
38395 If you want to prevent this for a certain reason, set the box height to
38400 \begin_layout Standard
38410 \begin_layout Standard
38411 This is a text line with the word
38415 \begin_layout Plain Layout
38427 \begin_inset Quotes eld
38431 \begin_inset Quotes erd
38438 \begin_layout Plain Layout
38446 \begin_inset Newline newline
38450 \begin_inset Newline newline
38453 This is a text line with the word
38457 \begin_layout Plain Layout
38461 raisebox{0.5cm}[0pt]{
38467 \begin_inset Quotes eld
38471 \begin_inset Quotes erd
38478 \begin_layout Plain Layout
38488 \begin_layout Section
38490 \begin_inset CommandInset label
38492 name "sec:Colored-Boxes"
38497 \begin_inset Index idx
38502 \begin_layout Plain Layout
38504 \begin_inset IndexMacro subentry
38507 \begin_layout Plain Layout
38521 \begin_layout Standard
38522 To color the background of a box just select the color you like in the box
38524 This is for example a box with orange background:
38525 \begin_inset Box Frameless
38535 height_special "totalheight"
38540 backgroundcolor "orange"
38543 \begin_layout Plain Layout
38544 Box with orange background
38552 \begin_layout Standard
38553 If you use the decoration
38556 \begin_inset space ~
38560 \begin_inset space ~
38565 you can set a frame color.
38566 In this case you must also specify a background color (LyX sets white as
38568 Here is an example:
38569 \begin_inset Box Boxed
38579 height_special "totalheight"
38584 backgroundcolor "yellow"
38587 \begin_layout Plain Layout
38588 Box with teal frame color and yellow background color
38596 \begin_layout Standard
38597 \begin_inset VSpace bigskip
38600 Of course you can also have colored text inside a colored box:
38601 \begin_inset Newline newline
38605 \begin_inset Box Boxed
38615 height_special "totalheight"
38620 backgroundcolor "magenta"
38623 \begin_layout Plain Layout
38626 This is colored text within a colored, framed box
38634 \begin_layout Standard
38635 \begin_inset VSpace bigskip
38641 \begin_layout Standard
38642 If you need another color than the predefined ones, you can define your
38643 own color as described in section
38644 \begin_inset space ~
38648 \begin_inset CommandInset ref
38650 reference "sec:Colored-Tables"
38655 To use your own color you must typeset the box by using TeX code:
38658 \begin_layout Standard
38659 Colored boxes without frame are created with the command
38666 It has the following scheme:
38669 \begin_layout Standard
38674 colorbox{color}{box content}
38677 \begin_layout Standard
38678 The box content can also be a box and colored boxes can also be within other
38681 \begin_inset space \thinspace{}
38685 \begin_inset space \space{}
38688 a darkgreen background for a word, insert the command
38691 \begin_layout Standard
38696 colorbox{darkgreen}{
38699 \begin_layout Standard
38700 before the word in \SpecialChar TeX
38702 After the word insert a closing brace
38703 \begin_inset Quotes eld
38711 \begin_inset Quotes erd
38714 in \SpecialChar TeX
38716 \begin_inset Newline newline
38719 This is the result:
38722 \begin_layout Standard
38723 This is a line where the word
38727 \begin_layout Plain Layout
38731 colorbox{darkgreen}{
38737 \begin_inset Quotes eld
38741 \begin_inset Quotes erd
38748 \begin_layout Plain Layout
38755 has a darkgreen background.
38758 \begin_layout Standard
38759 Framed, colored boxes are created with the command
38766 It has the following scheme:
38769 \begin_layout Standard
38774 fcolorbox{frame color}{box color}{box content}
38777 \begin_layout Section
38778 Rotated and Scaled Boxes
38781 \begin_layout Standard
38782 To use the boxes described in this section, the module
38786 must be loaded in the document settings.
38789 \begin_layout Standard
38790 \begin_inset Note Greyedout
38793 \begin_layout Plain Layout
38798 Not all DVI viewers are able to display rotated or scaled material.
38806 \begin_layout Standard
38807 \begin_inset Note Greyedout
38810 \begin_layout Plain Layout
38815 Floats are not allowed inside a rotated or scaled box.
38823 \begin_layout Subsection
38825 \begin_inset Index idx
38830 \begin_layout Plain Layout
38832 \begin_inset IndexMacro subentry
38835 \begin_layout Plain Layout
38847 \begin_inset Index idx
38852 \begin_layout Plain Layout
38861 \begin_layout Standard
38862 To rotate material, you can put it into a
38867 Such a box is inserted via the menu
38869 Insert\SpecialChar menuseparator
38870 Custom Insets\SpecialChar menuseparator
38876 \begin_layout Standard
38877 The rotation origin can be specified via the inset
38883 Insert\SpecialChar menuseparator
38891 The following positions are possible:
38911 (top), along with meaningful combinations of the four base positions.
38916 means that the rotation origin is at the top left corner of the box.
38917 When no rotation origin is specified, the position
38922 The rotation angle is a number that can be negative that specifies the
38924 The rotation direction is counterclockwise.
38927 \begin_layout Standard
38928 In the following example
38932 was inserted to the
38940 was inserted to the
38947 \begin_layout Standard
38949 \begin_inset Flex Rotatebox
38952 \begin_layout Plain Layout
38953 \begin_inset Argument 1
38956 \begin_layout Plain Layout
38963 \begin_inset Argument 2
38966 \begin_layout Plain Layout
38980 \begin_layout Standard
38981 The box content can also be another box or an inline formula:
38984 \begin_layout Standard
38986 \begin_inset Flex Rotatebox
38989 \begin_layout Plain Layout
38990 \begin_inset Argument 1
38993 \begin_layout Plain Layout
39000 \begin_inset Argument 2
39003 \begin_layout Plain Layout
39010 \begin_inset Box Doublebox
39020 height_special "totalheight"
39025 backgroundcolor "none"
39028 \begin_layout Plain Layout
39040 \begin_inset Flex Rotatebox
39043 \begin_layout Plain Layout
39044 \begin_inset Argument 1
39047 \begin_layout Plain Layout
39054 \begin_inset Argument 2
39057 \begin_layout Plain Layout
39064 \begin_inset Formula $\int A\,\mathrm{d}x=B$
39075 \begin_layout Standard
39076 or an image or table:
39079 \begin_layout Standard
39081 \begin_inset Flex Rotatebox
39084 \begin_layout Plain Layout
39085 \begin_inset Argument 1
39088 \begin_layout Plain Layout
39095 \begin_inset Argument 2
39098 \begin_layout Plain Layout
39105 \begin_inset Graphics
39106 filename clipart/Star-structure.pdf
39117 with a rotated image
39118 \begin_inset Flex Rotatebox
39121 \begin_layout Plain Layout
39122 \begin_inset Argument 2
39125 \begin_layout Plain Layout
39132 \begin_inset Tabular
39133 <lyxtabular version="3" rows="2" columns="2">
39134 <features tabularvalignment="middle">
39135 <column alignment="center" valignment="top">
39136 <column alignment="center" valignment="top">
39138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39141 \begin_layout Plain Layout
39147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
39150 \begin_layout Plain Layout
39158 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
39161 \begin_layout Plain Layout
39167 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
39170 \begin_layout Plain Layout
39187 \begin_inset Index idx
39192 \begin_layout Plain Layout
39194 \begin_inset IndexMacro subentry
39197 \begin_layout Plain Layout
39209 \begin_inset Index idx
39214 \begin_layout Plain Layout
39215 Table Customization
39216 \begin_inset IndexMacro subentry
39219 \begin_layout Plain Layout
39233 \begin_layout Standard
39234 \begin_inset Note Greyedout
39237 \begin_layout Plain Layout
39246 inset is empty or contains other characters than numbers you will get \SpecialChar LaTeX
39248 errors when viewing/exporting the document.
39256 \begin_layout Subsection
39258 \begin_inset Index idx
39263 \begin_layout Plain Layout
39265 \begin_inset IndexMacro subentry
39268 \begin_layout Plain Layout
39280 \begin_inset Index idx
39285 \begin_layout Plain Layout
39294 \begin_layout Standard
39295 To scale material put it into a
39300 Such a box is inserted via the menu
39302 Insert\SpecialChar menuseparator
39303 Custom Insets\SpecialChar menuseparator
39309 \begin_layout Standard
39314 inset has the mandatory inset
39318 and the optional inset
39322 (inserted via the menu
39324 Insert\SpecialChar menuseparator
39328 Input there the horizontal and vertical scale factor, respectively.
39333 inset is used, the horizontal factor will also be used as the vertical
39337 \begin_layout Standard
39338 To get for example the double text size, compared to the document text size,
39349 \begin_inset Flex Scalebox
39352 \begin_layout Plain Layout
39353 \begin_inset Argument 1
39356 \begin_layout Plain Layout
39370 \begin_layout Standard
39388 \begin_inset Flex Scalebox
39391 \begin_layout Plain Layout
39392 \begin_inset Argument 1
39395 \begin_layout Plain Layout
39402 \begin_inset Argument 2
39405 \begin_layout Plain Layout
39419 \begin_layout Standard
39420 If the scaling factor is negative, the box content will be mirrored.
39437 can be used to create mirror writing:
39438 \begin_inset Flex Scalebox
39441 \begin_layout Plain Layout
39442 \begin_inset Argument 1
39445 \begin_layout Plain Layout
39452 \begin_inset Argument 2
39455 \begin_layout Plain Layout
39469 \begin_layout Standard
39487 \begin_inset Flex Scalebox
39490 \begin_layout Plain Layout
39491 \begin_inset Argument 1
39494 \begin_layout Plain Layout
39501 \begin_inset Argument 2
39504 \begin_layout Plain Layout
39518 \begin_layout Standard
39525 Insert\SpecialChar menuseparator
39526 Custom Insets\SpecialChar menuseparator
39552 \begin_layout Standard
39553 \begin_inset Note Greyedout
39556 \begin_layout Plain Layout
39565 inset is empty or contains other characters than numbers you will get LaTeX
39566 errors when viewing/exporting the document.
39574 \begin_layout Standard
39575 \begin_inset VSpace bigskip
39584 Insert\SpecialChar menuseparator
39585 Custom Insets\SpecialChar menuseparator
39588 ) is used to scale the content to a defined width and height.
39593 inset has the mandatory inset
39597 and the optional inset
39601 (inserted via the menu
39603 Insert\SpecialChar menuseparator
39607 Input there the width and height, respectively, as value with a unit.
39609 \begin_inset CommandInset ref
39611 reference "tab:Units"
39615 lists the possible units.
39616 If there is an exclamation mark
39620 in one of the two insets, the size is set so that the aspect ratio of the
39621 box content is kept.
39626 inset is used an exclamation mark will internally be used for the height.
39629 \begin_layout Standard
39647 \begin_inset Flex Resizebox
39650 \begin_layout Plain Layout
39651 \begin_inset Argument 1
39654 \begin_layout Plain Layout
39661 \begin_inset Argument 2
39664 \begin_layout Plain Layout
39676 \begin_inset Newline newline
39700 \begin_inset Flex Resizebox
39703 \begin_layout Plain Layout
39704 \begin_inset Argument 1
39707 \begin_layout Plain Layout
39714 \begin_inset Argument 2
39717 \begin_layout Plain Layout
39731 \begin_layout Standard
39732 \begin_inset Note Greyedout
39735 \begin_layout Plain Layout
39744 inset is empty or contains an invalid unit you will get LaTeX errors when
39745 viewing/exporting the document.
39753 \begin_layout Standard
39754 \begin_inset VSpace bigskip
39760 \begin_layout Standard
39761 The boxes can be combined in any order.
39770 which is in turn inside a
39777 \begin_layout Standard
39780 \begin_inset Flex Rotatebox
39783 \begin_layout Plain Layout
39784 \begin_inset Argument 1
39787 \begin_layout Plain Layout
39794 \begin_inset Argument 2
39797 \begin_layout Plain Layout
39804 \begin_inset Flex Resizebox
39807 \begin_layout Plain Layout
39808 \begin_inset Argument 1
39811 \begin_layout Plain Layout
39818 \begin_inset Flex Reflectbox
39821 \begin_layout Plain Layout
39840 \begin_layout Standard
39842 Images, tables, and inline formulas are allowed as box content:
39845 \begin_layout Standard
39848 \begin_inset Flex Resizebox
39851 \begin_layout Plain Layout
39852 \begin_inset Argument 1
39855 \begin_layout Plain Layout
39862 \begin_inset Flex Reflectbox
39865 \begin_layout Plain Layout
39866 \begin_inset Graphics
39867 filename clipart/Star-structure.pdf
39884 \begin_inset Flex Resizebox
39887 \begin_layout Plain Layout
39888 \begin_inset Argument 1
39891 \begin_layout Plain Layout
39898 \begin_inset Flex Reflectbox
39901 \begin_layout Plain Layout
39902 \begin_inset Tabular
39903 <lyxtabular version="3" rows="2" columns="2">
39904 <features tabularvalignment="middle">
39905 <column alignment="center" valignment="top">
39906 <column alignment="center" valignment="top">
39908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39911 \begin_layout Plain Layout
39917 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
39920 \begin_layout Plain Layout
39928 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
39931 \begin_layout Plain Layout
39937 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
39940 \begin_layout Plain Layout
39962 \begin_inset Flex Resizebox
39965 \begin_layout Plain Layout
39966 \begin_inset Argument 1
39969 \begin_layout Plain Layout
39976 \begin_inset Flex Reflectbox
39979 \begin_layout Plain Layout
39980 \begin_inset Formula $\int A\,\mathrm{d}x=B$
39994 \begin_inset Index idx
39999 \begin_layout Plain Layout
40001 \begin_inset IndexMacro subentry
40004 \begin_layout Plain Layout
40016 \begin_inset Index idx
40021 \begin_layout Plain Layout
40022 Table Customization
40023 \begin_inset IndexMacro subentry
40026 \begin_layout Plain Layout
40040 \begin_layout Standard
40041 When the global formula style
40045 is used in the document
40049 \begin_layout Plain Layout
40051 \begin_inset Quotes eld
40055 \begin_inset Quotes erd
40058 is added to the document class options.
40063 , display style formulas can also be scaled.
40066 \begin_layout Chapter
40067 Objects Surrounded by Text
40068 \begin_inset Index idx
40073 \begin_layout Plain Layout
40082 \begin_layout Section
40084 \begin_inset CommandInset label
40086 name "sec:Wrap-Floats"
40091 \begin_inset Index idx
40096 \begin_layout Plain Layout
40098 \begin_inset IndexMacro subentry
40101 \begin_layout Plain Layout
40113 \begin_inset Index idx
40118 \begin_layout Plain Layout
40120 \begin_inset IndexMacro subentry
40123 \begin_layout Plain Layout
40137 \begin_layout Standard
40138 \begin_inset Wrap figure
40145 \begin_layout Plain Layout
40146 \begin_inset Graphics
40147 filename clipart/2D-intensity-plot.pdf
40149 scaleBeforeRotation
40150 rotateOrigin center
40157 \begin_layout Plain Layout
40158 \begin_inset Caption Standard
40160 \begin_layout Plain Layout
40161 \begin_inset CommandInset label
40163 name "fig:This-is-a"
40168 \change_deleted 274215730 1669306080
40170 \change_inserted 274215730 1669306089
40183 This float type is used if you want to wrap text around a figure or table
40184 so that it only occupies some fraction of the column width.
40185 It can be inserted using the menu
40187 Insert\SpecialChar menuseparator
40188 Floats\SpecialChar menuseparator
40190 \change_inserted 274215730 1669306057
40192 \begin_inset space ~
40196 \change_deleted 274215730 1669306060
40198 \begin_inset space ~
40202 \begin_inset space ~
40210 \change_deleted 274215730 1669306067
40214 \begin_inset space ~
40218 \begin_inset space ~
40222 \change_inserted 274215730 1669306070
40224 \begin_inset space ~
40231 if the \SpecialChar LaTeX
40237 \begin_inset Index idx
40242 \begin_layout Plain Layout
40245 \begin_inset IndexMacro subentry
40248 \begin_layout Plain Layout
40263 \begin_layout Plain Layout
40264 Installing a \SpecialChar LaTeX
40265 -package is explained it in the
40269 \begin_inset space ~
40279 The settings of the float can be modified by right-clicking on the float
40281 The mandatory settings are the float
40294 that specifies how much the float is set into the paragraph
40295 \begin_inset space \thinspace{}
40299 \begin_inset space \thinspace{}
40302 page margin, and the
40305 \begin_inset space ~
40310 that specifies how many text lines the float will approximately need.
40311 The line span is often hard to approximate; so it is better only to use
40312 it when you encounter float placement problems.
40313 You can furthermore decide if \SpecialChar LaTeX
40314 is allowed to let the float float within
40315 the paragraph or to surrounding paragraphs.
40317 \begin_inset space ~
40321 \begin_inset CommandInset ref
40323 reference "fig:This-is-a"
40327 is an example text wrap float with a width of 40
40328 \begin_inset space \thinspace{}
40332 \begin_inset space \thinspace{}
40335 cm overhang, set to the left.
40338 \begin_layout Standard
40339 \begin_inset Note Greyedout
40342 \begin_layout Plain Layout
40348 \begin_inset space ~
40351 wrap float floats are fragile! E.
40352 \begin_inset space \thinspace{}
40356 \begin_inset space \space{}
40359 having a figure too close to the bottom of the page can mess things up in
40360 such a way that the float does not appear in the output or that it is placed
40361 over some other text.
40369 \begin_layout Standard
40370 In general, the following applies for wrap floats:
40373 \begin_layout Itemize
40374 They should not be placed in paragraphs that run over a page break.
40375 That means that wrap floats are better inserted in their exact place when
40376 the document is almost finished and you are able to estimate where page
40377 breaks will appear.
40380 \begin_layout Itemize
40381 They should either be placed in their own paragraph before the paragraph
40382 where they should wrap into or within a paragraph.
40385 \begin_layout Itemize
40386 In consecutive paragraphs they may cause troubles, so ensure that there
40387 is a text paragraph between them as separator.
40390 \begin_layout Itemize
40391 They are not allowed in section headings or tables.
40394 \begin_layout Itemize
40395 Their numbering and referencing works as described in chap.
40396 \begin_inset space \thinspace{}
40400 \begin_inset CommandInset ref
40402 reference "chap:Floats"
40409 \begin_layout Section
40410 Surrounded Fixed Objects
40411 \begin_inset Index idx
40416 \begin_layout Plain Layout
40418 \begin_inset IndexMacro subentry
40421 \begin_layout Plain Layout
40435 \begin_layout Standard
40436 The wrap floats described in sec.
40437 \begin_inset space \thinspace{}
40441 \begin_inset CommandInset ref
40443 reference "sec:Wrap-Floats"
40447 have these positions in the paragraph:
40450 \begin_layout Standard
40453 \begin_inset Tabular
40454 <lyxtabular version="3" rows="2" columns="2">
40455 <features tabularvalignment="middle">
40456 <column alignment="center" valignment="top">
40457 <column alignment="center" valignment="top">
40459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40462 \begin_layout Plain Layout
40465 arg "dialog-show-new-inset graphics"
40473 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40476 \begin_layout Plain Layout
40484 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40487 \begin_layout Plain Layout
40493 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40496 \begin_layout Plain Layout
40508 \begin_inset Tabular
40509 <lyxtabular version="3" rows="2" columns="2">
40510 <features tabularvalignment="middle">
40511 <column alignment="center" valignment="top">
40512 <column alignment="center" valignment="top">
40514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40517 \begin_layout Plain Layout
40523 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40526 \begin_layout Plain Layout
40529 arg "dialog-show-new-inset graphics"
40539 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40542 \begin_layout Plain Layout
40548 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40551 \begin_layout Plain Layout
40565 \begin_layout Standard
40566 To get an object exactly at the position where it is inserted, for example
40567 to get one of these positions:
40568 \begin_inset VSpace defskip
40574 \begin_layout Standard
40577 \begin_inset Tabular
40578 <lyxtabular version="3" rows="2" columns="2">
40579 <features tabularvalignment="middle">
40580 <column alignment="center" valignment="top">
40581 <column alignment="center" valignment="top">
40583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40586 \begin_layout Plain Layout
40592 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40595 \begin_layout Plain Layout
40603 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40606 \begin_layout Plain Layout
40609 arg "dialog-show-new-inset graphics"
40617 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40620 \begin_layout Plain Layout
40632 \begin_inset Tabular
40633 <lyxtabular version="3" rows="2" columns="2">
40634 <features tabularvalignment="middle">
40635 <column alignment="center" valignment="top">
40636 <column alignment="center" valignment="top">
40638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40641 \begin_layout Plain Layout
40647 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40650 \begin_layout Plain Layout
40658 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40661 \begin_layout Plain Layout
40667 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40670 \begin_layout Plain Layout
40673 arg "dialog-show-new-inset graphics"
40687 \begin_inset Tabular
40688 <lyxtabular version="3" rows="2" columns="3">
40689 <features tabularvalignment="middle">
40690 <column alignment="center" valignment="top">
40691 <column alignment="center" valignment="top">
40692 <column alignment="center" valignment="top">
40694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40697 \begin_layout Plain Layout
40703 <cell alignment="center" valignment="top" topline="true" usebox="none">
40706 \begin_layout Plain Layout
40709 arg "dialog-show-new-inset graphics"
40717 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40720 \begin_layout Plain Layout
40728 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40731 \begin_layout Plain Layout
40737 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
40740 \begin_layout Plain Layout
40746 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40749 \begin_layout Plain Layout
40761 \begin_inset Tabular
40762 <lyxtabular version="3" rows="2" columns="3">
40763 <features tabularvalignment="middle">
40764 <column alignment="center" valignment="top">
40765 <column alignment="center" valignment="top">
40766 <column alignment="center" valignment="top">
40768 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40771 \begin_layout Plain Layout
40777 <cell alignment="center" valignment="top" topline="true" usebox="none">
40780 \begin_layout Plain Layout
40786 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40789 \begin_layout Plain Layout
40797 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40800 \begin_layout Plain Layout
40806 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
40809 \begin_layout Plain Layout
40812 arg "dialog-show-new-inset graphics"
40820 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40823 \begin_layout Plain Layout
40837 \begin_layout Standard
40840 \begin_inset Tabular
40841 <lyxtabular version="3" rows="3" columns="2">
40842 <features tabularvalignment="middle">
40843 <column alignment="center" valignment="top">
40844 <column alignment="center" valignment="top">
40846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40849 \begin_layout Plain Layout
40855 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40858 \begin_layout Plain Layout
40866 <cell alignment="center" valignment="top" leftline="true" usebox="none">
40869 \begin_layout Plain Layout
40872 arg "dialog-show-new-inset graphics"
40880 <cell alignment="center" valignment="top" rightline="true" usebox="none">
40883 \begin_layout Plain Layout
40891 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40894 \begin_layout Plain Layout
40900 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
40903 \begin_layout Plain Layout
40915 \begin_inset Tabular
40916 <lyxtabular version="3" rows="3" columns="3">
40917 <features tabularvalignment="middle">
40918 <column alignment="center" valignment="top">
40919 <column alignment="center" valignment="top">
40920 <column alignment="center" valignment="top">
40922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40925 \begin_layout Plain Layout
40931 <cell alignment="center" valignment="top" topline="true" usebox="none">
40934 \begin_layout Plain Layout
40940 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
40943 \begin_layout Plain Layout
40951 <cell alignment="center" valignment="top" leftline="true" usebox="none">
40954 \begin_layout Plain Layout
40960 <cell alignment="center" valignment="top" usebox="none">
40963 \begin_layout Plain Layout
40966 arg "dialog-show-new-inset graphics"
40974 <cell alignment="center" valignment="top" rightline="true" usebox="none">
40977 \begin_layout Plain Layout
40985 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
40988 \begin_layout Plain Layout
40994 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
40997 \begin_layout Plain Layout
41003 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
41006 \begin_layout Plain Layout
41018 \begin_inset Tabular
41019 <lyxtabular version="3" rows="3" columns="2">
41020 <features tabularvalignment="middle">
41021 <column alignment="center" valignment="top">
41022 <column alignment="center" valignment="top">
41024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41027 \begin_layout Plain Layout
41033 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
41036 \begin_layout Plain Layout
41044 <cell alignment="center" valignment="top" leftline="true" usebox="none">
41047 \begin_layout Plain Layout
41053 <cell alignment="center" valignment="top" rightline="true" usebox="none">
41056 \begin_layout Plain Layout
41059 arg "dialog-show-new-inset graphics"
41069 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
41072 \begin_layout Plain Layout
41078 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
41081 \begin_layout Plain Layout
41095 \begin_layout Standard
41097 you can use the \SpecialChar LaTeX
41103 \begin_inset Index idx
41108 \begin_layout Plain Layout
41111 \begin_inset IndexMacro subentry
41114 \begin_layout Plain Layout
41126 Here is an example:
41129 \begin_layout Standard
41133 \begin_layout Plain Layout
41143 \begin_inset Note Note
41146 \begin_layout Plain Layout
41147 The following section will only be displayed when the \SpecialChar LaTeX
41160 \begin_layout Standard
41164 \begin_layout Plain Layout
41168 begin{window}[2,c,{
41174 \begin_inset Graphics
41175 filename clipart/2D-intensity-plot.pdf
41178 scaleBeforeRotation
41179 rotateOrigin center
41187 \begin_layout Plain Layout
41192 \begin_layout Plain Layout
41201 It was in the spring of the year 1894 that all London was interested, and
41202 the fashionable world dismayed, by the murder of the Honourable Ronald
41203 Adair under most unusual and inexplicable circumstances.
41204 The public has already learned those particulars of the crime which
41210 \begin_layout Plain Layout
41221 came out in the police investigation, but a good deal was suppressed upon
41222 that occasion, since the case for the prosecution was so overwhelmingly
41223 strong that it was not necessary to bring forward all the facts.
41224 Only now, at the end of nearly ten years, am I allowed to supply those
41225 missing links which make up the whole of that remarkable chain.
41231 \begin_layout Plain Layout
41243 \begin_layout Standard
41247 \begin_layout Plain Layout
41256 Footnote of the paragraph with the fixed object.
41260 \begin_layout Plain Layout
41270 \begin_layout Standard
41271 Surrounded fixed objects are used to let text float around them, at which
41272 the object's position in the paragraph can be determined by the number
41274 In contrary to floats is it not possible to have a numbered caption.
41277 \begin_layout Standard
41278 A fixed object is inserted by adding the command
41281 \begin_layout Standard
41286 begin{window}[2,c,{
41289 \begin_layout Standard
41290 as \SpecialChar TeX
41291 Code at the beginning of the paragraph.
41292 The first parameter in the bracket, here '2', defines the number of lines
41293 above the object, the second, here 'c', the position of the object.
41294 The positions 'l', 'c' and 'r' (for left, center, right) are possible.
41295 Behind the command you insert the object.
41296 In this example an image with a width of 40
41297 \begin_inset space \thinspace{}
41300 % of the text column width was inserted.
41301 The object can also be a table, a box or an equation.
41302 Behind the object the command
41305 \begin_layout Standard
41308 },description text]
41309 \begin_inset Newline newline
41315 \begin_layout Standard
41318 \begin_inset Quotes eld
41326 \begin_inset Quotes erd
41329 is in the second line.
41330 The description text is optional.
41331 The text surrounding the object must be in the same paragraph as the object,
41332 so it must begin directly after the
41337 At the end of the paragraph insert the command:
41340 \begin_layout Standard
41348 \begin_layout Standard
41349 Within a paragraph with a fixed object, you cannot insert footnotes in the
41351 You have to use instead the command
41357 inside the paragraph and outside the command
41363 as described in sec.
41364 \begin_inset space \thinspace{}
41368 \begin_inset CommandInset ref
41370 reference "sec:Footnotes"
41377 \begin_layout Standard
41381 \begin_layout Plain Layout
41391 \begin_inset Note Note
41394 \begin_layout Plain Layout
41395 The following will be displayed when the \SpecialChar LaTeX
41408 \begin_layout Standard
41409 You need to install the \SpecialChar LaTeX
41414 to see the following part of this section in the output.
41417 \begin_layout Standard
41421 \begin_layout Plain Layout
41433 \begin_layout Section
41435 \begin_inset Index idx
41440 \begin_layout Plain Layout
41447 \begin_inset Index idx
41452 \begin_layout Plain Layout
41454 \begin_inset IndexMacro subentry
41457 \begin_layout Plain Layout
41471 \begin_layout Standard
41472 To use initials, you must have the \SpecialChar LaTeX
41478 \begin_inset Index idx
41483 \begin_layout Plain Layout
41486 \begin_inset IndexMacro subentry
41489 \begin_layout Plain Layout
41500 installed and use the module
41504 in your document (menu
41506 Document\SpecialChar menuseparator
41507 Settings\SpecialChar menuseparator
41511 To insert an initial, use the style
41516 This style has a mandatory and two optional arguments.
41517 The arguments are inserted via the
41522 The mandatory argument
41526 contains the letter(s) that is the initial, the argument
41529 \begin_inset space ~
41533 \begin_inset space ~
41538 contains the rest of the word or text of the initial letter(s).
41543 contains parameters to modify the initial.
41544 For more information about the possible parameters see the documentation
41550 \begin_inset CommandInset citation
41558 The style itself contains the text that is surrounding the initial.
41559 The usual style is hereby that the word whose first letter is the initial,
41567 \begin_layout Standard
41568 Here are some examples:
41571 \begin_layout Standard
41575 \begin_layout Plain Layout
41585 \begin_inset Note Note
41588 \begin_layout Plain Layout
41589 The following section will only be displayed when the \SpecialChar LaTeX
41602 \begin_layout Enumerate
41603 No optional argument, the initial is the letter 'I' in the math font
41604 \begin_inset Formula $\mathfrak{Fraktur}$
41611 \begin_layout Initial
41612 \begin_inset Argument 2
41615 \begin_layout Plain Layout
41616 \begin_inset Formula $\mathfrak{I}$
41625 \begin_inset Argument 3
41628 \begin_layout Plain Layout
41634 was in the spring of the year 1894 that all London was interested, and
41635 the fashionable world dismayed, by the murder of the Honourable Ronald
41636 Adair under most unusual and inexplicable circumstances.
41637 The public has already learned those particulars of the crime which came
41638 out in the police investigation, but a good deal was suppressed upon that
41639 occasion, since the case for the prosecution was so overwhelmingly strong
41640 that it was not necessary to bring forward all the facts.
41641 \begin_inset Newpage newpage
41648 \begin_layout Enumerate
41649 Only one line is surrounding the initial, which is formed by two letters
41650 in standard font and no text is printed in small caps:
41654 \begin_layout Initial
41655 \begin_inset Argument 1
41658 \begin_layout Plain Layout
41665 \begin_inset Argument 2
41668 \begin_layout Plain Layout
41674 was in the spring of the year 1894 that all London was interested, and
41675 the fashionable world dismayed, by the murder of the Honourable Ronald
41676 Adair under most unusual and inexplicable circumstances.
41677 The public has already learned those particulars of the crime which came
41678 out in the police investigation, but a good deal was suppressed upon that
41679 occasion, since the case for the prosecution was so overwhelmingly strong
41680 that it was not necessary to bring forward all the facts.
41684 \begin_layout Enumerate
41685 Magenta, hanging initial over 3
41686 \begin_inset space ~
41689 lines in the math font
41690 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
41694 \begin_inset Quotes eld
41697 t was in the spring
41698 \begin_inset Quotes erd
41705 ; to color the initial, you must insert this command before the initial:
41706 \begin_inset Newline newline
41720 \begin_inset Newline newline
41728 \begin_inset Quotes eld
41732 \begin_inset Quotes erd
41736 \begin_inset Quotes eld
41740 \begin_inset Quotes erd
41744 \begin_inset Quotes eld
41748 \begin_inset Quotes erd
41752 \begin_inset Quotes eld
41756 \begin_inset Quotes erd
41760 \begin_inset Quotes eld
41764 \begin_inset Quotes erd
41768 \begin_inset Quotes eld
41772 \begin_inset Quotes erd
41776 \begin_inset Quotes eld
41780 \begin_inset Quotes erd
41784 \begin_inset Quotes eld
41788 \begin_inset Quotes erd
41791 , and add this command to the document preamble:
41792 \begin_inset Newline newline
41799 @ifundefined{textcolor}
41800 \begin_inset Newline newline
41804 \begin_inset space ~
41809 usepackage{color}}{}
41813 \begin_layout Standard
41817 \begin_layout Plain Layout
41831 \begin_inset Note Note
41834 \begin_layout Plain Layout
41835 makes the initial magenta
41843 \begin_layout Initial
41844 \begin_inset Argument 1
41847 \begin_layout Plain Layout
41848 lines=3, lhang=0.33, loversize=0.25
41854 \begin_inset Argument 2
41857 \begin_layout Plain Layout
41858 \begin_inset Formula $\mathcal{I}$
41867 \begin_inset Argument 3
41870 \begin_layout Plain Layout
41871 t was in the spring
41876 of the year 1894 that all London was interested, and the fashionable world
41877 dismayed, by the murder of the Honourable Ronald Adair under most unusual
41878 and inexplicable circumstances.
41879 The public has already learned those particulars of the crime which came
41880 out in the police investigation, but a good deal was suppressed upon that
41881 occasion, since the case for the prosecution was so overwhelmingly strong
41882 that it was not necessary to bring forward all the facts.
41886 \begin_layout Standard
41890 \begin_layout Plain Layout
41900 \begin_inset Note Note
41903 \begin_layout Plain Layout
41904 The following will be displayed when the \SpecialChar LaTeX
41917 \begin_layout Standard
41918 You need to install the \SpecialChar LaTeX
41923 to see the following part of this section in the output.
41926 \begin_layout Standard
41930 \begin_layout Plain Layout
41942 \begin_layout Chapter
41943 External Document Parts
41944 \begin_inset Index idx
41949 \begin_layout Plain Layout
41950 External Document Parts
41958 \begin_layout Standard
41961 Insert\SpecialChar menuseparator
41964 you can insert external material into your document.
41968 \begin_layout Description
41970 \begin_inset space ~
41973 Document Another \SpecialChar LyX
41974 document; its content is directly inserted to your document.
41977 \begin_layout Description
41979 \begin_inset space ~
41982 Text A text document; each line is inserted in your document as a separate
41986 \begin_layout Description
41988 \begin_inset space ~
41992 \begin_inset space ~
41996 \begin_inset space ~
41999 Lines A text document; text lines are inserted in your document continuously
42000 but an empty text line creates a new paragraph.
42003 \begin_layout Description
42005 \begin_inset space ~
42008 Material Files in various formats.
42011 \begin_layout Description
42013 \begin_inset space ~
42016 Document \SpecialChar LyX
42017 or \SpecialChar LaTeX
42021 \begin_layout Section
42023 \begin_inset Index idx
42028 \begin_layout Plain Layout
42029 External Document Parts
42030 \begin_inset IndexMacro subentry
42033 \begin_layout Plain Layout
42047 \begin_layout Standard
42048 The external material feature allows you to insert files into your document
42049 without converting them to a format that can be read by the document output
42052 takes care of the necessary conversions.
42053 This is similar to images that can be inserted in various image formats
42054 in \SpecialChar LyX
42056 When you have enabled Instant Preview in \SpecialChar LyX
42057 's preferences under
42060 \begin_inset space ~
42064 \begin_inset space ~
42067 feel\SpecialChar menuseparator
42070 , the external material types Dia and Xfig are directly shown in \SpecialChar LyX
42074 \begin_layout Standard
42075 External material can be inserted via the
42079 dialog that is accessible with the menu
42081 Insert\SpecialChar menuseparator
42082 File\SpecialChar menuseparator
42084 \begin_inset space ~
42090 Currently the following file types (
42097 \begin_layout Description
42099 \begin_inset space ~
42102 diagram This template supports chess position diagrams made with the program
42106 \begin_inset CommandInset href
42109 target "https://en.wikipedia.org/wiki/XBoard"
42119 \begin_layout Description
42121 \begin_inset space ~
42124 diagram This template supports diagrams created with the program
42127 \begin_inset CommandInset href
42130 target "https://en.wikipedia.org/wiki/Dia_(software)"
42140 \begin_layout Description
42142 \begin_inset space ~
42145 figure This template supports specific scalable images derived from scalable
42146 vector graphics (SVG), in which the contained text is replaced by a version
42147 typeset by \SpecialChar LaTeX
42148 (and hence in the current document font).
42149 It relies on a feature of the program
42152 \begin_inset CommandInset href
42155 target "https://inkscape.org/"
42162 which creates a special PDF or EPS and \SpecialChar LaTeX
42163 file from a given SVG file (in
42168 itself, the feature is available via the option
42170 Omit text in PDF and create LaTeX file
42172 when saving a drawing as PDF or EPS).
42173 The benefit of such files is a uniform text style throughout the whole
42175 \begin_inset Newline newline
42178 The external template reads SVG files and uses a converter program to generate
42179 the respective PDF\SpecialChar breakableslash
42180 EPS and \SpecialChar LaTeX
42189 on the fly, so you don't have to export those files yourself.
42190 If you prefer the latter and want use given
42206 files instead, simply input the respective
42219 \begin_inset space ~
42223 \begin_inset CommandInset ref
42225 reference "sec:Child-Documents"
42229 ) rather than using this template.
42230 \begin_inset Newline newline
42233 You can use \SpecialChar TeX
42234 code commands such as
42247 \begin_inset space \space{}
42250 in the text of the SVG.
42251 The size of the font will be taken from the settings of the \SpecialChar LyX
42254 \begin_inset CommandInset citation
42261 for more information and examples.
42264 \begin_layout Description
42266 \begin_inset space ~
42270 \begin_inset space ~
42273 music This template is used for music notation typeset with the program
42274 \begin_inset Newline linebreak
42280 \begin_inset CommandInset href
42283 target "https://en.wikipedia.org/wiki/LilyPond"
42291 For \SpecialChar LyX
42292 's extended support for LilyPond have a look at \SpecialChar LyX
42300 \begin_layout Description
42302 \begin_inset space ~
42305 pages With this template you can insert PDF documents to your document.
42306 To specify the range of pages that should be included, use the option
42316 LaTeX and LyX options
42319 The argument of this option is a comma separated list, containing page
42320 numbers (insert as option
42324 ), ranges of page numbers (
42328 ) or any combination.
42329 To insert empty pages use {}.
42331 \begin_inset space \thinspace{}
42335 \begin_inset space ~
42340 pages={3,{},8-11,15}
42342 will insert page 3, an empty page, and pages 8, 9, 10, 11 and 15.
42343 Page ranges are specified in the syntax
42352 This selects all pages from
42365 defaults to the first page; omitting
42369 defaults to the last page of the document.
42370 The last page can also be selected with the keyword
42375 (This is only permitted in a page range.) So
42379 will insert all pages of the document and
42383 will insert all pages in reverse order.
42384 If the pages option is not specified, only the first page of the PDF is
42386 \begin_inset Newline newline
42393 inserts the pages with their original size, if this option is not given,
42394 the pages will be resized to fith the width of the page of your document.
42399 you can specify the width and height of the input pages and their rotation.
42400 If another width than 100
42401 \begin_inset space \thinspace{}
42404 Scale% is used, the option
42408 will be overwritten.
42409 For more info and possible options, have a look into the documentation
42410 of the \SpecialChar LaTeX
42416 \begin_inset CommandInset citation
42424 \begin_inset Index idx
42429 \begin_layout Plain Layout
42432 \begin_inset IndexMacro subentry
42435 \begin_layout Plain Layout
42447 \begin_inset Newline newline
42450 To use this template in a
42454 presentation you need to first insert an
42458 environment and in a subsequent paragraph a \SpecialChar TeX
42459 Code box containing the command
42464 setbeamertemplate{background canvas}{}
42467 Then you can insert as many paragraphs containing the PDFPages template
42469 Behind the included PDF pages you can resume the Beamer presentation by
42470 beginning a new frame or by starting a new section.
42471 To avoid stray blank pages prior to the PDF pages, make sure to use the
42476 alignment for the paragraph containing the template.
42477 \begin_inset Newline newline
42480 Here is an included PDF which is rotated by -5°:
42481 \begin_inset External
42483 filename clipart/Abstract.pdf
42484 extra LaTeX "noautoscale, pages=-"
42486 rotateOrigin bottomleft
42493 \begin_layout Description
42495 \begin_inset space ~
42498 image This can be used for bitmap images.
42499 The image can be treated in the
42503 dialog like the images that are usually included via the
42507 dialog as described in section
42508 \begin_inset space ~
42512 \begin_inset CommandInset ref
42514 reference "sec:Graphics-Dialog"
42519 Here is an inserted raster image:
42520 \begin_inset External
42521 template RasterImage
42522 filename clipart/ToolbarEnvBox.png
42529 \begin_layout Description
42530 Spreadsheet With this template you can insert spreadsheets
42531 \begin_inset space \thinspace{}
42535 \begin_inset space \thinspace{}
42538 tables in the format of
42541 \begin_inset CommandInset href
42544 target "https://en.wikipedia.org/wiki/Gnumeric"
42552 \begin_inset CommandInset href
42554 name "OpenDocument"
42555 target "https://en.wikipedia.org/wiki/OpenDocument"
42561 \begin_inset CommandInset href
42563 name "Microsoft Office XML"
42564 target "https://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
42570 \begin_inset CommandInset href
42572 name "Office Open XML"
42573 target "https://en.wikipedia.org/wiki/Office_Open_XML"
42579 For this feature \SpecialChar LyX
42580 must have found the program
42584 during its configuration.
42585 This program is part of Gnumeric, so that you must have Gnumeric installed,
42586 also if you don't have tables in the Gnumeric format.
42587 For examples and possible limitations have a look at \SpecialChar LyX
42595 \begin_layout Description
42597 \begin_inset space ~
42600 graphics This can be used for vector graphics.
42601 The image can be treated in the
42605 dialog like the images that are usually included via the
42609 dialog as described in section
42610 \begin_inset space ~
42614 \begin_inset CommandInset ref
42616 reference "sec:Graphics-Dialog"
42621 Here is an inserted vector graphics:
42622 \begin_inset External
42623 template VectorGraphics
42624 filename clipart/SVG-Drawing.svg
42633 \begin_layout Description
42635 \begin_inset space ~
42638 figure This template supports images created with the program
42639 \begin_inset CommandInset href
42642 target "https://en.wikipedia.org/wiki/Xfig"
42650 \begin_layout Standard
42651 When you use the option
42663 dialog, only the path to the inserted file is shown in the output.
42664 \begin_inset Newline newline
42667 External material is displayed in \SpecialChar LyX
42668 either as a box like this:
42669 \begin_inset Graphics
42670 filename clipart/ExternalMaterial.png
42672 scaleBeforeRotation
42676 or as image, depending on the option
42682 LaTeX and LyX options
42687 \begin_layout Standard
42694 manual explains how you can define your own templates.
42697 \begin_layout Section
42699 \begin_inset CommandInset label
42701 name "sec:Child-Documents"
42706 \begin_inset Index idx
42711 \begin_layout Plain Layout
42712 External Document Parts
42713 \begin_inset IndexMacro subentry
42716 \begin_layout Plain Layout
42728 \begin_inset Index idx
42733 \begin_layout Plain Layout
42735 \begin_inset IndexMacro subentry
42738 \begin_layout Plain Layout
42752 \begin_layout Standard
42753 Child documents are used if you have a long document consisting of several
42754 larger parts or sections.
42755 For maintenance it is often useful and sometimes even required to split
42756 the document into several files that can be revised separately.
42757 The different documents are then the so called
42758 \begin_inset Quotes eld
42762 \begin_inset Quotes erd
42765 , and a master document connects them to print the full document or parts
42767 A child document inherits elements from its master, for example the \SpecialChar LaTeX
42769 the bibliography, and labels for cross-references.
42772 \begin_layout Standard
42773 To be able to work on child documents without the need to open their master,
42774 specify in the child document the master in the menu
42776 Document\SpecialChar menuseparator
42777 Settings\SpecialChar menuseparator
42779 \begin_inset space ~
42785 This master document will then be used in the background by \SpecialChar LyX
42787 the child document.
42790 \begin_layout Standard
42791 Included documents are displayed in \SpecialChar LyX
42792 as a box like this:
42793 \begin_inset Graphics
42794 filename clipart/ChildDocument.png
42796 scaleBeforeRotation
42800 To include child documents in a master document use the menu
42802 Insert\SpecialChar menuseparator
42803 File\SpecialChar menuseparator
42805 \begin_inset space ~
42811 A dialog pops up where you can choose between four include methods:
42814 \begin_layout Description
42815 Include You can include \SpecialChar LyX
42816 and \SpecialChar LaTeX
42826 dialog, the included document will be opened in \SpecialChar LyX
42827 in a new file tab so that
42829 \begin_inset Newline newline
42835 \begin_layout Standard
42836 Here is a child document inserted using
42841 \begin_inset CommandInset include
42842 LatexCommand include
42843 filename "DummyDocument1.lyx"
42851 \begin_layout Standard
42852 The section numbering includes the sections of the included files in the
42853 order they are inserted in the master document.
42854 The included example document has for example a subsection that is numbered
42855 as a subsection of this section.
42856 Labels of included documents can be referenced: Subsection
42857 \begin_inset space ~
42861 \begin_inset CommandInset ref
42863 reference "subsec:External-Subsection-1"
42870 \begin_layout Standard
42871 The preamble of the child document is ignored; only the preamble of the
42872 master document is used.
42873 Branches in child documents will be ignored by the master document when
42874 the master document does not have a branch with the same name.
42875 Included documents are inserted starting on a new page and ending with
42879 \begin_layout Standard
42880 \begin_inset Note Greyedout
42883 \begin_layout Plain Layout
42888 If you have included a \SpecialChar LyX
42889 or \SpecialChar LaTeX
42890 file, you are warned when you export/view the
42891 document in case the child document uses another document class than the
42892 master document as this will lead to unexpected outputs.
42900 \begin_layout Description
42901 Input This method is very similar to the Include method.
42902 The differences are:
42906 \begin_layout Itemize
42907 Input files don't start with a new page and don't end with a page break.
42910 \begin_layout Itemize
42911 Input files can be previewed in \SpecialChar LyX
42915 \begin_inset space ~
42920 is enabled in \SpecialChar LyX
42921 's preferences under
42924 \begin_inset space ~
42928 \begin_inset space ~
42931 feel\SpecialChar menuseparator
42937 \begin_layout Itemize
42938 You cannot exclude Input files via the menu
42940 Document\SpecialChar menuseparator
42941 Settings\SpecialChar menuseparator
42948 \begin_layout Standard
42949 Here is a child document inserted using
42954 \begin_inset CommandInset include
42956 filename "DummyDocument2.lyx"
42964 \begin_layout Description
42965 Verbatim With this method any text file can be included.
42966 The file is shown in the output with its source code; no command used in
42967 the text is invoked.
42968 You can use the option
42970 Mark spaces in output
42972 that displays the character
42973 \begin_inset Quotes eld
42980 \begin_layout Plain Layout
42990 \begin_inset Quotes erd
42993 for every space character in the source code.
42994 The difference from the method via the menu
42996 Insert\SpecialChar menuseparator
42997 File\SpecialChar menuseparator
42999 \begin_inset space ~
43004 is that the document content is not shown in \SpecialChar LyX
43008 \begin_layout Standard
43009 Here is a child document inserted as Verbatim:
43010 \begin_inset CommandInset include
43011 LatexCommand verbatiminput
43012 filename "DummyTextDocument.txt"
43018 \begin_inset VSpace bigskip
43021 Here is a child document inserted as Verbatim using the
43023 Mark spaces in output
43026 \begin_inset CommandInset include
43027 LatexCommand verbatiminput*
43028 filename "DummyTextDocument.txt"
43036 \begin_layout Standard
43037 \begin_inset VSpace bigskip
43043 \begin_layout Standard
43044 \begin_inset Note Greyedout
43047 \begin_layout Plain Layout
43052 As you can see in the examples above, the text of the documents included
43057 is not broken at the end of the document lines.
43065 \begin_layout Description
43066 Listings This type is described in chapter
43067 \begin_inset space ~
43071 \begin_inset CommandInset ref
43073 reference "cha:Program-Code-Listings"
43080 \begin_layout Standard
43081 \begin_inset Note Greyedout
43084 \begin_layout Plain Layout
43089 Including the same document twice in a document using different methods
43090 could cause \SpecialChar LaTeX
43099 \begin_layout Standard
43100 If you want to view/export only selected children of your master document,
43101 either because you want to save compiling time or because you want to distribut
43102 e single chapters of the book you are just writing, you can exclude children
43104 This is done via the menu
43106 Document\SpecialChar menuseparator
43107 Settings\SpecialChar menuseparator
43111 You can exclude\SpecialChar breakableslash
43112 include children by double-clicking on the
43116 column of the respective child document in the list (note that this only
43117 works for documents embedded via
43118 \begin_inset Quotes eld
43122 \begin_inset Quotes erd
43126 \begin_inset Quotes eld
43130 \begin_inset Quotes erd
43135 \change_inserted -712698321 1584102244
43139 \begin_layout Standard
43141 \change_inserted -712698321 1584102427
43144 Global Counters & References
43146 you can set how page numbers, references, section counters etc.
43150 \begin_layout Itemize
43152 \change_inserted -712698321 1584102377
43158 \change_deleted -712698321 1584102385
43161 Maintain counters and references
43166 will assure that all page numbers, references etc.
43167 \begin_inset space ~
43170 are correct as if the whole document was
43171 \change_deleted -712698321 1584108508
43173 \change_inserted -712698321 1584108509
43177 This is useful if you want the selected sub-documents to look exactly as
43178 in the context of the whole document.
43179 However, \SpecialChar LyX
43180 needs to process the whole document in the background for this
43182 \change_inserted -712698321 1584102406
43183 , which can take a long time
43187 \change_deleted -712698321 1584103026
43189 \change_inserted -712698321 1584102447
43193 \begin_layout Itemize
43195 \change_inserted -712698321 1584102489
43204 \change_inserted -712698321 1584103270
43205 only compiles the master and the included documents.
43206 Thus the counters will differ from the complete document, and references
43207 to excluded child documents will not be resolved.
43209 \change_deleted -712698321 1584102517
43211 \change_inserted -712698321 1584102518
43214 f you want to save compile time and if counters and references do not need
43216 \change_deleted -712698321 1584102523
43217 disable this checkbox
43218 \change_inserted -712698321 1584102546
43219 use this option as this is the fastest one
43222 \change_inserted -712698321 1584102550
43226 \begin_layout Itemize
43228 \change_inserted -712698321 1584109486
43233 is somewhat in-between the above two.
43234 If this is selected, \SpecialChar LyX
43235 will compile the whole document at the first output,
43236 which sets up counters and references correctly.
43237 In subsequent outputs, it will compile the whole document only if a change
43238 has been made in an excluded child document.
43239 As long as you only edit the included files, this approach is as fast as
43240 the second one, while giving you more or less correct counters and references.
43241 They are only more or less correct since the change of size of included
43242 documents obviously also changes the pagination of excluded documents,
43243 but this change cannot be tracked with this method.
43248 \begin_layout Standard
43249 Alternatively, you can put each included file into a branch.
43253 \begin_layout Plain Layout
43254 Branches are described in section
43258 of the \SpecialChar LyX
43268 By enabling\SpecialChar breakableslash
43269 disabling branches you can decide which included files will
43270 appear in the output.
43271 This has the advantage that it also works with Input'ed sub-documents.
43272 However, counters and references will not be maintained with this approach.
43275 \begin_layout Chapter
43276 Program Code Listings
43277 \begin_inset CommandInset label
43279 name "cha:Program-Code-Listings"
43284 \begin_inset Index idx
43289 \begin_layout Plain Layout
43296 \begin_inset Index idx
43301 \begin_layout Plain Layout
43308 \begin_inset Index idx
43313 \begin_layout Plain Layout
43315 \begin_inset IndexMacro subentry
43318 \begin_layout Plain Layout
43332 \begin_layout Standard
43333 To include and typeset program code you can use the
43337 inset that can be inserted via the menu
43339 Insert\SpecialChar menuseparator
43343 The \SpecialChar LaTeX
43349 \begin_inset Index idx
43354 \begin_layout Plain Layout
43357 \begin_inset IndexMacro subentry
43360 \begin_layout Plain Layout
43376 \begin_inset Index idx
43381 \begin_layout Plain Layout
43384 \begin_inset IndexMacro subentry
43387 \begin_layout Plain Layout
43398 provide a powerful and flexible way to insert program source code into
43400 One can only use one of these packages in a document.
43405 is used by default.
43408 \begin_layout Standard
43409 \begin_inset Note Note
43412 \begin_layout Plain Layout
43418 does NOT want to encourage users to add the
43422 option to converter definitions.
43423 It works, but it is a huge security risk.
43424 There is an active discussion about how to handle this.
43425 Once that's been resolved, this can be updated appropriately.
43428 \begin_layout Plain Layout
43432 \begin_layout Plain Layout
43437 , you need to select it as the syntax highlighting package in the document
43447 requires also additionally the module
43459 \begin_layout Plain Layout
43460 Under \SpecialChar LyX
43465 is already installed.
43474 for the \SpecialChar LaTeX
43476 If you want for example view or export your document as the format
43479 \begin_inset space ~
43484 , go to the \SpecialChar LyX
43485 preferences and there to the section
43488 \begin_inset space ~
43491 Handling\SpecialChar menuseparator
43495 There go to the entry
43498 \begin_inset space ~
43502 \begin_inset space ~
43507 and look at the field
43512 There you see by default the content
43513 \begin_inset Newline newline
43521 \begin_inset Newline newline
43525 \begin_inset Newline newline
43530 pdflatex $$i -shell-escape
43531 \begin_inset Newline newline
43540 button and subsequently
43549 The same can be done for the output formats
43552 \begin_inset space ~
43560 \begin_inset space ~
43573 \begin_layout Standard
43574 Right-clicking on a listings inset opens the context menu containing where
43575 you can set the listings format.
43578 \begin_layout Standard
43579 By default, a listing starts a new paragraph in the output.
43580 The placement option
43583 \begin_inset space ~
43588 prints the listing inline like this:
43589 \begin_inset listings
43590 lstparams "language={C++}"
43594 \begin_layout Plain Layout
43602 \begin_inset Newline newline
43609 creates a listings float where you can specify the placement options
43610 \begin_inset Quotes eld
43618 \begin_inset Quotes erd
43622 \begin_inset Quotes eld
43630 \begin_inset Quotes erd
43634 \begin_inset Quotes eld
43642 \begin_inset Quotes erd
43646 \begin_inset Quotes eld
43654 \begin_inset Quotes erd
43657 corresponding to the float placement options described in section
43658 \begin_inset space ~
43662 \begin_inset CommandInset ref
43664 reference "sec:Float-Settings"
43669 The placement options can be mixed and are inserted without any separation,
43671 \begin_inset space \thinspace{}
43675 \begin_inset space \space{}
43679 \begin_inset Quotes eld
43687 \begin_inset Quotes erd
43692 \begin_inset Quotes eld
43696 \begin_inset Quotes erd
43699 has sometimes no effect, but you don't need to use the
43703 option in this case as also non-float listings can have captions and be
43707 \begin_layout Standard
43708 You can add captions to listings that are not inline with the menu
43710 Insert\SpecialChar menuseparator
43714 Listings can be referenced like floats: Listing
43715 \begin_inset space ~
43719 \begin_inset CommandInset ref
43721 reference "lst:Example-Listing"
43726 A list of listings which contains all listings with captions can be created
43729 Insert\SpecialChar menuseparator
43731 \begin_inset space ~
43735 \begin_inset space ~
43738 TOC\SpecialChar menuseparator
43742 The list entries are the listing caption and the listing number.
43745 \begin_layout Standard
43746 \begin_inset listings
43747 lstparams "language=Python"
43751 \begin_layout Plain Layout
43753 \begin_inset Caption Standard
43755 \begin_layout Plain Layout
43756 \begin_inset CommandInset label
43758 name "lst:Example-Listing"
43762 Example Listing float
43767 # Example listing float
43770 \begin_layout Plain Layout
43775 \begin_layout Plain Layout
43777 'this is a python function'
43780 \begin_layout Plain Layout
43790 \begin_layout Standard
43791 \begin_inset Note Greyedout
43794 \begin_layout Plain Layout
43803 package places captions before the listing by default.
43804 \begin_inset Newline newline
43811 package places them after the listing by default if it is floating.
43812 If it is not floating, caption will be typeset before the listing if it
43813 is inserted to its first line, otherwise it will be typeset after the listing.
43814 If you want to force the placement in every case before the listing, you
43815 have to add the following lines as last thing to the preamble:
43816 \begin_inset Newline newline
43823 @ifundefined{newfloat}
43824 \begin_inset Newline newline
43828 \begin_inset Phantom HPhantom
43831 \begin_layout Plain Layout
43834 \begin_inset space ~
43844 usepackage{float}}{}
43845 \begin_inset Newline newline
43850 floatstyle{plaintop}
43853 \begin_inset Note Note
43856 \begin_layout Plain Layout
43861 will be loaded automatically by \SpecialChar LyX
43862 when you use special document-wide float
43863 placement settings.
43864 To avoid that it is loaded twice the command
43870 is used in the above command.
43883 \begin_layout Standard
43884 When you have set a programming language in the listings dialog, the keywords
43885 of this language will be recognized and specially typeset in the output.
43886 In the example listings the Python keyword
43887 \begin_inset Quotes eld
43891 \begin_inset Quotes erd
43894 is recognized and printed bold in the output.
43897 \begin_layout Standard
43898 \begin_inset Note Greyedout
43901 \begin_layout Plain Layout
43906 If you don't get bold keywords when using typewriter fonts, your
43910 font probably doesn't provide a bold shape.
43911 In this case select a different one in the menu
43913 Document\SpecialChar menuseparator
43914 Settings\SpecialChar menuseparator
43926 provide bold shapes.)
43934 \begin_layout Standard
43938 \begin_inset space ~
43943 of the listings dialog you can specify the line numbering style.
43944 You can insert a number to specify which lines are numbered in the field
43951 \begin_inset space \thinspace{}
43955 \begin_inset space \space{}
43959 \begin_inset Quotes eld
43963 \begin_inset Quotes erd
43966 , only every 3rd line will be numbered.
43969 \begin_layout Standard
43970 You can furthermore specify a range of lines; only these will then appear
43974 Extended character table
43976 is only meaningful for the
43980 package and should be used when you use national characters like the German
43981 umlauts in the listing.
43982 \begin_inset Newline newline
43985 Here is an example listing with left line numbering, step
43986 \begin_inset Quotes eld
43990 \begin_inset Quotes erd
43994 \begin_inset Quotes eld
43998 \begin_inset Quotes erd
44002 \begin_inset Quotes eld
44005 Extended character table
44006 \begin_inset Quotes erd
44010 \begin_inset Quotes eld
44014 \begin_inset space ~
44018 \begin_inset space ~
44022 \begin_inset Quotes erd
44026 \begin_inset space \thinspace{}
44030 \begin_inset space \thinspace{}
44036 \begin_layout Standard
44037 \begin_inset listings
44038 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
44042 \begin_layout Plain Layout
44047 \begin_layout Plain Layout
44049 'this is a python function'
44052 \begin_layout Plain Layout
44057 \begin_layout Plain Layout
44062 \begin_layout Plain Layout
44064 'This is a German word: Tschüß'
44067 \begin_layout Plain Layout
44072 \begin_layout Plain Layout
44077 \begin_layout Plain Layout
44079 'this is a python function'
44082 \begin_layout Plain Layout
44092 \begin_layout Standard
44093 When you have tabulators in your listing, you can specify the number of
44094 characters that are spanned by a tabulator in the field
44097 \begin_inset space ~
44105 \begin_layout Standard
44106 \begin_inset Note Greyedout
44109 \begin_layout Plain Layout
44114 Due to a bug in the
44118 package the line numbering is shifted by a line by every previous listing.
44119 That's the reason why the lines 2 and 5 are numbered in the above listing
44120 and not the lines 3 and 6.
44128 \begin_layout Standard
44129 \begin_inset VSpace bigskip
44135 \begin_layout Standard
44136 It is also possible to print lines from a file as listing.
44137 To do this, use the menu
44139 Insert\SpecialChar menuseparator
44140 File\SpecialChar menuseparator
44143 and choose the type
44151 \begin_layout Plain Layout
44152 The other child document types are described in section
44153 \begin_inset space ~
44157 \begin_inset CommandInset ref
44159 reference "sec:Child-Documents"
44168 In the child document dialog you can specify the listing parameters in
44170 To show a list of all available parameters, type in a question mark
44171 \begin_inset Quotes eld
44175 \begin_inset Quotes erd
44181 \begin_layout Standard
44182 To reference child document listings, write a label text into the corresponding
44183 field of the child document dialog.
44184 The label can then be referenced using the menu
44186 Insert\SpecialChar menuseparator
44192 \begin_layout Standard
44194 \begin_inset space ~
44198 \begin_inset CommandInset ref
44200 reference "lst:file-listing"
44204 is an example for a listing of a file; there the lines 10
44205 \begin_inset space \thinspace{}
44209 \begin_inset space \thinspace{}
44212 15 of this \SpecialChar LyX
44216 \begin_layout Standard
44217 \begin_inset CommandInset include
44218 LatexCommand lstinputlisting
44219 filename "EmbeddedObjects.lyx"
44220 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
44228 \begin_layout Standard
44229 \begin_inset VSpace bigskip
44235 \begin_layout Standard
44236 Inserting a formula into a listing can be done the following way:
44239 \begin_layout Enumerate
44240 Open the listings dialog and add
44241 \begin_inset Newline newline
44249 \begin_inset Newline newline
44252 to the field of the
44259 \begin_layout Enumerate
44260 Create a formula outside the listing
44263 \begin_layout Enumerate
44264 Copy the content of the formula (not the formula inset) to the clipboard
44274 \begin_layout Enumerate
44275 In the listing write
44276 \begin_inset Quotes eld
44284 \begin_inset Quotes erd
44287 and copy from the clipboard between the dollar-signs (shortcut
44296 \begin_layout Standard
44297 \begin_inset listings
44298 lstparams "language=Python,mathescape=true"
44302 \begin_layout Plain Layout
44304 \begin_inset Caption Standard
44306 \begin_layout Plain Layout
44307 Example Listing float containing a formula
44312 # Example listing float
44315 \begin_layout Plain Layout
44320 \begin_layout Plain Layout
44333 \begin_layout Plain Layout
44343 \begin_layout Standard
44344 \begin_inset VSpace bigskip
44350 \begin_layout Standard
44351 Global listings settings can be set in the
44353 Document\SpecialChar menuseparator
44354 Settings\SpecialChar menuseparator
44358 To get there a list of available options, type in a question mark
44359 \begin_inset Quotes eld
44363 \begin_inset Quotes erd
44369 \begin_layout Standard
44370 For more information about the
44378 packages, we refer to their documentation
44379 \begin_inset CommandInset citation
44381 key "listings,minted"
44389 \begin_layout Standard
44390 \begin_inset Newpage newpage
44396 \begin_layout Chapter
44398 Units available in \SpecialChar LyX
44400 \begin_inset Index idx
44405 \begin_layout Plain Layout
44412 \begin_inset CommandInset label
44414 name "cha:Units-available-in"
44421 \begin_layout Standard
44422 To understand the units described in this documentation, Table
44423 \begin_inset space ~
44427 \begin_inset CommandInset ref
44429 reference "tab:Units"
44433 explains all units available in \SpecialChar LyX
44437 \begin_layout Standard
44438 \begin_inset Float table
44445 \begin_layout Plain Layout
44446 \begin_inset Caption Standard
44448 \begin_layout Plain Layout
44449 \begin_inset CommandInset label
44463 \begin_layout Plain Layout
44464 \begin_inset VSpace medskip
44470 \begin_layout Plain Layout
44472 \begin_inset Tabular
44473 <lyxtabular version="3" rows="21" columns="3">
44474 <features tabularvalignment="middle">
44475 <column alignment="center" valignment="top">
44476 <column alignment="center" valignment="middle" width="50col%">
44477 <column alignment="center" valignment="top">
44479 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
44482 \begin_layout Plain Layout
44488 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
44491 \begin_layout Plain Layout
44497 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
44500 \begin_layout Plain Layout
44509 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44512 \begin_layout Plain Layout
44518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44521 \begin_layout Plain Layout
44523 \begin_inset space \thinspace{}
44527 \begin_inset space \thinspace{}
44535 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44538 \begin_layout Plain Layout
44546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44549 \begin_layout Plain Layout
44555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44558 \begin_layout Plain Layout
44560 \begin_inset space \thinspace{}
44564 \begin_inset space \thinspace{}
44572 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44575 \begin_layout Plain Layout
44583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44586 \begin_layout Plain Layout
44592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44595 \begin_layout Plain Layout
44601 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44604 \begin_layout Plain Layout
44612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44615 \begin_layout Plain Layout
44621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44624 \begin_layout Plain Layout
44626 \begin_inset space \thinspace{}
44630 \begin_inset Formula $\approx$
44634 \begin_inset space \thinspace{}
44642 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44645 \begin_layout Plain Layout
44653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44656 \begin_layout Plain Layout
44662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44665 \begin_layout Plain Layout
44675 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44678 \begin_layout Plain Layout
44686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44689 \begin_layout Plain Layout
44695 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44698 \begin_layout Plain Layout
44708 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44711 \begin_layout Plain Layout
44719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44722 \begin_layout Plain Layout
44728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44731 \begin_layout Plain Layout
44737 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44740 \begin_layout Plain Layout
44748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44751 \begin_layout Plain Layout
44757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44760 \begin_layout Plain Layout
44766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44769 \begin_layout Plain Layout
44777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44780 \begin_layout Plain Layout
44786 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44789 \begin_layout Plain Layout
44791 \begin_inset space \thinspace{}
44795 \begin_inset space \thinspace{}
44803 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44806 \begin_layout Plain Layout
44814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44817 \begin_layout Plain Layout
44823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44826 \begin_layout Plain Layout
44828 \begin_inset space \thinspace{}
44832 \begin_inset space \thinspace{}
44840 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44843 \begin_layout Plain Layout
44851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44854 \begin_layout Plain Layout
44860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44863 \begin_layout Plain Layout
44865 \begin_inset space \thinspace{}
44869 \begin_inset space \thinspace{}
44877 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44880 \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" usebox="none">
44900 \begin_layout Plain Layout
44901 scaled point (65536
44902 \begin_inset space \thinspace{}
44906 \begin_inset space \thinspace{}
44914 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44917 \begin_layout Plain Layout
44925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44928 \begin_layout Plain Layout
44934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44937 \begin_layout Plain Layout
44943 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44946 \begin_layout Plain Layout
44956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44959 \begin_layout Plain Layout
44965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44968 \begin_layout Plain Layout
44969 % of height between baselines of two subsequent text lines
44974 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
44977 \begin_layout Plain Layout
44987 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44990 \begin_layout Plain Layout
44996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
44999 \begin_layout Plain Layout
45005 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45008 \begin_layout Plain Layout
45018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45021 \begin_layout Plain Layout
45027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45030 \begin_layout Plain Layout
45036 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45039 \begin_layout Plain Layout
45049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45052 \begin_layout Plain Layout
45058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45061 \begin_layout Plain Layout
45067 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45070 \begin_layout Plain Layout
45080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45083 \begin_layout Plain Layout
45089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45092 \begin_layout Plain Layout
45093 % of original image width
45098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45101 \begin_layout Plain Layout
45109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45112 \begin_layout Plain Layout
45118 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
45121 \begin_layout Plain Layout
45127 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
45130 \begin_layout Plain Layout
45140 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
45143 \begin_layout Plain Layout
45149 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
45152 \begin_layout Plain Layout
45158 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
45161 \begin_layout Plain Layout
45182 \begin_layout Chapter
45183 Output File Formats with Graphics
45184 \begin_inset CommandInset label
45186 name "cha:Output-File-Formats"
45193 \begin_layout Section
45195 \begin_inset Index idx
45200 \begin_layout Plain Layout
45202 \begin_inset IndexMacro subentry
45205 \begin_layout Plain Layout
45217 \begin_inset Index idx
45222 \begin_layout Plain Layout
45224 \begin_inset IndexMacro see
45227 \begin_layout Plain Layout
45241 \begin_layout Standard
45242 This file type has the extension
45243 \begin_inset Quotes eld
45251 \begin_inset Quotes erd
45256 \begin_inset Quotes eld
45260 \begin_inset Quotes erd
45263 (DVI), because it is completely portable; you can move them from one machine
45264 to another without needing to do any sort of conversion.
45265 At the time when this file-format was developed, this was no matter of
45267 DVIs are used for quick previews and as pre-stage for other output formats,
45271 \begin_layout Standard
45272 \begin_inset Note Greyedout
45275 \begin_layout Plain Layout
45280 DVI-files do not contain images; they will only be a linked.
45285 So don't forget this, if you move your
45289 file to another computer.
45290 This property can also slow down your computer when you view the DVI, because
45291 the DVI-viewer has to convert the image in the background to make it visible
45292 when you scroll in the DVI.
45293 So it is recommended that you use PDF for files with many images.
45296 \begin_layout Standard
45297 You can export your document to DVI by using the menu
45299 File\SpecialChar menuseparator
45300 Export\SpecialChar menuseparator
45304 You can view your document as DVI 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
45342 \begin_inset IndexMacro see
45345 \begin_layout Plain Layout
45359 \begin_layout Standard
45360 This file type has the extension
45361 \begin_inset Quotes eld
45369 \begin_inset Quotes erd
45373 PostScript was developed by the company
45377 as a printer language.
45378 The file therefore contains commands that the printer uses to print the
45380 PostScript can be seen as a
45381 \begin_inset Quotes eld
45384 programming language
45385 \begin_inset Quotes erd
45388 ; you can calculate with it and draw diagrams and images.
45392 \begin_layout Plain Layout
45393 If you are interested to learn more about this, have a look at the \SpecialChar LaTeX
45400 \begin_inset CommandInset citation
45412 Due to this ability, the files are often bigger than PDFs.
45415 \begin_layout Standard
45416 PostScript can only contain images in the format
45417 \begin_inset Quotes eld
45420 Encapsulated PostScript
45421 \begin_inset Quotes erd
45424 (EPS, file extension
45425 \begin_inset Quotes eld
45433 \begin_inset Quotes erd
45437 As \SpecialChar LyX
45438 allows you to use any known image format in your document, it has to
45439 convert images in the background to EPS.
45441 \begin_inset space ~
45445 \begin_inset space ~
45448 images in your document, \SpecialChar LyX
45450 \begin_inset space ~
45453 conversions whenever you view or export your document.
45454 This will slow down your work flow with \SpecialChar LyX
45456 So if you plan to use PostScript, you can insert your images directly as
45457 EPS to avoid this problem.
45460 \begin_layout Standard
45461 You can export your document to PostScript using the menu
45463 File\SpecialChar menuseparator
45464 Export\SpecialChar menuseparator
45468 You can view your document as PostScript via the
45475 \begin_layout Section
45477 \begin_inset Index idx
45482 \begin_layout Plain Layout
45484 \begin_inset IndexMacro subentry
45487 \begin_layout Plain Layout
45499 \begin_inset Index idx
45504 \begin_layout Plain Layout
45513 \begin_layout Standard
45514 This file type has the extension
45515 \begin_inset Quotes eld
45523 \begin_inset Quotes erd
45528 \begin_inset Quotes eld
45531 Portable Document Format
45532 \begin_inset Quotes erd
45535 (PDF) was developed by
45539 as a derivative of PostScript.
45540 It is more compressed and it uses fewer commands than PostScript.
45542 \begin_inset Quotes eld
45546 \begin_inset Quotes erd
45549 implies, it can be processed at any computer system and the printed output
45550 looks exactly the same.
45553 \begin_layout Standard
45554 PDF can contain images in its own PDF format, in the format
45555 \begin_inset Quotes eld
45558 Joint Photographic Experts Group
45559 \begin_inset Quotes erd
45562 (JPG, file extension
45563 \begin_inset Quotes eld
45571 \begin_inset Quotes erd
45575 \begin_inset Quotes eld
45583 \begin_inset Quotes erd
45586 ), and in the format
45587 \begin_inset Quotes eld
45590 Portable Network Graphics
45591 \begin_inset Quotes erd
45594 (PNG, file extension
45595 \begin_inset Quotes eld
45603 \begin_inset Quotes erd
45607 Nevertheless you can use any other image format, because \SpecialChar LyX
45609 in the background to one of these formats.
45610 But as described in the section about PostScript, the image conversion
45611 will slow down your work flow.
45612 So it is recommended that you use images in one of the three mentioned
45616 \begin_layout Standard
45617 You can export your document to PDF via the menu
45619 File\SpecialChar menuseparator
45622 in three different ways:
45625 \begin_layout Description
45627 \begin_inset space ~
45630 (ps2pdf) This uses the program
45634 that creates a PDF from a PostScript-version of your file.
45635 The PostScript-version is produced by the program
45639 which uses a DVI-version as intermediate step.
45640 So this export variant consists of three conversions.
45643 \begin_layout Description
45645 \begin_inset space ~
45648 (dvipdfm) This uses the program
45652 that converts your file in the background to DVI and in a second step to
45656 \begin_layout Description
45658 \begin_inset space ~
45661 (pdflatex) This uses the program
45665 that converts your file directly to PDF.
45668 \begin_layout Standard
45669 It is recommended that you use
45672 \begin_inset space ~
45681 supports all features of actual PDF-versions, is quick and works stable.
45686 is not under development and therefore a bit outdated.
45689 \begin_layout Standard
45690 You can view your document as PDF via the
45694 menu or by using a toolbar button.
45697 \begin_layout Chapter
45698 List of dvips color names
45699 \begin_inset CommandInset label
45701 name "chap:List-of-dvips-colornames"
45708 \begin_layout Standard
45709 \begin_inset Tabular
45710 <lyxtabular version="3" rows="17" columns="4">
45711 <features tabularvalignment="middle">
45712 <column alignment="left" valignment="top" width="0pt">
45713 <column alignment="left" valignment="top" width="0pt">
45714 <column alignment="left" valignment="top" width="0pt">
45715 <column alignment="left" valignment="top" width="0pt">
45717 <cell alignment="left" valignment="top" usebox="none">
45720 \begin_layout Plain Layout
45724 \begin_layout Plain Layout
45737 \begin_layout Plain Layout
45748 \begin_layout Plain Layout
45760 <cell alignment="left" valignment="top" usebox="none">
45763 \begin_layout Plain Layout
45767 \begin_layout Plain Layout
45780 \begin_layout Plain Layout
45791 \begin_layout Plain Layout
45803 <cell alignment="left" valignment="top" usebox="none">
45806 \begin_layout Plain Layout
45810 \begin_layout Plain Layout
45823 \begin_layout Plain Layout
45834 \begin_layout Plain Layout
45846 <cell alignment="left" valignment="top" usebox="none">
45849 \begin_layout Plain Layout
45853 \begin_layout Plain Layout
45866 \begin_layout Plain Layout
45877 \begin_layout Plain Layout
45891 <cell alignment="center" valignment="top" usebox="none">
45894 \begin_layout Plain Layout
45898 \begin_layout Plain Layout
45911 \begin_layout Plain Layout
45919 \begin_inset Phantom Phantom
45922 \begin_layout Plain Layout
45932 \begin_layout Plain Layout
45944 <cell alignment="center" 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="center" 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="center" 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
46105 <cell alignment="left" valignment="top" usebox="none">
46108 \begin_layout Plain Layout
46112 \begin_layout Plain Layout
46125 \begin_layout Plain Layout
46133 \begin_inset Phantom Phantom
46136 \begin_layout Plain Layout
46146 \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
46319 <cell alignment="left" valignment="top" usebox="none">
46322 \begin_layout Plain Layout
46326 \begin_layout Plain Layout
46339 \begin_layout Plain Layout
46347 \begin_inset Phantom Phantom
46350 \begin_layout Plain Layout
46360 \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
46533 <cell alignment="left" valignment="top" usebox="none">
46536 \begin_layout Plain Layout
46540 \begin_layout Plain Layout
46553 \begin_layout Plain Layout
46561 \begin_inset Phantom Phantom
46564 \begin_layout Plain Layout
46574 \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
46747 <cell alignment="left" valignment="top" usebox="none">
46750 \begin_layout Plain Layout
46754 \begin_layout Plain Layout
46767 \begin_layout Plain Layout
46775 \begin_inset Phantom Phantom
46778 \begin_layout Plain Layout
46788 \begin_layout Plain Layout
46800 <cell alignment="left" 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="left" 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="left" 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
46961 <cell alignment="center" valignment="top" usebox="none">
46964 \begin_layout Plain Layout
46968 \begin_layout Plain Layout
46981 \begin_layout Plain Layout
46989 \begin_inset Phantom Phantom
46992 \begin_layout Plain Layout
47002 \begin_layout Plain Layout
47014 <cell alignment="center" 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="center" 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="center" 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
47175 <cell alignment="left" valignment="top" usebox="none">
47178 \begin_layout Plain Layout
47182 \begin_layout Plain Layout
47195 \begin_layout Plain Layout
47203 \begin_inset Phantom Phantom
47206 \begin_layout Plain Layout
47216 \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
47389 <cell alignment="left" valignment="top" usebox="none">
47392 \begin_layout Plain Layout
47396 \begin_layout Plain Layout
47409 \begin_layout Plain Layout
47417 \begin_inset Phantom Phantom
47420 \begin_layout Plain Layout
47430 \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
47603 <cell alignment="left" valignment="top" usebox="none">
47606 \begin_layout Plain Layout
47610 \begin_layout Plain Layout
47623 \begin_layout Plain Layout
47631 \begin_inset Phantom Phantom
47634 \begin_layout Plain Layout
47644 \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
47817 <cell alignment="left" valignment="top" usebox="none">
47820 \begin_layout Plain Layout
47824 \begin_layout Plain Layout
47837 \begin_layout Plain Layout
47845 \begin_inset Phantom Phantom
47848 \begin_layout Plain Layout
47858 \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
48031 <cell alignment="left" valignment="top" usebox="none">
48034 \begin_layout Plain Layout
48038 \begin_layout Plain Layout
48051 \begin_layout Plain Layout
48059 \begin_inset Phantom Phantom
48062 \begin_layout Plain Layout
48072 \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
48245 <cell alignment="left" valignment="top" usebox="none">
48248 \begin_layout Plain Layout
48252 \begin_layout Plain Layout
48265 \begin_layout Plain Layout
48273 \begin_inset Phantom Phantom
48276 \begin_layout Plain Layout
48286 \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
48459 <cell alignment="left" valignment="top" usebox="none">
48462 \begin_layout Plain Layout
48466 \begin_layout Plain Layout
48479 \begin_layout Plain Layout
48487 \begin_inset Phantom Phantom
48490 \begin_layout Plain Layout
48500 \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
48673 <cell alignment="left" valignment="top" usebox="none">
48676 \begin_layout Plain Layout
48680 \begin_layout Plain Layout
48693 \begin_layout Plain Layout
48701 \begin_inset Phantom Phantom
48704 \begin_layout Plain Layout
48714 \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
48887 <cell alignment="left" valignment="top" usebox="none">
48890 \begin_layout Plain Layout
48894 \begin_layout Plain Layout
48907 \begin_layout Plain Layout
48915 \begin_inset Phantom Phantom
48918 \begin_layout Plain Layout
48928 \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
49000 \begin_layout Plain Layout
49013 \begin_layout Plain Layout
49021 \begin_inset Phantom Phantom
49024 \begin_layout Plain Layout
49034 \begin_layout Plain Layout
49046 <cell alignment="left" valignment="top" usebox="none">
49049 \begin_layout Plain Layout
49053 \begin_layout Plain Layout
49066 \begin_layout Plain Layout
49074 \begin_inset Phantom Phantom
49077 \begin_layout Plain Layout
49087 \begin_layout Plain Layout
49101 <cell alignment="left" valignment="top" usebox="none">
49104 \begin_layout Plain Layout
49108 \begin_layout Plain Layout
49121 \begin_layout Plain Layout
49129 \begin_inset Phantom Phantom
49132 \begin_layout Plain Layout
49142 \begin_layout Plain Layout
49154 <cell alignment="left" valignment="top" usebox="none">
49157 \begin_layout Plain Layout
49163 <cell alignment="left" valignment="top" usebox="none">
49166 \begin_layout Plain Layout
49172 <cell alignment="left" valignment="top" usebox="none">
49175 \begin_layout Plain Layout
49189 \begin_layout Chapter
49190 Explanation of Equation
49191 \begin_inset space ~
49195 \begin_inset CommandInset ref
49202 \begin_inset CommandInset label
49204 name "cha:Explanation-of-Equation"
49211 \begin_layout Standard
49212 We can calculate the total width of
49217 \begin_inset Formula $W_{\mathrm{tot\,n}}$
49221 \begin_inset Formula
49223 W_{\mathrm{tot}\,n}=n\cdot(W_{g\,n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
49229 \begin_inset Formula $W_{g\,n}$
49232 is the given width of all cells,
49238 is the \SpecialChar LaTeX
49239 -length between the cell text and the cell border (its default value
49241 \begin_inset space \thinspace{}
49251 is the thickness of the cell border line, the default is 0.4
49252 \begin_inset space \thinspace{}
49258 \begin_layout Standard
49260 \begin_inset space ~
49264 \begin_inset CommandInset ref
49266 reference "eq:Wtot_n"
49270 , the total width of a multicolumn
49271 \begin_inset Formula $W_{\mathrm{tot\,mult}}$
49275 \begin_inset Formula
49277 W_{\mathrm{tot\,mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
49285 \begin_layout Standard
49286 By setting equation
49287 \begin_inset space ~
49291 \begin_inset CommandInset ref
49293 reference "eq:Wtot_n"
49298 \begin_inset CommandInset ref
49300 reference "eq:Wtot_mult"
49304 equal we can calculate the needed given width
49305 \begin_inset Formula $W_{g\,n}$
49312 columns are spanned, so that each column has a total width of
49313 \begin_inset Formula $W_{\mathrm{tot\,mult}}/n$
49317 \begin_inset Formula
49319 W_{g\,n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
49327 \begin_layout Bibliography
49328 \begin_inset CommandInset bibitem
49329 LatexCommand bibitem
49330 key "latexcompanion"
49335 Frank Mittelbach and Michel Goossens:
49337 The \SpecialChar LaTeX
49338 Companion Second Edition.
49341 Addison-Wesley, 2004
49344 \begin_layout Bibliography
49345 \begin_inset CommandInset bibitem
49346 LatexCommand bibitem
49352 Helmut Kopka and Patrick W.
49355 A Guide to \SpecialChar LaTeX
49359 Addison-Wesley, 2003
49362 \begin_layout Bibliography
49363 \begin_inset CommandInset bibitem
49364 LatexCommand bibitem
49373 : A Document Preparation System.
49376 Addison-Wesley, second edition, 1994
49379 \begin_layout Bibliography
49380 \begin_inset CommandInset bibitem
49381 LatexCommand bibitem
49387 Documentation of the \SpecialChar LaTeX
49391 \begin_inset CommandInset href
49394 target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
49402 \begin_inset Index idx
49407 \begin_layout Plain Layout
49410 \begin_inset IndexMacro subentry
49413 \begin_layout Plain Layout
49427 \begin_layout Bibliography
49428 \begin_inset CommandInset bibitem
49429 LatexCommand bibitem
49435 Documentation of the \SpecialChar LaTeX
49439 \begin_inset CommandInset href
49442 target "https://www.ctan.org/tex-archive/macros/latex/contrib//booktabs/booktabs.pdf"
49450 \begin_inset Index idx
49455 \begin_layout Plain Layout
49458 \begin_inset IndexMacro subentry
49461 \begin_layout Plain Layout
49475 \begin_layout Bibliography
49476 \begin_inset CommandInset bibitem
49477 LatexCommand bibitem
49483 Documentation of the \SpecialChar LaTeX
49487 \begin_inset CommandInset href
49490 target "https://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"
49498 \begin_inset Index idx
49503 \begin_layout Plain Layout
49506 \begin_inset IndexMacro subentry
49509 \begin_layout Plain Layout
49523 \begin_layout Bibliography
49524 \begin_inset CommandInset bibitem
49525 LatexCommand bibitem
49531 Documentation of the \SpecialChar LaTeX
49535 \begin_inset CommandInset href
49538 target "https://www.ctan.org/tex-archive/macros/latex/contrib//diagbox/diagbox.pdf"
49546 \begin_inset Index idx
49551 \begin_layout Plain Layout
49554 \begin_inset IndexMacro subentry
49557 \begin_layout Plain Layout
49571 \begin_layout Bibliography
49572 \begin_inset CommandInset bibitem
49573 LatexCommand bibitem
49579 Documentation of the \SpecialChar LaTeX
49583 \begin_inset CommandInset href
49586 target "https://www.ctan.org/tex-archive/macros/latex/contrib//endfloat/endfloat.pdf"
49594 \begin_inset Index idx
49599 \begin_layout Plain Layout
49602 \begin_inset IndexMacro subentry
49605 \begin_layout Plain Layout
49619 \begin_layout Bibliography
49620 \begin_inset CommandInset bibitem
49621 LatexCommand bibitem
49627 Documentation of the \SpecialChar LaTeX
49631 \begin_inset CommandInset href
49634 target "https://www.ctan.org/tex-archive/macros/latex/contrib//footmisc/footmisc.pdf"
49642 \begin_inset Index idx
49647 \begin_layout Plain Layout
49650 \begin_inset IndexMacro subentry
49653 \begin_layout Plain Layout
49667 \begin_layout Bibliography
49668 \begin_inset CommandInset bibitem
49669 LatexCommand bibitem
49675 Documentation of the \SpecialChar LaTeX
49679 \begin_inset CommandInset href
49682 target "https://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
49690 \begin_inset Index idx
49695 \begin_layout Plain Layout
49698 \begin_inset IndexMacro subentry
49701 \begin_layout Plain Layout
49715 \begin_layout Bibliography
49716 \begin_inset CommandInset bibitem
49717 LatexCommand bibitem
49723 Documentation of the \SpecialChar LaTeX
49727 \begin_inset CommandInset href
49730 target "https://www.ctan.org/tex-archive/macros/latex/contrib//hyperref/hyperref.pdf"
49738 \begin_inset Index idx
49743 \begin_layout Plain Layout
49746 \begin_inset IndexMacro subentry
49749 \begin_layout Plain Layout
49763 \begin_layout Bibliography
49764 \begin_inset CommandInset bibitem
49765 LatexCommand bibitem
49771 Documentation of the \SpecialChar LaTeX
49775 \begin_inset CommandInset href
49778 target "https://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf"
49786 \begin_inset Index idx
49791 \begin_layout Plain Layout
49794 \begin_inset IndexMacro subentry
49797 \begin_layout Plain Layout
49811 \begin_layout Bibliography
49812 \begin_inset CommandInset bibitem
49813 LatexCommand bibitem
49819 Documentation of the \SpecialChar LaTeX
49823 \begin_inset CommandInset href
49826 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/lettrine.pdf"
49834 \begin_inset CommandInset href
49837 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/demo.pdf"
49843 \begin_inset Index idx
49848 \begin_layout Plain Layout
49851 \begin_inset IndexMacro subentry
49854 \begin_layout Plain Layout
49868 \begin_layout Bibliography
49869 \begin_inset CommandInset bibitem
49870 LatexCommand bibitem
49876 Documentation of the \SpecialChar LaTeX
49880 \begin_inset CommandInset href
49883 target "https://www.ctan.org/tex-archive/macros/latex/contrib//listings/listings.pdf"
49891 \begin_inset Index idx
49896 \begin_layout Plain Layout
49899 \begin_inset IndexMacro subentry
49902 \begin_layout Plain Layout
49916 \begin_layout Bibliography
49917 \begin_inset CommandInset bibitem
49918 LatexCommand bibitem
49924 Documentation of the \SpecialChar LaTeX
49928 \begin_inset CommandInset href
49931 target "https://www.ctan.org/tex-archive/macros/latex/contrib//minted/minted.pdf"
49939 \begin_inset Index idx
49944 \begin_layout Plain Layout
49947 \begin_inset IndexMacro subentry
49950 \begin_layout Plain Layout
49964 \begin_layout Bibliography
49965 \begin_inset CommandInset bibitem
49966 LatexCommand bibitem
49972 Documentation of the \SpecialChar LaTeX
49976 \begin_inset CommandInset href
49979 target "https://www.ctan.org/tex-archive/macros/latex/contrib//marginnote/marginnote.pdf"
49987 \begin_inset Index idx
49992 \begin_layout Plain Layout
49995 \begin_inset IndexMacro subentry
49998 \begin_layout Plain Layout
50012 \begin_layout Bibliography
50013 \begin_inset CommandInset bibitem
50014 LatexCommand bibitem
50020 Documentation of the \SpecialChar LaTeX
50024 \begin_inset CommandInset href
50027 target "https://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
50035 \begin_inset Index idx
50040 \begin_layout Plain Layout
50043 \begin_inset IndexMacro subentry
50046 \begin_layout Plain Layout
50060 \begin_layout Bibliography
50061 \begin_inset CommandInset bibitem
50062 LatexCommand bibitem
50068 Documentation of the \SpecialChar LaTeX
50072 \begin_inset CommandInset href
50075 target "https://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
50083 \begin_inset Index idx
50088 \begin_layout Plain Layout
50091 \begin_inset IndexMacro subentry
50094 \begin_layout Plain Layout
50108 \begin_layout Bibliography
50109 \begin_inset CommandInset bibitem
50110 LatexCommand bibitem
50116 Web page of the \SpecialChar LaTeX
50120 \begin_inset CommandInset href
50123 target "http://tug.org/PSTricks/"
50131 \begin_inset Index idx
50136 \begin_layout Plain Layout
50139 \begin_inset IndexMacro subentry
50142 \begin_layout Plain Layout
50156 \begin_layout Bibliography
50157 \begin_inset CommandInset bibitem
50158 LatexCommand bibitem
50164 Documentation of the \SpecialChar LaTeX
50168 \begin_inset CommandInset href
50171 target "https://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
50179 \begin_inset Index idx
50184 \begin_layout Plain Layout
50187 \begin_inset IndexMacro subentry
50190 \begin_layout Plain Layout
50204 \begin_layout Bibliography
50205 \begin_inset CommandInset bibitem
50206 LatexCommand bibitem
50212 Documentation of the \SpecialChar LaTeX
50216 \begin_inset CommandInset href
50219 target "https://www.ctan.org/tex-archive/macros/latex/contrib//sidecap/sidecap.pdf"
50227 \begin_inset Index idx
50232 \begin_layout Plain Layout
50235 \begin_inset IndexMacro subentry
50238 \begin_layout Plain Layout
50252 \begin_layout Bibliography
50253 \begin_inset CommandInset bibitem
50254 LatexCommand bibitem
50260 Documentation of the option
50261 \begin_inset CommandInset href
50263 name "Omit text in PDF"
50264 target "https://www.ctan.org/tex-archive/info/svg-inkscape/InkscapePDFLaTeX.pdf"
50272 \begin_inset CommandInset href
50275 target "https://inkscape.org"
50283 \begin_layout Standard
50284 \begin_inset CommandInset index_print
50285 LatexCommand printindex