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 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,dvipsnames,table
154 \use_default_options false
160 \maintain_unincluded_children false
162 \language_package default
165 \font_roman "lmodern" "default"
166 \font_sans "lmss" "default"
167 \font_typewriter "lmtt" "default"
168 \font_math "auto" "auto"
169 \font_default_family default
170 \use_non_tex_fonts false
173 \font_sf_scale 100 100
174 \font_tt_scale 100 100
176 \use_dash_ligatures true
178 \default_output_format pdf2
180 \bibtex_command default
181 \index_command default
185 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
186 \pdf_author "LyX Team, Uwe Stöhr"
187 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
188 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
190 \pdf_bookmarksnumbered true
191 \pdf_bookmarksopen true
192 \pdf_bookmarksopenlevel 1
193 \pdf_breaklinks false
197 \pdf_pdfusetitle false
198 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
201 \use_package amsmath 1
202 \use_package amssymb 1
203 \use_package cancel 1
205 \use_package mathdots 1
206 \use_package mathtools 1
207 \use_package mhchem 1
208 \use_package stackrel 1
209 \use_package stmaryrd 1
210 \use_package undertilde 1
212 \cite_engine_type default
216 \paperorientation portrait
221 \notefontcolor #0000ff
228 \paragraph_separation skip
231 \math_numbering_side default
232 \quotes_style english
236 \paperpagestyle default
238 \tracking_changes true
239 \output_changes false
242 \html_be_strict false
243 \author -712698321 "Jürgen Spitzmüller"
250 's detailed Figure, Table, Floats, Notes, Boxes and External Material manual
254 by the \SpecialChar LyX
259 \begin_layout Plain Layout
261 If you have comments or error corrections, please send them to the \SpecialChar LyX
264 \begin_inset CommandInset href
266 name "lyx-docs@lists.lyx.org"
267 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
279 \begin_inset Note Note
282 \begin_layout Plain Layout
289 \begin_inset Newline newline
293 \begin_inset Newline newline
301 \begin_layout Standard
302 \begin_inset CommandInset toc
303 LatexCommand tableofcontents
310 \begin_layout Standard
311 \begin_inset Note Note
314 \begin_layout Plain Layout
315 To export all parts of this document to PDF, PS, or DVI the \SpecialChar LaTeX
326 diagbox, lettrine, marginnote, picinpar
333 If they are not installed you can export the document anyway but the sections
334 where the packages are required won't appear in the output.
337 \begin_layout Plain Layout
338 The latest PDF-version of this document can be found here:
339 \begin_inset Newline newline
344 https://wiki.lyx.org/LyX/Manuals#EmbeddedObjects
352 \begin_layout Chapter
354 \begin_inset Index idx
357 \begin_layout Plain Layout
364 \begin_inset Index idx
367 \begin_layout Plain Layout
372 \begin_layout Plain Layout
383 \begin_layout Plain Layout
398 \begin_layout Section
400 \begin_inset Index idx
403 \begin_layout Plain Layout
404 Figures ! Graphics Dialog
410 \begin_inset CommandInset label
412 name "sec:Graphics-Dialog"
419 \begin_layout Standard
420 To insert an image into your document, place the cursor at the text position
421 you want and click on the toolbar icon
424 arg "dialog-show-new-inset graphics"
429 Insert\SpecialChar menuseparator
433 Then a dialog will appear to choose the file to load.
434 The image will appear in the output exactly at the position where it is
438 \begin_layout Standard
439 The graphics dialog can be called at any time by clicking on an image.
440 This dialog has three tabs:
443 \begin_layout Description
448 Here you can choose an image file and adjust its appearance in the output.
449 The available units for the image size are explained in appendix
454 \begin_inset CommandInset ref
456 reference "cha:Units-available-in"
461 \begin_inset Newline newline
465 \begin_inset Index idx
468 \begin_layout Plain Layout
474 You can rotate images counter-clockwise by setting a rotation angle and
476 The image will also be rotated inside \SpecialChar LyX
478 \begin_inset Newline newline
482 \begin_inset Index idx
485 \begin_layout Plain Layout
491 Images can be scaled by using a percentage value or by setting the width
492 and height explicitly.
493 If you set only the width or only the height, the other size will be determined
495 If you set both, then the image will be transformed to the given size,
496 possibly distorting it.
497 To prevent the image from distortion, use the option
499 Maintain aspect ratio
502 The image will then be scaled so that its width and height don't exceed
503 the specified dimensions.
504 \begin_inset Newline newline
507 Images can be opened in a program of your choice by right-clicking on it
508 and choosing the entry
517 The program can be set for every image format in the file format settings
522 \begin_layout Description
527 Alternatively to the usage of scaling units it is possible to set image
528 coordinates to adjust the height and width of the image in the output.
529 The coordinates can also be calculated automatically by pressing the button
559 will only print the image region within the given coordinates.
560 Normally you don't need to worry about image coordinates and can ignore
564 \begin_layout Description
581 In this tab you can modify the appearance of the image within \SpecialChar LyX
582 and \SpecialChar LaTeX
584 can specify additional \SpecialChar LaTeX
586 \begin_inset Newline newline
597 makes the image appear in the output only as a frame with the size of the
599 \begin_inset Newline newline
610 you can define or join an image settings group.
611 \begin_inset Index idx
614 \begin_layout Plain Layout
615 Figures ! Settings grouping
620 Images within such a group share their settings, so adjusting one image
621 of the group automatically also adjusts all other images of the group in
623 So you can for example change the size for a bunch of images without the
624 need to manually change each of them.
625 Joining an existing group can also be done using the context menu of the
626 image by checking the name of the desired group.
629 \begin_layout Standard
630 \begin_inset VSpace bigskip
636 \begin_layout Standard
637 This is an example image in PDF format
641 \begin_layout Plain Layout
642 Image formats are explained in section
647 \begin_inset CommandInset ref
649 reference "sec:Image-Formats"
658 within a separate, horizontally centered paragraph:
661 \begin_layout Standard
663 \begin_inset Graphics
664 filename clipart/2D-intensity-plot.pdf
673 \begin_layout Standard
674 This is the same image like the one above but in draft mode:
677 \begin_layout Standard
679 \begin_inset Graphics
680 filename clipart/2D-intensity-plot.pdf
690 \begin_layout Standard
691 \begin_inset Newpage newpage
697 \begin_layout Section
699 \begin_inset CommandInset label
701 name "sec:Figure-Floats"
706 \begin_inset Index idx
709 \begin_layout Plain Layout
716 \begin_inset Index idx
719 \begin_layout Plain Layout
728 \begin_layout Standard
729 For general explanations about floats, have a look at section
734 \begin_inset CommandInset ref
736 reference "sec:FloatIntroduction"
743 \begin_layout Standard
747 arg "float-insert figure"
752 Insert\SpecialChar menuseparator
753 Float\SpecialChar menuseparator
756 inserts a float with a caption that has the label
757 \begin_inset Quotes eld
765 \begin_inset Quotes erd
768 (# is the actual number).
769 You can insert the image above the caption, like in Figure
774 \begin_inset CommandInset ref
776 reference "fig:A-star-in"
780 or below the caption, like in Figure
785 \begin_inset CommandInset ref
787 reference "fig:A-3D-object"
792 More about caption placement is described in section
797 \begin_inset CommandInset ref
799 reference "sec:Caption-Placement"
806 \begin_layout Standard
807 \begin_inset Float figure
814 \begin_layout Plain Layout
816 \begin_inset Graphics
817 filename clipart/Star-structure.pdf
828 \begin_layout Plain Layout
829 \begin_inset Caption Standard
831 \begin_layout Plain Layout
832 \begin_inset CommandInset label
851 \begin_layout Standard
852 \begin_inset Float figure
859 \begin_layout Plain Layout
860 \begin_inset Caption Standard
862 \begin_layout Plain Layout
863 \begin_inset CommandInset label
865 name "fig:A-3D-object"
877 \begin_layout Plain Layout
879 \begin_inset Graphics
880 filename clipart/3D-structure-distort.pdf
896 \begin_layout Standard
897 \begin_inset Index idx
900 \begin_layout Plain Layout
901 References ! to Figures
911 \begin_inset CommandInset ref
913 reference "fig:A-star-in"
918 \begin_inset CommandInset ref
920 reference "fig:A-3D-object"
924 are examples of referenced figures.
925 Figures can be referenced in the text by referencing their label.
926 To do this insert a label in the caption using the menu
928 Insert\SpecialChar menuseparator
931 or the toolbar button
938 You can now refer to the label using the menu
940 Insert\SpecialChar menuseparator
947 or the toolbar button
950 arg "dialog-show-new-inset ref"
954 It is important to use references to floats, rather than using vague references
956 \begin_inset Quotes eld
960 \begin_inset Quotes erd
963 , because \SpecialChar LaTeX
964 will reposition the floats in the final document and it might
966 \begin_inset Quotes eld
970 \begin_inset Quotes erd
974 \begin_inset Newline newline
977 Referencing is explained in detail in section
982 \begin_inset CommandInset ref
984 reference "sec:Referencing-Floats"
991 \begin_layout Standard
992 Normally only one image is inserted to a figure float, but sometimes you
993 might want to use two images with separate subcaptions.
994 This can be done by inserting image floats into existing image floats.
995 Note that only the main caption of the float is added to the List of Figures.
1001 \begin_inset CommandInset ref
1003 reference "fig:Two-distorted-images"
1007 is an example of a figure float with two images set side by side.
1008 You can also set the images one below the other.
1010 \begin_inset space ~
1014 \begin_inset CommandInset ref
1016 reference "fig:Pink-object"
1021 \begin_inset CommandInset ref
1023 reference "fig:A-star"
1030 \begin_layout Standard
1031 \begin_inset Float figure
1038 \begin_layout Plain Layout
1039 \begin_inset space \hfill{}
1043 \begin_inset Float figure
1050 \begin_layout Plain Layout
1051 \begin_inset Caption Standard
1053 \begin_layout Plain Layout
1054 \begin_inset CommandInset label
1056 name "fig:Pink-object"
1068 \begin_layout Plain Layout
1069 \begin_inset Graphics
1070 filename clipart/3D-structure-distort.pdf
1083 \begin_inset space \hfill{}
1087 \begin_inset Float figure
1094 \begin_layout Plain Layout
1095 \begin_inset Caption Standard
1097 \begin_layout Plain Layout
1098 \begin_inset CommandInset label
1112 \begin_layout Plain Layout
1113 \begin_inset Graphics
1114 filename clipart/Star-structure.pdf
1127 \begin_inset space \hfill{}
1133 \begin_layout Plain Layout
1134 \begin_inset Caption Standard
1136 \begin_layout Plain Layout
1137 \begin_inset CommandInset label
1139 name "fig:Two-distorted-images"
1143 Two distorted images.
1144 Both images are in the image settings group named
1145 \begin_inset Quotes eld
1149 \begin_inset Quotes erd
1165 \begin_layout Standard
1166 \begin_inset Newpage newpage
1172 \begin_layout Section
1174 \begin_inset CommandInset label
1176 name "sec:Image-Formats"
1181 \begin_inset Index idx
1184 \begin_layout Plain Layout
1191 \begin_inset Index idx
1194 \begin_layout Plain Layout
1195 Figures ! Image Formats
1203 \begin_layout Standard
1204 You can insert images in any known file format.
1205 But as explained in appendix
1206 \begin_inset space ~
1210 \begin_inset CommandInset ref
1212 reference "cha:Output-File-Formats"
1216 , each output document format allows only a few image formats.
1218 uses therefore the program
1222 in the background to convert the images to the right format.
1223 To increase your work flow by avoiding these conversions in the background,
1224 you could choose to use only the image formats that can directly be embedded
1225 in the output file format.
1226 The output file formats are explained in appendix
1227 \begin_inset space ~
1231 \begin_inset CommandInset ref
1233 reference "cha:Output-File-Formats"
1240 \begin_layout Standard
1241 Similar to fonts there are two types of image formats:
1244 \begin_layout Description
1246 \begin_inset space ~
1249 images consist of pixel values, often in a compressed form.
1250 They are therefore not fully scalable and look pixelated in large zooms.
1251 Well-known bitmap image formats are
1252 \begin_inset Quotes eld
1255 Graphics Interchange Format
1256 \begin_inset Quotes erd
1259 (GIF, file extension
1260 \begin_inset Quotes eld
1268 \begin_inset Quotes erd
1272 \begin_inset Index idx
1275 \begin_layout Plain Layout
1280 \begin_layout Plain Layout
1291 \begin_layout Plain Layout
1304 \begin_inset Quotes eld
1307 Portable Network Graphics
1308 \begin_inset Quotes erd
1311 (PNG, file extension
1312 \begin_inset Quotes eld
1320 \begin_inset Quotes erd
1324 \begin_inset Index idx
1327 \begin_layout Plain Layout
1332 \begin_layout Plain Layout
1343 \begin_layout Plain Layout
1356 \begin_inset Quotes eld
1359 Joint Photographic Experts Group
1360 \begin_inset Quotes erd
1363 (JPG, file extension
1364 \begin_inset Quotes eld
1372 \begin_inset Quotes erd
1376 \begin_inset Quotes eld
1384 \begin_inset Quotes erd
1388 \begin_inset Index idx
1391 \begin_layout Plain Layout
1396 \begin_layout Plain Layout
1407 \begin_layout Plain Layout
1422 \begin_layout Description
1424 \begin_inset space ~
1427 images consist of vectors and can therefore be scaled to any size without
1429 The scaling ability is necessary if you want to create presentations, because
1430 presentations are always scaled by the video projector.
1431 Scaling is also useful for online documents to let the user zoom into diagrams.
1432 \begin_inset Newline newline
1435 Well-known scalable image formats are
1436 \begin_inset Quotes eld
1439 Scalable Vector Graphics
1440 \begin_inset Quotes erd
1443 (SVG, file extension
1444 \begin_inset Quotes eld
1452 \begin_inset Quotes erd
1456 \begin_inset Index idx
1459 \begin_layout Plain Layout
1464 \begin_layout Plain Layout
1475 \begin_layout Plain Layout
1488 \begin_inset Quotes eld
1491 Encapsulated PostScript
1492 \begin_inset Quotes erd
1495 (EPS, file extension
1496 \begin_inset Quotes eld
1504 \begin_inset Quotes erd
1508 \begin_inset Index idx
1511 \begin_layout Plain Layout
1516 \begin_layout Plain Layout
1527 \begin_layout Plain Layout
1540 \begin_inset Quotes eld
1543 Portable Document Format
1544 \begin_inset Quotes erd
1547 (PDF, file extension
1548 \begin_inset Quotes eld
1556 \begin_inset Quotes erd
1560 \begin_inset Index idx
1563 \begin_layout Plain Layout
1570 \begin_inset Quotes eld
1574 \begin_inset Quotes erd
1577 (WMF, file extension
1578 \begin_inset Quotes eld
1586 \begin_inset Quotes erd
1590 \begin_inset Index idx
1593 \begin_layout Plain Layout
1598 \begin_layout Plain Layout
1609 \begin_layout Plain Layout
1623 \begin_inset Quotes eld
1627 \begin_inset Quotes erd
1630 , because you can convert any bitmap image to a PDF or EPS-image and the
1631 result will still be a bitmap image.
1632 In such cases only a header with the image properties is added to the original
1637 \begin_layout Plain Layout
1638 In the case of PDF, the original image is additionally compressed.
1644 The PDF-files generated by
1648 are for example bitmap images.
1651 \begin_layout Standard
1652 Normally it is not possible to convert a bitmap image into a scalable one,
1654 Only the image formats PDF and EPS can directly be embedded to PDF and
1655 PostScript output files, respectively.
1656 SVG and WMF-images are recalculated to bitmaps when the output file is
1657 generated because there is currently no adequate WMF/SVG
1658 \begin_inset Formula $\to$
1661 PDF/EPS converter available.
1664 \begin_layout Chapter
1666 \begin_inset Index idx
1669 \begin_layout Plain Layout
1678 \begin_layout Section
1680 \begin_inset Index idx
1683 \begin_layout Plain Layout
1684 Table ! Introduction
1692 \begin_layout Standard
1693 You can insert a table using either the toolbar button
1696 arg "tabular-insert"
1701 Insert\SpecialChar menuseparator
1705 The toolbar button offers you a graphical selection: move the mouse to
1706 set the column/row number of the table that should be created and then
1707 press a mouse button.
1708 When you use the menu to create a table, a dialog will appear, asking you
1709 for the number of rows and columns
1710 \change_inserted -712698321 1554289643
1711 , and you can select a specific (border) style
1714 \change_deleted -712698321 1554289644
1716 \begin_inset Newline newline
1720 \change_inserted -712698321 1554289645
1724 \begin_layout Standard
1725 The default table has lines around any cell and the first row appears separated
1726 from the rest of the table.
1727 This separation occurs due to a double line: The cells of the first row
1728 have a line below them and the cells of the second row have a line above
1730 Here is an example table:
1733 \begin_layout Standard
1735 \begin_inset Tabular
1736 <lyxtabular version="3" rows="4" columns="4">
1737 <features tabularvalignment="middle">
1738 <column alignment="center" valignment="top">
1739 <column alignment="center" valignment="top">
1740 <column alignment="center" valignment="top">
1741 <column alignment="center" valignment="top">
1743 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1746 \begin_layout Plain Layout
1752 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1755 \begin_layout Plain Layout
1770 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1773 \begin_layout Plain Layout
1779 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1782 \begin_layout Plain Layout
1790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1793 \begin_layout Plain Layout
1808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1811 \begin_layout Plain Layout
1817 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1820 \begin_layout Plain Layout
1826 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1829 \begin_layout Plain Layout
1837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1840 \begin_layout Plain Layout
1855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1858 \begin_layout Plain Layout
1864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1867 \begin_layout Plain Layout
1873 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1876 \begin_layout Plain Layout
1884 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1887 \begin_layout Plain Layout
1902 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1905 \begin_layout Plain Layout
1911 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1914 \begin_layout Plain Layout
1920 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1923 \begin_layout Plain Layout
1937 \begin_layout Standard
1939 \change_inserted -712698321 1554289664
1940 This corresponds to the
1941 \begin_inset Quotes eld
1945 \begin_inset Quotes erd
1948 table style listed in the style selection.
1951 \begin_layout Standard
1953 \change_inserted -712698321 1554289664
1954 Other available styles include:
1957 \begin_layout Itemize
1959 \change_inserted -712698321 1554289664
1961 \begin_inset Quotes eld
1965 \begin_inset Quotes erd
1968 which looks line the above table, but without the first row being separated
1972 \begin_layout Itemize
1974 \change_inserted -712698321 1554289664
1975 a border-less table with no lines at all,
1978 \begin_layout Itemize
1980 \change_inserted -712698321 1554289664
1982 \begin_inset Quotes eld
1986 \begin_inset Quotes erd
1989 as often used in professional publishing with horizontal lines only and
1990 bold top/bottom lines (see
2001 \begin_layout Standard
2003 \change_inserted -712698321 1554289664
2004 The default style used in the dialog as well as the style used by the toolbar
2005 button can be changed in
2007 Document\SpecialChar menuseparator
2008 Settings\SpecialChar menuseparator
2012 So if the default style above is not the one you need, you should alter
2016 \begin_layout Section
2018 \begin_inset Index idx
2021 \begin_layout Plain Layout
2030 \begin_layout Standard
2031 You can alter a table by clicking on it with the right mouse button, which
2032 brings up the context menu.
2033 Under the menu entry
2037 you can adjust the settings of that cell and row/column respectively where
2038 the cursor is currently placed.
2041 More\SpecialChar menuseparator
2044 opens the table dialog where you can adjust more things.
2045 Most of the dialog options also work on selections.
2046 This means if you select more cells, columns or rows, the action is done
2047 for the whole selection.
2048 Note that there is a difference between selecting the
2052 of the cell, and the cell itself.
2053 \begin_inset Newline newline
2056 With the dialog option
2059 \begin_inset space ~
2064 every change you make in the dialog is directly applied.
2065 If you move the cursor to another table cell the dialog will then also
2066 be updated with the parameters of the new cell.
2067 If you change length values in the dialog you must press
2071 to get the change applied.
2072 \begin_inset Newline newline
2075 You can alter tables with the following tabs of the table dialog:
2078 \begin_layout Description
2080 \begin_inset space ~
2083 Settings Here you can set the table width
2084 \begin_inset Index idx
2087 \begin_layout Plain Layout
2093 , and the horizontal alignment and the width of the current column.
2097 \begin_inset space ~
2101 \begin_inset space ~
2106 is described in section
2107 \begin_inset space ~
2111 \begin_inset CommandInset ref
2113 reference "subsec:Special-Cell-Alignment"
2118 When you have set a width you can also adjust the vertical alignment of
2120 A given width will allow the cell to have line breaks and multiple paragraphs
2122 \begin_inset space \thinspace{}
2126 \begin_inset CommandInset ref
2128 reference "subsec:Multiple-Lines-in"
2133 If you set no width, the column is as wide as the content of its widest
2135 \begin_inset Newline newline
2138 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2140 \begin_inset space \thinspace{}
2144 \begin_inset CommandInset ref
2146 reference "subsec:Multicolumns"
2150 or the cells of one column as multirow cell, see sec.
2151 \begin_inset space \thinspace{}
2155 \begin_inset CommandInset ref
2157 reference "subsec:Multirows"
2162 \begin_inset Newline newline
2165 The rotate check boxes rotate the current cell, a selection, or the whole
2166 table counter-clockwise by 90
2167 \begin_inset space \thinspace{}
2171 The rotation is not shown within \SpecialChar LyX
2172 , only in the output.
2173 For more information see sec.
2174 \begin_inset space \thinspace{}
2178 \begin_inset CommandInset ref
2180 reference "sec:Rotated-Table-Cells"
2185 \begin_inset Newline newline
2189 \begin_inset Note Greyedout
2192 \begin_layout Plain Layout
2197 Not all DVI-viewers are able to display rotations.
2203 \begin_inset Newline newline
2206 The table-wide vertical alignment is used for tables within text lines:
2207 \begin_inset Newline newline
2210 A line with tables with different alignments:
2211 \begin_inset Tabular
2212 <lyxtabular version="3" rows="2" columns="2">
2213 <features tabularvalignment="top">
2214 <column alignment="center" valignment="top" width="0pt">
2215 <column alignment="center" valignment="top">
2217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2220 \begin_layout Plain Layout
2226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2229 \begin_layout Plain Layout
2246 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2249 \begin_layout Plain Layout
2264 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2267 \begin_layout Plain Layout
2279 \begin_inset Tabular
2280 <lyxtabular version="3" rows="2" columns="2">
2281 <features tabularvalignment="middle">
2282 <column alignment="center" valignment="top">
2283 <column alignment="center" valignment="top">
2285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2288 \begin_layout Plain Layout
2294 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2297 \begin_layout Plain Layout
2314 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2317 \begin_layout Plain Layout
2332 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2335 \begin_layout Plain Layout
2347 \begin_inset Tabular
2348 <lyxtabular version="3" rows="2" columns="2">
2349 <features tabularvalignment="bottom">
2350 <column alignment="center" valignment="top" width="0pt">
2351 <column alignment="center" valignment="top">
2353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2356 \begin_layout Plain Layout
2362 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2365 \begin_layout Plain Layout
2382 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2385 \begin_layout Plain Layout
2400 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2403 \begin_layout Plain Layout
2415 \begin_inset Newline newline
2418 It is also possible to enter a \SpecialChar LaTeX
2419 -argument which is needed for special table
2420 formattings, see sec.
2421 \begin_inset space \thinspace{}
2425 \begin_inset CommandInset ref
2427 reference "subsec:Multicolumn-Calculations"
2432 \begin_inset CommandInset ref
2434 reference "sec:Colored-Tables"
2441 \begin_layout Description
2442 Borders In this tab you can add and delete border lines for the current
2444 \begin_inset Newline newline
2447 Using the style option
2451 will convert the table to a formal table as described in sec.
2452 \begin_inset space \thinspace{}
2456 \begin_inset CommandInset ref
2458 reference "sec:Formal-Tables"
2463 \begin_inset Newline newline
2466 You can also add space here to table rows as described in sec.
2467 \begin_inset space \thinspace{}
2471 \begin_inset CommandInset ref
2473 reference "subsec:Row-Spacing"
2480 \begin_layout Description
2482 \begin_inset space ~
2485 table This tab is to make a table a multi-page table that can run over several
2488 \begin_inset space ~
2492 \begin_inset CommandInset ref
2494 reference "sec:Multi-page-Tables"
2499 \begin_inset CommandInset ref
2501 reference "sec:Special-Longtable-Issues"
2505 describe the multi-page table features in detail.
2508 \begin_layout Section
2510 \begin_inset Index idx
2513 \begin_layout Plain Layout
2522 \begin_layout Standard
2523 The table toolbar is an alternative to the table dialog to be able to alter
2525 It should normally appear at the bottom of \SpecialChar LyX
2526 's main window when the cursor
2528 You can alternatively switch it on to appear always, by right-clicking
2533 \begin_layout Standard
2534 The toolbar has the following icons:
2537 \begin_layout Labeling
2538 \labelwidthstring 00.00.0000
2541 arg "tabular-feature append-row"
2544 adds a row below the current cell or selection
2547 \begin_layout Labeling
2548 \labelwidthstring 00.00.0000
2551 arg "tabular-feature append-column"
2554 adds a column right beside the current cell or selection
2557 \begin_layout Labeling
2558 \labelwidthstring 00.00.0000
2561 arg "tabular-feature delete-row"
2564 deletes the current row or selection
2567 \begin_layout Labeling
2568 \labelwidthstring 00.00.0000
2571 arg "tabular-feature delete-column"
2574 deletes the current column or selection
2577 \begin_layout Labeling
2578 \labelwidthstring 00.00.0000
2581 arg "tabular-feature move-row-up"
2587 \begin_layout Labeling
2588 \labelwidthstring 00.00.0000
2591 arg "tabular-feature move-column-left"
2594 moves the column to the left
2597 \begin_layout Labeling
2598 \labelwidthstring 00.00.0000
2601 arg "tabular-feature move-row-down"
2607 \begin_layout Labeling
2608 \labelwidthstring 00.00.0000
2611 arg "tabular-feature move-column-right"
2614 moves the column to the right
2617 \begin_layout Labeling
2618 \labelwidthstring 00.00.0000
2621 arg "tabular-feature toggle-line-top"
2624 adds a line at the top of the current cell / row or of a selection
2627 \begin_layout Labeling
2628 \labelwidthstring 00.00.0000
2631 arg "tabular-feature toggle-line-bottom"
2634 adds a line at the bottom of the current cell / row or of a selection
2637 \begin_layout Labeling
2638 \labelwidthstring 00.00.0000
2641 arg "tabular-feature toggle-line-left"
2644 adds a line at the left side of the current cell / row or of a selection
2647 \begin_layout Labeling
2648 \labelwidthstring 00.00.0000
2651 arg "tabular-feature toggle-line-right"
2654 adds a line at the right side of the current cell / row or of a selection
2655 \change_inserted -712698321 1554289731
2659 \begin_layout Labeling
2660 \labelwidthstring 00.00.0000
2662 \change_inserted -712698321 1554289910
2665 arg "tabular-feature set-border-lines"
2668 adds a border around the currently selected cells
2673 \begin_layout Labeling
2674 \labelwidthstring 00.00.0000
2677 arg "tabular-feature set-all-lines"
2680 adds lines around the current or selected cells - if the current cell is
2681 not a multicolumn cell this also affects the current row and column
2684 \begin_layout Labeling
2685 \labelwidthstring 00.00.0000
2688 arg "tabular-feature unset-all-lines"
2691 deletes all lines of the current or selected cells - if the current cell
2692 is not a multicolumn cell this also affects the current row and column
2693 \change_inserted -712698321 1554289920
2697 \begin_layout Labeling
2698 \labelwidthstring 00.00.0000
2700 \change_inserted -712698321 1554292586
2703 arg "tabular-feature reset-formal-default"
2706 If using a formal table, this resets the border to its default (only horizontal
2707 lines in top and bottom rows)
2712 \begin_layout Labeling
2713 \labelwidthstring 00.00.0000
2716 arg "tabular-feature m-align-left"
2719 left-aligns the content of the current cell / column
2722 \begin_layout Labeling
2723 \labelwidthstring 00.00.0000
2726 arg "tabular-feature m-align-center"
2729 centers the content of the current cell / column horizontally
2732 \begin_layout Labeling
2733 \labelwidthstring 00.00.0000
2736 arg "tabular-feature m-align-right"
2739 right-aligns the content of the current cell / column
2742 \begin_layout Labeling
2743 \labelwidthstring 00.00.0000
2746 arg "tabular-feature align-decimal"
2749 aligns the content of the current column at a character
2752 \begin_layout Labeling
2753 \labelwidthstring 00.00.0000
2756 arg "tabular-feature m-valign-top"
2759 aligns the content of the current cell vertically to the top
2762 \begin_layout Labeling
2763 \labelwidthstring 00.00.0000
2766 arg "tabular-feature m-valign-middle"
2769 centers the content of the current cell vertically
2772 \begin_layout Labeling
2773 \labelwidthstring 00.00.0000
2776 arg "tabular-feature m-valign-bottom"
2779 aligns the content of the current cell vertically to the bottom
2782 \begin_layout Labeling
2783 \labelwidthstring 00.00.0000
2786 arg "tabular-feature set-rotate-cell"
2789 rotates the current cell or selection counter-clockwise by 90°
2792 \begin_layout Labeling
2793 \labelwidthstring 00.00.0000
2796 arg "tabular-feature set-rotate-tabular"
2799 rotates the whole table counter-clockwise by 90°
2802 \begin_layout Labeling
2803 \labelwidthstring 00.00.0000
2806 arg "tabular-feature multicolumn"
2809 sets the current cell or selection as a multicolumn
2812 \begin_layout Labeling
2813 \labelwidthstring 00.00.0000
2816 arg "tabular-feature multirow"
2819 sets the current cell or selection as a multirow
2822 \begin_layout Standard
2823 \begin_inset Note Greyedout
2826 \begin_layout Plain Layout
2831 For the output the vertical alignment of the first cell in a row is used
2832 for all following cells in the row.
2840 \begin_layout Section
2842 \begin_inset Index idx
2845 \begin_layout Plain Layout
2854 \begin_layout Standard
2855 In addition to the table dialog and toolbar, the menu
2857 Edit\SpecialChar menuseparator
2860 allows you to add and delete border lines for the current row/column and
2861 to set the current selection as multicolumn.
2862 The menu is only available when the cursor is inside a table.
2865 \begin_layout Section
2867 \begin_inset CommandInset label
2869 name "sec:Table-Floats"
2874 \begin_inset Index idx
2877 \begin_layout Plain Layout
2884 \begin_inset Index idx
2887 \begin_layout Plain Layout
2896 \begin_layout Standard
2897 For general explanations about floats, have a look at section
2898 \begin_inset space ~
2902 \begin_inset CommandInset ref
2904 reference "sec:FloatIntroduction"
2911 \begin_layout Standard
2912 \begin_inset Float table
2919 \begin_layout Plain Layout
2920 \begin_inset Caption Standard
2922 \begin_layout Plain Layout
2923 \begin_inset CommandInset label
2925 name "tab:a table float"
2937 \begin_layout Plain Layout
2939 \begin_inset Tabular
2940 <lyxtabular version="3" rows="3" columns="3">
2941 <features tabularvalignment="middle">
2942 <column alignment="center" valignment="top" width="0pt">
2943 <column alignment="center" valignment="top" width="0pt">
2944 <column alignment="center" valignment="top" width="0pt">
2946 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2949 \begin_layout Plain Layout
2964 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2967 \begin_layout Plain Layout
2982 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2985 \begin_layout Plain Layout
3002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3005 \begin_layout Plain Layout
3020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3023 \begin_layout Plain Layout
3038 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3041 \begin_layout Plain Layout
3058 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3061 \begin_layout Plain Layout
3071 \begin_inset Formula $\int x^{2}dx$
3079 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3082 \begin_layout Plain Layout
3092 \begin_inset Formula $\left[\begin{array}{cc}
3103 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3106 \begin_layout Plain Layout
3116 \begin_inset Formula $1+1=2$
3137 \begin_layout Standard
3138 Table floats can be inserted using the menu
3140 Insert\SpecialChar menuseparator
3141 Float\SpecialChar menuseparator
3144 or the toolbar button
3147 arg "float-insert table"
3153 \begin_layout Standard
3154 The float appears as a collapsible box with a caption that has the label
3156 \begin_inset Quotes eld
3160 \begin_inset space ~
3164 \begin_inset Quotes erd
3167 (# is the actual table number).
3168 You can insert tables in the float above or below the caption.
3171 \begin_layout Standard
3173 \begin_inset space ~
3177 \begin_inset CommandInset ref
3179 reference "tab:a table float"
3183 is an example table within a table float.
3186 \begin_layout Standard
3187 Having the caption above the table is the common rule that is unfortunately
3188 not supported in \SpecialChar LaTeX
3189 's standard classes.
3190 This means that, if you are using the document classes
3206 , there will be no space between the caption and the table.
3207 To insert the needed space, add the following option to the load command
3208 of the \SpecialChar LaTeX
3214 \begin_inset Index idx
3217 \begin_layout Plain Layout
3224 in your document preamble:
3228 \begin_layout Plain Layout
3229 For more information have a look at section
3230 \begin_inset space ~
3234 \begin_inset CommandInset ref
3236 reference "sec:Caption-Placement"
3248 \begin_layout Standard
3254 \begin_layout Standard
3259 , which is described in section
3260 \begin_inset space ~
3264 \begin_inset CommandInset ref
3266 reference "sec:Caption-Formatting"
3270 , is used to adjust the caption format.
3273 \begin_layout Standard
3274 \begin_inset Index idx
3277 \begin_layout Plain Layout
3278 References ! to Tables
3283 Tables can be cross-referenced in the text by referencing their label.
3284 To do this insert a label in the caption using the menu
3286 Insert\SpecialChar menuseparator
3289 or the toolbar button
3296 You can now refer to the label using the menu
3298 Insert\SpecialChar menuseparator
3300 \begin_inset space ~
3305 or the toolbar button
3308 arg "dialog-show-new-inset ref"
3312 \begin_inset Newline newline
3315 Referencing is explained in detail in section
3316 \begin_inset space ~
3320 \begin_inset CommandInset ref
3322 reference "sec:Referencing-Floats"
3329 \begin_layout Section
3335 \begin_inset CommandInset label
3337 name "sec:Multi-page-Tables"
3342 \begin_inset Index idx
3345 \begin_layout Plain Layout
3352 \begin_inset Index idx
3355 \begin_layout Plain Layout
3356 Table ! Multi-page Table
3364 \begin_layout Standard
3365 If the table is too long to fit on one page, you can use the option
3368 \begin_inset space ~
3376 \begin_inset space ~
3381 of the table dialog to split the table automatically over more pages.
3382 Doing this enables the following options:
3385 \begin_layout Description
3386 Header: The current row is defined to be a header row that appears on all
3387 pages of the multi-page table; except for the first page, if
3390 \begin_inset space ~
3396 This is therefore called the main header.
3399 \begin_layout Description
3401 \begin_inset space ~
3404 header: The current row is defined to be a header row that appears on the
3405 first page of the multi-page table.
3408 \begin_layout Description
3409 Footer: The current row is defined to be a footer row that appears on all
3410 pages of the multi-page table; except for the last page, if
3413 \begin_inset space ~
3421 \begin_layout Description
3423 \begin_inset space ~
3426 footer: The current row is defined to be a footer row that appears on the
3427 last page of the multi-page table.
3430 \begin_layout Description
3431 Caption: The current row contains the table caption.
3432 The row is reset as single column and a caption is inserted.
3433 More about multi-page table captions is explained in sec.
3434 \begin_inset space \thinspace{}
3438 \begin_inset CommandInset ref
3440 reference "subsec:Multi-page-Table-Captions"
3447 \begin_layout Standard
3448 You can also specify a row where the table is split.
3449 See the following multi-page table to see how it works:
3452 \begin_layout Standard
3454 \begin_inset Tabular
3455 <lyxtabular version="3" rows="69" columns="3">
3456 <features islongtable="true" longtabularalignment="center">
3457 <column alignment="left" valignment="top" width="0cm">
3458 <column alignment="left" valignment="top" width="0pt">
3459 <column alignment="center" valignment="top" width="0pt">
3460 <row endfirsthead="true">
3461 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3464 \begin_layout Plain Layout
3467 Example Phone List (ignore the names)
3472 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3475 \begin_layout Plain Layout
3481 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3484 \begin_layout Plain Layout
3491 <row endfirsthead="true">
3492 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3495 \begin_layout Plain Layout
3503 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3506 \begin_layout Plain Layout
3512 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3515 \begin_layout Plain Layout
3524 <row endhead="true">
3525 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3528 \begin_layout Plain Layout
3536 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3539 \begin_layout Plain Layout
3545 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3548 \begin_layout Plain Layout
3555 <row endhead="true">
3556 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3559 \begin_layout Plain Layout
3567 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3570 \begin_layout Plain Layout
3576 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3579 \begin_layout Plain Layout
3588 <row endfoot="true">
3589 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3592 \begin_layout Plain Layout
3593 continued on next page
3598 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3601 \begin_layout Plain Layout
3607 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3610 \begin_layout Plain Layout
3618 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3621 \begin_layout Plain Layout
3629 <cell alignment="center" valignment="top" usebox="none">
3632 \begin_layout Plain Layout
3638 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3641 \begin_layout Plain Layout
3649 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3652 \begin_layout Plain Layout
3660 <cell alignment="center" valignment="top" usebox="none">
3663 \begin_layout Plain Layout
3669 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3672 \begin_layout Plain Layout
3680 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3683 \begin_layout Plain Layout
3691 <cell alignment="center" valignment="top" usebox="none">
3694 \begin_layout Plain Layout
3700 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3703 \begin_layout Plain Layout
3711 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3714 \begin_layout Plain Layout
3722 <cell alignment="center" valignment="top" usebox="none">
3725 \begin_layout Plain Layout
3731 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3734 \begin_layout Plain Layout
3742 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3745 \begin_layout Plain Layout
3753 <cell alignment="center" valignment="top" usebox="none">
3756 \begin_layout Plain Layout
3762 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3765 \begin_layout Plain Layout
3773 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3776 \begin_layout Plain Layout
3784 <cell alignment="center" valignment="top" usebox="none">
3787 \begin_layout Plain Layout
3793 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3796 \begin_layout Plain Layout
3804 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3807 \begin_layout Plain Layout
3815 <cell alignment="center" valignment="top" usebox="none">
3818 \begin_layout Plain Layout
3824 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3827 \begin_layout Plain Layout
3835 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3838 \begin_layout Plain Layout
3846 <cell alignment="center" valignment="top" usebox="none">
3849 \begin_layout Plain Layout
3855 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3858 \begin_layout Plain Layout
3866 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3869 \begin_layout Plain Layout
3877 <cell alignment="center" valignment="top" usebox="none">
3880 \begin_layout Plain Layout
3886 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3889 \begin_layout Plain Layout
3897 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3900 \begin_layout Plain Layout
3908 <cell alignment="center" valignment="top" usebox="none">
3911 \begin_layout Plain Layout
3917 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3920 \begin_layout Plain Layout
3928 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3931 \begin_layout Plain Layout
3939 <cell alignment="center" valignment="top" usebox="none">
3942 \begin_layout Plain Layout
3948 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3951 \begin_layout Plain Layout
3959 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3962 \begin_layout Plain Layout
3970 <cell alignment="center" valignment="top" usebox="none">
3973 \begin_layout Plain Layout
3979 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3982 \begin_layout Plain Layout
3990 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3993 \begin_layout Plain Layout
4001 <cell alignment="center" valignment="top" usebox="none">
4004 \begin_layout Plain Layout
4010 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4013 \begin_layout Plain Layout
4021 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4024 \begin_layout Plain Layout
4032 <cell alignment="center" valignment="top" usebox="none">
4035 \begin_layout Plain Layout
4041 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4044 \begin_layout Plain Layout
4052 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4055 \begin_layout Plain Layout
4063 <cell alignment="center" valignment="top" usebox="none">
4066 \begin_layout Plain Layout
4072 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4075 \begin_layout Plain Layout
4083 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4086 \begin_layout Plain Layout
4094 <cell alignment="center" valignment="top" usebox="none">
4097 \begin_layout Plain Layout
4103 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4106 \begin_layout Plain Layout
4114 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4117 \begin_layout Plain Layout
4125 <cell alignment="center" valignment="top" usebox="none">
4128 \begin_layout Plain Layout
4134 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4137 \begin_layout Plain Layout
4145 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4148 \begin_layout Plain Layout
4156 <cell alignment="center" valignment="top" usebox="none">
4159 \begin_layout Plain Layout
4165 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4168 \begin_layout Plain Layout
4176 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4179 \begin_layout Plain Layout
4187 <cell alignment="center" valignment="top" usebox="none">
4190 \begin_layout Plain Layout
4196 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4199 \begin_layout Plain Layout
4207 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4210 \begin_layout Plain Layout
4218 <cell alignment="center" valignment="top" usebox="none">
4221 \begin_layout Plain Layout
4227 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4230 \begin_layout Plain Layout
4238 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4241 \begin_layout Plain Layout
4249 <cell alignment="center" valignment="top" usebox="none">
4252 \begin_layout Plain Layout
4258 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4261 \begin_layout Plain Layout
4269 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4272 \begin_layout Plain Layout
4280 <cell alignment="center" valignment="top" usebox="none">
4283 \begin_layout Plain Layout
4289 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4292 \begin_layout Plain Layout
4300 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4303 \begin_layout Plain Layout
4311 <cell alignment="center" valignment="top" usebox="none">
4314 \begin_layout Plain Layout
4320 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4323 \begin_layout Plain Layout
4331 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4334 \begin_layout Plain Layout
4342 <cell alignment="center" valignment="top" usebox="none">
4345 \begin_layout Plain Layout
4351 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4354 \begin_layout Plain Layout
4362 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4365 \begin_layout Plain Layout
4373 <cell alignment="center" valignment="top" usebox="none">
4376 \begin_layout Plain Layout
4382 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4385 \begin_layout Plain Layout
4393 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4396 \begin_layout Plain Layout
4404 <cell alignment="center" valignment="top" usebox="none">
4407 \begin_layout Plain Layout
4413 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4416 \begin_layout Plain Layout
4424 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4427 \begin_layout Plain Layout
4435 <cell alignment="center" valignment="top" usebox="none">
4438 \begin_layout Plain Layout
4444 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4447 \begin_layout Plain Layout
4455 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4458 \begin_layout Plain Layout
4466 <cell alignment="center" valignment="top" usebox="none">
4469 \begin_layout Plain Layout
4475 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4478 \begin_layout Plain Layout
4486 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4489 \begin_layout Plain Layout
4497 <cell alignment="center" valignment="top" usebox="none">
4500 \begin_layout Plain Layout
4506 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4509 \begin_layout Plain Layout
4517 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4520 \begin_layout Plain Layout
4528 <cell alignment="center" valignment="top" usebox="none">
4531 \begin_layout Plain Layout
4537 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4540 \begin_layout Plain Layout
4548 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4551 \begin_layout Plain Layout
4559 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4562 \begin_layout Plain Layout
4568 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4571 \begin_layout Plain Layout
4579 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4582 \begin_layout Plain Layout
4588 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4591 \begin_layout Plain Layout
4597 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4600 \begin_layout Plain Layout
4608 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4611 \begin_layout Plain Layout
4619 <cell alignment="center" valignment="top" usebox="none">
4622 \begin_layout Plain Layout
4628 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4631 \begin_layout Plain Layout
4639 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4642 \begin_layout Plain Layout
4650 <cell alignment="center" valignment="top" usebox="none">
4653 \begin_layout Plain Layout
4659 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4662 \begin_layout Plain Layout
4670 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4673 \begin_layout Plain Layout
4681 <cell alignment="center" valignment="top" usebox="none">
4684 \begin_layout Plain Layout
4690 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4693 \begin_layout Plain Layout
4701 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4704 \begin_layout Plain Layout
4712 <cell alignment="center" valignment="top" usebox="none">
4715 \begin_layout Plain Layout
4721 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4724 \begin_layout Plain Layout
4732 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4735 \begin_layout Plain Layout
4743 <cell alignment="center" valignment="top" usebox="none">
4746 \begin_layout Plain Layout
4752 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4755 \begin_layout Plain Layout
4763 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4766 \begin_layout Plain Layout
4774 <cell alignment="center" valignment="top" usebox="none">
4777 \begin_layout Plain Layout
4783 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4786 \begin_layout Plain Layout
4794 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4797 \begin_layout Plain Layout
4805 <cell alignment="center" valignment="top" usebox="none">
4808 \begin_layout Plain Layout
4814 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4817 \begin_layout Plain Layout
4825 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4828 \begin_layout Plain Layout
4836 <cell alignment="center" valignment="top" usebox="none">
4839 \begin_layout Plain Layout
4845 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4848 \begin_layout Plain Layout
4856 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4859 \begin_layout Plain Layout
4867 <cell alignment="center" valignment="top" usebox="none">
4870 \begin_layout Plain Layout
4876 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4879 \begin_layout Plain Layout
4887 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4890 \begin_layout Plain Layout
4898 <cell alignment="center" valignment="top" usebox="none">
4901 \begin_layout Plain Layout
4907 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4910 \begin_layout Plain Layout
4918 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4921 \begin_layout Plain Layout
4929 <cell alignment="center" valignment="top" usebox="none">
4932 \begin_layout Plain Layout
4938 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4941 \begin_layout Plain Layout
4949 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4952 \begin_layout Plain Layout
4960 <cell alignment="center" valignment="top" usebox="none">
4963 \begin_layout Plain Layout
4969 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4972 \begin_layout Plain Layout
4980 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4983 \begin_layout Plain Layout
4991 <cell alignment="center" valignment="top" usebox="none">
4994 \begin_layout Plain Layout
5000 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5003 \begin_layout Plain Layout
5011 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5014 \begin_layout Plain Layout
5022 <cell alignment="center" valignment="top" usebox="none">
5025 \begin_layout Plain Layout
5031 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5034 \begin_layout Plain Layout
5042 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5045 \begin_layout Plain Layout
5053 <cell alignment="center" valignment="top" usebox="none">
5056 \begin_layout Plain Layout
5062 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5065 \begin_layout Plain Layout
5073 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5076 \begin_layout Plain Layout
5084 <cell alignment="center" valignment="top" usebox="none">
5087 \begin_layout Plain Layout
5093 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5096 \begin_layout Plain Layout
5104 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5107 \begin_layout Plain Layout
5115 <cell alignment="center" valignment="top" usebox="none">
5118 \begin_layout Plain Layout
5124 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5127 \begin_layout Plain Layout
5135 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5138 \begin_layout Plain Layout
5146 <cell alignment="center" valignment="top" usebox="none">
5149 \begin_layout Plain Layout
5155 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5158 \begin_layout Plain Layout
5166 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5169 \begin_layout Plain Layout
5177 <cell alignment="center" valignment="top" usebox="none">
5180 \begin_layout Plain Layout
5186 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5189 \begin_layout Plain Layout
5197 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5200 \begin_layout Plain Layout
5208 <cell alignment="center" valignment="top" usebox="none">
5211 \begin_layout Plain Layout
5217 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5220 \begin_layout Plain Layout
5228 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5231 \begin_layout Plain Layout
5239 <cell alignment="center" valignment="top" usebox="none">
5242 \begin_layout Plain Layout
5248 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5251 \begin_layout Plain Layout
5259 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5262 \begin_layout Plain Layout
5270 <cell alignment="center" valignment="top" usebox="none">
5273 \begin_layout Plain Layout
5279 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5282 \begin_layout Plain Layout
5290 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5293 \begin_layout Plain Layout
5301 <cell alignment="center" valignment="top" usebox="none">
5304 \begin_layout Plain Layout
5310 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5313 \begin_layout Plain Layout
5321 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5324 \begin_layout Plain Layout
5332 <cell alignment="center" valignment="top" usebox="none">
5335 \begin_layout Plain Layout
5341 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5344 \begin_layout Plain Layout
5352 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5355 \begin_layout Plain Layout
5363 <cell alignment="center" valignment="top" usebox="none">
5366 \begin_layout Plain Layout
5372 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5375 \begin_layout Plain Layout
5383 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5386 \begin_layout Plain Layout
5394 <cell alignment="center" valignment="top" usebox="none">
5397 \begin_layout Plain Layout
5403 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5406 \begin_layout Plain Layout
5414 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5417 \begin_layout Plain Layout
5425 <cell alignment="center" valignment="top" usebox="none">
5428 \begin_layout Plain Layout
5434 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5437 \begin_layout Plain Layout
5445 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5448 \begin_layout Plain Layout
5456 <cell alignment="center" valignment="top" usebox="none">
5459 \begin_layout Plain Layout
5465 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5468 \begin_layout Plain Layout
5476 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5479 \begin_layout Plain Layout
5487 <cell alignment="center" valignment="top" usebox="none">
5490 \begin_layout Plain Layout
5496 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5499 \begin_layout Plain Layout
5507 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5510 \begin_layout Plain Layout
5518 <cell alignment="center" valignment="top" usebox="none">
5521 \begin_layout Plain Layout
5527 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5530 \begin_layout Plain Layout
5538 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5541 \begin_layout Plain Layout
5549 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5552 \begin_layout Plain Layout
5558 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5561 \begin_layout Plain Layout
5568 <row endlastfoot="true">
5569 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5572 \begin_layout Plain Layout
5578 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5581 \begin_layout Plain Layout
5587 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5590 \begin_layout Plain Layout
5605 \begin_layout Plain Layout
5609 addtocounter{table}{-1}
5615 \begin_inset Note Note
5618 \begin_layout Plain Layout
5619 See the first greyed-out note in section
5620 \begin_inset space ~
5624 \begin_inset CommandInset ref
5626 reference "subsec:Multi-page-Table-Captions"
5630 for an explanation of this command.
5638 \begin_layout Subsection
5639 Footnotes in Multi-page tables
5640 \begin_inset CommandInset label
5642 name "subsec:Footnotes-in-Multi-page"
5647 \begin_inset Index idx
5650 \begin_layout Plain Layout
5651 Table ! Multi-page Table ! Footnotes
5659 \begin_layout Standard
5660 Footnotes can be inserted to every Multi-page table cell.
5661 They appear at the bottom of the page where the table cell with the footnote
5664 \begin_inset space ~
5668 \begin_inset CommandInset ref
5670 reference "tab:DiffCaptions"
5674 has for example a footnote.
5677 \begin_layout Subsection
5678 Multi-page Table Alignment
5679 \begin_inset Index idx
5682 \begin_layout Plain Layout
5683 Table ! Multi-page Table ! Alignment
5691 \begin_layout Standard
5692 The horizontal alignment of multi-page tables can be set in the table settings
5694 For left- and right-alignment the table will be directly at the page border.
5695 To add space between the table and the border one has to set the alignment
5696 to center and change the value of the \SpecialChar LaTeX
5709 by inserting this line as \SpecialChar TeX
5710 Code before the multi-page table:
5713 \begin_layout Standard
5723 \begin_layout Standard
5724 The value can have any of the units listed in Table
5725 \begin_inset space ~
5729 \begin_inset CommandInset ref
5731 reference "tab:Units"
5742 controls the horizontal distance from the left page border to the multi-page
5749 the distance from the right side.
5750 The default value for both lengths is
5756 , which is in this case the same as an horizontal fill in \SpecialChar LyX
5760 \begin_layout Standard
5761 The following multi-page table was centered and
5777 \begin_layout Plain Layout
5793 \begin_layout Standard
5794 \begin_inset Tabular
5795 <lyxtabular version="3" rows="5" columns="5">
5796 <features islongtable="true" longtabularalignment="center">
5797 <column alignment="center" valignment="top">
5798 <column alignment="center" valignment="top" width="0pt">
5799 <column alignment="center" valignment="top">
5800 <column alignment="center" valignment="top">
5801 <column alignment="center" valignment="top">
5803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5806 \begin_layout Plain Layout
5812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5815 \begin_layout Plain Layout
5821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5824 \begin_layout Plain Layout
5830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5833 \begin_layout Plain Layout
5839 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5842 \begin_layout Plain Layout
5850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5853 \begin_layout Plain Layout
5859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5862 \begin_layout Plain Layout
5868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5871 \begin_layout Plain Layout
5877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5880 \begin_layout Plain Layout
5886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5889 \begin_layout Plain Layout
5897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5900 \begin_layout Plain Layout
5906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5909 \begin_layout Plain Layout
5915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5918 \begin_layout Plain Layout
5924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5927 \begin_layout Plain Layout
5933 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5936 \begin_layout Plain Layout
5944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5947 \begin_layout Plain Layout
5953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5956 \begin_layout Plain Layout
5962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5965 \begin_layout Plain Layout
5971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5974 \begin_layout Plain Layout
5980 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5983 \begin_layout Plain Layout
5991 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5994 \begin_layout Plain Layout
6000 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6003 \begin_layout Plain Layout
6009 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6012 \begin_layout Plain Layout
6018 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6021 \begin_layout Plain Layout
6027 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6030 \begin_layout Plain Layout
6045 \begin_layout Plain Layout
6062 \begin_layout Plain Layout
6066 addtocounter{table}{-1}
6072 \begin_inset Note Note
6075 \begin_layout Plain Layout
6076 See the first greyed-out note in section
6077 \begin_inset space ~
6081 \begin_inset CommandInset ref
6083 reference "subsec:Multi-page-Table-Captions"
6087 for an explanation of this command.
6095 \begin_layout Subsection
6096 Multi-page Table Captions
6097 \begin_inset Index idx
6100 \begin_layout Plain Layout
6101 Table ! Multi-page Table ! Captions
6107 \begin_inset CommandInset label
6109 name "subsec:Multi-page-Table-Captions"
6116 \begin_layout Standard
6117 A multi-page table cannot be put into a table float because floats can only
6119 But the caption environment of floats can also be used for multi-page tables
6120 when you use the multi-page table option
6124 as described in sec.
6125 \begin_inset space \thinspace{}
6129 \begin_inset CommandInset ref
6131 reference "sec:Multi-page-Tables"
6136 Only one table row should contain a caption, either a header or a footer
6140 \begin_layout Standard
6141 Here is a short multi-page table to see how it works:
6144 \begin_layout Standard
6145 \begin_inset Tabular
6146 <lyxtabular version="3" rows="6" columns="5">
6147 <features islongtable="true" longtabularalignment="center">
6148 <column alignment="center" valignment="top">
6149 <column alignment="center" valignment="top">
6150 <column alignment="center" valignment="top">
6151 <column alignment="center" valignment="top">
6152 <column alignment="center" valignment="top">
6153 <row endfirsthead="true" caption="true">
6154 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6157 \begin_layout Plain Layout
6158 \begin_inset Caption Standard
6160 \begin_layout Plain Layout
6161 Multi-page table with caption
6162 \begin_inset Argument 1
6165 \begin_layout Plain Layout
6181 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6184 \begin_layout Plain Layout
6190 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6193 \begin_layout Plain Layout
6199 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6202 \begin_layout Plain Layout
6208 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6211 \begin_layout Plain Layout
6219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6222 \begin_layout Plain Layout
6228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6231 \begin_layout Plain Layout
6237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6240 \begin_layout Plain Layout
6246 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6249 \begin_layout Plain Layout
6255 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6258 \begin_layout Plain Layout
6266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6269 \begin_layout Plain Layout
6275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6278 \begin_layout Plain Layout
6284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6287 \begin_layout Plain Layout
6293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6296 \begin_layout Plain Layout
6302 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6305 \begin_layout Plain Layout
6313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6316 \begin_layout Plain Layout
6322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6325 \begin_layout Plain Layout
6331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6334 \begin_layout Plain Layout
6340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6343 \begin_layout Plain Layout
6349 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6352 \begin_layout Plain Layout
6360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6363 \begin_layout Plain Layout
6369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6372 \begin_layout Plain Layout
6378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6381 \begin_layout Plain Layout
6387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6390 \begin_layout Plain Layout
6396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6399 \begin_layout Plain Layout
6407 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6410 \begin_layout Plain Layout
6416 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6419 \begin_layout Plain Layout
6425 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6428 \begin_layout Plain Layout
6434 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6437 \begin_layout Plain Layout
6443 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6446 \begin_layout Plain Layout
6460 \begin_layout Standard
6461 \begin_inset VSpace medskip
6465 \begin_inset Note Greyedout
6468 \begin_layout Plain Layout
6472 \begin_inset space ~
6477 The table number is increased for every multi-page table, even if you did
6478 not set a caption for it.
6479 For this reason you could have the case that e.
6480 \begin_inset space \thinspace{}
6484 \begin_inset space \space{}
6488 \begin_inset space ~
6492 \begin_inset space ~
6495 2.1 in the list of tables if there are two multi-page tables without captions.
6496 To avoid this you can add the following command in \SpecialChar TeX
6497 Code after every multi-page
6498 table without a caption:
6501 \begin_layout Plain Layout
6506 addtocounter{table}{-1}
6509 \begin_layout Plain Layout
6510 This is not needed when none of your multi-page tables has a caption and
6511 you add the following code to the document preamble:
6514 \begin_layout Plain Layout
6524 \begin_inset Newline newline
6535 addtocounter{table}{-1}}
6543 \begin_layout Standard
6544 \begin_inset Note Greyedout
6547 \begin_layout Plain Layout
6551 \begin_inset space ~
6561 \begin_inset Index idx
6564 \begin_layout Plain Layout
6566 -packages ! hyperref
6579 dialog to link cross-references, the link to a multi-page table caption
6580 will always point to the beginning of the document.
6588 \begin_layout Subsubsection
6589 References to multi-page tables
6590 \begin_inset Index idx
6593 \begin_layout Plain Layout
6594 Table ! Multi-page Table ! References
6602 \begin_layout Standard
6603 \begin_inset Tabular
6604 <lyxtabular version="3" rows="6" columns="5">
6605 <features islongtable="true" longtabularalignment="center">
6606 <column alignment="center" valignment="top">
6607 <column alignment="center" valignment="top">
6608 <column alignment="center" valignment="top">
6609 <column alignment="center" valignment="top">
6610 <column alignment="center" valignment="top">
6611 <row endfirsthead="true" caption="true">
6612 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6615 \begin_layout Plain Layout
6616 \begin_inset Caption Standard
6618 \begin_layout Plain Layout
6619 Referenced multi-page table
6620 \begin_inset CommandInset label
6622 name "tab:Referenced-multi-page-table"
6636 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6639 \begin_layout Plain Layout
6645 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6648 \begin_layout Plain Layout
6654 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6657 \begin_layout Plain Layout
6663 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6666 \begin_layout Plain Layout
6674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6677 \begin_layout Plain Layout
6683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6686 \begin_layout Plain Layout
6692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6695 \begin_layout Plain Layout
6701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6704 \begin_layout Plain Layout
6710 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6713 \begin_layout Plain Layout
6721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6724 \begin_layout Plain Layout
6730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6733 \begin_layout Plain Layout
6739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6742 \begin_layout Plain Layout
6748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6751 \begin_layout Plain Layout
6757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6760 \begin_layout Plain Layout
6768 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6771 \begin_layout Plain Layout
6777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6780 \begin_layout Plain Layout
6786 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6789 \begin_layout Plain Layout
6795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6798 \begin_layout Plain Layout
6804 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6807 \begin_layout Plain Layout
6815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6818 \begin_layout Plain Layout
6824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6827 \begin_layout Plain Layout
6833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6836 \begin_layout Plain Layout
6842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6845 \begin_layout Plain Layout
6851 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6854 \begin_layout Plain Layout
6862 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6865 \begin_layout Plain Layout
6871 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6874 \begin_layout Plain Layout
6880 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6883 \begin_layout Plain Layout
6889 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6892 \begin_layout Plain Layout
6898 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6901 \begin_layout Plain Layout
6915 \begin_layout Standard
6916 To reference a multi-page table, insert a label into the caption.
6919 \begin_layout Standard
6920 This is a reference to Table
6921 \begin_inset space ~
6925 \begin_inset CommandInset ref
6927 reference "tab:Referenced-multi-page-table"
6934 \begin_layout Standard
6935 The caption layout can be set together with all other captions of your document
6936 using the \SpecialChar LaTeX
6942 \begin_inset Index idx
6945 \begin_layout Plain Layout
6953 \begin_inset space ~
6957 \begin_inset CommandInset ref
6959 reference "sec:Caption-Formatting"
6966 \begin_layout Subsubsection
6968 \begin_inset Index idx
6971 \begin_layout Plain Layout
6972 Table ! Multi-page Table ! Caption Width
6980 \begin_layout Standard
6981 The maximal width of caption lines is defined by the length
6988 Its default value is 4
6989 \begin_inset space \thinspace{}
6993 To change it add the following command to your document preamble or as
6995 Code into your document before the multi-page table that should be affected
6998 \begin_layout Standard
7008 \begin_layout Standard
7013 can have one of the units listed in appendix
7014 \begin_inset space ~
7018 \begin_inset CommandInset ref
7020 reference "cha:Units-available-in"
7027 \begin_layout Standard
7028 The following tables show the difference:
7031 \begin_layout Standard
7032 \begin_inset Tabular
7033 <lyxtabular version="3" rows="6" columns="5">
7034 <features islongtable="true" longtabularalignment="center">
7035 <column alignment="center" valignment="top">
7036 <column alignment="center" valignment="top">
7037 <column alignment="center" valignment="top">
7038 <column alignment="center" valignment="top">
7039 <column alignment="center" valignment="top">
7040 <row endfirsthead="true" caption="true">
7041 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7044 \begin_layout Plain Layout
7045 \begin_inset Caption Standard
7047 \begin_layout Plain Layout
7048 Long full title with default width long full title with default width long
7049 full title with default width
7050 \begin_inset Argument 1
7053 \begin_layout Plain Layout
7054 caption with default width
7069 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7072 \begin_layout Plain Layout
7078 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7081 \begin_layout Plain Layout
7087 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7090 \begin_layout Plain Layout
7096 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7099 \begin_layout Plain Layout
7107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7110 \begin_layout Plain Layout
7116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7119 \begin_layout Plain Layout
7125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7128 \begin_layout Plain Layout
7134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7137 \begin_layout Plain Layout
7143 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7146 \begin_layout Plain Layout
7154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7157 \begin_layout Plain Layout
7163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7166 \begin_layout Plain Layout
7172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7175 \begin_layout Plain Layout
7181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7184 \begin_layout Plain Layout
7190 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7193 \begin_layout Plain Layout
7201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7204 \begin_layout Plain Layout
7210 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7213 \begin_layout Plain Layout
7219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7222 \begin_layout Plain Layout
7228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7231 \begin_layout Plain Layout
7237 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7240 \begin_layout Plain Layout
7248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7251 \begin_layout Plain Layout
7257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7260 \begin_layout Plain Layout
7266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7269 \begin_layout Plain Layout
7275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7278 \begin_layout Plain Layout
7284 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7287 \begin_layout Plain Layout
7295 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7298 \begin_layout Plain Layout
7304 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7307 \begin_layout Plain Layout
7313 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7316 \begin_layout Plain Layout
7322 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7325 \begin_layout Plain Layout
7331 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7334 \begin_layout Plain Layout
7348 \begin_layout Standard
7352 \begin_layout Plain Layout
7364 \begin_inset Tabular
7365 <lyxtabular version="3" rows="6" columns="5">
7366 <features islongtable="true" longtabularalignment="center">
7367 <column alignment="center" valignment="top">
7368 <column alignment="center" valignment="top">
7369 <column alignment="center" valignment="top">
7370 <column alignment="center" valignment="top">
7371 <column alignment="center" valignment="top">
7372 <row endfirsthead="true" caption="true">
7373 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7376 \begin_layout Plain Layout
7377 \begin_inset Caption Standard
7379 \begin_layout Plain Layout
7380 Long full title with width set to 5
7381 \begin_inset space \thinspace{}
7384 cm long full title with width set to 5
7385 \begin_inset space \thinspace{}
7388 cm long full title with width set to 5
7389 \begin_inset space \thinspace{}
7393 \begin_inset Argument 1
7396 \begin_layout Plain Layout
7398 \begin_inset space \thinspace{}
7402 \begin_inset space \thinspace{}
7406 \begin_inset space \thinspace{}
7424 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7427 \begin_layout Plain Layout
7433 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7436 \begin_layout Plain Layout
7442 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7445 \begin_layout Plain Layout
7451 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7454 \begin_layout Plain Layout
7462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7465 \begin_layout Plain Layout
7471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7474 \begin_layout Plain Layout
7480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7483 \begin_layout Plain Layout
7489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7492 \begin_layout Plain Layout
7498 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7501 \begin_layout Plain Layout
7509 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7512 \begin_layout Plain Layout
7518 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7521 \begin_layout Plain Layout
7527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7530 \begin_layout Plain Layout
7536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7539 \begin_layout Plain Layout
7545 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7548 \begin_layout Plain Layout
7556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7559 \begin_layout Plain Layout
7565 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7568 \begin_layout Plain Layout
7574 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7577 \begin_layout Plain Layout
7583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7586 \begin_layout Plain Layout
7592 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7595 \begin_layout Plain Layout
7603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7606 \begin_layout Plain Layout
7612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7615 \begin_layout Plain Layout
7621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7624 \begin_layout Plain Layout
7630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7633 \begin_layout Plain Layout
7639 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7642 \begin_layout Plain Layout
7650 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7653 \begin_layout Plain Layout
7659 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7662 \begin_layout Plain Layout
7668 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7671 \begin_layout Plain Layout
7677 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7680 \begin_layout Plain Layout
7686 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7689 \begin_layout Plain Layout
7703 \begin_layout Standard
7707 \begin_layout Plain Layout
7721 \begin_layout Standard
7722 \begin_inset Note Greyedout
7725 \begin_layout Plain Layout
7730 When the \SpecialChar LaTeX
7736 \begin_inset Index idx
7739 \begin_layout Plain Layout
7746 is used, as in this document, the full page width is used for the caption
7747 when you use the default value of 4
7748 \begin_inset space \thinspace{}
7758 To get in this case exactly a 4
7759 \begin_inset space \thinspace{}
7762 in wide caption, you can either use a value slightly different from 4.0
7763 \begin_inset space \thinspace{}
7767 \begin_inset space \thinspace{}
7771 \begin_inset space \space{}
7775 \begin_inset space \thinspace{}
7778 in, or the \SpecialChar LaTeX
7783 captionsetup{width=value}
7785 that is provided by the
7797 \begin_layout Subsubsection
7798 Different Captions for Table Pages
7799 \begin_inset Index idx
7802 \begin_layout Plain Layout
7803 Table ! Multi-page Table ! Different Captions for Pages
7811 \begin_layout Standard
7812 When the table captions for the following pages should differ from the one
7813 of the first table page, mark a empty row as header which contains a caption.
7814 Then right-click on the caption and select in the context menu
7817 \begin_inset space ~
7824 \begin_inset space ~
7828 \begin_inset CommandInset ref
7830 reference "tab:DiffCaptions"
7834 is an example of a multi-page table with different heading where the second
7835 caption does not include the table number.
7838 \begin_layout Standard
7840 \begin_inset Tabular
7841 <lyxtabular version="3" rows="59" columns="3">
7842 <features islongtable="true" longtabularalignment="center">
7843 <column alignment="left" valignment="top" width="0cm">
7844 <column alignment="left" valignment="top" width="0pt">
7845 <column alignment="center" valignment="top" width="0pt">
7846 <row endfirsthead="true" caption="true">
7847 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7850 \begin_layout Plain Layout
7851 \begin_inset Caption Standard
7853 \begin_layout Plain Layout
7855 \begin_inset CommandInset label
7857 name "tab:DiffCaptions"
7862 \begin_inset Argument 1
7865 \begin_layout Plain Layout
7881 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7884 \begin_layout Plain Layout
7890 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7893 \begin_layout Plain Layout
7900 <row endfirsthead="true">
7901 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7904 \begin_layout Plain Layout
7907 Example Phone List (ignore the names)
7912 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7915 \begin_layout Plain Layout
7921 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7924 \begin_layout Plain Layout
7931 <row endfirsthead="true">
7932 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7935 \begin_layout Plain Layout
7943 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7946 \begin_layout Plain Layout
7952 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7955 \begin_layout Plain Layout
7964 <row endhead="true" caption="true">
7965 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7968 \begin_layout Plain Layout
7969 \begin_inset Caption Unnumbered
7971 \begin_layout Plain Layout
7972 Continued Example Phone List
7982 <cell multicolumn="2" alignment="left" valignment="top" leftline="true" usebox="none">
7985 \begin_layout Plain Layout
7991 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7994 \begin_layout Plain Layout
8001 <row endhead="true">
8002 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8005 \begin_layout Plain Layout
8013 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8016 \begin_layout Plain Layout
8022 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8025 \begin_layout Plain Layout
8032 <row endhead="true">
8033 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8036 \begin_layout Plain Layout
8044 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8047 \begin_layout Plain Layout
8053 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8056 \begin_layout Plain Layout
8065 <row endfoot="true">
8066 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
8069 \begin_layout Plain Layout
8070 continued on next page
8075 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8078 \begin_layout Plain Layout
8084 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8087 \begin_layout Plain Layout
8095 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8098 \begin_layout Plain Layout
8106 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8109 \begin_layout Plain Layout
8115 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8118 \begin_layout Plain Layout
8126 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8129 \begin_layout Plain Layout
8137 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8140 \begin_layout Plain Layout
8146 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8149 \begin_layout Plain Layout
8157 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8160 \begin_layout Plain Layout
8168 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8171 \begin_layout Plain Layout
8177 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8180 \begin_layout Plain Layout
8188 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8191 \begin_layout Plain Layout
8199 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8202 \begin_layout Plain Layout
8208 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8211 \begin_layout Plain Layout
8219 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8222 \begin_layout Plain Layout
8230 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8233 \begin_layout Plain Layout
8239 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8242 \begin_layout Plain Layout
8250 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8253 \begin_layout Plain Layout
8261 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8264 \begin_layout Plain Layout
8270 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8273 \begin_layout Plain Layout
8281 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8284 \begin_layout Plain Layout
8292 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8295 \begin_layout Plain Layout
8301 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8304 \begin_layout Plain Layout
8312 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8315 \begin_layout Plain Layout
8323 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8326 \begin_layout Plain Layout
8332 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8335 \begin_layout Plain Layout
8343 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8346 \begin_layout Plain Layout
8354 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8357 \begin_layout Plain Layout
8363 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8366 \begin_layout Plain Layout
8374 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8377 \begin_layout Plain Layout
8385 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8388 \begin_layout Plain Layout
8394 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8397 \begin_layout Plain Layout
8405 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8408 \begin_layout Plain Layout
8416 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8419 \begin_layout Plain Layout
8425 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8428 \begin_layout Plain Layout
8436 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8439 \begin_layout Plain Layout
8447 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8450 \begin_layout Plain Layout
8456 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8459 \begin_layout Plain Layout
8467 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8470 \begin_layout Plain Layout
8478 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8481 \begin_layout Plain Layout
8487 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8490 \begin_layout Plain Layout
8498 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8501 \begin_layout Plain Layout
8509 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8512 \begin_layout Plain Layout
8518 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8521 \begin_layout Plain Layout
8529 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8532 \begin_layout Plain Layout
8541 \begin_layout Plain Layout
8552 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8555 \begin_layout Plain Layout
8561 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8564 \begin_layout Plain Layout
8572 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8575 \begin_layout Plain Layout
8583 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8586 \begin_layout Plain Layout
8592 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8595 \begin_layout Plain Layout
8603 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8606 \begin_layout Plain Layout
8614 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8617 \begin_layout Plain Layout
8623 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8626 \begin_layout Plain Layout
8634 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8637 \begin_layout Plain Layout
8645 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8648 \begin_layout Plain Layout
8654 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8657 \begin_layout Plain Layout
8665 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8668 \begin_layout Plain Layout
8676 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8679 \begin_layout Plain Layout
8685 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8688 \begin_layout Plain Layout
8696 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8699 \begin_layout Plain Layout
8707 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8710 \begin_layout Plain Layout
8716 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8719 \begin_layout Plain Layout
8727 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8730 \begin_layout Plain Layout
8738 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8741 \begin_layout Plain Layout
8747 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8750 \begin_layout Plain Layout
8758 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8761 \begin_layout Plain Layout
8769 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8772 \begin_layout Plain Layout
8778 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8781 \begin_layout Plain Layout
8789 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8792 \begin_layout Plain Layout
8800 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8803 \begin_layout Plain Layout
8809 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8812 \begin_layout Plain Layout
8820 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8823 \begin_layout Plain Layout
8831 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8834 \begin_layout Plain Layout
8840 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8843 \begin_layout Plain Layout
8851 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8854 \begin_layout Plain Layout
8862 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8865 \begin_layout Plain Layout
8871 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8874 \begin_layout Plain Layout
8882 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8885 \begin_layout Plain Layout
8893 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8896 \begin_layout Plain Layout
8902 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8905 \begin_layout Plain Layout
8913 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8916 \begin_layout Plain Layout
8924 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8927 \begin_layout Plain Layout
8933 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8936 \begin_layout Plain Layout
8944 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8947 \begin_layout Plain Layout
8955 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8958 \begin_layout Plain Layout
8964 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8967 \begin_layout Plain Layout
8975 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8978 \begin_layout Plain Layout
8986 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8989 \begin_layout Plain Layout
8995 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8998 \begin_layout Plain Layout
9006 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9009 \begin_layout Plain Layout
9017 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9020 \begin_layout Plain Layout
9026 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9029 \begin_layout Plain Layout
9037 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9040 \begin_layout Plain Layout
9048 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9051 \begin_layout Plain Layout
9057 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9060 \begin_layout Plain Layout
9068 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9071 \begin_layout Plain Layout
9077 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
9080 \begin_layout Plain Layout
9086 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9089 \begin_layout Plain Layout
9097 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9100 \begin_layout Plain Layout
9108 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9111 \begin_layout Plain Layout
9117 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9120 \begin_layout Plain Layout
9128 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9131 \begin_layout Plain Layout
9139 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9142 \begin_layout Plain Layout
9148 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9151 \begin_layout Plain Layout
9159 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9162 \begin_layout Plain Layout
9170 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9173 \begin_layout Plain Layout
9179 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9182 \begin_layout Plain Layout
9190 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9193 \begin_layout Plain Layout
9201 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9204 \begin_layout Plain Layout
9210 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9213 \begin_layout Plain Layout
9221 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9224 \begin_layout Plain Layout
9232 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9235 \begin_layout Plain Layout
9241 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9244 \begin_layout Plain Layout
9252 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9255 \begin_layout Plain Layout
9263 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9266 \begin_layout Plain Layout
9272 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9275 \begin_layout Plain Layout
9283 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9286 \begin_layout Plain Layout
9294 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9297 \begin_layout Plain Layout
9303 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9306 \begin_layout Plain Layout
9314 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9317 \begin_layout Plain Layout
9325 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9328 \begin_layout Plain Layout
9334 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9337 \begin_layout Plain Layout
9345 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9348 \begin_layout Plain Layout
9356 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9359 \begin_layout Plain Layout
9365 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9368 \begin_layout Plain Layout
9376 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9379 \begin_layout Plain Layout
9387 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9390 \begin_layout Plain Layout
9396 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9399 \begin_layout Plain Layout
9407 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9410 \begin_layout Plain Layout
9418 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9421 \begin_layout Plain Layout
9427 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9430 \begin_layout Plain Layout
9438 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9441 \begin_layout Plain Layout
9449 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9452 \begin_layout Plain Layout
9458 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9461 \begin_layout Plain Layout
9469 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9472 \begin_layout Plain Layout
9480 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9483 \begin_layout Plain Layout
9489 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9492 \begin_layout Plain Layout
9500 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9503 \begin_layout Plain Layout
9511 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9514 \begin_layout Plain Layout
9520 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9523 \begin_layout Plain Layout
9531 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9534 \begin_layout Plain Layout
9542 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9545 \begin_layout Plain Layout
9551 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9554 \begin_layout Plain Layout
9562 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9565 \begin_layout Plain Layout
9573 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9576 \begin_layout Plain Layout
9582 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9585 \begin_layout Plain Layout
9593 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9596 \begin_layout Plain Layout
9604 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9607 \begin_layout Plain Layout
9613 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9616 \begin_layout Plain Layout
9624 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9627 \begin_layout Plain Layout
9635 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9638 \begin_layout Plain Layout
9644 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9647 \begin_layout Plain Layout
9655 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9658 \begin_layout Plain Layout
9666 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9669 \begin_layout Plain Layout
9675 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9678 \begin_layout Plain Layout
9686 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9689 \begin_layout Plain Layout
9697 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9700 \begin_layout Plain Layout
9706 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9709 \begin_layout Plain Layout
9723 \begin_layout Section
9724 Special Multi-page Table Issues
9725 \begin_inset CommandInset label
9727 name "sec:Special-Longtable-Issues"
9734 \begin_layout Subsection
9735 Multi-page Table Calculation
9736 \begin_inset Index idx
9739 \begin_layout Plain Layout
9740 Table ! Multi-page Table ! Calculation
9748 \begin_layout Standard
9750 calculates the height of table pages and their page breaks using so called
9752 Chunks are parts of tables that held at the same time in \SpecialChar LaTeX
9754 The default value was historically set to only 20
9755 \begin_inset space ~
9759 If you are using multi-page tables with many pages this may slow down the
9760 creation of your document.
9761 You can safely increase the chunk size to values of 100
9762 \begin_inset space \thinspace{}
9766 \begin_inset space \thinspace{}
9769 1000 by adding this command line to your document preamble:
9772 \begin_layout Standard
9777 setcounter{LTchunksize}{100}
9780 \begin_layout Subsection
9781 Floats and Multi-page Tables
9782 \begin_inset Index idx
9785 \begin_layout Plain Layout
9786 Table ! Multi-page Table ! Floats
9794 \begin_layout Standard
9795 There might be problems when a float appears on the same page where a multi-page
9797 To avoid such a situation, insert a
9798 \begin_inset Quotes eld
9802 \begin_inset Quotes erd
9807 Insert\SpecialChar menuseparator
9808 Formatting\SpecialChar menuseparator
9810 \begin_inset space ~
9815 ) before your multi-page table.
9818 \begin_layout Subsection
9820 \begin_inset Index idx
9823 \begin_layout Plain Layout
9824 Table ! Multi-page Table ! Forced Page Breaks
9832 \begin_layout Standard
9833 By default tables are only broken between rows.
9834 If you have a cell with multiples lines and want to have a page break within
9835 the cell, insert the new line command
9836 \begin_inset Quotes eld
9848 \begin_inset Quotes erd
9852 Code at the point of the cell where it can be broken.
9861 command you have to insert in \SpecialChar TeX
9863 \begin_inset Quotes eld
9871 \begin_inset Quotes erd
9874 characters as the number of the following table columns.
9879 is the character to separate table cells.
9880 Write in \SpecialChar TeX
9885 the content of the corresponding following cell and delete the content
9887 \begin_inset Newline newline
9898 command, insert as many
9902 characters as the number of table columns before the current column.
9904 \begin_inset space ~
9908 \begin_inset CommandInset ref
9910 reference "tab:ForcedPagebreak"
9914 the cell that should be broken is in the second column followed by another
9916 Therefore the following command was inserted in the cell as \SpecialChar TeX
9919 \begin_inset Quotes eld
9927 \begin_inset Quotes erd
9933 \begin_layout Standard
9943 \begin_inset Newline newline
9949 \begin_layout Standard
9951 \begin_inset Quotes eld
9955 \begin_inset Quotes erd
9958 in the third column of the row was deleted.
9965 is only needed when a page break should definitely occur at this position,
9966 otherwise it would be a conditional break.
9967 If your footer row of the multi-page table has for a certain reason no
9968 upper line but you would have a horizontal line where the cell is broken,
9969 use this command instead:
9972 \begin_layout Standard
9980 \begin_inset Newline newline
9988 \begin_layout Standard
9989 When the cell to be broken is in the last column, the command
9992 \begin_layout Standard
10002 \begin_layout Standard
10003 must be inserted as \SpecialChar TeX
10004 Code at the beginning of the cell.
10005 This ensures that the part of the cell that will be displayed on the new
10006 page appears with the full width.
10009 \begin_layout Standard
10011 \begin_inset Tabular
10012 <lyxtabular version="3" rows="38" columns="3">
10013 <features islongtable="true" longtabularalignment="center">
10014 <column alignment="left" valignment="top" width="0cm">
10015 <column alignment="left" valignment="top" width="3cm">
10016 <column alignment="center" valignment="top" width="0pt">
10017 <row endfirsthead="true" caption="true">
10018 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10021 \begin_layout Plain Layout
10022 \begin_inset Caption Standard
10024 \begin_layout Plain Layout
10025 Table with forced page break in table cell
10026 \begin_inset CommandInset label
10028 name "tab:ForcedPagebreak"
10033 \begin_inset Argument 1
10036 \begin_layout Plain Layout
10037 Table with forced page break in table cell
10052 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10055 \begin_layout Plain Layout
10061 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10064 \begin_layout Plain Layout
10071 <row endfirsthead="true">
10072 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10075 \begin_layout Plain Layout
10078 Example Phone List (ignore the names)
10083 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10086 \begin_layout Plain Layout
10092 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10095 \begin_layout Plain Layout
10102 <row endfirsthead="true">
10103 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10106 \begin_layout Plain Layout
10114 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10117 \begin_layout Plain Layout
10123 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10126 \begin_layout Plain Layout
10135 <row endhead="true" caption="true">
10136 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10139 \begin_layout Plain Layout
10140 \begin_inset Caption Unnumbered
10142 \begin_layout Plain Layout
10143 Continued Example Phone List
10153 <cell multicolumn="2" alignment="left" valignment="top" rightline="true" usebox="none">
10156 \begin_layout Plain Layout
10162 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
10165 \begin_layout Plain Layout
10172 <row endhead="true">
10173 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10176 \begin_layout Plain Layout
10184 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10187 \begin_layout Plain Layout
10193 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10196 \begin_layout Plain Layout
10203 <row endhead="true">
10204 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10207 \begin_layout Plain Layout
10215 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10218 \begin_layout Plain Layout
10224 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10227 \begin_layout Plain Layout
10236 <row endfoot="true">
10237 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10240 \begin_layout Plain Layout
10241 continued on next page
10246 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10249 \begin_layout Plain Layout
10255 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10258 \begin_layout Plain Layout
10266 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10269 \begin_layout Plain Layout
10277 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10280 \begin_layout Plain Layout
10286 <cell alignment="right" valignment="top" rightline="true" usebox="none">
10289 \begin_layout Plain Layout
10297 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10300 \begin_layout Plain Layout
10308 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10311 \begin_layout Plain Layout
10317 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10320 \begin_layout Plain Layout
10328 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10331 \begin_layout Plain Layout
10339 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10342 \begin_layout Plain Layout
10348 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10351 \begin_layout Plain Layout
10359 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10362 \begin_layout Plain Layout
10370 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10373 \begin_layout Plain Layout
10379 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10382 \begin_layout Plain Layout
10390 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10393 \begin_layout Plain Layout
10401 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10404 \begin_layout Plain Layout
10410 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10413 \begin_layout Plain Layout
10421 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10424 \begin_layout Plain Layout
10432 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10435 \begin_layout Plain Layout
10441 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10444 \begin_layout Plain Layout
10452 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10455 \begin_layout Plain Layout
10463 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10466 \begin_layout Plain Layout
10472 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10475 \begin_layout Plain Layout
10483 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10486 \begin_layout Plain Layout
10494 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10497 \begin_layout Plain Layout
10503 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10506 \begin_layout Plain Layout
10514 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10517 \begin_layout Plain Layout
10525 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10528 \begin_layout Plain Layout
10534 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10537 \begin_layout Plain Layout
10545 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10548 \begin_layout Plain Layout
10556 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10559 \begin_layout Plain Layout
10565 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10568 \begin_layout Plain Layout
10576 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10579 \begin_layout Plain Layout
10587 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10590 \begin_layout Plain Layout
10596 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10599 \begin_layout Plain Layout
10607 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10610 \begin_layout Plain Layout
10618 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10621 \begin_layout Plain Layout
10627 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10630 \begin_layout Plain Layout
10638 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10641 \begin_layout Plain Layout
10649 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10652 \begin_layout Plain Layout
10658 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10661 \begin_layout Plain Layout
10669 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10672 \begin_layout Plain Layout
10680 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10683 \begin_layout Plain Layout
10689 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10692 \begin_layout Plain Layout
10700 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10703 \begin_layout Plain Layout
10711 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10714 \begin_layout Plain Layout
10720 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10723 \begin_layout Plain Layout
10731 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10734 \begin_layout Plain Layout
10742 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10745 \begin_layout Plain Layout
10751 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10754 \begin_layout Plain Layout
10762 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10765 \begin_layout Plain Layout
10773 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10776 \begin_layout Plain Layout
10782 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10785 \begin_layout Plain Layout
10793 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10796 \begin_layout Plain Layout
10804 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10807 \begin_layout Plain Layout
10813 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10816 \begin_layout Plain Layout
10824 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10827 \begin_layout Plain Layout
10835 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10838 \begin_layout Plain Layout
10844 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10847 \begin_layout Plain Layout
10855 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10858 \begin_layout Plain Layout
10866 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10869 \begin_layout Plain Layout
10875 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10878 \begin_layout Plain Layout
10886 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10889 \begin_layout Plain Layout
10897 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10900 \begin_layout Plain Layout
10906 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10909 \begin_layout Plain Layout
10917 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10920 \begin_layout Plain Layout
10928 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10931 \begin_layout Plain Layout
10937 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10940 \begin_layout Plain Layout
10948 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10951 \begin_layout Plain Layout
10959 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10962 \begin_layout Plain Layout
10964 Fürst von Montecompatri, 11.
10965 Fürst von Sulmona und Vivaro, 10.
10966 Fürst von Rossano, 5.
10967 Herzog von Canemorte, 11.
10968 Herzog von Palombara, 5.
10969 Herzog von Castelchiodato,
10973 \begin_layout Plain Layout
10984 \begin_layout Plain Layout
10992 Herzog von Poggionativo, 11.
10993 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10994 Graf von Valinfreda, 11.
10995 Baron von Cropalati, 11.
10996 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
11001 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11004 \begin_layout Plain Layout
11012 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11015 \begin_layout Plain Layout
11023 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11026 \begin_layout Plain Layout
11032 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11035 \begin_layout Plain Layout
11043 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11046 \begin_layout Plain Layout
11054 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11057 \begin_layout Plain Layout
11063 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11066 \begin_layout Plain Layout
11074 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11077 \begin_layout Plain Layout
11085 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11088 \begin_layout Plain Layout
11094 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11097 \begin_layout Plain Layout
11105 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11108 \begin_layout Plain Layout
11116 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11119 \begin_layout Plain Layout
11125 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11128 \begin_layout Plain Layout
11136 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11139 \begin_layout Plain Layout
11147 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11150 \begin_layout Plain Layout
11156 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11159 \begin_layout Plain Layout
11167 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11170 \begin_layout Plain Layout
11178 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11181 \begin_layout Plain Layout
11187 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11190 \begin_layout Plain Layout
11198 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11201 \begin_layout Plain Layout
11209 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11212 \begin_layout Plain Layout
11218 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11221 \begin_layout Plain Layout
11229 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11232 \begin_layout Plain Layout
11240 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
11243 \begin_layout Plain Layout
11249 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11252 \begin_layout Plain Layout
11266 \begin_layout Section
11267 Multiple Lines, Columns and Rows
11270 \begin_layout Subsection
11271 Multiple Lines in Table Cells
11272 \begin_inset CommandInset label
11274 name "subsec:Multiple-Lines-in"
11279 \begin_inset Index idx
11282 \begin_layout Plain Layout
11283 Multiple Lines in Table Cells
11289 \begin_inset Index idx
11292 \begin_layout Plain Layout
11301 \begin_layout Standard
11303 \begin_inset Float table
11310 \begin_layout Plain Layout
11311 \begin_inset Caption Standard
11313 \begin_layout Plain Layout
11314 \begin_inset CommandInset label
11316 name "tab:Table-with-multiple"
11320 Table with multiple lines in cells
11328 \begin_layout Plain Layout
11330 \begin_inset Tabular
11331 <lyxtabular version="3" rows="3" columns="3">
11332 <features tabularvalignment="middle">
11333 <column alignment="center" valignment="middle" width="2.5cm">
11334 <column alignment="center" valignment="middle">
11335 <column alignment="center" valignment="middle">
11337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11340 \begin_layout Plain Layout
11342 \begin_inset Newline linebreak
11350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11353 \begin_layout Plain Layout
11359 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11362 \begin_layout Plain Layout
11370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11373 \begin_layout Plain Layout
11379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11382 \begin_layout Plain Layout
11388 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11391 \begin_layout Plain Layout
11399 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11402 \begin_layout Plain Layout
11408 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11411 \begin_layout Plain Layout
11417 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11420 \begin_layout Plain Layout
11439 \begin_layout Standard
11440 Setting a fixed width for a column enables you to enter text as a paragraph
11441 with multiple lines and hyphenation.
11444 \begin_layout Standard
11446 \begin_inset space ~
11450 \begin_inset CommandInset ref
11452 reference "tab:Table-with-multiple"
11456 , create a 3×3 table, mark the first cell and right-click on it.
11457 In the appearing table dialog we set a cell width of 2.5
11458 \begin_inset space \thinspace{}
11461 cm and choose centered for the vertical and horizontal alignment.
11462 The vertical alignment is used for all cells of the row.
11463 As our text is smaller than 2.5
11464 \begin_inset space \thinspace{}
11467 cm, only one line will appear.
11468 To get two lines, a justified line break (shortcut
11471 arg "newline-insert linebreak"
11475 If the text is wider than the set cell width, it will automatically be
11476 broken to several lines.
11479 \begin_layout Standard
11480 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11481 by \SpecialChar LaTeX
11482 if it is the first entry.
11483 Therefore you need to insert something to prevent the word not being the
11485 So add a horizontal space of 0
11486 \begin_inset space \thinspace{}
11489 pt before the word.
11490 As the space is zero, it doesn't change the output.
11492 \begin_inset space ~
11496 \begin_inset CommandInset ref
11498 reference "tab:Table-with-and"
11505 \begin_layout Standard
11506 \begin_inset Float table
11513 \begin_layout Plain Layout
11514 \begin_inset Caption Standard
11516 \begin_layout Plain Layout
11517 \begin_inset CommandInset label
11519 name "tab:Table-with-and"
11523 Table with and without hyphenation
11531 \begin_layout Plain Layout
11532 \begin_inset space \hfill{}
11536 \begin_inset Tabular
11537 <lyxtabular version="3" rows="3" columns="3">
11538 <features tabularvalignment="middle">
11539 <column alignment="center" valignment="middle" width="2.5cm">
11540 <column alignment="center" valignment="middle">
11541 <column alignment="center" valignment="middle">
11543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11546 \begin_layout Plain Layout
11547 verylongtablecellword
11552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11555 \begin_layout Plain Layout
11561 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11564 \begin_layout Plain Layout
11572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11575 \begin_layout Plain Layout
11581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11584 \begin_layout Plain Layout
11590 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11593 \begin_layout Plain Layout
11601 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11604 \begin_layout Plain Layout
11610 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11613 \begin_layout Plain Layout
11619 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11622 \begin_layout Plain Layout
11634 \begin_inset space \hfill{}
11638 \begin_inset Tabular
11639 <lyxtabular version="3" rows="3" columns="3">
11640 <features tabularvalignment="middle">
11641 <column alignment="center" valignment="middle" width="2.5cm">
11642 <column alignment="center" valignment="middle">
11643 <column alignment="center" valignment="middle">
11645 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11648 \begin_layout Plain Layout
11649 \begin_inset space \hspace{}
11653 verylongtablecellword
11658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11661 \begin_layout Plain Layout
11667 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11670 \begin_layout Plain Layout
11678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11681 \begin_layout Plain Layout
11687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11690 \begin_layout Plain Layout
11696 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11699 \begin_layout Plain Layout
11707 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11710 \begin_layout Plain Layout
11716 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11719 \begin_layout Plain Layout
11725 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11728 \begin_layout Plain Layout
11740 \begin_inset space \hfill{}
11751 \begin_layout Subsection
11753 \begin_inset CommandInset label
11755 name "subsec:Multicolumns"
11760 \begin_inset Index idx
11763 \begin_layout Plain Layout
11770 \begin_inset Index idx
11773 \begin_layout Plain Layout
11774 Table ! Multicolumns
11782 \begin_layout Subsubsection
11786 \begin_layout Standard
11787 To merge cells over multiple columns, select as many cells within a row
11788 as you want to merge and use either the table-toolbar button
11791 arg "tabular-feature multicolumn"
11796 Edit\SpecialChar menuseparator
11797 Table\SpecialChar menuseparator
11800 , or right click on the marked cells and choose
11804 in the context menu.
11807 \begin_layout Standard
11808 Multicolumns have their own cell settings.
11809 That means changing cell borders, cell alignment, and the width only affects
11811 Here is an example table with a multicolumn cell in the first row and one
11812 in the last row without the upper border:
11815 \begin_layout Standard
11817 \begin_inset Tabular
11818 <lyxtabular version="3" rows="3" columns="4">
11819 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11820 <column alignment="center" valignment="top" width="0pt">
11821 <column alignment="center" valignment="middle">
11822 <column alignment="center" valignment="top" width="0in">
11823 <column alignment="center" valignment="top" width="0pt">
11825 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11828 \begin_layout Plain Layout
11834 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11837 \begin_layout Plain Layout
11843 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11846 \begin_layout Plain Layout
11852 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11855 \begin_layout Plain Layout
11863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11866 \begin_layout Plain Layout
11881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11884 \begin_layout Plain Layout
11890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11893 \begin_layout Plain Layout
11899 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11902 \begin_layout Plain Layout
11910 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11913 \begin_layout Plain Layout
11919 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11922 \begin_layout Plain Layout
11928 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11931 \begin_layout Plain Layout
11937 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11940 \begin_layout Plain Layout
11954 \begin_layout Subsubsection
11955 Multicolumn Calculations
11956 \begin_inset CommandInset label
11958 name "subsec:Multicolumn-Calculations"
11963 \begin_inset Index idx
11966 \begin_layout Plain Layout
11967 Multicolumns ! Calculations
11975 \begin_layout Standard
11977 supports multicolumns directly, but we have to take account of the cell
11978 width of the columns spanned by the multicolumn cell.
11981 \begin_layout Standard
11982 \begin_inset Float table
11989 \begin_layout Plain Layout
11990 \begin_inset Caption Standard
11992 \begin_layout Plain Layout
11993 \begin_inset CommandInset label
11995 name "tab:Table-with-centered"
11999 Table with centered multicolumn text above two columns that have exactly
12000 half the width of the multicolumn cell
12001 \begin_inset Argument 1
12004 \begin_layout Plain Layout
12005 Perfect multicolumn table
12018 \begin_layout Plain Layout
12020 \begin_inset Tabular
12021 <lyxtabular version="3" rows="3" columns="3">
12022 <features tabularvalignment="middle">
12023 <column alignment="center" valignment="middle" special=">{\centering}m{1.25cm-6.2pt}">
12024 <column alignment="center" valignment="middle">
12025 <column alignment="center" valignment="top">
12027 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
12030 \begin_layout Plain Layout
12031 multiple lines multicolumn
12036 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12039 \begin_layout Plain Layout
12045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12048 \begin_layout Plain Layout
12056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12059 \begin_layout Plain Layout
12065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12068 \begin_layout Plain Layout
12074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12077 \begin_layout Plain Layout
12085 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12088 \begin_layout Plain Layout
12094 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12097 \begin_layout Plain Layout
12103 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12106 \begin_layout Plain Layout
12125 \begin_layout Standard
12126 To create for example Table
12127 \begin_inset space ~
12131 \begin_inset CommandInset ref
12133 reference "tab:Table-with-centered"
12137 , mark the first two cells in the first row of a 3×3 table and right-click
12139 Now choose for this cell
12148 \begin_inset space \thinspace{}
12151 cm in the table dialog.
12152 The merged columns should have exactly half the width of the multicolumn
12153 cell, so that you would set a width of 1.25
12154 \begin_inset space \thinspace{}
12157 cm for the first column.
12158 The second column has then automatically a width of 1.25
12159 \begin_inset space \thinspace{}
12162 cm (multicolumn width - width of first column).
12163 This was done for Table
12164 \begin_inset space ~
12168 \begin_inset CommandInset ref
12170 reference "tab:Table-without-half"
12177 \begin_layout Standard
12178 \begin_inset Float table
12185 \begin_layout Plain Layout
12186 \begin_inset Caption Standard
12188 \begin_layout Plain Layout
12189 \begin_inset CommandInset label
12191 name "tab:Table-without-half"
12195 Table where the spanned table columns are not exactly half the width of
12196 the multicolumn cell
12197 \begin_inset Argument 1
12200 \begin_layout Plain Layout
12201 Imperfect multicolumn table
12214 \begin_layout Plain Layout
12216 \begin_inset Tabular
12217 <lyxtabular version="3" rows="3" columns="3">
12218 <features tabularvalignment="middle">
12219 <column alignment="center" valignment="top" width="1.25cm">
12220 <column alignment="center" valignment="top">
12221 <column alignment="center" valignment="top">
12223 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12226 \begin_layout Plain Layout
12227 multiple lines multicolumn
12232 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12235 \begin_layout Plain Layout
12241 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12244 \begin_layout Plain Layout
12252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12255 \begin_layout Plain Layout
12261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12264 \begin_layout Plain Layout
12270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12273 \begin_layout Plain Layout
12281 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12284 \begin_layout Plain Layout
12290 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12293 \begin_layout Plain Layout
12299 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12302 \begin_layout Plain Layout
12321 \begin_layout Standard
12322 You can see that the first column is not half the width of the multicolumn
12323 cell, it is a bit bigger.
12324 The reason is that the specified width of a cell
12325 \begin_inset Formula $W_{g}$
12328 is not its total width
12329 \begin_inset Formula $W_{\mathrm{tot}}$
12332 because a cell is always a bit larger than specified.
12334 \begin_inset space ~
12338 \begin_inset CommandInset ref
12340 reference "cha:Explanation-of-Equation"
12344 explains this in detail.
12347 \begin_layout Standard
12349 \begin_inset Formula $W_{g\,n}$
12352 which the user needs to set when
12356 columns are spanned can be calculated, so that each column has a total
12358 \begin_inset Formula $W_{\mathrm{tot\,multicolumn}}/n$
12362 \begin_inset Formula
12364 W_{g\,n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
12372 \begin_layout Standard
12373 In our case we have
12374 \begin_inset Formula $n=2$
12378 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
12381 cm and the default values for the lengths, so that equation
12382 \begin_inset CommandInset ref
12389 \begin_inset Formula
12391 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
12399 \begin_layout Standard
12400 To enable calculations in \SpecialChar LaTeX
12401 , the \SpecialChar LaTeX
12406 must be loaded with the document preamble line
12407 \begin_inset Index idx
12410 \begin_layout Plain Layout
12420 \begin_layout Standard
12428 \begin_layout Standard
12430 does not allow you to calculate lengths in the
12434 field of the table dialog.
12435 Therefore you have to format the column by inserting a \SpecialChar LaTeX
12438 Here is an overview about the arguments:
12441 \begin_layout Itemize
12446 creates cell with a fixed width, its text is vertically top-aligned
12449 \begin_layout Itemize
12454 creates cell with a fixed width, its text is vertically centered
12457 \begin_layout Itemize
12462 creates cell with a fixed width, its text is vertically bottom-aligned
12465 \begin_layout Standard
12466 By entering a \SpecialChar LaTeX
12467 -argument, all cell settings set in the table dialog are overwritt
12471 \begin_layout Standard
12472 \begin_inset Note Greyedout
12475 \begin_layout Plain Layout
12480 Due to a bug, \SpecialChar LyX
12481 shows the overwritten settings anyway.
12489 \begin_layout Standard
12490 As the text should be horizontally centered, the command
12497 You can now enter the following \SpecialChar LaTeX
12498 -argument for the first spanned column:
12501 \begin_layout Standard
12506 centering}m{1.25cm-6.2pt}
12509 \begin_layout Standard
12514 means, that the commands inside the braces are applied before the cell
12518 \begin_layout Standard
12519 Although we have chosen centered alignment for the text of the multicolumn
12520 cell, it is still left aligned.
12521 This is because \SpecialChar LyX
12522 only applies the alignment to single columns.
12523 So for the multicolumn cell we have to use the \SpecialChar LaTeX
12527 \begin_layout Standard
12535 \begin_layout Subsection
12537 \begin_inset CommandInset label
12539 name "subsec:Multirows"
12544 \begin_inset Index idx
12547 \begin_layout Plain Layout
12554 \begin_inset Index idx
12557 \begin_layout Plain Layout
12566 \begin_layout Standard
12567 To merge cells over multiple rows, select as many cells within a column
12568 as you want to merge and use either the table-toolbar button
12571 arg "tabular-feature multirow"
12576 Edit\SpecialChar menuseparator
12577 Table\SpecialChar menuseparator
12580 , or right click on the marked cells and choose
12584 in the context menu.
12587 \begin_layout Standard
12588 Here is an example table with a multirow in the first column:
12591 \begin_layout Standard
12593 \begin_inset Tabular
12594 <lyxtabular version="3" rows="3" columns="3">
12595 <features tabularvalignment="middle">
12596 <column alignment="center" valignment="top" width="0pt">
12597 <column alignment="center" valignment="top">
12598 <column alignment="center" valignment="top">
12600 <cell 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" usebox="none">
12612 \begin_layout Plain Layout
12618 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12621 \begin_layout Plain Layout
12629 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12632 \begin_layout Plain Layout
12638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12641 \begin_layout Plain Layout
12647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12650 \begin_layout Plain Layout
12658 <cell multirow="4" 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" usebox="none">
12670 \begin_layout Plain Layout
12676 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12679 \begin_layout Plain Layout
12693 \begin_layout Standard
12694 The width of multirow cells is set by setting the width and alignment for
12700 shifts the content of the multirow up/down if the offset is positive/negative.
12703 \begin_layout Standard
12704 If the column of a multirow cell has no explicit width, the multirow cell
12705 inherits the alignment of the column.
12706 Otherwise it is by default left-aligned.
12707 To override the default, renew the command
12716 \begin_layout Standard
12728 \begin_layout Standard
12729 in the document preamble.
12730 Then all entries of multirow cells in the document are centered.
12731 If centering is only needed for several tables, you can renew the command
12732 in a \SpecialChar TeX
12733 Code box just before the table instead of the preamble.
12734 If the text should be right-aligned, replace
12747 To return to left-alignment
12756 \begin_layout Standard
12757 This is an example table with a right-aligned multirow cell that has a vertical
12759 \begin_inset space \thinspace{}
12763 \begin_inset space \thinspace{}
12769 \begin_layout Standard
12775 \begin_layout Plain Layout
12789 \begin_inset Tabular
12790 <lyxtabular version="3" rows="4" columns="3">
12791 <features tabularvalignment="middle">
12792 <column alignment="center" valignment="top" width="3cm">
12793 <column alignment="center" valignment="top">
12794 <column alignment="center" valignment="top">
12796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12799 \begin_layout Plain Layout
12805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12808 \begin_layout Plain Layout
12814 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12817 \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" usebox="none">
12837 \begin_layout Plain Layout
12843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12846 \begin_layout Plain Layout
12854 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12857 \begin_layout Plain Layout
12863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12866 \begin_layout Plain Layout
12872 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12875 \begin_layout Plain Layout
12883 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12886 \begin_layout Plain Layout
12892 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12895 \begin_layout Plain Layout
12901 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12904 \begin_layout Plain Layout
12919 \begin_layout Plain Layout
12935 \begin_layout Standard
12936 To start a new line in a multirow you can use a forced line break (shortcut
12940 arg "newline-insert newline"
12943 ) but this will not respect the cell lines as demonstrated in this table:
12946 \begin_layout Standard
12949 \begin_inset Tabular
12950 <lyxtabular version="3" rows="3" columns="2">
12951 <features tabularvalignment="middle">
12952 <column alignment="left" valignment="middle" width="2cm">
12953 <column alignment="center" valignment="top">
12955 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12958 \begin_layout Plain Layout
12960 \begin_inset Newline newline
12964 \begin_inset Newline newline
12972 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12975 \begin_layout Plain Layout
12983 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12986 \begin_layout Plain Layout
12992 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12995 \begin_layout Plain Layout
13003 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13006 \begin_layout Plain Layout
13012 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13015 \begin_layout Plain Layout
13029 \begin_layout Standard
13030 Therefore be careful with forced line breaks.
13033 \begin_layout Subsection
13034 Cells with diagonal line(s)
13037 \begin_layout Standard
13038 To tell the reader what is meant by column and row headings in a table,
13039 it is helpful to split the first cell of the table by one or two diagonal
13041 This can be achieved by loading the \SpecialChar LaTeX
13047 \begin_inset Index idx
13050 \begin_layout Plain Layout
13052 -packages ! picinpar
13057 in the document preamble.
13058 The package provides the command
13064 that is inserted as \SpecialChar TeX
13065 Code and that can take 2 or 3
13066 \begin_inset space ~
13072 \begin_layout Standard
13077 diagbox[options]{lower left}{upper right}
13080 \begin_layout Standard
13085 diagbox[options]{lower left}{upper left}{upper right}
13088 \begin_layout Standard
13089 The first scheme divides the cell by a single diagonal line and the arguments
13090 are placed below and above this line.
13091 The second scheme divides the cell by 2
13092 \begin_inset space ~
13098 \begin_layout Standard
13102 \begin_layout Plain Layout
13112 \begin_inset Note Note
13115 \begin_layout Plain Layout
13116 The following section will only be displayed when the \SpecialChar LaTeX
13129 \begin_layout Standard
13130 Here is an example table where
13136 is used in the 2-argument scheme in the first cell:
13137 \begin_inset VSpace medskip
13143 \begin_layout Standard
13145 \begin_inset Tabular
13146 <lyxtabular version="3" rows="4" columns="4">
13147 <features tabularvalignment="middle">
13148 <column alignment="center" valignment="top">
13149 <column alignment="center" valignment="top">
13150 <column alignment="center" valignment="top">
13151 <column alignment="center" valignment="top">
13153 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13156 \begin_layout Plain Layout
13160 \begin_layout Plain Layout
13173 \begin_layout Plain Layout
13184 \begin_layout Plain Layout
13196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13199 \begin_layout Plain Layout
13205 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13208 \begin_layout Plain Layout
13214 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13217 \begin_layout Plain Layout
13225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13228 \begin_layout Plain Layout
13234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13237 \begin_layout Plain Layout
13243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13246 \begin_layout Plain Layout
13252 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13255 \begin_layout Plain Layout
13263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13266 \begin_layout Plain Layout
13272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13275 \begin_layout Plain Layout
13281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13284 \begin_layout Plain Layout
13290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13293 \begin_layout Plain Layout
13301 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13304 \begin_layout Plain Layout
13310 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13313 \begin_layout Plain Layout
13319 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13322 \begin_layout Plain Layout
13328 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13331 \begin_layout Plain Layout
13343 \begin_inset VSpace medskip
13349 \begin_layout Standard
13350 The 3-argument scheme is for example useful for cross-tables of sports leagues
13354 \begin_layout Standard
13357 \begin_inset Tabular
13358 <lyxtabular version="3" rows="4" columns="4">
13359 <features tabularvalignment="middle">
13360 <column alignment="center" valignment="top" width="0pt">
13361 <column alignment="center" valignment="top">
13362 <column alignment="center" valignment="top">
13363 <column alignment="center" valignment="top">
13365 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13368 \begin_layout Plain Layout
13372 \begin_layout Plain Layout
13385 \begin_layout Plain Layout
13396 \begin_layout Plain Layout
13407 \begin_layout Plain Layout
13419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13422 \begin_layout Plain Layout
13428 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13431 \begin_layout Plain Layout
13437 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13440 \begin_layout Plain Layout
13448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13451 \begin_layout Plain Layout
13457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13460 \begin_layout Plain Layout
13466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13469 \begin_layout Plain Layout
13475 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13478 \begin_layout Plain Layout
13486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13489 \begin_layout Plain Layout
13495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13498 \begin_layout Plain Layout
13504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13507 \begin_layout Plain Layout
13513 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13516 \begin_layout Plain Layout
13524 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13527 \begin_layout Plain Layout
13533 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13536 \begin_layout Plain Layout
13542 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13545 \begin_layout Plain Layout
13551 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13554 \begin_layout Plain Layout
13568 \begin_layout Standard
13569 For larger cross-tables one might use split cells in 2 or every corner of
13570 the table like in this example:
13573 \begin_layout Standard
13576 \begin_inset Tabular
13577 <lyxtabular version="3" rows="5" columns="5">
13578 <features tabularvalignment="middle">
13579 <column alignment="center" valignment="top" width="0pt">
13580 <column alignment="center" valignment="top">
13581 <column alignment="center" valignment="top">
13582 <column alignment="center" valignment="top">
13583 <column alignment="center" valignment="top">
13585 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13588 \begin_layout Plain Layout
13592 \begin_layout Plain Layout
13605 \begin_layout Plain Layout
13616 \begin_layout Plain Layout
13627 \begin_layout Plain Layout
13639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13642 \begin_layout Plain Layout
13648 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13651 \begin_layout Plain Layout
13657 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13660 \begin_layout Plain Layout
13666 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13669 \begin_layout Plain Layout
13673 \begin_layout Plain Layout
13686 \begin_layout Plain Layout
13697 \begin_layout Plain Layout
13708 \begin_layout Plain Layout
13722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13725 \begin_layout Plain Layout
13731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13734 \begin_layout Plain Layout
13740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13743 \begin_layout Plain Layout
13749 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13752 \begin_layout Plain Layout
13758 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13761 \begin_layout Plain Layout
13769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13772 \begin_layout Plain Layout
13778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13781 \begin_layout Plain Layout
13787 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13790 \begin_layout Plain Layout
13796 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13799 \begin_layout Plain Layout
13805 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13808 \begin_layout Plain Layout
13816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13819 \begin_layout Plain Layout
13825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13828 \begin_layout Plain Layout
13834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13837 \begin_layout Plain Layout
13843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13846 \begin_layout Plain Layout
13852 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13855 \begin_layout Plain Layout
13863 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13866 \begin_layout Plain Layout
13870 \begin_layout Plain Layout
13883 \begin_layout Plain Layout
13894 \begin_layout Plain Layout
13905 \begin_layout Plain Layout
13917 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13920 \begin_layout Plain Layout
13926 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13929 \begin_layout Plain Layout
13935 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13938 \begin_layout Plain Layout
13944 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13947 \begin_layout Plain Layout
13951 \begin_layout Plain Layout
13964 \begin_layout Plain Layout
13975 \begin_layout Plain Layout
13986 \begin_layout Plain Layout
14006 \begin_layout Standard
14007 To rotate the diagonal lines, the command option
14032 and represent a point of a compass.
14037 is for example the south-west corner.
14038 Thus in the lower left cell of the above table the command
14041 \begin_layout Standard
14046 diagbox[dir=SW]{Team home}{Result}{Team away}
14049 \begin_layout Standard
14051 If no direction is given, it will be NW.
14054 \begin_layout Standard
14055 The necessary width of split cells is automatically calculated.
14056 Thus if you set a fixed column width smaller than the calculated one, the
14057 cell's content will protrude the cell borders:
14060 \begin_layout Standard
14063 \begin_inset Tabular
14064 <lyxtabular version="3" rows="2" columns="2">
14065 <features tabularvalignment="middle">
14066 <column alignment="center" valignment="top" width="3cm">
14067 <column alignment="center" valignment="top">
14069 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14072 \begin_layout Plain Layout
14076 \begin_layout Plain Layout
14089 \begin_layout Plain Layout
14100 \begin_layout Plain Layout
14112 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14115 \begin_layout Plain Layout
14123 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14126 \begin_layout Plain Layout
14132 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14135 \begin_layout Plain Layout
14149 \begin_layout Standard
14150 If you need a certain width for columns with a split cell, use the command
14155 (replace '3cm' by the width you need).
14156 In the following table the width of the first column is set to 4
14157 \begin_inset space \thinspace{}
14168 \begin_inset space \thinspace{}
14172 \begin_inset space \thinspace{}
14177 tabcolsep is necessary because the overall width is the width for the text
14178 (in this case the 4
14179 \begin_inset space \thinspace{}
14182 cm) plus two times the separation of the text and the cell border.
14183 The calculation of the width cannot be done in the command option of
14189 so one needs to create a new length which can be used later.
14190 This is done with the \SpecialChar TeX
14194 \begin_layout Standard
14202 \begin_inset Newline newline
14214 \begin_layout Standard
14218 \begin_layout Plain Layout
14227 \begin_layout Plain Layout
14243 \begin_layout Standard
14244 To enable calculations in \SpecialChar LaTeX
14245 one needs to load the package
14250 \begin_inset Index idx
14253 \begin_layout Plain Layout
14260 in the document preamble.
14263 \begin_layout Standard
14264 In this table you can now use the command
14267 \begin_layout Standard
14277 \begin_layout Standard
14281 \begin_layout Standard
14284 \begin_inset Tabular
14285 <lyxtabular version="3" rows="2" columns="2">
14286 <features tabularvalignment="middle">
14287 <column alignment="center" valignment="top" width="4cm">
14288 <column alignment="center" valignment="top">
14290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14293 \begin_layout Plain Layout
14297 \begin_layout Plain Layout
14312 \begin_layout Plain Layout
14323 \begin_layout Plain Layout
14335 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14338 \begin_layout Plain Layout
14346 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14349 \begin_layout Plain Layout
14355 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14358 \begin_layout Plain Layout
14372 \begin_layout Standard
14373 Note that the split cell needs to be the widest one in the column.
14374 Otherwise the length of the diagonal line cannot be calculated correctly
14375 like in this table:
14378 \begin_layout Standard
14381 \begin_inset Tabular
14382 <lyxtabular version="3" rows="2" columns="2">
14383 <features tabularvalignment="middle">
14384 <column alignment="center" valignment="top" width="0pt">
14385 <column alignment="center" valignment="top">
14387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14390 \begin_layout Plain Layout
14394 \begin_layout Plain Layout
14407 \begin_layout Plain Layout
14418 \begin_layout Plain Layout
14430 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14433 \begin_layout Plain Layout
14441 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14444 \begin_layout Plain Layout
14450 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14453 \begin_layout Plain Layout
14467 \begin_layout Standard
14468 In this case use the
14479 It is then not necessary to add 2
14481 tabcolsep because the cell width is now the width of the column.
14482 In this table a width of 3
14483 \begin_inset space \thinspace{}
14489 \begin_layout Standard
14492 \begin_inset Tabular
14493 <lyxtabular version="3" rows="2" columns="2">
14494 <features tabularvalignment="middle">
14495 <column alignment="center" valignment="top" width="0pt">
14496 <column alignment="center" valignment="top">
14498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14501 \begin_layout Plain Layout
14505 \begin_layout Plain Layout
14509 diagbox[width=3cm]{
14518 \begin_layout Plain Layout
14529 \begin_layout Plain Layout
14541 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14544 \begin_layout Plain Layout
14552 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14555 \begin_layout Plain Layout
14561 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14564 \begin_layout Plain Layout
14578 \begin_layout Standard
14579 For multiple text lines in split cells one needs some extra height to fit
14580 the text to the cell.
14581 This can be achieved with the
14591 (replace '3cm' by the height you need).
14592 In the following table the command
14595 \begin_layout Standard
14600 diagbox[width=3cm,height=1.4cm]{A
14611 \begin_layout Standard
14612 is used in the first cell.
14621 creates hereby the line break.
14625 \begin_layout Plain Layout
14626 Breaking lines with
14630 is only possible when the column has a fixed width.
14638 \begin_layout Standard
14641 \begin_inset Tabular
14642 <lyxtabular version="3" rows="2" columns="2">
14643 <features tabularvalignment="middle">
14644 <column alignment="center" valignment="top">
14645 <column alignment="center" valignment="top">
14647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14650 \begin_layout Plain Layout
14654 \begin_layout Plain Layout
14658 diagbox[width=3cm,height=1.4cm]{
14667 \begin_layout Plain Layout
14682 \begin_layout Plain Layout
14693 \begin_layout Plain Layout
14708 \begin_layout Plain Layout
14720 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14723 \begin_layout Plain Layout
14731 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14734 \begin_layout Plain Layout
14740 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14743 \begin_layout Plain Layout
14757 \begin_layout Standard
14761 \begin_layout Plain Layout
14771 \begin_inset Note Note
14774 \begin_layout Plain Layout
14775 The following will be displayed when the \SpecialChar LaTeX
14788 \begin_layout Standard
14789 You need to install the \SpecialChar LaTeX
14794 to see the following part of this section in the output.
14797 \begin_layout Standard
14801 \begin_layout Plain Layout
14813 \begin_layout Standard
14814 For more info about the \SpecialChar LaTeX
14819 , see its documentation,
14820 \begin_inset CommandInset citation
14830 \begin_layout Section
14832 \begin_inset CommandInset label
14834 name "sec:Formal-Tables"
14839 \begin_inset Index idx
14842 \begin_layout Plain Layout
14851 \begin_layout Standard
14852 Tables are often typeset in books similar to Table
14853 \begin_inset space ~
14857 \begin_inset CommandInset ref
14859 reference "tab:Example-booktabs-table"
14864 This kind of tables is called
14865 \begin_inset Quotes eld
14873 \begin_inset Quotes erd
14877 To make a table a formal table
14878 \change_inserted -712698321 1554290084
14879 , select the table style
14880 \begin_inset Quotes eld
14884 \begin_inset Quotes erd
14887 in the Table Creation dialog or
14897 tab of the table dialog
14898 \change_inserted -712698321 1554290131
14899 (if you additionally check the option
14901 Use Default Formal Style
14903 , the border lines are adapted to a sensible default)
14908 \begin_layout Standard
14909 \begin_inset Float table
14916 \begin_layout Plain Layout
14917 \begin_inset Caption Standard
14919 \begin_layout Plain Layout
14920 \begin_inset CommandInset label
14922 name "tab:Example-booktabs-table"
14927 \change_deleted -712698321 1554292310
14929 \change_inserted -712698321 1554292311
14940 \begin_layout Plain Layout
14942 \begin_inset Tabular
14943 <lyxtabular version="3" rows="8" columns="4">
14944 <features booktabs="true" tabularvalignment="middle">
14945 <column alignment="center" valignment="top">
14946 <column alignment="center" valignment="top" width="0pt">
14947 <column alignment="center" valignment="top" width="0pt">
14948 <column alignment="center" valignment="top">
14950 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14953 \begin_layout Plain Layout
14959 <cell alignment="center" valignment="top" topline="true" usebox="none">
14962 \begin_layout Plain Layout
14964 \begin_inset space \thinspace{}
14972 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
14975 \begin_layout Plain Layout
14977 \begin_inset space \thinspace{}
14985 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14988 \begin_layout Plain Layout
14996 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14999 \begin_layout Plain Layout
15001 \change_deleted -712698321 1554290161
15005 \begin_layout Plain Layout
15018 \begin_layout Plain Layout
15029 Detector thickness in µm
15034 <cell alignment="center" valignment="top" usebox="none">
15037 \begin_layout Plain Layout
15043 <cell alignment="center" valignment="top" usebox="none">
15046 \begin_layout Plain Layout
15052 <cell alignment="center" valignment="top" usebox="none">
15055 \begin_layout Plain Layout
15063 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15066 \begin_layout Plain Layout
15072 <cell alignment="center" valignment="top" topline="true" toplinertrim="true" usebox="none">
15075 \begin_layout Plain Layout
15081 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
15084 \begin_layout Plain Layout
15090 <cell alignment="center" valignment="top" topline="true" usebox="none">
15093 \begin_layout Plain Layout
15100 <row topspace="default">
15101 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15104 \begin_layout Plain Layout
15105 Spatial resolution in µm
15110 <cell alignment="center" valignment="top" usebox="none">
15113 \begin_layout Plain Layout
15119 <cell alignment="center" valignment="top" usebox="none">
15122 \begin_layout Plain Layout
15128 <cell alignment="center" valignment="top" usebox="none">
15131 \begin_layout Plain Layout
15138 <row topspace="default">
15139 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15142 \begin_layout Plain Layout
15144 \begin_inset Formula $f_{\mathrm{max}}$
15152 <cell alignment="center" valignment="top" usebox="none">
15155 \begin_layout Plain Layout
15161 <cell alignment="center" valignment="top" usebox="none">
15164 \begin_layout Plain Layout
15170 <cell alignment="center" valignment="top" usebox="none">
15173 \begin_layout Plain Layout
15180 <row topspace="default">
15181 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15184 \begin_layout Plain Layout
15186 \change_deleted -712698321 1554290260
15190 \begin_layout Plain Layout
15194 cmidrule[2pt](l{10pt}){1-1}
15201 LSF-spatial resolution
15206 <cell alignment="center" valignment="top" usebox="none">
15209 \begin_layout Plain Layout
15215 <cell alignment="center" valignment="top" usebox="none">
15218 \begin_layout Plain Layout
15224 <cell alignment="center" valignment="top" usebox="none">
15227 \begin_layout Plain Layout
15235 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15238 \begin_layout Plain Layout
15244 <cell alignment="center" valignment="top" usebox="none">
15247 \begin_layout Plain Layout
15253 <cell alignment="center" valignment="top" usebox="none">
15256 \begin_layout Plain Layout
15262 <cell alignment="center" valignment="top" usebox="none">
15265 \begin_layout Plain Layout
15273 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15276 \begin_layout Plain Layout
15282 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15285 \begin_layout Plain Layout
15291 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15294 \begin_layout Plain Layout
15300 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15303 \begin_layout Plain Layout
15322 \begin_layout Standard
15323 Spaces to table rows can be added using the
15327 tab of the table dialog as described in section
15328 \begin_inset space ~
15332 \begin_inset CommandInset ref
15334 reference "subsec:Row-Spacing"
15341 \begin_layout Standard
15342 Unlike normal tables, formal tables have no vertical table lines.
15343 The horizontal table lines can be set as for normal tables but they appear
15344 with different widths in the output:
15345 \begin_inset Newline newline
15348 The first and the last table line have a default width of 0.08
15349 \begin_inset space \thinspace{}
15352 em while the other lines have a default width of 0.05
15353 \begin_inset space \thinspace{}
15359 \begin_layout Standard
15360 The default widths can be changed with the following preamble lines
15363 \begin_layout Standard
15373 \begin_inset Newline newline
15385 \begin_layout Standard
15386 This example is for the first line, the so called
15391 If you want to change the width for the last line, replace
15400 To change the width for the other lines replace
15409 You can use all units listed in appendix
15410 \begin_inset space ~
15414 \begin_inset CommandInset ref
15416 reference "cha:Units-available-in"
15423 \begin_layout Standard
15425 \change_deleted -712698321 1554290929
15426 Lines that do not span all table columns can be created by setting a table
15427 line for multicolumn cells.
15429 will then internally use the command
15435 to create this line.
15437 \change_inserted -712698321 1554291959
15439 \begin_inset space ~
15443 \begin_inset CommandInset ref
15445 reference "tab:Example-booktabs-table"
15449 , formal tables often use shortened lines to group columns.
15450 This can be done in the borders widget of the table dialog.
15451 With formal tables, the top and bottom borders have to small offset lines
15452 to the left and the right.
15453 Clicking on these will trim the line respectively.
15458 \begin_layout Standard
15460 \change_inserted -712698321 1554291403
15461 If you need to adjust the length of the trimming or the height of the rules,
15462 you have to resort to \SpecialChar TeX
15464 The respective command (which is also used for the trimmed mid rules) is
15470 \begin_layout Standard
15475 cmidrule[height](trim){startcol-endcol}
15478 \begin_layout Standard
15480 \change_deleted -712698321 1554292020
15487 are currently not supported by \SpecialChar LyX
15488 so you have to use \SpecialChar TeX
15497 s can manually be created by inserting the command as \SpecialChar TeX
15499 cell entry of the first cell of a row.
15500 The line is then drawn in the output above the current row.
15505 \begin_layout Standard
15506 The default for the optional
15511 \begin_inset space \thinspace{}
15519 is the number of the column where the line starts and
15523 the column number where the line ends.
15528 always needs to be specified, also when the line should span only one column.
15529 The optional parameter
15546 Using for example the parameter
15550 means that the line is trimmed from its left end by 2
15551 \begin_inset space \thinspace{}
15555 If you don't specify the
15559 the line is trimmed by the default of 0.5
15560 \begin_inset space \thinspace{}
15564 \change_inserted -712698321 1554291561
15565 (this is what is done if you use trimming from the dialog)
15568 \change_inserted -712698321 1554292039
15572 \begin_layout Standard
15574 \change_inserted -712698321 1554292207
15585 is currently not supported by \SpecialChar LyX
15586 , and neither are the
15591 If you need this you can manually insert a
15597 with the respective settings as \SpecialChar TeX
15598 Code as the first cell entry of the first
15600 The line is then drawn in the output above the current row.
15602 \begin_inset space ~
15606 \begin_inset CommandInset ref
15608 reference "tab:Special-booktabs-table"
15612 exemplifies this (in the sixth row).
15617 \begin_layout Standard
15619 \change_deleted -712698321 1554291078
15620 \begin_inset VSpace bigskip
15624 \begin_inset space ~
15628 \begin_inset CommandInset ref
15630 reference "tab:Example-booktabs-table"
15634 was created using the commands
15637 \begin_layout Standard
15639 \change_deleted -712698321 1554291077
15649 \begin_layout Standard
15651 \change_deleted -712698321 1554291077
15652 at the beginning of the second row and
15655 \begin_layout Standard
15657 \change_deleted -712698321 1554291077
15662 cmidrule[2pt](l{10pt}){1-1}
15665 \begin_layout Standard
15667 \change_deleted -712698321 1554291077
15673 \begin_layout Standard
15675 \change_deleted -712698321 1554292212
15676 \begin_inset VSpace bigskip
15684 \begin_layout Standard
15686 \change_inserted -712698321 1554291573
15689 might want to have overlapping
15696 \change_deleted -712698321 1554296804
15698 \change_inserted -712698321 1554296808
15699 exemplified as well
15702 \begin_inset space ~
15706 \begin_inset CommandInset ref
15708 reference "tab:Special-booktabs-table"
15713 \change_inserted -712698321 1554291601
15714 , even though this is considered bad style (so only use it if you really
15718 This can be achieved with the \SpecialChar TeX
15722 \begin_layout Standard
15730 \begin_layout Standard
15731 The command that was used for the second row of Table
15732 \begin_inset space ~
15736 \begin_inset CommandInset ref
15738 reference "tab:Special-booktabs-table"
15745 \begin_layout Standard
15747 \change_deleted -712698321 1554291798
15763 \begin_layout Standard
15764 The command for the sixth row is
15767 \begin_layout Standard
15769 \change_deleted -712698321 1554291810
15783 \begin_layout Standard
15784 \begin_inset VSpace bigskip
15790 \begin_layout Standard
15791 If you are in any way not satisfied with the border line spacing, you can
15792 use the following command to produce lines that span over all table columns
15797 \begin_layout Standard
15802 specialrule{width}{space above}{space below}
15805 \begin_layout Standard
15806 For more information about these features, refer to the manual of the \SpecialChar LaTeX
15813 \begin_inset CommandInset citation
15821 \begin_inset Index idx
15824 \begin_layout Plain Layout
15826 -packages ! booktabs
15834 \begin_layout Standard
15835 \begin_inset Float table
15842 \begin_layout Plain Layout
15843 \begin_inset Caption Standard
15845 \begin_layout Plain Layout
15846 \begin_inset CommandInset label
15848 name "tab:Special-booktabs-table"
15853 \change_inserted -712698321 1554292295
15855 \change_deleted -712698321 1554292304
15857 \change_inserted -712698321 1554292305
15859 \change_deleted -712698321 1554292300
15870 \begin_layout Plain Layout
15872 \begin_inset Tabular
15873 <lyxtabular version="3" rows="8" columns="4">
15874 <features booktabs="true" tabularvalignment="middle">
15875 <column alignment="center" valignment="top">
15876 <column alignment="center" valignment="top" width="0pt">
15877 <column alignment="center" valignment="top" width="0pt">
15878 <column alignment="center" valignment="top" width="0pt">
15880 <cell alignment="center" valignment="top" topline="true" usebox="none">
15883 \begin_layout Plain Layout
15889 <cell alignment="center" valignment="top" topline="true" bottomline="true" bottomlinertrim="true" usebox="none">
15892 \begin_layout Plain Layout
15894 \begin_inset space \thinspace{}
15902 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
15905 \begin_layout Plain Layout
15907 \begin_inset space \thinspace{}
15915 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15918 \begin_layout Plain Layout
15926 <cell alignment="center" valignment="top" usebox="none">
15929 \begin_layout Plain Layout
15931 \change_deleted -712698321 1554291732
15935 \begin_layout Plain Layout
15948 \begin_layout Plain Layout
15963 \begin_layout Plain Layout
15976 \begin_layout Plain Layout
15985 Detector thickness in µm
15990 <cell alignment="center" valignment="top" usebox="none">
15993 \begin_layout Plain Layout
15999 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
16002 \begin_layout Plain Layout
16008 <cell alignment="center" valignment="top" topline="true" usebox="none">
16011 \begin_layout Plain Layout
16019 <cell alignment="center" valignment="top" topline="true" usebox="none">
16022 \begin_layout Plain Layout
16028 <cell alignment="center" valignment="top" topline="true" usebox="none">
16031 \begin_layout Plain Layout
16037 <cell alignment="center" valignment="top" topline="true" usebox="none">
16040 \begin_layout Plain Layout
16046 <cell alignment="center" valignment="top" topline="true" usebox="none">
16049 \begin_layout Plain Layout
16056 <row topspace="default">
16057 <cell alignment="center" valignment="top" usebox="none">
16060 \begin_layout Plain Layout
16061 Spatial resolution in µm
16066 <cell alignment="center" valignment="top" usebox="none">
16069 \begin_layout Plain Layout
16075 <cell alignment="center" valignment="top" usebox="none">
16078 \begin_layout Plain Layout
16084 <cell alignment="center" valignment="top" usebox="none">
16087 \begin_layout Plain Layout
16094 <row topspace="default">
16095 <cell alignment="center" valignment="top" usebox="none">
16098 \begin_layout Plain Layout
16100 \begin_inset Formula $f_{\mathrm{max}}$
16108 <cell alignment="center" valignment="top" usebox="none">
16111 \begin_layout Plain Layout
16117 <cell alignment="center" valignment="top" usebox="none">
16120 \begin_layout Plain Layout
16126 <cell alignment="center" valignment="top" usebox="none">
16129 \begin_layout Plain Layout
16137 <cell alignment="center" valignment="top" topline="true" usebox="none">
16140 \begin_layout Plain Layout
16144 \begin_layout Plain Layout
16157 \begin_layout Plain Layout
16162 \change_inserted -712698321 1554291896
16170 LSF-spatial resolution
16175 <cell alignment="center" valignment="top" topline="true" usebox="none">
16178 \begin_layout Plain Layout
16184 <cell alignment="center" valignment="top" topline="true" usebox="none">
16187 \begin_layout Plain Layout
16193 <cell alignment="center" valignment="top" topline="true" usebox="none">
16196 \begin_layout Plain Layout
16204 <cell alignment="center" valignment="top" usebox="none">
16207 \begin_layout Plain Layout
16213 <cell alignment="center" valignment="top" usebox="none">
16216 \begin_layout Plain Layout
16222 <cell alignment="center" valignment="top" usebox="none">
16225 \begin_layout Plain Layout
16231 <cell alignment="center" valignment="top" usebox="none">
16234 \begin_layout Plain Layout
16242 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16245 \begin_layout Plain Layout
16251 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16254 \begin_layout Plain Layout
16260 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16263 \begin_layout Plain Layout
16269 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16272 \begin_layout Plain Layout
16291 \begin_layout Section
16292 Vertical Table Alignment
16293 \begin_inset Index idx
16296 \begin_layout Plain Layout
16305 \begin_layout Standard
16306 To align tables vertically in a text line, the table must be inside a box.
16307 The box can then be vertically aligned as described in section
16308 \begin_inset space ~
16312 \begin_inset CommandInset ref
16314 reference "sec:Box-Dialog"
16321 \begin_layout Standard
16322 In the following example the tables are inside a minipage
16326 \begin_layout Plain Layout
16327 Minipages are described in section
16328 \begin_inset space ~
16332 \begin_inset CommandInset ref
16334 reference "sec:Minipages"
16343 box that has a width of 15
16344 \begin_inset space \thinspace{}
16350 \begin_layout Itemize
16352 \begin_inset Box Frameless
16362 height_special "totalheight"
16367 backgroundcolor "none"
16370 \begin_layout Plain Layout
16371 \begin_inset Tabular
16372 <lyxtabular version="3" rows="3" columns="3">
16373 <features tabularvalignment="middle">
16374 <column alignment="center" valignment="top">
16375 <column alignment="center" valignment="top">
16376 <column alignment="center" valignment="top">
16378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16381 \begin_layout Plain Layout
16387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16390 \begin_layout Plain Layout
16396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16399 \begin_layout Plain Layout
16407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16410 \begin_layout Plain Layout
16416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16419 \begin_layout Plain Layout
16425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16428 \begin_layout Plain Layout
16436 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16439 \begin_layout Plain Layout
16445 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16448 \begin_layout Plain Layout
16454 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16457 \begin_layout Plain Layout
16477 \begin_layout Plain Layout
16489 \begin_inset Box Frameless
16499 height_special "totalheight"
16504 backgroundcolor "none"
16507 \begin_layout Plain Layout
16508 \begin_inset Tabular
16509 <lyxtabular version="3" rows="3" columns="3">
16510 <features tabularvalignment="middle">
16511 <column alignment="center" valignment="top">
16512 <column alignment="center" valignment="top">
16513 <column alignment="center" valignment="top">
16515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16518 \begin_layout Plain Layout
16524 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16527 \begin_layout Plain Layout
16533 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16536 \begin_layout Plain Layout
16544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16547 \begin_layout Plain Layout
16553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16556 \begin_layout Plain Layout
16562 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16565 \begin_layout Plain Layout
16573 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16576 \begin_layout Plain Layout
16582 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16585 \begin_layout Plain Layout
16591 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16594 \begin_layout Plain Layout
16614 \begin_layout Plain Layout
16624 \begin_layout Itemize
16626 \begin_inset Box Frameless
16636 height_special "totalheight"
16641 backgroundcolor "none"
16644 \begin_layout Plain Layout
16645 \begin_inset Tabular
16646 <lyxtabular version="3" rows="3" columns="3">
16647 <features tabularvalignment="middle">
16648 <column alignment="center" valignment="top">
16649 <column alignment="center" valignment="top">
16650 <column alignment="center" valignment="top">
16652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16655 \begin_layout Plain Layout
16661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16664 \begin_layout Plain Layout
16670 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16673 \begin_layout Plain Layout
16681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16684 \begin_layout Plain Layout
16690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16693 \begin_layout Plain Layout
16699 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16702 \begin_layout Plain Layout
16710 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16713 \begin_layout Plain Layout
16719 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16722 \begin_layout Plain Layout
16728 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16731 \begin_layout Plain Layout
16750 \begin_layout Itemize
16752 \begin_inset Box Frameless
16762 height_special "totalheight"
16767 backgroundcolor "none"
16770 \begin_layout Plain Layout
16771 \begin_inset Tabular
16772 <lyxtabular version="3" rows="3" columns="3">
16773 <features tabularvalignment="middle">
16774 <column alignment="center" valignment="top">
16775 <column alignment="center" valignment="top">
16776 <column alignment="center" valignment="top">
16778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16781 \begin_layout Plain Layout
16787 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16790 \begin_layout Plain Layout
16796 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16799 \begin_layout Plain Layout
16807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16810 \begin_layout Plain Layout
16816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16819 \begin_layout Plain Layout
16825 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16828 \begin_layout Plain Layout
16836 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16839 \begin_layout Plain Layout
16845 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16848 \begin_layout Plain Layout
16854 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16857 \begin_layout Plain Layout
16877 \begin_layout Plain Layout
16889 \begin_inset Box Frameless
16899 height_special "totalheight"
16904 backgroundcolor "none"
16907 \begin_layout Plain Layout
16908 \begin_inset Tabular
16909 <lyxtabular version="3" rows="3" columns="3">
16910 <features tabularvalignment="middle">
16911 <column alignment="center" valignment="top">
16912 <column alignment="center" valignment="top">
16913 <column alignment="center" valignment="top">
16915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16918 \begin_layout Plain Layout
16924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16927 \begin_layout Plain Layout
16933 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16936 \begin_layout Plain Layout
16944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16947 \begin_layout Plain Layout
16953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16956 \begin_layout Plain Layout
16962 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16965 \begin_layout Plain Layout
16973 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16976 \begin_layout Plain Layout
16982 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16985 \begin_layout Plain Layout
16991 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16994 \begin_layout Plain Layout
17014 \begin_layout Plain Layout
17024 \begin_layout Standard
17025 As you will see, the content of the first and last table row is not correctly
17027 To get this alignment, the minipage box must be set into a raisebox.
17031 \begin_layout Plain Layout
17032 Raiseboxes are described in section
17033 \begin_inset space ~
17037 \begin_inset CommandInset ref
17039 reference "subsec:Vertical-Alignment"
17048 In the example above the second table in the first item is aligned using
17049 the \SpecialChar TeX
17053 \begin_layout Standard
17063 \begin_layout Standard
17065 After the box the closing brace
17069 is inserted as \SpecialChar TeX
17071 For the second table in the last item the command
17074 \begin_layout Standard
17084 \begin_layout Standard
17088 \begin_layout Standard
17089 \begin_inset Note Greyedout
17092 \begin_layout Plain Layout
17097 The alignment of the table row content to the surrounding text line is
17099 The required value for the
17105 command for this alignment depends on the document font, the font size,
17106 and the table line thickness.
17114 \begin_layout Section
17116 \begin_inset CommandInset label
17118 name "sec:Colored-Tables"
17123 \begin_inset Index idx
17126 \begin_layout Plain Layout
17135 \begin_layout Subsection
17137 \begin_inset Index idx
17140 \begin_layout Plain Layout
17141 Table Color ! for Cells
17147 \begin_inset Index idx
17150 \begin_layout Plain Layout
17151 Color ! for Table Cells
17159 \begin_layout Standard
17160 \begin_inset Float table
17167 \begin_layout Plain Layout
17168 \begin_inset Caption Standard
17170 \begin_layout Plain Layout
17171 \begin_inset CommandInset label
17173 name "tab:Table-colored-without"
17177 Table colored without using the package
17182 \begin_inset Argument 1
17185 \begin_layout Plain Layout
17186 Table without colortbl
17199 \begin_layout Plain Layout
17201 \begin_inset Tabular
17202 <lyxtabular version="3" rows="3" columns="3">
17203 <features tabularvalignment="middle">
17204 <column alignment="center" valignment="top">
17205 <column alignment="center" valignment="top">
17206 <column alignment="center" valignment="top">
17208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17211 \begin_layout Plain Layout
17219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17222 \begin_layout Plain Layout
17230 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17233 \begin_layout Plain Layout
17243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17246 \begin_layout Plain Layout
17254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17257 \begin_layout Plain Layout
17265 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17268 \begin_layout Plain Layout
17278 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17281 \begin_layout Plain Layout
17289 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17292 \begin_layout Plain Layout
17300 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17303 \begin_layout Plain Layout
17324 \begin_layout Standard
17325 If you only need colored text, mark the cells and choose a color in the
17329 \begin_inset space ~
17334 dialog (toolbar button
17337 arg "dialog-show character"
17341 This was used to create Table
17342 \begin_inset space ~
17346 \begin_inset CommandInset ref
17348 reference "tab:Table-colored-without"
17353 In any other case you have to use the \SpecialChar LaTeX
17359 \begin_inset Index idx
17362 \begin_layout Plain Layout
17364 -packages ! colortbl
17372 \begin_layout Standard
17376 \begin_layout Plain Layout
17386 \begin_inset Note Note
17389 \begin_layout Plain Layout
17390 The following section part will only be displayed when the \SpecialChar LaTeX
17403 \begin_layout Standard
17404 To create colored tables,
17408 must be loaded in the preamble with the line
17411 \begin_layout Standard
17416 usepackage{colortbl}
17419 \begin_layout Standard
17420 The color of a column is adjusted with the command
17423 \begin_layout Standard
17428 columncolor{name of color}
17431 \begin_layout Standard
17437 More about the command
17441 is contained in section
17442 \begin_inset space ~
17446 \begin_inset CommandInset ref
17448 reference "subsec:Multicolumn-Calculations"
17455 \begin_layout Standard
17456 The following color names are predefined:
17459 \begin_layout Standard
17493 \begin_layout Standard
17494 \begin_inset VSpace medskip
17500 \begin_layout Standard
17501 If you add the option
17504 \begin_layout Standard
17510 \begin_layout Standard
17511 to the document class options in the document settings, you can additionally
17513 \begin_inset space ~
17517 These colors are listed in appendix
17518 \begin_inset space ~
17522 \begin_inset CommandInset ref
17524 reference "chap:List-of-dvips-colornames"
17529 One of these colors,
17533 , is used as example in Table
17534 \begin_inset space ~
17538 \begin_inset CommandInset ref
17540 reference "tab:Table-colored-using"
17547 \begin_layout Standard
17548 \begin_inset VSpace medskip
17554 \begin_layout Standard
17555 You can also define your own color with the command
17558 \begin_layout Standard
17563 definecolor{color name}{color model}{color values}
17566 \begin_layout Standard
17567 The color model can be
17570 \begin_layout Labeling
17571 \labelwidthstring 00.00.0000
17572 cmyk: cyan, magenta, yellow, black
17575 \begin_layout Labeling
17576 \labelwidthstring 00.00.0000
17577 rgb: red, green blue
17580 \begin_layout Labeling
17581 \labelwidthstring 00.00.0000
17585 \begin_layout Standard
17586 and the color values are comma separated numbers between 0 and 1 describing
17587 the factor for the corresponding color of the color model.
17590 \begin_layout Standard
17592 \begin_inset space \thinspace{}
17596 \begin_inset space \space{}
17603 " in the preamble with
17606 \begin_layout Standard
17611 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
17614 \begin_layout Standard
17622 \begin_layout Standard
17627 definecolor{lightgray}{gray}{0.8}
17630 \begin_layout Standard
17631 \begin_inset VSpace medskip
17637 \begin_layout Standard
17638 Lines are colored with the command
17641 \begin_layout Standard
17646 rowcolor{name of color}
17649 \begin_layout Standard
17650 and cells are colored with the command
17653 \begin_layout Standard
17658 cellcolor{name of color}
17661 \begin_layout Standard
17662 Both commands are inserted at the beginning of a cell as \SpecialChar TeX
17666 \begin_layout Standard
17667 To color characters in the table, mark the cells and use the
17670 \begin_inset space ~
17676 If a cell contains \SpecialChar TeX
17677 Code mark only the characters, otherwise the colored
17679 Code will cause \SpecialChar LaTeX
17683 \begin_layout Standard
17684 \begin_inset Note Greyedout
17687 \begin_layout Plain Layout
17692 Not all DVI-viewers are able to display self-defined colors.
17700 \begin_layout Standard
17701 \begin_inset VSpace bigskip
17707 \begin_layout Standard
17709 \begin_inset space ~
17713 \begin_inset CommandInset ref
17715 reference "tab:Table-colored-using"
17719 do the following: The color of the first column should be
17727 \begin_layout Standard
17732 columncolor{darkgreen}
17737 \begin_layout Standard
17738 as \SpecialChar LaTeX
17739 -argument for this column.
17740 The first row should be light blue, therefore the \SpecialChar TeX
17744 \begin_layout Standard
17752 \begin_layout Standard
17753 is inserted to the first cell of this row.
17754 Note that this overwrites the column color for the first cell.
17755 The last cell of the last row is colored maroon by inserting the \SpecialChar TeX
17760 \begin_layout Standard
17768 \begin_layout Standard
17769 The characters could now be colored using the menu
17771 Edit\SpecialChar menuseparator
17773 \begin_inset space ~
17781 \begin_layout Standard
17782 \begin_inset Float table
17789 \begin_layout Plain Layout
17790 \begin_inset Caption Standard
17792 \begin_layout Plain Layout
17793 \begin_inset CommandInset label
17795 name "tab:Table-colored-using"
17799 Table colored using the package
17804 \begin_inset Argument 1
17807 \begin_layout Plain Layout
17808 Table with colortbl
17821 \begin_layout Plain Layout
17823 \begin_inset Tabular
17824 <lyxtabular version="3" rows="3" columns="3">
17825 <features tabularvalignment="middle">
17826 <column alignment="center" valignment="top" special=">{\columncolor{darkgreen}\centering}c">
17827 <column alignment="center" valignment="top">
17828 <column alignment="center" valignment="top">
17830 <cell alignment="center" valignment="top" usebox="none">
17833 \begin_layout Plain Layout
17837 \begin_layout Plain Layout
17853 <cell alignment="center" valignment="top" usebox="none">
17856 \begin_layout Plain Layout
17864 <cell alignment="center" valignment="top" usebox="none">
17867 \begin_layout Plain Layout
17877 <cell alignment="center" valignment="top" usebox="none">
17880 \begin_layout Plain Layout
17888 <cell alignment="center" valignment="top" usebox="none">
17891 \begin_layout Plain Layout
17899 <cell alignment="center" valignment="top" usebox="none">
17902 \begin_layout Plain Layout
17912 <cell alignment="center" valignment="top" usebox="none">
17915 \begin_layout Plain Layout
17923 <cell alignment="center" valignment="top" usebox="none">
17926 \begin_layout Plain Layout
17934 <cell alignment="center" valignment="top" usebox="none">
17937 \begin_layout Plain Layout
17941 \begin_layout Plain Layout
17970 \begin_layout Standard
17974 \begin_layout Plain Layout
17984 \begin_inset Note Note
17987 \begin_layout Plain Layout
17988 The following will be displayed when the \SpecialChar LaTeX
18001 \begin_layout Standard
18002 You need to install the package
18006 to see the content of this section in the output.
18009 \begin_layout Standard
18013 \begin_layout Plain Layout
18025 \begin_layout Subsection
18027 \begin_inset Index idx
18030 \begin_layout Plain Layout
18031 Table Color ! for Rows
18037 \begin_inset Index idx
18040 \begin_layout Plain Layout
18041 Color ! for Table Rows
18049 \begin_layout Standard
18050 In case every second table row needs to be colored there is an alternative
18051 to the method described in the previous section: One loads the package
18057 \begin_inset Index idx
18060 \begin_layout Plain Layout
18066 \begin_layout Plain Layout
18080 in the document preamble with the command
18083 \begin_layout Standard
18088 usepackage[table]{xcolor}
18091 \begin_layout Standard
18096 automatically loads also the package
18101 \begin_inset Index idx
18104 \begin_layout Plain Layout
18106 -packages ! colortbl
18115 must be installed in your \SpecialChar LaTeX
18116 -distribution, otherwise you get \SpecialChar LaTeX
18120 \begin_layout Standard
18124 \begin_layout Plain Layout
18134 \begin_inset Note Note
18137 \begin_layout Plain Layout
18138 The following section part will only be displayed when the \SpecialChar LaTeX
18151 \begin_layout Standard
18152 The table rows are colored with the command
18155 \begin_layout Standard
18160 rowcolors[commands]{row number}{odd row color}{even row color}
18163 \begin_layout Standard
18164 that is either inserted in the document preamble or as \SpecialChar TeX
18166 first table to be colored.
18168 \begin_inset space ~
18171 number is the number of the first row which should be colored according
18172 to the odd row color.
18173 commands can be additional commands that are executed before every table
18175 So for example the command
18178 \begin_layout Standard
18183 rowcolors{1}{white}{lightgray}
18186 \begin_layout Standard
18187 leads to the coloring scheme of Table
18188 \begin_inset space ~
18192 \begin_inset CommandInset ref
18194 reference "tab:Table-rowcolors"
18202 \begin_layout Standard
18209 hline]{1}{lightgray}{cyan}
18212 \begin_layout Standard
18213 leads to the coloring scheme of Table
18214 \begin_inset space ~
18218 \begin_inset CommandInset ref
18220 reference "tab:Table-rowcolors-2"
18226 \begin_inset space ~
18230 \begin_inset space ~
18234 \begin_inset space ~
18238 \begin_inset space ~
18241 color are left empty, no color will be used so that the command
18244 \begin_layout Standard
18252 \begin_layout Standard
18253 deletes all colors.
18260 affects all tables following that command.
18263 \begin_layout Standard
18267 \begin_layout Plain Layout
18271 rowcolors{1}{white}{lightgray}
18279 \begin_layout Standard
18280 \begin_inset Float table
18287 \begin_layout Plain Layout
18288 \begin_inset Caption Standard
18290 \begin_layout Plain Layout
18291 \begin_inset CommandInset label
18293 name "tab:Table-rowcolors"
18297 Table where every second row is colored light gray.
18305 \begin_layout Plain Layout
18307 \begin_inset Tabular
18308 <lyxtabular version="3" rows="4" columns="3">
18309 <features tabularvalignment="middle">
18310 <column alignment="center" valignment="top">
18311 <column alignment="center" valignment="top" width="0pt">
18312 <column alignment="center" valignment="top" width="0pt">
18314 <cell alignment="center" valignment="top" usebox="none">
18317 \begin_layout Plain Layout
18323 <cell alignment="center" valignment="top" usebox="none">
18326 \begin_layout Plain Layout
18332 <cell alignment="center" valignment="top" usebox="none">
18335 \begin_layout Plain Layout
18343 <cell alignment="center" valignment="top" usebox="none">
18346 \begin_layout Plain Layout
18352 <cell alignment="center" valignment="top" usebox="none">
18355 \begin_layout Plain Layout
18361 <cell alignment="center" valignment="top" usebox="none">
18364 \begin_layout Plain Layout
18372 <cell alignment="center" valignment="top" usebox="none">
18375 \begin_layout Plain Layout
18381 <cell alignment="center" valignment="top" usebox="none">
18384 \begin_layout Plain Layout
18390 <cell alignment="center" valignment="top" usebox="none">
18393 \begin_layout Plain Layout
18401 <cell alignment="center" valignment="top" usebox="none">
18404 \begin_layout Plain Layout
18410 <cell alignment="center" valignment="top" usebox="none">
18413 \begin_layout Plain Layout
18419 <cell alignment="center" valignment="top" usebox="none">
18422 \begin_layout Plain Layout
18441 \begin_layout Standard
18445 \begin_layout Plain Layout
18451 hline]{1}{lightgray}{cyan}
18459 \begin_layout Standard
18460 \begin_inset Float table
18467 \begin_layout Plain Layout
18468 \begin_inset Caption Standard
18470 \begin_layout Plain Layout
18471 \begin_inset CommandInset label
18473 name "tab:Table-rowcolors-2"
18477 Table where every second row is colored cyan and at which there is a line
18486 \begin_layout Plain Layout
18488 \begin_inset Tabular
18489 <lyxtabular version="3" rows="4" columns="3">
18490 <features tabularvalignment="middle">
18491 <column alignment="center" valignment="top">
18492 <column alignment="center" valignment="top">
18493 <column alignment="center" valignment="top" width="0pt">
18495 <cell alignment="center" valignment="top" usebox="none">
18498 \begin_layout Plain Layout
18504 <cell alignment="center" valignment="top" usebox="none">
18507 \begin_layout Plain Layout
18513 <cell alignment="center" valignment="top" usebox="none">
18516 \begin_layout Plain Layout
18524 <cell alignment="center" valignment="top" usebox="none">
18527 \begin_layout Plain Layout
18533 <cell alignment="center" valignment="top" usebox="none">
18536 \begin_layout Plain Layout
18542 <cell alignment="center" valignment="top" usebox="none">
18545 \begin_layout Plain Layout
18553 <cell alignment="center" valignment="top" usebox="none">
18556 \begin_layout Plain Layout
18562 <cell alignment="center" valignment="top" usebox="none">
18565 \begin_layout Plain Layout
18571 <cell alignment="center" valignment="top" usebox="none">
18574 \begin_layout Plain Layout
18582 <cell alignment="center" valignment="top" usebox="none">
18585 \begin_layout Plain Layout
18591 <cell alignment="center" valignment="top" usebox="none">
18594 \begin_layout Plain Layout
18600 <cell alignment="center" valignment="top" usebox="none">
18603 \begin_layout Plain Layout
18622 \begin_layout Standard
18626 \begin_layout Plain Layout
18636 \begin_inset Note Note
18639 \begin_layout Plain Layout
18640 turns off the row coloring
18648 \begin_layout Standard
18652 \begin_layout Plain Layout
18662 \begin_inset Note Note
18665 \begin_layout Plain Layout
18666 The following will be displayed when the \SpecialChar LaTeX
18679 \begin_layout Standard
18680 You need to install the package
18684 to see the content of this section in the output.
18687 \begin_layout Standard
18691 \begin_layout Plain Layout
18703 \begin_layout Subsection
18705 \begin_inset Index idx
18708 \begin_layout Plain Layout
18709 Table Color ! for Lines
18715 \begin_inset Index idx
18718 \begin_layout Plain Layout
18719 Color ! for Table Lines
18727 \begin_layout Standard
18728 As described in section
18729 \begin_inset space ~
18733 \begin_inset CommandInset ref
18735 reference "subsec:Line-Thickness"
18739 , the line thickness for all lines in a table can be adjusted with the length
18748 \begin_inset space \thinspace{}
18751 pt for all tables of this section.
18755 \begin_layout Plain Layout
18761 arrayrulewidth}{1.5pt}
18769 \begin_layout Standard
18770 To color vertical lines for example with green, create the following column
18771 format in the document preamble, according to the description in section
18772 \begin_inset space ~
18776 \begin_inset CommandInset ref
18778 reference "subsec:Customized-Format"
18785 \begin_layout Standard
18790 newcolumntype{W}{!{
18797 \begin_layout Standard
18799 \begin_inset space ~
18803 \begin_inset CommandInset ref
18805 reference "tab:Table-with-vertical-colored"
18809 the \SpecialChar LaTeX
18814 was used for the last column and
18818 for the other columns.
18821 \begin_layout Standard
18822 If you want to have several colors, define more column formats.
18825 \begin_layout Standard
18826 \begin_inset Float table
18833 \begin_layout Plain Layout
18834 \begin_inset Caption Standard
18836 \begin_layout Plain Layout
18837 \begin_inset CommandInset label
18839 name "tab:Table-with-vertical-colored"
18843 Table with colored vertical lines
18851 \begin_layout Plain Layout
18853 \begin_inset Tabular
18854 <lyxtabular version="3" rows="3" columns="3">
18855 <features tabularvalignment="middle">
18856 <column alignment="center" valignment="top" special="Wc">
18857 <column alignment="center" valignment="top" special="Wc">
18858 <column alignment="center" valignment="top" special="WcW">
18860 <cell alignment="center" valignment="top" topline="true" usebox="none">
18863 \begin_layout Plain Layout
18869 <cell alignment="center" valignment="top" topline="true" usebox="none">
18872 \begin_layout Plain Layout
18878 <cell alignment="center" valignment="top" topline="true" usebox="none">
18881 \begin_layout Plain Layout
18889 <cell alignment="center" valignment="top" topline="true" usebox="none">
18892 \begin_layout Plain Layout
18898 <cell alignment="center" valignment="top" topline="true" usebox="none">
18901 \begin_layout Plain Layout
18907 <cell alignment="center" valignment="top" topline="true" usebox="none">
18910 \begin_layout Plain Layout
18918 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18921 \begin_layout Plain Layout
18927 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18930 \begin_layout Plain Layout
18936 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18939 \begin_layout Plain Layout
18958 \begin_layout Standard
18959 \begin_inset VSpace bigskip
18962 To color all horizontal lines for example with red, as in Table
18963 \begin_inset space ~
18967 \begin_inset CommandInset ref
18969 reference "tab:Table-with-horizontal-colored"
18973 , insert these commands in \SpecialChar TeX
18974 code before the table or table float:
18977 \begin_layout Standard
18987 \begin_inset Newline newline
18995 \begin_inset Newline newline
18999 \begin_inset Phantom HPhantom
19002 \begin_layout Plain Layout
19005 \begin_inset space ~
19015 arrayrulecolor{red}
19019 arrayrulecolor{black}}
19022 \begin_layout Standard
19026 \begin_layout Plain Layout
19037 \begin_layout Plain Layout
19046 \begin_layout Plain Layout
19050 arrayrulecolor{red}
19054 arrayrulecolor{black}}
19060 \begin_inset Float table
19067 \begin_layout Plain Layout
19068 \begin_inset Caption Standard
19070 \begin_layout Plain Layout
19071 \begin_inset CommandInset label
19073 name "tab:Table-with-horizontal-colored"
19077 Table with colored horizontal lines
19085 \begin_layout Plain Layout
19087 \begin_inset Tabular
19088 <lyxtabular version="3" rows="3" columns="3">
19089 <features tabularvalignment="middle">
19090 <column alignment="center" valignment="top">
19091 <column alignment="center" valignment="top">
19092 <column alignment="center" valignment="top">
19094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19097 \begin_layout Plain Layout
19103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19106 \begin_layout Plain Layout
19112 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19115 \begin_layout Plain Layout
19123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19126 \begin_layout Plain Layout
19132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19135 \begin_layout Plain Layout
19141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19144 \begin_layout Plain Layout
19152 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19155 \begin_layout Plain Layout
19161 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19164 \begin_layout Plain Layout
19170 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19173 \begin_layout Plain Layout
19192 \begin_layout Standard
19193 To return to the default line color black, insert this command in \SpecialChar TeX
19195 after the table or table float:
19198 \begin_layout Standard
19210 \begin_layout Standard
19212 \begin_inset space ~
19216 \begin_inset CommandInset ref
19218 reference "tab:Table-with-colored"
19222 is an example with colored vertical and horizontal lines.
19225 \begin_layout Standard
19226 \begin_inset Float table
19233 \begin_layout Plain Layout
19234 \begin_inset Caption Standard
19236 \begin_layout Plain Layout
19237 \begin_inset CommandInset label
19239 name "tab:Table-with-colored"
19243 Table with colored lines
19251 \begin_layout Plain Layout
19253 \begin_inset Tabular
19254 <lyxtabular version="3" rows="3" columns="3">
19255 <features tabularvalignment="middle">
19256 <column alignment="center" valignment="top" special="Wc">
19257 <column alignment="center" valignment="top" special="Wc">
19258 <column alignment="center" valignment="top" special="WcW">
19260 <cell alignment="center" valignment="top" topline="true" usebox="none">
19263 \begin_layout Plain Layout
19269 <cell alignment="center" valignment="top" topline="true" usebox="none">
19272 \begin_layout Plain Layout
19278 <cell alignment="center" valignment="top" topline="true" usebox="none">
19281 \begin_layout Plain Layout
19289 <cell alignment="center" valignment="top" topline="true" usebox="none">
19292 \begin_layout Plain Layout
19298 <cell alignment="center" valignment="top" topline="true" usebox="none">
19301 \begin_layout Plain Layout
19307 <cell alignment="center" valignment="top" topline="true" usebox="none">
19310 \begin_layout Plain Layout
19317 <row topspace="default">
19318 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19321 \begin_layout Plain Layout
19327 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19330 \begin_layout Plain Layout
19336 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19339 \begin_layout Plain Layout
19358 \begin_layout Standard
19362 \begin_layout Plain Layout
19378 \begin_layout Standard
19382 \begin_layout Plain Layout
19388 arrayrulewidth}{1.2pt}
19396 \begin_layout Standard
19397 To color only some of the table lines another strategy is necessary.
19398 To color all following horizontal lines, insert this command as \SpecialChar TeX
19400 last thing in the row that should be above the first colored line:
19403 \begin_layout Standard
19412 arrayrulecolor{blue}%
19415 \begin_layout Standard
19416 To go back to black lines, add this command as first thing in the row that
19417 is above the black lines:
19420 \begin_layout Standard
19425 arrayrulecolor{black}
19428 \begin_layout Standard
19429 With this one can color table lines like in Table
19430 \begin_inset space ~
19434 \begin_inset CommandInset ref
19436 reference "tab:Table-with-different-hor"
19441 However, with this method it is not possible to color the line above the
19442 first row of a table.
19445 \begin_layout Standard
19446 \begin_inset Float table
19453 \begin_layout Plain Layout
19454 \begin_inset Caption Standard
19456 \begin_layout Plain Layout
19457 \begin_inset CommandInset label
19459 name "tab:Table-with-different-hor"
19463 Table with different horizontal line colors.
19471 \begin_layout Plain Layout
19473 \begin_inset Tabular
19474 <lyxtabular version="3" rows="6" columns="7">
19475 <features tabularvalignment="middle">
19476 <column alignment="center" valignment="top">
19477 <column alignment="center" valignment="top">
19478 <column alignment="center" valignment="top">
19479 <column alignment="center" valignment="top">
19480 <column alignment="center" valignment="top">
19481 <column alignment="center" valignment="top">
19482 <column alignment="center" valignment="top">
19484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19487 \begin_layout Plain Layout
19493 <cell alignment="center" valignment="top" topline="true" usebox="none">
19496 \begin_layout Plain Layout
19502 <cell alignment="center" valignment="top" topline="true" usebox="none">
19505 \begin_layout Plain Layout
19511 <cell alignment="center" valignment="top" topline="true" usebox="none">
19514 \begin_layout Plain Layout
19520 <cell alignment="center" valignment="top" topline="true" usebox="none">
19523 \begin_layout Plain Layout
19529 <cell alignment="center" valignment="top" topline="true" usebox="none">
19532 \begin_layout Plain Layout
19538 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
19541 \begin_layout Plain Layout
19545 \begin_layout Plain Layout
19553 arrayrulecolor{blue}%
19565 <cell alignment="center" valignment="top" usebox="none">
19568 \begin_layout Plain Layout
19574 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19577 \begin_layout Plain Layout
19583 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19586 \begin_layout Plain Layout
19592 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19595 \begin_layout Plain Layout
19601 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19604 \begin_layout Plain Layout
19610 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
19613 \begin_layout Plain Layout
19619 <cell alignment="center" valignment="top" usebox="none">
19622 \begin_layout Plain Layout
19630 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19633 \begin_layout Plain Layout
19637 \begin_layout Plain Layout
19641 arrayrulecolor{black}
19651 <cell alignment="center" valignment="top" usebox="none">
19654 \begin_layout Plain Layout
19660 <cell alignment="center" valignment="top" usebox="none">
19663 \begin_layout Plain Layout
19669 <cell alignment="center" valignment="top" usebox="none">
19672 \begin_layout Plain Layout
19678 <cell alignment="center" valignment="top" usebox="none">
19681 \begin_layout Plain Layout
19687 <cell alignment="center" valignment="top" usebox="none">
19690 \begin_layout Plain Layout
19696 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19699 \begin_layout Plain Layout
19707 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19710 \begin_layout Plain Layout
19716 <cell alignment="center" valignment="top" usebox="none">
19719 \begin_layout Plain Layout
19725 <cell alignment="center" valignment="top" usebox="none">
19728 \begin_layout Plain Layout
19734 <cell alignment="center" valignment="top" usebox="none">
19737 \begin_layout Plain Layout
19743 <cell alignment="center" valignment="top" usebox="none">
19746 \begin_layout Plain Layout
19752 <cell alignment="center" valignment="top" usebox="none">
19755 \begin_layout Plain Layout
19761 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19764 \begin_layout Plain Layout
19768 \begin_layout Plain Layout
19776 arrayrulecolor{green}%
19788 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19791 \begin_layout Plain Layout
19797 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19800 \begin_layout Plain Layout
19806 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19809 \begin_layout Plain Layout
19815 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19818 \begin_layout Plain Layout
19824 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19827 \begin_layout Plain Layout
19833 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19836 \begin_layout Plain Layout
19842 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
19845 \begin_layout Plain Layout
19853 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19856 \begin_layout Plain Layout
19860 \begin_layout Plain Layout
19864 arrayrulecolor{black}
19874 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19877 \begin_layout Plain Layout
19883 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19886 \begin_layout Plain Layout
19892 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19895 \begin_layout Plain Layout
19901 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19904 \begin_layout Plain Layout
19910 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19913 \begin_layout Plain Layout
19919 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
19922 \begin_layout Plain Layout
19926 \begin_layout Plain Layout
19934 arrayrulecolor{blue}%
19957 \begin_layout Standard
19958 To change the color of vertical lines within a row, like in Table
19959 \begin_inset space ~
19963 \begin_inset CommandInset ref
19965 reference "tab:Table-with-different-ver"
19969 , one needs to use multicolumns.
19970 At first one needs to remove all vertical lines that don't run along the
19972 Now one colors all lines using the command
19975 \begin_layout Standard
19984 arrayrulecolor{blue}%
19987 \begin_layout Standard
19989 Finally one inserts this command as \SpecialChar TeX
19990 code to every cell in the row where
19991 one needs a vertical line in a different color:
19994 \begin_layout Standard
20010 \begin_layout Standard
20011 This adds a vertical line to both sides of the cell.
20012 The left one will be green, the right one red.
20013 If no color change is necessary one can omit the
20019 command in the above command.
20020 To get for example a black left line and a blue right line you can write:
20023 \begin_layout Standard
20035 \begin_layout Standard
20036 because the color blue was already set for all lines.
20041 creates hereby the vertical line while
20054 To set vertical lines without changing any color use
20057 \begin_layout Standard
20062 multicolumn{1}{|c|}{
20065 \begin_layout Standard
20066 After this command insert the cell content the normal way and end the cell
20067 with a closing brace
20071 in \SpecialChar TeX
20075 \begin_layout Standard
20076 \begin_inset Float table
20083 \begin_layout Plain Layout
20084 \begin_inset Caption Standard
20086 \begin_layout Plain Layout
20087 \begin_inset CommandInset label
20089 name "tab:Table-with-different-ver"
20093 Table with different vertical line colors in one row.
20101 \begin_layout Plain Layout
20103 \begin_inset Tabular
20104 <lyxtabular version="3" rows="5" columns="7">
20105 <features tabularvalignment="middle">
20106 <column alignment="center" valignment="top">
20107 <column alignment="center" valignment="top">
20108 <column alignment="center" valignment="top">
20109 <column alignment="center" valignment="top">
20110 <column alignment="center" valignment="top">
20111 <column alignment="center" valignment="top">
20112 <column alignment="center" valignment="top">
20114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20117 \begin_layout Plain Layout
20123 <cell alignment="center" valignment="top" topline="true" usebox="none">
20126 \begin_layout Plain Layout
20132 <cell alignment="center" valignment="top" topline="true" usebox="none">
20135 \begin_layout Plain Layout
20141 <cell alignment="center" valignment="top" topline="true" usebox="none">
20144 \begin_layout Plain Layout
20150 <cell alignment="center" valignment="top" topline="true" usebox="none">
20153 \begin_layout Plain Layout
20159 <cell alignment="center" valignment="top" topline="true" usebox="none">
20162 \begin_layout Plain Layout
20168 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
20171 \begin_layout Plain Layout
20175 \begin_layout Plain Layout
20183 arrayrulecolor{red}%
20195 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20198 \begin_layout Plain Layout
20202 \begin_layout Plain Layout
20219 \begin_layout Plain Layout
20231 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20234 \begin_layout Plain Layout
20240 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20243 \begin_layout Plain Layout
20249 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20252 \begin_layout Plain Layout
20258 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20261 \begin_layout Plain Layout
20267 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20270 \begin_layout Plain Layout
20274 \begin_layout Plain Layout
20278 multicolumn{1}{c|}{
20287 \begin_layout Plain Layout
20299 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20302 \begin_layout Plain Layout
20306 \begin_layout Plain Layout
20323 \begin_layout Plain Layout
20337 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20340 \begin_layout Plain Layout
20344 \begin_layout Plain Layout
20348 arrayrulecolor{black}
20358 <cell alignment="center" valignment="top" usebox="none">
20361 \begin_layout Plain Layout
20367 <cell alignment="center" valignment="top" usebox="none">
20370 \begin_layout Plain Layout
20376 <cell alignment="center" valignment="top" usebox="none">
20379 \begin_layout Plain Layout
20385 <cell alignment="center" valignment="top" usebox="none">
20388 \begin_layout Plain Layout
20394 <cell alignment="center" valignment="top" usebox="none">
20397 \begin_layout Plain Layout
20403 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20406 \begin_layout Plain Layout
20410 \begin_layout Plain Layout
20418 arrayrulecolor{magenta}%
20430 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20433 \begin_layout Plain Layout
20437 \begin_layout Plain Layout
20441 multicolumn{1}{|c!{
20454 \begin_layout Plain Layout
20466 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20469 \begin_layout Plain Layout
20473 \begin_layout Plain Layout
20490 \begin_layout Plain Layout
20502 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20505 \begin_layout Plain Layout
20509 \begin_layout Plain Layout
20526 \begin_layout Plain Layout
20538 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20541 \begin_layout Plain Layout
20545 \begin_layout Plain Layout
20562 \begin_layout Plain Layout
20574 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20577 \begin_layout Plain Layout
20581 \begin_layout Plain Layout
20598 \begin_layout Plain Layout
20610 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20613 \begin_layout Plain Layout
20617 \begin_layout Plain Layout
20634 \begin_layout Plain Layout
20646 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20649 \begin_layout Plain Layout
20653 \begin_layout Plain Layout
20657 multicolumn{1}{c|}{
20666 \begin_layout Plain Layout
20680 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20683 \begin_layout Plain Layout
20687 \begin_layout Plain Layout
20691 arrayrulecolor{black}
20701 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20704 \begin_layout Plain Layout
20710 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20713 \begin_layout Plain Layout
20719 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20722 \begin_layout Plain Layout
20728 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20731 \begin_layout Plain Layout
20737 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20740 \begin_layout Plain Layout
20746 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20749 \begin_layout Plain Layout
20768 \begin_layout Standard
20772 \begin_layout Plain Layout
20778 arrayrulewidth}{0.4pt}
20786 \begin_layout Section
20787 Rotated Table Cells
20788 \begin_inset CommandInset label
20790 name "sec:Rotated-Table-Cells"
20795 \begin_inset Index idx
20798 \begin_layout Plain Layout
20799 Table ! Rotated Cells
20805 \begin_inset Index idx
20808 \begin_layout Plain Layout
20817 \begin_layout Standard
20818 \begin_inset Note Greyedout
20821 \begin_layout Plain Layout
20826 Not all DVI-viewers are able to display rotations.
20834 \begin_layout Standard
20836 \begin_inset space ~
20840 \begin_inset CommandInset ref
20842 reference "tab:Table-with-rotated"
20849 is an example where 3
20850 \begin_inset space ~
20853 cells were rotated by 45
20854 \begin_inset space \thinspace{}
20860 \begin_layout Standard
20861 \begin_inset Float table
20868 \begin_layout Plain Layout
20869 \begin_inset Caption Standard
20871 \begin_layout Plain Layout
20872 \begin_inset CommandInset label
20874 name "tab:Table-with-rotated"
20878 Table with rotated cells in the first row.
20886 \begin_layout Plain Layout
20889 \begin_inset Tabular
20890 <lyxtabular version="3" rows="2" columns="3">
20891 <features tabularvalignment="middle">
20892 <column alignment="center" valignment="top" width="0pt">
20893 <column alignment="center" valignment="top" width="0pt">
20894 <column alignment="center" valignment="top" width="0pt">
20896 <cell alignment="center" valignment="top" rotate="45" usebox="none">
20899 \begin_layout Plain Layout
20905 <cell alignment="center" valignment="top" rotate="45" usebox="none">
20908 \begin_layout Plain Layout
20914 <cell alignment="center" valignment="top" rotate="45" usebox="none">
20917 \begin_layout Plain Layout
20925 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20928 \begin_layout Plain Layout
20934 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20937 \begin_layout Plain Layout
20943 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20946 \begin_layout Plain Layout
20965 \begin_layout Standard
20966 \begin_inset Note Greyedout
20969 \begin_layout Plain Layout
20974 Line breaks (shortcut
20977 arg "newline-insert newline"
20980 ) are not allowed in rotated cells.
20988 \begin_layout Standard
20989 If you want to rotate table cells containing line breaks, you have to put
20990 the cell content into a minipage or a parbox.
20994 \begin_layout Plain Layout
20995 For more about these boxes see sec.
20996 \begin_inset space \thinspace{}
21000 \begin_inset CommandInset ref
21002 reference "sec:Minipages"
21007 \begin_inset CommandInset ref
21009 reference "sec:Parboxes"
21018 If you rotate this cell by 90
21019 \begin_inset space \thinspace{}
21022 ° the width of the box is the height of the cell.
21023 To avoid to estimate a suitable box width one can use a minipage with a
21025 Such a box is inserted by loading the module
21028 \begin_inset space ~
21033 in the document settings.
21034 Then one can use the menu
21036 Insert\SpecialChar menuseparator
21038 \begin_inset space ~
21041 Insets\SpecialChar menuseparator
21043 \begin_inset space ~
21049 \begin_inset space ~
21054 \begin_inset space ~
21058 \begin_inset CommandInset ref
21060 reference "tab:Table-with-rotated-multi"
21064 is an example for a rotated multiline cell where a variable width minipage
21068 \begin_layout Standard
21069 \begin_inset Float table
21076 \begin_layout Plain Layout
21077 \begin_inset Caption Standard
21079 \begin_layout Plain Layout
21080 \begin_inset CommandInset label
21082 name "tab:Table-with-rotated-multi"
21086 Table with rotated multiline cell.
21094 \begin_layout Plain Layout
21097 \begin_inset Tabular
21098 <lyxtabular version="3" rows="2" columns="3">
21099 <features tabularvalignment="middle">
21100 <column alignment="center" valignment="top">
21101 <column alignment="center" valignment="top" width="0pt">
21102 <column alignment="center" valignment="top">
21104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21107 \begin_layout Plain Layout
21113 <cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
21116 \begin_layout Plain Layout
21117 \begin_inset Flex Minipage (Var. Width)
21120 \begin_layout Plain Layout
21122 \begin_inset Newline newline
21126 \begin_inset space ~
21139 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21142 \begin_layout Plain Layout
21150 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21153 \begin_layout Plain Layout
21159 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21162 \begin_layout Plain Layout
21168 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21171 \begin_layout Plain Layout
21190 \begin_layout Section
21191 Table Width Calculation
21192 \begin_inset CommandInset label
21194 name "sec:Table-Width-Calculation"
21201 \begin_layout Standard
21202 For wide tables it is sometimes difficult to assure that the table does
21203 not protrude over the page margin.
21204 Setting a fixed width for every column of the table is the solution, but
21205 what amount of space is needed for each column?
21208 \begin_layout Standard
21210 \begin_inset Formula $W_{\mathrm{table}}$
21213 can be calculated: Every column has the width of the specified column width
21215 \begin_inset Formula $W_{\mathrm{column}}$
21218 (that the content of the column can consume) plus two times the separation
21219 between the column content and the column border (\SpecialChar LaTeX
21227 \begin_inset space \thinspace{}
21230 pt) plus the width of a border line (\SpecialChar LaTeX
21238 \begin_inset space \thinspace{}
21242 \begin_inset Formula $n$
21246 \begin_inset space ~
21249 columns have the same width, the table width is
21250 \begin_inset Formula
21252 W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
21260 \begin_layout Standard
21261 The available width for a table is the space between the page margins or
21262 the width of a text column (for a two-column document) (\SpecialChar LaTeX
21270 If all table columns should have the same width and
21271 \begin_inset Formula $W_{\mathrm{table}}$
21275 \begin_inset space \thinspace{}
21281 \begin_inset Formula $W_{\mathrm{column}}$
21284 can easily be calculated.
21287 \begin_layout Standard
21288 To be able to perform calculations you need to load the \SpecialChar LaTeX
21294 \begin_inset Index idx
21297 \begin_layout Plain Layout
21304 in the document preamble.
21305 To set the width in the table dialog you have to use the field
21311 The command scheme for this field is the same that is explained in section
21312 \begin_inset space ~
21316 \begin_inset CommandInset ref
21318 reference "subsec:Multicolumn-Calculations"
21324 \begin_inset space \thinspace{}
21327 columns with an uniform width and centered text, enter there for each column
21331 \begin_layout Standard
21338 columnwidth-62.4pt)/5}
21341 \begin_layout Standard
21343 \begin_inset space \thinspace{}
21346 columns where 2 should have 0.75
21347 \begin_inset space ~
21350 times the width than the 3 others, the calculation is
21351 \begin_inset Formula
21353 \backslash\mbox{columnwidth} & =3\,W_{\mathrm{column}}+2\cdot0.75\,W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
21354 & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
21355 & =4.5\,W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
21356 W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
21364 \begin_layout Standard
21365 In the table therefore the command
21368 \begin_layout Standard
21375 columnwidth-62.4pt)/
21380 \begin_layout Standard
21381 is used for the wider columns and
21384 \begin_layout Standard
21391 columnwidth-62.4pt)/
21398 \begin_layout Standard
21399 for the smaller ones:
21402 \begin_layout Standard
21403 \begin_inset Tabular
21404 <lyxtabular version="3" rows="2" columns="5">
21405 <features tabularvalignment="middle">
21406 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21407 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21408 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21409 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21410 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21412 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21415 \begin_layout Plain Layout
21421 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21424 \begin_layout Plain Layout
21430 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21433 \begin_layout Plain Layout
21439 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21442 \begin_layout Plain Layout
21448 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21451 \begin_layout Plain Layout
21459 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21462 \begin_layout Plain Layout
21463 111111 1111111 111111 111111111 11111 11111 1111
21468 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21471 \begin_layout Plain Layout
21477 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21480 \begin_layout Plain Layout
21481 2222 22222 222222 222222222 2222222 22 22222
21486 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21489 \begin_layout Plain Layout
21495 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21498 \begin_layout Plain Layout
21499 333333 333333 333333 33333 3333333 333
21512 \begin_layout Section
21513 Table Customization
21514 \begin_inset Index idx
21517 \begin_layout Plain Layout
21518 Table Customization
21524 \begin_inset Index idx
21527 \begin_layout Plain Layout
21528 Table ! Customization
21536 \begin_layout Subsection
21538 \begin_inset CommandInset label
21540 name "subsec:Row-Spacing"
21545 \begin_inset Index idx
21548 \begin_layout Plain Layout
21549 Table Customization ! Row Spacing
21557 \begin_layout Standard
21558 You can add vertical space to table rows in the
21562 tab of the table dialog.
21563 You find there three possibilities:
21566 \begin_layout Description
21568 \begin_inset space ~
21572 \begin_inset space ~
21575 row will add space above the characters of the table row.
21576 If the table is a formal table
21580 \begin_layout Plain Layout
21581 Formal tables are explained in section
21582 \begin_inset space ~
21586 \begin_inset CommandInset ref
21588 reference "sec:Formal-Tables"
21598 will insert as default 0.5
21599 \begin_inset space \thinspace{}
21603 For normal tables the inserted space will unfortunately destroy the vertical
21604 table lines as in the following table:
21605 \begin_inset VSpace medskip
21609 \begin_inset Newline newline
21613 \begin_inset space \hspace*{}
21618 \begin_inset space \hfill{}
21622 \begin_inset Tabular
21623 <lyxtabular version="3" rows="3" columns="1">
21624 <features tabularvalignment="middle">
21625 <column alignment="center" valignment="top">
21627 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21630 \begin_layout Plain Layout
21637 <row topspace="3mm">
21638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21641 \begin_layout Plain Layout
21643 \begin_inset space \thinspace{}
21646 mm space top of row
21653 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21656 \begin_layout Plain Layout
21668 \begin_inset space \hfill{}
21672 \begin_inset space \hspace*{}
21677 \begin_inset VSpace medskip
21681 \begin_inset Newline newline
21684 So inserting space in the top of row for normal tables is only useful when
21685 you don't have vertical lines.
21688 \begin_layout Description
21690 \begin_inset space ~
21694 \begin_inset space ~
21697 row will add space below the characters of the table row.
21698 If the table is a formal table \SpecialChar LyX
21699 will insert as default 0.5
21700 \begin_inset space \thinspace{}
21703 em space, for normal tables the default size is 2
21704 \begin_inset space \thinspace{}
21710 \begin_layout Description
21712 \begin_inset space ~
21715 rows adds space between the current and the following row.
21716 If the table is a formal table \SpecialChar LyX
21717 will insert as default 0.5
21718 \begin_inset space \thinspace{}
21722 For normal tables the inserted space will unfortunately destroy the vertical
21723 table lines as in the following table:
21724 \begin_inset VSpace medskip
21728 \begin_inset Newline newline
21732 \begin_inset space \hspace*{}
21737 \begin_inset space \hfill{}
21741 \begin_inset Tabular
21742 <lyxtabular version="3" rows="3" columns="1">
21743 <features tabularvalignment="middle">
21744 <column alignment="center" valignment="top">
21746 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21749 \begin_layout Plain Layout
21756 <row interlinespace="3mm">
21757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21760 \begin_layout Plain Layout
21761 \begin_inset Formula $\downarrow$
21765 \begin_inset space \thinspace{}
21768 mm space between row
21769 \begin_inset Formula $\downarrow$
21779 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21782 \begin_layout Plain Layout
21783 \begin_inset Formula $\uparrow$
21787 \begin_inset space \thinspace{}
21790 mm space between row
21791 \begin_inset Formula $\uparrow$
21805 \begin_inset space \hfill{}
21809 \begin_inset space \hspace*{}
21814 \begin_inset VSpace medskip
21818 \begin_inset Newline newline
21821 So inserting space between rows for normal tables is only useful when you
21822 don't have vertical lines.
21825 \begin_layout Standard
21826 \begin_inset VSpace bigskip
21829 When you want to add extra height to all cells of all tables, you can do
21830 this with the following preamble lines:
21833 \begin_layout Standard
21838 @ifundefined{extrarowheight}
21839 \begin_inset Newline newline
21843 \begin_inset Phantom HPhantom
21846 \begin_layout Plain Layout
21849 \begin_inset space ~
21859 usepackage{array}}{}
21860 \begin_inset Newline newline
21867 extrarowheight}{height}
21870 \begin_inset Note Note
21873 \begin_layout Plain Layout
21878 will be loaded automatically by \SpecialChar LyX
21879 when you use self defined table formats.
21880 To avoid that it is loaded twice the command
21886 is used in the above command.
21894 \begin_layout Standard
21899 can have one of the units listed in appendix
21900 \begin_inset space ~
21904 \begin_inset CommandInset ref
21906 reference "cha:Units-available-in"
21911 But this has the disadvantage that the cell texts are no longer exactly
21912 vertically centered.
21915 \begin_layout Standard
21916 If you are using font sizes larger than the normal size, the table borders
21917 are often too close to the letters.
21918 This can be corrected by inserting the command
21924 in \SpecialChar TeX
21925 Code at the beginning of a table row.
21927 \begin_inset space ~
21931 \begin_inset CommandInset ref
21933 reference "tab:Vertical-alignment-of"
21937 illustrates the effect.
21940 \begin_layout Standard
21942 \begin_inset Float table
21949 \begin_layout Plain Layout
21950 \begin_inset Caption Standard
21952 \begin_layout Plain Layout
21953 \begin_inset CommandInset label
21955 name "tab:Vertical-alignment-of"
21959 Vertical alignment of text with large font sizes.
21967 \begin_layout Plain Layout
21968 \begin_inset space \hfill{}
21972 \begin_inset Float table
21979 \begin_layout Plain Layout
21980 \begin_inset Caption Standard
21982 \begin_layout Plain Layout
21991 \begin_layout Plain Layout
21994 \begin_inset Tabular
21995 <lyxtabular version="3" rows="6" columns="1">
21996 <features tabularvalignment="middle">
21997 <column alignment="left" valignment="top">
21999 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22002 \begin_layout Plain Layout
22010 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22013 \begin_layout Plain Layout
22023 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22026 \begin_layout Plain Layout
22036 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22039 \begin_layout Plain Layout
22049 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22052 \begin_layout Plain Layout
22062 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22065 \begin_layout Plain Layout
22084 \begin_inset space \hfill{}
22088 \begin_inset Float table
22095 \begin_layout Plain Layout
22096 \begin_inset Caption Standard
22098 \begin_layout Plain Layout
22099 Table using the command
22113 \begin_layout Plain Layout
22116 \begin_inset Tabular
22117 <lyxtabular version="3" rows="6" columns="1">
22118 <features tabularvalignment="middle">
22119 <column alignment="left" valignment="top">
22121 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22124 \begin_layout Plain Layout
22132 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22135 \begin_layout Plain Layout
22141 \begin_layout Plain Layout
22157 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22160 \begin_layout Plain Layout
22166 \begin_layout Plain Layout
22182 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22185 \begin_layout Plain Layout
22191 \begin_layout Plain Layout
22207 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22210 \begin_layout Plain Layout
22216 \begin_layout Plain Layout
22232 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22235 \begin_layout Plain Layout
22241 \begin_layout Plain Layout
22268 \begin_inset space \hfill{}
22279 \begin_layout Subsection
22280 Special Cell Alignment
22281 \begin_inset CommandInset label
22283 name "subsec:Special-Cell-Alignment"
22288 \begin_inset Index idx
22291 \begin_layout Plain Layout
22292 Table Customization ! Special Cell Alignment
22300 \begin_layout Standard
22301 Sometimes it looks better when the cell entries of a column are aligned
22302 with a special character, e.
22303 \begin_inset space \thinspace{}
22307 \begin_inset space \space{}
22310 with the decimal separator as in Table
22311 \begin_inset space ~
22315 \begin_inset CommandInset ref
22317 reference "tab:Table-cells-align"
22322 This alignment is achieved by setting the cursor into the column and then
22323 either pressing the toolbar button
22326 arg "tabular-feature align-decimal"
22329 or setting the alignment in the table settings to
22332 \begin_inset space ~
22336 \begin_inset space ~
22342 The alignment character can be a character of your choice and is specified
22343 in the table settings.
22346 \begin_layout Standard
22347 \begin_inset Float table
22354 \begin_layout Plain Layout
22355 \begin_inset Caption Standard
22357 \begin_layout Plain Layout
22358 \begin_inset CommandInset label
22360 name "tab:Table-cells-align"
22364 Table cells of a column aligned with the decimal separator.
22372 \begin_layout Plain Layout
22374 \begin_inset Tabular
22375 <lyxtabular version="3" rows="4" columns="1">
22376 <features booktabs="true" tabularvalignment="middle">
22377 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
22379 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22382 \begin_layout Plain Layout
22390 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22393 \begin_layout Plain Layout
22401 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22404 \begin_layout Plain Layout
22412 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22415 \begin_layout Plain Layout
22434 \begin_layout Standard
22435 \begin_inset Float table
22442 \begin_layout Plain Layout
22443 \begin_inset Caption Standard
22445 \begin_layout Plain Layout
22446 \begin_inset CommandInset label
22448 name "tab:Table-align-operator"
22452 Table cells of a column aligned with the operators.
22460 \begin_layout Plain Layout
22462 \begin_inset Tabular
22463 <lyxtabular version="3" rows="4" columns="2">
22464 <features booktabs="true" tabularvalignment="middle">
22465 <column alignment="right" valignment="top" width="0pt">
22466 <column alignment="left" valignment="top" width="0pt" special="@{}l">
22468 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
22471 \begin_layout Plain Layout
22477 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22480 \begin_layout Plain Layout
22488 <cell alignment="center" valignment="top" usebox="none">
22491 \begin_layout Plain Layout
22492 \begin_inset Formula $12\,+$
22500 <cell alignment="center" valignment="top" usebox="none">
22503 \begin_layout Plain Layout
22504 \begin_inset Formula $\,6$
22514 <cell alignment="center" valignment="top" usebox="none">
22517 \begin_layout Plain Layout
22518 \begin_inset Formula $0\,-$
22526 <cell alignment="center" valignment="top" usebox="none">
22529 \begin_layout Plain Layout
22530 \begin_inset Formula $\,68$
22540 <cell alignment="center" valignment="top" usebox="none">
22543 \begin_layout Plain Layout
22544 \begin_inset Formula $-123\,/$
22552 <cell alignment="center" valignment="top" usebox="none">
22555 \begin_layout Plain Layout
22556 \begin_inset Formula $\,0$
22577 \begin_layout Standard
22578 For alignments at characters in formulas this method does not work because
22579 the field to specify the alignment character does not allow formulas.
22580 In this case one need to use the method from Table
22581 \begin_inset space ~
22585 \begin_inset CommandInset ref
22587 reference "tab:Table-align-operator"
22592 This table was created with a 4×2 table.
22593 The heading is a centered multicolumn.
22594 The first column is right-aligned and contains the first part including
22596 The second column is left aligned and contains the rest.
22597 A small space was added at the beginning of each cell of the second column
22598 to get the space that is usually around operators.
22599 To omit the space that is normally between two table columns, the following
22601 -argument was used for the second column:
22604 \begin_layout Standard
22610 \begin_layout Standard
22612 \begin_inset space ~
22616 \begin_inset CommandInset ref
22618 reference "tab:Several-table-cell"
22622 shows some example alignments.
22623 For the alignment with the relation sign, a small space was added like
22624 for the second column of Table
22625 \begin_inset space ~
22629 \begin_inset CommandInset ref
22631 reference "tab:Table-align-operator"
22638 \begin_layout Standard
22639 \begin_inset Float table
22646 \begin_layout Plain Layout
22647 \begin_inset Caption Standard
22649 \begin_layout Plain Layout
22650 \begin_inset CommandInset label
22652 name "tab:Several-table-cell"
22656 Several table cell alignments.
22664 \begin_layout Plain Layout
22666 \begin_inset Tabular
22667 <lyxtabular version="3" rows="4" columns="6">
22668 <features tabularvalignment="middle">
22669 <column alignment="right" valignment="top">
22670 <column alignment="left" valignment="top" special="@{}l">
22671 <column alignment="right" valignment="top">
22672 <column alignment="left" valignment="top" special="@{}l">
22673 <column alignment="right" valignment="top">
22674 <column alignment="left" valignment="top" special="@{}l">
22676 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
22679 \begin_layout Plain Layout
22685 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22688 \begin_layout Plain Layout
22694 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
22697 \begin_layout Plain Layout
22703 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22706 \begin_layout Plain Layout
22712 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
22715 \begin_layout Plain Layout
22721 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22724 \begin_layout Plain Layout
22732 <cell alignment="center" valignment="top" usebox="none">
22735 \begin_layout Plain Layout
22741 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22744 \begin_layout Plain Layout
22746 \begin_inset space \thinspace{}
22754 <cell alignment="center" valignment="top" usebox="none">
22757 \begin_layout Plain Layout
22758 \begin_inset Formula $10\cdot$
22766 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22769 \begin_layout Plain Layout
22770 \begin_inset Formula $10^{\mbox{-}17}$
22778 <cell alignment="center" valignment="top" usebox="none">
22781 \begin_layout Plain Layout
22782 \begin_inset Formula $\Gamma(t)\propto$
22790 <cell alignment="center" valignment="top" usebox="none">
22793 \begin_layout Plain Layout
22794 \begin_inset Formula $\:\Upsilon(t)$
22804 <cell alignment="center" valignment="top" usebox="none">
22807 \begin_layout Plain Layout
22813 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22816 \begin_layout Plain Layout
22818 \begin_inset space \thinspace{}
22826 <cell alignment="center" valignment="top" usebox="none">
22829 \begin_layout Plain Layout
22830 \begin_inset Formula $5.78\cdot$
22838 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22841 \begin_layout Plain Layout
22842 \begin_inset Formula $10^{7}$
22850 <cell alignment="center" valignment="top" usebox="none">
22853 \begin_layout Plain Layout
22854 \begin_inset Formula $A\ne$
22862 <cell alignment="center" valignment="top" usebox="none">
22865 \begin_layout Plain Layout
22866 \begin_inset Formula $\:B_{\mathrm{red}}$
22876 <cell alignment="center" valignment="top" usebox="none">
22879 \begin_layout Plain Layout
22885 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22888 \begin_layout Plain Layout
22890 \begin_inset space \thinspace{}
22898 <cell alignment="center" valignment="top" usebox="none">
22901 \begin_layout Plain Layout
22903 \begin_inset Formula $33.5\cdot$
22911 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22914 \begin_layout Plain Layout
22915 \begin_inset Formula $10^{4}$
22923 <cell alignment="center" valignment="top" usebox="none">
22926 \begin_layout Plain Layout
22927 \begin_inset Formula $\sin(\alpha)\ge$
22935 <cell alignment="center" valignment="top" usebox="none">
22938 \begin_layout Plain Layout
22939 \begin_inset Formula $\:\sin(\beta)$
22960 \begin_layout Subsection
22961 Customized Cell/Column Format
22962 \begin_inset CommandInset label
22964 name "subsec:Customized-Format"
22969 \begin_inset Index idx
22972 \begin_layout Plain Layout
22973 Table Customization ! Cell/Column Format
22981 \begin_layout Standard
22982 Calculating the required width for normal columns as described in section
22983 \begin_inset space ~
22987 \begin_inset CommandInset ref
22989 reference "sec:Table-Width-Calculation"
22993 or for spanned columns as described in section
22994 \begin_inset space ~
22998 \begin_inset CommandInset ref
23000 reference "subsec:Multicolumn-Calculations"
23004 is very annoying if you have several tables where a calculation is necessary.
23005 To make life easier, you can define a cell/column format in the preamble,
23006 that can be used in all tables of the document.
23007 The format is defined with the command
23010 \begin_layout Standard
23015 newcolumntype{name of format}[number of arguments]{commands}
23018 \begin_layout Standard
23019 The format name may only consist of one letter.
23044 are predefined and cannot be used.
23045 But all letters are allowed as capitals.
23048 \begin_layout Standard
23049 \begin_inset VSpace medskip
23055 \begin_layout Standard
23056 For vertically and horizontally centered multicolumn cells with a fixed
23057 width you can define the cell format
23060 \begin_layout Standard
23065 newcolumntype{M}[1]{>{
23072 \begin_layout Standard
23079 avoids the problem of hyphenating the first word, as described in section
23080 \begin_inset space ~
23084 \begin_inset CommandInset ref
23086 reference "subsec:Multiple-Lines-in"
23091 Now you can simply enter
23094 \begin_layout Standard
23100 \begin_layout Standard
23106 in the table dialog to create a multicolumn.
23109 \begin_layout Standard
23110 \begin_inset VSpace bigskip
23116 \begin_layout Standard
23117 For cells spanned by a multicolumn cell, you can define the format
23120 \begin_layout Standard
23125 newcolumntype{S}[2]{>{
23130 \begin_inset Newline newline
23134 \begin_inset Phantom HPhantom
23137 \begin_layout Plain Layout
23151 arrayrulewidth)*(1-#2))/#2}}
23154 \begin_layout Standard
23155 This format uses equation
23156 \begin_inset CommandInset ref
23162 to calculate the required width so that each spanned cell has the same
23166 \begin_layout Standard
23170 \begin_layout Standard
23173 S{width of multicolumn cell}{number of spanned columns}
23176 \begin_layout Standard
23177 as \SpecialChar LaTeX
23178 -argument of the column.
23181 \begin_layout Standard
23182 \begin_inset VSpace bigskip
23188 \begin_layout Standard
23189 For colored columns, you can define
23192 \begin_layout Standard
23197 newcolumntype{K}[1]{>{
23204 \begin_layout Standard
23206 \begin_inset Quotes eld
23210 \begin_inset Quotes erd
23213 at the end creates a column with a flexible width whose text is horizontally
23218 \begin_layout Standard
23224 \begin_layout Standard
23225 as \SpecialChar LaTeX
23229 \begin_layout Standard
23230 \begin_inset VSpace bigskip
23236 \begin_layout Standard
23238 \begin_inset space ~
23242 \begin_inset CommandInset ref
23244 reference "tab:Table-using-user-defined"
23248 use the \SpecialChar LaTeX
23252 \begin_layout Standard
23258 \begin_layout Standard
23259 for the first column and the multicolumn,
23262 \begin_layout Standard
23268 \begin_layout Standard
23269 for the last column, and
23272 \begin_layout Standard
23278 \begin_layout Standard
23279 for the cells in the second column.
23282 \begin_layout Standard
23283 \begin_inset Float table
23290 \begin_layout Plain Layout
23291 \begin_inset Caption Standard
23293 \begin_layout Plain Layout
23294 \begin_inset CommandInset label
23296 name "tab:Table-using-user-defined"
23300 Table using user-defined table formats
23308 \begin_layout Plain Layout
23310 \begin_inset Tabular
23311 <lyxtabular version="3" rows="3" columns="4">
23312 <features tabularvalignment="middle">
23313 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
23314 <column alignment="center" valignment="middle" special="S{2.5cm}{2}">
23315 <column alignment="center" valignment="middle">
23316 <column alignment="center" valignment="middle" special="K{red}">
23318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23321 \begin_layout Plain Layout
23322 verylongtablecellword
23327 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
23330 \begin_layout Plain Layout
23331 multiple lines multicolumn
23336 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23339 \begin_layout Plain Layout
23345 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23348 \begin_layout Plain Layout
23356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23359 \begin_layout Plain Layout
23365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23368 \begin_layout Plain Layout
23374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23377 \begin_layout Plain Layout
23383 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23386 \begin_layout Plain Layout
23394 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23397 \begin_layout Plain Layout
23403 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23406 \begin_layout Plain Layout
23412 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23415 \begin_layout Plain Layout
23421 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23424 \begin_layout Plain Layout
23443 \begin_layout Subsection
23445 \begin_inset CommandInset label
23447 name "subsec:Line-Thickness"
23452 \begin_inset Index idx
23455 \begin_layout Plain Layout
23456 Table Customization ! Line Thickness
23464 \begin_layout Standard
23465 The line thickness for all lines in a table can be adjusted with the length
23473 To set for example a line thickness of 1.5
23474 \begin_inset space \thinspace{}
23478 \begin_inset space ~
23482 \begin_inset CommandInset ref
23484 reference "tab:Table-with-1.5"
23488 , insert the command
23491 \begin_layout Standard
23498 arrayrulewidth}{1.5pt}
23501 \begin_layout Standard
23502 in \SpecialChar TeX
23503 Code before the table or table float.
23504 The changed thickness is valid for all subsequent tables.
23505 To use the default value again, set
23512 \begin_inset space \thinspace{}
23515 pt in \SpecialChar TeX
23516 Code after the table or table float.
23519 \begin_layout Standard
23523 \begin_layout Plain Layout
23529 arrayrulewidth}{1.5pt}
23535 \begin_inset Float table
23542 \begin_layout Plain Layout
23543 \begin_inset Caption Standard
23545 \begin_layout Plain Layout
23546 \begin_inset CommandInset label
23548 name "tab:Table-with-1.5"
23553 \begin_inset space \thinspace{}
23564 \begin_layout Plain Layout
23566 \begin_inset Tabular
23567 <lyxtabular version="3" rows="3" columns="3">
23568 <features tabularvalignment="middle">
23569 <column alignment="center" valignment="top">
23570 <column alignment="center" valignment="top">
23571 <column alignment="center" valignment="top">
23573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23576 \begin_layout Plain Layout
23582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23585 \begin_layout Plain Layout
23591 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23594 \begin_layout Plain Layout
23602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23605 \begin_layout Plain Layout
23611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23614 \begin_layout Plain Layout
23620 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23623 \begin_layout Plain Layout
23631 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23634 \begin_layout Plain Layout
23640 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23643 \begin_layout Plain Layout
23649 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23652 \begin_layout Plain Layout
23672 \begin_layout Plain Layout
23678 arrayrulewidth}{0.4pt}
23686 \begin_layout Standard
23687 \begin_inset VSpace bigskip
23690 To set the line thickness to 1.5
23691 \begin_inset space \thinspace{}
23694 pt only for horizontal lines, as in Table
23695 \begin_inset space ~
23699 \begin_inset CommandInset ref
23701 reference "tab:Table-with-horizontal"
23705 , insert these commands in \SpecialChar TeX
23706 Code before the table or table float:
23709 \begin_layout Standard
23719 \begin_inset Newline newline
23727 \begin_inset Newline newline
23736 arrayrulewidth 1.5pt}
23737 \begin_inset Newline newline
23748 arrayrulewidth 0.4pt}}
23751 \begin_layout Standard
23752 To return to the default line thickness, insert this command in \SpecialChar TeX
23754 the table or table float:
23757 \begin_layout Standard
23769 \begin_layout Standard
23773 \begin_layout Plain Layout
23784 \begin_layout Plain Layout
23793 \begin_layout Plain Layout
23801 arrayrulewidth 1.5pt}
23804 \begin_layout Plain Layout
23814 arrayrulewidth 0.4pt}}
23820 \begin_inset Float table
23827 \begin_layout Plain Layout
23828 \begin_inset Caption Standard
23830 \begin_layout Plain Layout
23831 \begin_inset CommandInset label
23833 name "tab:Table-with-horizontal"
23838 \begin_inset space \thinspace{}
23841 pt thick horizontal lines
23849 \begin_layout Plain Layout
23851 \begin_inset Tabular
23852 <lyxtabular version="3" rows="3" columns="3">
23853 <features tabularvalignment="middle">
23854 <column alignment="center" valignment="top">
23855 <column alignment="center" valignment="top">
23856 <column alignment="center" valignment="top">
23858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23861 \begin_layout Plain Layout
23867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23870 \begin_layout Plain Layout
23876 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23879 \begin_layout Plain Layout
23887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23890 \begin_layout Plain Layout
23896 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23899 \begin_layout Plain Layout
23905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23908 \begin_layout Plain Layout
23916 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23919 \begin_layout Plain Layout
23925 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23928 \begin_layout Plain Layout
23934 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23937 \begin_layout Plain Layout
23957 \begin_layout Plain Layout
23973 \begin_layout Standard
23974 \begin_inset VSpace bigskip
23977 To set the line thickness to 1.5
23978 \begin_inset space \thinspace{}
23981 pt only for vertical lines, create the following column format in the document
23982 preamble, according to the description in section
23983 \begin_inset space ~
23987 \begin_inset CommandInset ref
23989 reference "subsec:Customized-Format"
23996 \begin_layout Standard
24001 newcolumntype{V}{!{
24003 vrule width 1.5pt}}
24006 \begin_layout Standard
24008 \begin_inset space ~
24012 \begin_inset CommandInset ref
24014 reference "tab:Table-with-vertical"
24018 the \SpecialChar LaTeX
24022 \begin_layout Standard
24028 \begin_layout Standard
24029 was used for the last column and
24032 \begin_layout Standard
24038 \begin_layout Standard
24039 for the other columns.
24042 \begin_layout Standard
24043 \begin_inset Float table
24050 \begin_layout Plain Layout
24051 \begin_inset Caption Standard
24053 \begin_layout Plain Layout
24054 \begin_inset CommandInset label
24056 name "tab:Table-with-vertical"
24061 \begin_inset space \thinspace{}
24064 pt thick vertical lines
24072 \begin_layout Plain Layout
24074 \begin_inset Tabular
24075 <lyxtabular version="3" rows="3" columns="3">
24076 <features tabularvalignment="middle">
24077 <column alignment="center" valignment="top" special="Vc">
24078 <column alignment="center" valignment="top" special="Vc">
24079 <column alignment="center" valignment="top" special="VcV">
24081 <cell alignment="center" valignment="top" topline="true" usebox="none">
24084 \begin_layout Plain Layout
24090 <cell alignment="center" valignment="top" topline="true" usebox="none">
24093 \begin_layout Plain Layout
24099 <cell alignment="center" valignment="top" topline="true" usebox="none">
24102 \begin_layout Plain Layout
24110 <cell alignment="center" valignment="top" topline="true" usebox="none">
24113 \begin_layout Plain Layout
24119 <cell alignment="center" valignment="top" topline="true" usebox="none">
24122 \begin_layout Plain Layout
24128 <cell alignment="center" valignment="top" topline="true" usebox="none">
24131 \begin_layout Plain Layout
24139 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24142 \begin_layout Plain Layout
24148 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24151 \begin_layout Plain Layout
24157 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24160 \begin_layout Plain Layout
24179 \begin_layout Subsection
24181 \begin_inset Index idx
24184 \begin_layout Plain Layout
24185 Table Customization ! Dashed Lines
24193 \begin_layout Standard
24197 \begin_layout Plain Layout
24207 \begin_inset Note Note
24210 \begin_layout Plain Layout
24211 The following section will only be displayed when the \SpecialChar LaTeX
24224 \begin_layout Standard
24225 \begin_inset Float table
24232 \begin_layout Plain Layout
24233 \begin_inset Caption Standard
24235 \begin_layout Plain Layout
24236 \begin_inset CommandInset label
24238 name "tab:Table-with-dashed"
24242 Table with dashed lines
24250 \begin_layout Plain Layout
24252 \begin_inset Tabular
24253 <lyxtabular version="3" rows="5" columns="5">
24254 <features tabularvalignment="middle">
24255 <column alignment="center" valignment="top">
24256 <column alignment="center" valignment="top">
24257 <column alignment="center" valignment="top" special=":c">
24258 <column alignment="center" valignment="top">
24259 <column alignment="center" valignment="top">
24261 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24264 \begin_layout Plain Layout
24270 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24273 \begin_layout Plain Layout
24279 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24282 \begin_layout Plain Layout
24288 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24291 \begin_layout Plain Layout
24297 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24300 \begin_layout Plain Layout
24308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24311 \begin_layout Plain Layout
24317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24320 \begin_layout Plain Layout
24326 <cell alignment="center" valignment="top" topline="true" usebox="none">
24329 \begin_layout Plain Layout
24335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24338 \begin_layout Plain Layout
24344 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24347 \begin_layout Plain Layout
24355 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24358 \begin_layout Plain Layout
24362 \begin_layout Plain Layout
24376 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24379 \begin_layout Plain Layout
24385 <cell alignment="center" valignment="top" usebox="none">
24388 \begin_layout Plain Layout
24394 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24397 \begin_layout Plain Layout
24403 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24406 \begin_layout Plain Layout
24414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24417 \begin_layout Plain Layout
24421 \begin_layout Plain Layout
24435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24438 \begin_layout Plain Layout
24444 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
24447 \begin_layout Plain Layout
24453 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24456 \begin_layout Plain Layout
24462 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24465 \begin_layout Plain Layout
24473 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24476 \begin_layout Plain Layout
24482 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24485 \begin_layout Plain Layout
24491 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24494 \begin_layout Plain Layout
24500 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24503 \begin_layout Plain Layout
24509 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24512 \begin_layout Plain Layout
24531 \begin_layout Standard
24533 does not natively support dashed lines, so you have to use \SpecialChar TeX
24535 As a prerequisite the \SpecialChar LaTeX
24541 \begin_inset Index idx
24544 \begin_layout Plain Layout
24546 -packages ! arydshln
24551 must be loaded in the document preamble with the command
24554 \begin_layout Standard
24559 usepackage{arydshln}
24562 \begin_layout Standard
24563 To make a vertical line dashed, enter the colon
24564 \begin_inset Quotes eld
24568 \begin_inset Quotes erd
24571 together with the character for the horizontal alignment as \SpecialChar LaTeX
24573 the table cell dialog.
24576 \begin_layout Standard
24577 For a horizontal dashed line add the command
24580 \begin_layout Standard
24588 \begin_layout Standard
24589 in \SpecialChar TeX
24590 Code as first element of the first cell in the table row.
24593 \begin_layout Standard
24594 For dashed multicolumn lines use the command
24597 \begin_layout Standard
24602 cdashline{line number
24607 \begin_layout Standard
24608 in \SpecialChar TeX
24609 Code as the first element of the first cell in the table row.
24610 If you have for example a multicolumn spanning columns 2 to 4 and you want
24611 to have a dashed line above, add the command
24614 \begin_layout Standard
24622 \begin_layout Standard
24623 as the first element of the first cell in the row of the multicolumn.
24626 \begin_layout Standard
24627 \begin_inset VSpace bigskip
24633 \begin_layout Standard
24635 \begin_inset space ~
24639 \begin_inset CommandInset ref
24641 reference "tab:Table-with-dashed"
24646 \begin_inset Quotes eld
24654 \begin_inset Quotes erd
24657 as \SpecialChar LaTeX
24658 argument of the third column.
24659 The \SpecialChar TeX
24666 was inserted in the first cell of the third row and the \SpecialChar TeX
24668 \begin_inset Newline newline
24677 was inserted in the first cell of the fourth row.
24680 \begin_layout Standard
24681 \begin_inset VSpace bigskip
24687 \begin_layout Standard
24688 Tables with dashed lines can also be colored as shown by Table
24689 \begin_inset space ~
24693 \begin_inset CommandInset ref
24695 reference "tab:Colored-table-with"
24702 \begin_layout Standard
24706 \begin_layout Plain Layout
24712 arrayrulewidth}{1pt}
24718 \begin_inset Note Note
24721 \begin_layout Plain Layout
24722 thicker lines for better visualization of the line color
24730 \begin_layout Standard
24734 \begin_layout Plain Layout
24738 dashgapcolor{green}
24744 \begin_inset Note Note
24747 \begin_layout Plain Layout
24748 color gaps between dashes green
24756 \begin_layout Standard
24760 \begin_layout Plain Layout
24771 \begin_layout Plain Layout
24780 \begin_layout Plain Layout
24784 arrayrulecolor{red}
24788 arrayrulecolor{black}}
24794 \begin_inset Note Note
24797 \begin_layout Plain Layout
24798 color horizontal, dashed lines red
24806 \begin_layout Standard
24810 \begin_layout Plain Layout
24821 \begin_layout Plain Layout
24830 \begin_layout Plain Layout
24834 arrayrulecolor{yellow}
24838 arrayrulecolor{black}}
24844 \begin_inset Note Note
24847 \begin_layout Plain Layout
24848 color partial horizontal, dashed lines yellow
24856 \begin_layout Standard
24857 \begin_inset Float table
24864 \begin_layout Plain Layout
24865 \begin_inset Caption Standard
24867 \begin_layout Plain Layout
24868 \begin_inset CommandInset label
24870 name "tab:Colored-table-with"
24874 Colored table with dashed lines
24882 \begin_layout Plain Layout
24884 \begin_inset Tabular
24885 <lyxtabular version="3" rows="5" columns="5">
24886 <features tabularvalignment="middle">
24887 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
24888 <column alignment="center" valignment="top" width="0pt">
24889 <column alignment="center" valignment="top" width="0pt" special=":c">
24890 <column alignment="center" valignment="top">
24891 <column alignment="center" valignment="top">
24893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24896 \begin_layout Plain Layout
24902 <cell alignment="center" valignment="top" topline="true" usebox="none">
24905 \begin_layout Plain Layout
24911 <cell alignment="center" valignment="top" topline="true" usebox="none">
24914 \begin_layout Plain Layout
24920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24923 \begin_layout Plain Layout
24929 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24932 \begin_layout Plain Layout
24940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24943 \begin_layout Plain Layout
24949 <cell alignment="center" valignment="top" topline="true" usebox="none">
24952 \begin_layout Plain Layout
24958 <cell alignment="center" valignment="top" topline="true" usebox="none">
24961 \begin_layout Plain Layout
24967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24970 \begin_layout Plain Layout
24976 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24979 \begin_layout Plain Layout
24987 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24990 \begin_layout Plain Layout
24994 \begin_layout Plain Layout
25007 \begin_layout Plain Layout
25021 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25024 \begin_layout Plain Layout
25030 <cell alignment="center" valignment="top" usebox="none">
25033 \begin_layout Plain Layout
25039 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25042 \begin_layout Plain Layout
25048 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25051 \begin_layout Plain Layout
25059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25062 \begin_layout Plain Layout
25066 \begin_layout Plain Layout
25080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25083 \begin_layout Plain Layout
25089 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
25092 \begin_layout Plain Layout
25098 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25101 \begin_layout Plain Layout
25107 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25110 \begin_layout Plain Layout
25118 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25121 \begin_layout Plain Layout
25127 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25130 \begin_layout Plain Layout
25136 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25139 \begin_layout Plain Layout
25145 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25148 \begin_layout Plain Layout
25154 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25157 \begin_layout Plain Layout
25161 \begin_layout Plain Layout
25188 \begin_layout Standard
25192 \begin_layout Plain Layout
25206 \begin_inset Note Note
25209 \begin_layout Plain Layout
25218 \begin_layout Standard
25222 \begin_layout Plain Layout
25236 \begin_inset Note Note
25239 \begin_layout Plain Layout
25248 \begin_layout Standard
25252 \begin_layout Plain Layout
25262 \begin_inset Note Note
25265 \begin_layout Plain Layout
25274 \begin_layout Standard
25278 \begin_layout Plain Layout
25284 arrayrulewidth}{0.4pt}
25290 \begin_inset Note Note
25293 \begin_layout Plain Layout
25302 \begin_layout Standard
25303 The coloring of lines, columns and lines works as decribed in section
25304 \begin_inset space ~
25308 \begin_inset CommandInset ref
25310 reference "sec:Colored-Tables"
25315 Coloring horizontal lines works analogically as described there as well,
25316 one only needs to replace in the commands
25340 ; so one uses the command
25343 \begin_layout Standard
25353 \begin_inset Newline newline
25361 \begin_inset Newline newline
25365 \begin_inset Phantom HPhantom
25368 \begin_layout Plain Layout
25369 \begin_inset space ~
25379 arrayrulecolor{red}
25383 arrayrulecolor{black}}
25386 \begin_layout Standard
25396 \begin_layout Standard
25406 \begin_inset Newline newline
25414 \begin_inset Newline newline
25418 \begin_inset Phantom HPhantom
25421 \begin_layout Plain Layout
25422 \begin_inset space ~
25432 arrayrulecolor{red}
25436 arrayrulecolor{black}}
25439 \begin_layout Standard
25440 To get back the black line color, one needs to insert the following commands
25441 as \SpecialChar TeX
25442 Code behind the table:
25445 \begin_layout Standard
25453 \begin_layout Standard
25465 \begin_layout Standard
25473 \begin_layout Standard
25485 \begin_layout Standard
25486 To color the gaps between the dashes the command
25489 \begin_layout Standard
25494 dashgapcolor{color}
25497 \begin_layout Standard
25498 can be used in front of a table as \SpecialChar TeX
25500 color is hereby the name of a defined color.
25504 \begin_layout Standard
25512 \begin_layout Standard
25513 unsets the changes made by
25522 \begin_layout Standard
25523 \begin_inset Note Greyedout
25526 \begin_layout Plain Layout
25532 : If there are multiple commands in a cell, the command of
25536 needs to be the first one in the cell.
25542 \begin_inset space ~
25546 \begin_inset CommandInset ref
25548 reference "tab:Colored-table-with"
25572 \begin_layout Standard
25573 \begin_inset Note Greyedout
25576 \begin_layout Plain Layout
25582 The \SpecialChar LaTeX
25587 must be loaded in the document preamble before the \SpecialChar LaTeX
25593 \begin_inset Index idx
25596 \begin_layout Plain Layout
25598 -packages ! colortbl
25611 \begin_layout Standard
25615 \begin_layout Plain Layout
25625 \begin_inset Note Note
25628 \begin_layout Plain Layout
25629 The following will be displayed when the \SpecialChar LaTeX
25642 \begin_layout Standard
25643 You need to install the package
25647 to see the content of this section in the output.
25650 \begin_layout Standard
25654 \begin_layout Plain Layout
25666 \begin_layout Standard
25667 For more information about dashed lines see the documentation of
25672 \begin_inset CommandInset citation
25682 \begin_layout Chapter
25684 \begin_inset CommandInset label
25691 \begin_inset Index idx
25694 \begin_layout Plain Layout
25703 \begin_layout Section
25705 \begin_inset CommandInset label
25707 name "sec:FloatIntroduction"
25712 \begin_inset Index idx
25715 \begin_layout Plain Layout
25716 Floats ! Introduction
25724 \begin_layout Standard
25725 A float is a block of text associated with some sort of label, which doesn't
25726 have a fixed location.
25728 \begin_inset Quotes eld
25732 \begin_inset Quotes erd
25735 forward or backward a page or two, to wherever it fits best.
25743 \begin_inset space ~
25748 are also floats because they can float to the next page when there are
25749 too many notes on the page.
25752 \begin_layout Standard
25753 Floats allow a high quality layout.
25754 Images and tables can be spread evenly among the pages to avoid white space
25755 and pages without text.
25756 As the floating often destroys the context between the text and the image/table
25757 , every float can be referenced in the text.
25758 Floats are therefore numbered.
25759 Referencing is described in section
25760 \begin_inset space ~
25764 \begin_inset CommandInset ref
25766 reference "sec:Referencing-Floats"
25773 \begin_layout Standard
25774 To insert a float, use the menu
25776 Insert\SpecialChar menuseparator
25782 arg "float-insert figure"
25788 arg "float-insert table"
25796 inset, a box with a label.
25797 The label will automatically be translated to the document language in
25799 After the label you can insert the caption text.
25800 The image or table is inserted above or below the caption in a separate
25801 paragraph within the float.
25802 More about the caption placement is contained in section
25803 \begin_inset space ~
25807 \begin_inset CommandInset ref
25809 reference "sec:Caption-Placement"
25814 To keep your \SpecialChar LyX
25815 document readable, you can open and close the float box by
25816 left-clicking on the box label.
25817 A closed float box looks like this:
25818 \begin_inset Graphics
25819 filename clipart/float.png
25821 scaleBeforeRotation
25825 – a gray button with a red label.
25828 \begin_layout Standard
25829 It is recommended that you insert floats as separate standard paragraphs
25830 to avoid possible \SpecialChar LaTeX
25831 -errors that can occur when the surrounding text is specially
25835 \begin_layout Standard
25836 Existing figures or tables can be put into a float by highlighting them
25837 and then pressing the corresponding toolbar button for a new float.
25840 \begin_layout Section
25844 \begin_layout Standard
25845 Besides figure and table floats that are described in sections
25846 \begin_inset space ~
25850 \begin_inset CommandInset ref
25852 reference "sec:Figure-Floats"
25857 \begin_inset CommandInset ref
25859 reference "sec:Table-Floats"
25863 respectively, \SpecialChar LyX
25864 offers the float types
25873 The latter are explained in sec.
25874 \begin_inset space \thinspace{}
25878 \begin_inset CommandInset ref
25880 reference "sec:Wrap-Floats"
25887 \begin_layout Subsection
25889 \begin_inset Index idx
25892 \begin_layout Plain Layout
25893 Floats ! Algorithms
25901 \begin_layout Standard
25902 \begin_inset Float algorithm
25909 \begin_layout Plain Layout
25910 \begin_inset Caption Standard
25912 \begin_layout Plain Layout
25913 \begin_inset CommandInset label
25915 name "alg:Example-Algorithm-float"
25919 Example Algorithm float
25927 \begin_layout LyX-Code
25929 \begin_inset Newline newline
25932 Sum:= Sum + A(I); /*comment*/
25933 \begin_inset Newline newline
25937 \begin_inset VSpace -4mm
25948 \begin_layout Standard
25949 This float type is inserted with the menu
25951 Insert\SpecialChar menuseparator
25952 Float\SpecialChar menuseparator
25956 It is used for program codes and descriptions of algorithms and can be
25957 seen as an alternative to program code listings that are explained in chapter
25958 \begin_inset space ~
25962 \begin_inset CommandInset ref
25964 reference "cha:Program-Code-Listings"
25969 A possible environment for algorithms is the
25974 , described in \SpecialChar LyX
25981 \begin_inset space ~
25985 \begin_inset CommandInset ref
25987 reference "alg:Example-Algorithm-float"
25991 is an example of an algorithm float where -4
25992 \begin_inset space \thinspace{}
25995 mm vertical space was added at the end of the float to have the bottom rule
25996 exactly below the last text line.
25999 \begin_layout Standard
26000 The float label is not automatically translated into the document language.
26001 If your document is not in English, you have to do this manually by adding
26002 the following line to the document preamble
26007 \begin_layout Standard
26012 floatname{algorithm}{your
26013 \begin_inset space ~
26019 \begin_layout Standard
26023 \begin_inset space ~
26029 \begin_inset Quotes eld
26037 \begin_inset Quotes erd
26043 \begin_layout Standard
26044 To insert the list of algorithms you can use the menu
26046 Insert\SpecialChar menuseparator
26048 \begin_inset space \thinspace{}
26052 \begin_inset space \thinspace{}
26055 TOC\SpecialChar menuseparator
26058 when your document has the same language as \SpecialChar LyX
26060 In other cases use this command in \SpecialChar TeX
26064 \begin_layout Standard
26069 listof{algorithm}{your
26070 \begin_inset space ~
26076 \begin_layout Standard
26080 \begin_inset space ~
26086 \begin_inset Quotes eld
26094 \begin_inset Quotes erd
26100 \begin_layout Standard
26101 Algorithm floats are not by default numbered in the scheme
26102 \begin_inset Quotes eld
26106 \begin_inset Quotes erd
26109 as is the case for table and figure floats in many document-classes.
26110 To number algorithm floats in the same scheme, add this command to your
26114 \begin_layout Standard
26119 numberwithin{algorithm}{chapter}
26122 \begin_layout Standard
26123 To be able to use the command
26132 \begin_inset space ~
26137 in the document settings the option
26140 \begin_inset space ~
26144 \begin_inset space ~
26148 \begin_inset space ~
26156 \begin_layout Section
26158 \begin_inset Index idx
26161 \begin_layout Plain Layout
26170 \begin_layout Standard
26171 Floats are usually numbered either independently from the sections the floats
26172 are in, or in the scheme
26173 \begin_inset Quotes eld
26177 \begin_inset Quotes erd
26181 \begin_inset Quotes eld
26185 \begin_inset Quotes erd
26189 This depends on the document class used.
26192 \begin_layout Standard
26193 To change section-independent numbering, you can use this command in the
26197 \begin_layout Standard
26209 \begin_layout Standard
26216 is the command that prints the table number.
26217 For figure floats, the command would be
26230 in the command above prints the table number as a small roman number.
26233 \begin_layout Standard
26234 To change the numbering scheme for example to
26235 \begin_inset Quotes eld
26239 \begin_inset Quotes erd
26242 , use this command in the preamble:
26245 \begin_layout Standard
26250 numberwithin{table}{subsection}
26253 \begin_layout Standard
26254 To be able to use the command
26263 \begin_inset space ~
26268 in the document settings the option
26271 \begin_inset space ~
26275 \begin_inset space ~
26279 \begin_inset space ~
26287 \begin_layout Standard
26288 Please also have a look at section
26289 \begin_inset space ~
26293 \begin_inset CommandInset ref
26295 reference "subsec:Footnote-Numbering"
26299 for the details and important notes about the numbering commands.
26302 \begin_layout Section
26304 \begin_inset CommandInset label
26306 name "sec:Referencing-Floats"
26311 \begin_inset Index idx
26314 \begin_layout Plain Layout
26315 Floats ! References
26321 \begin_inset Index idx
26324 \begin_layout Plain Layout
26325 References ! to Floats
26333 \begin_layout Standard
26334 To reference a float, insert a label into its caption using the menu
26336 Insert\SpecialChar menuseparator
26339 or the toolbar button
26346 A grey label box like this one:
26347 \begin_inset Graphics
26348 filename clipart/label.png
26349 scaleBeforeRotation
26353 will be inserted and the label window pops up asking for the label text.
26355 offers as text the first words of the caption with a prefix.
26356 The prefix depends on the float type, e.
26357 \begin_inset space \thinspace{}
26361 \begin_inset space \space{}
26364 for figure floats the prefix will be "
26371 \begin_layout Standard
26372 The label is used as anchor and name for the reference.
26373 You can refer to the label using the menu
26375 Insert\SpecialChar menuseparator
26378 or the toolbar button
26381 arg "dialog-show-new-inset ref"
26385 The cross-reference window appears showing all labels of the document.
26386 If you have multiple \SpecialChar LyX
26387 documents opened, choose the one you are working
26388 on from the drop-list at the top of the dialog.
26389 You can now sort the labels alphabetically and then choose one.
26390 A grey cross-reference box like this one:
26391 \begin_inset Graphics
26392 filename clipart/reference.png
26393 scaleBeforeRotation
26398 At the position of the cross-reference box the float number will appear
26402 \begin_layout Standard
26403 It is recommended that you use a protected space between the cross-reference
26404 name and its number to avoid line breaks between them.
26405 If a cross-reference refers to a non-existing label, you will see two question
26406 marks in the output instead of the reference.
26409 \begin_layout Standard
26410 You can change labels at any time by clicking on the label box.
26411 References to the changed label will automatically update their links to
26412 the new label text.
26415 \begin_layout Standard
26419 \begin_inset space ~
26423 \begin_inset space ~
26428 in the cross-reference window sets the cursor before the referred label.
26429 The button text changes then to Go
26430 \begin_inset space ~
26433 Back and you can use it to set the cursor back to the cross-reference.
26436 \begin_layout Subsection
26437 Cross-Reference Formats
26438 \begin_inset CommandInset label
26440 name "subsec:Cross-Reference-Formats"
26445 \begin_inset Index idx
26448 \begin_layout Plain Layout
26449 References ! Formats
26457 \begin_layout Standard
26458 There are six varieties of cross-references:
26461 \begin_layout Description
26462 <reference>: prints the float number, this is the default:
26463 \begin_inset CommandInset ref
26465 reference "fig:Two-distorted-images"
26472 \begin_layout Description
26473 (<reference>): prints the float number within two parentheses, this is the
26474 style normally used to reference formulas, especially when the reference
26476 \begin_inset Quotes eld
26480 \begin_inset Quotes erd
26484 \begin_inset CommandInset ref
26493 \begin_layout Description
26494 <page>: prints the page number: Page
26495 \begin_inset space ~
26499 \begin_inset CommandInset ref
26500 LatexCommand pageref
26501 reference "fig:Two-distorted-images"
26508 \begin_layout Description
26510 \begin_inset space ~
26514 \begin_inset space ~
26517 <page>: prints the text "on page" and the page number:
26518 \begin_inset CommandInset ref
26519 LatexCommand vpageref
26520 reference "fig:Two-distorted-images"
26527 \begin_layout Description
26529 \begin_inset space ~
26533 \begin_inset space ~
26537 \begin_inset space ~
26540 <page>: prints the float number, the text "on page", and the page number:
26542 \begin_inset CommandInset ref
26544 reference "fig:Two-distorted-images"
26551 \begin_layout Description
26553 \begin_inset space ~
26556 reference: prints a self-defined cross-reference format.
26557 \begin_inset Newline newline
26561 \begin_inset Note Greyedout
26564 \begin_layout Plain Layout
26569 This feature is only available when you have the \SpecialChar LaTeX
26579 \begin_inset Index idx
26582 \begin_layout Plain Layout
26584 -packages ! prettyref
26590 \begin_inset Index idx
26593 \begin_layout Plain Layout
26595 -packages ! refstyle
26606 \begin_inset Newline newline
26609 You can select which \SpecialChar LaTeX
26610 -package should be used for this feature by setting
26613 Use refstyle (not prettyref) for cross-references
26617 Document\SpecialChar menuseparator
26618 Settings\SpecialChar menuseparator
26622 The format is specified by adding the command
26634 (refstyle) to the preamble of the document.
26635 For example redefining all references to figures (which have the label
26637 \begin_inset Quotes eld
26645 \begin_inset Quotes erd
26648 ) can be done with this command
26649 \begin_inset Newline newline
26656 newref{fig}{refcmd={Image on page
26661 \begin_inset Newline newline
26664 For more information about the format, have a look at the package documentations
26666 \begin_inset CommandInset citation
26668 key "prettyref,refstyle"
26674 \begin_inset Newline newline
26685 are only available if you use the \SpecialChar LaTeX
26700 \begin_inset space \thinspace{}
26704 \begin_inset space \space{}
26708 \begin_inset Quotes eld
26712 \begin_inset Quotes erd
26719 outputs the name capitalized, e.
26720 \begin_inset space \thinspace{}
26724 \begin_inset space \space{}
26728 \begin_inset Quotes eld
26732 \begin_inset Quotes erd
26736 Both options can be combined to get e.
26737 \begin_inset space \thinspace{}
26741 \begin_inset space \space{}
26745 \begin_inset Quotes eld
26749 \begin_inset Quotes erd
26755 \begin_layout Description
26757 \begin_inset space ~
26760 reference: prints the caption of the reference:
26761 \begin_inset CommandInset ref
26762 LatexCommand nameref
26763 reference "fig:Two-distorted-images"
26770 \begin_layout Description
26772 \begin_inset space ~
26775 only: prints only the \SpecialChar LaTeX
26776 label for the reference:
26777 \begin_inset CommandInset ref
26778 LatexCommand labelonly
26779 reference "fig:Two-distorted-images"
26787 \begin_inset Newline newline
26790 This allows to use the label for commands in \SpecialChar TeX
26796 one can omit the prefix of the label name:
26797 \begin_inset CommandInset ref
26798 LatexCommand labelonly
26799 reference "fig:Two-distorted-images"
26809 \begin_layout Standard
26814 will not print the page number if the label is on the previous, the same,
26817 \begin_inset space \thinspace{}
26821 \begin_inset space \space{}
26825 \begin_inset Quotes eld
26833 \begin_inset Quotes erd
26839 <reference> on page <page>
26841 will not print anything about the page if the label is on the same page.
26844 \begin_layout Standard
26845 The number and current page of the part of the document referred to in the
26846 output is automatically calculated by \SpecialChar LaTeX
26848 The varieties are adjusted in the field
26852 of the cross-reference window that appears when you click on the cross-referenc
26856 \begin_layout Standard
26857 \begin_inset Note Greyedout
26860 \begin_layout Plain Layout
26865 It is recommended to use the \SpecialChar LaTeX
26871 \begin_inset Index idx
26874 \begin_layout Plain Layout
26876 -packages ! refstyle
26886 \begin_inset Index idx
26889 \begin_layout Plain Layout
26891 -packages ! prettyref
26896 does not know all of \SpecialChar LyX
26897 's possible label shortcuts
26901 \begin_layout Plain Layout
26902 \begin_inset Quotes eld
26906 \begin_inset Quotes erd
26909 is for example \SpecialChar LyX
26910 's shortcut for labels in figure captions.
26915 and is not internationalized.
26923 \begin_layout Subsection
26924 Automatic Reference Naming
26925 \begin_inset Index idx
26928 \begin_layout Plain Layout
26929 References ! Automatic Reference Naming
26937 \begin_layout Standard
26938 The \SpecialChar LaTeX
26944 \begin_inset Index idx
26947 \begin_layout Plain Layout
26949 -packages ! hyperref
26954 , that is enabled in the
26962 dialog, provides a very useful feature that cross-references automatically
26963 include the name of the referenced floats (or text parts like
26968 So you will save having to write e.
26969 \begin_inset space \thinspace{}
26973 \begin_inset space \space{}
26977 \begin_inset Quotes eld
26981 \begin_inset Quotes erd
26984 before every reference to a figure.
26985 To use this feature, enable
26989 and insert this line to the \SpecialChar LaTeX
26993 \begin_layout Standard
27009 \begin_layout Standard
27010 When you prefer other reference names than the default ones, for example
27011 you want instead of
27012 \begin_inset Quotes eld
27016 \begin_inset Quotes erd
27020 \begin_inset Quotes eld
27024 \begin_inset space \thinspace{}
27028 \begin_inset Quotes eld
27031 , you can redefine the name by inserting this in the preamble:
27034 \begin_layout Standard
27045 sectionautorefname}
27046 \begin_inset Newline newline
27050 \begin_inset Phantom HPhantom
27053 \begin_layout Plain Layout
27056 \begin_inset space ~
27069 \begin_layout Standard
27070 When you are using another document language than English, replace
27071 \begin_inset Newline newline
27086 , where *** is the name of the language used.
27089 \begin_layout Standard
27090 To get automatic names, but not for certain reference types, for example
27091 not for equations, use this preamble code:
27094 \begin_layout Standard
27105 equationautorefname}[1]{}}
27108 \begin_layout Standard
27109 More about this topic can be found in
27114 \begin_inset CommandInset citation
27124 \begin_layout Standard
27125 \begin_inset Note Greyedout
27128 \begin_layout Plain Layout
27133 Automatic reference naming cannot be used when you use cross-references
27137 \begin_inset space ~
27142 style, as described in section
27143 \begin_inset space ~
27147 \begin_inset CommandInset ref
27149 reference "subsec:Cross-Reference-Formats"
27161 \begin_layout Standard
27166 manual is an example where automatic reference naming is used.
27169 \begin_layout Subsection
27171 \begin_inset CommandInset label
27173 name "subsec:Reference-Position"
27178 \begin_inset Index idx
27181 \begin_layout Plain Layout
27182 References ! Reference Position
27190 \begin_layout Standard
27196 \begin_inset Index idx
27199 \begin_layout Plain Layout
27201 -packages ! hyperref
27214 dialog to link cross-references in the output, you will see that clicking
27215 on an image float reference jumps to the image label.
27216 The caption will be the first text part on the screen, so that you cannot
27217 see the image without scrolling.
27218 This is because the reference link anchor is placed at the position of
27220 With the use of the package
27225 \begin_inset Index idx
27228 \begin_layout Plain Layout
27235 , which is part of the \SpecialChar LaTeX
27241 \begin_inset Index idx
27244 \begin_layout Plain Layout
27246 -packages ! oberdiek
27251 , the link anchor is placed at the beginning of a float.
27252 To use this feature for figure floats, load
27256 in the document preamble with the line
27259 \begin_layout Standard
27264 usepackage[figure]{hypcap}
27267 \begin_layout Standard
27272 for all float types but this is not recommended for stability reasons.
27273 For more information, have a look at
27278 \begin_inset CommandInset citation
27288 \begin_layout Standard
27289 \begin_inset Note Greyedout
27292 \begin_layout Plain Layout
27301 has no effect on references to subfigures.
27309 \begin_layout Section
27311 \change_deleted -712698321 1526031763
27313 \change_inserted -712698321 1526031765
27317 \begin_inset CommandInset label
27319 name "sec:Float-Settings"
27324 \begin_inset Index idx
27327 \begin_layout Plain Layout
27329 \change_deleted -712698321 1526031841
27331 \change_inserted -712698321 1526031842
27342 \begin_layout Standard
27344 \change_inserted -712698321 1526033385
27345 Float Settings can be adjusted at two places in \SpecialChar LyX
27348 Document\SpecialChar menuseparator
27349 Settings\SpecialChar ldots
27350 \SpecialChar menuseparator
27353 , you can set some options that are used by default for all floats of the
27354 document (placement on page and alignment of contents), unless you modify
27355 the local settings of a float.
27360 \begin_layout Standard
27362 \change_inserted -712698321 1526032513
27363 The latter can be done by
27364 \change_deleted -712698321 1526032513
27366 \change_inserted -712698321 1526032513
27369 ight-clicking on a float-box and clicking on
27372 \change_inserted -712698321 1526033387
27379 \change_inserted -712698321 1526032520
27382 opens a dialog where you can
27383 \change_inserted -712698321 1526032584
27384 , now only for the given float,
27387 \change_inserted -712698321 1526033452
27391 \change_deleted -712698321 1526033439
27392 options that \SpecialChar LaTeX
27393 uses for positioning the float
27394 \change_inserted -712698321 1526033493
27395 and alignment options, and adapt some other options that are only available
27400 \change_inserted -712698321 1526032658
27401 All these options, both for
27403 Document\SpecialChar menuseparator
27404 Settings\SpecialChar menuseparator
27411 , are described in turn.
27412 \change_deleted -712698321 1526031652
27414 \begin_inset Newline newline
27420 \begin_inset space ~
27425 is only useful for two-column documents: If you select it, the float will
27426 span both columns on the page instead of being confined to just one.
27427 \begin_inset Newline newline
27433 \begin_inset space ~
27438 is used to rotate floats, see section
27439 \begin_inset CommandInset ref
27441 reference "sec:Rotated-Floats"
27450 \begin_layout Subsection
27452 \change_inserted -712698321 1526031775
27454 \begin_inset CommandInset label
27456 name "sec:Float-Placement"
27461 \begin_inset Index idx
27464 \begin_layout Plain Layout
27466 \change_inserted -712698321 1526031775
27477 \begin_layout Standard
27479 \change_inserted -712698321 1526032697
27482 Document\SpecialChar menuseparator
27483 Settings\SpecialChar menuseparator
27491 \change_deleted -712698321 1526032811
27492 You can use one or more of the following options in the float dialog to
27494 \change_inserted -712698321 1526032812
27498 \change_inserted -712698321 1526033558
27499 algorithm that \SpecialChar LaTeX
27500 uses for positioning floats on the page, either
27503 \change_inserted -712698321 1526033535
27506 Document\SpecialChar menuseparator
27507 Settings\SpecialChar menuseparator
27513 \change_inserted -712698321 1526033570
27524 By default, this is set to
27527 \change_inserted -712698321 1526033604
27534 Document\SpecialChar menuseparator
27535 Settings\SpecialChar menuseparator
27538 (meaning that the default placement algorithm of the document class is
27547 dialog (meaning that the settings in
27549 Document\SpecialChar menuseparator
27550 Settings\SpecialChar menuseparator
27553 are used, which are the Class Defaults by default).
27554 If you want to change this,
27555 \change_deleted -712698321 1526033009
27557 \change_inserted -712698321 1526033535
27561 \change_deleted -712698321 1526031920
27563 \change_inserted -712698321 1526033535
27566 Placement Settings:
27571 \change_inserted -712698321 1526033535
27575 \change_deleted -712698321 1526031908
27577 \begin_inset space ~
27581 \begin_inset space ~
27585 \change_inserted -712698321 1526033535
27588 This allows you to select one or more from
27593 \begin_layout Description
27595 \begin_inset space ~
27599 \begin_inset space ~
27602 possible try to place the float on the position where it has been inserted
27605 \begin_layout Description
27607 \begin_inset space ~
27611 \begin_inset space ~
27614 page try to place the float at the top of the current page
27617 \begin_layout Description
27619 \begin_inset space ~
27623 \begin_inset space ~
27626 page try to place the float at the bottom of the current page
27629 \begin_layout Description
27631 \begin_inset space ~
27635 \begin_inset space ~
27638 floats try to place the float on its own page
27641 \begin_layout Standard
27642 The order of the above option is
27646 used by \SpecialChar LaTeX
27648 That means, if you use the default placement, \SpecialChar LaTeX
27652 \begin_inset space ~
27656 \begin_inset space ~
27664 \begin_inset space ~
27668 \begin_inset space ~
27673 , and then the others.
27674 If you do not use the default, \SpecialChar LaTeX
27675 will try only the checked options but in
27678 \begin_inset space ~
27681 placements is possible the procedure is internally repeated trying to put
27682 the float on the following page.
27685 \begin_layout Standard
27686 By default, each option has its own rules:
27689 \begin_layout Labeling
27690 \labelwidthstring 00.00.0000
27694 \begin_inset space ~
27698 \begin_inset space ~
27703 only floats occupying less than 70
27704 \begin_inset space \thinspace{}
27707 % of the page can be placed at the top of a page (
27716 \begin_layout Labeling
27717 \labelwidthstring 00.00.0000
27721 \begin_inset space ~
27725 \begin_inset space ~
27730 : only floats occupying less than 30
27731 \begin_inset space \thinspace{}
27734 % of the page can be placed at the bottom of a page.
27744 \begin_layout Labeling
27745 \labelwidthstring 00.00.0000
27749 \begin_inset space ~
27753 \begin_inset space ~
27758 : only if more than 50
27759 \begin_inset space \thinspace{}
27762 % of the page is occupied by floats, several floats can be set together
27773 \begin_layout Standard
27774 If you don't like these rules, you can ignore them by using the additional
27778 \begin_inset space ~
27783 \begin_inset space ~
27789 \begin_inset Newline newline
27792 You can also redefine the rules with \SpecialChar LaTeX
27793 -commands that are given in parentheses
27794 after the rules description above.
27795 To increase for example the often too small default of the bottom-rule
27797 \begin_inset space \thinspace{}
27800 % of the page, add this line to your document preamble:
27803 \begin_layout Standard
27810 bottomfraction}{0.5}
27813 \begin_layout Standard
27814 Sometimes you might need, under all circumstances, a float to be placed
27815 exactly at the position where it is inserted.
27816 For this case you can use the option
27819 \begin_inset space ~
27825 Use this option very rarely and only if the document is almost ready to
27826 be printed, because the float is then no longer able to
27827 \begin_inset Quotes eld
27831 \begin_inset Quotes erd
27834 when you change your document and this will often destroy the page layout.
27837 \begin_layout Standard
27838 There are no placement options for text wrap floats, because they are always
27839 surrounded by the text of a certain paragraph.
27840 \begin_inset VSpace bigskip
27846 \begin_layout Standard
27847 Sometimes you have the problem that a float is placed at the top of a page
27848 while its corresponding section starts at the middle of the page, so that
27849 the reader could think the float is part of the previous section.
27850 To avoid this the \SpecialChar LaTeX
27858 It suppresses a given float placement for the page where it is inserted
27859 and can therefore be used to avoid floats being set before a section starts.
27860 To get this, add these commands to your document preamble:
27863 \begin_layout Standard
27873 \begin_inset Newline newline
27887 \begin_layout Standard
27888 You can define the same for all section headings, like chapters and subsections.
27889 This definition is not recommended to be used for small text parts like
27890 subsubsections because \SpecialChar LaTeX
27891 may then have problems finding a suitable placement.
27894 \begin_layout Standard
27895 \begin_inset VSpace bigskip
27898 In some cases it is required to have all figures/tables at the end of the
27900 For this purpose the \SpecialChar LaTeX
27906 \begin_inset Index idx
27909 \begin_layout Plain Layout
27911 -packages ! endfloat
27917 It puts all figure and table floats at the end of the document into their
27919 At the original float position a text hint like
27920 \begin_inset Quotes eld
27926 \begin_inset space ~
27932 \begin_inset Quotes erd
27936 The endfloat-package is loaded in the preamble with the line
27939 \begin_layout Standard
27944 usepackage[options]{endfloat}
27947 \begin_layout Standard
27948 There are various package options to format the created figure/table sections.
27949 For more information we refer you to the
27954 \begin_inset CommandInset citation
27962 \begin_inset Newline newline
27966 \begin_inset Note Greyedout
27969 \begin_layout Plain Layout
27974 doesn't provide an automatic translation for the text hint, you have to
27975 do this manually, see section
27976 \begin_inset space ~
27980 \begin_inset CommandInset citation
27993 \begin_inset Newline newline
27997 \begin_inset Note Greyedout
28000 \begin_layout Plain Layout
28005 There is currently a bug in
28009 when the caption contains a German
28010 \begin_inset Quotes eld
28014 \begin_inset Quotes erd
28018 Use in this case the command
28019 \begin_inset Quotes eld
28029 \begin_inset Quotes erd
28032 in \SpecialChar TeX
28034 \begin_inset Quotes eld
28038 \begin_inset Quotes erd
28049 \begin_layout Standard
28050 \begin_inset VSpace bigskip
28053 For more details about float placements, have a look at \SpecialChar LaTeX
28055 \begin_inset CommandInset citation
28057 key "latexcompanion,latexguide,latexbook"
28063 \change_inserted -712698321 1526030561
28067 \begin_layout Subsection
28069 \change_inserted -712698321 1526031989
28070 Alignment of Float Contents
28073 \begin_layout Standard
28075 \change_inserted -712698321 1526032316
28076 In this list of options, you can define how the contents of a float (or
28077 all floats by default, if selected from
28079 Document\SpecialChar menuseparator
28087 means that the alignment of the class, or the default alignment of \SpecialChar LaTeX
28094 (only visible in the
28100 Document\SpecialChar menuseparator
28103 ) takes the setting specified in
28105 Document\SpecialChar menuseparator
28106 Settings\SpecialChar menuseparator
28110 The other three options,
28122 , are self-explanatory.
28123 If one of these is selected in
28125 Document\SpecialChar menuseparator
28126 Settings\SpecialChar menuseparator
28129 , all floats of the document will have this setting by default (so it is
28130 fairly easy, for instance, to center all floats).
28135 \begin_layout Subsection
28137 \change_inserted -712698321 1526030571
28138 Other Float Options
28141 \begin_layout Standard
28143 \change_inserted -712698321 1526035716
28144 These two options are only visible in the local
28150 Document\SpecialChar menuseparator
28156 \begin_layout Standard
28158 \change_inserted -712698321 1526033931
28162 \begin_inset space ~
28167 is useful for two-column documents: If you select it, the float will span
28168 both columns on the page instead of being confined to just one.
28171 \begin_layout Standard
28173 \change_inserted -712698321 1526030572
28177 \begin_inset space ~
28182 is used to rotate floats, see section
28183 \begin_inset CommandInset ref
28185 reference "sec:Rotated-Floats"
28194 \begin_layout Section
28196 \begin_inset CommandInset label
28198 name "sec:Rotated-Floats"
28203 \begin_inset Index idx
28206 \begin_layout Plain Layout
28215 \begin_layout Standard
28216 Especially for wide tables you might have floats rotated.
28217 To rotate a whole float including the caption, right-click on the float-box
28221 \begin_inset space ~
28229 \begin_layout Standard
28230 Rotated floats are always placed on a page of their own (or column of their
28231 own; in case you have a multi-column document).
28232 You can let them span several columns using the float settings option
28235 \begin_inset space ~
28241 Floats are rotated so that you can read them from the outside margin.
28242 To force a certain rotation direction for all pages, you can add either
28251 to the document class options.
28254 \begin_layout Standard
28255 Referencing rotated floats is the same as for normal floats, the caption
28256 format is also the same: Table
28257 \begin_inset space ~
28261 \begin_inset CommandInset ref
28263 reference "tab:Rotated-table"
28267 is an example of a rotated table float.
28270 \begin_layout Standard
28271 \begin_inset Note Greyedout
28274 \begin_layout Plain Layout
28279 Not all DVI-viewers are able to display rotated floats.
28287 \begin_layout Standard
28288 \begin_inset Float table
28295 \begin_layout Plain Layout
28296 \begin_inset Caption Standard
28298 \begin_layout Plain Layout
28299 \begin_inset CommandInset label
28301 name "tab:Rotated-table"
28313 \begin_layout Plain Layout
28315 \begin_inset Tabular
28316 <lyxtabular version="3" rows="1" columns="5">
28317 <features tabularvalignment="middle">
28318 <column alignment="center" valignment="top">
28319 <column alignment="center" valignment="top">
28320 <column alignment="center" valignment="top">
28321 <column alignment="center" valignment="top">
28322 <column alignment="center" valignment="top">
28324 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28327 \begin_layout Plain Layout
28333 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28336 \begin_layout Plain Layout
28342 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28345 \begin_layout Plain Layout
28351 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28354 \begin_layout Plain Layout
28360 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28363 \begin_layout Plain Layout
28382 \begin_layout Section
28384 \begin_inset Index idx
28387 \begin_layout Plain Layout
28396 \begin_layout Standard
28397 Subfloats are for example used when a figure consists of several images.
28398 They are created by inserting a float into an existing float.
28399 The placement of the subfloats can be controlled in the same way as for
28400 paragraphs as shown in table
28401 \begin_inset space ~
28405 \begin_inset CommandInset ref
28407 reference "tab:Two-subtables-side"
28412 \begin_inset CommandInset ref
28414 reference "tab:Two-subtables-upon"
28421 \begin_layout Standard
28422 Referencing subfloats works as for normal floats: Table
28423 \begin_inset space ~
28427 \begin_inset CommandInset ref
28429 reference "tab:This-is-subtable-a"
28434 \begin_inset CommandInset ref
28436 reference "tab:This-is-subtable-b"
28440 are subtables of table
28441 \begin_inset space ~
28445 \begin_inset CommandInset ref
28447 reference "tab:Two-subtables-side"
28454 \begin_layout Standard
28455 \begin_inset Float table
28462 \begin_layout Plain Layout
28463 \begin_inset Caption Standard
28465 \begin_layout Plain Layout
28466 \begin_inset CommandInset label
28468 name "tab:Two-subtables-side"
28472 Two subtables placed side by side.
28480 \begin_layout Plain Layout
28482 \begin_inset space \hfill{}
28486 \begin_inset Float table
28493 \begin_layout Plain Layout
28494 \begin_inset Caption Standard
28496 \begin_layout Plain Layout
28497 \begin_inset CommandInset label
28499 name "tab:This-is-subtable-a"
28503 This is subtable a.
28511 \begin_layout Plain Layout
28513 \begin_inset Tabular
28514 <lyxtabular version="3" rows="1" columns="5">
28515 <features tabularvalignment="middle">
28516 <column alignment="center" valignment="top">
28517 <column alignment="center" valignment="top">
28518 <column alignment="center" valignment="top">
28519 <column alignment="center" valignment="top">
28520 <column alignment="center" valignment="top">
28522 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28525 \begin_layout Plain Layout
28531 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28534 \begin_layout Plain Layout
28540 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28543 \begin_layout Plain Layout
28549 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28552 \begin_layout Plain Layout
28558 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28561 \begin_layout Plain Layout
28578 \begin_inset space \hfill{}
28582 \begin_inset Float table
28589 \begin_layout Plain Layout
28590 \begin_inset Caption Standard
28592 \begin_layout Plain Layout
28593 \begin_inset CommandInset label
28595 name "tab:This-is-subtable-b"
28599 This is subtable b.
28607 \begin_layout Plain Layout
28609 \begin_inset Tabular
28610 <lyxtabular version="3" rows="1" columns="5">
28611 <features tabularvalignment="middle">
28612 <column alignment="center" valignment="top">
28613 <column alignment="center" valignment="top">
28614 <column alignment="center" valignment="top">
28615 <column alignment="center" valignment="top">
28616 <column alignment="center" valignment="top">
28618 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28621 \begin_layout Plain Layout
28627 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28630 \begin_layout Plain Layout
28636 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28639 \begin_layout Plain Layout
28645 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28648 \begin_layout Plain Layout
28654 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28657 \begin_layout Plain Layout
28674 \begin_inset space \hfill{}
28685 \begin_layout Standard
28686 \begin_inset Float table
28693 \begin_layout Plain Layout
28694 \begin_inset Caption Standard
28696 \begin_layout Plain Layout
28697 \begin_inset CommandInset label
28699 name "tab:Two-subtables-upon"
28703 Two subtables placed one above the other.
28704 (a) table with 4 cells, (b) table with 5 cells.
28712 \begin_layout Plain Layout
28714 \begin_inset Float table
28721 \begin_layout Plain Layout
28722 \begin_inset Caption Standard
28724 \begin_layout Plain Layout
28733 \begin_layout Plain Layout
28735 \begin_inset Tabular
28736 <lyxtabular version="3" rows="1" columns="4">
28737 <features tabularvalignment="middle">
28738 <column alignment="center" valignment="top">
28739 <column alignment="center" valignment="top">
28740 <column alignment="center" valignment="top">
28741 <column alignment="center" valignment="top">
28743 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28746 \begin_layout Plain Layout
28752 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28755 \begin_layout Plain Layout
28761 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28764 \begin_layout Plain Layout
28770 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28773 \begin_layout Plain Layout
28792 \begin_layout Plain Layout
28794 \begin_inset Float table
28801 \begin_layout Plain Layout
28802 \begin_inset Caption Standard
28804 \begin_layout Plain Layout
28813 \begin_layout Plain Layout
28815 \begin_inset Tabular
28816 <lyxtabular version="3" rows="1" columns="5">
28817 <features tabularvalignment="middle">
28818 <column alignment="center" valignment="top">
28819 <column alignment="center" valignment="top">
28820 <column alignment="center" valignment="top">
28821 <column alignment="center" valignment="top">
28822 <column alignment="center" valignment="top">
28824 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28827 \begin_layout Plain Layout
28833 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28836 \begin_layout Plain Layout
28842 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28845 \begin_layout Plain Layout
28851 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28854 \begin_layout Plain Layout
28860 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28863 \begin_layout Plain Layout
28887 \begin_layout Section
28888 Floats Side by Side
28889 \begin_inset Index idx
28892 \begin_layout Plain Layout
28893 Floats ! Side by side
28901 \begin_layout Standard
28902 To place floats side by side, as in Figures
28903 \begin_inset space ~
28907 \begin_inset CommandInset ref
28909 reference "fig:Float-left"
28914 \begin_inset CommandInset ref
28916 reference "fig:Float-right"
28925 In it two minipage boxes are inserted.
28929 \begin_layout Plain Layout
28930 Minipages are explained in section
28931 \begin_inset space ~
28935 \begin_inset CommandInset ref
28937 reference "sec:Minipages"
28946 The width is set to 45
28947 \begin_inset space \thinspace{}
28951 \begin_inset space \thinspace{}
28954 column% and the box alignment to
28959 The minipage boxes contain the image and the caption in the same way as
28960 they are in a float.
28961 The only difference is that the image unit
28964 \begin_inset space ~
28968 \begin_inset space ~
28973 is now calculated according to the width of the minipage boxes.
28976 \begin_layout Standard
28977 \begin_inset Float figure
28984 \begin_layout Plain Layout
28985 \begin_inset Box Frameless
28995 height_special "totalheight"
29000 backgroundcolor "none"
29003 \begin_layout Plain Layout
29005 \begin_inset Graphics
29006 filename clipart/2D-intensity-plot.pdf
29008 scaleBeforeRotation
29015 \begin_layout Plain Layout
29016 \begin_inset Caption Standard
29018 \begin_layout Plain Layout
29019 \begin_inset CommandInset label
29021 name "fig:Float-left"
29025 Float on the left side.
29036 \begin_inset space \hfill{}
29040 \begin_inset Box Frameless
29050 height_special "totalheight"
29055 backgroundcolor "none"
29058 \begin_layout Plain Layout
29060 \begin_inset Graphics
29061 filename clipart/Star-structure.pdf
29063 scaleBeforeRotation
29070 \begin_layout Plain Layout
29071 \begin_inset Caption Standard
29073 \begin_layout Plain Layout
29074 \begin_inset CommandInset label
29076 name "fig:Float-right"
29080 Float on the right side.
29098 \begin_layout Standard
29099 An alternative and simpler solution is to use the module
29101 Variable-width Minipages
29104 \begin_inset space \thinspace{}
29108 \begin_inset CommandInset ref
29110 reference "sec:Minipages"
29115 Variable-width minipages adapt automatically to the width of the figures
29117 They do not require an explicit width to be given, and they improve the
29118 horizontal alignment of the figures.
29119 The LyX example file
29121 varwidth-floats-side-by-side
29123 gives examples of how to do this.
29126 \begin_layout Section
29128 \begin_inset Index idx
29131 \begin_layout Plain Layout
29132 Caption ! Formatting
29138 \begin_inset Index idx
29141 \begin_layout Plain Layout
29142 Floats ! Caption Formatting
29148 \begin_inset CommandInset label
29150 name "sec:Caption-Formatting"
29157 \begin_layout Standard
29162 environment is the default paragraph environment for
29167 On the \SpecialChar LyX
29168 screen captions appear as a label, e.
29169 \begin_inset space \thinspace{}
29173 \begin_inset space \space{}
29177 \begin_inset Quotes eld
29185 \begin_inset Quotes erd
29188 followed by the caption text.
29190 \begin_inset Quotes eld
29194 \begin_inset Quotes erd
29197 is the actual reference number.
29198 By default the label and the number are in the same font as the caption
29199 text and a colon follows the number to divide the label from the text.
29200 This caption format is suitable for many but not all documents.
29204 \begin_layout Standard
29205 To change the default caption format, load the \SpecialChar LaTeX
29211 \begin_inset Index idx
29214 \begin_layout Plain Layout
29216 -packages ! caption
29221 in the document preamble with this line:
29224 \begin_layout Standard
29229 usepackage[format definition]{caption}
29232 \begin_layout Standard
29233 To have for example the label and the number in sans-serif, bold font and
29234 the table captions always above the table as in this document, use the
29238 \begin_layout Standard
29243 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
29246 \begin_layout Standard
29247 You can also define different caption formats for the different float types.
29248 In this case load the
29252 package without format specific options and define the different formats
29253 with the help of the command
29256 \begin_layout Standard
29261 captionsetup[float type]{format definition}
29264 \begin_layout Standard
29265 in the document preamble.
29266 For example the caption formats of Figure
29267 \begin_inset space ~
29271 \begin_inset CommandInset ref
29273 reference "fig:This-is-an-fig"
29278 \begin_inset space ~
29282 \begin_inset CommandInset ref
29284 reference "tab:This-is-an-tab"
29288 can be created using these commands in the document preamble:
29291 \begin_layout Standard
29296 usepackage[tableposition=top]{caption}
29299 \begin_inset Newline newline
29306 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
29307 \begin_inset Newline newline
29311 \begin_inset Phantom HPhantom
29314 \begin_layout Plain Layout
29319 captionsetup[figure]{
29325 \begin_inset Newline newline
29330 captionsetup[table]{labelfont={bf,sf}}
29333 \begin_layout Standard
29334 \begin_inset Note Greyedout
29337 \begin_layout Plain Layout
29346 has no effect when a
29351 \begin_inset Index idx
29354 \begin_layout Plain Layout
29356 -packages ! KOMA-Script
29361 document class is used.
29362 In this case the document class option
29364 captions=tableheading
29374 \begin_layout Standard
29375 For more information about the package
29379 we refer to its documentation
29380 \begin_inset CommandInset citation
29390 \begin_layout Standard
29391 To change the label name from e.
29392 \begin_inset space \thinspace{}
29396 \begin_inset space \space{}
29400 \begin_inset Quotes eld
29404 \begin_inset Quotes erd
29408 \begin_inset Quotes eld
29412 \begin_inset Quotes erd
29415 use this preamble command:
29418 \begin_layout Standard
29425 fnum@figure}{Image~
29430 \begin_layout Standard
29437 inserts the figure number and
29440 \begin_inset Quotes eld
29446 \begin_inset Quotes erd
29449 creates a protected space.
29452 \begin_layout Standard
29453 \begin_inset VSpace bigskip
29461 \begin_inset Index idx
29464 \begin_layout Plain Layout
29466 -packages ! KOMA-Script
29473 article (KOMA-Script)
29481 letter (KOMA-Script)
29485 report (KOMA-Script)
29488 \begin_inset space \thinspace{}
29491 ), you can alternatively to the
29499 's built-in command
29506 For example, to have the caption label in bold, add this command to your
29510 \begin_layout Standard
29515 setkomafont{captionlabel}{
29520 \begin_layout Standard
29521 For more information about
29532 \begin_inset CommandInset citation
29542 \begin_layout Standard
29546 \begin_layout Plain Layout
29550 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
29557 \begin_inset Note Note
29560 \begin_layout Plain Layout
29561 The caption format is changed only for this example.
29569 \begin_layout Standard
29570 \begin_inset Float figure
29577 \begin_layout Plain Layout
29579 \begin_inset Graphics
29580 filename clipart/2D-intensity-plot.pdf
29581 scaleBeforeRotation
29588 \begin_layout Plain Layout
29589 \begin_inset Caption Standard
29591 \begin_layout Plain Layout
29592 \begin_inset CommandInset label
29594 name "fig:This-is-an-fig"
29598 This is an example figure caption that is longer than one line to show the
29599 different caption format.
29600 Here a self-defined caption format is used.
29613 \begin_layout Standard
29617 \begin_layout Plain Layout
29621 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
29630 \begin_layout Standard
29631 \begin_inset Float table
29638 \begin_layout Plain Layout
29639 \begin_inset Caption Standard
29641 \begin_layout Plain Layout
29642 \begin_inset CommandInset label
29644 name "tab:This-is-an-tab"
29648 This is an example table caption that is longer than one line to show the
29649 different caption format.
29650 Here the standard caption format for tables in this document is used.
29658 \begin_layout Plain Layout
29660 \begin_inset Tabular
29661 <lyxtabular version="3" rows="1" columns="5">
29662 <features tabularvalignment="middle">
29663 <column alignment="center" valignment="top">
29664 <column alignment="center" valignment="top">
29665 <column alignment="center" valignment="top">
29666 <column alignment="center" valignment="top">
29667 <column alignment="center" valignment="top">
29669 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29672 \begin_layout Plain Layout
29678 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29681 \begin_layout Plain Layout
29687 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29690 \begin_layout Plain Layout
29696 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29699 \begin_layout Plain Layout
29705 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29708 \begin_layout Plain Layout
29727 \begin_layout Section
29729 \begin_inset Index idx
29732 \begin_layout Plain Layout
29733 Caption ! Placement
29739 \begin_inset Index idx
29742 \begin_layout Plain Layout
29743 Floats ! Caption Placement
29749 \begin_inset CommandInset label
29751 name "sec:Caption-Placement"
29758 \begin_layout Standard
29759 The common caption placement rule is:
29762 \begin_layout Description
29763 Figure: Caption is set below the figure
29766 \begin_layout Description
29767 Table: Caption is set above the table
29770 \begin_layout Standard
29771 Having the caption above the table is unfortunately not supported in \SpecialChar LaTeX
29774 That means if you are using the document classes
29790 there will be no space between the caption and the table.
29791 To insert the necessary space, load the \SpecialChar LaTeX
29797 \begin_inset Index idx
29800 \begin_layout Plain Layout
29802 -packages ! caption
29807 in your document preamble with the option
29811 \begin_layout Plain Layout
29813 \begin_inset space ~
29817 \begin_inset CommandInset ref
29819 reference "sec:Caption-Formatting"
29823 for more information of the package
29835 \begin_layout Standard
29841 \begin_layout Standard
29847 \begin_inset Index idx
29850 \begin_layout Plain Layout
29852 -packages ! KOMA-Script
29859 article (KOMA-Script)
29867 letter (KOMA-Script)
29871 report (KOMA-Script)
29874 \begin_inset space \thinspace{}
29877 ), you can alternatively to the
29881 package set the document class option
29885 \begin_layout Plain Layout
29886 That option is used in this document.
29894 \begin_layout Standard
29897 captions=tableheading
29900 \begin_layout Standard
29901 In documents with a KOMA-Script document class you can also right-click
29902 on a caption and mark in the context menu if this should be a caption above
29903 or below the table/figure.
29904 This way you can override the document-wide caption placement for certain
29907 \begin_inset space ~
29911 \begin_inset CommandInset ref
29913 reference "tab:A-caption-marked"
29917 is an example where the caption is marked a being below the table while
29919 For comparison the caption in Table
29920 \begin_inset space ~
29924 \begin_inset CommandInset ref
29926 reference "tab:A-standard-table"
29933 \begin_layout Standard
29934 \begin_inset Float table
29941 \begin_layout Plain Layout
29942 \begin_inset Caption Below
29944 \begin_layout Plain Layout
29945 \begin_inset CommandInset label
29947 name "tab:A-caption-marked"
29951 A caption marked as being below the table.
29959 \begin_layout Plain Layout
29961 \begin_inset Tabular
29962 <lyxtabular version="3" rows="3" columns="3">
29963 <features tabularvalignment="middle">
29964 <column alignment="center" valignment="top" width="0pt">
29965 <column alignment="center" valignment="top" width="0pt">
29966 <column alignment="center" valignment="top" width="0pt">
29968 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29971 \begin_layout Plain Layout
29977 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29980 \begin_layout Plain Layout
29986 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29989 \begin_layout Plain Layout
29997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30000 \begin_layout Plain Layout
30006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30009 \begin_layout Plain Layout
30015 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30018 \begin_layout Plain Layout
30026 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30029 \begin_layout Plain Layout
30030 \begin_inset Formula $\int x^{2}dx$
30038 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30041 \begin_layout Plain Layout
30042 \begin_inset Formula $\left[\begin{array}{cc}
30045 \end{array}\right]$
30053 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30056 \begin_layout Plain Layout
30057 \begin_inset Formula $1+1=2$
30078 \begin_layout Standard
30079 \begin_inset Float table
30086 \begin_layout Plain Layout
30087 \begin_inset Caption Standard
30089 \begin_layout Plain Layout
30090 \begin_inset CommandInset label
30092 name "tab:A-standard-table"
30096 A standard table caption.
30104 \begin_layout Plain Layout
30106 \begin_inset Tabular
30107 <lyxtabular version="3" rows="3" columns="3">
30108 <features tabularvalignment="middle">
30109 <column alignment="center" valignment="top" width="0pt">
30110 <column alignment="center" valignment="top" width="0pt">
30111 <column alignment="center" valignment="top" width="0pt">
30113 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30116 \begin_layout Plain Layout
30122 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30125 \begin_layout Plain Layout
30131 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30134 \begin_layout Plain Layout
30142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30145 \begin_layout Plain Layout
30151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30154 \begin_layout Plain Layout
30160 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30163 \begin_layout Plain Layout
30171 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30174 \begin_layout Plain Layout
30175 \begin_inset Formula $\int x^{2}dx$
30183 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30186 \begin_layout Plain Layout
30187 \begin_inset Formula $\left[\begin{array}{cc}
30190 \end{array}\right]$
30198 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30201 \begin_layout Plain Layout
30202 \begin_inset Formula $1+1=2$
30223 \begin_layout Standard
30224 \begin_inset VSpace bigskip
30227 It is also possible to set the caption beside a figure or table.
30228 To get this the \SpecialChar LaTeX
30234 \begin_inset Index idx
30237 \begin_layout Plain Layout
30239 -packages ! sidecap
30244 has to be loaded in the document preamble with the line
30247 \begin_layout Standard
30252 usepackage[option]{sidecap}
30255 \begin_layout Standard
30256 If you set no option, the caption is placed on the side of the outer page
30257 margin – to the right on odd pages, to the left on even pages.
30258 You can change the placement to inner margin with the option
30263 To force the placement always to the right or left, use the option
30274 \begin_layout Standard
30278 \begin_layout Plain Layout
30288 \begin_inset Note Note
30291 \begin_layout Plain Layout
30292 The following section will only be displayed when the \SpecialChar LaTeX
30305 \begin_layout Standard
30306 To place in \SpecialChar LyX
30307 the caption of a float on the side, it is necessary to add
30308 these commands to the document preamble:
30311 \begin_layout Standard
30313 \begin_inset CommandInset line
30324 \begin_layout Standard
30331 TabBesBeg}[1][1.0]{%
30332 \begin_inset Newline newline
30336 \begin_inset Phantom HPhantom
30339 \begin_layout Plain Layout
30340 \begin_inset space ~
30355 \begin_inset Newline newline
30359 \begin_inset Phantom HPhantom
30362 \begin_layout Plain Layout
30365 \begin_inset space ~
30380 \begin_inset Newline newline
30384 \begin_inset Phantom HPhantom
30387 \begin_layout Plain Layout
30390 \begin_inset space ~
30400 renewenvironment{table}[1]{
30402 begin{SCtable}[#1]##1}{
30407 \begin_layout Standard
30415 \begin_inset Newline newline
30419 \begin_inset Phantom HPhantom
30422 \begin_layout Plain Layout
30423 \begin_inset space ~
30438 \begin_inset Newline newline
30442 \begin_inset Phantom HPhantom
30445 \begin_layout Plain Layout
30446 \begin_inset space ~
30463 \begin_layout Standard
30470 FigBesBeg}[1][1.0]{%
30471 \begin_inset Newline newline
30475 \begin_inset Phantom HPhantom
30478 \begin_layout Plain Layout
30479 \begin_inset space ~
30494 \begin_inset Newline newline
30498 \begin_inset Phantom HPhantom
30501 \begin_layout Plain Layout
30502 \begin_inset space ~
30517 \begin_inset Newline newline
30521 \begin_inset Phantom HPhantom
30524 \begin_layout Plain Layout
30525 \begin_inset space ~
30535 renewenvironment{figure}[1]{
30537 begin{SCfigure}[#1]##1}{
30542 \begin_layout Standard
30550 \begin_inset Newline newline
30554 \begin_inset Phantom HPhantom
30557 \begin_layout Plain Layout
30558 \begin_inset space ~
30573 \begin_inset Newline newline
30577 \begin_inset Phantom HPhantom
30580 \begin_layout Plain Layout
30581 \begin_inset space ~
30598 \begin_layout Standard
30600 \begin_inset CommandInset line
30611 \begin_layout Standard
30612 The commands allow you to redefine the floats so that the caption is set
30614 For figure floats use the command
30617 \begin_layout Standard
30625 \begin_layout Standard
30626 in \SpecialChar TeX
30627 Code before the float.
30628 And insert the command
30631 \begin_layout Standard
30639 \begin_layout Standard
30640 in \SpecialChar TeX
30641 Code at the point where you want to get back to the original float definitio
30645 \begin_layout Standard
30646 For table floats use the corresponding commands
30649 \begin_layout Standard
30663 \begin_layout Standard
30665 \begin_inset space ~
30669 \begin_inset CommandInset ref
30671 reference "fig:cap-beside-fig"
30676 \begin_inset space ~
30680 \begin_inset CommandInset ref
30682 reference "tab:cap-beside-tab"
30686 are examples where the caption is set beside.
30689 \begin_layout Standard
30690 You can see in the examples that the caption text appears at the top of
30691 the floats for table floats and at the bottom for figure floats.
30692 To change this, you can use the command
30695 \begin_layout Standard
30700 sidecaptionvpos{float type}{placement}
30703 \begin_layout Standard
30704 in the document preamble or in \SpecialChar TeX
30705 Code before the float.
30706 The float type is either
30714 , the placement can be
30715 \begin_inset Quotes eld
30723 \begin_inset Quotes erd
30727 \begin_inset Quotes eld
30735 \begin_inset Quotes erd
30739 \begin_inset Quotes eld
30747 \begin_inset Quotes erd
30751 To have for example the caption of figure floats vertically centered, use
30755 \begin_layout Standard
30760 sidecaptionvpos{figure}{c}
30763 \begin_layout Standard
30764 This was used for Figure
30765 \begin_inset space ~
30769 \begin_inset CommandInset ref
30771 reference "fig:cap-beside-fig-2"
30778 \begin_layout Standard
30779 \begin_inset VSpace medskip
30785 \begin_layout Standard
30786 The default caption width is the width of the image/table.
30787 For thin image/tables, like in Table
30788 \begin_inset space ~
30792 \begin_inset CommandInset ref
30794 reference "tab:cap-beside-tab"
30798 , this leads to captions that are too thin.
30799 You can increase the width by specifying a factor that will be multiplied
30800 with the image/table width to get the caption width.
30801 The caption width will automatically be recalculated in case it would protrude
30802 over the page or column margin due to the specified width.
30807 can either be given as optional argument for
30816 \begin_layout Standard
30824 \begin_layout Standard
30825 or in the definition of
30835 with another value.
30836 If you do the latter, your factor will be the default if
30842 is used without an argument.
30844 \begin_inset space ~
30848 \begin_inset CommandInset ref
30850 reference "tab:cap-beside-tab-wider"
30854 the factor 5 was used.
30857 \begin_layout Standard
30858 \begin_inset Note Greyedout
30861 \begin_layout Plain Layout
30866 For floats with captions set beside, you cannot use the float placement
30870 \begin_inset space ~
30875 because it is not supported by
30887 \begin_layout Standard
30888 \begin_inset VSpace medskip
30891 For more information about the package
30895 we refer to its documentation
30896 \begin_inset CommandInset citation
30906 \begin_layout Standard
30907 \begin_inset Note Greyedout
30910 \begin_layout Plain Layout
30915 The \SpecialChar LaTeX
30921 \begin_inset Index idx
30924 \begin_layout Plain Layout
30931 , described in section
30932 \begin_inset space ~
30936 \begin_inset CommandInset ref
30938 reference "subsec:Reference-Position"
30942 , has no effect on floats with the caption set beside.
30950 \begin_layout Standard
30954 \begin_layout Plain Layout
30966 \begin_layout Standard
30967 \begin_inset Float figure
30974 \begin_layout Plain Layout
30975 \begin_inset Graphics
30976 filename clipart/3D-structure-distort.pdf
30978 scaleBeforeRotation
30985 \begin_layout Plain Layout
30986 \begin_inset Caption Standard
30988 \begin_layout Plain Layout
30989 \begin_inset CommandInset label
30991 name "fig:cap-beside-fig"
30995 This is a caption beside a figure.
31008 \begin_layout Standard
31012 \begin_layout Plain Layout
31024 \begin_layout Standard
31028 \begin_layout Plain Layout
31040 \begin_layout Standard
31041 \begin_inset Float table
31048 \begin_layout Plain Layout
31049 \begin_inset Caption Standard
31051 \begin_layout Plain Layout
31052 \begin_inset CommandInset label
31054 name "tab:cap-beside-tab"
31058 This is a caption beside a table.
31066 \begin_layout Plain Layout
31067 \begin_inset Tabular
31068 <lyxtabular version="3" rows="4" columns="5">
31069 <features tabularvalignment="middle">
31070 <column alignment="center" valignment="top">
31071 <column alignment="center" valignment="top">
31072 <column alignment="center" valignment="top">
31073 <column alignment="center" valignment="top">
31074 <column alignment="center" valignment="top">
31076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31079 \begin_layout Plain Layout
31085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31088 \begin_layout Plain Layout
31094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31097 \begin_layout Plain Layout
31103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31106 \begin_layout Plain Layout
31112 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31115 \begin_layout Plain Layout
31123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31126 \begin_layout Plain Layout
31132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31135 \begin_layout Plain Layout
31141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31144 \begin_layout Plain Layout
31150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31153 \begin_layout Plain Layout
31159 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31162 \begin_layout Plain Layout
31170 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31173 \begin_layout Plain Layout
31179 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31182 \begin_layout Plain Layout
31188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31191 \begin_layout Plain Layout
31197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31200 \begin_layout Plain Layout
31206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31209 \begin_layout Plain Layout
31217 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31220 \begin_layout Plain Layout
31226 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31229 \begin_layout Plain Layout
31235 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31238 \begin_layout Plain Layout
31244 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31247 \begin_layout Plain Layout
31253 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31256 \begin_layout Plain Layout
31275 \begin_layout Standard
31279 \begin_layout Plain Layout
31291 \begin_layout Standard
31295 \begin_layout Plain Layout
31308 \begin_layout Plain Layout
31312 sidecaptionvpos{figure}{c}
31318 \begin_inset Float figure
31325 \begin_layout Plain Layout
31326 \begin_inset Graphics
31327 filename clipart/3D-structure-distort.pdf
31329 scaleBeforeRotation
31336 \begin_layout Plain Layout
31337 \begin_inset Caption Standard
31339 \begin_layout Plain Layout
31340 \begin_inset CommandInset label
31342 name "fig:cap-beside-fig-2"
31346 This is a vertically centered caption beside a figure.
31359 \begin_layout Standard
31363 \begin_layout Plain Layout
31375 \begin_layout Standard
31379 \begin_layout Plain Layout
31391 \begin_layout Standard
31392 \begin_inset Float table
31399 \begin_layout Plain Layout
31400 \begin_inset Caption Standard
31402 \begin_layout Plain Layout
31403 \begin_inset CommandInset label
31405 name "tab:cap-beside-tab-wider"
31409 This caption is wider than the one in Table
31410 \begin_inset space ~
31414 \begin_inset CommandInset ref
31416 reference "tab:cap-beside-tab"
31428 \begin_layout Plain Layout
31429 \begin_inset Tabular
31430 <lyxtabular version="3" rows="4" columns="5">
31431 <features tabularvalignment="middle">
31432 <column alignment="center" valignment="top">
31433 <column alignment="center" valignment="top">
31434 <column alignment="center" valignment="top">
31435 <column alignment="center" valignment="top">
31436 <column alignment="center" valignment="top">
31438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31441 \begin_layout Plain Layout
31447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31450 \begin_layout Plain Layout
31456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31459 \begin_layout Plain Layout
31465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31468 \begin_layout Plain Layout
31474 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31477 \begin_layout Plain Layout
31485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31488 \begin_layout Plain Layout
31494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31497 \begin_layout Plain Layout
31503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31506 \begin_layout Plain Layout
31512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31515 \begin_layout Plain Layout
31521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31524 \begin_layout Plain Layout
31532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31535 \begin_layout Plain Layout
31541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31544 \begin_layout Plain Layout
31550 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31553 \begin_layout Plain Layout
31559 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31562 \begin_layout Plain Layout
31568 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31571 \begin_layout Plain Layout
31579 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31582 \begin_layout Plain Layout
31588 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31591 \begin_layout Plain Layout
31597 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31600 \begin_layout Plain Layout
31606 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31609 \begin_layout Plain Layout
31615 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31618 \begin_layout Plain Layout
31637 \begin_layout Standard
31641 \begin_layout Plain Layout
31653 \begin_layout Standard
31657 \begin_layout Plain Layout
31667 \begin_inset Note Note
31670 \begin_layout Plain Layout
31671 The following will be displayed when the \SpecialChar LaTeX
31684 \begin_layout Standard
31685 You need to install the \SpecialChar LaTeX
31690 to see the following part of this section in the output.
31693 \begin_layout Standard
31697 \begin_layout Plain Layout
31709 \begin_layout Section
31711 \begin_inset Index idx
31714 \begin_layout Plain Layout
31715 Floats ! Float Lists
31723 \begin_layout Standard
31724 Similar to the table of contents where the sections of the document are
31725 listed, there are listings for all float types, like the figures of the
31727 You can insert them via the
31729 Insert\SpecialChar menuseparator
31731 \begin_inset space ~
31735 \begin_inset space ~
31743 \begin_layout Standard
31744 The list entries are the float captions or its short title, the float number,
31745 and the page number where they appear in the document.
31748 \begin_layout Standard
31749 You can find the list of figures and tables at the end of this document.
31752 \begin_layout Chapter
31756 \begin_layout Section
31759 \begin_inset Index idx
31762 \begin_layout Plain Layout
31763 Notes ! \SpecialChar LyX
31772 \begin_layout Standard
31773 Notes are inserted with the toolbar button
31781 Insert\SpecialChar menuseparator
31785 There are three types of notes:
31788 \begin_layout Description
31791 \begin_inset space ~
31794 Note This note type is for internal notes that won't appear in the output.
31795 Its note-box looks like this:
31796 \begin_inset Newline newline
31800 \begin_inset Newline newline
31804 \begin_inset Graphics
31805 filename clipart/LyXNoteImage.png
31807 scaleBeforeRotation
31812 \begin_inset Note Note
31815 \begin_layout Plain Layout
31816 This is text in a note box that doesn't appear in the output.
31824 \begin_layout Description
31825 Comment This note also doesn't appear in the output but it appears as \SpecialChar LaTeX
31827 when you export the document to \SpecialChar LaTeX
31830 File\SpecialChar menuseparator
31831 Export\SpecialChar menuseparator
31833 \begin_inset space ~
31836 (pdflatex) / (plain)
31839 Its note-box looks like this:
31840 \begin_inset Newline newline
31844 \begin_inset Newline newline
31848 \begin_inset Graphics
31849 filename clipart/CommentNoteImage.png
31851 scaleBeforeRotation
31856 \begin_inset Note Comment
31859 \begin_layout Plain Layout
31860 This is text in a note box that only appears as comment in \SpecialChar LaTeX
31869 \begin_layout Description
31871 \begin_inset space ~
31874 Out This note will appear in the output as grey text.
31875 Its note-box looks like this:
31876 \begin_inset Newline newline
31880 \begin_inset Newline newline
31884 \begin_inset Graphics
31885 filename clipart/GreyedOutNoteImage.png
31887 scaleBeforeRotation
31892 \begin_inset Newline newline
31899 \begin_layout Plain Layout
31903 renewenvironment{lyxgreyedout}
31906 \begin_layout Plain Layout
31910 textcolor[gray]{0.8}
31920 \begin_inset Note Greyedout
31923 \begin_layout Plain Layout
31924 This is text of a comment that appears grey in the output.
31933 \begin_layout Plain Layout
31937 renewenvironment{lyxgreyedout}
31940 \begin_layout Plain Layout
31954 \begin_inset Note Note
31957 \begin_layout Plain Layout
31958 The greyed out note is here redefined to show it with the original \SpecialChar LyX
31960 because greyed out notes are redefined in the preamble of this document,
31961 as described below, to have blue text.
31967 \begin_inset Newline newline
31971 \begin_inset Newline newline
31974 As you can see in the example, the first line of greyed out notes is a bit
31975 indented and greyed out notes can have footnotes.
31978 \begin_layout Standard
31979 \begin_inset VSpace bigskip
31982 When you use the toolbar button
31992 \begin_inset space ~
31998 You can switch between the three note types by right-clicking on the note-box.
32003 If you want to turn existing text into a note, mark it and click on the
32017 To change a note to text, press the backspace key when the cursor is in
32018 the first position of a note, or press the delete key when the cursor is
32019 in the very last position of the note, respectively.
32022 \begin_layout Standard
32023 \begin_inset VSpace bigskip
32026 You can change the text color of the greyed out notes in the menu
32028 Document\SpecialChar menuseparator
32029 Settings\SpecialChar menuseparator
32035 \begin_layout Section
32037 \begin_inset CommandInset label
32039 name "sec:Footnotes"
32044 \begin_inset Index idx
32047 \begin_layout Plain Layout
32054 \begin_inset Index idx
32057 \begin_layout Plain Layout
32066 \begin_layout Standard
32067 Footnotes can be inserted using the toolbar button
32070 arg "footnote-insert"
32075 Insert\SpecialChar menuseparator
32079 You will then see the following footnote-box:
32080 \begin_inset Graphics
32081 filename clipart/footnote.png
32083 scaleBeforeRotation
32091 where you can enter the footnote text.
32092 If you want to turn existing text into a footnote, mark it and click on
32118 key when the cursor is in the first position of a
32130 key when the cursor is in the very last position of the
32141 \begin_layout Standard
32142 Here is an example footnote:
32150 \begin_layout Plain Layout
32151 \begin_inset CommandInset label
32153 name "foot:This-is-an"
32157 This is an example footnote.
32170 \begin_layout Plain Layout
32174 newcounter{MyRepeatFoot}
32177 \begin_layout Plain Layout
32181 setcounter{MyRepeatFoot}{
32191 \begin_layout Standard
32192 The footnote will appear in the output as a superscript number at the text
32193 position where the footnote box is placed.
32194 The footnote text is placed at the bottom of the current page.
32195 The footnote number is calculated by \SpecialChar LaTeX
32196 ; the numbers are consecutive.
32197 Whether the footnote number is reset for every chapter depends on your
32201 \begin_layout Standard
32202 Footnotes can be referenced like floats: Insert a label into the footnote
32203 and cross-reference this label in the text as described in section
32204 \begin_inset space ~
32208 \begin_inset CommandInset ref
32210 reference "sec:Referencing-Floats"
32215 \begin_inset Newline newline
32218 This is a cross-reference of Footnote
32219 \begin_inset space ~
32223 \begin_inset CommandInset ref
32225 reference "foot:This-is-an"
32232 \begin_layout Standard
32233 \begin_inset VSpace defskip
32236 Footnotes in title environments are usually not numbered with symbols and
32237 they cannot contain several paragraphs.
32238 See for example the footnote in the titling of this document.
32241 \begin_layout Standard
32242 Footnotes in multi-page tables are described in section
32243 \begin_inset space ~
32247 \begin_inset CommandInset ref
32249 reference "subsec:Footnotes-in-Multi-page"
32256 \begin_layout Standard
32257 \begin_inset VSpace defskip
32263 \begin_layout Standard
32264 Footnotes in minipage boxes are printed, but inside the box and with a different
32265 numbering because a minipage box is like a page inside a page.
32266 (For more about minipages, see section
32267 \begin_inset space ~
32271 \begin_inset CommandInset ref
32273 reference "sec:Minipages"
32277 .) To get a footnote in the minipage that is output at the bottom of the
32278 page like normal footnotes use this method: Instead of the footnote the
32285 is inserted as \SpecialChar TeX
32287 The text of the footnote is entered as an argument of the \SpecialChar TeX
32295 after the minipage.
32296 \begin_inset Newline newline
32299 This was done for the following minipage with the command
32302 \begin_layout Standard
32309 Footnote outside the minipage.
32314 \begin_layout Standard
32315 \begin_inset Box Frameless
32325 height_special "totalheight"
32330 backgroundcolor "none"
32333 \begin_layout Plain Layout
32334 This an example text in a minipage.
32338 \begin_layout Plain Layout
32339 Footnote in the minipage.
32347 \begin_layout Plain Layout
32348 This an example text in a minipage.
32352 \begin_layout Plain Layout
32369 \begin_layout Standard
32373 \begin_layout Plain Layout
32382 Footnote outside the minipage.
32386 \begin_layout Plain Layout
32396 \begin_layout Standard
32397 \begin_inset VSpace defskip
32403 \begin_layout Standard
32404 To refer to the same footnote several times without printing the footnote
32405 text every time, use the command
32409 footnotemark[number]
32411 in \SpecialChar TeX
32413 \begin_inset Newline newline
32416 As you do not know the number of the repeating footnote while you are writing
32417 the text, you have to store its number.
32418 For the following footnote mark example, these commands were inserted in
32420 code after Footnote
32421 \begin_inset space ~
32425 \begin_inset CommandInset ref
32427 reference "foot:This-is-an"
32431 to store the footnote number:
32434 \begin_layout Standard
32439 newcounter{MyRepeatFoot}
32440 \begin_inset Newline newline
32445 setcounter{MyRepeatFoot}{
32450 \begin_layout Standard
32451 The footnote mark was then created with this command:
32454 \begin_layout Standard
32464 \begin_layout Standard
32465 Here is a repeated footnote:
32473 \begin_layout Plain Layout
32487 \begin_layout Standard
32488 If you want to repeat the previous footnote, you can omit the storage of
32489 the footnote number and just use this command instead:
32492 \begin_layout Standard
32502 \begin_layout Standard
32503 Here is another repeated footnote:
32511 \begin_layout Plain Layout
32525 \begin_layout Subsection
32527 \begin_inset CommandInset label
32529 name "subsec:Footnote-Numbering"
32534 \begin_inset Index idx
32537 \begin_layout Plain Layout
32538 Footnotes ! Numbering
32546 \begin_layout Standard
32547 To reset the footnote number back to 1 after each section
32549 , add this command to your document preamble:
32552 \begin_layout Standard
32557 @addtoreset{footnote}{section}
32560 \begin_layout Standard
32561 \begin_inset VSpace bigskip
32564 The following preamble command changes the footnote numbering style to small
32568 \begin_layout Standard
32580 \begin_layout Standard
32584 \begin_layout Plain Layout
32597 This is a footnote with roman numbering:
32601 \begin_layout Plain Layout
32602 This is an example footnote with roman numbering.
32610 \begin_layout Standard
32611 To change the numbering style to capital roman numerals replace in the command
32626 \begin_inset Quotes eld
32630 \begin_inset Quotes erd
32633 footnotes with capital or small Latin letters use
32647 \begin_inset Quotes eld
32651 \begin_inset Quotes erd
32654 footnotes with symbols use
32663 \begin_layout Standard
32664 \begin_inset Note Greyedout
32667 \begin_layout Plain Layout
32672 You can only number 26 footnotes with Latin letters, because this numbering
32673 is limited to single letters.
32679 \begin_inset Newline newline
32683 \begin_inset Note Greyedout
32686 \begin_layout Plain Layout
32691 You can only number 9 footnotes with symbols.
32699 \begin_layout Standard
32700 To return to the default numbering style after you have changed to another
32713 in the command above.
32717 \begin_layout Plain Layout
32733 \begin_layout Standard
32734 \begin_inset VSpace bigskip
32740 \begin_layout Standard
32741 If you want to have footnotes numbered in the scheme
32742 \begin_inset Quotes eld
32746 \begin_inset Quotes erd
32749 , add the following command to your document preamble:
32752 \begin_layout Standard
32757 numberwithin{footnote}{chapter}
32760 \begin_layout Standard
32761 To be able to use the command
32770 \begin_inset space ~
32775 in the document settings the option
32778 \begin_inset space ~
32782 \begin_inset space ~
32786 \begin_inset space ~
32794 \begin_layout Standard
32798 \begin_layout Plain Layout
32802 numberwithin{footnote}{chapter}
32807 This is another example footnote:
32813 \begin_layout Plain Layout
32814 This is a footnote numbered in the scheme
32815 \begin_inset Quotes eld
32819 \begin_inset Quotes erd
32833 \begin_layout Plain Layout
32849 \begin_layout Standard
32850 \begin_inset Note Greyedout
32853 \begin_layout Plain Layout
32864 always prints out the footnote number as arabic number; previous redefinitions
32865 to get non-arabic numbers are overwritten.
32873 \begin_layout Standard
32874 So to get for example the scheme
32875 \begin_inset Quotes eld
32881 \begin_inset Quotes erd
32884 , use this command instead of
32893 \begin_layout Standard
32907 \begin_layout Subsection
32909 \begin_inset Index idx
32912 \begin_layout Plain Layout
32913 Footnotes ! Placement
32921 \begin_layout Standard
32922 If you have several footnotes in one page, they appear without vertical
32923 space between them at the bottom of the page.
32924 To make them more readable you can e.
32925 \begin_inset space \thinspace{}
32929 \begin_inset space \space{}
32933 \begin_inset space \thinspace{}
32936 mm space with the following preamble command:
32939 \begin_layout Standard
32949 \begin_inset Newline newline
32963 \begin_layout Standard
32964 \begin_inset VSpace bigskip
32967 In a two-column document the footnotes appear at the bottom of every column,
32969 \begin_inset space ~
32973 \begin_inset CommandInset ref
32975 reference "fig:Standard-footnote-placement"
32980 If the footnotes should only appear at the bottom of the right column,
32982 \begin_inset space ~
32986 \begin_inset CommandInset ref
32988 reference "fig:Footnote-placement-in"
32992 , use the \SpecialChar LaTeX
32998 \begin_inset Index idx
33001 \begin_layout Plain Layout
33003 -packages ! ftnright
33008 with this command in the document preamble:
33011 \begin_layout Standard
33016 usepackage{ftnright}
33019 \begin_layout Standard
33020 \begin_inset Float figure
33027 \begin_layout Plain Layout
33030 \begin_inset Box Boxed
33040 height_special "totalheight"
33045 backgroundcolor "none"
33048 \begin_layout Plain Layout
33049 \begin_inset Graphics
33050 filename clipart/without_fntright.pdf
33052 scaleBeforeRotation
33064 \begin_layout Plain Layout
33065 \begin_inset Caption Standard
33067 \begin_layout Plain Layout
33068 \begin_inset CommandInset label
33070 name "fig:Standard-footnote-placement"
33074 Standard footnote placement in two-column documents.
33087 \begin_layout Standard
33088 \begin_inset Float figure
33095 \begin_layout Plain Layout
33098 \begin_inset Box Boxed
33108 height_special "totalheight"
33113 backgroundcolor "none"
33116 \begin_layout Plain Layout
33117 \begin_inset Graphics
33118 filename clipart/with_fntright.pdf
33120 scaleBeforeRotation
33132 \begin_layout Plain Layout
33133 \begin_inset Caption Standard
33135 \begin_layout Plain Layout
33136 \begin_inset CommandInset label
33138 name "fig:Footnote-placement-in"
33142 Footnote placement in two-column documents when the \SpecialChar LaTeX
33160 \begin_layout Standard
33161 \begin_inset VSpace bigskip
33164 In some scientific literature it is usual to collect the footnotes and print
33165 them in a separate paragraph at the end of a section, as in Figure
33166 \begin_inset space ~
33170 \begin_inset CommandInset ref
33172 reference "fig:Endnotes"
33177 They are then called
33178 \begin_inset Quotes eld
33182 \begin_inset Quotes erd
33186 \begin_inset Index idx
33189 \begin_layout Plain Layout
33195 To use endnotes instead of footnotes in your document, load in the menu
33198 Document\SpecialChar menuseparator
33199 Settings\SpecialChar menuseparator
33205 \begin_inset space ~
33209 \begin_inset space ~
33215 To insert the collected footnotes, insert the command
33218 \begin_layout Standard
33226 \begin_layout Standard
33227 in \SpecialChar TeX
33228 Code at the end of a section or chapter.
33231 \begin_layout Standard
33232 \begin_inset Float figure
33239 \begin_layout Plain Layout
33242 \begin_inset Box Boxed
33252 height_special "totalheight"
33257 backgroundcolor "none"
33260 \begin_layout Plain Layout
33261 \begin_inset Graphics
33262 filename clipart/endnotes.pdf
33264 scaleBeforeRotation
33276 \begin_layout Plain Layout
33277 \begin_inset Caption Standard
33279 \begin_layout Plain Layout
33280 \begin_inset CommandInset label
33282 name "fig:Endnotes"
33286 Endnotes – footnotes are printed in a separate paragraph at the end of sections
33300 \begin_layout Standard
33301 \begin_inset VSpace medskip
33304 The paragraph heading for the endnotes isn't automatically translated into
33305 the document language, this must be done manually.
33306 The following preamble command translates the default English
33307 \begin_inset Quotes eld
33311 \begin_inset Quotes erd
33315 \begin_inset Quotes eld
33319 \begin_inset Quotes erd
33325 \begin_layout Standard
33332 notesname}{Anmerkungen}
33335 \begin_layout Standard
33336 \begin_inset VSpace medskip
33339 The numbering of endnotes can be changed like the footnote numbering as
33340 described in section
33341 \begin_inset space ~
33345 \begin_inset CommandInset ref
33347 reference "subsec:Footnote-Numbering"
33351 ; just replace the command
33364 To reset the endnote number use the command
33370 as described in section
33371 \begin_inset space ~
33375 \begin_inset CommandInset ref
33377 reference "subsec:Footnote-Numbering"
33381 and replace the command parameter
33392 \begin_layout Standard
33393 For endnotes there is the command
33397 endnotemark[number]
33399 similar to the command
33405 , that is described in section
33406 \begin_inset space ~
33410 \begin_inset CommandInset ref
33412 reference "sec:Footnotes"
33419 \begin_layout Standard
33420 \begin_inset VSpace bigskip
33423 Footnotes can also be placed in the page margin and the footnote text alignment
33424 can be changed, see the \SpecialChar LaTeX
33430 \begin_inset Index idx
33433 \begin_layout Plain Layout
33435 -packages ! footmisc
33441 \begin_inset CommandInset citation
33448 for more information about this.
33451 \begin_layout Standard
33452 For various further footnote formatting issues have a look at \SpecialChar LaTeX
33454 \begin_inset CommandInset citation
33456 key "latexcompanion,latexguide,latexbook"
33467 \begin_inset Index idx
33470 \begin_layout Plain Layout
33472 -packages ! KOMA-Script
33477 document class, you can adjust all footnote settings using class-specific
33479 \begin_inset CommandInset citation
33489 \begin_layout Section
33491 \begin_inset Index idx
33494 \begin_layout Plain Layout
33495 Notes ! Margin Notes
33503 \begin_layout Standard
33504 Margin notes look and behave in \SpecialChar LyX
33506 They are inserted via the menu
33508 Insert\SpecialChar menuseparator
33510 \begin_inset space ~
33515 or the toolbar button
33518 arg "marginalnote-insert"
33532 \begin_inset Quotes eld
33536 \begin_inset Quotes erd
33539 appears where you can enter the text of the margin note.
33542 \begin_layout Standard
33543 At the side is an example margin note.
33548 \begin_inset Marginal
33551 \begin_layout Plain Layout
33552 This is a margin note.
33560 \begin_layout Standard
33561 Margin notes appear at the right side in single-sided documents.
33562 In double-sided documents they appear in the outer margin – left on even
33563 pages, right on odd pages.
33564 The text of margin notes is aligned opposite to the outer margin – right-aligne
33565 d when the note appears in the left margin.
33566 The first line of the margin note is placed at the position of the text
33567 line where it is inserted in the document.
33570 \begin_layout Standard
33571 \begin_inset VSpace bigskip
33574 To place the margin note in the inner margin, add the command
33577 \begin_layout Standard
33585 \begin_layout Standard
33586 in \SpecialChar TeX
33587 Code before a margin note.
33588 The new placement is valid for all subsequent margin notes.
33593 \begin_layout Plain Layout
33603 \begin_inset Marginal
33606 \begin_layout Plain Layout
33607 This is a margin note in the inner margin.
33615 \begin_inset Newline newline
33621 \begin_inset Note Greyedout
33624 \begin_layout Plain Layout
33629 There is often not enough space in the inner margin so that the notes are
33630 not correctly displayed in the output.
33638 \begin_layout Standard
33639 To return to the default placement insert the command
33642 \begin_layout Standard
33650 \begin_layout Standard
33651 in \SpecialChar TeX
33656 \begin_layout Plain Layout
33666 \begin_inset Note Greyedout
33669 \begin_layout Plain Layout
33674 The command is ignored when it is within a paragraph where also the command
33689 \begin_layout Standard
33690 \begin_inset VSpace bigskip
33697 \begin_inset Marginal
33700 \begin_layout Plain Layout
33701 AVeryLongMarginParWord that isn't hyphenated.
33709 Similar to the case described in section
33710 \begin_inset space ~
33714 \begin_inset CommandInset ref
33716 reference "subsec:Multiple-Lines-in"
33720 , long words cannot be hyphenated when they are the first word in a margin
33722 To avoid this, insert 0
33723 \begin_inset space \thinspace{}
33726 pt horizontal space before the word
33731 \begin_inset Marginal
33734 \begin_layout Plain Layout
33735 \begin_inset space \hspace*{}
33739 AVeryLongMarginParWord that is hyphenated.
33747 \begin_layout Standard
33748 \begin_inset VSpace bigskip
33754 \begin_layout Standard
33755 \begin_inset Note Greyedout
33758 \begin_layout Plain Layout
33763 Margin notes can normally not be used inside tables, floats, and footnotes.
33771 \begin_layout Standard
33772 \begin_inset VSpace bigskip
33778 \begin_layout Standard
33782 \begin_layout Plain Layout
33792 \begin_inset Note Note
33795 \begin_layout Plain Layout
33796 The following section will only be displayed when the \SpecialChar LaTeX
33809 \begin_layout Standard
33810 This restriction can be evaded by using the \SpecialChar LaTeX
33816 \begin_inset Index idx
33819 \begin_layout Plain Layout
33821 -packages ! marginnote
33827 By adding these two lines to your document preamble, the command used by
33829 for margin notes is redefined to use the command provided by the
33836 \begin_layout Standard
33841 usepackage{marginnote}
33842 \begin_inset Newline newline
33854 \begin_layout Standard
33855 This is also used in this document because
33859 has another useful feature: You can set a vertical offset for the note.
33860 This is often needed when too many margin notes are too close together
33861 or for a better page layout.
33862 The offset is set in \SpecialChar LyX
33863 as \SpecialChar TeX
33864 Code directly after the margin note in the scheme
33867 \begin_layout Standard
33873 \begin_layout Standard
33874 where the offset is a length with one of the units listed in Table
33875 \begin_inset space ~
33879 \begin_inset CommandInset ref
33881 reference "tab:Units"
33886 A negative value shifts the note up, a positive value shifts it down.
33890 For example the margin note beside this text line is shifted up 1.5
33891 \begin_inset space \thinspace{}
33894 cm with the \SpecialChar TeX
33896 \begin_inset Quotes eld
33906 \begin_inset Quotes erd
33910 \begin_inset Marginal
33913 \begin_layout Plain Layout
33914 This margin note is shifted up 1.5
33915 \begin_inset space \thinspace{}
33918 cm from its original position.
33930 \begin_layout Plain Layout
33940 \begin_layout Standard
33941 \begin_inset VSpace medskip
33948 you can also change the alignment of the text in the margin note.
33949 For example the commands
33952 \begin_layout Standard
33959 raggedleftmarginnote}{
33962 \begin_inset Newline newline
33969 raggedrightmarginnote}{
33974 \begin_layout Standard
33975 set the alignment to centered.
33980 raggedleftmarginnote
33982 denotes margin notes that appear at the left side.
33989 \begin_layout Plain Layout
33995 raggedleftmarginnote}{
34000 \begin_layout Plain Layout
34006 raggedrightmarginnote}{
34014 \begin_inset Marginal
34017 \begin_layout Plain Layout
34018 The text of this margin note is centered.
34029 \begin_layout Standard
34036 raggedleftmarginnote}{
34039 \begin_inset Newline newline
34046 raggedrightmarginnote}{
34055 \begin_layout Plain Layout
34061 raggedleftmarginnote}{
34066 \begin_layout Plain Layout
34072 raggedrightmarginnote}{
34082 \begin_layout Standard
34083 \begin_inset VSpace medskip
34086 For the other features of
34090 refer to its documentation
34091 \begin_inset CommandInset citation
34101 \begin_layout Standard
34102 \begin_inset VSpace bigskip
34105 You can adjust the layout of margin notes by changing its definition.
34106 To create for example a header for all margin notes with the underlined,
34107 sans-serif, and bold header text
34108 \begin_inset Quotes eld
34120 \begin_inset Quotes erd
34123 , add this to your document preamble:
34126 \begin_layout Standard
34136 \begin_inset Newline newline
34146 \begin_inset Newline newline
34150 \begin_inset Phantom HPhantom
34153 \begin_layout Plain Layout
34156 \begin_inset space ~
34172 underbar{Attention!}}}%
34173 \begin_inset Newline newline
34177 \begin_inset Phantom HPhantom
34180 \begin_layout Plain Layout
34183 \begin_inset space ~
34200 \begin_layout Standard
34207 \begin_layout Plain Layout
34218 \begin_layout Plain Layout
34229 \begin_layout Plain Layout
34237 underbar{Attention!}}}%
34240 \begin_layout Plain Layout
34254 \begin_inset Marginal
34257 \begin_layout Plain Layout
34258 This is a margin note with a defined heading.
34270 \begin_layout Plain Layout
34284 \begin_layout Plain Layout
34301 \begin_inset Note Note
34304 \begin_layout Plain Layout
34305 The margin note format is changed only for this example.
34313 \begin_layout Standard
34317 \begin_layout Plain Layout
34327 \begin_inset Note Note
34330 \begin_layout Plain Layout
34331 The following will be displayed when the \SpecialChar LaTeX
34344 \begin_layout Standard
34345 You need to install the \SpecialChar LaTeX
34350 to see the following part of this section in the output.
34353 \begin_layout Standard
34357 \begin_layout Plain Layout
34369 \begin_layout Chapter
34373 \begin_layout Section
34375 \begin_inset Index idx
34378 \begin_layout Plain Layout
34379 Boxes ! Introduction
34387 \begin_layout Standard
34388 Boxes are used to format a block of text.
34389 Boxes can be used to write documents with multiple languages, see section
34390 \begin_inset space ~
34394 \begin_inset CommandInset ref
34396 reference "sec:Minipages"
34400 , to frame texts, see section
34401 \begin_inset space ~
34405 \begin_inset CommandInset ref
34407 reference "sec:Decoration"
34411 , to prevent words from being hyphenated, see section
34412 \begin_inset space ~
34416 \begin_inset CommandInset ref
34418 reference "sec:Prevent-Hyphenation"
34422 , to align text, see section
34423 \begin_inset space ~
34427 \begin_inset CommandInset ref
34429 reference "subsec:Vertical-Alignment"
34433 , or to set the background color of texts, see section
34434 \begin_inset space ~
34438 \begin_inset CommandInset ref
34440 reference "sec:Colored-Boxes"
34447 \begin_layout Standard
34448 Boxes can be inserted with the menu
34450 Insert\SpecialChar menuseparator
34453 or the toolbar button
34456 arg "box-insert Frameless"
34460 A grey box with the label
34465 \begin_inset Graphics
34466 filename clipart/BoxInsetDefault.png
34468 scaleBeforeRotation
34473 The box type can be specified by right-clicking on the box and selecting
34479 The box dialog offers the
34482 \begin_inset space ~
34504 is the default for new boxes and is explained in section
34505 \begin_inset space ~
34509 \begin_inset CommandInset ref
34511 reference "sec:Minipages"
34519 is described in section
34520 \begin_inset space ~
34524 \begin_inset CommandInset ref
34526 reference "sec:Parboxes"
34535 \begin_inset CommandInset ref
34537 reference "sec:Prevent-Hyphenation"
34544 \begin_layout Standard
34545 Boxes are not numbered and can therefore not be referenced like floats or
34549 \begin_layout Standard
34550 \begin_inset Note Greyedout
34553 \begin_layout Plain Layout
34558 Boxes must not be the item in an
34574 \begin_layout Standard
34575 \begin_inset Note Greyedout
34578 \begin_layout Plain Layout
34583 For an unknown reason you can only set the
34586 \begin_inset space ~
34595 when you use a framed box.
34599 \begin_inset space ~
34604 type and without frames are explained in section
34605 \begin_inset space ~
34609 \begin_inset CommandInset ref
34611 reference "sec:Prevent-Hyphenation"
34623 \begin_layout Section
34625 \begin_inset CommandInset label
34627 name "sec:Box-Dialog"
34632 \begin_inset Index idx
34635 \begin_layout Plain Layout
34644 \begin_layout Subsection
34646 \begin_inset Index idx
34649 \begin_layout Plain Layout
34658 \begin_layout Standard
34659 In the box dialog you can adjust the box geometry in the fields
34668 The available units for the geometry are explained in Table
34669 \begin_inset space ~
34673 \begin_inset CommandInset ref
34675 reference "tab:Units"
34684 offers the following additional sizes:
34687 \begin_layout Description
34688 Depth This is the plain text
34689 \begin_inset Quotes eld
34693 \begin_inset Quotes erd
34697 It ignores the total depth when there are multiple text lines in the box:
34698 \begin_inset Newline newline
34702 \begin_inset Newline newline
34706 \begin_inset Newline newline
34710 \begin_inset Box Boxed
34720 height_special "depth"
34725 backgroundcolor "none"
34728 \begin_layout Plain Layout
34730 Box height set to 1
34731 \begin_inset space \thinspace{}
34740 \begin_inset Newline newline
34744 \begin_inset Newline newline
34750 \begin_layout Description
34751 Height This is the height of the text that is inside the box.
34753 \begin_inset space \thinspace{}
34757 \begin_inset space \space{}
34760 2 for this size will set the box height to 2
34761 \begin_inset space ~
34764 times the text height:
34765 \begin_inset Box Boxed
34775 height_special "height"
34780 backgroundcolor "none"
34783 \begin_layout Plain Layout
34785 Box height set to 2
34786 \begin_inset space \thinspace{}
34797 \begin_layout Description
34799 \begin_inset space ~
34802 Height This is the Height
34803 \begin_inset space \thinspace{}
34807 \begin_inset space \thinspace{}
34811 \begin_inset Box Boxed
34821 height_special "totalheight"
34826 backgroundcolor "none"
34829 \begin_layout Plain Layout
34831 Box height set to 1
34832 \begin_inset space \thinspace{}
34836 \begin_inset space ~
34847 \begin_layout Description
34848 Width This sets the width of the box as height:
34849 \begin_inset Box Boxed
34859 height_special "width"
34864 backgroundcolor "none"
34867 \begin_layout Plain Layout
34869 Box height set to 1
34870 \begin_inset space \thinspace{}
34881 \begin_layout Subsection
34883 \begin_inset Index idx
34886 \begin_layout Plain Layout
34895 \begin_layout Standard
34896 When you have chosen an
34899 \begin_inset space ~
34904 , the vertical box alignment can be:
34907 \begin_layout Description
34908 Top This is an example text line.
34910 \begin_inset Box Boxed
34920 height_special "totalheight"
34925 backgroundcolor "none"
34928 \begin_layout Plain Layout
34930 This box is top-aligned.
34935 This is an example text line.
34938 \begin_layout Description
34939 Middle This is an example text line.
34941 \begin_inset Box Boxed
34951 height_special "totalheight"
34956 backgroundcolor "none"
34959 \begin_layout Plain Layout
34961 This box is middle-aligned.
34966 This is an example text line.
34969 \begin_layout Description
34970 Bottom This is an example text line.
34972 \begin_inset Box Boxed
34982 height_special "totalheight"
34987 backgroundcolor "none"
34990 \begin_layout Plain Layout
34992 This box is bottom-aligned.
34997 This is an example text line.
35000 \begin_layout Standard
35001 \begin_inset Note Greyedout
35004 \begin_layout Plain Layout
35009 The vertical box alignment can be lost in the output when you have two
35010 boxes in a line and one has e.
35011 \begin_inset space \thinspace{}
35015 \begin_inset space \space{}
35018 a shadow and the other one not.
35026 \begin_layout Standard
35027 The horizontal box alignment can be set via \SpecialChar LyX
35028 's paragraph dialog when you
35029 set the box into its own paragraph.
35032 \begin_layout Standard
35033 \begin_inset VSpace bigskip
35036 When you have chosen an
35039 \begin_inset space ~
35044 , the box content can be aligned vertically to:
35047 \begin_layout Description
35048 top This is an example text line.
35050 \begin_inset Box Boxed
35060 height_special "totalheight"
35065 backgroundcolor "none"
35068 \begin_layout Plain Layout
35070 This box text is top-aligned.
35075 This is an example text line.
35078 \begin_layout Description
35079 middle This is an example text line.
35081 \begin_inset Box Boxed
35091 height_special "totalheight"
35096 backgroundcolor "none"
35099 \begin_layout Plain Layout
35101 This box text is middle-aligned.
35106 This is an example text line.
35109 \begin_layout Description
35110 bottom This is an example text line.
35112 \begin_inset Box Boxed
35122 height_special "totalheight"
35127 backgroundcolor "none"
35130 \begin_layout Plain Layout
35132 This box text is bottom-aligned.
35137 This is an example text line.
35140 \begin_layout Description
35141 stretch This is an example text line.
35143 \begin_inset Box Boxed
35153 height_special "totalheight"
35158 backgroundcolor "none"
35161 \begin_layout Plain Layout
35166 \begin_layout Plain Layout
35171 \begin_layout Plain Layout
35178 This is an example text line.
35181 \begin_layout Standard
35182 To stretch the box content, it must consist of more than one paragraph.
35183 In the example above every text line is in an own paragraph.
35186 \begin_layout Standard
35187 \begin_inset VSpace bigskip
35190 To align the box content horizontally you can use \SpecialChar LyX
35191 's paragraph dialog when
35195 \begin_inset space ~
35203 \begin_layout Standard
35205 \begin_inset Box Boxed
35215 height_special "totalheight"
35220 backgroundcolor "none"
35223 \begin_layout Plain Layout
35228 \begin_layout Plain Layout
35233 \begin_layout Plain Layout
35243 \begin_layout Standard
35244 If you have not set an
35247 \begin_inset space ~
35252 , you can align the box content horizontally in the box dialog.
35255 \begin_layout Standard
35257 \begin_inset Box Boxed
35267 height_special "totalheight"
35272 backgroundcolor "none"
35275 \begin_layout Plain Layout
35276 This box text is horizontally stretched.
35284 \begin_layout Subsection
35286 \begin_inset CommandInset label
35288 name "sec:Decoration"
35293 \begin_inset Index idx
35296 \begin_layout Plain Layout
35305 \begin_layout Standard
35306 The type of the box can be specified in the box dialog in the drop-down
35312 The following types are possible:
35315 \begin_layout Description
35317 \begin_inset space ~
35320 frame Nothing is drawn.
35323 \begin_layout Description
35325 \begin_inset space ~
35329 \begin_inset space ~
35332 frame This draws a rectangular frame around the box.
35333 The frame line thickness can be specified.
35335 \begin_inset Box Boxed
35345 height_special "totalheight"
35350 backgroundcolor "none"
35353 \begin_layout Plain Layout
35363 \begin_layout Description
35365 \begin_inset space ~
35369 \begin_inset space ~
35372 thin This draws an oval frame around the box.
35373 The frame line thickness has the size 0.4
35374 \begin_inset space \thinspace{}
35379 \begin_inset Box ovalbox
35389 height_special "totalheight"
35394 backgroundcolor "none"
35397 \begin_layout Plain Layout
35407 \begin_layout Description
35409 \begin_inset space ~
35413 \begin_inset space ~
35416 thick This draws an oval frame around the box.
35417 The frame line thickness has the size 0.8
35418 \begin_inset space \thinspace{}
35423 \begin_inset Box Ovalbox
35433 height_special "totalheight"
35438 backgroundcolor "none"
35441 \begin_layout Plain Layout
35451 \begin_layout Description
35453 \begin_inset space ~
35456 shadow This draws a rectangular frame with a shadow around the box.
35457 The frame line thickness and the shadow can be specified.
35459 \begin_inset Box Shadowbox
35469 height_special "totalheight"
35474 backgroundcolor "none"
35477 \begin_layout Plain Layout
35487 \begin_layout Description
35489 \begin_inset space ~
35492 background This draws a box with a red background.
35493 Unlike colored boxes
35497 \begin_layout Plain Layout
35499 \begin_inset space \thinspace{}
35503 \begin_inset CommandInset ref
35505 reference "sec:Colored-Boxes"
35514 , it always uses the whole column width and the box is set as its own paragraph.
35516 \begin_inset Box Shaded
35526 height_special "totalheight"
35531 backgroundcolor "none"
35534 \begin_layout Plain Layout
35535 Shaded background box
35543 \begin_layout Description
35545 \begin_inset space ~
35549 \begin_inset space ~
35552 frame This draws a double-line rectangular frame around the box.
35553 The line thickness of the inner frame is 0.75
35554 \begin_inset space \thinspace{}
35558 \begin_inset space ~
35561 thickness, the thickness of the outer frame is 1.5
35562 \begin_inset space \thinspace{}
35566 \begin_inset space ~
35570 The distance between the lines is 1.5
35571 \begin_inset space \thinspace{}
35575 \begin_inset space ~
35579 \begin_inset space \thinspace{}
35583 \begin_inset space \thinspace{}
35587 \begin_inset space \thinspace{}
35592 \begin_inset Box Doublebox
35602 height_special "totalheight"
35607 backgroundcolor "none"
35610 \begin_layout Plain Layout
35612 Double rectangular box
35620 \begin_layout Standard
35621 \begin_inset VSpace bigskip
35625 's box label will reflect the different frame types.
35626 To be able to use all types, the \SpecialChar LaTeX
35632 \begin_inset Index idx
35635 \begin_layout Plain Layout
35637 -packages ! fancybox
35645 \begin_layout Standard
35646 \begin_inset VSpace bigskip
35649 When you use the decoration
35651 simple rectangular frame
35653 and no inner box, you can allow page breaks within a box.
35654 Note that then, unlike other framed boxes, the frame always uses the whole
35655 column width and the box is set as its own paragraph:
35656 \begin_inset Box Framed
35666 height_special "totalheight"
35671 backgroundcolor "none"
35674 \begin_layout Plain Layout
35675 Allow page break box
35683 \begin_layout Section
35685 \begin_inset Index idx
35688 \begin_layout Plain Layout
35689 Boxes ! Customization
35697 \begin_layout Standard
35698 The diameter of the round corners of the oval boxes can be set with the
35709 \begin_layout Standard
35717 \begin_layout Standard
35718 sets the diameter to 1
35719 \begin_inset space \thinspace{}
35726 \begin_layout Standard
35734 \begin_layout Standard
35735 sets the diameter to
35738 \begin_inset space \thinspace{}
35742 \begin_inset space \thinspace{}
35745 minimum(width and height of box)
35757 \begin_layout Standard
35761 \begin_layout Plain Layout
35771 \begin_inset Box Ovalbox
35781 height_special "totalheight"
35786 backgroundcolor "none"
35789 \begin_layout Plain Layout
35798 \begin_inset space \thinspace{}
35802 \begin_inset space \thinspace{}
35806 \begin_inset space \thinspace{}
35818 \begin_layout Plain Layout
35830 \begin_layout Standard
35831 \begin_inset VSpace bigskip
35837 \begin_layout Standard
35838 The default background color red of
35842 boxes can either be changed locally with the command
35846 definecolor{shadecolor}
35848 or globally with the menu
35850 Tools\SpecialChar menuseparator
35851 Preferences\SpecialChar menuseparator
35852 Colors\SpecialChar menuseparator
35854 \begin_inset space ~
35866 command is explained in section
35867 \begin_inset space ~
35871 \begin_inset CommandInset ref
35873 reference "sec:Colored-Tables"
35881 \begin_layout Plain Layout
35888 requires the \SpecialChar LaTeX
35893 in the preamble, see section
35894 \begin_inset space ~
35898 \begin_inset CommandInset ref
35900 reference "sec:Colored-Boxes"
35909 For example the appearance of the following shaded background box is set
35910 with the \SpecialChar TeX
35914 \begin_layout Standard
35919 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
35922 \begin_layout Standard
35926 \begin_layout Plain Layout
35930 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
35936 \begin_inset Box Shaded
35946 height_special "totalheight"
35951 backgroundcolor "none"
35954 \begin_layout Plain Layout
35957 This is yellow text in a
35967 box with dark green background.
35976 \begin_layout Plain Layout
35980 definecolor{shadecolor}{rgb}{1,0,0}
35988 \begin_layout Standard
35989 \begin_inset VSpace bigskip
35992 Manually changed sizes and colors are valid for all boxes following the
35993 commands that change them.
35996 \begin_layout Section
35998 \begin_inset CommandInset label
36000 name "sec:Minipages"
36005 \begin_inset Index idx
36008 \begin_layout Plain Layout
36017 \begin_layout Standard
36018 Minipages are treated by \SpecialChar LaTeX
36019 as pages within pages and can therefore for example
36020 have their own footnotes.
36023 \begin_layout Standard
36024 Minipages are useful when you write documents with different languages.
36027 \begin_layout Standard
36028 Below are two example minipages side by side.
36029 Their width is set to 45
36030 \begin_inset space \thinspace{}
36033 col% and they are separated by a horizontal fill, that was inserted via
36036 Insert\SpecialChar menuseparator
36038 \begin_inset space ~
36041 Formatting\SpecialChar menuseparator
36043 \begin_inset space ~
36049 \begin_inset Newpage newpage
36055 \begin_layout Standard
36056 \begin_inset Box Frameless
36066 height_special "totalheight"
36071 backgroundcolor "none"
36074 \begin_layout Plain Layout
36077 Dies ist ein deutscher Text.
36078 Dies ist ein deutscher Text.
36079 Dies ist ein deutscher Text.
36080 Dies ist ein deutscher Text.
36081 Dies ist ein deutscher Text.
36082 Dies ist ein deutscher Text.
36083 Dies ist ein deutscher Text.
36084 Dies ist ein deutscher Text.
36085 Dies ist ein deutscher Text.
36086 Dies ist ein deutscher Text.
36087 Dies ist ein deutscher Text.
36088 Dies ist ein deutscher Text.
36089 Dies ist ein deutscher Text
36093 \begin_layout Plain Layout
36096 Dies ist eine deutsche Fußnote.
36102 Dies ist ein deutscher Text.
36103 Dies ist ein deutscher Text.
36109 \begin_inset space \hfill{}
36113 \begin_inset Box Frameless
36123 height_special "totalheight"
36128 backgroundcolor "none"
36131 \begin_layout Plain Layout
36132 This is an English Text.
36133 This is an English Text.
36134 This is an English Text.
36135 This is an English Text.
36136 This is an English Text.
36137 This is an English Text.
36138 This is an English Text.
36139 This is an English Text.
36140 This is an English Text.
36141 This is an English Text.
36142 This is an English Text.
36143 This is an English Text.
36144 This is an English Text.
36145 This is an English Text.
36146 This is an English Text.
36147 This is an English Text.
36151 \begin_layout Plain Layout
36152 This is an English footnote.
36157 This is an English Text.
36165 \begin_layout Standard
36166 \begin_inset VSpace bigskip
36169 The document-wide paragraph settings are ignored within minipages.
36170 That means that there will be no space between paragraphs in minipages
36171 although you set it to e.
36172 \begin_inset space \thinspace{}
36176 \begin_inset space \space{}
36183 in the document settings.
36186 \begin_layout Standard
36187 Minipages can also be used to set a background color for text parts, see
36189 \begin_inset space ~
36193 \begin_inset CommandInset ref
36195 reference "sec:Colored-Boxes"
36202 \begin_layout Standard
36203 \begin_inset Note Greyedout
36206 \begin_layout Plain Layout
36211 You cannot have floats or margin notes inside minipages but minipages can
36212 be used inside tables, floats, and other boxes.
36220 \begin_layout Standard
36221 \begin_inset VSpace bigskip
36227 \begin_layout Standard
36229 has also basic support for minipages whose size is automatically determined
36230 by the width of their contents, via the module
36232 Variable-width Minipages
36235 The \SpecialChar LyX
36238 varwidth-floats-side-by-side
36240 gives examples of variable-width minipages used for placing two floats
36244 \begin_layout Section
36246 \begin_inset CommandInset label
36248 name "sec:Parboxes"
36253 \begin_inset Index idx
36256 \begin_layout Plain Layout
36265 \begin_layout Standard
36266 Parboxes are very similar to minipages with the difference that they cannot
36270 \begin_layout Standard
36272 \begin_inset Box Frameless
36282 height_special "totalheight"
36287 backgroundcolor "none"
36290 \begin_layout Plain Layout
36291 This a text within a parbox.
36292 This a text within a parbox.
36295 \begin_layout Plain Layout
36296 This footnote won't appear:
36300 \begin_layout Plain Layout
36301 This footnote is inside a parbox and will therefore not appear.
36314 \begin_layout Section
36315 Boxes for Words and Characters
36316 \begin_inset Index idx
36319 \begin_layout Plain Layout
36320 Boxes ! for Characters
36328 \begin_layout Subsection
36329 Prevent Hyphenation
36330 \begin_inset CommandInset label
36332 name "sec:Prevent-Hyphenation"
36337 \begin_inset Index idx
36340 \begin_layout Plain Layout
36341 Boxes ! to Prevent Hyphenation
36349 \begin_layout Standard
36350 You can use the box type
36354 to prevent words or text from being hyphenated.
36355 \begin_inset Newline newline
36358 Here is an example text:
36361 \begin_layout Standard
36362 This line is an example to show how you can prevent the hyphenation of
36363 \begin_inset Quotes eld
36367 \begin_inset Quotes erd
36373 \begin_layout Standard
36374 To prevent the hyphenation of the word
36375 \begin_inset Quotes eld
36379 \begin_inset Quotes erd
36382 , put the word into a box, set the
36385 \begin_inset space ~
36394 and use no explicit width.
36397 \begin_layout Standard
36398 This is the result:
36401 \begin_layout Standard
36402 This line is an example to show how you can prevent the hyphenation of
36403 \begin_inset Box Frameless
36413 height_special "totalheight"
36418 backgroundcolor "none"
36421 \begin_layout Plain Layout
36422 \begin_inset Quotes eld
36426 \begin_inset Quotes erd
36437 \begin_layout Standard
36438 You can alternatively set the command
36439 \begin_inset Quotes eld
36449 \begin_inset Quotes grd
36452 as \SpecialChar TeX
36453 Code directly before the word:
36456 \begin_layout Standard
36457 This line is an example to show how you can prevent the hyphenation of
36458 \begin_inset Quotes eld
36465 \begin_layout Plain Layout
36475 \begin_inset Quotes erd
36481 \begin_layout Standard
36482 Of course the word now protrudes over the side margin.
36483 To avoid this, add via the menu
36485 Insert\SpecialChar menuseparator
36486 Formatting\SpecialChar menuseparator
36488 \begin_inset space ~
36492 \begin_inset space ~
36500 arg "newline-insert newline"
36503 ) a line break before the word:
36506 \begin_layout Standard
36507 This line is an example to show how you can prevent the hyphenation of
36508 \begin_inset Newline newline
36512 \begin_inset Box Frameless
36522 height_special "totalheight"
36527 backgroundcolor "none"
36530 \begin_layout Plain Layout
36531 \begin_inset Quotes eld
36535 \begin_inset Quotes erd
36546 \begin_layout Subsection
36548 \begin_inset CommandInset label
36550 name "subsec:Vertical-Alignment"
36555 \begin_inset Index idx
36558 \begin_layout Plain Layout
36559 Boxes ! for Vertical Alignment
36565 \begin_inset Index idx
36568 \begin_layout Plain Layout
36577 \begin_layout Standard
36578 With the help of the command
36584 you can align words, characters or other boxes vertically relative to the
36592 is used with the following scheme:
36595 \begin_layout Standard
36600 raisebox{lift}[height][depth]{box content}
36603 \begin_layout Standard
36604 The lift can be a positive value to raise the box or a negative value to
36608 \begin_layout Standard
36609 To align for example the word
36610 \begin_inset Quotes eld
36614 \begin_inset Quotes erd
36617 so that the bottom of the
36618 \begin_inset Quotes eld
36622 \begin_inset Quotes erd
36626 \begin_inset Quotes eld
36630 \begin_inset Quotes erd
36633 is at the baseline, insert the command
36636 \begin_layout Standard
36646 \begin_layout Standard
36647 in \SpecialChar TeX
36648 Code before the word.
36649 After the word insert a closing brace
36650 \begin_inset Quotes eld
36658 \begin_inset Quotes erd
36661 in \SpecialChar TeX
36663 \begin_inset Newline newline
36666 This is the result:
36669 \begin_layout Standard
36670 This is a text line with the word
36674 \begin_layout Plain Layout
36686 \begin_inset Quotes eld
36690 \begin_inset Quotes erd
36697 \begin_layout Plain Layout
36707 \begin_layout Standard
36708 \begin_inset VSpace bigskip
36711 When you raise or lower characters in a line, the line distance will be
36715 \begin_layout Standard
36716 This is a text line with the word
36720 \begin_layout Plain Layout
36732 \begin_inset Quotes eld
36736 \begin_inset Quotes erd
36743 \begin_layout Plain Layout
36751 \begin_inset Newline newline
36754 This is a text line with the word
36758 \begin_layout Plain Layout
36768 \begin_inset Quotes eld
36772 \begin_inset Quotes erd
36779 \begin_layout Plain Layout
36789 \begin_layout Standard
36790 If you want to prevent this for a certain reason, set the box height to
36795 \begin_layout Standard
36805 \begin_layout Standard
36806 This is a text line with the word
36810 \begin_layout Plain Layout
36822 \begin_inset Quotes eld
36826 \begin_inset Quotes erd
36833 \begin_layout Plain Layout
36841 \begin_inset Newline newline
36845 \begin_inset Newline newline
36848 This is a text line with the word
36852 \begin_layout Plain Layout
36856 raisebox{0.5cm}[0pt]{
36862 \begin_inset Quotes eld
36866 \begin_inset Quotes erd
36873 \begin_layout Plain Layout
36883 \begin_layout Section
36885 \begin_inset CommandInset label
36887 name "sec:Colored-Boxes"
36892 \begin_inset Index idx
36895 \begin_layout Plain Layout
36904 \begin_layout Standard
36905 To color the background of a box just select the color you like in the box
36907 This is for example a box with orange background:
36908 \begin_inset Box Frameless
36918 height_special "totalheight"
36923 backgroundcolor "orange"
36926 \begin_layout Plain Layout
36927 Box with orange background
36935 \begin_layout Standard
36936 If you use the decoration
36939 \begin_inset space ~
36943 \begin_inset space ~
36948 you can set a frame color.
36949 In this case you must also specify a background color (LyX sets white as
36951 Here is an example:
36952 \begin_inset Box Boxed
36962 height_special "totalheight"
36967 backgroundcolor "yellow"
36970 \begin_layout Plain Layout
36971 Box with teal frame color and yellow background color
36979 \begin_layout Standard
36980 \begin_inset VSpace bigskip
36983 Of course you can also have colored text inside a colored box:
36984 \begin_inset Newline newline
36988 \begin_inset Box Boxed
36998 height_special "totalheight"
37003 backgroundcolor "magenta"
37006 \begin_layout Plain Layout
37009 This is colored text within a colored, framed box
37017 \begin_layout Standard
37018 \begin_inset VSpace bigskip
37024 \begin_layout Standard
37025 If you need another color than the predefined ones, you can define your
37026 own color as described in section
37027 \begin_inset space ~
37031 \begin_inset CommandInset ref
37033 reference "sec:Colored-Tables"
37038 To use your own color you must typeset the box by using TeX code:
37041 \begin_layout Standard
37042 Colored boxes without frame are created with the command
37049 It has the following scheme:
37052 \begin_layout Standard
37057 colorbox{color}{box content}
37060 \begin_layout Standard
37061 The box content can also be a box and colored boxes can also be within other
37064 \begin_inset space \thinspace{}
37068 \begin_inset space \space{}
37071 a darkgreen background for a word, insert the command
37074 \begin_layout Standard
37079 colorbox{darkgreen}{
37082 \begin_layout Standard
37083 before the word in \SpecialChar TeX
37085 After the word insert a closing brace
37086 \begin_inset Quotes eld
37094 \begin_inset Quotes erd
37097 in \SpecialChar TeX
37099 \begin_inset Newline newline
37102 This is the result:
37105 \begin_layout Standard
37106 This is a line where the word
37110 \begin_layout Plain Layout
37114 colorbox{darkgreen}{
37120 \begin_inset Quotes eld
37124 \begin_inset Quotes erd
37131 \begin_layout Plain Layout
37138 has a darkgreen background.
37141 \begin_layout Standard
37142 Framed, colored boxes are created with the command
37149 It has the following scheme:
37152 \begin_layout Standard
37157 fcolorbox{frame color}{box color}{box content}
37160 \begin_layout Section
37161 Rotated and Scaled Boxes
37164 \begin_layout Standard
37165 To use the boxes described in this section, the module
37169 must be loaded in the document settings.
37172 \begin_layout Standard
37173 \begin_inset Note Greyedout
37176 \begin_layout Plain Layout
37181 Not all DVI viewers are able to display rotated or scaled material.
37189 \begin_layout Standard
37190 \begin_inset Note Greyedout
37193 \begin_layout Plain Layout
37198 Floats are not allowed inside a rotated or scaled box.
37206 \begin_layout Subsection
37208 \begin_inset Index idx
37211 \begin_layout Plain Layout
37218 \begin_inset Index idx
37221 \begin_layout Plain Layout
37230 \begin_layout Standard
37231 To rotate material, you can put it into a
37236 Such a box is inserted via the menu
37238 Insert\SpecialChar menuseparator
37239 Custom Insets\SpecialChar menuseparator
37245 \begin_layout Standard
37246 The rotation origin can be specified via the inset
37252 Insert\SpecialChar menuseparator
37260 The following positions are possible:
37280 (top), along with meaningful combinations of the four base positions.
37285 means that the rotation origin is at the top left corner of the box.
37286 When no rotation origin is specified, the position
37291 The rotation angle is a number that can be negative that specifies the
37293 The rotation direction is counterclockwise.
37296 \begin_layout Standard
37297 In the following example
37301 was inserted to the
37309 was inserted to the
37316 \begin_layout Standard
37318 \begin_inset Flex Rotatebox
37321 \begin_layout Plain Layout
37322 \begin_inset Argument 1
37325 \begin_layout Plain Layout
37332 \begin_inset Argument 2
37335 \begin_layout Plain Layout
37349 \begin_layout Standard
37350 The box content can also be another box or an inline formula:
37353 \begin_layout Standard
37355 \begin_inset Flex Rotatebox
37358 \begin_layout Plain Layout
37359 \begin_inset Argument 1
37362 \begin_layout Plain Layout
37369 \begin_inset Argument 2
37372 \begin_layout Plain Layout
37379 \begin_inset Box Doublebox
37389 height_special "totalheight"
37394 backgroundcolor "none"
37397 \begin_layout Plain Layout
37409 \begin_inset Flex Rotatebox
37412 \begin_layout Plain Layout
37413 \begin_inset Argument 1
37416 \begin_layout Plain Layout
37423 \begin_inset Argument 2
37426 \begin_layout Plain Layout
37433 \begin_inset Formula $\int A\,\mathrm{d}x=B$
37444 \begin_layout Standard
37445 or an image or table:
37448 \begin_layout Standard
37450 \begin_inset Flex Rotatebox
37453 \begin_layout Plain Layout
37454 \begin_inset Argument 1
37457 \begin_layout Plain Layout
37464 \begin_inset Argument 2
37467 \begin_layout Plain Layout
37474 \begin_inset Graphics
37475 filename clipart/Star-structure.pdf
37486 with a rotated image
37487 \begin_inset Flex Rotatebox
37490 \begin_layout Plain Layout
37491 \begin_inset Argument 2
37494 \begin_layout Plain Layout
37501 \begin_inset Tabular
37502 <lyxtabular version="3" rows="2" columns="2">
37503 <features tabularvalignment="middle">
37504 <column alignment="center" valignment="top">
37505 <column alignment="center" valignment="top">
37507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37510 \begin_layout Plain Layout
37516 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37519 \begin_layout Plain Layout
37527 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37530 \begin_layout Plain Layout
37536 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
37539 \begin_layout Plain Layout
37556 \begin_inset Index idx
37559 \begin_layout Plain Layout
37566 \begin_inset Index idx
37569 \begin_layout Plain Layout
37570 Table Customization ! Rotating
37578 \begin_layout Standard
37579 \begin_inset Note Greyedout
37582 \begin_layout Plain Layout
37591 inset is empty or contains other characters than numbers you will get \SpecialChar LaTeX
37593 errors when viewing/exporting the document.
37601 \begin_layout Subsection
37603 \begin_inset Index idx
37606 \begin_layout Plain Layout
37613 \begin_inset Index idx
37616 \begin_layout Plain Layout
37625 \begin_layout Standard
37626 To scale material put it into a
37631 Such a box is inserted via the menu
37633 Insert\SpecialChar menuseparator
37634 Custom Insets\SpecialChar menuseparator
37640 \begin_layout Standard
37645 inset has the mandatory inset
37649 and the optional inset
37653 (inserted via the menu
37655 Insert\SpecialChar menuseparator
37659 Input there the horizontal and vertical scale factor, respectively.
37664 inset is used, the horizontal factor will also be used as the vertical
37668 \begin_layout Standard
37669 To get for example the double text size, compared to the document text size,
37680 \begin_inset Flex Scalebox
37683 \begin_layout Plain Layout
37684 \begin_inset Argument 1
37687 \begin_layout Plain Layout
37701 \begin_layout Standard
37719 \begin_inset Flex Scalebox
37722 \begin_layout Plain Layout
37723 \begin_inset Argument 1
37726 \begin_layout Plain Layout
37733 \begin_inset Argument 2
37736 \begin_layout Plain Layout
37750 \begin_layout Standard
37751 If the scaling factor is negative, the box content will be mirrored.
37768 can be used to create mirror writing:
37769 \begin_inset Flex Scalebox
37772 \begin_layout Plain Layout
37773 \begin_inset Argument 1
37776 \begin_layout Plain Layout
37783 \begin_inset Argument 2
37786 \begin_layout Plain Layout
37800 \begin_layout Standard
37818 \begin_inset Flex Scalebox
37821 \begin_layout Plain Layout
37822 \begin_inset Argument 1
37825 \begin_layout Plain Layout
37832 \begin_inset Argument 2
37835 \begin_layout Plain Layout
37849 \begin_layout Standard
37856 Insert\SpecialChar menuseparator
37857 Custom Insets\SpecialChar menuseparator
37883 \begin_layout Standard
37884 \begin_inset Note Greyedout
37887 \begin_layout Plain Layout
37896 inset is empty or contains other characters than numbers you will get LaTeX
37897 errors when viewing/exporting the document.
37905 \begin_layout Standard
37906 \begin_inset VSpace bigskip
37915 Insert\SpecialChar menuseparator
37916 Custom Insets\SpecialChar menuseparator
37919 ) is used to scale the content to a defined width and height.
37924 inset has the mandatory inset
37928 and the optional inset
37932 (inserted via the menu
37934 Insert\SpecialChar menuseparator
37938 Input there the width and height, respectively, as value with a unit.
37940 \begin_inset CommandInset ref
37942 reference "tab:Units"
37946 lists the possible units.
37947 If there is an exclamation mark
37951 in of of the two insets, the size is set so that the aspect ratio of the
37952 box content is kept.
37957 inset is used an exclamation mark will internally be used for the height.
37960 \begin_layout Standard
37978 \begin_inset Flex Resizebox
37981 \begin_layout Plain Layout
37982 \begin_inset Argument 1
37985 \begin_layout Plain Layout
37992 \begin_inset Argument 2
37995 \begin_layout Plain Layout
38007 \begin_inset Newline newline
38031 \begin_inset Flex Resizebox
38034 \begin_layout Plain Layout
38035 \begin_inset Argument 1
38038 \begin_layout Plain Layout
38045 \begin_inset Argument 2
38048 \begin_layout Plain Layout
38062 \begin_layout Standard
38063 \begin_inset Note Greyedout
38066 \begin_layout Plain Layout
38075 inset is empty or contains an invalid unit you will get LaTeX errors when
38076 viewing/exporting the document.
38084 \begin_layout Standard
38085 \begin_inset VSpace bigskip
38091 \begin_layout Standard
38092 The boxes can be combined in any order.
38101 which is in turn inside a
38108 \begin_layout Standard
38111 \begin_inset Flex Rotatebox
38114 \begin_layout Plain Layout
38115 \begin_inset Argument 1
38118 \begin_layout Plain Layout
38125 \begin_inset Argument 2
38128 \begin_layout Plain Layout
38135 \begin_inset Flex Resizebox
38138 \begin_layout Plain Layout
38139 \begin_inset Argument 1
38142 \begin_layout Plain Layout
38149 \begin_inset Flex Reflectbox
38152 \begin_layout Plain Layout
38171 \begin_layout Standard
38173 Images, tables, and inline formulas are allowed as box content:
38176 \begin_layout Standard
38179 \begin_inset Flex Resizebox
38182 \begin_layout Plain Layout
38183 \begin_inset Argument 1
38186 \begin_layout Plain Layout
38193 \begin_inset Flex Reflectbox
38196 \begin_layout Plain Layout
38197 \begin_inset Graphics
38198 filename clipart/Star-structure.pdf
38215 \begin_inset Flex Resizebox
38218 \begin_layout Plain Layout
38219 \begin_inset Argument 1
38222 \begin_layout Plain Layout
38229 \begin_inset Flex Reflectbox
38232 \begin_layout Plain Layout
38233 \begin_inset Tabular
38234 <lyxtabular version="3" rows="2" columns="2">
38235 <features tabularvalignment="middle">
38236 <column alignment="center" valignment="top">
38237 <column alignment="center" valignment="top">
38239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38242 \begin_layout Plain Layout
38248 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38251 \begin_layout Plain Layout
38259 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38262 \begin_layout Plain Layout
38268 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38271 \begin_layout Plain Layout
38293 \begin_inset Flex Resizebox
38296 \begin_layout Plain Layout
38297 \begin_inset Argument 1
38300 \begin_layout Plain Layout
38307 \begin_inset Flex Reflectbox
38310 \begin_layout Plain Layout
38311 \begin_inset Formula $\int A\,\mathrm{d}x=B$
38325 \begin_inset Index idx
38328 \begin_layout Plain Layout
38335 \begin_inset Index idx
38338 \begin_layout Plain Layout
38339 Table Customization ! Scaling
38347 \begin_layout Standard
38348 When the global formula style
38352 is used in the document
38356 \begin_layout Plain Layout
38358 \begin_inset Quotes eld
38362 \begin_inset Quotes erd
38365 is added to the document class options.
38370 , display style formulas can also be scaled.
38373 \begin_layout Chapter
38374 Objects Surrounded by Text
38375 \begin_inset Index idx
38378 \begin_layout Plain Layout
38387 \begin_layout Section
38389 \begin_inset CommandInset label
38391 name "sec:Wrap-Floats"
38396 \begin_inset Index idx
38399 \begin_layout Plain Layout
38400 Floats ! Wrap Floats
38406 \begin_inset Index idx
38409 \begin_layout Plain Layout
38410 Surrounded by text ! Wrap Floats
38418 \begin_layout Standard
38419 \begin_inset Wrap figure
38426 \begin_layout Plain Layout
38427 \begin_inset Graphics
38428 filename clipart/2D-intensity-plot.pdf
38430 scaleBeforeRotation
38431 rotateOrigin center
38438 \begin_layout Plain Layout
38439 \begin_inset Caption Standard
38441 \begin_layout Plain Layout
38442 \begin_inset CommandInset label
38444 name "fig:This-is-a"
38448 This is a figure wrap float.
38458 This float type is used if you want to wrap text around a figure or table
38459 so that it only occupies some fraction of the column width.
38460 It can be inserted using the menu
38462 Insert\SpecialChar menuseparator
38463 Floats\SpecialChar menuseparator
38465 \begin_inset space ~
38469 \begin_inset space ~
38477 \begin_inset space ~
38481 \begin_inset space ~
38486 if the \SpecialChar LaTeX
38492 \begin_inset Index idx
38495 \begin_layout Plain Layout
38497 -packages ! wrapfig
38506 \begin_layout Plain Layout
38507 Installing a \SpecialChar LaTeX
38508 -package is explained it in the
38512 \begin_inset space ~
38522 The settings of the float can be modified by right-clicking on the float
38524 The mandatory settings are the float
38537 that specifies how much the float is set into the paragraph
38538 \begin_inset space \thinspace{}
38542 \begin_inset space \thinspace{}
38545 page margin, and the
38548 \begin_inset space ~
38553 that specifies how many text lines the float will approximately need.
38554 The line span is often hard to approximate; so it is better only to use
38555 it when you encounter float placement problems.
38556 You can furthermore decide if \SpecialChar LaTeX
38557 is allowed to let the float float within
38558 the paragraph or to surrounding paragraphs.
38560 \begin_inset space ~
38564 \begin_inset CommandInset ref
38566 reference "fig:This-is-a"
38570 is an example text wrap float with a width of 40
38571 \begin_inset space \thinspace{}
38575 \begin_inset space \thinspace{}
38578 cm overhang, set to the left.
38581 \begin_layout Standard
38582 \begin_inset Note Greyedout
38585 \begin_layout Plain Layout
38591 \begin_inset space ~
38594 wrap float floats are fragile! E.
38595 \begin_inset space \thinspace{}
38599 \begin_inset space \space{}
38602 having a figure too close to the bottom of the page can mess things up in
38603 such a way that the float does not appear in the output or that it is placed
38604 over some other text.
38612 \begin_layout Standard
38613 In general, the following applies for wrap floats:
38616 \begin_layout Itemize
38617 They should not be placed in paragraphs that run over a page break.
38618 That means that wrap floats are better inserted in their exact place when
38619 the document is almost finished and you are able to estimate where page
38620 breaks will appear.
38623 \begin_layout Itemize
38624 They should either be placed in their own paragraph before the paragraph
38625 where they should wrap into or within a paragraph.
38628 \begin_layout Itemize
38629 In consecutive paragraphs they may cause troubles, so ensure that there
38630 is a text paragraph between them as separator.
38633 \begin_layout Itemize
38634 They are not allowed in section headings or tables.
38637 \begin_layout Itemize
38638 Their numbering and referencing works as described in chap.
38639 \begin_inset space \thinspace{}
38643 \begin_inset CommandInset ref
38645 reference "chap:Floats"
38652 \begin_layout Section
38653 Surrounded Fixed Objects
38654 \begin_inset Index idx
38657 \begin_layout Plain Layout
38658 Surrounded by text ! Fixed objects
38666 \begin_layout Standard
38667 The wrap floats described in sec.
38668 \begin_inset space \thinspace{}
38672 \begin_inset CommandInset ref
38674 reference "sec:Wrap-Floats"
38678 have these positions in the paragraph:
38681 \begin_layout Standard
38684 \begin_inset Tabular
38685 <lyxtabular version="3" rows="2" columns="2">
38686 <features tabularvalignment="middle">
38687 <column alignment="center" valignment="top">
38688 <column alignment="center" valignment="top">
38690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38693 \begin_layout Plain Layout
38696 arg "dialog-show-new-inset graphics"
38704 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38707 \begin_layout Plain Layout
38715 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38718 \begin_layout Plain Layout
38724 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38727 \begin_layout Plain Layout
38739 \begin_inset Tabular
38740 <lyxtabular version="3" rows="2" columns="2">
38741 <features tabularvalignment="middle">
38742 <column alignment="center" valignment="top">
38743 <column alignment="center" valignment="top">
38745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38748 \begin_layout Plain Layout
38754 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38757 \begin_layout Plain Layout
38760 arg "dialog-show-new-inset graphics"
38770 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38773 \begin_layout Plain Layout
38779 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38782 \begin_layout Plain Layout
38796 \begin_layout Standard
38797 To get an object exactly at the position where it is inserted, for example
38798 to get one of these positions:
38799 \begin_inset VSpace defskip
38805 \begin_layout Standard
38808 \begin_inset Tabular
38809 <lyxtabular version="3" rows="2" columns="2">
38810 <features tabularvalignment="middle">
38811 <column alignment="center" valignment="top">
38812 <column alignment="center" valignment="top">
38814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38817 \begin_layout Plain Layout
38823 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38826 \begin_layout Plain Layout
38834 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38837 \begin_layout Plain Layout
38840 arg "dialog-show-new-inset graphics"
38848 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38851 \begin_layout Plain Layout
38863 \begin_inset Tabular
38864 <lyxtabular version="3" rows="2" columns="2">
38865 <features tabularvalignment="middle">
38866 <column alignment="center" valignment="top">
38867 <column alignment="center" valignment="top">
38869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38872 \begin_layout Plain Layout
38878 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38881 \begin_layout Plain Layout
38889 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38892 \begin_layout Plain Layout
38898 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38901 \begin_layout Plain Layout
38904 arg "dialog-show-new-inset graphics"
38918 \begin_inset Tabular
38919 <lyxtabular version="3" rows="2" columns="3">
38920 <features tabularvalignment="middle">
38921 <column alignment="center" valignment="top">
38922 <column alignment="center" valignment="top">
38923 <column alignment="center" valignment="top">
38925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38928 \begin_layout Plain Layout
38934 <cell alignment="center" valignment="top" topline="true" usebox="none">
38937 \begin_layout Plain Layout
38940 arg "dialog-show-new-inset graphics"
38948 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38951 \begin_layout Plain Layout
38959 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38962 \begin_layout Plain Layout
38968 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
38971 \begin_layout Plain Layout
38977 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38980 \begin_layout Plain Layout
38992 \begin_inset Tabular
38993 <lyxtabular version="3" rows="2" columns="3">
38994 <features tabularvalignment="middle">
38995 <column alignment="center" valignment="top">
38996 <column alignment="center" valignment="top">
38997 <column alignment="center" valignment="top">
38999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39002 \begin_layout Plain Layout
39008 <cell alignment="center" valignment="top" topline="true" usebox="none">
39011 \begin_layout Plain Layout
39017 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39020 \begin_layout Plain Layout
39028 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39031 \begin_layout Plain Layout
39037 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
39040 \begin_layout Plain Layout
39043 arg "dialog-show-new-inset graphics"
39051 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39054 \begin_layout Plain Layout
39068 \begin_layout Standard
39071 \begin_inset Tabular
39072 <lyxtabular version="3" rows="3" columns="2">
39073 <features tabularvalignment="middle">
39074 <column alignment="center" valignment="top">
39075 <column alignment="center" valignment="top">
39077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39080 \begin_layout Plain Layout
39086 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39089 \begin_layout Plain Layout
39097 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39100 \begin_layout Plain Layout
39103 arg "dialog-show-new-inset graphics"
39111 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39114 \begin_layout Plain Layout
39122 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39125 \begin_layout Plain Layout
39131 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39134 \begin_layout Plain Layout
39146 \begin_inset Tabular
39147 <lyxtabular version="3" rows="3" columns="3">
39148 <features tabularvalignment="middle">
39149 <column alignment="center" valignment="top">
39150 <column alignment="center" valignment="top">
39151 <column alignment="center" valignment="top">
39153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39156 \begin_layout Plain Layout
39162 <cell alignment="center" valignment="top" topline="true" usebox="none">
39165 \begin_layout Plain Layout
39171 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39174 \begin_layout Plain Layout
39182 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39185 \begin_layout Plain Layout
39191 <cell alignment="center" valignment="top" usebox="none">
39194 \begin_layout Plain Layout
39197 arg "dialog-show-new-inset graphics"
39205 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39208 \begin_layout Plain Layout
39216 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39219 \begin_layout Plain Layout
39225 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
39228 \begin_layout Plain Layout
39234 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39237 \begin_layout Plain Layout
39249 \begin_inset Tabular
39250 <lyxtabular version="3" rows="3" columns="2">
39251 <features tabularvalignment="middle">
39252 <column alignment="center" valignment="top">
39253 <column alignment="center" valignment="top">
39255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39258 \begin_layout Plain Layout
39264 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39267 \begin_layout Plain Layout
39275 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39278 \begin_layout Plain Layout
39284 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39287 \begin_layout Plain Layout
39290 arg "dialog-show-new-inset graphics"
39300 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39303 \begin_layout Plain Layout
39309 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39312 \begin_layout Plain Layout
39326 \begin_layout Standard
39328 you can use the \SpecialChar LaTeX
39334 \begin_inset Index idx
39337 \begin_layout Plain Layout
39339 -packages ! picinpar
39345 Here is an example:
39348 \begin_layout Standard
39352 \begin_layout Plain Layout
39362 \begin_inset Note Note
39365 \begin_layout Plain Layout
39366 The following section will only be displayed when the \SpecialChar LaTeX
39379 \begin_layout Standard
39383 \begin_layout Plain Layout
39387 begin{window}[2,c,{
39393 \begin_inset Graphics
39394 filename clipart/2D-intensity-plot.pdf
39397 scaleBeforeRotation
39398 rotateOrigin center
39406 \begin_layout Plain Layout
39411 \begin_layout Plain Layout
39420 It was in the spring of the year 1894 that all London was interested, and
39421 the fashionable world dismayed, by the murder of the Honourable Ronald
39422 Adair under most unusual and inexplicable circumstances.
39423 The public has already learned those particulars of the crime which
39429 \begin_layout Plain Layout
39440 came out in the police investigation, but a good deal was suppressed upon
39441 that occasion, since the case for the prosecution was so overwhelmingly
39442 strong that it was not necessary to bring forward all the facts.
39443 Only now, at the end of nearly ten years, am I allowed to supply those
39444 missing links which make up the whole of that remarkable chain.
39450 \begin_layout Plain Layout
39462 \begin_layout Standard
39466 \begin_layout Plain Layout
39475 Footnote of the paragraph with the fixed object.
39479 \begin_layout Plain Layout
39489 \begin_layout Standard
39490 Surrounded fixed objects are used to let text float around them, at which
39491 the object's position in the paragraph can be determined by the number
39493 In contrary to floats is it not possible to have a numbered caption.
39496 \begin_layout Standard
39497 A fixed object is inserted by adding the command
39500 \begin_layout Standard
39505 begin{window}[2,c,{
39508 \begin_layout Standard
39509 as \SpecialChar TeX
39510 Code at the beginning of the paragraph.
39511 The first parameter in the bracket, here '2', defines the number of lines
39512 above the object, the second, here 'c', the position of the object.
39513 The positions 'l', 'c' and 'r' (for left, center, right) are possible.
39514 Behind the command you insert the object.
39515 In this example an image with a width of 40
39516 \begin_inset space \thinspace{}
39519 % of the text column width was inserted.
39520 The object can also be a table, a box or an equation.
39521 Behind the object the command
39524 \begin_layout Standard
39527 },description text]
39528 \begin_inset Newline newline
39534 \begin_layout Standard
39537 \begin_inset Quotes eld
39545 \begin_inset Quotes erd
39548 is in the second line.
39549 The description text is optional.
39550 The text surrounding the object must be in the same paragraph as the object,
39551 so it must begin directly after the
39556 At the end of the paragraph insert the command:
39559 \begin_layout Standard
39567 \begin_layout Standard
39568 Within a paragraph with a fixed object, you cannot insert footnotes in the
39570 You have to use instead the command
39576 inside the paragraph and outside the command
39582 as described in sec.
39583 \begin_inset space \thinspace{}
39587 \begin_inset CommandInset ref
39589 reference "sec:Footnotes"
39596 \begin_layout Standard
39600 \begin_layout Plain Layout
39610 \begin_inset Note Note
39613 \begin_layout Plain Layout
39614 The following will be displayed when the \SpecialChar LaTeX
39627 \begin_layout Standard
39628 You need to install the \SpecialChar LaTeX
39633 to see the following part of this section in the output.
39636 \begin_layout Standard
39640 \begin_layout Plain Layout
39652 \begin_layout Section
39654 \begin_inset Index idx
39657 \begin_layout Plain Layout
39664 \begin_inset Index idx
39667 \begin_layout Plain Layout
39668 Surrounded by text ! Initials
39676 \begin_layout Standard
39677 To use initials, you must have the \SpecialChar LaTeX
39683 \begin_inset Index idx
39686 \begin_layout Plain Layout
39688 -packages ! lettrine
39693 installed and use the module
39697 in your document (menu
39699 Document\SpecialChar menuseparator
39700 Settings\SpecialChar menuseparator
39704 To insert an initial, use the style
39709 This style has a mandatory and two optional arguments.
39710 The arguments are inserted via the
39715 The mandatory argument
39719 contains the letter(s) that is the initial, the argument
39722 \begin_inset space ~
39726 \begin_inset space ~
39731 contains the rest of the word or text of the initial letter(s).
39736 contains parameters to modify the initial.
39737 For more information about the possible parameters see the documentation
39743 \begin_inset CommandInset citation
39751 The style itself contains the text that is surrounding the initial.
39752 The usual style is hereby that the word whose first letter is the initial,
39760 \begin_layout Standard
39761 Here are some examples:
39764 \begin_layout Standard
39768 \begin_layout Plain Layout
39778 \begin_inset Note Note
39781 \begin_layout Plain Layout
39782 The following section will only be displayed when the \SpecialChar LaTeX
39795 \begin_layout Enumerate
39796 No optional argument, the initial is the letter 'I' in the math font
39797 \begin_inset Formula $\mathfrak{Fraktur}$
39804 \begin_layout Initial
39805 \begin_inset Argument 2
39808 \begin_layout Plain Layout
39809 \begin_inset Formula $\mathfrak{I}$
39818 \begin_inset Argument 3
39821 \begin_layout Plain Layout
39827 was in the spring of the year 1894 that all London was interested, and
39828 the fashionable world dismayed, by the murder of the Honourable Ronald
39829 Adair under most unusual and inexplicable circumstances.
39830 The public has already learned those particulars of the crime which came
39831 out in the police investigation, but a good deal was suppressed upon that
39832 occasion, since the case for the prosecution was so overwhelmingly strong
39833 that it was not necessary to bring forward all the facts.
39834 \begin_inset Newpage newpage
39841 \begin_layout Enumerate
39842 Only one line is surrounding the initial, which is formed by two letters
39843 in standard font and no text is printed in small caps:
39847 \begin_layout Initial
39848 \begin_inset Argument 1
39851 \begin_layout Plain Layout
39858 \begin_inset Argument 2
39861 \begin_layout Plain Layout
39867 was in the spring of the year 1894 that all London was interested, and
39868 the fashionable world dismayed, by the murder of the Honourable Ronald
39869 Adair under most unusual and inexplicable circumstances.
39870 The public has already learned those particulars of the crime which came
39871 out in the police investigation, but a good deal was suppressed upon that
39872 occasion, since the case for the prosecution was so overwhelmingly strong
39873 that it was not necessary to bring forward all the facts.
39877 \begin_layout Enumerate
39878 Magenta, hanging initial over 3
39879 \begin_inset space ~
39882 lines in the math font
39883 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
39887 \begin_inset Quotes eld
39890 t was in the spring
39891 \begin_inset Quotes erd
39898 ; to color the initial, you must insert this command before the initial:
39899 \begin_inset Newline newline
39913 \begin_inset Newline newline
39921 \begin_inset Quotes eld
39925 \begin_inset Quotes erd
39929 \begin_inset Quotes eld
39933 \begin_inset Quotes erd
39937 \begin_inset Quotes eld
39941 \begin_inset Quotes erd
39945 \begin_inset Quotes eld
39949 \begin_inset Quotes erd
39953 \begin_inset Quotes eld
39957 \begin_inset Quotes erd
39961 \begin_inset Quotes eld
39965 \begin_inset Quotes erd
39969 \begin_inset Quotes eld
39973 \begin_inset Quotes erd
39977 \begin_inset Quotes eld
39981 \begin_inset Quotes erd
39984 , and add this command to the document preamble:
39985 \begin_inset Newline newline
39992 @ifundefined{textcolor}
39993 \begin_inset Newline newline
39997 \begin_inset space ~
40002 usepackage{color}}{}
40006 \begin_layout Standard
40010 \begin_layout Plain Layout
40024 \begin_inset Note Note
40027 \begin_layout Plain Layout
40028 makes the initial magenta
40036 \begin_layout Initial
40037 \begin_inset Argument 1
40040 \begin_layout Plain Layout
40041 lines=3, lhang=0.33, loversize=0.25
40047 \begin_inset Argument 2
40050 \begin_layout Plain Layout
40051 \begin_inset Formula $\mathcal{I}$
40060 \begin_inset Argument 3
40063 \begin_layout Plain Layout
40064 t was in the spring
40069 of the year 1894 that all London was interested, and the fashionable world
40070 dismayed, by the murder of the Honourable Ronald Adair under most unusual
40071 and inexplicable circumstances.
40072 The public has already learned those particulars of the crime which came
40073 out in the police investigation, but a good deal was suppressed upon that
40074 occasion, since the case for the prosecution was so overwhelmingly strong
40075 that it was not necessary to bring forward all the facts.
40079 \begin_layout Standard
40083 \begin_layout Plain Layout
40093 \begin_inset Note Note
40096 \begin_layout Plain Layout
40097 The following will be displayed when the \SpecialChar LaTeX
40110 \begin_layout Standard
40111 You need to install the \SpecialChar LaTeX
40116 to see the following part of this section in the output.
40119 \begin_layout Standard
40123 \begin_layout Plain Layout
40135 \begin_layout Chapter
40136 External Document Parts
40137 \begin_inset Index idx
40140 \begin_layout Plain Layout
40141 External Document Parts
40149 \begin_layout Standard
40152 Insert\SpecialChar menuseparator
40155 you can insert external material into your document.
40159 \begin_layout Description
40161 \begin_inset space ~
40164 Document Another \SpecialChar LyX
40165 document; its content is directly inserted to your document.
40168 \begin_layout Description
40170 \begin_inset space ~
40173 Text A text document; each line is inserted in your document as a separate
40177 \begin_layout Description
40179 \begin_inset space ~
40183 \begin_inset space ~
40187 \begin_inset space ~
40190 Lines A text document; text lines are inserted in your document continuously
40191 but an empty text line creates a new paragraph.
40194 \begin_layout Description
40196 \begin_inset space ~
40199 Material Files in various formats.
40202 \begin_layout Description
40204 \begin_inset space ~
40207 Document \SpecialChar LyX
40208 or \SpecialChar LaTeX
40212 \begin_layout Section
40214 \begin_inset Index idx
40217 \begin_layout Plain Layout
40218 External Document Parts ! External Material
40226 \begin_layout Standard
40227 The external material feature allows you to insert files into your document
40228 without converting them to a format that can be read by the document output
40231 takes care of the necessary conversions.
40232 This is similar to images that can be inserted in various image formats
40233 in \SpecialChar LyX
40235 When you have enabled Instant Preview in \SpecialChar LyX
40236 's preferences under
40239 \begin_inset space ~
40243 \begin_inset space ~
40246 feel\SpecialChar menuseparator
40249 , the external material types Dia and Xfig are directly shown in \SpecialChar LyX
40253 \begin_layout Standard
40254 External material can be inserted via the
40258 dialog that is accessible with the menu
40260 Insert\SpecialChar menuseparator
40261 File\SpecialChar menuseparator
40263 \begin_inset space ~
40269 Currently the following file types (
40276 \begin_layout Description
40278 \begin_inset space ~
40281 diagram This template supports chess position diagrams made with the program
40285 \begin_inset CommandInset href
40288 target "https://en.wikipedia.org/wiki/XBoard"
40298 \begin_layout Description
40300 \begin_inset space ~
40303 diagram This template supports diagrams created with the program
40306 \begin_inset CommandInset href
40309 target "https://en.wikipedia.org/wiki/Dia_(software)"
40319 \begin_layout Description
40321 \begin_inset space ~
40324 figure This template supports specific scalable images derived from scalable
40325 vector graphics (SVG), in which the contained text is replaced by a version
40326 typeset by \SpecialChar LaTeX
40327 (and hence in the current document font).
40328 It relies on a feature of the program
40331 \begin_inset CommandInset href
40334 target "https://inkscape.org/"
40341 which creates a special PDF or EPS and \SpecialChar LaTeX
40342 file from a given SVG file (in
40347 itself, the feature is available via the option
40349 Omit text in PDF and create LaTeX file
40351 when saving a drawing as PDF or EPS).
40352 The benefit of such files is a uniform text style throughout the whole
40354 \begin_inset Newline newline
40357 The external template reads SVG files and uses a converter program to generate
40358 the respective PDF\SpecialChar breakableslash
40359 EPS and \SpecialChar LaTeX
40368 on the fly, so you don't have to export those files yourself.
40369 If you prefer the latter and want use given
40385 files instead, simply input the respective
40398 \begin_inset space ~
40402 \begin_inset CommandInset ref
40404 reference "sec:Child-Documents"
40408 ) rather than using this template.
40409 \begin_inset Newline newline
40412 You can use \SpecialChar TeX
40413 code commands such as
40426 \begin_inset space \space{}
40429 in the text of the SVG.
40430 The size of the font will be taken from the settings of the \SpecialChar LyX
40433 \begin_inset CommandInset citation
40440 for more information and examples.
40443 \begin_layout Description
40445 \begin_inset space ~
40449 \begin_inset space ~
40452 music This template is used for music notation typeset with the program
40453 \begin_inset Newline linebreak
40459 \begin_inset CommandInset href
40462 target "https://en.wikipedia.org/wiki/LilyPond"
40470 For \SpecialChar LyX
40471 's extended support for LilyPond have a look at \SpecialChar LyX
40479 \begin_layout Description
40481 \begin_inset space ~
40484 pages With this template you can insert PDF documents to your document.
40485 To specify the range of pages that should be included, use the option
40495 LaTeX and LyX options
40498 The argument of this option is a comma separated list, containing page
40499 numbers (insert as option
40503 ), ranges of page numbers (
40507 ) or any combination.
40508 To insert empty pages use {}.
40510 \begin_inset space \thinspace{}
40514 \begin_inset space ~
40519 pages={3,{},8-11,15}
40521 will insert page 3, an empty page, and pages 8, 9, 10, 11 and 15.
40522 Page ranges are specified in the syntax
40531 This selects all pages from
40544 defaults to the first page; omitting
40548 defaults to the last page of the document.
40549 The last page can also be selected with the keyword
40554 (This is only permitted in a page range.) So
40558 will insert all pages of the document and
40562 will insert all pages in reverse order.
40563 If the pages option is not specified, only the first page of the PDF is
40565 \begin_inset Newline newline
40572 inserts the pages with their original size, if this option is not given,
40573 the pages will be resized to fith the width of the page of your document.
40578 you can specify the width and height of the input pages and their rotation.
40579 If another width than 100
40580 \begin_inset space \thinspace{}
40583 Scale% is used, the option
40587 will be overwritten.
40588 For more info and possible options, have a look into the documentation
40589 of the \SpecialChar LaTeX
40595 \begin_inset CommandInset citation
40603 \begin_inset Index idx
40606 \begin_layout Plain Layout
40608 -packages ! pdfpages
40614 \begin_inset Newline newline
40617 To use this template in a
40621 presentation you need to first insert an
40625 environment and in a subsequent paragraph a \SpecialChar TeX
40626 Code box containing the command
40631 setbeamertemplate{background canvas}{}
40634 Then you can insert as many paragraphs containing the PDFPages template
40636 Behind the included PDF pages you can resume the Beamer presentation by
40637 beginning a new frame or by starting a new section.
40638 To avoid stray blank pages prior to the PDF pages, make sure to use the
40643 alignment for the paragraph containing the template.
40644 \begin_inset Newline newline
40647 Here is an included PDF which is rotated by -5°:
40648 \begin_inset External
40650 filename clipart/Abstract.pdf
40651 extra LaTeX "noautoscale, pages=-"
40653 rotateOrigin bottomleft
40660 \begin_layout Description
40662 \begin_inset space ~
40665 image This can be used for bitmap images.
40666 The image can be treated in the
40670 dialog like the images that are usually included via the
40674 dialog as described in section
40675 \begin_inset space ~
40679 \begin_inset CommandInset ref
40681 reference "sec:Graphics-Dialog"
40686 Here is an inserted raster image:
40687 \begin_inset External
40688 template RasterImage
40689 filename clipart/ToolbarEnvBox.png
40696 \begin_layout Description
40697 Spreadsheet With this template you can insert spreadsheets
40698 \begin_inset space \thinspace{}
40702 \begin_inset space \thinspace{}
40705 tables in the format of
40708 \begin_inset CommandInset href
40711 target "https://en.wikipedia.org/wiki/Gnumeric"
40719 \begin_inset CommandInset href
40721 name "OpenDocument"
40722 target "https://en.wikipedia.org/wiki/OpenDocument"
40728 \begin_inset CommandInset href
40730 name "Microsoft Office XML"
40731 target "https://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
40737 \begin_inset CommandInset href
40739 name "Office Open XML"
40740 target "https://en.wikipedia.org/wiki/Office_Open_XML"
40746 For this feature \SpecialChar LyX
40747 must have found the program
40751 during its configuration.
40752 This program is part of Gnumeric, so that you must have Gnumeric installed,
40753 also if you don't have tables in the Gnumeric format.
40754 For examples and possible limitations have a look at \SpecialChar LyX
40762 \begin_layout Description
40764 \begin_inset space ~
40767 graphics This can be used for vector graphics.
40768 The image can be treated in the
40772 dialog like the images that are usually included via the
40776 dialog as described in section
40777 \begin_inset space ~
40781 \begin_inset CommandInset ref
40783 reference "sec:Graphics-Dialog"
40788 Here is an inserted vector graphics:
40789 \begin_inset External
40790 template VectorGraphics
40791 filename clipart/SVG-Drawing.svg
40800 \begin_layout Description
40802 \begin_inset space ~
40805 figure This template supports images created with the program
40806 \begin_inset CommandInset href
40809 target "https://en.wikipedia.org/wiki/Xfig"
40817 \begin_layout Standard
40818 When you use the option
40830 dialog, only the path to the inserted file is shown in the output.
40831 \begin_inset Newline newline
40834 External material is displayed in \SpecialChar LyX
40835 either as a box like this:
40836 \begin_inset Graphics
40837 filename clipart/ExternalMaterial.png
40839 scaleBeforeRotation
40843 or as image, depending on the option
40849 LaTeX and LyX options
40854 \begin_layout Standard
40861 manual explains how you can define your own templates.
40864 \begin_layout Section
40866 \begin_inset CommandInset label
40868 name "sec:Child-Documents"
40873 \begin_inset Index idx
40876 \begin_layout Plain Layout
40877 External Document Parts ! Child Documents
40883 \begin_inset Index idx
40886 \begin_layout Plain Layout
40895 \begin_layout Standard
40896 Child documents are used if you have a long document consisting of several
40897 larger parts or sections.
40898 For maintenance it is often useful and sometimes even required to split
40899 the document into several files that can be revised separately.
40900 The different documents are then the so called
40901 \begin_inset Quotes eld
40905 \begin_inset Quotes erd
40908 , and a master document connects them to print the full document or parts
40910 A child document inherits elements from its master, for example the \SpecialChar LaTeX
40912 the bibliography, and labels for cross-references.
40915 \begin_layout Standard
40916 To be able to work on child documents without the need to open their master,
40917 specify in the child document the master in the menu
40919 Document\SpecialChar menuseparator
40920 Settings\SpecialChar menuseparator
40922 \begin_inset space ~
40928 This master document will then be used in the background by \SpecialChar LyX
40930 the child document.
40933 \begin_layout Standard
40934 Included documents are displayed in \SpecialChar LyX
40935 as a box like this:
40936 \begin_inset Graphics
40937 filename clipart/ChildDocument.png
40939 scaleBeforeRotation
40943 To include child documents in a master document use the menu
40945 Insert\SpecialChar menuseparator
40946 File\SpecialChar menuseparator
40948 \begin_inset space ~
40954 A dialog pops up where you can choose between four include methods:
40957 \begin_layout Description
40958 Include You can include \SpecialChar LyX
40959 and \SpecialChar LaTeX
40969 dialog, the included document will be opened in \SpecialChar LyX
40970 in a new file tab so that
40972 \begin_inset Newline newline
40978 \begin_layout Standard
40979 Here is a child document inserted using
40984 \begin_inset CommandInset include
40985 LatexCommand include
40986 filename "DummyDocument1.lyx"
40994 \begin_layout Standard
40995 The section numbering includes the sections of the included files in the
40996 order they are inserted in the master document.
40997 The included example document has for example a subsection that is numbered
40998 as a subsection of this section.
40999 Labels of included documents can be referenced: Subsection
41000 \begin_inset space ~
41004 \begin_inset CommandInset ref
41006 reference "subsec:External-Subsection-1"
41013 \begin_layout Standard
41014 The preamble of the child document is ignored; only the preamble of the
41015 master document is used.
41016 Branches in child documents will be ignored by the master document when
41017 the master document does not have a branch with the same name.
41018 Included documents are inserted starting on a new page and ending with
41022 \begin_layout Standard
41023 \begin_inset Note Greyedout
41026 \begin_layout Plain Layout
41031 If you have included a \SpecialChar LyX
41032 or \SpecialChar LaTeX
41033 file, you are warned when you export/view the
41034 document in case the child document uses another document class than the
41035 master document as this will lead to unexpected outputs.
41043 \begin_layout Description
41044 Input This method is very similar to the Include method.
41045 The differences are:
41049 \begin_layout Itemize
41050 Input files don't start with a new page and don't end with a page break.
41053 \begin_layout Itemize
41054 Input files can be previewed in \SpecialChar LyX
41058 \begin_inset space ~
41063 is enabled in \SpecialChar LyX
41064 's preferences under
41067 \begin_inset space ~
41071 \begin_inset space ~
41074 feel\SpecialChar menuseparator
41080 \begin_layout Itemize
41081 You cannot exclude Input files via the menu
41083 Document\SpecialChar menuseparator
41084 Settings\SpecialChar menuseparator
41091 \begin_layout Standard
41092 Here is a child document inserted using
41097 \begin_inset CommandInset include
41099 filename "DummyDocument2.lyx"
41107 \begin_layout Description
41108 Verbatim With this method any text file can be included.
41109 The file is shown in the output with its source code; no command used in
41110 the text is invoked.
41111 You can use the option
41113 Mark spaces in output
41115 that displays the character
41116 \begin_inset Quotes eld
41123 \begin_layout Plain Layout
41133 \begin_inset Quotes erd
41136 for every space character in the source code.
41137 The difference from the method via the menu
41139 Insert\SpecialChar menuseparator
41140 File\SpecialChar menuseparator
41142 \begin_inset space ~
41147 is that the document content is not shown in \SpecialChar LyX
41151 \begin_layout Standard
41152 Here is a child document inserted as Verbatim:
41153 \begin_inset CommandInset include
41154 LatexCommand verbatiminput
41155 filename "DummyTextDocument.txt"
41161 \begin_inset VSpace bigskip
41164 Here is a child document inserted as Verbatim using the
41166 Mark spaces in output
41169 \begin_inset CommandInset include
41170 LatexCommand verbatiminput*
41171 filename "DummyTextDocument.txt"
41179 \begin_layout Standard
41180 \begin_inset VSpace bigskip
41186 \begin_layout Standard
41187 \begin_inset Note Greyedout
41190 \begin_layout Plain Layout
41195 As you can see in the examples above, the text of the documents included
41200 is not broken at the end of the document lines.
41208 \begin_layout Description
41209 Listings This type is described in chapter
41210 \begin_inset space ~
41214 \begin_inset CommandInset ref
41216 reference "cha:Program-Code-Listings"
41223 \begin_layout Standard
41224 \begin_inset Note Greyedout
41227 \begin_layout Plain Layout
41232 Including the same document twice in a document using different methods
41233 could cause \SpecialChar LaTeX
41242 \begin_layout Standard
41243 If you want to view/export only selected children of your master document,
41244 either because you want to save compiling time or because you want to distribut
41245 e single chapters of the book you are just writing, you can exclude children
41247 This is done via the menu
41249 Document\SpecialChar menuseparator
41250 Settings\SpecialChar menuseparator
41254 You can exclude\SpecialChar breakableslash
41255 include children by double-clicking on the
41259 column of the respective child document in the list (note that this only
41260 works for documents embedded via
41261 \begin_inset Quotes eld
41265 \begin_inset Quotes erd
41269 \begin_inset Quotes eld
41273 \begin_inset Quotes erd
41279 Maintain counters and references
41281 is enabled, \SpecialChar LyX
41282 will assure that all page numbers, references etc.
41283 \begin_inset space ~
41286 are correct as if the whole document was processed.
41287 This is useful if you want the selected sub-documents to look exactly as
41288 in the context of the whole document.
41289 However, \SpecialChar LyX
41290 needs to process the whole document in the background for this
41292 So if you want to save compile time and if counters and references do not
41293 need to be correct, disable this checkbox.
41296 \begin_layout Standard
41297 Alternatively, you can put each included file into a branch.
41301 \begin_layout Plain Layout
41302 Branches are described in section
41306 of the \SpecialChar LyX
41316 By enabling\SpecialChar breakableslash
41317 disabling branches you can decide which included files will
41318 appear in the output.
41319 This has the advantage that it also works with Input'ed sub-documents.
41320 However, counters and references will not be maintained with this approach.
41323 \begin_layout Chapter
41324 Program Code Listings
41325 \begin_inset CommandInset label
41327 name "cha:Program-Code-Listings"
41332 \begin_inset Index idx
41335 \begin_layout Plain Layout
41342 \begin_inset Index idx
41345 \begin_layout Plain Layout
41352 \begin_inset Index idx
41355 \begin_layout Plain Layout
41364 \begin_layout Standard
41365 To include and typeset program code you can use the
41369 inset that can be inserted via the menu
41371 Insert\SpecialChar menuseparator
41375 The \SpecialChar LaTeX
41381 \begin_inset Index idx
41384 \begin_layout Plain Layout
41386 -packages ! listings
41396 \begin_inset Index idx
41399 \begin_layout Plain Layout
41406 provide a powerful and flexible way to insert program source code into
41408 One can only use one of these packages in a document.
41413 is used by default.
41416 \begin_layout Standard
41417 \begin_inset Note Note
41420 \begin_layout Plain Layout
41426 does NOT want to encourage users to add the
41430 option to converter definitions.
41431 It works, but it is a huge security risk.
41432 There is an active discussion about how to handle this.
41433 Once that's been resolved, this can be updated appropriately.
41436 \begin_layout Plain Layout
41440 \begin_layout Plain Layout
41445 , you need to select it as the syntax highlighting package in the document
41455 requires also additionally the module
41467 \begin_layout Plain Layout
41468 Under \SpecialChar LyX
41473 is already installed.
41482 for the \SpecialChar LaTeX
41484 If you want for example view or export your document as the format
41487 \begin_inset space ~
41492 , go to the \SpecialChar LyX
41493 preferences and there to the section
41496 \begin_inset space ~
41499 Handling\SpecialChar menuseparator
41503 There go to the entry
41506 \begin_inset space ~
41510 \begin_inset space ~
41515 and look at the field
41520 There you see by default the content
41521 \begin_inset Newline newline
41529 \begin_inset Newline newline
41533 \begin_inset Newline newline
41538 pdflatex $$i -shell-escape
41539 \begin_inset Newline newline
41548 button and subsequently
41557 The same can be done for the output formats
41560 \begin_inset space ~
41568 \begin_inset space ~
41581 \begin_layout Standard
41582 Right-clicking on a listings inset opens the context menu containing where
41583 you can set the listings format.
41586 \begin_layout Standard
41587 By default, a listing starts a new paragraph in the output.
41588 The placement option
41591 \begin_inset space ~
41596 prints the listing inline like this:
41597 \begin_inset listings
41598 lstparams "language={C++}"
41602 \begin_layout Plain Layout
41610 \begin_inset Newline newline
41617 creates a listings float where you can specify the placement options
41618 \begin_inset Quotes eld
41626 \begin_inset Quotes erd
41630 \begin_inset Quotes eld
41638 \begin_inset Quotes erd
41642 \begin_inset Quotes eld
41650 \begin_inset Quotes erd
41654 \begin_inset Quotes eld
41662 \begin_inset Quotes erd
41665 corresponding to the float placement options described in section
41666 \begin_inset space ~
41670 \begin_inset CommandInset ref
41672 reference "sec:Float-Settings"
41677 The placement options can be mixed and are inserted without any separation,
41679 \begin_inset space \thinspace{}
41683 \begin_inset space \space{}
41687 \begin_inset Quotes eld
41695 \begin_inset Quotes erd
41700 \begin_inset Quotes eld
41704 \begin_inset Quotes erd
41707 has sometimes no effect, but you don't need to use the
41711 option in this case as also non-float listings can have captions and be
41715 \begin_layout Standard
41716 You can add captions to listings that are not inline with the menu
41718 Insert\SpecialChar menuseparator
41722 Listings can be referenced like floats: Listing
41723 \begin_inset space ~
41727 \begin_inset CommandInset ref
41729 reference "lst:Example-Listing"
41734 A list of listings which contains all listings with captions can be created
41737 Insert\SpecialChar menuseparator
41739 \begin_inset space ~
41743 \begin_inset space ~
41746 TOC\SpecialChar menuseparator
41750 The list entries are the listing caption and the listing number.
41753 \begin_layout Standard
41754 \begin_inset listings
41755 lstparams "language=Python"
41759 \begin_layout Plain Layout
41761 \begin_inset Caption Standard
41763 \begin_layout Plain Layout
41764 \begin_inset CommandInset label
41766 name "lst:Example-Listing"
41770 Example Listing float
41775 # Example listing float
41778 \begin_layout Plain Layout
41783 \begin_layout Plain Layout
41785 'this is a python function'
41788 \begin_layout Plain Layout
41798 \begin_layout Standard
41799 \begin_inset Note Greyedout
41802 \begin_layout Plain Layout
41811 package places captions before the listing by default.
41812 \begin_inset Newline newline
41819 package places them after the listing by default if it is floating.
41820 If it is not floating, caption will be typeset before the listing if it
41821 is inserted to its first line, otherwise it will be typeset after the listing.
41822 If you want to force the placement in every case before the listing, you
41823 have to add the following lines as last thing to the preamble:
41824 \begin_inset Newline newline
41831 @ifundefined{newfloat}
41832 \begin_inset Newline newline
41836 \begin_inset Phantom HPhantom
41839 \begin_layout Plain Layout
41842 \begin_inset space ~
41852 usepackage{float}}{}
41853 \begin_inset Newline newline
41858 floatstyle{plaintop}
41861 \begin_inset Note Note
41864 \begin_layout Plain Layout
41869 will be loaded automatically by \SpecialChar LyX
41870 when you use special document-wide float
41871 placement settings.
41872 To avoid that it is loaded twice the command
41878 is used in the above command.
41891 \begin_layout Standard
41892 When you have set a programming language in the listings dialog, the keywords
41893 of this language will be recognized and specially typeset in the output.
41894 In the example listings the Python keyword
41895 \begin_inset Quotes eld
41899 \begin_inset Quotes erd
41902 is recognized and printed bold in the output.
41905 \begin_layout Standard
41906 \begin_inset Note Greyedout
41909 \begin_layout Plain Layout
41914 If you don't get bold keywords when using typewriter fonts, your
41918 font probably doesn't provide a bold shape.
41919 In this case select a different one in the menu
41921 Document\SpecialChar menuseparator
41922 Settings\SpecialChar menuseparator
41934 provide bold shapes.)
41942 \begin_layout Standard
41946 \begin_inset space ~
41951 of the listings dialog you can specify the line numbering style.
41952 You can insert a number to specify which lines are numbered in the field
41959 \begin_inset space \thinspace{}
41963 \begin_inset space \space{}
41967 \begin_inset Quotes eld
41971 \begin_inset Quotes erd
41974 , only every 3rd line will be numbered.
41977 \begin_layout Standard
41978 You can furthermore specify a range of lines; only these will then appear
41982 Extended character table
41984 is only meaningful for the
41988 package and should be used when you use national characters like the German
41989 umlauts in the listing.
41990 \begin_inset Newline newline
41993 Here is an example listing with left line numbering, step
41994 \begin_inset Quotes eld
41998 \begin_inset Quotes erd
42002 \begin_inset Quotes eld
42006 \begin_inset Quotes erd
42010 \begin_inset Quotes eld
42013 Extended character table
42014 \begin_inset Quotes erd
42018 \begin_inset Quotes eld
42022 \begin_inset space ~
42026 \begin_inset space ~
42030 \begin_inset Quotes erd
42034 \begin_inset space \thinspace{}
42038 \begin_inset space \thinspace{}
42044 \begin_layout Standard
42045 \begin_inset listings
42046 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
42050 \begin_layout Plain Layout
42055 \begin_layout Plain Layout
42057 'this is a python function'
42060 \begin_layout Plain Layout
42065 \begin_layout Plain Layout
42070 \begin_layout Plain Layout
42072 'This is a German word: Tschüß'
42075 \begin_layout Plain Layout
42080 \begin_layout Plain Layout
42085 \begin_layout Plain Layout
42087 'this is a python function'
42090 \begin_layout Plain Layout
42100 \begin_layout Standard
42101 When you have tabulators in your listing, you can specify the number of
42102 characters that are spanned by a tabulator in the field
42105 \begin_inset space ~
42113 \begin_layout Standard
42114 \begin_inset Note Greyedout
42117 \begin_layout Plain Layout
42122 Due to a bug in the
42126 package the line numbering is shifted by a line by every previous listing.
42127 That's the reason why the lines 2 and 5 are numbered in the above listing
42128 and not the lines 3 and 6.
42136 \begin_layout Standard
42137 \begin_inset VSpace bigskip
42143 \begin_layout Standard
42144 It is also possible to print lines from a file as listing.
42145 To do this, use the menu
42147 Insert\SpecialChar menuseparator
42148 File\SpecialChar menuseparator
42151 and choose the type
42159 \begin_layout Plain Layout
42160 The other child document types are described in section
42161 \begin_inset space ~
42165 \begin_inset CommandInset ref
42167 reference "sec:Child-Documents"
42176 In the child document dialog you can specify the listing parameters in
42178 To show a list of all available parameters, type in a question mark
42179 \begin_inset Quotes eld
42183 \begin_inset Quotes erd
42189 \begin_layout Standard
42190 To reference child document listings, write a label text into the corresponding
42191 field of the child document dialog.
42192 The label can then be referenced using the menu
42194 Insert\SpecialChar menuseparator
42200 \begin_layout Standard
42202 \begin_inset space ~
42206 \begin_inset CommandInset ref
42208 reference "lst:file-listing"
42212 is an example for a listing of a file; there the lines 10
42213 \begin_inset space \thinspace{}
42217 \begin_inset space \thinspace{}
42220 15 of this \SpecialChar LyX
42224 \begin_layout Standard
42225 \begin_inset CommandInset include
42226 LatexCommand lstinputlisting
42227 filename "EmbeddedObjects.lyx"
42228 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
42236 \begin_layout Standard
42237 \begin_inset VSpace bigskip
42243 \begin_layout Standard
42244 Inserting a formula into a listing can be done the following way:
42247 \begin_layout Enumerate
42248 Open the listings dialog and add
42249 \begin_inset Newline newline
42257 \begin_inset Newline newline
42260 to the field of the
42267 \begin_layout Enumerate
42268 Create a formula outside the listing
42271 \begin_layout Enumerate
42272 Copy the content of the formula (not the formula inset) to the clipboard
42282 \begin_layout Enumerate
42283 In the listing write
42284 \begin_inset Quotes eld
42292 \begin_inset Quotes erd
42295 and copy from the clipboard between the dollar-signs (shortcut
42304 \begin_layout Standard
42305 \begin_inset listings
42306 lstparams "language=Python,mathescape=true"
42310 \begin_layout Plain Layout
42312 \begin_inset Caption Standard
42314 \begin_layout Plain Layout
42315 Example Listing float containing a formula
42320 # Example listing float
42323 \begin_layout Plain Layout
42328 \begin_layout Plain Layout
42341 \begin_layout Plain Layout
42351 \begin_layout Standard
42352 \begin_inset VSpace bigskip
42358 \begin_layout Standard
42359 Global listings settings can be set in the
42361 Document\SpecialChar menuseparator
42362 Settings\SpecialChar menuseparator
42366 To get there a list of available options, type in a question mark
42367 \begin_inset Quotes eld
42371 \begin_inset Quotes erd
42377 \begin_layout Standard
42378 For more information about the
42386 packages, we refer to their documentation
42387 \begin_inset CommandInset citation
42389 key "listings,minted"
42397 \begin_layout Standard
42398 \begin_inset Newpage newpage
42404 \begin_layout Chapter
42406 Units available in \SpecialChar LyX
42408 \begin_inset Index idx
42411 \begin_layout Plain Layout
42418 \begin_inset CommandInset label
42420 name "cha:Units-available-in"
42427 \begin_layout Standard
42428 To understand the units described in this documentation, Table
42429 \begin_inset space ~
42433 \begin_inset CommandInset ref
42435 reference "tab:Units"
42439 explains all units available in \SpecialChar LyX
42443 \begin_layout Standard
42444 \begin_inset Float table
42451 \begin_layout Plain Layout
42452 \begin_inset Caption Standard
42454 \begin_layout Plain Layout
42455 \begin_inset CommandInset label
42469 \begin_layout Plain Layout
42470 \begin_inset VSpace medskip
42476 \begin_layout Plain Layout
42478 \begin_inset Tabular
42479 <lyxtabular version="3" rows="21" columns="3">
42480 <features tabularvalignment="middle">
42481 <column alignment="center" valignment="top">
42482 <column alignment="center" valignment="middle" width="50col%">
42483 <column alignment="center" valignment="top">
42485 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
42488 \begin_layout Plain Layout
42494 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
42497 \begin_layout Plain Layout
42503 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
42506 \begin_layout Plain Layout
42515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42518 \begin_layout Plain Layout
42524 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42527 \begin_layout Plain Layout
42529 \begin_inset space \thinspace{}
42533 \begin_inset space \thinspace{}
42541 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42544 \begin_layout Plain Layout
42552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42555 \begin_layout Plain Layout
42561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42564 \begin_layout Plain Layout
42566 \begin_inset space \thinspace{}
42570 \begin_inset space \thinspace{}
42578 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42581 \begin_layout Plain Layout
42589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42592 \begin_layout Plain Layout
42598 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42601 \begin_layout Plain Layout
42607 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42610 \begin_layout Plain Layout
42618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42621 \begin_layout Plain Layout
42627 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42630 \begin_layout Plain Layout
42632 \begin_inset space \thinspace{}
42636 \begin_inset Formula $\approx$
42640 \begin_inset space \thinspace{}
42648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42651 \begin_layout Plain Layout
42659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42662 \begin_layout Plain Layout
42668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42671 \begin_layout Plain Layout
42681 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42684 \begin_layout Plain Layout
42692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42695 \begin_layout Plain Layout
42701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42704 \begin_layout Plain Layout
42714 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42717 \begin_layout Plain Layout
42725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42728 \begin_layout Plain Layout
42734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42737 \begin_layout Plain Layout
42743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42746 \begin_layout Plain Layout
42754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42757 \begin_layout Plain Layout
42763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42766 \begin_layout Plain Layout
42772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42775 \begin_layout Plain Layout
42783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42786 \begin_layout Plain Layout
42792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42795 \begin_layout Plain Layout
42797 \begin_inset space \thinspace{}
42801 \begin_inset space \thinspace{}
42809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42812 \begin_layout Plain Layout
42820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42823 \begin_layout Plain Layout
42829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42832 \begin_layout Plain Layout
42834 \begin_inset space \thinspace{}
42838 \begin_inset space \thinspace{}
42846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42849 \begin_layout Plain Layout
42857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42860 \begin_layout Plain Layout
42866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42869 \begin_layout Plain Layout
42871 \begin_inset space \thinspace{}
42875 \begin_inset space \thinspace{}
42883 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42886 \begin_layout Plain Layout
42894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42897 \begin_layout Plain Layout
42903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42906 \begin_layout Plain Layout
42907 scaled point (65536
42908 \begin_inset space \thinspace{}
42912 \begin_inset space \thinspace{}
42920 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42923 \begin_layout Plain Layout
42931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42934 \begin_layout Plain Layout
42940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42943 \begin_layout Plain Layout
42949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42952 \begin_layout Plain Layout
42962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42965 \begin_layout Plain Layout
42971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42974 \begin_layout Plain Layout
42975 % of height between baselines of two subsequent text lines
42980 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42983 \begin_layout Plain Layout
42993 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42996 \begin_layout Plain Layout
43002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43005 \begin_layout Plain Layout
43011 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43014 \begin_layout Plain Layout
43024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43027 \begin_layout Plain Layout
43033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43036 \begin_layout Plain Layout
43042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43045 \begin_layout Plain Layout
43055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43058 \begin_layout Plain Layout
43064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43067 \begin_layout Plain Layout
43073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43076 \begin_layout Plain Layout
43086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43089 \begin_layout Plain Layout
43095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43098 \begin_layout Plain Layout
43099 % of original image width
43104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43107 \begin_layout Plain Layout
43115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43118 \begin_layout Plain Layout
43124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43127 \begin_layout Plain Layout
43133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43136 \begin_layout Plain Layout
43146 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43149 \begin_layout Plain Layout
43155 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43158 \begin_layout Plain Layout
43164 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
43167 \begin_layout Plain Layout
43188 \begin_layout Chapter
43189 Output File Formats with Graphics
43190 \begin_inset CommandInset label
43192 name "cha:Output-File-Formats"
43199 \begin_layout Section
43201 \begin_inset Index idx
43204 \begin_layout Plain Layout
43211 \begin_inset Index idx
43214 \begin_layout Plain Layout
43219 \begin_layout Plain Layout
43230 \begin_layout Plain Layout
43245 \begin_layout Standard
43246 This file type has the extension
43247 \begin_inset Quotes eld
43255 \begin_inset Quotes erd
43260 \begin_inset Quotes eld
43264 \begin_inset Quotes erd
43267 (DVI), because it is completely portable; you can move them from one machine
43268 to another without needing to do any sort of conversion.
43269 At the time when this file-format was developed, this was no matter of
43271 DVIs are used for quick previews and as pre-stage for other output formats,
43275 \begin_layout Standard
43276 \begin_inset Note Greyedout
43279 \begin_layout Plain Layout
43284 DVI-files do not contain images; they will only be a linked.
43289 So don't forget this, if you move your
43293 file to another computer.
43294 This property can also slow down your computer when you view the DVI, because
43295 the DVI-viewer has to convert the image in the background to make it visible
43296 when you scroll in the DVI.
43297 So it is recommended that you use PDF for files with many images.
43300 \begin_layout Standard
43301 You can export your document to DVI by using the menu
43303 File\SpecialChar menuseparator
43304 Export\SpecialChar menuseparator
43308 You can view your document as DVI via the
43315 \begin_layout Section
43317 \begin_inset Index idx
43320 \begin_layout Plain Layout
43321 File Formats ! PostScript
43327 \begin_inset Index idx
43330 \begin_layout Plain Layout
43335 \begin_layout Plain Layout
43346 \begin_layout Plain Layout
43361 \begin_layout Standard
43362 This file type has the extension
43363 \begin_inset Quotes eld
43371 \begin_inset Quotes erd
43375 PostScript was developed by the company
43379 as a printer language.
43380 The file therefore contains commands that the printer uses to print the
43382 PostScript can be seen as a
43383 \begin_inset Quotes eld
43386 programming language
43387 \begin_inset Quotes erd
43390 ; you can calculate with it and draw diagrams and images.
43394 \begin_layout Plain Layout
43395 If you are interested to learn more about this, have a look at the \SpecialChar LaTeX
43402 \begin_inset CommandInset citation
43414 Due to this ability, the files are often bigger than PDFs.
43417 \begin_layout Standard
43418 PostScript can only contain images in the format
43419 \begin_inset Quotes eld
43422 Encapsulated PostScript
43423 \begin_inset Quotes erd
43426 (EPS, file extension
43427 \begin_inset Quotes eld
43435 \begin_inset Quotes erd
43439 As \SpecialChar LyX
43440 allows you to use any known image format in your document, it has to
43441 convert images in the background to EPS.
43443 \begin_inset space ~
43447 \begin_inset space ~
43450 images in your document, \SpecialChar LyX
43452 \begin_inset space ~
43455 conversions whenever you view or export your document.
43456 This will slow down your work flow with \SpecialChar LyX
43458 So if you plan to use PostScript, you can insert your images directly as
43459 EPS to avoid this problem.
43462 \begin_layout Standard
43463 You can export your document to PostScript using the menu
43465 File\SpecialChar menuseparator
43466 Export\SpecialChar menuseparator
43470 You can view your document as PostScript via the
43477 \begin_layout Section
43479 \begin_inset Index idx
43482 \begin_layout Plain Layout
43489 \begin_inset Index idx
43492 \begin_layout Plain Layout
43501 \begin_layout Standard
43502 This file type has the extension
43503 \begin_inset Quotes eld
43511 \begin_inset Quotes erd
43516 \begin_inset Quotes eld
43519 Portable Document Format
43520 \begin_inset Quotes erd
43523 (PDF) was developed by
43527 as a derivative of PostScript.
43528 It is more compressed and it uses fewer commands than PostScript.
43530 \begin_inset Quotes eld
43534 \begin_inset Quotes erd
43537 implies, it can be processed at any computer system and the printed output
43538 looks exactly the same.
43541 \begin_layout Standard
43542 PDF can contain images in its own PDF format, in the format
43543 \begin_inset Quotes eld
43546 Joint Photographic Experts Group
43547 \begin_inset Quotes erd
43550 (JPG, file extension
43551 \begin_inset Quotes eld
43559 \begin_inset Quotes erd
43563 \begin_inset Quotes eld
43571 \begin_inset Quotes erd
43574 ), and in the format
43575 \begin_inset Quotes eld
43578 Portable Network Graphics
43579 \begin_inset Quotes erd
43582 (PNG, file extension
43583 \begin_inset Quotes eld
43591 \begin_inset Quotes erd
43595 Nevertheless you can use any other image format, because \SpecialChar LyX
43597 in the background to one of these formats.
43598 But as described in the section about PostScript, the image conversion
43599 will slow down your work flow.
43600 So it is recommended that you use images in one of the three mentioned
43604 \begin_layout Standard
43605 You can export your document to PDF via the menu
43607 File\SpecialChar menuseparator
43610 in three different ways:
43613 \begin_layout Description
43615 \begin_inset space ~
43618 (ps2pdf) This uses the program
43622 that creates a PDF from a PostScript-version of your file.
43623 The PostScript-version is produced by the program
43627 which uses a DVI-version as intermediate step.
43628 So this export variant consists of three conversions.
43631 \begin_layout Description
43633 \begin_inset space ~
43636 (dvipdfm) This uses the program
43640 that converts your file in the background to DVI and in a second step to
43644 \begin_layout Description
43646 \begin_inset space ~
43649 (pdflatex) This uses the program
43653 that converts your file directly to PDF.
43656 \begin_layout Standard
43657 It is recommended that you use
43660 \begin_inset space ~
43669 supports all features of actual PDF-versions, is quick and works stable.
43674 is not under development and therefore a bit outdated.
43677 \begin_layout Standard
43678 You can view your document as PDF via the
43682 menu or by using a toolbar button.
43685 \begin_layout Chapter
43686 List of dvips color names
43687 \begin_inset CommandInset label
43689 name "chap:List-of-dvips-colornames"
43696 \begin_layout Standard
43697 \begin_inset Tabular
43698 <lyxtabular version="3" rows="17" columns="4">
43699 <features tabularvalignment="middle">
43700 <column alignment="left" valignment="top" width="0pt">
43701 <column alignment="left" valignment="top" width="0pt">
43702 <column alignment="left" valignment="top" width="0pt">
43703 <column alignment="left" valignment="top" width="0pt">
43705 <cell alignment="left" valignment="top" usebox="none">
43708 \begin_layout Plain Layout
43712 \begin_layout Plain Layout
43725 \begin_layout Plain Layout
43736 \begin_layout Plain Layout
43748 <cell alignment="left" valignment="top" usebox="none">
43751 \begin_layout Plain Layout
43755 \begin_layout Plain Layout
43768 \begin_layout Plain Layout
43779 \begin_layout Plain Layout
43791 <cell alignment="left" valignment="top" usebox="none">
43794 \begin_layout Plain Layout
43798 \begin_layout Plain Layout
43811 \begin_layout Plain Layout
43822 \begin_layout Plain Layout
43834 <cell alignment="left" valignment="top" usebox="none">
43837 \begin_layout Plain Layout
43841 \begin_layout Plain Layout
43854 \begin_layout Plain Layout
43865 \begin_layout Plain Layout
43879 <cell alignment="center" valignment="top" usebox="none">
43882 \begin_layout Plain Layout
43886 \begin_layout Plain Layout
43899 \begin_layout Plain Layout
43907 \begin_inset Phantom Phantom
43910 \begin_layout Plain Layout
43920 \begin_layout Plain Layout
43932 <cell alignment="center" valignment="top" usebox="none">
43935 \begin_layout Plain Layout
43939 \begin_layout Plain Layout
43952 \begin_layout Plain Layout
43960 \begin_inset Phantom Phantom
43963 \begin_layout Plain Layout
43973 \begin_layout Plain Layout
43985 <cell alignment="center" valignment="top" usebox="none">
43988 \begin_layout Plain Layout
43992 \begin_layout Plain Layout
44005 \begin_layout Plain Layout
44013 \begin_inset Phantom Phantom
44016 \begin_layout Plain Layout
44026 \begin_layout Plain Layout
44038 <cell alignment="center" valignment="top" usebox="none">
44041 \begin_layout Plain Layout
44045 \begin_layout Plain Layout
44058 \begin_layout Plain Layout
44066 \begin_inset Phantom Phantom
44069 \begin_layout Plain Layout
44079 \begin_layout Plain Layout
44093 <cell alignment="left" valignment="top" usebox="none">
44096 \begin_layout Plain Layout
44100 \begin_layout Plain Layout
44113 \begin_layout Plain Layout
44121 \begin_inset Phantom Phantom
44124 \begin_layout Plain Layout
44134 \begin_layout Plain Layout
44146 <cell alignment="left" valignment="top" usebox="none">
44149 \begin_layout Plain Layout
44153 \begin_layout Plain Layout
44166 \begin_layout Plain Layout
44174 \begin_inset Phantom Phantom
44177 \begin_layout Plain Layout
44187 \begin_layout Plain Layout
44199 <cell alignment="left" valignment="top" usebox="none">
44202 \begin_layout Plain Layout
44206 \begin_layout Plain Layout
44219 \begin_layout Plain Layout
44227 \begin_inset Phantom Phantom
44230 \begin_layout Plain Layout
44240 \begin_layout Plain Layout
44252 <cell alignment="left" valignment="top" usebox="none">
44255 \begin_layout Plain Layout
44259 \begin_layout Plain Layout
44272 \begin_layout Plain Layout
44280 \begin_inset Phantom Phantom
44283 \begin_layout Plain Layout
44293 \begin_layout Plain Layout
44307 <cell alignment="left" valignment="top" usebox="none">
44310 \begin_layout Plain Layout
44314 \begin_layout Plain Layout
44327 \begin_layout Plain Layout
44335 \begin_inset Phantom Phantom
44338 \begin_layout Plain Layout
44348 \begin_layout Plain Layout
44360 <cell alignment="left" valignment="top" usebox="none">
44363 \begin_layout Plain Layout
44367 \begin_layout Plain Layout
44380 \begin_layout Plain Layout
44388 \begin_inset Phantom Phantom
44391 \begin_layout Plain Layout
44401 \begin_layout Plain Layout
44413 <cell alignment="left" valignment="top" usebox="none">
44416 \begin_layout Plain Layout
44420 \begin_layout Plain Layout
44433 \begin_layout Plain Layout
44441 \begin_inset Phantom Phantom
44444 \begin_layout Plain Layout
44454 \begin_layout Plain Layout
44466 <cell alignment="left" valignment="top" usebox="none">
44469 \begin_layout Plain Layout
44473 \begin_layout Plain Layout
44486 \begin_layout Plain Layout
44494 \begin_inset Phantom Phantom
44497 \begin_layout Plain Layout
44507 \begin_layout Plain Layout
44521 <cell alignment="left" valignment="top" usebox="none">
44524 \begin_layout Plain Layout
44528 \begin_layout Plain Layout
44541 \begin_layout Plain Layout
44549 \begin_inset Phantom Phantom
44552 \begin_layout Plain Layout
44562 \begin_layout Plain Layout
44574 <cell alignment="left" valignment="top" usebox="none">
44577 \begin_layout Plain Layout
44581 \begin_layout Plain Layout
44594 \begin_layout Plain Layout
44602 \begin_inset Phantom Phantom
44605 \begin_layout Plain Layout
44615 \begin_layout Plain Layout
44627 <cell alignment="left" valignment="top" usebox="none">
44630 \begin_layout Plain Layout
44634 \begin_layout Plain Layout
44647 \begin_layout Plain Layout
44655 \begin_inset Phantom Phantom
44658 \begin_layout Plain Layout
44668 \begin_layout Plain Layout
44680 <cell alignment="left" valignment="top" usebox="none">
44683 \begin_layout Plain Layout
44687 \begin_layout Plain Layout
44700 \begin_layout Plain Layout
44708 \begin_inset Phantom Phantom
44711 \begin_layout Plain Layout
44721 \begin_layout Plain Layout
44735 <cell alignment="left" valignment="top" usebox="none">
44738 \begin_layout Plain Layout
44742 \begin_layout Plain Layout
44755 \begin_layout Plain Layout
44763 \begin_inset Phantom Phantom
44766 \begin_layout Plain Layout
44776 \begin_layout Plain Layout
44788 <cell alignment="left" valignment="top" usebox="none">
44791 \begin_layout Plain Layout
44795 \begin_layout Plain Layout
44808 \begin_layout Plain Layout
44816 \begin_inset Phantom Phantom
44819 \begin_layout Plain Layout
44829 \begin_layout Plain Layout
44841 <cell alignment="left" valignment="top" usebox="none">
44844 \begin_layout Plain Layout
44848 \begin_layout Plain Layout
44861 \begin_layout Plain Layout
44869 \begin_inset Phantom Phantom
44872 \begin_layout Plain Layout
44882 \begin_layout Plain Layout
44894 <cell alignment="left" valignment="top" usebox="none">
44897 \begin_layout Plain Layout
44901 \begin_layout Plain Layout
44914 \begin_layout Plain Layout
44922 \begin_inset Phantom Phantom
44925 \begin_layout Plain Layout
44935 \begin_layout Plain Layout
44949 <cell alignment="center" valignment="top" usebox="none">
44952 \begin_layout Plain Layout
44956 \begin_layout Plain Layout
44969 \begin_layout Plain Layout
44977 \begin_inset Phantom Phantom
44980 \begin_layout Plain Layout
44990 \begin_layout Plain Layout
45002 <cell alignment="center" valignment="top" usebox="none">
45005 \begin_layout Plain Layout
45009 \begin_layout Plain Layout
45022 \begin_layout Plain Layout
45030 \begin_inset Phantom Phantom
45033 \begin_layout Plain Layout
45043 \begin_layout Plain Layout
45055 <cell alignment="center" valignment="top" usebox="none">
45058 \begin_layout Plain Layout
45062 \begin_layout Plain Layout
45075 \begin_layout Plain Layout
45083 \begin_inset Phantom Phantom
45086 \begin_layout Plain Layout
45096 \begin_layout Plain Layout
45108 <cell alignment="center" valignment="top" usebox="none">
45111 \begin_layout Plain Layout
45115 \begin_layout Plain Layout
45128 \begin_layout Plain Layout
45136 \begin_inset Phantom Phantom
45139 \begin_layout Plain Layout
45149 \begin_layout Plain Layout
45163 <cell alignment="left" valignment="top" usebox="none">
45166 \begin_layout Plain Layout
45170 \begin_layout Plain Layout
45183 \begin_layout Plain Layout
45191 \begin_inset Phantom Phantom
45194 \begin_layout Plain Layout
45204 \begin_layout Plain Layout
45216 <cell alignment="left" valignment="top" usebox="none">
45219 \begin_layout Plain Layout
45223 \begin_layout Plain Layout
45236 \begin_layout Plain Layout
45244 \begin_inset Phantom Phantom
45247 \begin_layout Plain Layout
45257 \begin_layout Plain Layout
45269 <cell alignment="left" valignment="top" usebox="none">
45272 \begin_layout Plain Layout
45276 \begin_layout Plain Layout
45289 \begin_layout Plain Layout
45297 \begin_inset Phantom Phantom
45300 \begin_layout Plain Layout
45310 \begin_layout Plain Layout
45322 <cell alignment="left" valignment="top" usebox="none">
45325 \begin_layout Plain Layout
45329 \begin_layout Plain Layout
45342 \begin_layout Plain Layout
45350 \begin_inset Phantom Phantom
45353 \begin_layout Plain Layout
45363 \begin_layout Plain Layout
45377 <cell alignment="left" valignment="top" usebox="none">
45380 \begin_layout Plain Layout
45384 \begin_layout Plain Layout
45397 \begin_layout Plain Layout
45405 \begin_inset Phantom Phantom
45408 \begin_layout Plain Layout
45418 \begin_layout Plain Layout
45430 <cell alignment="left" valignment="top" usebox="none">
45433 \begin_layout Plain Layout
45437 \begin_layout Plain Layout
45450 \begin_layout Plain Layout
45458 \begin_inset Phantom Phantom
45461 \begin_layout Plain Layout
45471 \begin_layout Plain Layout
45483 <cell alignment="left" valignment="top" usebox="none">
45486 \begin_layout Plain Layout
45490 \begin_layout Plain Layout
45503 \begin_layout Plain Layout
45511 \begin_inset Phantom Phantom
45514 \begin_layout Plain Layout
45524 \begin_layout Plain Layout
45536 <cell alignment="left" valignment="top" usebox="none">
45539 \begin_layout Plain Layout
45543 \begin_layout Plain Layout
45556 \begin_layout Plain Layout
45564 \begin_inset Phantom Phantom
45567 \begin_layout Plain Layout
45577 \begin_layout Plain Layout
45591 <cell alignment="left" valignment="top" usebox="none">
45594 \begin_layout Plain Layout
45598 \begin_layout Plain Layout
45611 \begin_layout Plain Layout
45619 \begin_inset Phantom Phantom
45622 \begin_layout Plain Layout
45632 \begin_layout Plain Layout
45644 <cell alignment="left" valignment="top" usebox="none">
45647 \begin_layout Plain Layout
45651 \begin_layout Plain Layout
45664 \begin_layout Plain Layout
45672 \begin_inset Phantom Phantom
45675 \begin_layout Plain Layout
45685 \begin_layout Plain Layout
45697 <cell alignment="left" valignment="top" usebox="none">
45700 \begin_layout Plain Layout
45704 \begin_layout Plain Layout
45717 \begin_layout Plain Layout
45725 \begin_inset Phantom Phantom
45728 \begin_layout Plain Layout
45738 \begin_layout Plain Layout
45750 <cell alignment="left" valignment="top" usebox="none">
45753 \begin_layout Plain Layout
45757 \begin_layout Plain Layout
45770 \begin_layout Plain Layout
45778 \begin_inset Phantom Phantom
45781 \begin_layout Plain Layout
45791 \begin_layout Plain Layout
45805 <cell alignment="left" valignment="top" usebox="none">
45808 \begin_layout Plain Layout
45812 \begin_layout Plain Layout
45825 \begin_layout Plain Layout
45833 \begin_inset Phantom Phantom
45836 \begin_layout Plain Layout
45846 \begin_layout Plain Layout
45858 <cell alignment="left" valignment="top" usebox="none">
45861 \begin_layout Plain Layout
45865 \begin_layout Plain Layout
45878 \begin_layout Plain Layout
45886 \begin_inset Phantom Phantom
45889 \begin_layout Plain Layout
45899 \begin_layout Plain Layout
45911 <cell alignment="left" valignment="top" usebox="none">
45914 \begin_layout Plain Layout
45918 \begin_layout Plain Layout
45931 \begin_layout Plain Layout
45939 \begin_inset Phantom Phantom
45942 \begin_layout Plain Layout
45952 \begin_layout Plain Layout
45964 <cell alignment="left" valignment="top" usebox="none">
45967 \begin_layout Plain Layout
45971 \begin_layout Plain Layout
45984 \begin_layout Plain Layout
45992 \begin_inset Phantom Phantom
45995 \begin_layout Plain Layout
46005 \begin_layout Plain Layout
46019 <cell alignment="left" valignment="top" usebox="none">
46022 \begin_layout Plain Layout
46026 \begin_layout Plain Layout
46039 \begin_layout Plain Layout
46047 \begin_inset Phantom Phantom
46050 \begin_layout Plain Layout
46060 \begin_layout Plain Layout
46072 <cell alignment="left" valignment="top" usebox="none">
46075 \begin_layout Plain Layout
46079 \begin_layout Plain Layout
46092 \begin_layout Plain Layout
46100 \begin_inset Phantom Phantom
46103 \begin_layout Plain Layout
46113 \begin_layout Plain Layout
46125 <cell alignment="left" valignment="top" usebox="none">
46128 \begin_layout Plain Layout
46132 \begin_layout Plain Layout
46145 \begin_layout Plain Layout
46153 \begin_inset Phantom Phantom
46156 \begin_layout Plain Layout
46166 \begin_layout Plain Layout
46178 <cell alignment="left" valignment="top" usebox="none">
46181 \begin_layout Plain Layout
46185 \begin_layout Plain Layout
46198 \begin_layout Plain Layout
46206 \begin_inset Phantom Phantom
46209 \begin_layout Plain Layout
46219 \begin_layout Plain Layout
46233 <cell alignment="left" valignment="top" usebox="none">
46236 \begin_layout Plain Layout
46240 \begin_layout Plain Layout
46253 \begin_layout Plain Layout
46261 \begin_inset Phantom Phantom
46264 \begin_layout Plain Layout
46274 \begin_layout Plain Layout
46286 <cell alignment="left" valignment="top" usebox="none">
46289 \begin_layout Plain Layout
46293 \begin_layout Plain Layout
46306 \begin_layout Plain Layout
46314 \begin_inset Phantom Phantom
46317 \begin_layout Plain Layout
46327 \begin_layout Plain Layout
46339 <cell alignment="left" valignment="top" usebox="none">
46342 \begin_layout Plain Layout
46346 \begin_layout Plain Layout
46359 \begin_layout Plain Layout
46367 \begin_inset Phantom Phantom
46370 \begin_layout Plain Layout
46380 \begin_layout Plain Layout
46392 <cell alignment="left" valignment="top" usebox="none">
46395 \begin_layout Plain Layout
46399 \begin_layout Plain Layout
46412 \begin_layout Plain Layout
46420 \begin_inset Phantom Phantom
46423 \begin_layout Plain Layout
46433 \begin_layout Plain Layout
46447 <cell alignment="left" valignment="top" usebox="none">
46450 \begin_layout Plain Layout
46454 \begin_layout Plain Layout
46467 \begin_layout Plain Layout
46475 \begin_inset Phantom Phantom
46478 \begin_layout Plain Layout
46488 \begin_layout Plain Layout
46500 <cell alignment="left" valignment="top" usebox="none">
46503 \begin_layout Plain Layout
46507 \begin_layout Plain Layout
46520 \begin_layout Plain Layout
46528 \begin_inset Phantom Phantom
46531 \begin_layout Plain Layout
46541 \begin_layout Plain Layout
46553 <cell alignment="left" valignment="top" usebox="none">
46556 \begin_layout Plain Layout
46560 \begin_layout Plain Layout
46573 \begin_layout Plain Layout
46581 \begin_inset Phantom Phantom
46584 \begin_layout Plain Layout
46594 \begin_layout Plain Layout
46606 <cell alignment="left" valignment="top" usebox="none">
46609 \begin_layout Plain Layout
46613 \begin_layout Plain Layout
46626 \begin_layout Plain Layout
46634 \begin_inset Phantom Phantom
46637 \begin_layout Plain Layout
46647 \begin_layout Plain Layout
46661 <cell alignment="left" valignment="top" usebox="none">
46664 \begin_layout Plain Layout
46668 \begin_layout Plain Layout
46681 \begin_layout Plain Layout
46689 \begin_inset Phantom Phantom
46692 \begin_layout Plain Layout
46702 \begin_layout Plain Layout
46714 <cell alignment="left" valignment="top" usebox="none">
46717 \begin_layout Plain Layout
46721 \begin_layout Plain Layout
46734 \begin_layout Plain Layout
46742 \begin_inset Phantom Phantom
46745 \begin_layout Plain Layout
46755 \begin_layout Plain Layout
46767 <cell alignment="left" valignment="top" usebox="none">
46770 \begin_layout Plain Layout
46774 \begin_layout Plain Layout
46787 \begin_layout Plain Layout
46795 \begin_inset Phantom Phantom
46798 \begin_layout Plain Layout
46808 \begin_layout Plain Layout
46820 <cell alignment="left" valignment="top" usebox="none">
46823 \begin_layout Plain Layout
46827 \begin_layout Plain Layout
46840 \begin_layout Plain Layout
46848 \begin_inset Phantom Phantom
46851 \begin_layout Plain Layout
46861 \begin_layout Plain Layout
46875 <cell alignment="left" valignment="top" usebox="none">
46878 \begin_layout Plain Layout
46882 \begin_layout Plain Layout
46895 \begin_layout Plain Layout
46903 \begin_inset Phantom Phantom
46906 \begin_layout Plain Layout
46916 \begin_layout Plain Layout
46928 <cell alignment="left" valignment="top" usebox="none">
46931 \begin_layout Plain Layout
46935 \begin_layout Plain Layout
46948 \begin_layout Plain Layout
46956 \begin_inset Phantom Phantom
46959 \begin_layout Plain Layout
46969 \begin_layout Plain Layout
46981 <cell alignment="left" valignment="top" usebox="none">
46984 \begin_layout Plain Layout
46988 \begin_layout Plain Layout
47001 \begin_layout Plain Layout
47009 \begin_inset Phantom Phantom
47012 \begin_layout Plain Layout
47022 \begin_layout Plain Layout
47034 <cell alignment="left" valignment="top" usebox="none">
47037 \begin_layout Plain Layout
47041 \begin_layout Plain Layout
47054 \begin_layout Plain Layout
47062 \begin_inset Phantom Phantom
47065 \begin_layout Plain Layout
47075 \begin_layout Plain Layout
47089 <cell alignment="left" valignment="top" usebox="none">
47092 \begin_layout Plain Layout
47096 \begin_layout Plain Layout
47109 \begin_layout Plain Layout
47117 \begin_inset Phantom Phantom
47120 \begin_layout Plain Layout
47130 \begin_layout Plain Layout
47142 <cell alignment="left" valignment="top" usebox="none">
47145 \begin_layout Plain Layout
47151 <cell alignment="left" valignment="top" usebox="none">
47154 \begin_layout Plain Layout
47160 <cell alignment="left" valignment="top" usebox="none">
47163 \begin_layout Plain Layout
47177 \begin_layout Chapter
47178 Explanation of Equation
47179 \begin_inset space ~
47183 \begin_inset CommandInset ref
47190 \begin_inset CommandInset label
47192 name "cha:Explanation-of-Equation"
47199 \begin_layout Standard
47200 We can calculate the total width of
47205 \begin_inset Formula $W_{\mathrm{tot\,n}}$
47209 \begin_inset Formula
47211 W_{\mathrm{tot}\,n}=n\cdot(W_{g\,n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
47217 \begin_inset Formula $W_{g\,n}$
47220 is the given width of all cells,
47226 is the \SpecialChar LaTeX
47227 -length between the cell text and the cell border (its default value
47229 \begin_inset space \thinspace{}
47239 is the thickness of the cell border line, the default is 0.4
47240 \begin_inset space \thinspace{}
47246 \begin_layout Standard
47248 \begin_inset space ~
47252 \begin_inset CommandInset ref
47254 reference "eq:Wtot_n"
47258 , the total width of a multicolumn
47259 \begin_inset Formula $W_{\mathrm{tot\,mult}}$
47263 \begin_inset Formula
47265 W_{\mathrm{tot\,mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
47273 \begin_layout Standard
47274 By setting equation
47275 \begin_inset space ~
47279 \begin_inset CommandInset ref
47281 reference "eq:Wtot_n"
47286 \begin_inset CommandInset ref
47288 reference "eq:Wtot_mult"
47292 equal we can calculate the needed given width
47293 \begin_inset Formula $W_{g\,n}$
47300 columns are spanned, so that each column has a total width of
47301 \begin_inset Formula $W_{\mathrm{tot\,mult}}/n$
47305 \begin_inset Formula
47307 W_{g\,n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
47315 \begin_layout Bibliography
47316 \begin_inset CommandInset bibitem
47317 LatexCommand bibitem
47318 key "latexcompanion"
47323 Frank Mittelbach and Michel Goossens:
47325 The \SpecialChar LaTeX
47326 Companion Second Edition.
47329 Addison-Wesley, 2004
47332 \begin_layout Bibliography
47333 \begin_inset CommandInset bibitem
47334 LatexCommand bibitem
47340 Helmut Kopka and Patrick W.
47343 A Guide to \SpecialChar LaTeX
47347 Addison-Wesley, 2003
47350 \begin_layout Bibliography
47351 \begin_inset CommandInset bibitem
47352 LatexCommand bibitem
47361 : A Document Preparation System.
47364 Addison-Wesley, second edition, 1994
47367 \begin_layout Bibliography
47368 \begin_inset CommandInset bibitem
47369 LatexCommand bibitem
47375 Documentation of the \SpecialChar LaTeX
47379 \begin_inset CommandInset href
47382 target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
47390 \begin_inset Index idx
47393 \begin_layout Plain Layout
47395 -packages ! arydshln
47403 \begin_layout Bibliography
47404 \begin_inset CommandInset bibitem
47405 LatexCommand bibitem
47411 Documentation of the \SpecialChar LaTeX
47415 \begin_inset CommandInset href
47418 target "https://www.ctan.org/tex-archive/macros/latex/contrib//booktabs/booktabs.pdf"
47426 \begin_inset Index idx
47429 \begin_layout Plain Layout
47431 -packages ! booktabs
47439 \begin_layout Bibliography
47440 \begin_inset CommandInset bibitem
47441 LatexCommand bibitem
47447 Documentation of the \SpecialChar LaTeX
47451 \begin_inset CommandInset href
47454 target "https://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"
47462 \begin_inset Index idx
47465 \begin_layout Plain Layout
47467 -packages ! caption
47475 \begin_layout Bibliography
47476 \begin_inset CommandInset bibitem
47477 LatexCommand bibitem
47483 Documentation of the \SpecialChar LaTeX
47487 \begin_inset CommandInset href
47490 target "https://www.ctan.org/tex-archive/macros/latex/contrib//diagbox/diagbox.pdf"
47498 \begin_inset Index idx
47501 \begin_layout Plain Layout
47503 -packages ! diagbox
47511 \begin_layout Bibliography
47512 \begin_inset CommandInset bibitem
47513 LatexCommand bibitem
47519 Documentation of the \SpecialChar LaTeX
47523 \begin_inset CommandInset href
47526 target "https://www.ctan.org/tex-archive/macros/latex/contrib//endfloat/endfloat.pdf"
47534 \begin_inset Index idx
47537 \begin_layout Plain Layout
47539 -packages ! endfloat
47547 \begin_layout Bibliography
47548 \begin_inset CommandInset bibitem
47549 LatexCommand bibitem
47555 Documentation of the \SpecialChar LaTeX
47559 \begin_inset CommandInset href
47562 target "https://www.ctan.org/tex-archive/macros/latex/contrib//footmisc/footmisc.pdf"
47570 \begin_inset Index idx
47573 \begin_layout Plain Layout
47575 -packages ! footmisc
47583 \begin_layout Bibliography
47584 \begin_inset CommandInset bibitem
47585 LatexCommand bibitem
47591 Documentation of the \SpecialChar LaTeX
47595 \begin_inset CommandInset href
47598 target "https://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
47606 \begin_inset Index idx
47609 \begin_layout Plain Layout
47611 -packages ! hyperref
47619 \begin_layout Bibliography
47620 \begin_inset CommandInset bibitem
47621 LatexCommand bibitem
47627 Documentation of the \SpecialChar LaTeX
47631 \begin_inset CommandInset href
47634 target "https://www.ctan.org/tex-archive/macros/latex/contrib//hyperref/hyperref.pdf"
47642 \begin_inset Index idx
47645 \begin_layout Plain Layout
47647 -packages ! hyperref
47655 \begin_layout Bibliography
47656 \begin_inset CommandInset bibitem
47657 LatexCommand bibitem
47663 Documentation of the \SpecialChar LaTeX
47667 \begin_inset CommandInset href
47670 target "https://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf"
47678 \begin_inset Index idx
47681 \begin_layout Plain Layout
47683 -packages ! KOMA-Script
47691 \begin_layout Bibliography
47692 \begin_inset CommandInset bibitem
47693 LatexCommand bibitem
47699 Documentation of the \SpecialChar LaTeX
47703 \begin_inset CommandInset href
47706 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/lettrine.pdf"
47714 \begin_inset CommandInset href
47717 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/demo.pdf"
47723 \begin_inset Index idx
47726 \begin_layout Plain Layout
47728 -packages ! lettrine
47736 \begin_layout Bibliography
47737 \begin_inset CommandInset bibitem
47738 LatexCommand bibitem
47744 Documentation of the \SpecialChar LaTeX
47748 \begin_inset CommandInset href
47751 target "https://www.ctan.org/tex-archive/macros/latex/contrib//listings/listings.pdf"
47759 \begin_inset Index idx
47762 \begin_layout Plain Layout
47764 -packages ! listings
47772 \begin_layout Bibliography
47773 \begin_inset CommandInset bibitem
47774 LatexCommand bibitem
47780 Documentation of the \SpecialChar LaTeX
47784 \begin_inset CommandInset href
47787 target "https://www.ctan.org/tex-archive/macros/latex/contrib//minted/minted.pdf"
47795 \begin_inset Index idx
47798 \begin_layout Plain Layout
47808 \begin_layout Bibliography
47809 \begin_inset CommandInset bibitem
47810 LatexCommand bibitem
47816 Documentation of the \SpecialChar LaTeX
47820 \begin_inset CommandInset href
47823 target "https://www.ctan.org/tex-archive/macros/latex/contrib//marginnote/marginnote.pdf"
47831 \begin_inset Index idx
47834 \begin_layout Plain Layout
47836 -packages ! marginnote
47844 \begin_layout Bibliography
47845 \begin_inset CommandInset bibitem
47846 LatexCommand bibitem
47852 Documentation of the \SpecialChar LaTeX
47856 \begin_inset CommandInset href
47859 target "https://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
47867 \begin_inset Index idx
47870 \begin_layout Plain Layout
47872 -packages ! pdfpages
47880 \begin_layout Bibliography
47881 \begin_inset CommandInset bibitem
47882 LatexCommand bibitem
47888 Documentation of the \SpecialChar LaTeX
47892 \begin_inset CommandInset href
47895 target "https://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
47903 \begin_inset Index idx
47906 \begin_layout Plain Layout
47908 -packages ! prettyref
47916 \begin_layout Bibliography
47917 \begin_inset CommandInset bibitem
47918 LatexCommand bibitem
47924 Web page of the \SpecialChar LaTeX
47928 \begin_inset CommandInset href
47931 target "http://tug.org/PSTricks/"
47939 \begin_inset Index idx
47942 \begin_layout Plain Layout
47944 -packages ! PSTricks
47952 \begin_layout Bibliography
47953 \begin_inset CommandInset bibitem
47954 LatexCommand bibitem
47960 Documentation of the \SpecialChar LaTeX
47964 \begin_inset CommandInset href
47967 target "https://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
47975 \begin_inset Index idx
47978 \begin_layout Plain Layout
47980 -packages ! refstyle
47988 \begin_layout Bibliography
47989 \begin_inset CommandInset bibitem
47990 LatexCommand bibitem
47996 Documentation of the \SpecialChar LaTeX
48000 \begin_inset CommandInset href
48003 target "https://www.ctan.org/tex-archive/macros/latex/contrib//sidecap/sidecap.pdf"
48011 \begin_inset Index idx
48014 \begin_layout Plain Layout
48016 -packages ! sidecap
48024 \begin_layout Bibliography
48025 \begin_inset CommandInset bibitem
48026 LatexCommand bibitem
48032 Documentation of the option
48033 \begin_inset CommandInset href
48035 name "Omit text in PDF"
48036 target "https://www.ctan.org/tex-archive/info/svg-inkscape/InkscapePDFLaTeX.pdf"
48044 \begin_inset CommandInset href
48047 target "https://inkscape.org"
48055 \begin_layout Standard
48056 \begin_inset CommandInset index_print
48057 LatexCommand printindex