1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/
9 % that links to image floats jumps
10 % to the beginning of the float and
12 \usepackage[figure]{hypcap}
14 % the pages of the TOC are numbered roman
15 % and a PDF-bookmark for the TOC is added
16 \let\myTOC\tableofcontents
17 \renewcommand\tableofcontents{%
19 \pdfbookmark[1]{\contentsname}{}
23 % provides caption formatting
24 \usepackage[labelfont={bf,sf}]{caption}[2004/07/16]
26 % provides commands to set caption
27 % beside tables/images
28 \newcommand{\TabBesBeg}[1][1.0]{%
30 \let\MyEndtable\endtable
31 \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}}
33 \newcommand{\TabBesEnd}{%
35 \let\endtable\MyEndtable}
37 \newcommand{\FigBesBeg}[1][1.0]{%
39 \let\MyEndfigure\endfigure
40 \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}
42 \newcommand{\FigBesEnd}{%
44 \let\endfigure\MyEndfigure}
46 % enables calculation of values,
49 % increase the bottom float placement fraction
50 \renewcommand{\bottomfraction}{0.5}
52 % avoids that floats are placed before their
53 % corresponding section starts
54 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
56 % speed up the longtable calculation
57 \setcounter{LTchunksize}{100}
59 % used for colored tables
60 \@ifundefined{textcolor}
61 {\usepackage{color}}{}
62 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
63 \definecolor{lightgrey}{gray}{0.8}
65 % check for package colortbl
66 % used for colored table cells
68 \IfFileExists{colortbl.sty}
69 {\usepackage{colortbl}
70 \setboolean{colortbl}{true}}
71 {\setboolean{colortbl}{false}}
73 % used to have extra space in table cells
74 \@ifundefined{extrarowheight}
75 {\usepackage{array}}{}
76 \setlength{\extrarowheight}{2pt}
78 % used for customized tables
81 {>{\centering\hspace{0pt}}m{#1}}
84 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
87 {>{\columncolor{#1}\hspace{0pt}}c}
89 \newcolumntype{V}{!{\vrule width 1.5pt}}
91 \newcolumntype{W}{!{\color{green}\vline}}
94 % insert additional vertical space of
95 % 1.5 mm between footnotes
97 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
99 % number algorithm floats within chapters
100 \numberwithin{algorithm}{chapter}
102 % ------------------------------------
103 % used to check for needed LaTeX packages
106 % check for package arydshln
107 % used for tables with dashed lines
108 \newboolean{arydshln}
109 \IfFileExists{arydshln.sty}
110 {\usepackage{arydshln}
111 \setboolean{arydshln}{true}}
112 {\setboolean{arydshln}{false}}
114 % check for package marginnote
115 % used for margin notes
116 \newboolean{marginnote}
117 \IfFileExists{marginnote.sty}
118 {\usepackage{marginnote}
119 \let\marginpar\marginnote
120 \setboolean{marginnote}{true}}
121 {\setboolean{marginnote}{false}}
123 % check for package sidecap
124 % used for captions on the side
126 \IfFileExists{sidecap.sty}
127 {\usepackage{sidecap}
128 \setboolean{sidecap}{true}}
129 {\setboolean{sidecap}{false}}
132 % used for surrounded fixed objects
133 \newboolean{picinpar}
134 \IfFileExists{picinpar.sty}
135 {\usepackage{picinpar}
136 \setboolean{picinpar}{true}}
137 {\setboolean{picinpar}{false}}
140 \newboolean{lettrine}
141 \IfFileExists{lettrine.sty}
142 {\usepackage{lettrine}
143 \setboolean{lettrine}{true}}
144 {\setboolean{lettrine}{false}}
148 \IfFileExists{diagbox.sty}
149 {\usepackage{diagbox}
150 \setboolean{diagbox}{true}}
151 {\setboolean{diagbox}{false}}
153 \setlength{\parskip}{\medskipamount}
154 \setlength{\parindent}{0pt}
156 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,dvipsnames,table
157 \use_default_options false
163 \maintain_unincluded_children no
165 \language_package default
168 \font_roman "lmodern" "default"
169 \font_sans "lmss" "default"
170 \font_typewriter "lmtt" "default"
171 \font_math "auto" "auto"
172 \font_default_family default
173 \use_non_tex_fonts false
175 \font_roman_osf false
177 \font_typewriter_osf false
178 \font_sf_scale 100 100
179 \font_tt_scale 100 100
181 \use_dash_ligatures true
183 \default_output_format pdf2
185 \bibtex_command default
186 \index_command makeindex
190 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
191 \pdf_author "LyX Team, Uwe Stöhr"
192 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
193 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
195 \pdf_bookmarksnumbered true
196 \pdf_bookmarksopen true
197 \pdf_bookmarksopenlevel 1
198 \pdf_breaklinks false
202 \pdf_pdfusetitle false
203 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
206 \use_package amsmath 1
207 \use_package amssymb 1
208 \use_package cancel 1
210 \use_package mathdots 1
211 \use_package mathtools 1
212 \use_package mhchem 1
213 \use_package stackrel 1
214 \use_package stmaryrd 1
215 \use_package undertilde 1
217 \cite_engine_type default
221 \paperorientation portrait
227 \notefontcolor #0000ff
234 \paragraph_separation indent
235 \paragraph_indentation default
237 \math_numbering_side default
238 \quotes_style english
242 \paperpagestyle default
244 \tracking_changes true
245 \output_changes false
247 \postpone_fragile_content false
250 \html_be_strict false
251 \author -712698321 "Jürgen Spitzmüller"
258 's detailed Figure, Table, Floats, Notes, Boxes and External Material manual
262 by the \SpecialChar LyX
267 \begin_layout Plain Layout
269 If you have comments or error corrections, please send them to the \SpecialChar LyX
272 \begin_inset CommandInset href
274 name "lyx-docs@lists.lyx.org"
275 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
287 \begin_inset Note Note
290 \begin_layout Plain Layout
297 \begin_inset Newline newline
301 \begin_inset Newline newline
309 \begin_layout Standard
310 \begin_inset CommandInset toc
311 LatexCommand tableofcontents
318 \begin_layout Standard
319 \begin_inset Note Note
322 \begin_layout Plain Layout
323 To export all parts of this document to PDF, PS, or DVI the \SpecialChar LaTeX
334 diagbox, lettrine, marginnote, picinpar
341 If they are not installed you can export the document anyway but the sections
342 where the packages are required won't appear in the output.
345 \begin_layout Plain Layout
346 The latest PDF-version of this document can be found here:
347 \begin_inset Newline newline
352 https://wiki.lyx.org/LyX/Manuals#EmbeddedObjects
360 \begin_layout Chapter
362 \begin_inset Index idx
365 \begin_layout Plain Layout
372 \begin_inset Index idx
375 \begin_layout Plain Layout
380 \begin_layout Plain Layout
391 \begin_layout Plain Layout
406 \begin_layout Section
408 \begin_inset Index idx
411 \begin_layout Plain Layout
412 Figures ! Graphics Dialog
418 \begin_inset CommandInset label
420 name "sec:Graphics-Dialog"
427 \begin_layout Standard
428 To insert an image into your document, place the cursor at the text position
429 you want and click on the toolbar icon
432 arg "dialog-show-new-inset graphics"
437 Insert\SpecialChar menuseparator
441 Then a dialog will appear to choose the file to load.
442 The image will appear in the output exactly at the position where it is
446 \begin_layout Standard
447 The graphics dialog can be called at any time by clicking on an image.
448 This dialog has three tabs:
451 \begin_layout Description
456 Here you can choose an image file and adjust its appearance in the output.
457 The available units for the image size are explained in appendix
462 \begin_inset CommandInset ref
464 reference "cha:Units-available-in"
469 \begin_inset Newline newline
473 \begin_inset Index idx
476 \begin_layout Plain Layout
482 You can rotate images counter-clockwise by setting a rotation angle and
484 The image will also be rotated inside \SpecialChar LyX
486 \begin_inset Newline newline
490 \begin_inset Index idx
493 \begin_layout Plain Layout
499 Images can be scaled by using a percentage value or by setting the width
500 and height explicitly.
501 If you set only the width or only the height, the other size will be determined
503 If you set both, then the image will be transformed to the given size,
504 possibly distorting it.
505 To prevent the image from distortion, use the option
507 Maintain aspect ratio
510 The image will then be scaled so that its width and height don't exceed
511 the specified dimensions.
512 \begin_inset Newline newline
515 Images can be opened in a program of your choice by right-clicking on it
516 and choosing the entry
525 The program can be set for every image format in the file format settings
530 \begin_layout Description
543 Alternatively to the usage of scaling units it is possible to set image
544 coordinates to adjust the height and width of the image in the output.
545 The coordinates can also be calculated automatically by pressing the button
575 will only print the image region within the given coordinates.
576 Normally you don't need to worry about image coordinates and can ignore
580 \begin_layout Description
597 In this tab you can modify the appearance of the image within \SpecialChar LyX
598 and \SpecialChar LaTeX
600 can specify additional \SpecialChar LaTeX
602 \begin_inset Newline newline
613 makes the image appear in the output only as a frame with the size of the
615 \begin_inset Newline newline
626 you can define or join an image settings group.
627 \begin_inset Index idx
630 \begin_layout Plain Layout
631 Figures ! Settings grouping
636 Images within such a group share their settings, so adjusting one image
637 of the group automatically also adjusts all other images of the group in
639 So you can for example change the size for a bunch of images without the
640 need to manually change each of them.
641 Joining an existing group can also be done using the context menu of the
642 image by checking the name of the desired group.
645 \begin_layout Standard
646 \begin_inset VSpace bigskip
652 \begin_layout Standard
653 This is an example image in PDF format
657 \begin_layout Plain Layout
658 Image formats are explained in section
663 \begin_inset CommandInset ref
665 reference "sec:Image-Formats"
674 within a separate, horizontally centered paragraph:
677 \begin_layout Standard
679 \begin_inset Graphics
680 filename clipart/2D-intensity-plot.pdf
689 \begin_layout Standard
690 This is the same image like the one above but in draft mode:
693 \begin_layout Standard
695 \begin_inset Graphics
696 filename clipart/2D-intensity-plot.pdf
706 \begin_layout Standard
707 \begin_inset Newpage newpage
713 \begin_layout Section
715 \begin_inset CommandInset label
717 name "sec:Figure-Floats"
722 \begin_inset Index idx
725 \begin_layout Plain Layout
732 \begin_inset Index idx
735 \begin_layout Plain Layout
744 \begin_layout Standard
745 For general explanations about floats, have a look at section
750 \begin_inset CommandInset ref
752 reference "sec:FloatIntroduction"
759 \begin_layout Standard
763 arg "float-insert figure"
768 Insert\SpecialChar menuseparator
769 Float\SpecialChar menuseparator
772 inserts a float with a caption that has the label
773 \begin_inset Quotes eld
781 \begin_inset Quotes erd
784 (# is the actual number).
785 You can insert the image above the caption, like in Figure
790 \begin_inset CommandInset ref
792 reference "fig:A-star-in"
796 or below the caption, like in Figure
801 \begin_inset CommandInset ref
803 reference "fig:A-3D-object"
808 More about caption placement is described in section
813 \begin_inset CommandInset ref
815 reference "sec:Caption-Placement"
822 \begin_layout Standard
823 \begin_inset Float figure
830 \begin_layout Plain Layout
832 \begin_inset Graphics
833 filename clipart/Star-structure.pdf
844 \begin_layout Plain Layout
845 \begin_inset Caption Standard
847 \begin_layout Plain Layout
848 \begin_inset CommandInset label
867 \begin_layout Standard
868 \begin_inset Float figure
875 \begin_layout Plain Layout
876 \begin_inset Caption Standard
878 \begin_layout Plain Layout
879 \begin_inset CommandInset label
881 name "fig:A-3D-object"
893 \begin_layout Plain Layout
895 \begin_inset Graphics
896 filename clipart/3D-structure-distort.pdf
912 \begin_layout Standard
913 \begin_inset Index idx
916 \begin_layout Plain Layout
917 References ! to Figures
927 \begin_inset CommandInset ref
929 reference "fig:A-star-in"
934 \begin_inset CommandInset ref
936 reference "fig:A-3D-object"
940 are examples of referenced figures.
941 Figures can be referenced in the text by referencing their label.
942 To do this insert a label in the caption using the menu
944 Insert\SpecialChar menuseparator
947 or the toolbar button
954 You can now refer to the label using the menu
956 Insert\SpecialChar menuseparator
963 or the toolbar button
966 arg "dialog-show-new-inset ref"
970 It is important to use references to floats, rather than using vague references
972 \begin_inset Quotes eld
976 \begin_inset Quotes erd
979 , because \SpecialChar LaTeX
980 will reposition the floats in the final document and it might
982 \begin_inset Quotes eld
986 \begin_inset Quotes erd
990 \begin_inset Newline newline
993 Referencing is explained in detail in section
998 \begin_inset CommandInset ref
1000 reference "sec:Referencing-Floats"
1007 \begin_layout Standard
1008 Normally only one image is inserted to a figure float, but sometimes you
1009 might want to use two images with separate subcaptions.
1010 This can be done by inserting image floats into existing image floats.
1011 Note that only the main caption of the float is added to the List of Figures.
1013 \begin_inset space ~
1017 \begin_inset CommandInset ref
1019 reference "fig:Two-distorted-images"
1023 is an example of a figure float with two images set side by side.
1024 You can also set the images one below the other.
1026 \begin_inset space ~
1030 \begin_inset CommandInset ref
1032 reference "fig:Pink-object"
1037 \begin_inset CommandInset ref
1039 reference "fig:A-star"
1046 \begin_layout Standard
1047 \begin_inset Float figure
1054 \begin_layout Plain Layout
1055 \begin_inset space \hfill{}
1059 \begin_inset Float figure
1066 \begin_layout Plain Layout
1067 \begin_inset Caption Standard
1069 \begin_layout Plain Layout
1070 \begin_inset CommandInset label
1072 name "fig:Pink-object"
1084 \begin_layout Plain Layout
1085 \begin_inset Graphics
1086 filename clipart/3D-structure-distort.pdf
1099 \begin_inset space \hfill{}
1103 \begin_inset Float figure
1110 \begin_layout Plain Layout
1111 \begin_inset Caption Standard
1113 \begin_layout Plain Layout
1114 \begin_inset CommandInset label
1128 \begin_layout Plain Layout
1129 \begin_inset Graphics
1130 filename clipart/Star-structure.pdf
1143 \begin_inset space \hfill{}
1149 \begin_layout Plain Layout
1150 \begin_inset Caption Standard
1152 \begin_layout Plain Layout
1153 \begin_inset CommandInset label
1155 name "fig:Two-distorted-images"
1159 Two distorted images.
1160 Both images are in the image settings group named
1161 \begin_inset Quotes eld
1165 \begin_inset Quotes erd
1181 \begin_layout Standard
1182 \begin_inset Newpage newpage
1188 \begin_layout Section
1190 \begin_inset CommandInset label
1192 name "sec:Image-Formats"
1197 \begin_inset Index idx
1200 \begin_layout Plain Layout
1207 \begin_inset Index idx
1210 \begin_layout Plain Layout
1211 Figures ! Image Formats
1219 \begin_layout Standard
1220 You can insert images in any known file format.
1221 But as explained in appendix
1222 \begin_inset space ~
1226 \begin_inset CommandInset ref
1228 reference "cha:Output-File-Formats"
1232 , each output document format allows only a few image formats.
1234 uses therefore the program
1238 in the background to convert the images to the right format.
1239 To increase your work flow by avoiding these conversions in the background,
1240 you could choose to use only the image formats that can directly be embedded
1241 in the output file format.
1242 The output file formats are explained in appendix
1243 \begin_inset space ~
1247 \begin_inset CommandInset ref
1249 reference "cha:Output-File-Formats"
1256 \begin_layout Standard
1257 Similar to fonts there are two types of image formats:
1260 \begin_layout Description
1262 \begin_inset space ~
1265 images consist of pixel values, often in a compressed form.
1266 They are therefore not fully scalable and look pixelated in large zooms.
1267 Well-known bitmap image formats are
1268 \begin_inset Quotes eld
1271 Graphics Interchange Format
1272 \begin_inset Quotes erd
1275 (GIF, file extension
1276 \begin_inset Quotes eld
1284 \begin_inset Quotes erd
1288 \begin_inset Index idx
1291 \begin_layout Plain Layout
1296 \begin_layout Plain Layout
1307 \begin_layout Plain Layout
1320 \begin_inset Quotes eld
1323 Portable Network Graphics
1324 \begin_inset Quotes erd
1327 (PNG, file extension
1328 \begin_inset Quotes eld
1336 \begin_inset Quotes erd
1340 \begin_inset Index idx
1343 \begin_layout Plain Layout
1348 \begin_layout Plain Layout
1359 \begin_layout Plain Layout
1372 \begin_inset Quotes eld
1375 Joint Photographic Experts Group
1376 \begin_inset Quotes erd
1379 (JPG, file extension
1380 \begin_inset Quotes eld
1388 \begin_inset Quotes erd
1392 \begin_inset Quotes eld
1400 \begin_inset Quotes erd
1404 \begin_inset Index idx
1407 \begin_layout Plain Layout
1412 \begin_layout Plain Layout
1423 \begin_layout Plain Layout
1438 \begin_layout Description
1440 \begin_inset space ~
1443 images consist of vectors and can therefore be scaled to any size without
1445 The scaling ability is necessary if you want to create presentations, because
1446 presentations are always scaled by the video projector.
1447 Scaling is also useful for online documents to let the user zoom into diagrams.
1448 \begin_inset Newline newline
1451 Well-known scalable image formats are
1452 \begin_inset Quotes eld
1455 Scalable Vector Graphics
1456 \begin_inset Quotes erd
1459 (SVG, file extension
1460 \begin_inset Quotes eld
1468 \begin_inset Quotes erd
1472 \begin_inset Index idx
1475 \begin_layout Plain Layout
1480 \begin_layout Plain Layout
1491 \begin_layout Plain Layout
1504 \begin_inset Quotes eld
1507 Encapsulated PostScript
1508 \begin_inset Quotes erd
1511 (EPS, file extension
1512 \begin_inset Quotes eld
1520 \begin_inset Quotes erd
1524 \begin_inset Index idx
1527 \begin_layout Plain Layout
1532 \begin_layout Plain Layout
1543 \begin_layout Plain Layout
1556 \begin_inset Quotes eld
1559 Portable Document Format
1560 \begin_inset Quotes erd
1563 (PDF, file extension
1564 \begin_inset Quotes eld
1572 \begin_inset Quotes erd
1576 \begin_inset Index idx
1579 \begin_layout Plain Layout
1586 \begin_inset Quotes eld
1590 \begin_inset Quotes erd
1593 (WMF, file extension
1594 \begin_inset Quotes eld
1602 \begin_inset Quotes erd
1606 \begin_inset Index idx
1609 \begin_layout Plain Layout
1614 \begin_layout Plain Layout
1625 \begin_layout Plain Layout
1639 \begin_inset Quotes eld
1643 \begin_inset Quotes erd
1646 , because you can convert any bitmap image to a PDF or EPS-image and the
1647 result will still be a bitmap image.
1648 In such cases only a header with the image properties is added to the original
1653 \begin_layout Plain Layout
1654 In the case of PDF, the original image is additionally compressed.
1660 The PDF-files generated by
1664 are for example bitmap images.
1667 \begin_layout Standard
1668 Normally it is not possible to convert a bitmap image into a scalable one,
1670 Only the image formats PDF and EPS can directly be embedded to PDF and
1671 PostScript output files, respectively.
1672 SVG and WMF-images are recalculated to bitmaps when the output file is
1673 generated because there is currently no adequate WMF/SVG
1674 \begin_inset Formula $\to$
1677 PDF/EPS converter available.
1680 \begin_layout Chapter
1682 \begin_inset Index idx
1685 \begin_layout Plain Layout
1694 \begin_layout Section
1696 \begin_inset Index idx
1699 \begin_layout Plain Layout
1700 Table ! Introduction
1708 \begin_layout Standard
1709 You can insert a table using either the toolbar button
1712 arg "tabular-insert"
1717 Insert\SpecialChar menuseparator
1721 The toolbar button offers you a graphical selection: move the mouse to
1722 set the column/row number of the table that should be created and then
1723 press a mouse button.
1724 When you use the menu to create a table, a dialog will appear, asking you
1725 for the number of rows and columns
1726 \change_inserted -712698321 1554289643
1727 , and you can select a specific (border) style
1730 \change_deleted -712698321 1554289644
1732 \begin_inset Newline newline
1736 \change_inserted -712698321 1554289645
1740 \begin_layout Standard
1741 The default table has lines around any cell and the first row appears separated
1742 from the rest of the table.
1743 This separation occurs due to a double line: The cells of the first row
1744 have a line below them and the cells of the second row have a line above
1746 Here is an example table:
1749 \begin_layout Standard
1751 \begin_inset Tabular
1752 <lyxtabular version="3" rows="4" columns="4">
1753 <features tabularvalignment="middle">
1754 <column alignment="center" valignment="top">
1755 <column alignment="center" valignment="top">
1756 <column alignment="center" valignment="top">
1757 <column alignment="center" valignment="top">
1759 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1762 \begin_layout Plain Layout
1768 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1771 \begin_layout Plain Layout
1786 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1789 \begin_layout Plain Layout
1795 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1798 \begin_layout Plain Layout
1806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1809 \begin_layout Plain Layout
1824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1827 \begin_layout Plain Layout
1833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1836 \begin_layout Plain Layout
1842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1845 \begin_layout Plain Layout
1853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1856 \begin_layout Plain Layout
1871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1874 \begin_layout Plain Layout
1880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1883 \begin_layout Plain Layout
1889 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1892 \begin_layout Plain Layout
1900 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1903 \begin_layout Plain Layout
1918 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1921 \begin_layout Plain Layout
1927 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1930 \begin_layout Plain Layout
1936 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1939 \begin_layout Plain Layout
1953 \begin_layout Standard
1955 \change_inserted -712698321 1554289664
1956 This corresponds to the
1957 \begin_inset Quotes eld
1961 \begin_inset Quotes erd
1964 table style listed in the style selection.
1967 \begin_layout Standard
1969 \change_inserted -712698321 1554289664
1970 Other available styles include:
1973 \begin_layout Itemize
1975 \change_inserted -712698321 1554289664
1977 \begin_inset Quotes eld
1981 \begin_inset Quotes erd
1984 which looks line the above table, but without the first row being separated
1988 \begin_layout Itemize
1990 \change_inserted -712698321 1554289664
1991 a border-less table with no lines at all,
1994 \begin_layout Itemize
1996 \change_inserted -712698321 1554289664
1998 \begin_inset Quotes eld
2002 \begin_inset Quotes erd
2005 as often used in professional publishing with horizontal lines only and
2006 bold top/bottom lines (see
2017 \begin_layout Standard
2019 \change_inserted -712698321 1554289664
2020 The default style used in the dialog as well as the style used by the toolbar
2021 button can be changed in
2023 Document\SpecialChar menuseparator
2024 Settings\SpecialChar menuseparator
2028 So if the default style above is not the one you need, you should alter
2032 \begin_layout Section
2034 \begin_inset Index idx
2037 \begin_layout Plain Layout
2046 \begin_layout Standard
2047 You can alter a table by clicking on it with the right mouse button, which
2048 brings up the context menu.
2049 Under the menu entry
2053 you can adjust the settings of that cell and row/column respectively where
2054 the cursor is currently placed.
2057 More\SpecialChar menuseparator
2060 opens the table dialog where you can adjust more things.
2061 Most of the dialog options also work on selections.
2062 This means if you select more cells, columns or rows, the action is done
2063 for the whole selection.
2064 Note that there is a difference between selecting the
2068 of the cell, and the cell itself.
2069 \begin_inset Newline newline
2072 With the dialog option
2075 \begin_inset space ~
2080 every change you make in the dialog is directly applied.
2081 If you move the cursor to another table cell the dialog will then also
2082 be updated with the parameters of the new cell.
2083 If you change length values in the dialog you must press
2087 to get the change applied.
2088 \begin_inset Newline newline
2091 You can alter tables with the following tabs of the table dialog:
2094 \begin_layout Description
2096 \begin_inset space ~
2099 Settings Here you can set the table width
2100 \begin_inset Index idx
2103 \begin_layout Plain Layout
2109 , and the horizontal alignment and the width of the current column.
2113 \begin_inset space ~
2117 \begin_inset space ~
2122 is described in section
2123 \begin_inset space ~
2127 \begin_inset CommandInset ref
2129 reference "subsec:Special-Cell-Alignment"
2134 When you have set a width you can also adjust the vertical alignment of
2136 A given width will allow the cell to have line breaks and multiple paragraphs
2138 \begin_inset space \thinspace{}
2142 \begin_inset CommandInset ref
2144 reference "subsec:Multiple-Lines-in"
2149 If you set no width, the column is as wide as the content of its widest
2151 \begin_inset Newline newline
2154 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2156 \begin_inset space \thinspace{}
2160 \begin_inset CommandInset ref
2162 reference "subsec:Multicolumns"
2166 or the cells of one column as multirow cell, see sec.
2167 \begin_inset space \thinspace{}
2171 \begin_inset CommandInset ref
2173 reference "subsec:Multirows"
2178 \begin_inset Newline newline
2181 The rotate check boxes rotate the current cell, a selection, or the whole
2182 table counter-clockwise by 90
2183 \begin_inset space \thinspace{}
2187 The rotation is not shown within \SpecialChar LyX
2188 , only in the output.
2189 For more information see sec.
2190 \begin_inset space \thinspace{}
2194 \begin_inset CommandInset ref
2196 reference "sec:Rotated-Table-Cells"
2201 \begin_inset Newline newline
2205 \begin_inset Note Greyedout
2208 \begin_layout Plain Layout
2213 Not all DVI-viewers are able to display rotations.
2219 \begin_inset Newline newline
2222 The table-wide vertical alignment is used for tables within text lines:
2223 \begin_inset Newline newline
2226 A line with tables with different alignments:
2227 \begin_inset Tabular
2228 <lyxtabular version="3" rows="2" columns="2">
2229 <features tabularvalignment="top">
2230 <column alignment="center" valignment="top" width="0pt">
2231 <column alignment="center" valignment="top">
2233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2236 \begin_layout Plain Layout
2242 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2245 \begin_layout Plain Layout
2262 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2265 \begin_layout Plain Layout
2280 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2283 \begin_layout Plain Layout
2295 \begin_inset Tabular
2296 <lyxtabular version="3" rows="2" columns="2">
2297 <features tabularvalignment="middle">
2298 <column alignment="center" valignment="top">
2299 <column alignment="center" valignment="top">
2301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2304 \begin_layout Plain Layout
2310 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2313 \begin_layout Plain Layout
2330 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2333 \begin_layout Plain Layout
2348 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2351 \begin_layout Plain Layout
2363 \begin_inset Tabular
2364 <lyxtabular version="3" rows="2" columns="2">
2365 <features tabularvalignment="bottom">
2366 <column alignment="center" valignment="top" width="0pt">
2367 <column alignment="center" valignment="top">
2369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2372 \begin_layout Plain Layout
2378 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2381 \begin_layout Plain Layout
2398 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2401 \begin_layout Plain Layout
2416 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2419 \begin_layout Plain Layout
2431 \begin_inset Newline newline
2434 It is also possible to enter a \SpecialChar LaTeX
2435 -argument which is needed for special table
2436 formattings, see sec.
2437 \begin_inset space \thinspace{}
2441 \begin_inset CommandInset ref
2443 reference "subsec:Multicolumn-Calculations"
2448 \begin_inset CommandInset ref
2450 reference "sec:Colored-Tables"
2457 \begin_layout Description
2458 Borders In this tab you can add and delete border lines for the current
2460 \begin_inset Newline newline
2463 Using the style option
2467 will convert the table to a formal table as described in sec.
2468 \begin_inset space \thinspace{}
2472 \begin_inset CommandInset ref
2474 reference "sec:Formal-Tables"
2479 \begin_inset Newline newline
2482 You can also add space here to table rows as described in sec.
2483 \begin_inset space \thinspace{}
2487 \begin_inset CommandInset ref
2489 reference "subsec:Row-Spacing"
2496 \begin_layout Description
2498 \begin_inset space ~
2501 table This tab is to make a table a multi-page table that can run over several
2504 \begin_inset space ~
2508 \begin_inset CommandInset ref
2510 reference "sec:Multi-page-Tables"
2515 \begin_inset CommandInset ref
2517 reference "sec:Special-Longtable-Issues"
2521 describe the multi-page table features in detail.
2524 \begin_layout Section
2526 \begin_inset Index idx
2529 \begin_layout Plain Layout
2538 \begin_layout Standard
2539 The table toolbar is an alternative to the table dialog to be able to alter
2541 It should normally appear at the bottom of \SpecialChar LyX
2542 's main window when the cursor
2544 You can alternatively switch it on to appear always, by right-clicking
2549 \begin_layout Standard
2550 The toolbar has the following icons:
2553 \begin_layout Labeling
2554 \labelwidthstring 00.00.0000
2557 arg "tabular-feature append-row"
2560 adds a row below the current cell or selection
2563 \begin_layout Labeling
2564 \labelwidthstring 00.00.0000
2567 arg "tabular-feature append-column"
2570 adds a column right beside the current cell or selection
2573 \begin_layout Labeling
2574 \labelwidthstring 00.00.0000
2577 arg "tabular-feature delete-row"
2580 deletes the current row or selection
2583 \begin_layout Labeling
2584 \labelwidthstring 00.00.0000
2587 arg "tabular-feature delete-column"
2590 deletes the current column or selection
2593 \begin_layout Labeling
2594 \labelwidthstring 00.00.0000
2597 arg "tabular-feature move-row-up"
2603 \begin_layout Labeling
2604 \labelwidthstring 00.00.0000
2607 arg "tabular-feature move-column-left"
2610 moves the column to the left
2613 \begin_layout Labeling
2614 \labelwidthstring 00.00.0000
2617 arg "tabular-feature move-row-down"
2623 \begin_layout Labeling
2624 \labelwidthstring 00.00.0000
2627 arg "tabular-feature move-column-right"
2630 moves the column to the right
2633 \begin_layout Labeling
2634 \labelwidthstring 00.00.0000
2637 arg "tabular-feature toggle-line-top"
2640 adds a line at the top of the current cell / row or of a selection
2643 \begin_layout Labeling
2644 \labelwidthstring 00.00.0000
2647 arg "tabular-feature toggle-line-bottom"
2650 adds a line at the bottom of the current cell / row or of a selection
2653 \begin_layout Labeling
2654 \labelwidthstring 00.00.0000
2657 arg "tabular-feature toggle-line-left"
2660 adds a line at the left side of the current cell / row or of a selection
2663 \begin_layout Labeling
2664 \labelwidthstring 00.00.0000
2667 arg "tabular-feature toggle-line-right"
2670 adds a line at the right side of the current cell / row or of a selection
2671 \change_inserted -712698321 1554289731
2675 \begin_layout Labeling
2676 \labelwidthstring 00.00.0000
2678 \change_inserted -712698321 1554289910
2681 arg "tabular-feature set-border-lines"
2684 adds a border around the currently selected cells
2689 \begin_layout Labeling
2690 \labelwidthstring 00.00.0000
2693 arg "tabular-feature set-all-lines"
2696 adds lines around the current or selected cells - if the current cell is
2697 not a multicolumn cell this also affects the current row and column
2700 \begin_layout Labeling
2701 \labelwidthstring 00.00.0000
2704 arg "tabular-feature unset-all-lines"
2707 deletes all lines of the current or selected cells - if the current cell
2708 is not a multicolumn cell this also affects the current row and column
2709 \change_inserted -712698321 1554289920
2713 \begin_layout Labeling
2714 \labelwidthstring 00.00.0000
2716 \change_inserted -712698321 1554292586
2719 arg "tabular-feature reset-formal-default"
2722 If using a formal table, this resets the border to its default (only horizontal
2723 lines in top and bottom rows)
2728 \begin_layout Labeling
2729 \labelwidthstring 00.00.0000
2732 arg "tabular-feature m-align-left"
2735 left-aligns the content of the current cell / column
2738 \begin_layout Labeling
2739 \labelwidthstring 00.00.0000
2742 arg "tabular-feature m-align-center"
2745 centers the content of the current cell / column horizontally
2748 \begin_layout Labeling
2749 \labelwidthstring 00.00.0000
2752 arg "tabular-feature m-align-right"
2755 right-aligns the content of the current cell / column
2758 \begin_layout Labeling
2759 \labelwidthstring 00.00.0000
2762 arg "tabular-feature align-decimal"
2765 aligns the content of the current column at a character
2768 \begin_layout Labeling
2769 \labelwidthstring 00.00.0000
2772 arg "tabular-feature m-valign-top"
2775 aligns the content of the current cell vertically to the top
2778 \begin_layout Labeling
2779 \labelwidthstring 00.00.0000
2782 arg "tabular-feature m-valign-middle"
2785 centers the content of the current cell vertically
2788 \begin_layout Labeling
2789 \labelwidthstring 00.00.0000
2792 arg "tabular-feature m-valign-bottom"
2795 aligns the content of the current cell vertically to the bottom
2798 \begin_layout Labeling
2799 \labelwidthstring 00.00.0000
2802 arg "tabular-feature set-rotate-cell"
2805 rotates the current cell or selection counter-clockwise by 90°
2808 \begin_layout Labeling
2809 \labelwidthstring 00.00.0000
2812 arg "tabular-feature set-rotate-tabular"
2815 rotates the whole table counter-clockwise by 90°
2818 \begin_layout Labeling
2819 \labelwidthstring 00.00.0000
2822 arg "tabular-feature multicolumn"
2825 sets the current cell or selection as a multicolumn
2828 \begin_layout Labeling
2829 \labelwidthstring 00.00.0000
2832 arg "tabular-feature multirow"
2835 sets the current cell or selection as a multirow
2838 \begin_layout Standard
2839 \begin_inset Note Greyedout
2842 \begin_layout Plain Layout
2847 For the output the vertical alignment of the first cell in a row is used
2848 for all following cells in the row.
2856 \begin_layout Section
2858 \begin_inset Index idx
2861 \begin_layout Plain Layout
2870 \begin_layout Standard
2871 In addition to the table dialog and toolbar, the menu
2873 Edit\SpecialChar menuseparator
2876 allows you to add and delete border lines for the current row/column and
2877 to set the current selection as multicolumn.
2878 The menu is only available when the cursor is inside a table.
2881 \begin_layout Section
2883 \begin_inset CommandInset label
2885 name "sec:Table-Floats"
2890 \begin_inset Index idx
2893 \begin_layout Plain Layout
2900 \begin_inset Index idx
2903 \begin_layout Plain Layout
2912 \begin_layout Standard
2913 For general explanations about floats, have a look at section
2914 \begin_inset space ~
2918 \begin_inset CommandInset ref
2920 reference "sec:FloatIntroduction"
2927 \begin_layout Standard
2928 \begin_inset Float table
2935 \begin_layout Plain Layout
2936 \begin_inset Caption Standard
2938 \begin_layout Plain Layout
2939 \begin_inset CommandInset label
2941 name "tab:a table float"
2953 \begin_layout Plain Layout
2955 \begin_inset Tabular
2956 <lyxtabular version="3" rows="3" columns="3">
2957 <features tabularvalignment="middle">
2958 <column alignment="center" valignment="top" width="0pt">
2959 <column alignment="center" valignment="top" width="0pt">
2960 <column alignment="center" valignment="top" width="0pt">
2962 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2965 \begin_layout Plain Layout
2980 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2983 \begin_layout Plain Layout
2998 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3001 \begin_layout Plain Layout
3018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3021 \begin_layout Plain Layout
3036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3039 \begin_layout Plain Layout
3054 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3057 \begin_layout Plain Layout
3074 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3077 \begin_layout Plain Layout
3087 \begin_inset Formula $\int x^{2}dx$
3095 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3098 \begin_layout Plain Layout
3108 \begin_inset Formula $\left[\begin{array}{cc}
3119 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3122 \begin_layout Plain Layout
3132 \begin_inset Formula $1+1=2$
3153 \begin_layout Standard
3154 Table floats can be inserted using the menu
3156 Insert\SpecialChar menuseparator
3157 Float\SpecialChar menuseparator
3160 or the toolbar button
3163 arg "float-insert table"
3169 \begin_layout Standard
3170 The float appears as a collapsible box with a caption that has the label
3172 \begin_inset Quotes eld
3176 \begin_inset space ~
3180 \begin_inset Quotes erd
3183 (# is the actual table number).
3184 You can insert tables in the float above or below the caption.
3187 \begin_layout Standard
3189 \begin_inset space ~
3193 \begin_inset CommandInset ref
3195 reference "tab:a table float"
3199 is an example table within a table float.
3202 \begin_layout Standard
3203 Having the caption above the table is the common rule that is unfortunately
3204 not supported in \SpecialChar LaTeX
3205 's standard classes.
3206 This means that, if you are using the document classes
3222 , there will be no space between the caption and the table.
3223 To insert the needed space, add the following option to the load command
3224 of the \SpecialChar LaTeX
3230 \begin_inset Index idx
3233 \begin_layout Plain Layout
3240 in your document preamble:
3244 \begin_layout Plain Layout
3245 For more information have a look at section
3246 \begin_inset space ~
3250 \begin_inset CommandInset ref
3252 reference "sec:Caption-Placement"
3264 \begin_layout Standard
3270 \begin_layout Standard
3275 , which is described in section
3276 \begin_inset space ~
3280 \begin_inset CommandInset ref
3282 reference "sec:Caption-Formatting"
3286 , is used to adjust the caption format.
3289 \begin_layout Standard
3290 \begin_inset Index idx
3293 \begin_layout Plain Layout
3294 References ! to Tables
3299 Tables can be cross-referenced in the text by referencing their label.
3300 To do this insert a label in the caption using the menu
3302 Insert\SpecialChar menuseparator
3305 or the toolbar button
3312 You can now refer to the label using the menu
3314 Insert\SpecialChar menuseparator
3316 \begin_inset space ~
3321 or the toolbar button
3324 arg "dialog-show-new-inset ref"
3328 \begin_inset Newline newline
3331 Referencing is explained in detail in section
3332 \begin_inset space ~
3336 \begin_inset CommandInset ref
3338 reference "sec:Referencing-Floats"
3345 \begin_layout Section
3351 \begin_inset CommandInset label
3353 name "sec:Multi-page-Tables"
3358 \begin_inset Index idx
3361 \begin_layout Plain Layout
3368 \begin_inset Index idx
3371 \begin_layout Plain Layout
3372 Table ! Multi-page Table
3380 \begin_layout Standard
3381 If the table is too long to fit on one page, you can use the option
3384 \begin_inset space ~
3392 \begin_inset space ~
3397 of the table dialog to split the table automatically over more pages.
3398 Doing this enables the following options:
3401 \begin_layout Description
3402 Header: The current row is defined to be a header row that appears on all
3403 pages of the multi-page table; except for the first page, if
3406 \begin_inset space ~
3412 This is therefore called the main header.
3415 \begin_layout Description
3417 \begin_inset space ~
3420 header: The current row is defined to be a header row that appears on the
3421 first page of the multi-page table.
3424 \begin_layout Description
3425 Footer: The current row is defined to be a footer row that appears on all
3426 pages of the multi-page table; except for the last page, if
3429 \begin_inset space ~
3437 \begin_layout Description
3439 \begin_inset space ~
3442 footer: The current row is defined to be a footer row that appears on the
3443 last page of the multi-page table.
3446 \begin_layout Description
3447 Caption: The current row contains the table caption.
3448 The row is reset as single column and a caption is inserted.
3449 More about multi-page table captions is explained in sec.
3450 \begin_inset space \thinspace{}
3454 \begin_inset CommandInset ref
3456 reference "subsec:Multi-page-Table-Captions"
3463 \begin_layout Standard
3464 You can also specify a row where the table is split.
3465 See the following multi-page table to see how it works:
3468 \begin_layout Standard
3470 \begin_inset Tabular
3471 <lyxtabular version="3" rows="69" columns="3">
3472 <features islongtable="true" longtabularalignment="center">
3473 <column alignment="left" valignment="top" width="0cm">
3474 <column alignment="left" valignment="top" width="0pt">
3475 <column alignment="center" valignment="top" width="0pt">
3476 <row endfirsthead="true">
3477 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3480 \begin_layout Plain Layout
3483 Example Phone List (ignore the names)
3488 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3491 \begin_layout Plain Layout
3497 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3500 \begin_layout Plain Layout
3507 <row endfirsthead="true">
3508 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3511 \begin_layout Plain Layout
3519 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3522 \begin_layout Plain Layout
3528 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3531 \begin_layout Plain Layout
3540 <row endhead="true">
3541 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3544 \begin_layout Plain Layout
3552 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3555 \begin_layout Plain Layout
3561 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3564 \begin_layout Plain Layout
3571 <row endhead="true">
3572 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3575 \begin_layout Plain Layout
3583 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3586 \begin_layout Plain Layout
3592 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3595 \begin_layout Plain Layout
3604 <row endfoot="true">
3605 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3608 \begin_layout Plain Layout
3609 continued on next page
3614 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3617 \begin_layout Plain Layout
3623 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3626 \begin_layout Plain Layout
3634 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3637 \begin_layout Plain Layout
3645 <cell alignment="center" valignment="top" usebox="none">
3648 \begin_layout Plain Layout
3654 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3657 \begin_layout Plain Layout
3665 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3668 \begin_layout Plain Layout
3676 <cell alignment="center" valignment="top" usebox="none">
3679 \begin_layout Plain Layout
3685 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3688 \begin_layout Plain Layout
3696 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3699 \begin_layout Plain Layout
3707 <cell alignment="center" valignment="top" usebox="none">
3710 \begin_layout Plain Layout
3716 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3719 \begin_layout Plain Layout
3727 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3730 \begin_layout Plain Layout
3738 <cell alignment="center" valignment="top" usebox="none">
3741 \begin_layout Plain Layout
3747 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3750 \begin_layout Plain Layout
3758 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3761 \begin_layout Plain Layout
3769 <cell alignment="center" valignment="top" usebox="none">
3772 \begin_layout Plain Layout
3778 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3781 \begin_layout Plain Layout
3789 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3792 \begin_layout Plain Layout
3800 <cell alignment="center" valignment="top" usebox="none">
3803 \begin_layout Plain Layout
3809 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3812 \begin_layout Plain Layout
3820 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3823 \begin_layout Plain Layout
3831 <cell alignment="center" valignment="top" usebox="none">
3834 \begin_layout Plain Layout
3840 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3843 \begin_layout Plain Layout
3851 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3854 \begin_layout Plain Layout
3862 <cell alignment="center" valignment="top" usebox="none">
3865 \begin_layout Plain Layout
3871 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3874 \begin_layout Plain Layout
3882 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3885 \begin_layout Plain Layout
3893 <cell alignment="center" valignment="top" usebox="none">
3896 \begin_layout Plain Layout
3902 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3905 \begin_layout Plain Layout
3913 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3916 \begin_layout Plain Layout
3924 <cell alignment="center" valignment="top" usebox="none">
3927 \begin_layout Plain Layout
3933 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3936 \begin_layout Plain Layout
3944 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3947 \begin_layout Plain Layout
3955 <cell alignment="center" valignment="top" usebox="none">
3958 \begin_layout Plain Layout
3964 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3967 \begin_layout Plain Layout
3975 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3978 \begin_layout Plain Layout
3986 <cell alignment="center" valignment="top" usebox="none">
3989 \begin_layout Plain Layout
3995 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3998 \begin_layout Plain Layout
4006 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4009 \begin_layout Plain Layout
4017 <cell alignment="center" valignment="top" usebox="none">
4020 \begin_layout Plain Layout
4026 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4029 \begin_layout Plain Layout
4037 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4040 \begin_layout Plain Layout
4048 <cell alignment="center" valignment="top" usebox="none">
4051 \begin_layout Plain Layout
4057 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4060 \begin_layout Plain Layout
4068 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4071 \begin_layout Plain Layout
4079 <cell alignment="center" valignment="top" usebox="none">
4082 \begin_layout Plain Layout
4088 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4091 \begin_layout Plain Layout
4099 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4102 \begin_layout Plain Layout
4110 <cell alignment="center" valignment="top" usebox="none">
4113 \begin_layout Plain Layout
4119 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4122 \begin_layout Plain Layout
4130 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4133 \begin_layout Plain Layout
4141 <cell alignment="center" valignment="top" usebox="none">
4144 \begin_layout Plain Layout
4150 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4153 \begin_layout Plain Layout
4161 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4164 \begin_layout Plain Layout
4172 <cell alignment="center" valignment="top" usebox="none">
4175 \begin_layout Plain Layout
4181 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4184 \begin_layout Plain Layout
4192 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4195 \begin_layout Plain Layout
4203 <cell alignment="center" valignment="top" usebox="none">
4206 \begin_layout Plain Layout
4212 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4215 \begin_layout Plain Layout
4223 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4226 \begin_layout Plain Layout
4234 <cell alignment="center" valignment="top" usebox="none">
4237 \begin_layout Plain Layout
4243 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4246 \begin_layout Plain Layout
4254 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4257 \begin_layout Plain Layout
4265 <cell alignment="center" valignment="top" usebox="none">
4268 \begin_layout Plain Layout
4274 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4277 \begin_layout Plain Layout
4285 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4288 \begin_layout Plain Layout
4296 <cell alignment="center" valignment="top" usebox="none">
4299 \begin_layout Plain Layout
4305 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4308 \begin_layout Plain Layout
4316 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4319 \begin_layout Plain Layout
4327 <cell alignment="center" valignment="top" usebox="none">
4330 \begin_layout Plain Layout
4336 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4339 \begin_layout Plain Layout
4347 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4350 \begin_layout Plain Layout
4358 <cell alignment="center" valignment="top" usebox="none">
4361 \begin_layout Plain Layout
4367 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4370 \begin_layout Plain Layout
4378 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4381 \begin_layout Plain Layout
4389 <cell alignment="center" valignment="top" usebox="none">
4392 \begin_layout Plain Layout
4398 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4401 \begin_layout Plain Layout
4409 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4412 \begin_layout Plain Layout
4420 <cell alignment="center" valignment="top" usebox="none">
4423 \begin_layout Plain Layout
4429 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4432 \begin_layout Plain Layout
4440 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4443 \begin_layout Plain Layout
4451 <cell alignment="center" valignment="top" usebox="none">
4454 \begin_layout Plain Layout
4460 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4463 \begin_layout Plain Layout
4471 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4474 \begin_layout Plain Layout
4482 <cell alignment="center" valignment="top" usebox="none">
4485 \begin_layout Plain Layout
4491 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4494 \begin_layout Plain Layout
4502 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4505 \begin_layout Plain Layout
4513 <cell alignment="center" valignment="top" usebox="none">
4516 \begin_layout Plain Layout
4522 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4525 \begin_layout Plain Layout
4533 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4536 \begin_layout Plain Layout
4544 <cell alignment="center" valignment="top" usebox="none">
4547 \begin_layout Plain Layout
4553 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4556 \begin_layout Plain Layout
4564 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4567 \begin_layout Plain Layout
4575 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4578 \begin_layout Plain Layout
4584 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4587 \begin_layout Plain Layout
4595 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4598 \begin_layout Plain Layout
4604 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4607 \begin_layout Plain Layout
4613 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4616 \begin_layout Plain Layout
4624 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4627 \begin_layout Plain Layout
4635 <cell alignment="center" valignment="top" usebox="none">
4638 \begin_layout Plain Layout
4644 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4647 \begin_layout Plain Layout
4655 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4658 \begin_layout Plain Layout
4666 <cell alignment="center" valignment="top" usebox="none">
4669 \begin_layout Plain Layout
4675 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4678 \begin_layout Plain Layout
4686 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4689 \begin_layout Plain Layout
4697 <cell alignment="center" valignment="top" usebox="none">
4700 \begin_layout Plain Layout
4706 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4709 \begin_layout Plain Layout
4717 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4720 \begin_layout Plain Layout
4728 <cell alignment="center" valignment="top" usebox="none">
4731 \begin_layout Plain Layout
4737 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4740 \begin_layout Plain Layout
4748 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4751 \begin_layout Plain Layout
4759 <cell alignment="center" valignment="top" usebox="none">
4762 \begin_layout Plain Layout
4768 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4771 \begin_layout Plain Layout
4779 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4782 \begin_layout Plain Layout
4790 <cell alignment="center" valignment="top" usebox="none">
4793 \begin_layout Plain Layout
4799 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4802 \begin_layout Plain Layout
4810 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4813 \begin_layout Plain Layout
4821 <cell alignment="center" valignment="top" usebox="none">
4824 \begin_layout Plain Layout
4830 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4833 \begin_layout Plain Layout
4841 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4844 \begin_layout Plain Layout
4852 <cell alignment="center" valignment="top" usebox="none">
4855 \begin_layout Plain Layout
4861 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4864 \begin_layout Plain Layout
4872 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4875 \begin_layout Plain Layout
4883 <cell alignment="center" valignment="top" usebox="none">
4886 \begin_layout Plain Layout
4892 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4895 \begin_layout Plain Layout
4903 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4906 \begin_layout Plain Layout
4914 <cell alignment="center" valignment="top" usebox="none">
4917 \begin_layout Plain Layout
4923 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4926 \begin_layout Plain Layout
4934 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4937 \begin_layout Plain Layout
4945 <cell alignment="center" valignment="top" usebox="none">
4948 \begin_layout Plain Layout
4954 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4957 \begin_layout Plain Layout
4965 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4968 \begin_layout Plain Layout
4976 <cell alignment="center" valignment="top" usebox="none">
4979 \begin_layout Plain Layout
4985 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4988 \begin_layout Plain Layout
4996 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4999 \begin_layout Plain Layout
5007 <cell alignment="center" valignment="top" usebox="none">
5010 \begin_layout Plain Layout
5016 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5019 \begin_layout Plain Layout
5027 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5030 \begin_layout Plain Layout
5038 <cell alignment="center" valignment="top" usebox="none">
5041 \begin_layout Plain Layout
5047 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5050 \begin_layout Plain Layout
5058 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5061 \begin_layout Plain Layout
5069 <cell alignment="center" valignment="top" usebox="none">
5072 \begin_layout Plain Layout
5078 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5081 \begin_layout Plain Layout
5089 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5092 \begin_layout Plain Layout
5100 <cell alignment="center" valignment="top" usebox="none">
5103 \begin_layout Plain Layout
5109 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5112 \begin_layout Plain Layout
5120 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5123 \begin_layout Plain Layout
5131 <cell alignment="center" valignment="top" usebox="none">
5134 \begin_layout Plain Layout
5140 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5143 \begin_layout Plain Layout
5151 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5154 \begin_layout Plain Layout
5162 <cell alignment="center" valignment="top" usebox="none">
5165 \begin_layout Plain Layout
5171 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5174 \begin_layout Plain Layout
5182 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5185 \begin_layout Plain Layout
5193 <cell alignment="center" valignment="top" usebox="none">
5196 \begin_layout Plain Layout
5202 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5205 \begin_layout Plain Layout
5213 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5216 \begin_layout Plain Layout
5224 <cell alignment="center" valignment="top" usebox="none">
5227 \begin_layout Plain Layout
5233 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5236 \begin_layout Plain Layout
5244 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5247 \begin_layout Plain Layout
5255 <cell alignment="center" valignment="top" usebox="none">
5258 \begin_layout Plain Layout
5264 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5267 \begin_layout Plain Layout
5275 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5278 \begin_layout Plain Layout
5286 <cell alignment="center" valignment="top" usebox="none">
5289 \begin_layout Plain Layout
5295 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5298 \begin_layout Plain Layout
5306 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5309 \begin_layout Plain Layout
5317 <cell alignment="center" valignment="top" usebox="none">
5320 \begin_layout Plain Layout
5326 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5329 \begin_layout Plain Layout
5337 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5340 \begin_layout Plain Layout
5348 <cell alignment="center" valignment="top" usebox="none">
5351 \begin_layout Plain Layout
5357 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5360 \begin_layout Plain Layout
5368 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5371 \begin_layout Plain Layout
5379 <cell alignment="center" valignment="top" usebox="none">
5382 \begin_layout Plain Layout
5388 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5391 \begin_layout Plain Layout
5399 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5402 \begin_layout Plain Layout
5410 <cell alignment="center" valignment="top" usebox="none">
5413 \begin_layout Plain Layout
5419 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5422 \begin_layout Plain Layout
5430 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5433 \begin_layout Plain Layout
5441 <cell alignment="center" valignment="top" usebox="none">
5444 \begin_layout Plain Layout
5450 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5453 \begin_layout Plain Layout
5461 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5464 \begin_layout Plain Layout
5472 <cell alignment="center" valignment="top" usebox="none">
5475 \begin_layout Plain Layout
5481 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5484 \begin_layout Plain Layout
5492 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5495 \begin_layout Plain Layout
5503 <cell alignment="center" valignment="top" usebox="none">
5506 \begin_layout Plain Layout
5512 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5515 \begin_layout Plain Layout
5523 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5526 \begin_layout Plain Layout
5534 <cell alignment="center" valignment="top" usebox="none">
5537 \begin_layout Plain Layout
5543 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5546 \begin_layout Plain Layout
5554 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5557 \begin_layout Plain Layout
5565 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5568 \begin_layout Plain Layout
5574 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5577 \begin_layout Plain Layout
5584 <row endlastfoot="true">
5585 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5588 \begin_layout Plain Layout
5594 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5597 \begin_layout Plain Layout
5603 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5606 \begin_layout Plain Layout
5621 \begin_layout Plain Layout
5625 addtocounter{table}{-1}
5631 \begin_inset Note Note
5634 \begin_layout Plain Layout
5635 See the first greyed-out note in section
5636 \begin_inset space ~
5640 \begin_inset CommandInset ref
5642 reference "subsec:Multi-page-Table-Captions"
5646 for an explanation of this command.
5654 \begin_layout Subsection
5655 Footnotes in Multi-page tables
5656 \begin_inset CommandInset label
5658 name "subsec:Footnotes-in-Multi-page"
5663 \begin_inset Index idx
5666 \begin_layout Plain Layout
5667 Table ! Multi-page Table ! Footnotes
5675 \begin_layout Standard
5676 Footnotes can be inserted to every Multi-page table cell.
5677 They appear at the bottom of the page where the table cell with the footnote
5680 \begin_inset space ~
5684 \begin_inset CommandInset ref
5686 reference "tab:DiffCaptions"
5690 has for example a footnote.
5693 \begin_layout Subsection
5694 Multi-page Table Alignment
5695 \begin_inset Index idx
5698 \begin_layout Plain Layout
5699 Table ! Multi-page Table ! Alignment
5707 \begin_layout Standard
5708 The horizontal alignment of multi-page tables can be set in the table settings
5710 For left- and right-alignment the table will be directly at the page border.
5711 To add space between the table and the border one has to set the alignment
5712 to center and change the value of the \SpecialChar LaTeX
5725 by inserting this line as \SpecialChar TeX
5726 Code before the multi-page table:
5729 \begin_layout Standard
5739 \begin_layout Standard
5740 The value can have any of the units listed in Table
5741 \begin_inset space ~
5745 \begin_inset CommandInset ref
5747 reference "tab:Units"
5758 controls the horizontal distance from the left page border to the multi-page
5765 the distance from the right side.
5766 The default value for both lengths is
5772 , which is in this case the same as an horizontal fill in \SpecialChar LyX
5776 \begin_layout Standard
5777 The following multi-page table was centered and
5793 \begin_layout Plain Layout
5809 \begin_layout Standard
5810 \begin_inset Tabular
5811 <lyxtabular version="3" rows="5" columns="5">
5812 <features islongtable="true" longtabularalignment="center">
5813 <column alignment="center" valignment="top">
5814 <column alignment="center" valignment="top" width="0pt">
5815 <column alignment="center" valignment="top">
5816 <column alignment="center" valignment="top">
5817 <column alignment="center" valignment="top">
5819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5822 \begin_layout Plain Layout
5828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5831 \begin_layout Plain Layout
5837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5840 \begin_layout Plain Layout
5846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5849 \begin_layout Plain Layout
5855 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5858 \begin_layout Plain Layout
5866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5869 \begin_layout Plain Layout
5875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5878 \begin_layout Plain Layout
5884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5887 \begin_layout Plain Layout
5893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5896 \begin_layout Plain Layout
5902 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5905 \begin_layout Plain Layout
5913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5916 \begin_layout Plain Layout
5922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5925 \begin_layout Plain Layout
5931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5934 \begin_layout Plain Layout
5940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5943 \begin_layout Plain Layout
5949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5952 \begin_layout Plain Layout
5960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5963 \begin_layout Plain Layout
5969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5972 \begin_layout Plain Layout
5978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5981 \begin_layout Plain Layout
5987 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5990 \begin_layout Plain Layout
5996 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5999 \begin_layout Plain Layout
6007 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6010 \begin_layout Plain Layout
6016 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6019 \begin_layout Plain Layout
6025 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6028 \begin_layout Plain Layout
6034 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6037 \begin_layout Plain Layout
6043 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6046 \begin_layout Plain Layout
6061 \begin_layout Plain Layout
6078 \begin_layout Plain Layout
6082 addtocounter{table}{-1}
6088 \begin_inset Note Note
6091 \begin_layout Plain Layout
6092 See the first greyed-out note in section
6093 \begin_inset space ~
6097 \begin_inset CommandInset ref
6099 reference "subsec:Multi-page-Table-Captions"
6103 for an explanation of this command.
6111 \begin_layout Subsection
6112 Multi-page Table Captions
6113 \begin_inset Index idx
6116 \begin_layout Plain Layout
6117 Table ! Multi-page Table ! Captions
6123 \begin_inset CommandInset label
6125 name "subsec:Multi-page-Table-Captions"
6132 \begin_layout Standard
6133 A multi-page table cannot be put into a table float because floats can only
6135 But the caption environment of floats can also be used for multi-page tables
6136 when you use the multi-page table option
6140 as described in sec.
6141 \begin_inset space \thinspace{}
6145 \begin_inset CommandInset ref
6147 reference "sec:Multi-page-Tables"
6152 Only one table row should contain a caption, either a header or a footer
6156 \begin_layout Standard
6157 Here is a short multi-page table to see how it works:
6160 \begin_layout Standard
6161 \begin_inset Tabular
6162 <lyxtabular version="3" rows="6" columns="5">
6163 <features islongtable="true" longtabularalignment="center">
6164 <column alignment="center" valignment="top">
6165 <column alignment="center" valignment="top">
6166 <column alignment="center" valignment="top">
6167 <column alignment="center" valignment="top">
6168 <column alignment="center" valignment="top">
6169 <row endfirsthead="true" caption="true">
6170 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6173 \begin_layout Plain Layout
6174 \begin_inset Caption Standard
6176 \begin_layout Plain Layout
6177 Multi-page table with caption
6178 \begin_inset Argument 1
6181 \begin_layout Plain Layout
6197 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6200 \begin_layout Plain Layout
6206 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6209 \begin_layout Plain Layout
6215 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6218 \begin_layout Plain Layout
6224 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6227 \begin_layout Plain Layout
6235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6238 \begin_layout Plain Layout
6244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6247 \begin_layout Plain Layout
6253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6256 \begin_layout Plain Layout
6262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6265 \begin_layout Plain Layout
6271 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6274 \begin_layout Plain Layout
6282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6285 \begin_layout Plain Layout
6291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6294 \begin_layout Plain Layout
6300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6303 \begin_layout Plain Layout
6309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6312 \begin_layout Plain Layout
6318 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6321 \begin_layout Plain Layout
6329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6332 \begin_layout Plain Layout
6338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6341 \begin_layout Plain Layout
6347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6350 \begin_layout Plain Layout
6356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6359 \begin_layout Plain Layout
6365 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6368 \begin_layout Plain Layout
6376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6379 \begin_layout Plain Layout
6385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6388 \begin_layout Plain Layout
6394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6397 \begin_layout Plain Layout
6403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6406 \begin_layout Plain Layout
6412 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6415 \begin_layout Plain Layout
6423 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6426 \begin_layout Plain Layout
6432 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6435 \begin_layout Plain Layout
6441 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6444 \begin_layout Plain Layout
6450 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6453 \begin_layout Plain Layout
6459 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6462 \begin_layout Plain Layout
6476 \begin_layout Standard
6477 \begin_inset VSpace medskip
6481 \begin_inset Note Greyedout
6484 \begin_layout Plain Layout
6488 \begin_inset space ~
6493 The table number is increased for every multi-page table, even if you did
6494 not set a caption for it.
6495 For this reason you could have the case that e.
6496 \begin_inset space \thinspace{}
6500 \begin_inset space \space{}
6504 \begin_inset space ~
6508 \begin_inset space ~
6511 2.1 in the list of tables if there are two multi-page tables without captions.
6512 To avoid this you can add the following command in \SpecialChar TeX
6513 Code after every multi-page
6514 table without a caption:
6517 \begin_layout Plain Layout
6522 addtocounter{table}{-1}
6525 \begin_layout Plain Layout
6526 This is not needed when none of your multi-page tables has a caption and
6527 you add the following code to the document preamble:
6530 \begin_layout Plain Layout
6540 \begin_inset Newline newline
6551 addtocounter{table}{-1}}
6559 \begin_layout Standard
6560 \begin_inset Note Greyedout
6563 \begin_layout Plain Layout
6567 \begin_inset space ~
6577 \begin_inset Index idx
6580 \begin_layout Plain Layout
6582 -packages ! hyperref
6595 dialog to link cross-references, the link to a multi-page table caption
6596 will always point to the beginning of the document.
6604 \begin_layout Subsubsection
6605 References to multi-page tables
6606 \begin_inset Index idx
6609 \begin_layout Plain Layout
6610 Table ! Multi-page Table ! References
6618 \begin_layout Standard
6619 \begin_inset Tabular
6620 <lyxtabular version="3" rows="6" columns="5">
6621 <features islongtable="true" longtabularalignment="center">
6622 <column alignment="center" valignment="top">
6623 <column alignment="center" valignment="top">
6624 <column alignment="center" valignment="top">
6625 <column alignment="center" valignment="top">
6626 <column alignment="center" valignment="top">
6627 <row endfirsthead="true" caption="true">
6628 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6631 \begin_layout Plain Layout
6632 \begin_inset Caption Standard
6634 \begin_layout Plain Layout
6635 Referenced multi-page table
6636 \begin_inset CommandInset label
6638 name "tab:Referenced-multi-page-table"
6652 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6655 \begin_layout Plain Layout
6661 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6664 \begin_layout Plain Layout
6670 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6673 \begin_layout Plain Layout
6679 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6682 \begin_layout Plain Layout
6690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6693 \begin_layout Plain Layout
6699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6702 \begin_layout Plain Layout
6708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6711 \begin_layout Plain Layout
6717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6720 \begin_layout Plain Layout
6726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6729 \begin_layout Plain Layout
6737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6740 \begin_layout Plain Layout
6746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6749 \begin_layout Plain Layout
6755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6758 \begin_layout Plain Layout
6764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6767 \begin_layout Plain Layout
6773 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6776 \begin_layout Plain Layout
6784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6787 \begin_layout Plain Layout
6793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6796 \begin_layout Plain Layout
6802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6805 \begin_layout Plain Layout
6811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6814 \begin_layout Plain Layout
6820 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6823 \begin_layout Plain Layout
6831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6834 \begin_layout Plain Layout
6840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6843 \begin_layout Plain Layout
6849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6852 \begin_layout Plain Layout
6858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6861 \begin_layout Plain Layout
6867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6870 \begin_layout Plain Layout
6878 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6881 \begin_layout Plain Layout
6887 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6890 \begin_layout Plain Layout
6896 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6899 \begin_layout Plain Layout
6905 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6908 \begin_layout Plain Layout
6914 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6917 \begin_layout Plain Layout
6931 \begin_layout Standard
6932 To reference a multi-page table, insert a label into the caption.
6935 \begin_layout Standard
6936 This is a reference to Table
6937 \begin_inset space ~
6941 \begin_inset CommandInset ref
6943 reference "tab:Referenced-multi-page-table"
6950 \begin_layout Standard
6951 The caption layout can be set together with all other captions of your document
6952 using the \SpecialChar LaTeX
6958 \begin_inset Index idx
6961 \begin_layout Plain Layout
6969 \begin_inset space ~
6973 \begin_inset CommandInset ref
6975 reference "sec:Caption-Formatting"
6982 \begin_layout Subsubsection
6984 \begin_inset Index idx
6987 \begin_layout Plain Layout
6988 Table ! Multi-page Table ! Caption Width
6996 \begin_layout Standard
6997 The maximal width of caption lines is defined by the length
7004 Its default value is 4
7005 \begin_inset space \thinspace{}
7009 To change it add the following command to your document preamble or as
7011 Code into your document before the multi-page table that should be affected
7014 \begin_layout Standard
7024 \begin_layout Standard
7029 can have one of the units listed in appendix
7030 \begin_inset space ~
7034 \begin_inset CommandInset ref
7036 reference "cha:Units-available-in"
7043 \begin_layout Standard
7044 The following tables show the difference:
7047 \begin_layout Standard
7048 \begin_inset Tabular
7049 <lyxtabular version="3" rows="6" columns="5">
7050 <features islongtable="true" longtabularalignment="center">
7051 <column alignment="center" valignment="top">
7052 <column alignment="center" valignment="top">
7053 <column alignment="center" valignment="top">
7054 <column alignment="center" valignment="top">
7055 <column alignment="center" valignment="top">
7056 <row endfirsthead="true" caption="true">
7057 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7060 \begin_layout Plain Layout
7061 \begin_inset Caption Standard
7063 \begin_layout Plain Layout
7064 Long full title with default width long full title with default width long
7065 full title with default width
7066 \begin_inset Argument 1
7069 \begin_layout Plain Layout
7070 caption with default width
7085 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7088 \begin_layout Plain Layout
7094 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7097 \begin_layout Plain Layout
7103 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7106 \begin_layout Plain Layout
7112 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7115 \begin_layout Plain Layout
7123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7126 \begin_layout Plain Layout
7132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7135 \begin_layout Plain Layout
7141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7144 \begin_layout Plain Layout
7150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7153 \begin_layout Plain Layout
7159 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7162 \begin_layout Plain Layout
7170 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7173 \begin_layout Plain Layout
7179 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7182 \begin_layout Plain Layout
7188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7191 \begin_layout Plain Layout
7197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7200 \begin_layout Plain Layout
7206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7209 \begin_layout Plain Layout
7217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7220 \begin_layout Plain Layout
7226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7229 \begin_layout Plain Layout
7235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7238 \begin_layout Plain Layout
7244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7247 \begin_layout Plain Layout
7253 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7256 \begin_layout Plain Layout
7264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7267 \begin_layout Plain Layout
7273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7276 \begin_layout Plain Layout
7282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7285 \begin_layout Plain Layout
7291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7294 \begin_layout Plain Layout
7300 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7303 \begin_layout Plain Layout
7311 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7314 \begin_layout Plain Layout
7320 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7323 \begin_layout Plain Layout
7329 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7332 \begin_layout Plain Layout
7338 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7341 \begin_layout Plain Layout
7347 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7350 \begin_layout Plain Layout
7364 \begin_layout Standard
7368 \begin_layout Plain Layout
7380 \begin_inset Tabular
7381 <lyxtabular version="3" rows="6" columns="5">
7382 <features islongtable="true" longtabularalignment="center">
7383 <column alignment="center" valignment="top">
7384 <column alignment="center" valignment="top">
7385 <column alignment="center" valignment="top">
7386 <column alignment="center" valignment="top">
7387 <column alignment="center" valignment="top">
7388 <row endfirsthead="true" caption="true">
7389 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7392 \begin_layout Plain Layout
7393 \begin_inset Caption Standard
7395 \begin_layout Plain Layout
7396 Long full title with width set to 5
7397 \begin_inset space \thinspace{}
7400 cm long full title with width set to 5
7401 \begin_inset space \thinspace{}
7404 cm long full title with width set to 5
7405 \begin_inset space \thinspace{}
7409 \begin_inset Argument 1
7412 \begin_layout Plain Layout
7414 \begin_inset space \thinspace{}
7418 \begin_inset space \thinspace{}
7422 \begin_inset space \thinspace{}
7440 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7443 \begin_layout Plain Layout
7449 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7452 \begin_layout Plain Layout
7458 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7461 \begin_layout Plain Layout
7467 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7470 \begin_layout Plain Layout
7478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7481 \begin_layout Plain Layout
7487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7490 \begin_layout Plain Layout
7496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7499 \begin_layout Plain Layout
7505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7508 \begin_layout Plain Layout
7514 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7517 \begin_layout Plain Layout
7525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7528 \begin_layout Plain Layout
7534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7537 \begin_layout Plain Layout
7543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7546 \begin_layout Plain Layout
7552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7555 \begin_layout Plain Layout
7561 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7564 \begin_layout Plain Layout
7572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7575 \begin_layout Plain Layout
7581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7584 \begin_layout Plain Layout
7590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7593 \begin_layout Plain Layout
7599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7602 \begin_layout Plain Layout
7608 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7611 \begin_layout Plain Layout
7619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7622 \begin_layout Plain Layout
7628 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7631 \begin_layout Plain Layout
7637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7640 \begin_layout Plain Layout
7646 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7649 \begin_layout Plain Layout
7655 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7658 \begin_layout Plain Layout
7666 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7669 \begin_layout Plain Layout
7675 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7678 \begin_layout Plain Layout
7684 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7687 \begin_layout Plain Layout
7693 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7696 \begin_layout Plain Layout
7702 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7705 \begin_layout Plain Layout
7719 \begin_layout Standard
7723 \begin_layout Plain Layout
7737 \begin_layout Standard
7738 \begin_inset Note Greyedout
7741 \begin_layout Plain Layout
7746 When the \SpecialChar LaTeX
7752 \begin_inset Index idx
7755 \begin_layout Plain Layout
7762 is used, as in this document, the full page width is used for the caption
7763 when you use the default value of 4
7764 \begin_inset space \thinspace{}
7774 To get in this case exactly a 4
7775 \begin_inset space \thinspace{}
7778 in wide caption, you can either use a value slightly different from 4.0
7779 \begin_inset space \thinspace{}
7783 \begin_inset space \thinspace{}
7787 \begin_inset space \space{}
7791 \begin_inset space \thinspace{}
7794 in, or the \SpecialChar LaTeX
7799 captionsetup{width=value}
7801 that is provided by the
7813 \begin_layout Subsubsection
7814 Different Captions for Table Pages
7815 \begin_inset Index idx
7818 \begin_layout Plain Layout
7819 Table ! Multi-page Table ! Different Captions for Pages
7827 \begin_layout Standard
7828 When the table captions for the following pages should differ from the one
7829 of the first table page, mark a empty row as header which contains a caption.
7830 Then right-click on the caption and select in the context menu
7833 \begin_inset space ~
7840 \begin_inset space ~
7844 \begin_inset CommandInset ref
7846 reference "tab:DiffCaptions"
7850 is an example of a multi-page table with different heading where the second
7851 caption does not include the table number.
7854 \begin_layout Standard
7856 \begin_inset Tabular
7857 <lyxtabular version="3" rows="59" columns="3">
7858 <features islongtable="true" longtabularalignment="center">
7859 <column alignment="left" valignment="top" width="0cm">
7860 <column alignment="left" valignment="top" width="0pt">
7861 <column alignment="center" valignment="top" width="0pt">
7862 <row endfirsthead="true" caption="true">
7863 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7866 \begin_layout Plain Layout
7867 \begin_inset Caption Standard
7869 \begin_layout Plain Layout
7871 \begin_inset CommandInset label
7873 name "tab:DiffCaptions"
7878 \begin_inset Argument 1
7881 \begin_layout Plain Layout
7897 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7900 \begin_layout Plain Layout
7906 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7909 \begin_layout Plain Layout
7916 <row endfirsthead="true">
7917 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7920 \begin_layout Plain Layout
7923 Example Phone List (ignore the names)
7928 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7931 \begin_layout Plain Layout
7937 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7940 \begin_layout Plain Layout
7947 <row endfirsthead="true">
7948 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7951 \begin_layout Plain Layout
7959 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7962 \begin_layout Plain Layout
7968 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7971 \begin_layout Plain Layout
7980 <row endhead="true" caption="true">
7981 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7984 \begin_layout Plain Layout
7985 \begin_inset Caption Unnumbered
7987 \begin_layout Plain Layout
7988 Continued Example Phone List
7998 <cell multicolumn="2" alignment="left" valignment="top" leftline="true" usebox="none">
8001 \begin_layout Plain Layout
8007 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8010 \begin_layout Plain Layout
8017 <row endhead="true">
8018 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8021 \begin_layout Plain Layout
8029 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8032 \begin_layout Plain Layout
8038 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8041 \begin_layout Plain Layout
8048 <row endhead="true">
8049 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8052 \begin_layout Plain Layout
8060 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8063 \begin_layout Plain Layout
8069 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8072 \begin_layout Plain Layout
8081 <row endfoot="true">
8082 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
8085 \begin_layout Plain Layout
8086 continued on next page
8091 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8094 \begin_layout Plain Layout
8100 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8103 \begin_layout Plain Layout
8111 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8114 \begin_layout Plain Layout
8122 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8125 \begin_layout Plain Layout
8131 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8134 \begin_layout Plain Layout
8142 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8145 \begin_layout Plain Layout
8153 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8156 \begin_layout Plain Layout
8162 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8165 \begin_layout Plain Layout
8173 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8176 \begin_layout Plain Layout
8184 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8187 \begin_layout Plain Layout
8193 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8196 \begin_layout Plain Layout
8204 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8207 \begin_layout Plain Layout
8215 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8218 \begin_layout Plain Layout
8224 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8227 \begin_layout Plain Layout
8235 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8238 \begin_layout Plain Layout
8246 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8249 \begin_layout Plain Layout
8255 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8258 \begin_layout Plain Layout
8266 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8269 \begin_layout Plain Layout
8277 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8280 \begin_layout Plain Layout
8286 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8289 \begin_layout Plain Layout
8297 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8300 \begin_layout Plain Layout
8308 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8311 \begin_layout Plain Layout
8317 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8320 \begin_layout Plain Layout
8328 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8331 \begin_layout Plain Layout
8339 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8342 \begin_layout Plain Layout
8348 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8351 \begin_layout Plain Layout
8359 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8362 \begin_layout Plain Layout
8370 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8373 \begin_layout Plain Layout
8379 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8382 \begin_layout Plain Layout
8390 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8393 \begin_layout Plain Layout
8401 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8404 \begin_layout Plain Layout
8410 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8413 \begin_layout Plain Layout
8421 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8424 \begin_layout Plain Layout
8432 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8435 \begin_layout Plain Layout
8441 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8444 \begin_layout Plain Layout
8452 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8455 \begin_layout Plain Layout
8463 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8466 \begin_layout Plain Layout
8472 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8475 \begin_layout Plain Layout
8483 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8486 \begin_layout Plain Layout
8494 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8497 \begin_layout Plain Layout
8503 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8506 \begin_layout Plain Layout
8514 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8517 \begin_layout Plain Layout
8525 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8528 \begin_layout Plain Layout
8534 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8537 \begin_layout Plain Layout
8545 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8548 \begin_layout Plain Layout
8557 \begin_layout Plain Layout
8568 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8571 \begin_layout Plain Layout
8577 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8580 \begin_layout Plain Layout
8588 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8591 \begin_layout Plain Layout
8599 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8602 \begin_layout Plain Layout
8608 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8611 \begin_layout Plain Layout
8619 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8622 \begin_layout Plain Layout
8630 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8633 \begin_layout Plain Layout
8639 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8642 \begin_layout Plain Layout
8650 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8653 \begin_layout Plain Layout
8661 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8664 \begin_layout Plain Layout
8670 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8673 \begin_layout Plain Layout
8681 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8684 \begin_layout Plain Layout
8692 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8695 \begin_layout Plain Layout
8701 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8704 \begin_layout Plain Layout
8712 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8715 \begin_layout Plain Layout
8723 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8726 \begin_layout Plain Layout
8732 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8735 \begin_layout Plain Layout
8743 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8746 \begin_layout Plain Layout
8754 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8757 \begin_layout Plain Layout
8763 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8766 \begin_layout Plain Layout
8774 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8777 \begin_layout Plain Layout
8785 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8788 \begin_layout Plain Layout
8794 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8797 \begin_layout Plain Layout
8805 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8808 \begin_layout Plain Layout
8816 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8819 \begin_layout Plain Layout
8825 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8828 \begin_layout Plain Layout
8836 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8839 \begin_layout Plain Layout
8847 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8850 \begin_layout Plain Layout
8856 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8859 \begin_layout Plain Layout
8867 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8870 \begin_layout Plain Layout
8878 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8881 \begin_layout Plain Layout
8887 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8890 \begin_layout Plain Layout
8898 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8901 \begin_layout Plain Layout
8909 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8912 \begin_layout Plain Layout
8918 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8921 \begin_layout Plain Layout
8929 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8932 \begin_layout Plain Layout
8940 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8943 \begin_layout Plain Layout
8949 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8952 \begin_layout Plain Layout
8960 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8963 \begin_layout Plain Layout
8971 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8974 \begin_layout Plain Layout
8980 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8983 \begin_layout Plain Layout
8991 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8994 \begin_layout Plain Layout
9002 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9005 \begin_layout Plain Layout
9011 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9014 \begin_layout Plain Layout
9022 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9025 \begin_layout Plain Layout
9033 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9036 \begin_layout Plain Layout
9042 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9045 \begin_layout Plain Layout
9053 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9056 \begin_layout Plain Layout
9064 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9067 \begin_layout Plain Layout
9073 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9076 \begin_layout Plain Layout
9084 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9087 \begin_layout Plain Layout
9093 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
9096 \begin_layout Plain Layout
9102 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9105 \begin_layout Plain Layout
9113 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9116 \begin_layout Plain Layout
9124 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9127 \begin_layout Plain Layout
9133 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9136 \begin_layout Plain Layout
9144 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9147 \begin_layout Plain Layout
9155 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9158 \begin_layout Plain Layout
9164 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9167 \begin_layout Plain Layout
9175 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9178 \begin_layout Plain Layout
9186 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9189 \begin_layout Plain Layout
9195 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9198 \begin_layout Plain Layout
9206 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9209 \begin_layout Plain Layout
9217 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9220 \begin_layout Plain Layout
9226 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9229 \begin_layout Plain Layout
9237 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9240 \begin_layout Plain Layout
9248 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9251 \begin_layout Plain Layout
9257 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9260 \begin_layout Plain Layout
9268 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9271 \begin_layout Plain Layout
9279 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9282 \begin_layout Plain Layout
9288 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9291 \begin_layout Plain Layout
9299 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9302 \begin_layout Plain Layout
9310 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9313 \begin_layout Plain Layout
9319 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9322 \begin_layout Plain Layout
9330 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9333 \begin_layout Plain Layout
9341 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9344 \begin_layout Plain Layout
9350 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9353 \begin_layout Plain Layout
9361 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9364 \begin_layout Plain Layout
9372 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9375 \begin_layout Plain Layout
9381 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9384 \begin_layout Plain Layout
9392 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9395 \begin_layout Plain Layout
9403 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9406 \begin_layout Plain Layout
9412 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9415 \begin_layout Plain Layout
9423 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9426 \begin_layout Plain Layout
9434 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9437 \begin_layout Plain Layout
9443 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9446 \begin_layout Plain Layout
9454 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9457 \begin_layout Plain Layout
9465 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9468 \begin_layout Plain Layout
9474 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9477 \begin_layout Plain Layout
9485 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9488 \begin_layout Plain Layout
9496 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9499 \begin_layout Plain Layout
9505 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9508 \begin_layout Plain Layout
9516 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9519 \begin_layout Plain Layout
9527 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9530 \begin_layout Plain Layout
9536 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9539 \begin_layout Plain Layout
9547 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9550 \begin_layout Plain Layout
9558 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9561 \begin_layout Plain Layout
9567 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9570 \begin_layout Plain Layout
9578 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9581 \begin_layout Plain Layout
9589 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9592 \begin_layout Plain Layout
9598 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9601 \begin_layout Plain Layout
9609 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9612 \begin_layout Plain Layout
9620 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9623 \begin_layout Plain Layout
9629 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9632 \begin_layout Plain Layout
9640 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9643 \begin_layout Plain Layout
9651 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9654 \begin_layout Plain Layout
9660 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9663 \begin_layout Plain Layout
9671 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9674 \begin_layout Plain Layout
9682 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9685 \begin_layout Plain Layout
9691 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9694 \begin_layout Plain Layout
9702 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9705 \begin_layout Plain Layout
9713 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9716 \begin_layout Plain Layout
9722 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9725 \begin_layout Plain Layout
9739 \begin_layout Section
9740 Special Multi-page Table Issues
9741 \begin_inset CommandInset label
9743 name "sec:Special-Longtable-Issues"
9750 \begin_layout Subsection
9751 Multi-page Table Calculation
9752 \begin_inset Index idx
9755 \begin_layout Plain Layout
9756 Table ! Multi-page Table ! Calculation
9764 \begin_layout Standard
9766 calculates the height of table pages and their page breaks using so called
9768 Chunks are parts of tables that held at the same time in \SpecialChar LaTeX
9770 The default value was historically set to only 20
9771 \begin_inset space ~
9775 If you are using multi-page tables with many pages this may slow down the
9776 creation of your document.
9777 You can safely increase the chunk size to values of 100
9778 \begin_inset space \thinspace{}
9782 \begin_inset space \thinspace{}
9785 1000 by adding this command line to your document preamble:
9788 \begin_layout Standard
9793 setcounter{LTchunksize}{100}
9796 \begin_layout Subsection
9797 Floats and Multi-page Tables
9798 \begin_inset Index idx
9801 \begin_layout Plain Layout
9802 Table ! Multi-page Table ! Floats
9810 \begin_layout Standard
9811 There might be problems when a float appears on the same page where a multi-page
9813 To avoid such a situation, insert a
9814 \begin_inset Quotes eld
9818 \begin_inset Quotes erd
9823 Insert\SpecialChar menuseparator
9824 Formatting\SpecialChar menuseparator
9826 \begin_inset space ~
9831 ) before your multi-page table.
9834 \begin_layout Subsection
9836 \begin_inset Index idx
9839 \begin_layout Plain Layout
9840 Table ! Multi-page Table ! Forced Page Breaks
9848 \begin_layout Standard
9849 By default tables are only broken between rows.
9850 If you have a cell with multiples lines and want to have a page break within
9851 the cell, insert the new line command
9852 \begin_inset Quotes eld
9864 \begin_inset Quotes erd
9868 Code at the point of the cell where it can be broken.
9877 command you have to insert in \SpecialChar TeX
9879 \begin_inset Quotes eld
9887 \begin_inset Quotes erd
9890 characters as the number of the following table columns.
9895 is the character to separate table cells.
9896 Write in \SpecialChar TeX
9901 the content of the corresponding following cell and delete the content
9903 \begin_inset Newline newline
9914 command, insert as many
9918 characters as the number of table columns before the current column.
9920 \begin_inset space ~
9924 \begin_inset CommandInset ref
9926 reference "tab:ForcedPagebreak"
9930 the cell that should be broken is in the second column followed by another
9932 Therefore the following command was inserted in the cell as \SpecialChar TeX
9935 \begin_inset Quotes eld
9943 \begin_inset Quotes erd
9949 \begin_layout Standard
9959 \begin_inset Newline newline
9965 \begin_layout Standard
9967 \begin_inset Quotes eld
9971 \begin_inset Quotes erd
9974 in the third column of the row was deleted.
9981 is only needed when a page break should definitely occur at this position,
9982 otherwise it would be a conditional break.
9983 If your footer row of the multi-page table has for a certain reason no
9984 upper line but you would have a horizontal line where the cell is broken,
9985 use this command instead:
9988 \begin_layout Standard
9996 \begin_inset Newline newline
10004 \begin_layout Standard
10005 When the cell to be broken is in the last column, the command
10008 \begin_layout Standard
10018 \begin_layout Standard
10019 must be inserted as \SpecialChar TeX
10020 Code at the beginning of the cell.
10021 This ensures that the part of the cell that will be displayed on the new
10022 page appears with the full width.
10025 \begin_layout Standard
10027 \begin_inset Tabular
10028 <lyxtabular version="3" rows="38" columns="3">
10029 <features islongtable="true" longtabularalignment="center">
10030 <column alignment="left" valignment="top" width="0cm">
10031 <column alignment="left" valignment="top" width="3cm">
10032 <column alignment="center" valignment="top" width="0pt">
10033 <row endfirsthead="true" caption="true">
10034 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10037 \begin_layout Plain Layout
10038 \begin_inset Caption Standard
10040 \begin_layout Plain Layout
10041 Table with forced page break in table cell
10042 \begin_inset CommandInset label
10044 name "tab:ForcedPagebreak"
10049 \begin_inset Argument 1
10052 \begin_layout Plain Layout
10053 Table with forced page break in table cell
10068 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10071 \begin_layout Plain Layout
10077 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10080 \begin_layout Plain Layout
10087 <row endfirsthead="true">
10088 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10091 \begin_layout Plain Layout
10094 Example Phone List (ignore the names)
10099 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10102 \begin_layout Plain Layout
10108 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10111 \begin_layout Plain Layout
10118 <row endfirsthead="true">
10119 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10122 \begin_layout Plain Layout
10130 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10133 \begin_layout Plain Layout
10139 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10142 \begin_layout Plain Layout
10151 <row endhead="true" caption="true">
10152 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10155 \begin_layout Plain Layout
10156 \begin_inset Caption Unnumbered
10158 \begin_layout Plain Layout
10159 Continued Example Phone List
10169 <cell multicolumn="2" alignment="left" valignment="top" rightline="true" usebox="none">
10172 \begin_layout Plain Layout
10178 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
10181 \begin_layout Plain Layout
10188 <row endhead="true">
10189 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10192 \begin_layout Plain Layout
10200 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10203 \begin_layout Plain Layout
10209 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10212 \begin_layout Plain Layout
10219 <row endhead="true">
10220 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10223 \begin_layout Plain Layout
10231 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10234 \begin_layout Plain Layout
10240 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10243 \begin_layout Plain Layout
10252 <row endfoot="true">
10253 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10256 \begin_layout Plain Layout
10257 continued on next page
10262 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10265 \begin_layout Plain Layout
10271 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10274 \begin_layout Plain Layout
10282 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10285 \begin_layout Plain Layout
10293 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10296 \begin_layout Plain Layout
10302 <cell alignment="right" valignment="top" rightline="true" usebox="none">
10305 \begin_layout Plain Layout
10313 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10316 \begin_layout Plain Layout
10324 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10327 \begin_layout Plain Layout
10333 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10336 \begin_layout Plain Layout
10344 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10347 \begin_layout Plain Layout
10355 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10358 \begin_layout Plain Layout
10364 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10367 \begin_layout Plain Layout
10375 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10378 \begin_layout Plain Layout
10386 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10389 \begin_layout Plain Layout
10395 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10398 \begin_layout Plain Layout
10406 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10409 \begin_layout Plain Layout
10417 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10420 \begin_layout Plain Layout
10426 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10429 \begin_layout Plain Layout
10437 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10440 \begin_layout Plain Layout
10448 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10451 \begin_layout Plain Layout
10457 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10460 \begin_layout Plain Layout
10468 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10471 \begin_layout Plain Layout
10479 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10482 \begin_layout Plain Layout
10488 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10491 \begin_layout Plain Layout
10499 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10502 \begin_layout Plain Layout
10510 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10513 \begin_layout Plain Layout
10519 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10522 \begin_layout Plain Layout
10530 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10533 \begin_layout Plain Layout
10541 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10544 \begin_layout Plain Layout
10550 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10553 \begin_layout Plain Layout
10561 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10564 \begin_layout Plain Layout
10572 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10575 \begin_layout Plain Layout
10581 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10584 \begin_layout Plain Layout
10592 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10595 \begin_layout Plain Layout
10603 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10606 \begin_layout Plain Layout
10612 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10615 \begin_layout Plain Layout
10623 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10626 \begin_layout Plain Layout
10634 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10637 \begin_layout Plain Layout
10643 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10646 \begin_layout Plain Layout
10654 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10657 \begin_layout Plain Layout
10665 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10668 \begin_layout Plain Layout
10674 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10677 \begin_layout Plain Layout
10685 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10688 \begin_layout Plain Layout
10696 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10699 \begin_layout Plain Layout
10705 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10708 \begin_layout Plain Layout
10716 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10719 \begin_layout Plain Layout
10727 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10730 \begin_layout Plain Layout
10736 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10739 \begin_layout Plain Layout
10747 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10750 \begin_layout Plain Layout
10758 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10761 \begin_layout Plain Layout
10767 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10770 \begin_layout Plain Layout
10778 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10781 \begin_layout Plain Layout
10789 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10792 \begin_layout Plain Layout
10798 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10801 \begin_layout Plain Layout
10809 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10812 \begin_layout Plain Layout
10820 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10823 \begin_layout Plain Layout
10829 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10832 \begin_layout Plain Layout
10840 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10843 \begin_layout Plain Layout
10851 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10854 \begin_layout Plain Layout
10860 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10863 \begin_layout Plain Layout
10871 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10874 \begin_layout Plain Layout
10882 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10885 \begin_layout Plain Layout
10891 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10894 \begin_layout Plain Layout
10902 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10905 \begin_layout Plain Layout
10913 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10916 \begin_layout Plain Layout
10922 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10925 \begin_layout Plain Layout
10933 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10936 \begin_layout Plain Layout
10944 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10947 \begin_layout Plain Layout
10953 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10956 \begin_layout Plain Layout
10964 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10967 \begin_layout Plain Layout
10975 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10978 \begin_layout Plain Layout
10980 Fürst von Montecompatri, 11.
10981 Fürst von Sulmona und Vivaro, 10.
10982 Fürst von Rossano, 5.
10983 Herzog von Canemorte, 11.
10984 Herzog von Palombara, 5.
10985 Herzog von Castelchiodato,
10989 \begin_layout Plain Layout
11000 \begin_layout Plain Layout
11008 Herzog von Poggionativo, 11.
11009 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
11010 Graf von Valinfreda, 11.
11011 Baron von Cropalati, 11.
11012 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
11017 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11020 \begin_layout Plain Layout
11028 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11031 \begin_layout Plain Layout
11039 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11042 \begin_layout Plain Layout
11048 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11051 \begin_layout Plain Layout
11059 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11062 \begin_layout Plain Layout
11070 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11073 \begin_layout Plain Layout
11079 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11082 \begin_layout Plain Layout
11090 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11093 \begin_layout Plain Layout
11101 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11104 \begin_layout Plain Layout
11110 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11113 \begin_layout Plain Layout
11121 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11124 \begin_layout Plain Layout
11132 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11135 \begin_layout Plain Layout
11141 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11144 \begin_layout Plain Layout
11152 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11155 \begin_layout Plain Layout
11163 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11166 \begin_layout Plain Layout
11172 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11175 \begin_layout Plain Layout
11183 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11186 \begin_layout Plain Layout
11194 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11197 \begin_layout Plain Layout
11203 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11206 \begin_layout Plain Layout
11214 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11217 \begin_layout Plain Layout
11225 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11228 \begin_layout Plain Layout
11234 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11237 \begin_layout Plain Layout
11245 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11248 \begin_layout Plain Layout
11256 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
11259 \begin_layout Plain Layout
11265 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11268 \begin_layout Plain Layout
11282 \begin_layout Section
11283 Multiple Lines, Columns and Rows
11286 \begin_layout Subsection
11287 Multiple Lines in Table Cells
11288 \begin_inset CommandInset label
11290 name "subsec:Multiple-Lines-in"
11295 \begin_inset Index idx
11298 \begin_layout Plain Layout
11299 Multiple Lines in Table Cells
11305 \begin_inset Index idx
11308 \begin_layout Plain Layout
11317 \begin_layout Standard
11319 \begin_inset Float table
11326 \begin_layout Plain Layout
11327 \begin_inset Caption Standard
11329 \begin_layout Plain Layout
11330 \begin_inset CommandInset label
11332 name "tab:Table-with-multiple"
11336 Table with multiple lines in cells
11344 \begin_layout Plain Layout
11346 \begin_inset Tabular
11347 <lyxtabular version="3" rows="3" columns="3">
11348 <features tabularvalignment="middle">
11349 <column alignment="center" valignment="middle" width="2.5cm">
11350 <column alignment="center" valignment="middle">
11351 <column alignment="center" valignment="middle">
11353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11356 \begin_layout Plain Layout
11358 \begin_inset Newline linebreak
11366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11369 \begin_layout Plain Layout
11375 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11378 \begin_layout Plain Layout
11386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11389 \begin_layout Plain Layout
11395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11398 \begin_layout Plain Layout
11404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11407 \begin_layout Plain Layout
11415 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11418 \begin_layout Plain Layout
11424 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11427 \begin_layout Plain Layout
11433 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11436 \begin_layout Plain Layout
11455 \begin_layout Standard
11456 Setting a fixed width for a column enables you to enter text as a paragraph
11457 with multiple lines and hyphenation.
11460 \begin_layout Standard
11462 \begin_inset space ~
11466 \begin_inset CommandInset ref
11468 reference "tab:Table-with-multiple"
11472 , create a 3×3 table, mark the first cell and right-click on it.
11473 In the appearing table dialog we set a cell width of 2.5
11474 \begin_inset space \thinspace{}
11477 cm and choose centered for the vertical and horizontal alignment.
11478 The vertical alignment is used for all cells of the row.
11479 As our text is smaller than 2.5
11480 \begin_inset space \thinspace{}
11483 cm, only one line will appear.
11484 To get two lines, a justified line break (shortcut
11487 arg "newline-insert linebreak"
11491 If the text is wider than the set cell width, it will automatically be
11492 broken to several lines.
11495 \begin_layout Standard
11496 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11497 by \SpecialChar LaTeX
11498 if it is the first entry.
11499 Therefore you need to insert something to prevent the word not being the
11501 So add a horizontal space of 0
11502 \begin_inset space \thinspace{}
11505 pt before the word.
11506 As the space is zero, it doesn't change the output.
11508 \begin_inset space ~
11512 \begin_inset CommandInset ref
11514 reference "tab:Table-with-and"
11521 \begin_layout Standard
11522 \begin_inset Float table
11529 \begin_layout Plain Layout
11530 \begin_inset Caption Standard
11532 \begin_layout Plain Layout
11533 \begin_inset CommandInset label
11535 name "tab:Table-with-and"
11539 Table with and without hyphenation
11547 \begin_layout Plain Layout
11548 \begin_inset space \hfill{}
11552 \begin_inset Tabular
11553 <lyxtabular version="3" rows="3" columns="3">
11554 <features tabularvalignment="middle">
11555 <column alignment="center" valignment="middle" width="2.5cm">
11556 <column alignment="center" valignment="middle">
11557 <column alignment="center" valignment="middle">
11559 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11562 \begin_layout Plain Layout
11563 verylongtablecellword
11568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11571 \begin_layout Plain Layout
11577 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11580 \begin_layout Plain Layout
11588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11591 \begin_layout Plain Layout
11597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11600 \begin_layout Plain Layout
11606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11609 \begin_layout Plain Layout
11617 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11620 \begin_layout Plain Layout
11626 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11629 \begin_layout Plain Layout
11635 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11638 \begin_layout Plain Layout
11650 \begin_inset space \hfill{}
11654 \begin_inset Tabular
11655 <lyxtabular version="3" rows="3" columns="3">
11656 <features tabularvalignment="middle">
11657 <column alignment="center" valignment="middle" width="2.5cm">
11658 <column alignment="center" valignment="middle">
11659 <column alignment="center" valignment="middle">
11661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11664 \begin_layout Plain Layout
11665 \begin_inset space \hspace{}
11669 verylongtablecellword
11674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11677 \begin_layout Plain Layout
11683 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11686 \begin_layout Plain Layout
11694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11697 \begin_layout Plain Layout
11703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11706 \begin_layout Plain Layout
11712 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11715 \begin_layout Plain Layout
11723 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11726 \begin_layout Plain Layout
11732 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11735 \begin_layout Plain Layout
11741 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11744 \begin_layout Plain Layout
11756 \begin_inset space \hfill{}
11767 \begin_layout Subsection
11769 \begin_inset CommandInset label
11771 name "subsec:Multicolumns"
11776 \begin_inset Index idx
11779 \begin_layout Plain Layout
11786 \begin_inset Index idx
11789 \begin_layout Plain Layout
11790 Table ! Multicolumns
11798 \begin_layout Subsubsection
11802 \begin_layout Standard
11803 To merge cells over multiple columns, select as many cells within a row
11804 as you want to merge and use either the table-toolbar button
11807 arg "tabular-feature multicolumn"
11812 Edit\SpecialChar menuseparator
11813 Table\SpecialChar menuseparator
11816 , or right click on the marked cells and choose
11820 in the context menu.
11823 \begin_layout Standard
11824 Multicolumns have their own cell settings.
11825 That means changing cell borders, cell alignment, and the width only affects
11827 Here is an example table with a multicolumn cell in the first row and one
11828 in the last row without the upper border:
11831 \begin_layout Standard
11833 \begin_inset Tabular
11834 <lyxtabular version="3" rows="3" columns="4">
11835 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11836 <column alignment="center" valignment="top" width="0pt">
11837 <column alignment="center" valignment="middle">
11838 <column alignment="center" valignment="top" width="0in">
11839 <column alignment="center" valignment="top" width="0pt">
11841 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11844 \begin_layout Plain Layout
11850 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11853 \begin_layout Plain Layout
11859 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11862 \begin_layout Plain Layout
11868 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11871 \begin_layout Plain Layout
11879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11882 \begin_layout Plain Layout
11897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11900 \begin_layout Plain Layout
11906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11909 \begin_layout Plain Layout
11915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11918 \begin_layout Plain Layout
11926 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11929 \begin_layout Plain Layout
11935 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11938 \begin_layout Plain Layout
11944 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11947 \begin_layout Plain Layout
11953 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11956 \begin_layout Plain Layout
11970 \begin_layout Subsubsection
11971 Multicolumn Calculations
11972 \begin_inset CommandInset label
11974 name "subsec:Multicolumn-Calculations"
11979 \begin_inset Index idx
11982 \begin_layout Plain Layout
11983 Multicolumns ! Calculations
11991 \begin_layout Standard
11993 supports multicolumns directly, but we have to take account of the cell
11994 width of the columns spanned by the multicolumn cell.
11997 \begin_layout Standard
11998 \begin_inset Float table
12005 \begin_layout Plain Layout
12006 \begin_inset Caption Standard
12008 \begin_layout Plain Layout
12009 \begin_inset CommandInset label
12011 name "tab:Table-with-centered"
12015 Table with centered multicolumn text above two columns that have exactly
12016 half the width of the multicolumn cell
12017 \begin_inset Argument 1
12020 \begin_layout Plain Layout
12021 Perfect multicolumn table
12034 \begin_layout Plain Layout
12036 \begin_inset Tabular
12037 <lyxtabular version="3" rows="3" columns="3">
12038 <features tabularvalignment="middle">
12039 <column alignment="center" valignment="middle" special=">{\centering}m{1.25cm-6.2pt}">
12040 <column alignment="center" valignment="middle">
12041 <column alignment="center" valignment="top">
12043 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
12046 \begin_layout Plain Layout
12047 multiple lines multicolumn
12052 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12055 \begin_layout Plain Layout
12061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12064 \begin_layout Plain Layout
12072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12075 \begin_layout Plain Layout
12081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12084 \begin_layout Plain Layout
12090 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12093 \begin_layout Plain Layout
12101 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12104 \begin_layout Plain Layout
12110 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12113 \begin_layout Plain Layout
12119 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12122 \begin_layout Plain Layout
12141 \begin_layout Standard
12142 To create for example Table
12143 \begin_inset space ~
12147 \begin_inset CommandInset ref
12149 reference "tab:Table-with-centered"
12153 , mark the first two cells in the first row of a 3×3 table and right-click
12155 Now choose for this cell
12164 \begin_inset space \thinspace{}
12167 cm in the table dialog.
12168 The merged columns should have exactly half the width of the multicolumn
12169 cell, so that you would set a width of 1.25
12170 \begin_inset space \thinspace{}
12173 cm for the first column.
12174 The second column has then automatically a width of 1.25
12175 \begin_inset space \thinspace{}
12178 cm (multicolumn width - width of first column).
12179 This was done for Table
12180 \begin_inset space ~
12184 \begin_inset CommandInset ref
12186 reference "tab:Table-without-half"
12193 \begin_layout Standard
12194 \begin_inset Float table
12201 \begin_layout Plain Layout
12202 \begin_inset Caption Standard
12204 \begin_layout Plain Layout
12205 \begin_inset CommandInset label
12207 name "tab:Table-without-half"
12211 Table where the spanned table columns are not exactly half the width of
12212 the multicolumn cell
12213 \begin_inset Argument 1
12216 \begin_layout Plain Layout
12217 Imperfect multicolumn table
12230 \begin_layout Plain Layout
12232 \begin_inset Tabular
12233 <lyxtabular version="3" rows="3" columns="3">
12234 <features tabularvalignment="middle">
12235 <column alignment="center" valignment="top" width="1.25cm">
12236 <column alignment="center" valignment="top">
12237 <column alignment="center" valignment="top">
12239 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12242 \begin_layout Plain Layout
12243 multiple lines multicolumn
12248 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12251 \begin_layout Plain Layout
12257 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12260 \begin_layout Plain Layout
12268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12271 \begin_layout Plain Layout
12277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12280 \begin_layout Plain Layout
12286 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12289 \begin_layout Plain Layout
12297 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12300 \begin_layout Plain Layout
12306 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12309 \begin_layout Plain Layout
12315 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12318 \begin_layout Plain Layout
12337 \begin_layout Standard
12338 You can see that the first column is not half the width of the multicolumn
12339 cell, it is a bit bigger.
12340 The reason is that the specified width of a cell
12341 \begin_inset Formula $W_{g}$
12344 is not its total width
12345 \begin_inset Formula $W_{\mathrm{tot}}$
12348 because a cell is always a bit larger than specified.
12350 \begin_inset space ~
12354 \begin_inset CommandInset ref
12356 reference "cha:Explanation-of-Equation"
12360 explains this in detail.
12363 \begin_layout Standard
12365 \begin_inset Formula $W_{g\,n}$
12368 which the user needs to set when
12372 columns are spanned can be calculated, so that each column has a total
12374 \begin_inset Formula $W_{\mathrm{tot\,multicolumn}}/n$
12378 \begin_inset Formula
12380 W_{g\,n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
12388 \begin_layout Standard
12389 In our case we have
12390 \begin_inset Formula $n=2$
12394 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
12397 cm and the default values for the lengths, so that equation
12398 \begin_inset CommandInset ref
12405 \begin_inset Formula
12407 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
12415 \begin_layout Standard
12416 To enable calculations in \SpecialChar LaTeX
12417 , the \SpecialChar LaTeX
12422 must be loaded with the document preamble line
12423 \begin_inset Index idx
12426 \begin_layout Plain Layout
12436 \begin_layout Standard
12444 \begin_layout Standard
12446 does not allow you to calculate lengths in the
12450 field of the table dialog.
12451 Therefore you have to format the column by inserting a \SpecialChar LaTeX
12454 Here is an overview about the arguments:
12457 \begin_layout Itemize
12462 creates cell with a fixed width, its text is vertically top-aligned
12465 \begin_layout Itemize
12470 creates cell with a fixed width, its text is vertically centered
12473 \begin_layout Itemize
12478 creates cell with a fixed width, its text is vertically bottom-aligned
12481 \begin_layout Standard
12482 By entering a \SpecialChar LaTeX
12483 -argument, all cell settings set in the table dialog are overwritt
12487 \begin_layout Standard
12488 \begin_inset Note Greyedout
12491 \begin_layout Plain Layout
12496 Due to a bug, \SpecialChar LyX
12497 shows the overwritten settings anyway.
12505 \begin_layout Standard
12506 As the text should be horizontally centered, the command
12513 You can now enter the following \SpecialChar LaTeX
12514 -argument for the first spanned column:
12517 \begin_layout Standard
12522 centering}m{1.25cm-6.2pt}
12525 \begin_layout Standard
12530 means, that the commands inside the braces are applied before the cell
12534 \begin_layout Standard
12535 Although we have chosen centered alignment for the text of the multicolumn
12536 cell, it is still left aligned.
12537 This is because \SpecialChar LyX
12538 only applies the alignment to single columns.
12539 So for the multicolumn cell we have to use the \SpecialChar LaTeX
12543 \begin_layout Standard
12551 \begin_layout Subsection
12553 \begin_inset CommandInset label
12555 name "subsec:Multirows"
12560 \begin_inset Index idx
12563 \begin_layout Plain Layout
12570 \begin_inset Index idx
12573 \begin_layout Plain Layout
12582 \begin_layout Standard
12583 To merge cells over multiple rows, select as many cells within a column
12584 as you want to merge and use either the table-toolbar button
12587 arg "tabular-feature multirow"
12592 Edit\SpecialChar menuseparator
12593 Table\SpecialChar menuseparator
12596 , or right click on the marked cells and choose
12600 in the context menu.
12603 \begin_layout Standard
12604 Here is an example table with a multirow in the first column:
12607 \begin_layout Standard
12609 \begin_inset Tabular
12610 <lyxtabular version="3" rows="3" columns="3">
12611 <features tabularvalignment="middle">
12612 <column alignment="center" valignment="top" width="0pt">
12613 <column alignment="center" valignment="top">
12614 <column alignment="center" valignment="top">
12616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12619 \begin_layout Plain Layout
12625 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12628 \begin_layout Plain Layout
12634 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12637 \begin_layout Plain Layout
12645 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12648 \begin_layout Plain Layout
12654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12657 \begin_layout Plain Layout
12663 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12666 \begin_layout Plain Layout
12674 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12677 \begin_layout Plain Layout
12683 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12686 \begin_layout Plain Layout
12692 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12695 \begin_layout Plain Layout
12709 \begin_layout Standard
12710 The width of multirow cells is set by setting the width and alignment for
12716 shifts the content of the multirow up/down if the offset is positive/negative.
12719 \begin_layout Standard
12720 If the column of a multirow cell has no explicit width, the multirow cell
12721 inherits the alignment of the column.
12722 Otherwise it is by default left-aligned.
12723 To override the default, renew the command
12732 \begin_layout Standard
12744 \begin_layout Standard
12745 in the document preamble.
12746 Then all entries of multirow cells in the document are centered.
12747 If centering is only needed for several tables, you can renew the command
12748 in a \SpecialChar TeX
12749 Code box just before the table instead of the preamble.
12750 If the text should be right-aligned, replace
12763 To return to left-alignment
12772 \begin_layout Standard
12773 This is an example table with a right-aligned multirow cell that has a vertical
12775 \begin_inset space \thinspace{}
12779 \begin_inset space \thinspace{}
12785 \begin_layout Standard
12791 \begin_layout Plain Layout
12805 \begin_inset Tabular
12806 <lyxtabular version="3" rows="4" columns="3">
12807 <features tabularvalignment="middle">
12808 <column alignment="center" valignment="top" width="3cm">
12809 <column alignment="center" valignment="top">
12810 <column alignment="center" valignment="top">
12812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12815 \begin_layout Plain Layout
12821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12824 \begin_layout Plain Layout
12830 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12833 \begin_layout Plain Layout
12841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12844 \begin_layout Plain Layout
12850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12853 \begin_layout Plain Layout
12859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12862 \begin_layout Plain Layout
12870 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12873 \begin_layout Plain Layout
12879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12882 \begin_layout Plain Layout
12888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12891 \begin_layout Plain Layout
12899 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12902 \begin_layout Plain Layout
12908 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12911 \begin_layout Plain Layout
12917 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12920 \begin_layout Plain Layout
12935 \begin_layout Plain Layout
12951 \begin_layout Standard
12952 To start a new line in a multirow you can use a forced line break (shortcut
12956 arg "newline-insert newline"
12959 ) but this will not respect the cell lines as demonstrated in this table:
12962 \begin_layout Standard
12965 \begin_inset Tabular
12966 <lyxtabular version="3" rows="3" columns="2">
12967 <features tabularvalignment="middle">
12968 <column alignment="left" valignment="middle" width="2cm">
12969 <column alignment="center" valignment="top">
12971 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12974 \begin_layout Plain Layout
12976 \begin_inset Newline newline
12980 \begin_inset Newline newline
12988 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12991 \begin_layout Plain Layout
12999 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
13002 \begin_layout Plain Layout
13008 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13011 \begin_layout Plain Layout
13019 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13022 \begin_layout Plain Layout
13028 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13031 \begin_layout Plain Layout
13045 \begin_layout Standard
13046 Therefore be careful with forced line breaks.
13049 \begin_layout Subsection
13050 Cells with diagonal line(s)
13053 \begin_layout Standard
13054 To tell the reader what is meant by column and row headings in a table,
13055 it is helpful to split the first cell of the table by one or two diagonal
13057 This can be achieved by loading the \SpecialChar LaTeX
13063 \begin_inset Index idx
13066 \begin_layout Plain Layout
13068 -packages ! picinpar
13073 in the document preamble.
13074 The package provides the command
13080 that is inserted as \SpecialChar TeX
13081 Code and that can take 2 or 3
13082 \begin_inset space ~
13088 \begin_layout Standard
13093 diagbox[options]{lower left}{upper right}
13096 \begin_layout Standard
13101 diagbox[options]{lower left}{upper left}{upper right}
13104 \begin_layout Standard
13105 The first scheme divides the cell by a single diagonal line and the arguments
13106 are placed below and above this line.
13107 The second scheme divides the cell by 2
13108 \begin_inset space ~
13114 \begin_layout Standard
13118 \begin_layout Plain Layout
13128 \begin_inset Note Note
13131 \begin_layout Plain Layout
13132 The following section will only be displayed when the \SpecialChar LaTeX
13145 \begin_layout Standard
13146 Here is an example table where
13152 is used in the 2-argument scheme in the first cell:
13153 \begin_inset VSpace medskip
13159 \begin_layout Standard
13161 \begin_inset Tabular
13162 <lyxtabular version="3" rows="4" columns="4">
13163 <features tabularvalignment="middle">
13164 <column alignment="center" valignment="top">
13165 <column alignment="center" valignment="top">
13166 <column alignment="center" valignment="top">
13167 <column alignment="center" valignment="top">
13169 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13172 \begin_layout Plain Layout
13176 \begin_layout Plain Layout
13189 \begin_layout Plain Layout
13200 \begin_layout Plain Layout
13212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13215 \begin_layout Plain Layout
13221 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13224 \begin_layout Plain Layout
13230 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13233 \begin_layout Plain Layout
13241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13244 \begin_layout Plain Layout
13250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13253 \begin_layout Plain Layout
13259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13262 \begin_layout Plain Layout
13268 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13271 \begin_layout Plain Layout
13279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13282 \begin_layout Plain Layout
13288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13291 \begin_layout Plain Layout
13297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13300 \begin_layout Plain Layout
13306 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13309 \begin_layout Plain Layout
13317 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13320 \begin_layout Plain Layout
13326 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13329 \begin_layout Plain Layout
13335 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13338 \begin_layout Plain Layout
13344 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13347 \begin_layout Plain Layout
13359 \begin_inset VSpace medskip
13365 \begin_layout Standard
13366 The 3-argument scheme is for example useful for cross-tables of sports leagues
13370 \begin_layout Standard
13373 \begin_inset Tabular
13374 <lyxtabular version="3" rows="4" columns="4">
13375 <features tabularvalignment="middle">
13376 <column alignment="center" valignment="top" width="0pt">
13377 <column alignment="center" valignment="top">
13378 <column alignment="center" valignment="top">
13379 <column alignment="center" valignment="top">
13381 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13384 \begin_layout Plain Layout
13388 \begin_layout Plain Layout
13401 \begin_layout Plain Layout
13412 \begin_layout Plain Layout
13423 \begin_layout Plain Layout
13435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13438 \begin_layout Plain Layout
13444 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13447 \begin_layout Plain Layout
13453 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13456 \begin_layout Plain Layout
13464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13467 \begin_layout Plain Layout
13473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13476 \begin_layout Plain Layout
13482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13485 \begin_layout Plain Layout
13491 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13494 \begin_layout Plain Layout
13502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13505 \begin_layout Plain Layout
13511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13514 \begin_layout Plain Layout
13520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13523 \begin_layout Plain Layout
13529 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13532 \begin_layout Plain Layout
13540 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13543 \begin_layout Plain Layout
13549 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13552 \begin_layout Plain Layout
13558 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13561 \begin_layout Plain Layout
13567 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13570 \begin_layout Plain Layout
13584 \begin_layout Standard
13585 For larger cross-tables one might use split cells in 2 or every corner of
13586 the table like in this example:
13589 \begin_layout Standard
13592 \begin_inset Tabular
13593 <lyxtabular version="3" rows="5" columns="5">
13594 <features tabularvalignment="middle">
13595 <column alignment="center" valignment="top" width="0pt">
13596 <column alignment="center" valignment="top">
13597 <column alignment="center" valignment="top">
13598 <column alignment="center" valignment="top">
13599 <column alignment="center" valignment="top">
13601 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13604 \begin_layout Plain Layout
13608 \begin_layout Plain Layout
13621 \begin_layout Plain Layout
13632 \begin_layout Plain Layout
13643 \begin_layout Plain Layout
13655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13658 \begin_layout Plain Layout
13664 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13667 \begin_layout Plain Layout
13673 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13676 \begin_layout Plain Layout
13682 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13685 \begin_layout Plain Layout
13689 \begin_layout Plain Layout
13702 \begin_layout Plain Layout
13713 \begin_layout Plain Layout
13724 \begin_layout Plain Layout
13738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13741 \begin_layout Plain Layout
13747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13750 \begin_layout Plain Layout
13756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13759 \begin_layout Plain Layout
13765 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13768 \begin_layout Plain Layout
13774 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13777 \begin_layout Plain Layout
13785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13788 \begin_layout Plain Layout
13794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13797 \begin_layout Plain Layout
13803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13806 \begin_layout Plain Layout
13812 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13815 \begin_layout Plain Layout
13821 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13824 \begin_layout Plain Layout
13832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13835 \begin_layout Plain Layout
13841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13844 \begin_layout Plain Layout
13850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13853 \begin_layout Plain Layout
13859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13862 \begin_layout Plain Layout
13868 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13871 \begin_layout Plain Layout
13879 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13882 \begin_layout Plain Layout
13886 \begin_layout Plain Layout
13899 \begin_layout Plain Layout
13910 \begin_layout Plain Layout
13921 \begin_layout Plain Layout
13933 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13936 \begin_layout Plain Layout
13942 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13945 \begin_layout Plain Layout
13951 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13954 \begin_layout Plain Layout
13960 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13963 \begin_layout Plain Layout
13967 \begin_layout Plain Layout
13980 \begin_layout Plain Layout
13991 \begin_layout Plain Layout
14002 \begin_layout Plain Layout
14022 \begin_layout Standard
14023 To rotate the diagonal lines, the command option
14048 and represent a point of a compass.
14053 is for example the south-west corner.
14054 Thus in the lower left cell of the above table the command
14057 \begin_layout Standard
14062 diagbox[dir=SW]{Team home}{Result}{Team away}
14065 \begin_layout Standard
14067 If no direction is given, it will be NW.
14070 \begin_layout Standard
14071 The necessary width of split cells is automatically calculated.
14072 Thus if you set a fixed column width smaller than the calculated one, the
14073 cell's content will protrude the cell borders:
14076 \begin_layout Standard
14079 \begin_inset Tabular
14080 <lyxtabular version="3" rows="2" columns="2">
14081 <features tabularvalignment="middle">
14082 <column alignment="center" valignment="top" width="3cm">
14083 <column alignment="center" valignment="top">
14085 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14088 \begin_layout Plain Layout
14092 \begin_layout Plain Layout
14105 \begin_layout Plain Layout
14116 \begin_layout Plain Layout
14128 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14131 \begin_layout Plain Layout
14139 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14142 \begin_layout Plain Layout
14148 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14151 \begin_layout Plain Layout
14165 \begin_layout Standard
14166 If you need a certain width for columns with a split cell, use the command
14171 (replace '3cm' by the width you need).
14172 In the following table the width of the first column is set to 4
14173 \begin_inset space \thinspace{}
14184 \begin_inset space \thinspace{}
14188 \begin_inset space \thinspace{}
14193 tabcolsep is necessary because the overall width is the width for the text
14194 (in this case the 4
14195 \begin_inset space \thinspace{}
14198 cm) plus two times the separation of the text and the cell border.
14199 The calculation of the width cannot be done in the command option of
14205 so one needs to create a new length which can be used later.
14206 This is done with the \SpecialChar TeX
14210 \begin_layout Standard
14218 \begin_inset Newline newline
14230 \begin_layout Standard
14234 \begin_layout Plain Layout
14243 \begin_layout Plain Layout
14259 \begin_layout Standard
14260 To enable calculations in \SpecialChar LaTeX
14261 one needs to load the package
14266 \begin_inset Index idx
14269 \begin_layout Plain Layout
14276 in the document preamble.
14279 \begin_layout Standard
14280 In this table you can now use the command
14283 \begin_layout Standard
14293 \begin_layout Standard
14297 \begin_layout Standard
14300 \begin_inset Tabular
14301 <lyxtabular version="3" rows="2" columns="2">
14302 <features tabularvalignment="middle">
14303 <column alignment="center" valignment="top" width="4cm">
14304 <column alignment="center" valignment="top">
14306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14309 \begin_layout Plain Layout
14313 \begin_layout Plain Layout
14328 \begin_layout Plain Layout
14339 \begin_layout Plain Layout
14351 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14354 \begin_layout Plain Layout
14362 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14365 \begin_layout Plain Layout
14371 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14374 \begin_layout Plain Layout
14388 \begin_layout Standard
14389 Note that the split cell needs to be the widest one in the column.
14390 Otherwise the length of the diagonal line cannot be calculated correctly
14391 like in this table:
14394 \begin_layout Standard
14397 \begin_inset Tabular
14398 <lyxtabular version="3" rows="2" columns="2">
14399 <features tabularvalignment="middle">
14400 <column alignment="center" valignment="top" width="0pt">
14401 <column alignment="center" valignment="top">
14403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14406 \begin_layout Plain Layout
14410 \begin_layout Plain Layout
14423 \begin_layout Plain Layout
14434 \begin_layout Plain Layout
14446 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14449 \begin_layout Plain Layout
14457 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14460 \begin_layout Plain Layout
14466 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14469 \begin_layout Plain Layout
14483 \begin_layout Standard
14484 In this case use the
14495 It is then not necessary to add 2
14497 tabcolsep because the cell width is now the width of the column.
14498 In this table a width of 3
14499 \begin_inset space \thinspace{}
14505 \begin_layout Standard
14508 \begin_inset Tabular
14509 <lyxtabular version="3" rows="2" columns="2">
14510 <features tabularvalignment="middle">
14511 <column alignment="center" valignment="top" width="0pt">
14512 <column alignment="center" valignment="top">
14514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14517 \begin_layout Plain Layout
14521 \begin_layout Plain Layout
14525 diagbox[width=3cm]{
14534 \begin_layout Plain Layout
14545 \begin_layout Plain Layout
14557 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14560 \begin_layout Plain Layout
14568 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14571 \begin_layout Plain Layout
14577 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14580 \begin_layout Plain Layout
14594 \begin_layout Standard
14595 For multiple text lines in split cells one needs some extra height to fit
14596 the text to the cell.
14597 This can be achieved with the
14607 (replace '3cm' by the height you need).
14608 In the following table the command
14611 \begin_layout Standard
14616 diagbox[width=3cm,height=1.4cm]{A
14627 \begin_layout Standard
14628 is used in the first cell.
14637 creates hereby the line break.
14641 \begin_layout Plain Layout
14642 Breaking lines with
14646 is only possible when the column has a fixed width.
14654 \begin_layout Standard
14657 \begin_inset Tabular
14658 <lyxtabular version="3" rows="2" columns="2">
14659 <features tabularvalignment="middle">
14660 <column alignment="center" valignment="top">
14661 <column alignment="center" valignment="top">
14663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14666 \begin_layout Plain Layout
14670 \begin_layout Plain Layout
14674 diagbox[width=3cm,height=1.4cm]{
14683 \begin_layout Plain Layout
14698 \begin_layout Plain Layout
14709 \begin_layout Plain Layout
14724 \begin_layout Plain Layout
14736 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14739 \begin_layout Plain Layout
14747 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14750 \begin_layout Plain Layout
14756 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14759 \begin_layout Plain Layout
14773 \begin_layout Standard
14777 \begin_layout Plain Layout
14787 \begin_inset Note Note
14790 \begin_layout Plain Layout
14791 The following will be displayed when the \SpecialChar LaTeX
14804 \begin_layout Standard
14805 You need to install the \SpecialChar LaTeX
14810 to see the following part of this section in the output.
14813 \begin_layout Standard
14817 \begin_layout Plain Layout
14829 \begin_layout Standard
14830 For more info about the \SpecialChar LaTeX
14835 , see its documentation,
14836 \begin_inset CommandInset citation
14846 \begin_layout Section
14848 \begin_inset CommandInset label
14850 name "sec:Formal-Tables"
14855 \begin_inset Index idx
14858 \begin_layout Plain Layout
14867 \begin_layout Standard
14868 Tables are often typeset in books similar to Table
14869 \begin_inset space ~
14873 \begin_inset CommandInset ref
14875 reference "tab:Example-booktabs-table"
14880 This kind of tables is called
14881 \begin_inset Quotes eld
14889 \begin_inset Quotes erd
14893 To make a table a formal table
14894 \change_inserted -712698321 1554290084
14895 , select the table style
14896 \begin_inset Quotes eld
14900 \begin_inset Quotes erd
14903 in the Table Creation dialog or
14913 tab of the table dialog
14914 \change_inserted -712698321 1554290131
14915 (if you additionally check the option
14917 Use Default Formal Style
14919 , the border lines are adapted to a sensible default)
14924 \begin_layout Standard
14925 \begin_inset Float table
14932 \begin_layout Plain Layout
14933 \begin_inset Caption Standard
14935 \begin_layout Plain Layout
14936 \begin_inset CommandInset label
14938 name "tab:Example-booktabs-table"
14943 \change_deleted -712698321 1554292310
14945 \change_inserted -712698321 1554292311
14956 \begin_layout Plain Layout
14958 \begin_inset Tabular
14959 <lyxtabular version="3" rows="8" columns="4">
14960 <features booktabs="true" tabularvalignment="middle">
14961 <column alignment="center" valignment="top">
14962 <column alignment="center" valignment="top" width="0pt">
14963 <column alignment="center" valignment="top" width="0pt">
14964 <column alignment="center" valignment="top">
14966 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14969 \begin_layout Plain Layout
14975 <cell alignment="center" valignment="top" topline="true" usebox="none">
14978 \begin_layout Plain Layout
14980 \begin_inset space \thinspace{}
14988 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
14991 \begin_layout Plain Layout
14993 \begin_inset space \thinspace{}
15001 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15004 \begin_layout Plain Layout
15012 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15015 \begin_layout Plain Layout
15017 \change_deleted -712698321 1554290161
15021 \begin_layout Plain Layout
15034 \begin_layout Plain Layout
15045 Detector thickness in µm
15050 <cell alignment="center" valignment="top" usebox="none">
15053 \begin_layout Plain Layout
15059 <cell alignment="center" valignment="top" usebox="none">
15062 \begin_layout Plain Layout
15068 <cell alignment="center" valignment="top" usebox="none">
15071 \begin_layout Plain Layout
15079 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15082 \begin_layout Plain Layout
15088 <cell alignment="center" valignment="top" topline="true" toplinertrim="true" usebox="none">
15091 \begin_layout Plain Layout
15097 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
15100 \begin_layout Plain Layout
15106 <cell alignment="center" valignment="top" topline="true" usebox="none">
15109 \begin_layout Plain Layout
15116 <row topspace="default">
15117 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15120 \begin_layout Plain Layout
15121 Spatial resolution in µm
15126 <cell alignment="center" valignment="top" usebox="none">
15129 \begin_layout Plain Layout
15135 <cell alignment="center" valignment="top" usebox="none">
15138 \begin_layout Plain Layout
15144 <cell alignment="center" valignment="top" usebox="none">
15147 \begin_layout Plain Layout
15154 <row topspace="default">
15155 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15158 \begin_layout Plain Layout
15160 \begin_inset Formula $f_{\mathrm{max}}$
15168 <cell alignment="center" valignment="top" usebox="none">
15171 \begin_layout Plain Layout
15177 <cell alignment="center" valignment="top" usebox="none">
15180 \begin_layout Plain Layout
15186 <cell alignment="center" valignment="top" usebox="none">
15189 \begin_layout Plain Layout
15196 <row topspace="default">
15197 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15200 \begin_layout Plain Layout
15202 \change_deleted -712698321 1554290260
15206 \begin_layout Plain Layout
15210 cmidrule[2pt](l{10pt}){1-1}
15217 LSF-spatial resolution
15222 <cell alignment="center" valignment="top" usebox="none">
15225 \begin_layout Plain Layout
15231 <cell alignment="center" valignment="top" usebox="none">
15234 \begin_layout Plain Layout
15240 <cell alignment="center" valignment="top" usebox="none">
15243 \begin_layout Plain Layout
15251 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15254 \begin_layout Plain Layout
15260 <cell alignment="center" valignment="top" usebox="none">
15263 \begin_layout Plain Layout
15269 <cell alignment="center" valignment="top" usebox="none">
15272 \begin_layout Plain Layout
15278 <cell alignment="center" valignment="top" usebox="none">
15281 \begin_layout Plain Layout
15289 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15292 \begin_layout Plain Layout
15298 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15301 \begin_layout Plain Layout
15307 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15310 \begin_layout Plain Layout
15316 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15319 \begin_layout Plain Layout
15338 \begin_layout Standard
15339 Spaces to table rows can be added using the
15343 tab of the table dialog as described in section
15344 \begin_inset space ~
15348 \begin_inset CommandInset ref
15350 reference "subsec:Row-Spacing"
15357 \begin_layout Standard
15358 Unlike normal tables, formal tables have no vertical table lines.
15359 The horizontal table lines can be set as for normal tables but they appear
15360 with different widths in the output:
15361 \begin_inset Newline newline
15364 The first and the last table line have a default width of 0.08
15365 \begin_inset space \thinspace{}
15368 em while the other lines have a default width of 0.05
15369 \begin_inset space \thinspace{}
15375 \begin_layout Standard
15376 The default widths can be changed with the following preamble lines
15379 \begin_layout Standard
15389 \begin_inset Newline newline
15401 \begin_layout Standard
15402 This example is for the first line, the so called
15407 If you want to change the width for the last line, replace
15416 To change the width for the other lines replace
15425 You can use all units listed in appendix
15426 \begin_inset space ~
15430 \begin_inset CommandInset ref
15432 reference "cha:Units-available-in"
15439 \begin_layout Standard
15441 \change_deleted -712698321 1554290929
15442 Lines that do not span all table columns can be created by setting a table
15443 line for multicolumn cells.
15445 will then internally use the command
15451 to create this line.
15453 \change_inserted -712698321 1554291959
15455 \begin_inset space ~
15459 \begin_inset CommandInset ref
15461 reference "tab:Example-booktabs-table"
15465 , formal tables often use shortened lines to group columns.
15466 This can be done in the borders widget of the table dialog.
15467 With formal tables, the top and bottom borders have to small offset lines
15468 to the left and the right.
15469 Clicking on these will trim the line respectively.
15474 \begin_layout Standard
15476 \change_inserted -712698321 1554291403
15477 If you need to adjust the length of the trimming or the height of the rules,
15478 you have to resort to \SpecialChar TeX
15480 The respective command (which is also used for the trimmed mid rules) is
15486 \begin_layout Standard
15491 cmidrule[height](trim){startcol-endcol}
15494 \begin_layout Standard
15496 \change_deleted -712698321 1554292020
15503 are currently not supported by \SpecialChar LyX
15504 so you have to use \SpecialChar TeX
15513 s can manually be created by inserting the command as \SpecialChar TeX
15515 cell entry of the first cell of a row.
15516 The line is then drawn in the output above the current row.
15521 \begin_layout Standard
15522 The default for the optional
15527 \begin_inset space \thinspace{}
15535 is the number of the column where the line starts and
15539 the column number where the line ends.
15544 always needs to be specified, also when the line should span only one column.
15545 The optional parameter
15562 Using for example the parameter
15566 means that the line is trimmed from its left end by 2
15567 \begin_inset space \thinspace{}
15571 If you don't specify the
15575 the line is trimmed by the default of 0.5
15576 \begin_inset space \thinspace{}
15580 \change_inserted -712698321 1554291561
15581 (this is what is done if you use trimming from the dialog)
15584 \change_inserted -712698321 1554292039
15588 \begin_layout Standard
15590 \change_inserted -712698321 1554292207
15601 is currently not supported by \SpecialChar LyX
15602 , and neither are the
15607 If you need this you can manually insert a
15613 with the respective settings as \SpecialChar TeX
15614 Code as the first cell entry of the first
15616 The line is then drawn in the output above the current row.
15618 \begin_inset space ~
15622 \begin_inset CommandInset ref
15624 reference "tab:Special-booktabs-table"
15628 exemplifies this (in the sixth row).
15633 \begin_layout Standard
15635 \change_deleted -712698321 1554291078
15636 \begin_inset VSpace bigskip
15640 \begin_inset space ~
15644 \begin_inset CommandInset ref
15646 reference "tab:Example-booktabs-table"
15650 was created using the commands
15653 \begin_layout Standard
15655 \change_deleted -712698321 1554291077
15665 \begin_layout Standard
15667 \change_deleted -712698321 1554291077
15668 at the beginning of the second row and
15671 \begin_layout Standard
15673 \change_deleted -712698321 1554291077
15678 cmidrule[2pt](l{10pt}){1-1}
15681 \begin_layout Standard
15683 \change_deleted -712698321 1554291077
15689 \begin_layout Standard
15691 \change_deleted -712698321 1554292212
15692 \begin_inset VSpace bigskip
15700 \begin_layout Standard
15702 \change_inserted -712698321 1554291573
15705 might want to have overlapping
15712 \change_deleted -712698321 1554296804
15714 \change_inserted -712698321 1554296808
15715 exemplified as well
15718 \begin_inset space ~
15722 \begin_inset CommandInset ref
15724 reference "tab:Special-booktabs-table"
15729 \change_inserted -712698321 1554291601
15730 , even though this is considered bad style (so only use it if you really
15734 This can be achieved with the \SpecialChar TeX
15738 \begin_layout Standard
15746 \begin_layout Standard
15747 The command that was used for the second row of Table
15748 \begin_inset space ~
15752 \begin_inset CommandInset ref
15754 reference "tab:Special-booktabs-table"
15761 \begin_layout Standard
15763 \change_deleted -712698321 1554291798
15779 \begin_layout Standard
15780 The command for the sixth row is
15783 \begin_layout Standard
15785 \change_deleted -712698321 1554291810
15799 \begin_layout Standard
15800 \begin_inset VSpace bigskip
15806 \begin_layout Standard
15807 If you are in any way not satisfied with the border line spacing, you can
15808 use the following command to produce lines that span over all table columns
15813 \begin_layout Standard
15818 specialrule{width}{space above}{space below}
15821 \begin_layout Standard
15822 For more information about these features, refer to the manual of the \SpecialChar LaTeX
15829 \begin_inset CommandInset citation
15837 \begin_inset Index idx
15840 \begin_layout Plain Layout
15842 -packages ! booktabs
15850 \begin_layout Standard
15851 \begin_inset Float table
15858 \begin_layout Plain Layout
15859 \begin_inset Caption Standard
15861 \begin_layout Plain Layout
15862 \begin_inset CommandInset label
15864 name "tab:Special-booktabs-table"
15869 \change_inserted -712698321 1554292295
15871 \change_deleted -712698321 1554292304
15873 \change_inserted -712698321 1554292305
15875 \change_deleted -712698321 1554292300
15886 \begin_layout Plain Layout
15888 \begin_inset Tabular
15889 <lyxtabular version="3" rows="8" columns="4">
15890 <features booktabs="true" tabularvalignment="middle">
15891 <column alignment="center" valignment="top">
15892 <column alignment="center" valignment="top" width="0pt">
15893 <column alignment="center" valignment="top" width="0pt">
15894 <column alignment="center" valignment="top" width="0pt">
15896 <cell alignment="center" valignment="top" topline="true" usebox="none">
15899 \begin_layout Plain Layout
15905 <cell alignment="center" valignment="top" topline="true" bottomline="true" bottomlinertrim="true" usebox="none">
15908 \begin_layout Plain Layout
15910 \begin_inset space \thinspace{}
15918 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
15921 \begin_layout Plain Layout
15923 \begin_inset space \thinspace{}
15931 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15934 \begin_layout Plain Layout
15942 <cell alignment="center" valignment="top" usebox="none">
15945 \begin_layout Plain Layout
15947 \change_deleted -712698321 1554291732
15951 \begin_layout Plain Layout
15964 \begin_layout Plain Layout
15979 \begin_layout Plain Layout
15992 \begin_layout Plain Layout
16001 Detector thickness in µm
16006 <cell alignment="center" valignment="top" usebox="none">
16009 \begin_layout Plain Layout
16015 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
16018 \begin_layout Plain Layout
16024 <cell alignment="center" valignment="top" topline="true" usebox="none">
16027 \begin_layout Plain Layout
16035 <cell alignment="center" valignment="top" topline="true" usebox="none">
16038 \begin_layout Plain Layout
16044 <cell alignment="center" valignment="top" topline="true" usebox="none">
16047 \begin_layout Plain Layout
16053 <cell alignment="center" valignment="top" topline="true" usebox="none">
16056 \begin_layout Plain Layout
16062 <cell alignment="center" valignment="top" topline="true" usebox="none">
16065 \begin_layout Plain Layout
16072 <row topspace="default">
16073 <cell alignment="center" valignment="top" usebox="none">
16076 \begin_layout Plain Layout
16077 Spatial resolution in µm
16082 <cell alignment="center" valignment="top" usebox="none">
16085 \begin_layout Plain Layout
16091 <cell alignment="center" valignment="top" usebox="none">
16094 \begin_layout Plain Layout
16100 <cell alignment="center" valignment="top" usebox="none">
16103 \begin_layout Plain Layout
16110 <row topspace="default">
16111 <cell alignment="center" valignment="top" usebox="none">
16114 \begin_layout Plain Layout
16116 \begin_inset Formula $f_{\mathrm{max}}$
16124 <cell alignment="center" valignment="top" usebox="none">
16127 \begin_layout Plain Layout
16133 <cell alignment="center" valignment="top" usebox="none">
16136 \begin_layout Plain Layout
16142 <cell alignment="center" valignment="top" usebox="none">
16145 \begin_layout Plain Layout
16153 <cell alignment="center" valignment="top" topline="true" usebox="none">
16156 \begin_layout Plain Layout
16160 \begin_layout Plain Layout
16173 \begin_layout Plain Layout
16178 \change_inserted -712698321 1554291896
16186 LSF-spatial resolution
16191 <cell alignment="center" valignment="top" topline="true" usebox="none">
16194 \begin_layout Plain Layout
16200 <cell alignment="center" valignment="top" topline="true" usebox="none">
16203 \begin_layout Plain Layout
16209 <cell alignment="center" valignment="top" topline="true" usebox="none">
16212 \begin_layout Plain Layout
16220 <cell alignment="center" valignment="top" usebox="none">
16223 \begin_layout Plain Layout
16229 <cell alignment="center" valignment="top" usebox="none">
16232 \begin_layout Plain Layout
16238 <cell alignment="center" valignment="top" usebox="none">
16241 \begin_layout Plain Layout
16247 <cell alignment="center" valignment="top" usebox="none">
16250 \begin_layout Plain Layout
16258 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16261 \begin_layout Plain Layout
16267 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16270 \begin_layout Plain Layout
16276 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16279 \begin_layout Plain Layout
16285 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16288 \begin_layout Plain Layout
16307 \begin_layout Section
16308 Vertical Table Alignment
16309 \begin_inset Index idx
16312 \begin_layout Plain Layout
16321 \begin_layout Standard
16322 To align tables vertically in a text line, the table must be inside a box.
16323 The box can then be vertically aligned as described in section
16324 \begin_inset space ~
16328 \begin_inset CommandInset ref
16330 reference "sec:Box-Dialog"
16337 \begin_layout Standard
16338 In the following example the tables are inside a minipage
16342 \begin_layout Plain Layout
16343 Minipages are described in section
16344 \begin_inset space ~
16348 \begin_inset CommandInset ref
16350 reference "sec:Minipages"
16359 box that has a width of 15
16360 \begin_inset space \thinspace{}
16366 \begin_layout Itemize
16368 \begin_inset Box Frameless
16378 height_special "totalheight"
16383 backgroundcolor "none"
16386 \begin_layout Plain Layout
16387 \begin_inset Tabular
16388 <lyxtabular version="3" rows="3" columns="3">
16389 <features tabularvalignment="middle">
16390 <column alignment="center" valignment="top">
16391 <column alignment="center" valignment="top">
16392 <column alignment="center" valignment="top">
16394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16397 \begin_layout Plain Layout
16403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16406 \begin_layout Plain Layout
16412 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16415 \begin_layout Plain Layout
16423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16426 \begin_layout Plain Layout
16432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16435 \begin_layout Plain Layout
16441 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16444 \begin_layout Plain Layout
16452 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16455 \begin_layout Plain Layout
16461 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16464 \begin_layout Plain Layout
16470 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16473 \begin_layout Plain Layout
16493 \begin_layout Plain Layout
16505 \begin_inset Box Frameless
16515 height_special "totalheight"
16520 backgroundcolor "none"
16523 \begin_layout Plain Layout
16524 \begin_inset Tabular
16525 <lyxtabular version="3" rows="3" columns="3">
16526 <features tabularvalignment="middle">
16527 <column alignment="center" valignment="top">
16528 <column alignment="center" valignment="top">
16529 <column alignment="center" valignment="top">
16531 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16534 \begin_layout Plain Layout
16540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16543 \begin_layout Plain Layout
16549 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16552 \begin_layout Plain Layout
16560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16563 \begin_layout Plain Layout
16569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16572 \begin_layout Plain Layout
16578 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16581 \begin_layout Plain Layout
16589 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16592 \begin_layout Plain Layout
16598 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16601 \begin_layout Plain Layout
16607 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16610 \begin_layout Plain Layout
16630 \begin_layout Plain Layout
16640 \begin_layout Itemize
16642 \begin_inset Box Frameless
16652 height_special "totalheight"
16657 backgroundcolor "none"
16660 \begin_layout Plain Layout
16661 \begin_inset Tabular
16662 <lyxtabular version="3" rows="3" columns="3">
16663 <features tabularvalignment="middle">
16664 <column alignment="center" valignment="top">
16665 <column alignment="center" valignment="top">
16666 <column alignment="center" valignment="top">
16668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16671 \begin_layout Plain Layout
16677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16680 \begin_layout Plain Layout
16686 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16689 \begin_layout Plain Layout
16697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16700 \begin_layout Plain Layout
16706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16709 \begin_layout Plain Layout
16715 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16718 \begin_layout Plain Layout
16726 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16729 \begin_layout Plain Layout
16735 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16738 \begin_layout Plain Layout
16744 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16747 \begin_layout Plain Layout
16766 \begin_layout Itemize
16768 \begin_inset Box Frameless
16778 height_special "totalheight"
16783 backgroundcolor "none"
16786 \begin_layout Plain Layout
16787 \begin_inset Tabular
16788 <lyxtabular version="3" rows="3" columns="3">
16789 <features tabularvalignment="middle">
16790 <column alignment="center" valignment="top">
16791 <column alignment="center" valignment="top">
16792 <column alignment="center" valignment="top">
16794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16797 \begin_layout Plain Layout
16803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16806 \begin_layout Plain Layout
16812 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16815 \begin_layout Plain Layout
16823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16826 \begin_layout Plain Layout
16832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16835 \begin_layout Plain Layout
16841 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16844 \begin_layout Plain Layout
16852 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16855 \begin_layout Plain Layout
16861 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16864 \begin_layout Plain Layout
16870 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16873 \begin_layout Plain Layout
16893 \begin_layout Plain Layout
16905 \begin_inset Box Frameless
16915 height_special "totalheight"
16920 backgroundcolor "none"
16923 \begin_layout Plain Layout
16924 \begin_inset Tabular
16925 <lyxtabular version="3" rows="3" columns="3">
16926 <features tabularvalignment="middle">
16927 <column alignment="center" valignment="top">
16928 <column alignment="center" valignment="top">
16929 <column alignment="center" valignment="top">
16931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16934 \begin_layout Plain Layout
16940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16943 \begin_layout Plain Layout
16949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16952 \begin_layout Plain Layout
16960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16963 \begin_layout Plain Layout
16969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16972 \begin_layout Plain Layout
16978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16981 \begin_layout Plain Layout
16989 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16992 \begin_layout Plain Layout
16998 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17001 \begin_layout Plain Layout
17007 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17010 \begin_layout Plain Layout
17030 \begin_layout Plain Layout
17040 \begin_layout Standard
17041 As you will see, the content of the first and last table row is not correctly
17043 To get this alignment, the minipage box must be set into a raisebox.
17047 \begin_layout Plain Layout
17048 Raiseboxes are described in section
17049 \begin_inset space ~
17053 \begin_inset CommandInset ref
17055 reference "subsec:Vertical-Alignment"
17064 In the example above the second table in the first item is aligned using
17065 the \SpecialChar TeX
17069 \begin_layout Standard
17079 \begin_layout Standard
17081 After the box the closing brace
17085 is inserted as \SpecialChar TeX
17087 For the second table in the last item the command
17090 \begin_layout Standard
17100 \begin_layout Standard
17104 \begin_layout Standard
17105 \begin_inset Note Greyedout
17108 \begin_layout Plain Layout
17113 The alignment of the table row content to the surrounding text line is
17115 The required value for the
17121 command for this alignment depends on the document font, the font size,
17122 and the table line thickness.
17130 \begin_layout Section
17132 \begin_inset CommandInset label
17134 name "sec:Colored-Tables"
17139 \begin_inset Index idx
17142 \begin_layout Plain Layout
17151 \begin_layout Subsection
17153 \begin_inset Index idx
17156 \begin_layout Plain Layout
17157 Table Color ! for Cells
17163 \begin_inset Index idx
17166 \begin_layout Plain Layout
17167 Color ! for Table Cells
17175 \begin_layout Standard
17176 \begin_inset Float table
17183 \begin_layout Plain Layout
17184 \begin_inset Caption Standard
17186 \begin_layout Plain Layout
17187 \begin_inset CommandInset label
17189 name "tab:Table-colored-without"
17193 Table colored without using the package
17198 \begin_inset Argument 1
17201 \begin_layout Plain Layout
17202 Table without colortbl
17215 \begin_layout Plain Layout
17217 \begin_inset Tabular
17218 <lyxtabular version="3" rows="3" columns="3">
17219 <features tabularvalignment="middle">
17220 <column alignment="center" valignment="top">
17221 <column alignment="center" valignment="top">
17222 <column alignment="center" valignment="top">
17224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17227 \begin_layout Plain Layout
17235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17238 \begin_layout Plain Layout
17246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17249 \begin_layout Plain Layout
17259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17262 \begin_layout Plain Layout
17270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17273 \begin_layout Plain Layout
17281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17284 \begin_layout Plain Layout
17294 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17297 \begin_layout Plain Layout
17305 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17308 \begin_layout Plain Layout
17316 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17319 \begin_layout Plain Layout
17340 \begin_layout Standard
17341 If you only need colored text, mark the cells and choose a color in the
17345 \begin_inset space ~
17350 dialog (toolbar button
17353 arg "dialog-show character"
17357 This was used to create Table
17358 \begin_inset space ~
17362 \begin_inset CommandInset ref
17364 reference "tab:Table-colored-without"
17369 In any other case you have to use the \SpecialChar LaTeX
17375 \begin_inset Index idx
17378 \begin_layout Plain Layout
17380 -packages ! colortbl
17388 \begin_layout Standard
17392 \begin_layout Plain Layout
17402 \begin_inset Note Note
17405 \begin_layout Plain Layout
17406 The following section part will only be displayed when the \SpecialChar LaTeX
17419 \begin_layout Standard
17420 To create colored tables,
17424 must be loaded in the preamble with the line
17427 \begin_layout Standard
17432 usepackage{colortbl}
17435 \begin_layout Standard
17436 The color of a column is adjusted with the command
17439 \begin_layout Standard
17444 columncolor{name of color}
17447 \begin_layout Standard
17453 More about the command
17457 is contained in section
17458 \begin_inset space ~
17462 \begin_inset CommandInset ref
17464 reference "subsec:Multicolumn-Calculations"
17471 \begin_layout Standard
17472 The following color names are predefined:
17475 \begin_layout Standard
17509 \begin_layout Standard
17510 \begin_inset VSpace medskip
17516 \begin_layout Standard
17517 If you add the option
17520 \begin_layout Standard
17526 \begin_layout Standard
17527 to the document class options in the document settings, you can additionally
17529 \begin_inset space ~
17533 These colors are listed in appendix
17534 \begin_inset space ~
17538 \begin_inset CommandInset ref
17540 reference "chap:List-of-dvips-colornames"
17545 One of these colors,
17549 , is used as example in Table
17550 \begin_inset space ~
17554 \begin_inset CommandInset ref
17556 reference "tab:Table-colored-using"
17563 \begin_layout Standard
17564 \begin_inset VSpace medskip
17570 \begin_layout Standard
17571 You can also define your own color with the command
17574 \begin_layout Standard
17579 definecolor{color name}{color model}{color values}
17582 \begin_layout Standard
17583 The color model can be
17586 \begin_layout Labeling
17587 \labelwidthstring 00.00.0000
17588 cmyk: cyan, magenta, yellow, black
17591 \begin_layout Labeling
17592 \labelwidthstring 00.00.0000
17593 rgb: red, green blue
17596 \begin_layout Labeling
17597 \labelwidthstring 00.00.0000
17601 \begin_layout Standard
17602 and the color values are comma separated numbers between 0 and 1 describing
17603 the factor for the corresponding color of the color model.
17606 \begin_layout Standard
17608 \begin_inset space \thinspace{}
17612 \begin_inset space \space{}
17619 " in the preamble with
17622 \begin_layout Standard
17627 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
17630 \begin_layout Standard
17638 \begin_layout Standard
17643 definecolor{lightgray}{gray}{0.8}
17646 \begin_layout Standard
17647 \begin_inset VSpace medskip
17653 \begin_layout Standard
17654 Lines are colored with the command
17657 \begin_layout Standard
17662 rowcolor{name of color}
17665 \begin_layout Standard
17666 and cells are colored with the command
17669 \begin_layout Standard
17674 cellcolor{name of color}
17677 \begin_layout Standard
17678 Both commands are inserted at the beginning of a cell as \SpecialChar TeX
17682 \begin_layout Standard
17683 To color characters in the table, mark the cells and use the
17686 \begin_inset space ~
17692 If a cell contains \SpecialChar TeX
17693 Code mark only the characters, otherwise the colored
17695 Code will cause \SpecialChar LaTeX
17699 \begin_layout Standard
17700 \begin_inset Note Greyedout
17703 \begin_layout Plain Layout
17708 Not all DVI-viewers are able to display self-defined colors.
17716 \begin_layout Standard
17717 \begin_inset VSpace bigskip
17723 \begin_layout Standard
17725 \begin_inset space ~
17729 \begin_inset CommandInset ref
17731 reference "tab:Table-colored-using"
17735 do the following: The color of the first column should be
17743 \begin_layout Standard
17748 columncolor{darkgreen}
17753 \begin_layout Standard
17754 as \SpecialChar LaTeX
17755 -argument for this column.
17756 The first row should be light blue, therefore the \SpecialChar TeX
17760 \begin_layout Standard
17768 \begin_layout Standard
17769 is inserted to the first cell of this row.
17770 Note that this overwrites the column color for the first cell.
17771 The last cell of the last row is colored maroon by inserting the \SpecialChar TeX
17776 \begin_layout Standard
17784 \begin_layout Standard
17785 The characters could now be colored using the menu
17787 Edit\SpecialChar menuseparator
17789 \begin_inset space ~
17797 \begin_layout Standard
17798 \begin_inset Float table
17805 \begin_layout Plain Layout
17806 \begin_inset Caption Standard
17808 \begin_layout Plain Layout
17809 \begin_inset CommandInset label
17811 name "tab:Table-colored-using"
17815 Table colored using the package
17820 \begin_inset Argument 1
17823 \begin_layout Plain Layout
17824 Table with colortbl
17837 \begin_layout Plain Layout
17839 \begin_inset Tabular
17840 <lyxtabular version="3" rows="3" columns="3">
17841 <features tabularvalignment="middle">
17842 <column alignment="center" valignment="top" special=">{\columncolor{darkgreen}\centering}c">
17843 <column alignment="center" valignment="top">
17844 <column alignment="center" valignment="top">
17846 <cell alignment="center" valignment="top" usebox="none">
17849 \begin_layout Plain Layout
17853 \begin_layout Plain Layout
17869 <cell alignment="center" valignment="top" usebox="none">
17872 \begin_layout Plain Layout
17880 <cell alignment="center" valignment="top" usebox="none">
17883 \begin_layout Plain Layout
17893 <cell alignment="center" valignment="top" usebox="none">
17896 \begin_layout Plain Layout
17904 <cell alignment="center" valignment="top" usebox="none">
17907 \begin_layout Plain Layout
17915 <cell alignment="center" valignment="top" usebox="none">
17918 \begin_layout Plain Layout
17928 <cell alignment="center" valignment="top" usebox="none">
17931 \begin_layout Plain Layout
17939 <cell alignment="center" valignment="top" usebox="none">
17942 \begin_layout Plain Layout
17950 <cell alignment="center" valignment="top" usebox="none">
17953 \begin_layout Plain Layout
17957 \begin_layout Plain Layout
17986 \begin_layout Standard
17990 \begin_layout Plain Layout
18000 \begin_inset Note Note
18003 \begin_layout Plain Layout
18004 The following will be displayed when the \SpecialChar LaTeX
18017 \begin_layout Standard
18018 You need to install the package
18022 to see the content of this section in the output.
18025 \begin_layout Standard
18029 \begin_layout Plain Layout
18041 \begin_layout Subsection
18043 \begin_inset Index idx
18046 \begin_layout Plain Layout
18047 Table Color ! for Rows
18053 \begin_inset Index idx
18056 \begin_layout Plain Layout
18057 Color ! for Table Rows
18065 \begin_layout Standard
18066 In case every second table row needs to be colored there is an alternative
18067 to the method described in the previous section: One loads the package
18073 \begin_inset Index idx
18076 \begin_layout Plain Layout
18082 \begin_layout Plain Layout
18096 in the document preamble with the command
18099 \begin_layout Standard
18104 usepackage[table]{xcolor}
18107 \begin_layout Standard
18112 automatically loads also the package
18117 \begin_inset Index idx
18120 \begin_layout Plain Layout
18122 -packages ! colortbl
18131 must be installed in your \SpecialChar LaTeX
18132 -distribution, otherwise you get \SpecialChar LaTeX
18136 \begin_layout Standard
18140 \begin_layout Plain Layout
18150 \begin_inset Note Note
18153 \begin_layout Plain Layout
18154 The following section part will only be displayed when the \SpecialChar LaTeX
18167 \begin_layout Standard
18168 The table rows are colored with the command
18171 \begin_layout Standard
18176 rowcolors[commands]{row number}{odd row color}{even row color}
18179 \begin_layout Standard
18180 that is either inserted in the document preamble or as \SpecialChar TeX
18182 first table to be colored.
18184 \begin_inset space ~
18187 number is the number of the first row which should be colored according
18188 to the odd row color.
18189 commands can be additional commands that are executed before every table
18191 So for example the command
18194 \begin_layout Standard
18199 rowcolors{1}{white}{lightgray}
18202 \begin_layout Standard
18203 leads to the coloring scheme of Table
18204 \begin_inset space ~
18208 \begin_inset CommandInset ref
18210 reference "tab:Table-rowcolors"
18218 \begin_layout Standard
18225 hline]{1}{lightgray}{cyan}
18228 \begin_layout Standard
18229 leads to the coloring scheme of Table
18230 \begin_inset space ~
18234 \begin_inset CommandInset ref
18236 reference "tab:Table-rowcolors-2"
18242 \begin_inset space ~
18246 \begin_inset space ~
18250 \begin_inset space ~
18254 \begin_inset space ~
18257 color are left empty, no color will be used so that the command
18260 \begin_layout Standard
18268 \begin_layout Standard
18269 deletes all colors.
18276 affects all tables following that command.
18279 \begin_layout Standard
18283 \begin_layout Plain Layout
18287 rowcolors{1}{white}{lightgray}
18295 \begin_layout Standard
18296 \begin_inset Float table
18303 \begin_layout Plain Layout
18304 \begin_inset Caption Standard
18306 \begin_layout Plain Layout
18307 \begin_inset CommandInset label
18309 name "tab:Table-rowcolors"
18313 Table where every second row is colored light gray.
18321 \begin_layout Plain Layout
18323 \begin_inset Tabular
18324 <lyxtabular version="3" rows="4" columns="3">
18325 <features tabularvalignment="middle">
18326 <column alignment="center" valignment="top">
18327 <column alignment="center" valignment="top" width="0pt">
18328 <column alignment="center" valignment="top" width="0pt">
18330 <cell alignment="center" valignment="top" usebox="none">
18333 \begin_layout Plain Layout
18339 <cell alignment="center" valignment="top" usebox="none">
18342 \begin_layout Plain Layout
18348 <cell alignment="center" valignment="top" usebox="none">
18351 \begin_layout Plain Layout
18359 <cell alignment="center" valignment="top" usebox="none">
18362 \begin_layout Plain Layout
18368 <cell alignment="center" valignment="top" usebox="none">
18371 \begin_layout Plain Layout
18377 <cell alignment="center" valignment="top" usebox="none">
18380 \begin_layout Plain Layout
18388 <cell alignment="center" valignment="top" usebox="none">
18391 \begin_layout Plain Layout
18397 <cell alignment="center" valignment="top" usebox="none">
18400 \begin_layout Plain Layout
18406 <cell alignment="center" valignment="top" usebox="none">
18409 \begin_layout Plain Layout
18417 <cell alignment="center" valignment="top" usebox="none">
18420 \begin_layout Plain Layout
18426 <cell alignment="center" valignment="top" usebox="none">
18429 \begin_layout Plain Layout
18435 <cell alignment="center" valignment="top" usebox="none">
18438 \begin_layout Plain Layout
18457 \begin_layout Standard
18461 \begin_layout Plain Layout
18467 hline]{1}{lightgray}{cyan}
18475 \begin_layout Standard
18476 \begin_inset Float table
18483 \begin_layout Plain Layout
18484 \begin_inset Caption Standard
18486 \begin_layout Plain Layout
18487 \begin_inset CommandInset label
18489 name "tab:Table-rowcolors-2"
18493 Table where every second row is colored cyan and at which there is a line
18502 \begin_layout Plain Layout
18504 \begin_inset Tabular
18505 <lyxtabular version="3" rows="4" columns="3">
18506 <features tabularvalignment="middle">
18507 <column alignment="center" valignment="top">
18508 <column alignment="center" valignment="top">
18509 <column alignment="center" valignment="top" width="0pt">
18511 <cell alignment="center" valignment="top" usebox="none">
18514 \begin_layout Plain Layout
18520 <cell alignment="center" valignment="top" usebox="none">
18523 \begin_layout Plain Layout
18529 <cell alignment="center" valignment="top" usebox="none">
18532 \begin_layout Plain Layout
18540 <cell alignment="center" valignment="top" usebox="none">
18543 \begin_layout Plain Layout
18549 <cell alignment="center" valignment="top" usebox="none">
18552 \begin_layout Plain Layout
18558 <cell alignment="center" valignment="top" usebox="none">
18561 \begin_layout Plain Layout
18569 <cell alignment="center" valignment="top" usebox="none">
18572 \begin_layout Plain Layout
18578 <cell alignment="center" valignment="top" usebox="none">
18581 \begin_layout Plain Layout
18587 <cell alignment="center" valignment="top" usebox="none">
18590 \begin_layout Plain Layout
18598 <cell alignment="center" valignment="top" usebox="none">
18601 \begin_layout Plain Layout
18607 <cell alignment="center" valignment="top" usebox="none">
18610 \begin_layout Plain Layout
18616 <cell alignment="center" valignment="top" usebox="none">
18619 \begin_layout Plain Layout
18638 \begin_layout Standard
18642 \begin_layout Plain Layout
18652 \begin_inset Note Note
18655 \begin_layout Plain Layout
18656 turns off the row coloring
18664 \begin_layout Standard
18668 \begin_layout Plain Layout
18678 \begin_inset Note Note
18681 \begin_layout Plain Layout
18682 The following will be displayed when the \SpecialChar LaTeX
18695 \begin_layout Standard
18696 You need to install the package
18700 to see the content of this section in the output.
18703 \begin_layout Standard
18707 \begin_layout Plain Layout
18719 \begin_layout Subsection
18721 \begin_inset Index idx
18724 \begin_layout Plain Layout
18725 Table Color ! for Lines
18731 \begin_inset Index idx
18734 \begin_layout Plain Layout
18735 Color ! for Table Lines
18743 \begin_layout Standard
18744 As described in section
18745 \begin_inset space ~
18749 \begin_inset CommandInset ref
18751 reference "subsec:Line-Thickness"
18755 , the line thickness for all lines in a table can be adjusted with the length
18764 \begin_inset space \thinspace{}
18767 pt for all tables of this section.
18771 \begin_layout Plain Layout
18777 arrayrulewidth}{1.5pt}
18785 \begin_layout Standard
18786 To color vertical lines for example with green, create the following column
18787 format in the document preamble, according to the description in section
18788 \begin_inset space ~
18792 \begin_inset CommandInset ref
18794 reference "subsec:Customized-Format"
18801 \begin_layout Standard
18806 newcolumntype{W}{!{
18813 \begin_layout Standard
18815 \begin_inset space ~
18819 \begin_inset CommandInset ref
18821 reference "tab:Table-with-vertical-colored"
18825 the \SpecialChar LaTeX
18830 was used for the last column and
18834 for the other columns.
18837 \begin_layout Standard
18838 If you want to have several colors, define more column formats.
18841 \begin_layout Standard
18842 \begin_inset Float table
18849 \begin_layout Plain Layout
18850 \begin_inset Caption Standard
18852 \begin_layout Plain Layout
18853 \begin_inset CommandInset label
18855 name "tab:Table-with-vertical-colored"
18859 Table with colored vertical lines
18867 \begin_layout Plain Layout
18869 \begin_inset Tabular
18870 <lyxtabular version="3" rows="3" columns="3">
18871 <features tabularvalignment="middle">
18872 <column alignment="center" valignment="top" special="Wc">
18873 <column alignment="center" valignment="top" special="Wc">
18874 <column alignment="center" valignment="top" special="WcW">
18876 <cell alignment="center" valignment="top" topline="true" usebox="none">
18879 \begin_layout Plain Layout
18885 <cell alignment="center" valignment="top" topline="true" usebox="none">
18888 \begin_layout Plain Layout
18894 <cell alignment="center" valignment="top" topline="true" usebox="none">
18897 \begin_layout Plain Layout
18905 <cell alignment="center" valignment="top" topline="true" usebox="none">
18908 \begin_layout Plain Layout
18914 <cell alignment="center" valignment="top" topline="true" usebox="none">
18917 \begin_layout Plain Layout
18923 <cell alignment="center" valignment="top" topline="true" usebox="none">
18926 \begin_layout Plain Layout
18934 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18937 \begin_layout Plain Layout
18943 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18946 \begin_layout Plain Layout
18952 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18955 \begin_layout Plain Layout
18974 \begin_layout Standard
18975 \begin_inset VSpace bigskip
18978 To color all horizontal lines for example with red, as in Table
18979 \begin_inset space ~
18983 \begin_inset CommandInset ref
18985 reference "tab:Table-with-horizontal-colored"
18989 , insert these commands in \SpecialChar TeX
18990 code before the table or table float:
18993 \begin_layout Standard
19003 \begin_inset Newline newline
19011 \begin_inset Newline newline
19015 \begin_inset Phantom HPhantom
19018 \begin_layout Plain Layout
19021 \begin_inset space ~
19031 arrayrulecolor{red}
19035 arrayrulecolor{black}}
19038 \begin_layout Standard
19042 \begin_layout Plain Layout
19053 \begin_layout Plain Layout
19062 \begin_layout Plain Layout
19066 arrayrulecolor{red}
19070 arrayrulecolor{black}}
19076 \begin_inset Float table
19083 \begin_layout Plain Layout
19084 \begin_inset Caption Standard
19086 \begin_layout Plain Layout
19087 \begin_inset CommandInset label
19089 name "tab:Table-with-horizontal-colored"
19093 Table with colored horizontal lines
19101 \begin_layout Plain Layout
19103 \begin_inset Tabular
19104 <lyxtabular version="3" rows="3" columns="3">
19105 <features tabularvalignment="middle">
19106 <column alignment="center" valignment="top">
19107 <column alignment="center" valignment="top">
19108 <column alignment="center" valignment="top">
19110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19113 \begin_layout Plain Layout
19119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19122 \begin_layout Plain Layout
19128 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19131 \begin_layout Plain Layout
19139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19142 \begin_layout Plain Layout
19148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19151 \begin_layout Plain Layout
19157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19160 \begin_layout Plain Layout
19168 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19171 \begin_layout Plain Layout
19177 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19180 \begin_layout Plain Layout
19186 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19189 \begin_layout Plain Layout
19208 \begin_layout Standard
19209 To return to the default line color black, insert this command in \SpecialChar TeX
19211 after the table or table float:
19214 \begin_layout Standard
19226 \begin_layout Standard
19228 \begin_inset space ~
19232 \begin_inset CommandInset ref
19234 reference "tab:Table-with-colored"
19238 is an example with colored vertical and horizontal lines.
19241 \begin_layout Standard
19242 \begin_inset Float table
19249 \begin_layout Plain Layout
19250 \begin_inset Caption Standard
19252 \begin_layout Plain Layout
19253 \begin_inset CommandInset label
19255 name "tab:Table-with-colored"
19259 Table with colored lines
19267 \begin_layout Plain Layout
19269 \begin_inset Tabular
19270 <lyxtabular version="3" rows="3" columns="3">
19271 <features tabularvalignment="middle">
19272 <column alignment="center" valignment="top" special="Wc">
19273 <column alignment="center" valignment="top" special="Wc">
19274 <column alignment="center" valignment="top" special="WcW">
19276 <cell alignment="center" valignment="top" topline="true" usebox="none">
19279 \begin_layout Plain Layout
19285 <cell alignment="center" valignment="top" topline="true" usebox="none">
19288 \begin_layout Plain Layout
19294 <cell alignment="center" valignment="top" topline="true" usebox="none">
19297 \begin_layout Plain Layout
19305 <cell alignment="center" valignment="top" topline="true" usebox="none">
19308 \begin_layout Plain Layout
19314 <cell alignment="center" valignment="top" topline="true" usebox="none">
19317 \begin_layout Plain Layout
19323 <cell alignment="center" valignment="top" topline="true" usebox="none">
19326 \begin_layout Plain Layout
19333 <row topspace="default">
19334 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19337 \begin_layout Plain Layout
19343 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19346 \begin_layout Plain Layout
19352 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19355 \begin_layout Plain Layout
19374 \begin_layout Standard
19378 \begin_layout Plain Layout
19394 \begin_layout Standard
19398 \begin_layout Plain Layout
19404 arrayrulewidth}{1.2pt}
19412 \begin_layout Standard
19413 To color only some of the table lines another strategy is necessary.
19414 To color all following horizontal lines, insert this command as \SpecialChar TeX
19416 last thing in the row that should be above the first colored line:
19419 \begin_layout Standard
19428 arrayrulecolor{blue}%
19431 \begin_layout Standard
19432 To go back to black lines, add this command as first thing in the row that
19433 is above the black lines:
19436 \begin_layout Standard
19441 arrayrulecolor{black}
19444 \begin_layout Standard
19445 With this one can color table lines like in Table
19446 \begin_inset space ~
19450 \begin_inset CommandInset ref
19452 reference "tab:Table-with-different-hor"
19457 However, with this method it is not possible to color the line above the
19458 first row of a table.
19461 \begin_layout Standard
19462 \begin_inset Float table
19469 \begin_layout Plain Layout
19470 \begin_inset Caption Standard
19472 \begin_layout Plain Layout
19473 \begin_inset CommandInset label
19475 name "tab:Table-with-different-hor"
19479 Table with different horizontal line colors.
19487 \begin_layout Plain Layout
19489 \begin_inset Tabular
19490 <lyxtabular version="3" rows="6" columns="7">
19491 <features tabularvalignment="middle">
19492 <column alignment="center" valignment="top">
19493 <column alignment="center" valignment="top">
19494 <column alignment="center" valignment="top">
19495 <column alignment="center" valignment="top">
19496 <column alignment="center" valignment="top">
19497 <column alignment="center" valignment="top">
19498 <column alignment="center" valignment="top">
19500 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19503 \begin_layout Plain Layout
19509 <cell alignment="center" valignment="top" topline="true" usebox="none">
19512 \begin_layout Plain Layout
19518 <cell alignment="center" valignment="top" topline="true" usebox="none">
19521 \begin_layout Plain Layout
19527 <cell alignment="center" valignment="top" topline="true" usebox="none">
19530 \begin_layout Plain Layout
19536 <cell alignment="center" valignment="top" topline="true" usebox="none">
19539 \begin_layout Plain Layout
19545 <cell alignment="center" valignment="top" topline="true" usebox="none">
19548 \begin_layout Plain Layout
19554 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
19557 \begin_layout Plain Layout
19561 \begin_layout Plain Layout
19569 arrayrulecolor{blue}%
19581 <cell alignment="center" valignment="top" usebox="none">
19584 \begin_layout Plain Layout
19590 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19593 \begin_layout Plain Layout
19599 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19602 \begin_layout Plain Layout
19608 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19611 \begin_layout Plain Layout
19617 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19620 \begin_layout Plain Layout
19626 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
19629 \begin_layout Plain Layout
19635 <cell alignment="center" valignment="top" usebox="none">
19638 \begin_layout Plain Layout
19646 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19649 \begin_layout Plain Layout
19653 \begin_layout Plain Layout
19657 arrayrulecolor{black}
19667 <cell alignment="center" valignment="top" usebox="none">
19670 \begin_layout Plain Layout
19676 <cell alignment="center" valignment="top" usebox="none">
19679 \begin_layout Plain Layout
19685 <cell alignment="center" valignment="top" usebox="none">
19688 \begin_layout Plain Layout
19694 <cell alignment="center" valignment="top" usebox="none">
19697 \begin_layout Plain Layout
19703 <cell alignment="center" valignment="top" usebox="none">
19706 \begin_layout Plain Layout
19712 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19715 \begin_layout Plain Layout
19723 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19726 \begin_layout Plain Layout
19732 <cell alignment="center" valignment="top" usebox="none">
19735 \begin_layout Plain Layout
19741 <cell alignment="center" valignment="top" usebox="none">
19744 \begin_layout Plain Layout
19750 <cell alignment="center" valignment="top" usebox="none">
19753 \begin_layout Plain Layout
19759 <cell alignment="center" valignment="top" usebox="none">
19762 \begin_layout Plain Layout
19768 <cell alignment="center" valignment="top" usebox="none">
19771 \begin_layout Plain Layout
19777 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19780 \begin_layout Plain Layout
19784 \begin_layout Plain Layout
19792 arrayrulecolor{green}%
19804 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19807 \begin_layout Plain Layout
19813 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19816 \begin_layout Plain Layout
19822 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19825 \begin_layout Plain Layout
19831 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19834 \begin_layout Plain Layout
19840 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19843 \begin_layout Plain Layout
19849 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19852 \begin_layout Plain Layout
19858 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
19861 \begin_layout Plain Layout
19869 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19872 \begin_layout Plain Layout
19876 \begin_layout Plain Layout
19880 arrayrulecolor{black}
19890 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19893 \begin_layout Plain Layout
19899 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19902 \begin_layout Plain Layout
19908 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19911 \begin_layout Plain Layout
19917 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19920 \begin_layout Plain Layout
19926 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19929 \begin_layout Plain Layout
19935 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
19938 \begin_layout Plain Layout
19942 \begin_layout Plain Layout
19950 arrayrulecolor{blue}%
19973 \begin_layout Standard
19974 To change the color of vertical lines within a row, like in Table
19975 \begin_inset space ~
19979 \begin_inset CommandInset ref
19981 reference "tab:Table-with-different-ver"
19985 , one needs to use multicolumns.
19986 At first one needs to remove all vertical lines that don't run along the
19988 Now one colors all lines using the command
19991 \begin_layout Standard
20000 arrayrulecolor{blue}%
20003 \begin_layout Standard
20005 Finally one inserts this command as \SpecialChar TeX
20006 code to every cell in the row where
20007 one needs a vertical line in a different color:
20010 \begin_layout Standard
20026 \begin_layout Standard
20027 This adds a vertical line to both sides of the cell.
20028 The left one will be green, the right one red.
20029 If no color change is necessary one can omit the
20035 command in the above command.
20036 To get for example a black left line and a blue right line you can write:
20039 \begin_layout Standard
20051 \begin_layout Standard
20052 because the color blue was already set for all lines.
20057 creates hereby the vertical line while
20070 To set vertical lines without changing any color use
20073 \begin_layout Standard
20078 multicolumn{1}{|c|}{
20081 \begin_layout Standard
20082 After this command insert the cell content the normal way and end the cell
20083 with a closing brace
20087 in \SpecialChar TeX
20091 \begin_layout Standard
20092 \begin_inset Float table
20099 \begin_layout Plain Layout
20100 \begin_inset Caption Standard
20102 \begin_layout Plain Layout
20103 \begin_inset CommandInset label
20105 name "tab:Table-with-different-ver"
20109 Table with different vertical line colors in one row.
20117 \begin_layout Plain Layout
20119 \begin_inset Tabular
20120 <lyxtabular version="3" rows="5" columns="7">
20121 <features tabularvalignment="middle">
20122 <column alignment="center" valignment="top">
20123 <column alignment="center" valignment="top">
20124 <column alignment="center" valignment="top">
20125 <column alignment="center" valignment="top">
20126 <column alignment="center" valignment="top">
20127 <column alignment="center" valignment="top">
20128 <column alignment="center" valignment="top">
20130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20133 \begin_layout Plain Layout
20139 <cell alignment="center" valignment="top" topline="true" usebox="none">
20142 \begin_layout Plain Layout
20148 <cell alignment="center" valignment="top" topline="true" usebox="none">
20151 \begin_layout Plain Layout
20157 <cell alignment="center" valignment="top" topline="true" usebox="none">
20160 \begin_layout Plain Layout
20166 <cell alignment="center" valignment="top" topline="true" usebox="none">
20169 \begin_layout Plain Layout
20175 <cell alignment="center" valignment="top" topline="true" usebox="none">
20178 \begin_layout Plain Layout
20184 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
20187 \begin_layout Plain Layout
20191 \begin_layout Plain Layout
20199 arrayrulecolor{red}%
20211 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20214 \begin_layout Plain Layout
20218 \begin_layout Plain Layout
20235 \begin_layout Plain Layout
20247 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20250 \begin_layout Plain Layout
20256 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20259 \begin_layout Plain Layout
20265 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20268 \begin_layout Plain Layout
20274 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20277 \begin_layout Plain Layout
20283 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20286 \begin_layout Plain Layout
20290 \begin_layout Plain Layout
20294 multicolumn{1}{c|}{
20303 \begin_layout Plain Layout
20315 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20318 \begin_layout Plain Layout
20322 \begin_layout Plain Layout
20339 \begin_layout Plain Layout
20353 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20356 \begin_layout Plain Layout
20360 \begin_layout Plain Layout
20364 arrayrulecolor{black}
20374 <cell alignment="center" valignment="top" usebox="none">
20377 \begin_layout Plain Layout
20383 <cell alignment="center" valignment="top" usebox="none">
20386 \begin_layout Plain Layout
20392 <cell alignment="center" valignment="top" usebox="none">
20395 \begin_layout Plain Layout
20401 <cell alignment="center" valignment="top" usebox="none">
20404 \begin_layout Plain Layout
20410 <cell alignment="center" valignment="top" usebox="none">
20413 \begin_layout Plain Layout
20419 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20422 \begin_layout Plain Layout
20426 \begin_layout Plain Layout
20434 arrayrulecolor{magenta}%
20446 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20449 \begin_layout Plain Layout
20453 \begin_layout Plain Layout
20457 multicolumn{1}{|c!{
20470 \begin_layout Plain Layout
20482 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20485 \begin_layout Plain Layout
20489 \begin_layout Plain Layout
20506 \begin_layout Plain Layout
20518 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20521 \begin_layout Plain Layout
20525 \begin_layout Plain Layout
20542 \begin_layout Plain Layout
20554 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20557 \begin_layout Plain Layout
20561 \begin_layout Plain Layout
20578 \begin_layout Plain Layout
20590 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20593 \begin_layout Plain Layout
20597 \begin_layout Plain Layout
20614 \begin_layout Plain Layout
20626 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20629 \begin_layout Plain Layout
20633 \begin_layout Plain Layout
20650 \begin_layout Plain Layout
20662 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20665 \begin_layout Plain Layout
20669 \begin_layout Plain Layout
20673 multicolumn{1}{c|}{
20682 \begin_layout Plain Layout
20696 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20699 \begin_layout Plain Layout
20703 \begin_layout Plain Layout
20707 arrayrulecolor{black}
20717 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20720 \begin_layout Plain Layout
20726 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20729 \begin_layout Plain Layout
20735 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20738 \begin_layout Plain Layout
20744 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20747 \begin_layout Plain Layout
20753 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20756 \begin_layout Plain Layout
20762 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20765 \begin_layout Plain Layout
20784 \begin_layout Standard
20788 \begin_layout Plain Layout
20794 arrayrulewidth}{0.4pt}
20802 \begin_layout Section
20803 Rotated Table Cells
20804 \begin_inset CommandInset label
20806 name "sec:Rotated-Table-Cells"
20811 \begin_inset Index idx
20814 \begin_layout Plain Layout
20815 Table ! Rotated Cells
20821 \begin_inset Index idx
20824 \begin_layout Plain Layout
20833 \begin_layout Standard
20834 \begin_inset Note Greyedout
20837 \begin_layout Plain Layout
20842 Not all DVI-viewers are able to display rotations.
20850 \begin_layout Standard
20852 \begin_inset space ~
20856 \begin_inset CommandInset ref
20858 reference "tab:Table-with-rotated"
20865 is an example where 3
20866 \begin_inset space ~
20869 cells were rotated by 45
20870 \begin_inset space \thinspace{}
20876 \begin_layout Standard
20877 \begin_inset Float table
20884 \begin_layout Plain Layout
20885 \begin_inset Caption Standard
20887 \begin_layout Plain Layout
20888 \begin_inset CommandInset label
20890 name "tab:Table-with-rotated"
20894 Table with rotated cells in the first row.
20902 \begin_layout Plain Layout
20905 \begin_inset Tabular
20906 <lyxtabular version="3" rows="2" columns="3">
20907 <features tabularvalignment="middle">
20908 <column alignment="center" valignment="top" width="0pt">
20909 <column alignment="center" valignment="top" width="0pt">
20910 <column alignment="center" valignment="top" width="0pt">
20912 <cell alignment="center" valignment="top" rotate="45" usebox="none">
20915 \begin_layout Plain Layout
20921 <cell alignment="center" valignment="top" rotate="45" usebox="none">
20924 \begin_layout Plain Layout
20930 <cell alignment="center" valignment="top" rotate="45" usebox="none">
20933 \begin_layout Plain Layout
20941 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20944 \begin_layout Plain Layout
20950 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20953 \begin_layout Plain Layout
20959 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20962 \begin_layout Plain Layout
20981 \begin_layout Standard
20982 \begin_inset Note Greyedout
20985 \begin_layout Plain Layout
20990 Line breaks (shortcut
20993 arg "newline-insert newline"
20996 ) are not allowed in rotated cells.
21004 \begin_layout Standard
21005 If you want to rotate table cells containing line breaks, you have to put
21006 the cell content into a minipage or a parbox.
21010 \begin_layout Plain Layout
21011 For more about these boxes see sec.
21012 \begin_inset space \thinspace{}
21016 \begin_inset CommandInset ref
21018 reference "sec:Minipages"
21023 \begin_inset CommandInset ref
21025 reference "sec:Parboxes"
21034 If you rotate this cell by 90
21035 \begin_inset space \thinspace{}
21038 ° the width of the box is the height of the cell.
21039 To avoid to estimate a suitable box width one can use a minipage with a
21041 Such a box is inserted by loading the module
21044 \begin_inset space ~
21049 in the document settings.
21050 Then one can use the menu
21052 Insert\SpecialChar menuseparator
21054 \begin_inset space ~
21057 Insets\SpecialChar menuseparator
21059 \begin_inset space ~
21065 \begin_inset space ~
21070 \begin_inset space ~
21074 \begin_inset CommandInset ref
21076 reference "tab:Table-with-rotated-multi"
21080 is an example for a rotated multiline cell where a variable width minipage
21084 \begin_layout Standard
21085 \begin_inset Float table
21092 \begin_layout Plain Layout
21093 \begin_inset Caption Standard
21095 \begin_layout Plain Layout
21096 \begin_inset CommandInset label
21098 name "tab:Table-with-rotated-multi"
21102 Table with rotated multiline cell.
21110 \begin_layout Plain Layout
21113 \begin_inset Tabular
21114 <lyxtabular version="3" rows="2" columns="3">
21115 <features tabularvalignment="middle">
21116 <column alignment="center" valignment="top">
21117 <column alignment="center" valignment="top" width="0pt">
21118 <column alignment="center" valignment="top">
21120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21123 \begin_layout Plain Layout
21129 <cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
21132 \begin_layout Plain Layout
21133 \begin_inset Flex Minipage (Var. Width)
21136 \begin_layout Plain Layout
21138 \begin_inset Newline newline
21142 \begin_inset space ~
21155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21158 \begin_layout Plain Layout
21166 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21169 \begin_layout Plain Layout
21175 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21178 \begin_layout Plain Layout
21184 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21187 \begin_layout Plain Layout
21206 \begin_layout Section
21207 Table Width Calculation
21208 \begin_inset CommandInset label
21210 name "sec:Table-Width-Calculation"
21217 \begin_layout Standard
21218 For wide tables it is sometimes difficult to assure that the table does
21219 not protrude over the page margin.
21220 Setting a fixed width for every column of the table is the solution, but
21221 what amount of space is needed for each column?
21224 \begin_layout Standard
21226 \begin_inset Formula $W_{\mathrm{table}}$
21229 can be calculated: Every column has the width of the specified column width
21231 \begin_inset Formula $W_{\mathrm{column}}$
21234 (that the content of the column can consume) plus two times the separation
21235 between the column content and the column border (\SpecialChar LaTeX
21243 \begin_inset space \thinspace{}
21246 pt) plus the width of a border line (\SpecialChar LaTeX
21254 \begin_inset space \thinspace{}
21258 \begin_inset Formula $n$
21262 \begin_inset space ~
21265 columns have the same width, the table width is
21266 \begin_inset Formula
21268 W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
21276 \begin_layout Standard
21277 The available width for a table is the space between the page margins or
21278 the width of a text column (for a two-column document) (\SpecialChar LaTeX
21286 If all table columns should have the same width and
21287 \begin_inset Formula $W_{\mathrm{table}}$
21291 \begin_inset space \thinspace{}
21297 \begin_inset Formula $W_{\mathrm{column}}$
21300 can easily be calculated.
21303 \begin_layout Standard
21304 To be able to perform calculations you need to load the \SpecialChar LaTeX
21310 \begin_inset Index idx
21313 \begin_layout Plain Layout
21320 in the document preamble.
21321 To set the width in the table dialog you have to use the field
21327 The command scheme for this field is the same that is explained in section
21328 \begin_inset space ~
21332 \begin_inset CommandInset ref
21334 reference "subsec:Multicolumn-Calculations"
21340 \begin_inset space \thinspace{}
21343 columns with an uniform width and centered text, enter there for each column
21347 \begin_layout Standard
21354 columnwidth-62.4pt)/5}
21357 \begin_layout Standard
21359 \begin_inset space \thinspace{}
21362 columns where 2 should have 0.75
21363 \begin_inset space ~
21366 times the width than the 3 others, the calculation is
21367 \begin_inset Formula
21369 \backslash\mbox{columnwidth} & =3\,W_{\mathrm{column}}+2\cdot0.75\,W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
21370 & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
21371 & =4.5\,W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
21372 W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
21380 \begin_layout Standard
21381 In the table therefore the command
21384 \begin_layout Standard
21391 columnwidth-62.4pt)/
21396 \begin_layout Standard
21397 is used for the wider columns and
21400 \begin_layout Standard
21407 columnwidth-62.4pt)/
21414 \begin_layout Standard
21415 for the smaller ones:
21418 \begin_layout Standard
21419 \begin_inset Tabular
21420 <lyxtabular version="3" rows="2" columns="5">
21421 <features tabularvalignment="middle">
21422 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21423 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21424 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21425 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21426 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21428 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21431 \begin_layout Plain Layout
21437 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21440 \begin_layout Plain Layout
21446 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21449 \begin_layout Plain Layout
21455 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21458 \begin_layout Plain Layout
21464 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21467 \begin_layout Plain Layout
21475 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21478 \begin_layout Plain Layout
21479 111111 1111111 111111 111111111 11111 11111 1111
21484 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21487 \begin_layout Plain Layout
21493 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21496 \begin_layout Plain Layout
21497 2222 22222 222222 222222222 2222222 22 22222
21502 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21505 \begin_layout Plain Layout
21511 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21514 \begin_layout Plain Layout
21515 333333 333333 333333 33333 3333333 333
21528 \begin_layout Section
21529 Table Customization
21530 \begin_inset Index idx
21533 \begin_layout Plain Layout
21534 Table Customization
21540 \begin_inset Index idx
21543 \begin_layout Plain Layout
21544 Table ! Customization
21552 \begin_layout Subsection
21554 \begin_inset CommandInset label
21556 name "subsec:Row-Spacing"
21561 \begin_inset Index idx
21564 \begin_layout Plain Layout
21565 Table Customization ! Row Spacing
21573 \begin_layout Standard
21574 You can add vertical space to table rows in the
21578 tab of the table dialog.
21579 You find there three possibilities:
21582 \begin_layout Description
21584 \begin_inset space ~
21588 \begin_inset space ~
21591 row will add space above the characters of the table row.
21592 If the table is a formal table
21596 \begin_layout Plain Layout
21597 Formal tables are explained in section
21598 \begin_inset space ~
21602 \begin_inset CommandInset ref
21604 reference "sec:Formal-Tables"
21614 will insert as default 0.5
21615 \begin_inset space \thinspace{}
21619 For normal tables the inserted space will unfortunately destroy the vertical
21620 table lines as in the following table:
21621 \begin_inset VSpace medskip
21625 \begin_inset Newline newline
21629 \begin_inset space \hspace*{}
21634 \begin_inset space \hfill{}
21638 \begin_inset Tabular
21639 <lyxtabular version="3" rows="3" columns="1">
21640 <features tabularvalignment="middle">
21641 <column alignment="center" valignment="top">
21643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21646 \begin_layout Plain Layout
21653 <row topspace="3mm">
21654 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21657 \begin_layout Plain Layout
21659 \begin_inset space \thinspace{}
21662 mm space top of row
21669 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21672 \begin_layout Plain Layout
21684 \begin_inset space \hfill{}
21688 \begin_inset space \hspace*{}
21693 \begin_inset VSpace medskip
21697 \begin_inset Newline newline
21700 So inserting space in the top of row for normal tables is only useful when
21701 you don't have vertical lines.
21704 \begin_layout Description
21706 \begin_inset space ~
21710 \begin_inset space ~
21713 row will add space below the characters of the table row.
21714 If the table is a formal table \SpecialChar LyX
21715 will insert as default 0.5
21716 \begin_inset space \thinspace{}
21719 em space, for normal tables the default size is 2
21720 \begin_inset space \thinspace{}
21726 \begin_layout Description
21728 \begin_inset space ~
21731 rows adds space between the current and the following row.
21732 If the table is a formal table \SpecialChar LyX
21733 will insert as default 0.5
21734 \begin_inset space \thinspace{}
21738 For normal tables the inserted space will unfortunately destroy the vertical
21739 table lines as in the following table:
21740 \begin_inset VSpace medskip
21744 \begin_inset Newline newline
21748 \begin_inset space \hspace*{}
21753 \begin_inset space \hfill{}
21757 \begin_inset Tabular
21758 <lyxtabular version="3" rows="3" columns="1">
21759 <features tabularvalignment="middle">
21760 <column alignment="center" valignment="top">
21762 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21765 \begin_layout Plain Layout
21772 <row interlinespace="3mm">
21773 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21776 \begin_layout Plain Layout
21777 \begin_inset Formula $\downarrow$
21781 \begin_inset space \thinspace{}
21784 mm space between row
21785 \begin_inset Formula $\downarrow$
21795 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21798 \begin_layout Plain Layout
21799 \begin_inset Formula $\uparrow$
21803 \begin_inset space \thinspace{}
21806 mm space between row
21807 \begin_inset Formula $\uparrow$
21821 \begin_inset space \hfill{}
21825 \begin_inset space \hspace*{}
21830 \begin_inset VSpace medskip
21834 \begin_inset Newline newline
21837 So inserting space between rows for normal tables is only useful when you
21838 don't have vertical lines.
21841 \begin_layout Standard
21842 \begin_inset VSpace bigskip
21845 When you want to add extra height to all cells of all tables, you can do
21846 this with the following preamble lines:
21849 \begin_layout Standard
21854 @ifundefined{extrarowheight}
21855 \begin_inset Newline newline
21859 \begin_inset Phantom HPhantom
21862 \begin_layout Plain Layout
21865 \begin_inset space ~
21875 usepackage{array}}{}
21876 \begin_inset Newline newline
21883 extrarowheight}{height}
21886 \begin_inset Note Note
21889 \begin_layout Plain Layout
21894 will be loaded automatically by \SpecialChar LyX
21895 when you use self defined table formats.
21896 To avoid that it is loaded twice the command
21902 is used in the above command.
21910 \begin_layout Standard
21915 can have one of the units listed in appendix
21916 \begin_inset space ~
21920 \begin_inset CommandInset ref
21922 reference "cha:Units-available-in"
21927 But this has the disadvantage that the cell texts are no longer exactly
21928 vertically centered.
21931 \begin_layout Standard
21932 If you are using font sizes larger than the normal size, the table borders
21933 are often too close to the letters.
21934 This can be corrected by inserting the command
21940 in \SpecialChar TeX
21941 Code at the beginning of a table row.
21943 \begin_inset space ~
21947 \begin_inset CommandInset ref
21949 reference "tab:Vertical-alignment-of"
21953 illustrates the effect.
21956 \begin_layout Standard
21958 \begin_inset Float table
21965 \begin_layout Plain Layout
21966 \begin_inset Caption Standard
21968 \begin_layout Plain Layout
21969 \begin_inset CommandInset label
21971 name "tab:Vertical-alignment-of"
21975 Vertical alignment of text with large font sizes.
21983 \begin_layout Plain Layout
21984 \begin_inset space \hfill{}
21988 \begin_inset Float table
21995 \begin_layout Plain Layout
21996 \begin_inset Caption Standard
21998 \begin_layout Plain Layout
22007 \begin_layout Plain Layout
22010 \begin_inset Tabular
22011 <lyxtabular version="3" rows="6" columns="1">
22012 <features tabularvalignment="middle">
22013 <column alignment="left" valignment="top">
22015 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22018 \begin_layout Plain Layout
22026 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22029 \begin_layout Plain Layout
22039 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22042 \begin_layout Plain Layout
22052 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22055 \begin_layout Plain Layout
22065 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22068 \begin_layout Plain Layout
22078 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22081 \begin_layout Plain Layout
22100 \begin_inset space \hfill{}
22104 \begin_inset Float table
22111 \begin_layout Plain Layout
22112 \begin_inset Caption Standard
22114 \begin_layout Plain Layout
22115 Table using the command
22129 \begin_layout Plain Layout
22132 \begin_inset Tabular
22133 <lyxtabular version="3" rows="6" columns="1">
22134 <features tabularvalignment="middle">
22135 <column alignment="left" valignment="top">
22137 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22140 \begin_layout Plain Layout
22148 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22151 \begin_layout Plain Layout
22157 \begin_layout Plain Layout
22173 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22176 \begin_layout Plain Layout
22182 \begin_layout Plain Layout
22198 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22201 \begin_layout Plain Layout
22207 \begin_layout Plain Layout
22223 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22226 \begin_layout Plain Layout
22232 \begin_layout Plain Layout
22248 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22251 \begin_layout Plain Layout
22257 \begin_layout Plain Layout
22284 \begin_inset space \hfill{}
22295 \begin_layout Subsection
22296 Special Cell Alignment
22297 \begin_inset CommandInset label
22299 name "subsec:Special-Cell-Alignment"
22304 \begin_inset Index idx
22307 \begin_layout Plain Layout
22308 Table Customization ! Special Cell Alignment
22316 \begin_layout Standard
22317 Sometimes it looks better when the cell entries of a column are aligned
22318 with a special character, e.
22319 \begin_inset space \thinspace{}
22323 \begin_inset space \space{}
22326 with the decimal separator as in Table
22327 \begin_inset space ~
22331 \begin_inset CommandInset ref
22333 reference "tab:Table-cells-align"
22338 This alignment is achieved by setting the cursor into the column and then
22339 either pressing the toolbar button
22342 arg "tabular-feature align-decimal"
22345 or setting the alignment in the table settings to
22348 \begin_inset space ~
22352 \begin_inset space ~
22358 The alignment character can be a character of your choice and is specified
22359 in the table settings.
22362 \begin_layout Standard
22363 \begin_inset Float table
22370 \begin_layout Plain Layout
22371 \begin_inset Caption Standard
22373 \begin_layout Plain Layout
22374 \begin_inset CommandInset label
22376 name "tab:Table-cells-align"
22380 Table cells of a column aligned with the decimal separator.
22388 \begin_layout Plain Layout
22390 \begin_inset Tabular
22391 <lyxtabular version="3" rows="4" columns="1">
22392 <features booktabs="true" tabularvalignment="middle">
22393 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
22395 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22398 \begin_layout Plain Layout
22406 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22409 \begin_layout Plain Layout
22417 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22420 \begin_layout Plain Layout
22428 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22431 \begin_layout Plain Layout
22450 \begin_layout Standard
22451 \begin_inset Float table
22458 \begin_layout Plain Layout
22459 \begin_inset Caption Standard
22461 \begin_layout Plain Layout
22462 \begin_inset CommandInset label
22464 name "tab:Table-align-operator"
22468 Table cells of a column aligned with the operators.
22476 \begin_layout Plain Layout
22478 \begin_inset Tabular
22479 <lyxtabular version="3" rows="4" columns="2">
22480 <features booktabs="true" tabularvalignment="middle">
22481 <column alignment="right" valignment="top" width="0pt">
22482 <column alignment="left" valignment="top" width="0pt" special="@{}l">
22484 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
22487 \begin_layout Plain Layout
22493 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22496 \begin_layout Plain Layout
22504 <cell alignment="center" valignment="top" usebox="none">
22507 \begin_layout Plain Layout
22508 \begin_inset Formula $12\,+$
22516 <cell alignment="center" valignment="top" usebox="none">
22519 \begin_layout Plain Layout
22520 \begin_inset Formula $\,6$
22530 <cell alignment="center" valignment="top" usebox="none">
22533 \begin_layout Plain Layout
22534 \begin_inset Formula $0\,-$
22542 <cell alignment="center" valignment="top" usebox="none">
22545 \begin_layout Plain Layout
22546 \begin_inset Formula $\,68$
22556 <cell alignment="center" valignment="top" usebox="none">
22559 \begin_layout Plain Layout
22560 \begin_inset Formula $-123\,/$
22568 <cell alignment="center" valignment="top" usebox="none">
22571 \begin_layout Plain Layout
22572 \begin_inset Formula $\,0$
22593 \begin_layout Standard
22594 For alignments at characters in formulas this method does not work because
22595 the field to specify the alignment character does not allow formulas.
22596 In this case one need to use the method from Table
22597 \begin_inset space ~
22601 \begin_inset CommandInset ref
22603 reference "tab:Table-align-operator"
22608 This table was created with a 4×2 table.
22609 The heading is a centered multicolumn.
22610 The first column is right-aligned and contains the first part including
22612 The second column is left aligned and contains the rest.
22613 A small space was added at the beginning of each cell of the second column
22614 to get the space that is usually around operators.
22615 To omit the space that is normally between two table columns, the following
22617 -argument was used for the second column:
22620 \begin_layout Standard
22626 \begin_layout Standard
22628 \begin_inset space ~
22632 \begin_inset CommandInset ref
22634 reference "tab:Several-table-cell"
22638 shows some example alignments.
22639 For the alignment with the relation sign, a small space was added like
22640 for the second column of Table
22641 \begin_inset space ~
22645 \begin_inset CommandInset ref
22647 reference "tab:Table-align-operator"
22654 \begin_layout Standard
22655 \begin_inset Float table
22662 \begin_layout Plain Layout
22663 \begin_inset Caption Standard
22665 \begin_layout Plain Layout
22666 \begin_inset CommandInset label
22668 name "tab:Several-table-cell"
22672 Several table cell alignments.
22680 \begin_layout Plain Layout
22682 \begin_inset Tabular
22683 <lyxtabular version="3" rows="4" columns="6">
22684 <features tabularvalignment="middle">
22685 <column alignment="right" valignment="top">
22686 <column alignment="left" valignment="top" special="@{}l">
22687 <column alignment="right" valignment="top">
22688 <column alignment="left" valignment="top" special="@{}l">
22689 <column alignment="right" valignment="top">
22690 <column alignment="left" valignment="top" special="@{}l">
22692 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
22695 \begin_layout Plain Layout
22701 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22704 \begin_layout Plain Layout
22710 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
22713 \begin_layout Plain Layout
22719 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22722 \begin_layout Plain Layout
22728 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
22731 \begin_layout Plain Layout
22737 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22740 \begin_layout Plain Layout
22748 <cell alignment="center" valignment="top" usebox="none">
22751 \begin_layout Plain Layout
22757 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22760 \begin_layout Plain Layout
22762 \begin_inset space \thinspace{}
22770 <cell alignment="center" valignment="top" usebox="none">
22773 \begin_layout Plain Layout
22774 \begin_inset Formula $10\cdot$
22782 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22785 \begin_layout Plain Layout
22786 \begin_inset Formula $10^{\mbox{-}17}$
22794 <cell alignment="center" valignment="top" usebox="none">
22797 \begin_layout Plain Layout
22798 \begin_inset Formula $\Gamma(t)\propto$
22806 <cell alignment="center" valignment="top" usebox="none">
22809 \begin_layout Plain Layout
22810 \begin_inset Formula $\:\Upsilon(t)$
22820 <cell alignment="center" valignment="top" usebox="none">
22823 \begin_layout Plain Layout
22829 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22832 \begin_layout Plain Layout
22834 \begin_inset space \thinspace{}
22842 <cell alignment="center" valignment="top" usebox="none">
22845 \begin_layout Plain Layout
22846 \begin_inset Formula $5.78\cdot$
22854 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22857 \begin_layout Plain Layout
22858 \begin_inset Formula $10^{7}$
22866 <cell alignment="center" valignment="top" usebox="none">
22869 \begin_layout Plain Layout
22870 \begin_inset Formula $A\ne$
22878 <cell alignment="center" valignment="top" usebox="none">
22881 \begin_layout Plain Layout
22882 \begin_inset Formula $\:B_{\mathrm{red}}$
22892 <cell alignment="center" valignment="top" usebox="none">
22895 \begin_layout Plain Layout
22901 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22904 \begin_layout Plain Layout
22906 \begin_inset space \thinspace{}
22914 <cell alignment="center" valignment="top" usebox="none">
22917 \begin_layout Plain Layout
22919 \begin_inset Formula $33.5\cdot$
22927 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22930 \begin_layout Plain Layout
22931 \begin_inset Formula $10^{4}$
22939 <cell alignment="center" valignment="top" usebox="none">
22942 \begin_layout Plain Layout
22943 \begin_inset Formula $\sin(\alpha)\ge$
22951 <cell alignment="center" valignment="top" usebox="none">
22954 \begin_layout Plain Layout
22955 \begin_inset Formula $\:\sin(\beta)$
22976 \begin_layout Subsection
22977 Customized Cell/Column Format
22978 \begin_inset CommandInset label
22980 name "subsec:Customized-Format"
22985 \begin_inset Index idx
22988 \begin_layout Plain Layout
22989 Table Customization ! Cell/Column Format
22997 \begin_layout Standard
22998 Calculating the required width for normal columns as described in section
22999 \begin_inset space ~
23003 \begin_inset CommandInset ref
23005 reference "sec:Table-Width-Calculation"
23009 or for spanned columns as described in section
23010 \begin_inset space ~
23014 \begin_inset CommandInset ref
23016 reference "subsec:Multicolumn-Calculations"
23020 is very annoying if you have several tables where a calculation is necessary.
23021 To make life easier, you can define a cell/column format in the preamble,
23022 that can be used in all tables of the document.
23023 The format is defined with the command
23026 \begin_layout Standard
23031 newcolumntype{name of format}[number of arguments]{commands}
23034 \begin_layout Standard
23035 The format name may only consist of one letter.
23060 are predefined and cannot be used.
23061 But all letters are allowed as capitals.
23064 \begin_layout Standard
23065 \begin_inset VSpace medskip
23071 \begin_layout Standard
23072 For vertically and horizontally centered multicolumn cells with a fixed
23073 width you can define the cell format
23076 \begin_layout Standard
23081 newcolumntype{M}[1]{>{
23088 \begin_layout Standard
23095 avoids the problem of hyphenating the first word, as described in section
23096 \begin_inset space ~
23100 \begin_inset CommandInset ref
23102 reference "subsec:Multiple-Lines-in"
23107 Now you can simply enter
23110 \begin_layout Standard
23116 \begin_layout Standard
23122 in the table dialog to create a multicolumn.
23125 \begin_layout Standard
23126 \begin_inset VSpace bigskip
23132 \begin_layout Standard
23133 For cells spanned by a multicolumn cell, you can define the format
23136 \begin_layout Standard
23141 newcolumntype{S}[2]{>{
23146 \begin_inset Newline newline
23150 \begin_inset Phantom HPhantom
23153 \begin_layout Plain Layout
23167 arrayrulewidth)*(1-#2))/#2}}
23170 \begin_layout Standard
23171 This format uses equation
23172 \begin_inset CommandInset ref
23178 to calculate the required width so that each spanned cell has the same
23182 \begin_layout Standard
23186 \begin_layout Standard
23189 S{width of multicolumn cell}{number of spanned columns}
23192 \begin_layout Standard
23193 as \SpecialChar LaTeX
23194 -argument of the column.
23197 \begin_layout Standard
23198 \begin_inset VSpace bigskip
23204 \begin_layout Standard
23205 For colored columns, you can define
23208 \begin_layout Standard
23213 newcolumntype{K}[1]{>{
23220 \begin_layout Standard
23222 \begin_inset Quotes eld
23226 \begin_inset Quotes erd
23229 at the end creates a column with a flexible width whose text is horizontally
23234 \begin_layout Standard
23240 \begin_layout Standard
23241 as \SpecialChar LaTeX
23245 \begin_layout Standard
23246 \begin_inset VSpace bigskip
23252 \begin_layout Standard
23254 \begin_inset space ~
23258 \begin_inset CommandInset ref
23260 reference "tab:Table-using-user-defined"
23264 use the \SpecialChar LaTeX
23268 \begin_layout Standard
23274 \begin_layout Standard
23275 for the first column and the multicolumn,
23278 \begin_layout Standard
23284 \begin_layout Standard
23285 for the last column, and
23288 \begin_layout Standard
23294 \begin_layout Standard
23295 for the cells in the second column.
23298 \begin_layout Standard
23299 \begin_inset Float table
23306 \begin_layout Plain Layout
23307 \begin_inset Caption Standard
23309 \begin_layout Plain Layout
23310 \begin_inset CommandInset label
23312 name "tab:Table-using-user-defined"
23316 Table using user-defined table formats
23324 \begin_layout Plain Layout
23326 \begin_inset Tabular
23327 <lyxtabular version="3" rows="3" columns="4">
23328 <features tabularvalignment="middle">
23329 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
23330 <column alignment="center" valignment="middle" special="S{2.5cm}{2}">
23331 <column alignment="center" valignment="middle">
23332 <column alignment="center" valignment="middle" special="K{red}">
23334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23337 \begin_layout Plain Layout
23338 verylongtablecellword
23343 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
23346 \begin_layout Plain Layout
23347 multiple lines multicolumn
23352 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23355 \begin_layout Plain Layout
23361 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23364 \begin_layout Plain Layout
23372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23375 \begin_layout Plain Layout
23381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23384 \begin_layout Plain Layout
23390 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23393 \begin_layout Plain Layout
23399 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23402 \begin_layout Plain Layout
23410 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23413 \begin_layout Plain Layout
23419 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23422 \begin_layout Plain Layout
23428 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23431 \begin_layout Plain Layout
23437 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23440 \begin_layout Plain Layout
23459 \begin_layout Subsection
23461 \begin_inset CommandInset label
23463 name "subsec:Line-Thickness"
23468 \begin_inset Index idx
23471 \begin_layout Plain Layout
23472 Table Customization ! Line Thickness
23480 \begin_layout Standard
23481 The line thickness for all lines in a table can be adjusted with the length
23489 To set for example a line thickness of 1.5
23490 \begin_inset space \thinspace{}
23494 \begin_inset space ~
23498 \begin_inset CommandInset ref
23500 reference "tab:Table-with-1.5"
23504 , insert the command
23507 \begin_layout Standard
23514 arrayrulewidth}{1.5pt}
23517 \begin_layout Standard
23518 in \SpecialChar TeX
23519 Code before the table or table float.
23520 The changed thickness is valid for all subsequent tables.
23521 To use the default value again, set
23528 \begin_inset space \thinspace{}
23531 pt in \SpecialChar TeX
23532 Code after the table or table float.
23535 \begin_layout Standard
23539 \begin_layout Plain Layout
23545 arrayrulewidth}{1.5pt}
23551 \begin_inset Float table
23558 \begin_layout Plain Layout
23559 \begin_inset Caption Standard
23561 \begin_layout Plain Layout
23562 \begin_inset CommandInset label
23564 name "tab:Table-with-1.5"
23569 \begin_inset space \thinspace{}
23580 \begin_layout Plain Layout
23582 \begin_inset Tabular
23583 <lyxtabular version="3" rows="3" columns="3">
23584 <features tabularvalignment="middle">
23585 <column alignment="center" valignment="top">
23586 <column alignment="center" valignment="top">
23587 <column alignment="center" valignment="top">
23589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23592 \begin_layout Plain Layout
23598 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23601 \begin_layout Plain Layout
23607 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23610 \begin_layout Plain Layout
23618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23621 \begin_layout Plain Layout
23627 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23630 \begin_layout Plain Layout
23636 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23639 \begin_layout Plain Layout
23647 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23650 \begin_layout Plain Layout
23656 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23659 \begin_layout Plain Layout
23665 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23668 \begin_layout Plain Layout
23688 \begin_layout Plain Layout
23694 arrayrulewidth}{0.4pt}
23702 \begin_layout Standard
23703 \begin_inset VSpace bigskip
23706 To set the line thickness to 1.5
23707 \begin_inset space \thinspace{}
23710 pt only for horizontal lines, as in Table
23711 \begin_inset space ~
23715 \begin_inset CommandInset ref
23717 reference "tab:Table-with-horizontal"
23721 , insert these commands in \SpecialChar TeX
23722 Code before the table or table float:
23725 \begin_layout Standard
23735 \begin_inset Newline newline
23743 \begin_inset Newline newline
23752 arrayrulewidth 1.5pt}
23753 \begin_inset Newline newline
23764 arrayrulewidth 0.4pt}}
23767 \begin_layout Standard
23768 To return to the default line thickness, insert this command in \SpecialChar TeX
23770 the table or table float:
23773 \begin_layout Standard
23785 \begin_layout Standard
23789 \begin_layout Plain Layout
23800 \begin_layout Plain Layout
23809 \begin_layout Plain Layout
23817 arrayrulewidth 1.5pt}
23820 \begin_layout Plain Layout
23830 arrayrulewidth 0.4pt}}
23836 \begin_inset Float table
23843 \begin_layout Plain Layout
23844 \begin_inset Caption Standard
23846 \begin_layout Plain Layout
23847 \begin_inset CommandInset label
23849 name "tab:Table-with-horizontal"
23854 \begin_inset space \thinspace{}
23857 pt thick horizontal lines
23865 \begin_layout Plain Layout
23867 \begin_inset Tabular
23868 <lyxtabular version="3" rows="3" columns="3">
23869 <features tabularvalignment="middle">
23870 <column alignment="center" valignment="top">
23871 <column alignment="center" valignment="top">
23872 <column alignment="center" valignment="top">
23874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23877 \begin_layout Plain Layout
23883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23886 \begin_layout Plain Layout
23892 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23895 \begin_layout Plain Layout
23903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23906 \begin_layout Plain Layout
23912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23915 \begin_layout Plain Layout
23921 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23924 \begin_layout Plain Layout
23932 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23935 \begin_layout Plain Layout
23941 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23944 \begin_layout Plain Layout
23950 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23953 \begin_layout Plain Layout
23973 \begin_layout Plain Layout
23989 \begin_layout Standard
23990 \begin_inset VSpace bigskip
23993 To set the line thickness to 1.5
23994 \begin_inset space \thinspace{}
23997 pt only for vertical lines, create the following column format in the document
23998 preamble, according to the description in section
23999 \begin_inset space ~
24003 \begin_inset CommandInset ref
24005 reference "subsec:Customized-Format"
24012 \begin_layout Standard
24017 newcolumntype{V}{!{
24019 vrule width 1.5pt}}
24022 \begin_layout Standard
24024 \begin_inset space ~
24028 \begin_inset CommandInset ref
24030 reference "tab:Table-with-vertical"
24034 the \SpecialChar LaTeX
24038 \begin_layout Standard
24044 \begin_layout Standard
24045 was used for the last column and
24048 \begin_layout Standard
24054 \begin_layout Standard
24055 for the other columns.
24058 \begin_layout Standard
24059 \begin_inset Float table
24066 \begin_layout Plain Layout
24067 \begin_inset Caption Standard
24069 \begin_layout Plain Layout
24070 \begin_inset CommandInset label
24072 name "tab:Table-with-vertical"
24077 \begin_inset space \thinspace{}
24080 pt thick vertical lines
24088 \begin_layout Plain Layout
24090 \begin_inset Tabular
24091 <lyxtabular version="3" rows="3" columns="3">
24092 <features tabularvalignment="middle">
24093 <column alignment="center" valignment="top" special="Vc">
24094 <column alignment="center" valignment="top" special="Vc">
24095 <column alignment="center" valignment="top" special="VcV">
24097 <cell alignment="center" valignment="top" topline="true" usebox="none">
24100 \begin_layout Plain Layout
24106 <cell alignment="center" valignment="top" topline="true" usebox="none">
24109 \begin_layout Plain Layout
24115 <cell alignment="center" valignment="top" topline="true" usebox="none">
24118 \begin_layout Plain Layout
24126 <cell alignment="center" valignment="top" topline="true" usebox="none">
24129 \begin_layout Plain Layout
24135 <cell alignment="center" valignment="top" topline="true" usebox="none">
24138 \begin_layout Plain Layout
24144 <cell alignment="center" valignment="top" topline="true" usebox="none">
24147 \begin_layout Plain Layout
24155 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24158 \begin_layout Plain Layout
24164 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24167 \begin_layout Plain Layout
24173 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24176 \begin_layout Plain Layout
24195 \begin_layout Subsection
24197 \begin_inset Index idx
24200 \begin_layout Plain Layout
24201 Table Customization ! Dashed Lines
24209 \begin_layout Standard
24213 \begin_layout Plain Layout
24223 \begin_inset Note Note
24226 \begin_layout Plain Layout
24227 The following section will only be displayed when the \SpecialChar LaTeX
24240 \begin_layout Standard
24241 \begin_inset Float table
24248 \begin_layout Plain Layout
24249 \begin_inset Caption Standard
24251 \begin_layout Plain Layout
24252 \begin_inset CommandInset label
24254 name "tab:Table-with-dashed"
24258 Table with dashed lines
24266 \begin_layout Plain Layout
24268 \begin_inset Tabular
24269 <lyxtabular version="3" rows="5" columns="5">
24270 <features tabularvalignment="middle">
24271 <column alignment="center" valignment="top">
24272 <column alignment="center" valignment="top">
24273 <column alignment="center" valignment="top" special=":c">
24274 <column alignment="center" valignment="top">
24275 <column alignment="center" valignment="top">
24277 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24280 \begin_layout Plain Layout
24286 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24289 \begin_layout Plain Layout
24295 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24298 \begin_layout Plain Layout
24304 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24307 \begin_layout Plain Layout
24313 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24316 \begin_layout Plain Layout
24324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24327 \begin_layout Plain Layout
24333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24336 \begin_layout Plain Layout
24342 <cell alignment="center" valignment="top" topline="true" usebox="none">
24345 \begin_layout Plain Layout
24351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24354 \begin_layout Plain Layout
24360 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24363 \begin_layout Plain Layout
24371 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24374 \begin_layout Plain Layout
24378 \begin_layout Plain Layout
24392 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24395 \begin_layout Plain Layout
24401 <cell alignment="center" valignment="top" usebox="none">
24404 \begin_layout Plain Layout
24410 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24413 \begin_layout Plain Layout
24419 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24422 \begin_layout Plain Layout
24430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24433 \begin_layout Plain Layout
24437 \begin_layout Plain Layout
24451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24454 \begin_layout Plain Layout
24460 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
24463 \begin_layout Plain Layout
24469 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24472 \begin_layout Plain Layout
24478 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24481 \begin_layout Plain Layout
24489 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24492 \begin_layout Plain Layout
24498 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24501 \begin_layout Plain Layout
24507 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24510 \begin_layout Plain Layout
24516 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24519 \begin_layout Plain Layout
24525 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24528 \begin_layout Plain Layout
24547 \begin_layout Standard
24549 does not natively support dashed lines, so you have to use \SpecialChar TeX
24551 As a prerequisite the \SpecialChar LaTeX
24557 \begin_inset Index idx
24560 \begin_layout Plain Layout
24562 -packages ! arydshln
24567 must be loaded in the document preamble with the command
24570 \begin_layout Standard
24575 usepackage{arydshln}
24578 \begin_layout Standard
24579 To make a vertical line dashed, enter the colon
24580 \begin_inset Quotes eld
24584 \begin_inset Quotes erd
24587 together with the character for the horizontal alignment as \SpecialChar LaTeX
24589 the table cell dialog.
24592 \begin_layout Standard
24593 For a horizontal dashed line add the command
24596 \begin_layout Standard
24604 \begin_layout Standard
24605 in \SpecialChar TeX
24606 Code as first element of the first cell in the table row.
24609 \begin_layout Standard
24610 For dashed multicolumn lines use the command
24613 \begin_layout Standard
24618 cdashline{line number
24623 \begin_layout Standard
24624 in \SpecialChar TeX
24625 Code as the first element of the first cell in the table row.
24626 If you have for example a multicolumn spanning columns 2 to 4 and you want
24627 to have a dashed line above, add the command
24630 \begin_layout Standard
24638 \begin_layout Standard
24639 as the first element of the first cell in the row of the multicolumn.
24642 \begin_layout Standard
24643 \begin_inset VSpace bigskip
24649 \begin_layout Standard
24651 \begin_inset space ~
24655 \begin_inset CommandInset ref
24657 reference "tab:Table-with-dashed"
24662 \begin_inset Quotes eld
24670 \begin_inset Quotes erd
24673 as \SpecialChar LaTeX
24674 argument of the third column.
24675 The \SpecialChar TeX
24682 was inserted in the first cell of the third row and the \SpecialChar TeX
24684 \begin_inset Newline newline
24693 was inserted in the first cell of the fourth row.
24696 \begin_layout Standard
24697 \begin_inset VSpace bigskip
24703 \begin_layout Standard
24704 Tables with dashed lines can also be colored as shown by Table
24705 \begin_inset space ~
24709 \begin_inset CommandInset ref
24711 reference "tab:Colored-table-with"
24718 \begin_layout Standard
24722 \begin_layout Plain Layout
24728 arrayrulewidth}{1pt}
24734 \begin_inset Note Note
24737 \begin_layout Plain Layout
24738 thicker lines for better visualization of the line color
24746 \begin_layout Standard
24750 \begin_layout Plain Layout
24754 dashgapcolor{green}
24760 \begin_inset Note Note
24763 \begin_layout Plain Layout
24764 color gaps between dashes green
24772 \begin_layout Standard
24776 \begin_layout Plain Layout
24787 \begin_layout Plain Layout
24796 \begin_layout Plain Layout
24800 arrayrulecolor{red}
24804 arrayrulecolor{black}}
24810 \begin_inset Note Note
24813 \begin_layout Plain Layout
24814 color horizontal, dashed lines red
24822 \begin_layout Standard
24826 \begin_layout Plain Layout
24837 \begin_layout Plain Layout
24846 \begin_layout Plain Layout
24850 arrayrulecolor{yellow}
24854 arrayrulecolor{black}}
24860 \begin_inset Note Note
24863 \begin_layout Plain Layout
24864 color partial horizontal, dashed lines yellow
24872 \begin_layout Standard
24873 \begin_inset Float table
24880 \begin_layout Plain Layout
24881 \begin_inset Caption Standard
24883 \begin_layout Plain Layout
24884 \begin_inset CommandInset label
24886 name "tab:Colored-table-with"
24890 Colored table with dashed lines
24898 \begin_layout Plain Layout
24900 \begin_inset Tabular
24901 <lyxtabular version="3" rows="5" columns="5">
24902 <features tabularvalignment="middle">
24903 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
24904 <column alignment="center" valignment="top" width="0pt">
24905 <column alignment="center" valignment="top" width="0pt" special=":c">
24906 <column alignment="center" valignment="top">
24907 <column alignment="center" valignment="top">
24909 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24912 \begin_layout Plain Layout
24918 <cell alignment="center" valignment="top" topline="true" usebox="none">
24921 \begin_layout Plain Layout
24927 <cell alignment="center" valignment="top" topline="true" usebox="none">
24930 \begin_layout Plain Layout
24936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24939 \begin_layout Plain Layout
24945 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24948 \begin_layout Plain Layout
24956 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24959 \begin_layout Plain Layout
24965 <cell alignment="center" valignment="top" topline="true" usebox="none">
24968 \begin_layout Plain Layout
24974 <cell alignment="center" valignment="top" topline="true" usebox="none">
24977 \begin_layout Plain Layout
24983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24986 \begin_layout Plain Layout
24992 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24995 \begin_layout Plain Layout
25003 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25006 \begin_layout Plain Layout
25010 \begin_layout Plain Layout
25023 \begin_layout Plain Layout
25037 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25040 \begin_layout Plain Layout
25046 <cell alignment="center" valignment="top" usebox="none">
25049 \begin_layout Plain Layout
25055 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25058 \begin_layout Plain Layout
25064 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25067 \begin_layout Plain Layout
25075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25078 \begin_layout Plain Layout
25082 \begin_layout Plain Layout
25096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25099 \begin_layout Plain Layout
25105 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
25108 \begin_layout Plain Layout
25114 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25117 \begin_layout Plain Layout
25123 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25126 \begin_layout Plain Layout
25134 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25137 \begin_layout Plain Layout
25143 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25146 \begin_layout Plain Layout
25152 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25155 \begin_layout Plain Layout
25161 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25164 \begin_layout Plain Layout
25170 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25173 \begin_layout Plain Layout
25177 \begin_layout Plain Layout
25204 \begin_layout Standard
25208 \begin_layout Plain Layout
25222 \begin_inset Note Note
25225 \begin_layout Plain Layout
25234 \begin_layout Standard
25238 \begin_layout Plain Layout
25252 \begin_inset Note Note
25255 \begin_layout Plain Layout
25264 \begin_layout Standard
25268 \begin_layout Plain Layout
25278 \begin_inset Note Note
25281 \begin_layout Plain Layout
25290 \begin_layout Standard
25294 \begin_layout Plain Layout
25300 arrayrulewidth}{0.4pt}
25306 \begin_inset Note Note
25309 \begin_layout Plain Layout
25318 \begin_layout Standard
25319 The coloring of lines, columns and lines works as decribed in section
25320 \begin_inset space ~
25324 \begin_inset CommandInset ref
25326 reference "sec:Colored-Tables"
25331 Coloring horizontal lines works analogically as described there as well,
25332 one only needs to replace in the commands
25356 ; so one uses the command
25359 \begin_layout Standard
25369 \begin_inset Newline newline
25377 \begin_inset Newline newline
25381 \begin_inset Phantom HPhantom
25384 \begin_layout Plain Layout
25385 \begin_inset space ~
25395 arrayrulecolor{red}
25399 arrayrulecolor{black}}
25402 \begin_layout Standard
25412 \begin_layout Standard
25422 \begin_inset Newline newline
25430 \begin_inset Newline newline
25434 \begin_inset Phantom HPhantom
25437 \begin_layout Plain Layout
25438 \begin_inset space ~
25448 arrayrulecolor{red}
25452 arrayrulecolor{black}}
25455 \begin_layout Standard
25456 To get back the black line color, one needs to insert the following commands
25457 as \SpecialChar TeX
25458 Code behind the table:
25461 \begin_layout Standard
25469 \begin_layout Standard
25481 \begin_layout Standard
25489 \begin_layout Standard
25501 \begin_layout Standard
25502 To color the gaps between the dashes the command
25505 \begin_layout Standard
25510 dashgapcolor{color}
25513 \begin_layout Standard
25514 can be used in front of a table as \SpecialChar TeX
25516 color is hereby the name of a defined color.
25520 \begin_layout Standard
25528 \begin_layout Standard
25529 unsets the changes made by
25538 \begin_layout Standard
25539 \begin_inset Note Greyedout
25542 \begin_layout Plain Layout
25548 : If there are multiple commands in a cell, the command of
25552 needs to be the first one in the cell.
25558 \begin_inset space ~
25562 \begin_inset CommandInset ref
25564 reference "tab:Colored-table-with"
25588 \begin_layout Standard
25589 \begin_inset Note Greyedout
25592 \begin_layout Plain Layout
25598 The \SpecialChar LaTeX
25603 must be loaded in the document preamble before the \SpecialChar LaTeX
25609 \begin_inset Index idx
25612 \begin_layout Plain Layout
25614 -packages ! colortbl
25627 \begin_layout Standard
25631 \begin_layout Plain Layout
25641 \begin_inset Note Note
25644 \begin_layout Plain Layout
25645 The following will be displayed when the \SpecialChar LaTeX
25658 \begin_layout Standard
25659 You need to install the package
25663 to see the content of this section in the output.
25666 \begin_layout Standard
25670 \begin_layout Plain Layout
25682 \begin_layout Standard
25683 For more information about dashed lines see the documentation of
25688 \begin_inset CommandInset citation
25698 \begin_layout Chapter
25700 \begin_inset CommandInset label
25707 \begin_inset Index idx
25710 \begin_layout Plain Layout
25719 \begin_layout Section
25721 \begin_inset CommandInset label
25723 name "sec:FloatIntroduction"
25728 \begin_inset Index idx
25731 \begin_layout Plain Layout
25732 Floats ! Introduction
25740 \begin_layout Standard
25741 A float is a block of text associated with some sort of label, which doesn't
25742 have a fixed location.
25744 \begin_inset Quotes eld
25748 \begin_inset Quotes erd
25751 forward or backward a page or two, to wherever it fits best.
25759 \begin_inset space ~
25764 are also floats because they can float to the next page when there are
25765 too many notes on the page.
25768 \begin_layout Standard
25769 Floats allow a high quality layout.
25770 Images and tables can be spread evenly among the pages to avoid white space
25771 and pages without text.
25772 As the floating often destroys the context between the text and the image/table
25773 , every float can be referenced in the text.
25774 Floats are therefore numbered.
25775 Referencing is described in section
25776 \begin_inset space ~
25780 \begin_inset CommandInset ref
25782 reference "sec:Referencing-Floats"
25789 \begin_layout Standard
25790 To insert a float, use the menu
25792 Insert\SpecialChar menuseparator
25798 arg "float-insert figure"
25804 arg "float-insert table"
25812 inset, a box with a label.
25813 The label will automatically be translated to the document language in
25815 After the label you can insert the caption text.
25816 The image or table is inserted above or below the caption in a separate
25817 paragraph within the float.
25818 More about the caption placement is contained in section
25819 \begin_inset space ~
25823 \begin_inset CommandInset ref
25825 reference "sec:Caption-Placement"
25830 To keep your \SpecialChar LyX
25831 document readable, you can open and close the float box by
25832 left-clicking on the box label.
25833 A closed float box looks like this:
25834 \begin_inset Graphics
25835 filename clipart/float.png
25837 scaleBeforeRotation
25841 – a gray button with a red label.
25844 \begin_layout Standard
25845 It is recommended that you insert floats as separate standard paragraphs
25846 to avoid possible \SpecialChar LaTeX
25847 -errors that can occur when the surrounding text is specially
25851 \begin_layout Standard
25852 Existing figures or tables can be put into a float by highlighting them
25853 and then pressing the corresponding toolbar button for a new float.
25856 \begin_layout Section
25860 \begin_layout Standard
25861 Besides figure and table floats that are described in sections
25862 \begin_inset space ~
25866 \begin_inset CommandInset ref
25868 reference "sec:Figure-Floats"
25873 \begin_inset CommandInset ref
25875 reference "sec:Table-Floats"
25879 respectively, \SpecialChar LyX
25880 offers the float types
25889 The latter are explained in sec.
25890 \begin_inset space \thinspace{}
25894 \begin_inset CommandInset ref
25896 reference "sec:Wrap-Floats"
25903 \begin_layout Subsection
25905 \begin_inset Index idx
25908 \begin_layout Plain Layout
25909 Floats ! Algorithms
25917 \begin_layout Standard
25918 \begin_inset Float algorithm
25925 \begin_layout Plain Layout
25926 \begin_inset Caption Standard
25928 \begin_layout Plain Layout
25929 \begin_inset CommandInset label
25931 name "alg:Example-Algorithm-float"
25935 Example Algorithm float
25943 \begin_layout LyX-Code
25945 \begin_inset Newline newline
25948 Sum := Sum + A(I); /* comment */
25949 \begin_inset Newline newline
25953 \begin_inset VSpace -4mm
25964 \begin_layout Standard
25965 This float type is inserted with the menu
25967 Insert\SpecialChar menuseparator
25968 Float\SpecialChar menuseparator
25972 It is used for program codes and descriptions of algorithms and can be
25973 seen as an alternative to program code listings that are explained in chapter
25974 \begin_inset space ~
25978 \begin_inset CommandInset ref
25980 reference "cha:Program-Code-Listings"
25985 A possible environment for algorithms is the
25990 , described in \SpecialChar LyX
25997 \begin_inset space ~
26001 \begin_inset CommandInset ref
26003 reference "alg:Example-Algorithm-float"
26007 is an example of an algorithm float where -4
26008 \begin_inset space \thinspace{}
26011 mm vertical space was added at the end of the float to have the bottom rule
26012 exactly below the last text line.
26015 \begin_layout Standard
26016 The float label is not automatically translated into the document language.
26017 If your document is not in English, you have to do this manually by adding
26018 the following line to the document preamble
26023 \begin_layout Standard
26028 floatname{algorithm}{your
26029 \begin_inset space ~
26035 \begin_layout Standard
26039 \begin_inset space ~
26045 \begin_inset Quotes eld
26053 \begin_inset Quotes erd
26059 \begin_layout Standard
26060 To insert the list of algorithms you can use the menu
26062 Insert\SpecialChar menuseparator
26064 \begin_inset space \thinspace{}
26068 \begin_inset space \thinspace{}
26071 TOC\SpecialChar menuseparator
26074 when your document has the same language as \SpecialChar LyX
26076 In other cases use this command in \SpecialChar TeX
26080 \begin_layout Standard
26085 listof{algorithm}{your
26086 \begin_inset space ~
26092 \begin_layout Standard
26096 \begin_inset space ~
26102 \begin_inset Quotes eld
26110 \begin_inset Quotes erd
26116 \begin_layout Standard
26117 Algorithm floats are not by default numbered in the scheme
26118 \begin_inset Quotes eld
26122 \begin_inset Quotes erd
26125 as is the case for table and figure floats in many document-classes.
26126 To number algorithm floats in the same scheme, add this command to your
26130 \begin_layout Standard
26135 numberwithin{algorithm}{chapter}
26138 \begin_layout Standard
26139 To be able to use the command
26148 \begin_inset space ~
26153 in the document settings the option
26156 \begin_inset space ~
26160 \begin_inset space ~
26164 \begin_inset space ~
26172 \begin_layout Section
26174 \begin_inset Index idx
26177 \begin_layout Plain Layout
26186 \begin_layout Standard
26187 Floats are usually numbered either independently from the sections the floats
26188 are in, or in the scheme
26189 \begin_inset Quotes eld
26193 \begin_inset Quotes erd
26197 \begin_inset Quotes eld
26201 \begin_inset Quotes erd
26205 This depends on the document class used.
26208 \begin_layout Standard
26209 To change section-independent numbering, you can use this command in the
26213 \begin_layout Standard
26225 \begin_layout Standard
26232 is the command that prints the table number.
26233 For figure floats, the command would be
26246 in the command above prints the table number as a small roman number.
26249 \begin_layout Standard
26250 To change the numbering scheme for example to
26251 \begin_inset Quotes eld
26255 \begin_inset Quotes erd
26258 , use this command in the preamble:
26261 \begin_layout Standard
26266 numberwithin{table}{subsection}
26269 \begin_layout Standard
26270 To be able to use the command
26279 \begin_inset space ~
26284 in the document settings the option
26287 \begin_inset space ~
26291 \begin_inset space ~
26295 \begin_inset space ~
26303 \begin_layout Standard
26304 Please also have a look at section
26305 \begin_inset space ~
26309 \begin_inset CommandInset ref
26311 reference "subsec:Footnote-Numbering"
26315 for the details and important notes about the numbering commands.
26318 \begin_layout Section
26320 \begin_inset CommandInset label
26322 name "sec:Referencing-Floats"
26327 \begin_inset Index idx
26330 \begin_layout Plain Layout
26331 Floats ! References
26337 \begin_inset Index idx
26340 \begin_layout Plain Layout
26341 References ! to Floats
26349 \begin_layout Standard
26350 To reference a float, insert a label into its caption using the menu
26352 Insert\SpecialChar menuseparator
26355 or the toolbar button
26362 A grey label box like this one:
26363 \begin_inset Graphics
26364 filename clipart/label.png
26365 scaleBeforeRotation
26369 will be inserted and the label window pops up asking for the label text.
26371 offers as text the first words of the caption with a prefix.
26372 The prefix depends on the float type, e.
26373 \begin_inset space \thinspace{}
26377 \begin_inset space \space{}
26380 for figure floats the prefix will be "
26387 \begin_layout Standard
26388 The label is used as anchor and name for the reference.
26389 You can refer to the label using the menu
26391 Insert\SpecialChar menuseparator
26394 or the toolbar button
26397 arg "dialog-show-new-inset ref"
26401 The cross-reference window appears showing all labels of the document.
26402 If you have multiple \SpecialChar LyX
26403 documents opened, choose the one you are working
26404 on from the drop-list at the top of the dialog.
26405 You can now sort the labels alphabetically and then choose one.
26406 A grey cross-reference box like this one:
26407 \begin_inset Graphics
26408 filename clipart/reference.png
26409 scaleBeforeRotation
26414 At the position of the cross-reference box the float number will appear
26418 \begin_layout Standard
26419 It is recommended that you use a protected space between the cross-reference
26420 name and its number to avoid line breaks between them.
26421 If a cross-reference refers to a non-existing label, you will see two question
26422 marks in the output instead of the reference.
26425 \begin_layout Standard
26426 You can change labels at any time by clicking on the label box.
26427 References to the changed label will automatically update their links to
26428 the new label text.
26431 \begin_layout Standard
26435 \begin_inset space ~
26439 \begin_inset space ~
26444 in the cross-reference window sets the cursor before the referred label.
26445 The button text changes then to Go
26446 \begin_inset space ~
26449 Back and you can use it to set the cursor back to the cross-reference.
26452 \begin_layout Subsection
26453 Cross-Reference Formats
26454 \begin_inset CommandInset label
26456 name "subsec:Cross-Reference-Formats"
26461 \begin_inset Index idx
26464 \begin_layout Plain Layout
26465 References ! Formats
26473 \begin_layout Standard
26474 There are six varieties of cross-references:
26477 \begin_layout Description
26478 <reference>: prints the float number, this is the default:
26479 \begin_inset CommandInset ref
26481 reference "fig:Two-distorted-images"
26488 \begin_layout Description
26489 (<reference>): prints the float number within two parentheses, this is the
26490 style normally used to reference formulas, especially when the reference
26492 \begin_inset Quotes eld
26496 \begin_inset Quotes erd
26500 \begin_inset CommandInset ref
26509 \begin_layout Description
26510 <page>: prints the page number: Page
26511 \begin_inset space ~
26515 \begin_inset CommandInset ref
26516 LatexCommand pageref
26517 reference "fig:Two-distorted-images"
26524 \begin_layout Description
26526 \begin_inset space ~
26530 \begin_inset space ~
26533 <page>: prints the text "on page" and the page number:
26534 \begin_inset CommandInset ref
26535 LatexCommand vpageref
26536 reference "fig:Two-distorted-images"
26543 \begin_layout Description
26545 \begin_inset space ~
26549 \begin_inset space ~
26553 \begin_inset space ~
26556 <page>: prints the float number, the text "on page", and the page number:
26558 \begin_inset CommandInset ref
26560 reference "fig:Two-distorted-images"
26567 \begin_layout Description
26569 \begin_inset space ~
26572 reference: prints a self-defined cross-reference format.
26573 \begin_inset Newline newline
26577 \begin_inset Note Greyedout
26580 \begin_layout Plain Layout
26585 This feature is only available when you have the \SpecialChar LaTeX
26595 \begin_inset Index idx
26598 \begin_layout Plain Layout
26600 -packages ! prettyref
26606 \begin_inset Index idx
26609 \begin_layout Plain Layout
26611 -packages ! refstyle
26622 \begin_inset Newline newline
26625 You can select which \SpecialChar LaTeX
26626 -package should be used for this feature by setting
26629 Use refstyle (not prettyref) for cross-references
26633 Document\SpecialChar menuseparator
26634 Settings\SpecialChar menuseparator
26638 The format is specified by adding the command
26650 (refstyle) to the preamble of the document.
26651 For example redefining all references to figures (which have the label
26653 \begin_inset Quotes eld
26661 \begin_inset Quotes erd
26664 ) can be done with this command
26665 \begin_inset Newline newline
26672 newref{fig}{refcmd={Image on page
26677 \begin_inset Newline newline
26680 For more information about the format, have a look at the package documentations
26682 \begin_inset CommandInset citation
26684 key "prettyref,refstyle"
26690 \begin_inset Newline newline
26701 are only available if you use the \SpecialChar LaTeX
26716 \begin_inset space \thinspace{}
26720 \begin_inset space \space{}
26724 \begin_inset Quotes eld
26728 \begin_inset Quotes erd
26735 outputs the name capitalized, e.
26736 \begin_inset space \thinspace{}
26740 \begin_inset space \space{}
26744 \begin_inset Quotes eld
26748 \begin_inset Quotes erd
26752 Both options can be combined to get e.
26753 \begin_inset space \thinspace{}
26757 \begin_inset space \space{}
26761 \begin_inset Quotes eld
26765 \begin_inset Quotes erd
26771 \begin_layout Description
26773 \begin_inset space ~
26776 reference: prints the caption of the reference:
26777 \begin_inset CommandInset ref
26778 LatexCommand nameref
26779 reference "fig:Two-distorted-images"
26786 \begin_layout Description
26788 \begin_inset space ~
26791 only: prints only the \SpecialChar LaTeX
26792 label for the reference:
26793 \begin_inset CommandInset ref
26794 LatexCommand labelonly
26795 reference "fig:Two-distorted-images"
26803 \begin_inset Newline newline
26806 This allows to use the label for commands in \SpecialChar TeX
26812 one can omit the prefix of the label name:
26813 \begin_inset CommandInset ref
26814 LatexCommand labelonly
26815 reference "fig:Two-distorted-images"
26825 \begin_layout Standard
26830 will not print the page number if the label is on the previous, the same,
26833 \begin_inset space \thinspace{}
26837 \begin_inset space \space{}
26841 \begin_inset Quotes eld
26849 \begin_inset Quotes erd
26855 <reference> on page <page>
26857 will not print anything about the page if the label is on the same page.
26860 \begin_layout Standard
26861 The number and current page of the part of the document referred to in the
26862 output is automatically calculated by \SpecialChar LaTeX
26864 The varieties are adjusted in the field
26868 of the cross-reference window that appears when you click on the cross-referenc
26872 \begin_layout Standard
26873 \begin_inset Note Greyedout
26876 \begin_layout Plain Layout
26881 It is recommended to use the \SpecialChar LaTeX
26887 \begin_inset Index idx
26890 \begin_layout Plain Layout
26892 -packages ! refstyle
26902 \begin_inset Index idx
26905 \begin_layout Plain Layout
26907 -packages ! prettyref
26912 does not know all of \SpecialChar LyX
26913 's possible label shortcuts
26917 \begin_layout Plain Layout
26918 \begin_inset Quotes eld
26922 \begin_inset Quotes erd
26925 is for example \SpecialChar LyX
26926 's shortcut for labels in figure captions.
26931 and is not internationalized.
26939 \begin_layout Subsection
26940 Automatic Reference Naming
26941 \begin_inset Index idx
26944 \begin_layout Plain Layout
26945 References ! Automatic Reference Naming
26953 \begin_layout Standard
26954 The \SpecialChar LaTeX
26960 \begin_inset Index idx
26963 \begin_layout Plain Layout
26965 -packages ! hyperref
26970 , that is enabled in the
26978 dialog, provides a very useful feature that cross-references automatically
26979 include the name of the referenced floats (or text parts like
26984 So you will save having to write e.
26985 \begin_inset space \thinspace{}
26989 \begin_inset space \space{}
26993 \begin_inset Quotes eld
26997 \begin_inset Quotes erd
27000 before every reference to a figure.
27001 To use this feature, enable
27005 and insert this line to the \SpecialChar LaTeX
27009 \begin_layout Standard
27025 \begin_layout Standard
27026 When you prefer other reference names than the default ones, for example
27027 you want instead of
27028 \begin_inset Quotes eld
27032 \begin_inset Quotes erd
27036 \begin_inset Quotes eld
27040 \begin_inset space \thinspace{}
27044 \begin_inset Quotes eld
27047 , you can redefine the name by inserting this in the preamble:
27050 \begin_layout Standard
27061 sectionautorefname}
27062 \begin_inset Newline newline
27066 \begin_inset Phantom HPhantom
27069 \begin_layout Plain Layout
27072 \begin_inset space ~
27085 \begin_layout Standard
27086 When you are using another document language than English, replace
27087 \begin_inset Newline newline
27102 , where *** is the name of the language used.
27105 \begin_layout Standard
27106 To get automatic names, but not for certain reference types, for example
27107 not for equations, use this preamble code:
27110 \begin_layout Standard
27121 equationautorefname}[1]{}}
27124 \begin_layout Standard
27125 More about this topic can be found in
27130 \begin_inset CommandInset citation
27140 \begin_layout Standard
27141 \begin_inset Note Greyedout
27144 \begin_layout Plain Layout
27149 Automatic reference naming cannot be used when you use cross-references
27153 \begin_inset space ~
27158 style, as described in section
27159 \begin_inset space ~
27163 \begin_inset CommandInset ref
27165 reference "subsec:Cross-Reference-Formats"
27177 \begin_layout Standard
27182 manual is an example where automatic reference naming is used.
27185 \begin_layout Subsection
27187 \begin_inset CommandInset label
27189 name "subsec:Reference-Position"
27194 \begin_inset Index idx
27197 \begin_layout Plain Layout
27198 References ! Reference Position
27206 \begin_layout Standard
27212 \begin_inset Index idx
27215 \begin_layout Plain Layout
27217 -packages ! hyperref
27230 dialog to link cross-references in the output, you will see that clicking
27231 on an image float reference jumps to the image label.
27232 The caption will be the first text part on the screen, so that you cannot
27233 see the image without scrolling.
27234 This is because the reference link anchor is placed at the position of
27236 With the use of the package
27241 \begin_inset Index idx
27244 \begin_layout Plain Layout
27251 , which is part of the \SpecialChar LaTeX
27257 \begin_inset Index idx
27260 \begin_layout Plain Layout
27262 -packages ! oberdiek
27267 , the link anchor is placed at the beginning of a float.
27268 To use this feature for figure floats, load
27272 in the document preamble with the line
27275 \begin_layout Standard
27280 usepackage[figure]{hypcap}
27283 \begin_layout Standard
27288 for all float types but this is not recommended for stability reasons.
27289 For more information, have a look at
27294 \begin_inset CommandInset citation
27304 \begin_layout Standard
27305 \begin_inset Note Greyedout
27308 \begin_layout Plain Layout
27317 has no effect on references to subfigures.
27325 \begin_layout Section
27327 \change_deleted -712698321 1526031763
27329 \change_inserted -712698321 1526031765
27333 \begin_inset CommandInset label
27335 name "sec:Float-Settings"
27340 \begin_inset Index idx
27343 \begin_layout Plain Layout
27345 \change_deleted -712698321 1526031841
27347 \change_inserted -712698321 1526031842
27358 \begin_layout Standard
27360 \change_inserted -712698321 1526033385
27361 Float Settings can be adjusted at two places in \SpecialChar LyX
27364 Document\SpecialChar menuseparator
27365 Settings\SpecialChar ldots
27366 \SpecialChar menuseparator
27369 , you can set some options that are used by default for all floats of the
27370 document (placement on page and alignment of contents), unless you modify
27371 the local settings of a float.
27376 \begin_layout Standard
27378 \change_inserted -712698321 1526032513
27379 The latter can be done by
27380 \change_deleted -712698321 1526032513
27382 \change_inserted -712698321 1526032513
27385 ight-clicking on a float-box and clicking on
27388 \change_inserted -712698321 1526033387
27395 \change_inserted -712698321 1526032520
27398 opens a dialog where you can
27399 \change_inserted -712698321 1526032584
27400 , now only for the given float,
27403 \change_inserted -712698321 1526033452
27407 \change_deleted -712698321 1526033439
27408 options that \SpecialChar LaTeX
27409 uses for positioning the float
27410 \change_inserted -712698321 1526033493
27411 and alignment options, and adapt some other options that are only available
27416 \change_inserted -712698321 1526032658
27417 All these options, both for
27419 Document\SpecialChar menuseparator
27420 Settings\SpecialChar menuseparator
27427 , are described in turn.
27428 \change_deleted -712698321 1526031652
27430 \begin_inset Newline newline
27436 \begin_inset space ~
27441 is only useful for two-column documents: If you select it, the float will
27442 span both columns on the page instead of being confined to just one.
27443 \begin_inset Newline newline
27449 \begin_inset space ~
27454 is used to rotate floats, see section
27455 \begin_inset CommandInset ref
27457 reference "sec:Rotated-Floats"
27466 \begin_layout Subsection
27468 \change_inserted -712698321 1526031775
27470 \begin_inset CommandInset label
27472 name "sec:Float-Placement"
27477 \begin_inset Index idx
27480 \begin_layout Plain Layout
27482 \change_inserted -712698321 1526031775
27493 \begin_layout Standard
27495 \change_inserted -712698321 1526032697
27498 Document\SpecialChar menuseparator
27499 Settings\SpecialChar menuseparator
27507 \change_deleted -712698321 1526032811
27508 You can use one or more of the following options in the float dialog to
27510 \change_inserted -712698321 1526032812
27514 \change_inserted -712698321 1526033558
27515 algorithm that \SpecialChar LaTeX
27516 uses for positioning floats on the page, either
27519 \change_inserted -712698321 1526033535
27522 Document\SpecialChar menuseparator
27523 Settings\SpecialChar menuseparator
27529 \change_inserted -712698321 1526033570
27540 By default, this is set to
27543 \change_inserted -712698321 1526033604
27550 Document\SpecialChar menuseparator
27551 Settings\SpecialChar menuseparator
27554 (meaning that the default placement algorithm of the document class is
27563 dialog (meaning that the settings in
27565 Document\SpecialChar menuseparator
27566 Settings\SpecialChar menuseparator
27569 are used, which are the Class Defaults by default).
27570 If you want to change this,
27571 \change_deleted -712698321 1526033009
27573 \change_inserted -712698321 1526033535
27577 \change_deleted -712698321 1526031920
27579 \change_inserted -712698321 1526033535
27582 Placement Settings:
27587 \change_inserted -712698321 1526033535
27591 \change_deleted -712698321 1526031908
27593 \begin_inset space ~
27597 \begin_inset space ~
27601 \change_inserted -712698321 1526033535
27604 This allows you to select one or more from
27609 \begin_layout Description
27611 \begin_inset space ~
27615 \begin_inset space ~
27618 possible try to place the float on the position where it has been inserted
27621 \begin_layout Description
27623 \begin_inset space ~
27627 \begin_inset space ~
27630 page try to place the float at the top of the current page
27633 \begin_layout Description
27635 \begin_inset space ~
27639 \begin_inset space ~
27642 page try to place the float at the bottom of the current page
27645 \begin_layout Description
27647 \begin_inset space ~
27651 \begin_inset space ~
27654 floats try to place the float on its own page
27657 \begin_layout Standard
27658 The order of the above option is
27662 used by \SpecialChar LaTeX
27664 That means, if you use the default placement, \SpecialChar LaTeX
27668 \begin_inset space ~
27672 \begin_inset space ~
27680 \begin_inset space ~
27684 \begin_inset space ~
27689 , and then the others.
27690 If you do not use the default, \SpecialChar LaTeX
27691 will try only the checked options but in
27694 \begin_inset space ~
27697 placements is possible the procedure is internally repeated trying to put
27698 the float on the following page.
27701 \begin_layout Standard
27702 By default, each option has its own rules:
27705 \begin_layout Labeling
27706 \labelwidthstring 00.00.0000
27710 \begin_inset space ~
27714 \begin_inset space ~
27719 only floats occupying less than 70
27720 \begin_inset space \thinspace{}
27723 % of the page can be placed at the top of a page (
27732 \begin_layout Labeling
27733 \labelwidthstring 00.00.0000
27737 \begin_inset space ~
27741 \begin_inset space ~
27746 : only floats occupying less than 30
27747 \begin_inset space \thinspace{}
27750 % of the page can be placed at the bottom of a page.
27760 \begin_layout Labeling
27761 \labelwidthstring 00.00.0000
27765 \begin_inset space ~
27769 \begin_inset space ~
27774 : only if more than 50
27775 \begin_inset space \thinspace{}
27778 % of the page is occupied by floats, several floats can be set together
27789 \begin_layout Standard
27790 If you don't like these rules, you can ignore them by using the additional
27794 \begin_inset space ~
27799 \begin_inset space ~
27805 \begin_inset Newline newline
27808 You can also redefine the rules with \SpecialChar LaTeX
27809 -commands that are given in parentheses
27810 after the rules description above.
27811 To increase for example the often too small default of the bottom-rule
27813 \begin_inset space \thinspace{}
27816 % of the page, add this line to your document preamble:
27819 \begin_layout Standard
27826 bottomfraction}{0.5}
27829 \begin_layout Standard
27830 Sometimes you might need, under all circumstances, a float to be placed
27831 exactly at the position where it is inserted.
27832 For this case you can use the option
27835 \begin_inset space ~
27841 Use this option very rarely and only if the document is almost ready to
27842 be printed, because the float is then no longer able to
27843 \begin_inset Quotes eld
27847 \begin_inset Quotes erd
27850 when you change your document and this will often destroy the page layout.
27853 \begin_layout Standard
27854 There are no placement options for text wrap floats, because they are always
27855 surrounded by the text of a certain paragraph.
27856 \begin_inset VSpace bigskip
27862 \begin_layout Standard
27863 Sometimes you have the problem that a float is placed at the top of a page
27864 while its corresponding section starts at the middle of the page, so that
27865 the reader could think the float is part of the previous section.
27866 To avoid this the \SpecialChar LaTeX
27874 It suppresses a given float placement for the page where it is inserted
27875 and can therefore be used to avoid floats being set before a section starts.
27876 To get this, add these commands to your document preamble:
27879 \begin_layout Standard
27889 \begin_inset Newline newline
27903 \begin_layout Standard
27904 You can define the same for all section headings, like chapters and subsections.
27905 This definition is not recommended to be used for small text parts like
27906 subsubsections because \SpecialChar LaTeX
27907 may then have problems finding a suitable placement.
27910 \begin_layout Standard
27911 \begin_inset VSpace bigskip
27914 In some cases it is required to have all figures/tables at the end of the
27916 For this purpose the \SpecialChar LaTeX
27922 \begin_inset Index idx
27925 \begin_layout Plain Layout
27927 -packages ! endfloat
27933 It puts all figure and table floats at the end of the document into their
27935 At the original float position a text hint like
27936 \begin_inset Quotes eld
27942 \begin_inset space ~
27948 \begin_inset Quotes erd
27952 The endfloat-package is loaded in the preamble with the line
27955 \begin_layout Standard
27960 usepackage[options]{endfloat}
27963 \begin_layout Standard
27964 There are various package options to format the created figure/table sections.
27965 For more information we refer you to the
27970 \begin_inset CommandInset citation
27978 \begin_inset Newline newline
27982 \begin_inset Note Greyedout
27985 \begin_layout Plain Layout
27990 doesn't provide an automatic translation for the text hint, you have to
27991 do this manually, see section
27992 \begin_inset space ~
27996 \begin_inset CommandInset citation
28009 \begin_inset Newline newline
28013 \begin_inset Note Greyedout
28016 \begin_layout Plain Layout
28021 There is currently a bug in
28025 when the caption contains a German
28026 \begin_inset Quotes eld
28030 \begin_inset Quotes erd
28034 Use in this case the command
28035 \begin_inset Quotes eld
28045 \begin_inset Quotes erd
28048 in \SpecialChar TeX
28050 \begin_inset Quotes eld
28054 \begin_inset Quotes erd
28065 \begin_layout Standard
28066 \begin_inset VSpace bigskip
28069 For more details about float placements, have a look at \SpecialChar LaTeX
28071 \begin_inset CommandInset citation
28073 key "latexcompanion,latexguide,latexbook"
28079 \change_inserted -712698321 1526030561
28083 \begin_layout Subsection
28085 \change_inserted -712698321 1526031989
28086 Alignment of Float Contents
28089 \begin_layout Standard
28091 \change_inserted -712698321 1526032316
28092 In this list of options, you can define how the contents of a float (or
28093 all floats by default, if selected from
28095 Document\SpecialChar menuseparator
28103 means that the alignment of the class, or the default alignment of \SpecialChar LaTeX
28110 (only visible in the
28116 Document\SpecialChar menuseparator
28119 ) takes the setting specified in
28121 Document\SpecialChar menuseparator
28122 Settings\SpecialChar menuseparator
28126 The other three options,
28138 , are self-explanatory.
28139 If one of these is selected in
28141 Document\SpecialChar menuseparator
28142 Settings\SpecialChar menuseparator
28145 , all floats of the document will have this setting by default (so it is
28146 fairly easy, for instance, to center all floats).
28151 \begin_layout Subsection
28153 \change_inserted -712698321 1526030571
28154 Other Float Options
28157 \begin_layout Standard
28159 \change_inserted -712698321 1526035716
28160 These two options are only visible in the local
28166 Document\SpecialChar menuseparator
28172 \begin_layout Standard
28174 \change_inserted -712698321 1526033931
28178 \begin_inset space ~
28183 is useful for two-column documents: If you select it, the float will span
28184 both columns on the page instead of being confined to just one.
28187 \begin_layout Standard
28189 \change_inserted -712698321 1526030572
28193 \begin_inset space ~
28198 is used to rotate floats, see section
28199 \begin_inset CommandInset ref
28201 reference "sec:Rotated-Floats"
28210 \begin_layout Section
28212 \begin_inset CommandInset label
28214 name "sec:Rotated-Floats"
28219 \begin_inset Index idx
28222 \begin_layout Plain Layout
28231 \begin_layout Standard
28232 Especially for wide tables you might have floats rotated.
28233 To rotate a whole float including the caption, right-click on the float-box
28237 \begin_inset space ~
28245 \begin_layout Standard
28246 Rotated floats are always placed on a page of their own (or column of their
28247 own; in case you have a multi-column document).
28248 You can let them span several columns using the float settings option
28251 \begin_inset space ~
28257 Floats are rotated so that you can read them from the outside margin.
28258 To force a certain rotation direction for all pages, you can add either
28267 to the document class options.
28270 \begin_layout Standard
28271 Referencing rotated floats is the same as for normal floats, the caption
28272 format is also the same: Table
28273 \begin_inset space ~
28277 \begin_inset CommandInset ref
28279 reference "tab:Rotated-table"
28283 is an example of a rotated table float.
28286 \begin_layout Standard
28287 \begin_inset Note Greyedout
28290 \begin_layout Plain Layout
28295 Not all DVI-viewers are able to display rotated floats.
28303 \begin_layout Standard
28304 \begin_inset Float table
28311 \begin_layout Plain Layout
28312 \begin_inset Caption Standard
28314 \begin_layout Plain Layout
28315 \begin_inset CommandInset label
28317 name "tab:Rotated-table"
28329 \begin_layout Plain Layout
28331 \begin_inset Tabular
28332 <lyxtabular version="3" rows="1" columns="5">
28333 <features tabularvalignment="middle">
28334 <column alignment="center" valignment="top">
28335 <column alignment="center" valignment="top">
28336 <column alignment="center" valignment="top">
28337 <column alignment="center" valignment="top">
28338 <column alignment="center" valignment="top">
28340 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28343 \begin_layout Plain Layout
28349 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28352 \begin_layout Plain Layout
28358 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28361 \begin_layout Plain Layout
28367 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28370 \begin_layout Plain Layout
28376 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28379 \begin_layout Plain Layout
28398 \begin_layout Section
28400 \begin_inset Index idx
28403 \begin_layout Plain Layout
28412 \begin_layout Standard
28413 Subfloats are for example used when a figure consists of several images.
28414 They are created by inserting a float into an existing float.
28415 The placement of the subfloats can be controlled in the same way as for
28416 paragraphs as shown in table
28417 \begin_inset space ~
28421 \begin_inset CommandInset ref
28423 reference "tab:Two-subtables-side"
28428 \begin_inset CommandInset ref
28430 reference "tab:Two-subtables-upon"
28437 \begin_layout Standard
28438 Referencing subfloats works as for normal floats: Table
28439 \begin_inset space ~
28443 \begin_inset CommandInset ref
28445 reference "tab:This-is-subtable-a"
28450 \begin_inset CommandInset ref
28452 reference "tab:This-is-subtable-b"
28456 are subtables of table
28457 \begin_inset space ~
28461 \begin_inset CommandInset ref
28463 reference "tab:Two-subtables-side"
28470 \begin_layout Standard
28471 \begin_inset Float table
28478 \begin_layout Plain Layout
28479 \begin_inset Caption Standard
28481 \begin_layout Plain Layout
28482 \begin_inset CommandInset label
28484 name "tab:Two-subtables-side"
28488 Two subtables placed side by side.
28496 \begin_layout Plain Layout
28498 \begin_inset space \hfill{}
28502 \begin_inset Float table
28509 \begin_layout Plain Layout
28510 \begin_inset Caption Standard
28512 \begin_layout Plain Layout
28513 \begin_inset CommandInset label
28515 name "tab:This-is-subtable-a"
28519 This is subtable a.
28527 \begin_layout Plain Layout
28529 \begin_inset Tabular
28530 <lyxtabular version="3" rows="1" columns="5">
28531 <features tabularvalignment="middle">
28532 <column alignment="center" valignment="top">
28533 <column alignment="center" valignment="top">
28534 <column alignment="center" valignment="top">
28535 <column alignment="center" valignment="top">
28536 <column alignment="center" valignment="top">
28538 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28541 \begin_layout Plain Layout
28547 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28550 \begin_layout Plain Layout
28556 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28559 \begin_layout Plain Layout
28565 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28568 \begin_layout Plain Layout
28574 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28577 \begin_layout Plain Layout
28594 \begin_inset space \hfill{}
28598 \begin_inset Float table
28605 \begin_layout Plain Layout
28606 \begin_inset Caption Standard
28608 \begin_layout Plain Layout
28609 \begin_inset CommandInset label
28611 name "tab:This-is-subtable-b"
28615 This is subtable b.
28623 \begin_layout Plain Layout
28625 \begin_inset Tabular
28626 <lyxtabular version="3" rows="1" columns="5">
28627 <features tabularvalignment="middle">
28628 <column alignment="center" valignment="top">
28629 <column alignment="center" valignment="top">
28630 <column alignment="center" valignment="top">
28631 <column alignment="center" valignment="top">
28632 <column alignment="center" valignment="top">
28634 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28637 \begin_layout Plain Layout
28643 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28646 \begin_layout Plain Layout
28652 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28655 \begin_layout Plain Layout
28661 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28664 \begin_layout Plain Layout
28670 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28673 \begin_layout Plain Layout
28690 \begin_inset space \hfill{}
28701 \begin_layout Standard
28702 \begin_inset Float table
28709 \begin_layout Plain Layout
28710 \begin_inset Caption Standard
28712 \begin_layout Plain Layout
28713 \begin_inset CommandInset label
28715 name "tab:Two-subtables-upon"
28719 Two subtables placed one above the other.
28720 (a) table with 4 cells, (b) table with 5 cells.
28728 \begin_layout Plain Layout
28730 \begin_inset Float table
28737 \begin_layout Plain Layout
28738 \begin_inset Caption Standard
28740 \begin_layout Plain Layout
28749 \begin_layout Plain Layout
28751 \begin_inset Tabular
28752 <lyxtabular version="3" rows="1" columns="4">
28753 <features tabularvalignment="middle">
28754 <column alignment="center" valignment="top">
28755 <column alignment="center" valignment="top">
28756 <column alignment="center" valignment="top">
28757 <column alignment="center" valignment="top">
28759 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28762 \begin_layout Plain Layout
28768 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28771 \begin_layout Plain Layout
28777 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28780 \begin_layout Plain Layout
28786 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28789 \begin_layout Plain Layout
28808 \begin_layout Plain Layout
28810 \begin_inset Float table
28817 \begin_layout Plain Layout
28818 \begin_inset Caption Standard
28820 \begin_layout Plain Layout
28829 \begin_layout Plain Layout
28831 \begin_inset Tabular
28832 <lyxtabular version="3" rows="1" columns="5">
28833 <features tabularvalignment="middle">
28834 <column alignment="center" valignment="top">
28835 <column alignment="center" valignment="top">
28836 <column alignment="center" valignment="top">
28837 <column alignment="center" valignment="top">
28838 <column alignment="center" valignment="top">
28840 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28843 \begin_layout Plain Layout
28849 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28852 \begin_layout Plain Layout
28858 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28861 \begin_layout Plain Layout
28867 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28870 \begin_layout Plain Layout
28876 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28879 \begin_layout Plain Layout
28903 \begin_layout Section
28904 Floats Side by Side
28905 \begin_inset Index idx
28908 \begin_layout Plain Layout
28909 Floats ! Side by side
28917 \begin_layout Standard
28918 To place floats side by side, as in Figures
28919 \begin_inset space ~
28923 \begin_inset CommandInset ref
28925 reference "fig:Float-left"
28930 \begin_inset CommandInset ref
28932 reference "fig:Float-right"
28941 In it two minipage boxes are inserted.
28945 \begin_layout Plain Layout
28946 Minipages are explained in section
28947 \begin_inset space ~
28951 \begin_inset CommandInset ref
28953 reference "sec:Minipages"
28962 The width is set to 45
28963 \begin_inset space \thinspace{}
28967 \begin_inset space \thinspace{}
28970 column% and the box alignment to
28975 The minipage boxes contain the image and the caption in the same way as
28976 they are in a float.
28977 The only difference is that the image unit
28980 \begin_inset space ~
28984 \begin_inset space ~
28989 is now calculated according to the width of the minipage boxes.
28992 \begin_layout Standard
28993 \begin_inset Float figure
29000 \begin_layout Plain Layout
29001 \begin_inset Box Frameless
29011 height_special "totalheight"
29016 backgroundcolor "none"
29019 \begin_layout Plain Layout
29021 \begin_inset Graphics
29022 filename clipart/2D-intensity-plot.pdf
29024 scaleBeforeRotation
29031 \begin_layout Plain Layout
29032 \begin_inset Caption Standard
29034 \begin_layout Plain Layout
29035 \begin_inset CommandInset label
29037 name "fig:Float-left"
29041 Float on the left side.
29052 \begin_inset space \hfill{}
29056 \begin_inset Box Frameless
29066 height_special "totalheight"
29071 backgroundcolor "none"
29074 \begin_layout Plain Layout
29076 \begin_inset Graphics
29077 filename clipart/Star-structure.pdf
29079 scaleBeforeRotation
29086 \begin_layout Plain Layout
29087 \begin_inset Caption Standard
29089 \begin_layout Plain Layout
29090 \begin_inset CommandInset label
29092 name "fig:Float-right"
29096 Float on the right side.
29114 \begin_layout Standard
29115 An alternative and simpler solution is to use the module
29117 Variable-width Minipages
29120 \begin_inset space \thinspace{}
29124 \begin_inset CommandInset ref
29126 reference "sec:Minipages"
29131 Variable-width minipages adapt automatically to the width of the figures
29133 They do not require an explicit width to be given, and they improve the
29134 horizontal alignment of the figures.
29135 The LyX example file
29137 varwidth-floats-side-by-side
29139 gives examples of how to do this.
29142 \begin_layout Section
29144 \begin_inset Index idx
29147 \begin_layout Plain Layout
29148 Caption ! Formatting
29154 \begin_inset Index idx
29157 \begin_layout Plain Layout
29158 Floats ! Caption Formatting
29164 \begin_inset CommandInset label
29166 name "sec:Caption-Formatting"
29173 \begin_layout Standard
29178 environment is the default paragraph environment for
29183 On the \SpecialChar LyX
29184 screen captions appear as a label, e.
29185 \begin_inset space \thinspace{}
29189 \begin_inset space \space{}
29193 \begin_inset Quotes eld
29201 \begin_inset Quotes erd
29204 followed by the caption text.
29206 \begin_inset Quotes eld
29210 \begin_inset Quotes erd
29213 is the actual reference number.
29214 By default the label and the number are in the same font as the caption
29215 text and a colon follows the number to divide the label from the text.
29216 This caption format is suitable for many but not all documents.
29220 \begin_layout Standard
29221 To change the default caption format, load the \SpecialChar LaTeX
29227 \begin_inset Index idx
29230 \begin_layout Plain Layout
29232 -packages ! caption
29237 in the document preamble with this line:
29240 \begin_layout Standard
29245 usepackage[format definition]{caption}
29248 \begin_layout Standard
29249 To have for example the label and the number in sans-serif, bold font and
29250 the table captions always above the table as in this document, use the
29254 \begin_layout Standard
29259 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
29262 \begin_layout Standard
29263 You can also define different caption formats for the different float types.
29264 In this case load the
29268 package without format specific options and define the different formats
29269 with the help of the command
29272 \begin_layout Standard
29277 captionsetup[float type]{format definition}
29280 \begin_layout Standard
29281 in the document preamble.
29282 For example the caption formats of Figure
29283 \begin_inset space ~
29287 \begin_inset CommandInset ref
29289 reference "fig:This-is-an-fig"
29294 \begin_inset space ~
29298 \begin_inset CommandInset ref
29300 reference "tab:This-is-an-tab"
29304 can be created using these commands in the document preamble:
29307 \begin_layout Standard
29312 usepackage[tableposition=top]{caption}
29315 \begin_inset Newline newline
29322 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
29323 \begin_inset Newline newline
29327 \begin_inset Phantom HPhantom
29330 \begin_layout Plain Layout
29335 captionsetup[figure]{
29341 \begin_inset Newline newline
29346 captionsetup[table]{labelfont={bf,sf}}
29349 \begin_layout Standard
29350 \begin_inset Note Greyedout
29353 \begin_layout Plain Layout
29362 has no effect when a
29367 \begin_inset Index idx
29370 \begin_layout Plain Layout
29372 -packages ! KOMA-Script
29377 document class is used.
29378 In this case the document class option
29380 captions=tableheading
29390 \begin_layout Standard
29391 For more information about the package
29395 we refer to its documentation
29396 \begin_inset CommandInset citation
29406 \begin_layout Standard
29407 To change the label name from e.
29408 \begin_inset space \thinspace{}
29412 \begin_inset space \space{}
29416 \begin_inset Quotes eld
29420 \begin_inset Quotes erd
29424 \begin_inset Quotes eld
29428 \begin_inset Quotes erd
29431 use this preamble command:
29434 \begin_layout Standard
29441 fnum@figure}{Image~
29446 \begin_layout Standard
29453 inserts the figure number and
29456 \begin_inset Quotes eld
29462 \begin_inset Quotes erd
29465 creates a protected space.
29468 \begin_layout Standard
29469 \begin_inset VSpace bigskip
29477 \begin_inset Index idx
29480 \begin_layout Plain Layout
29482 -packages ! KOMA-Script
29489 article (KOMA-Script)
29497 letter (KOMA-Script)
29501 report (KOMA-Script)
29504 \begin_inset space \thinspace{}
29507 ), you can alternatively to the
29515 's built-in command
29522 For example, to have the caption label in bold, add this command to your
29526 \begin_layout Standard
29531 setkomafont{captionlabel}{
29536 \begin_layout Standard
29537 For more information about
29548 \begin_inset CommandInset citation
29558 \begin_layout Standard
29562 \begin_layout Plain Layout
29566 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
29573 \begin_inset Note Note
29576 \begin_layout Plain Layout
29577 The caption format is changed only for this example.
29585 \begin_layout Standard
29586 \begin_inset Float figure
29593 \begin_layout Plain Layout
29595 \begin_inset Graphics
29596 filename clipart/2D-intensity-plot.pdf
29597 scaleBeforeRotation
29604 \begin_layout Plain Layout
29605 \begin_inset Caption Standard
29607 \begin_layout Plain Layout
29608 \begin_inset CommandInset label
29610 name "fig:This-is-an-fig"
29614 This is an example figure caption that is longer than one line to show the
29615 different caption format.
29616 Here a self-defined caption format is used.
29629 \begin_layout Standard
29633 \begin_layout Plain Layout
29637 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
29646 \begin_layout Standard
29647 \begin_inset Float table
29654 \begin_layout Plain Layout
29655 \begin_inset Caption Standard
29657 \begin_layout Plain Layout
29658 \begin_inset CommandInset label
29660 name "tab:This-is-an-tab"
29664 This is an example table caption that is longer than one line to show the
29665 different caption format.
29666 Here the standard caption format for tables in this document is used.
29674 \begin_layout Plain Layout
29676 \begin_inset Tabular
29677 <lyxtabular version="3" rows="1" columns="5">
29678 <features tabularvalignment="middle">
29679 <column alignment="center" valignment="top">
29680 <column alignment="center" valignment="top">
29681 <column alignment="center" valignment="top">
29682 <column alignment="center" valignment="top">
29683 <column alignment="center" valignment="top">
29685 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29688 \begin_layout Plain Layout
29694 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29697 \begin_layout Plain Layout
29703 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29706 \begin_layout Plain Layout
29712 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29715 \begin_layout Plain Layout
29721 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29724 \begin_layout Plain Layout
29743 \begin_layout Section
29745 \begin_inset Index idx
29748 \begin_layout Plain Layout
29749 Caption ! Placement
29755 \begin_inset Index idx
29758 \begin_layout Plain Layout
29759 Floats ! Caption Placement
29765 \begin_inset CommandInset label
29767 name "sec:Caption-Placement"
29774 \begin_layout Standard
29775 The common caption placement rule is:
29778 \begin_layout Description
29779 Figure: Caption is set below the figure
29782 \begin_layout Description
29783 Table: Caption is set above the table
29786 \begin_layout Standard
29787 Having the caption above the table is unfortunately not supported in \SpecialChar LaTeX
29790 That means if you are using the document classes
29806 there will be no space between the caption and the table.
29807 To insert the necessary space, load the \SpecialChar LaTeX
29813 \begin_inset Index idx
29816 \begin_layout Plain Layout
29818 -packages ! caption
29823 in your document preamble with the option
29827 \begin_layout Plain Layout
29829 \begin_inset space ~
29833 \begin_inset CommandInset ref
29835 reference "sec:Caption-Formatting"
29839 for more information of the package
29851 \begin_layout Standard
29857 \begin_layout Standard
29863 \begin_inset Index idx
29866 \begin_layout Plain Layout
29868 -packages ! KOMA-Script
29875 article (KOMA-Script)
29883 letter (KOMA-Script)
29887 report (KOMA-Script)
29890 \begin_inset space \thinspace{}
29893 ), you can alternatively to the
29897 package set the document class option
29901 \begin_layout Plain Layout
29902 That option is used in this document.
29910 \begin_layout Standard
29913 captions=tableheading
29916 \begin_layout Standard
29917 In documents with a KOMA-Script document class you can also right-click
29918 on a caption and mark in the context menu if this should be a caption above
29919 or below the table/figure.
29920 This way you can override the document-wide caption placement for certain
29923 \begin_inset space ~
29927 \begin_inset CommandInset ref
29929 reference "tab:A-caption-marked"
29933 is an example where the caption is marked a being below the table while
29935 For comparison the caption in Table
29936 \begin_inset space ~
29940 \begin_inset CommandInset ref
29942 reference "tab:A-standard-table"
29949 \begin_layout Standard
29950 \begin_inset Float table
29957 \begin_layout Plain Layout
29958 \begin_inset Caption Below
29960 \begin_layout Plain Layout
29961 \begin_inset CommandInset label
29963 name "tab:A-caption-marked"
29967 A caption marked as being below the table.
29975 \begin_layout Plain Layout
29977 \begin_inset Tabular
29978 <lyxtabular version="3" rows="3" columns="3">
29979 <features tabularvalignment="middle">
29980 <column alignment="center" valignment="top" width="0pt">
29981 <column alignment="center" valignment="top" width="0pt">
29982 <column alignment="center" valignment="top" width="0pt">
29984 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29987 \begin_layout Plain Layout
29993 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29996 \begin_layout Plain Layout
30002 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30005 \begin_layout Plain Layout
30013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30016 \begin_layout Plain Layout
30022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30025 \begin_layout Plain Layout
30031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30034 \begin_layout Plain Layout
30042 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30045 \begin_layout Plain Layout
30046 \begin_inset Formula $\int x^{2}dx$
30054 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30057 \begin_layout Plain Layout
30058 \begin_inset Formula $\left[\begin{array}{cc}
30061 \end{array}\right]$
30069 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30072 \begin_layout Plain Layout
30073 \begin_inset Formula $1+1=2$
30094 \begin_layout Standard
30095 \begin_inset Float table
30102 \begin_layout Plain Layout
30103 \begin_inset Caption Standard
30105 \begin_layout Plain Layout
30106 \begin_inset CommandInset label
30108 name "tab:A-standard-table"
30112 A standard table caption.
30120 \begin_layout Plain Layout
30122 \begin_inset Tabular
30123 <lyxtabular version="3" rows="3" columns="3">
30124 <features tabularvalignment="middle">
30125 <column alignment="center" valignment="top" width="0pt">
30126 <column alignment="center" valignment="top" width="0pt">
30127 <column alignment="center" valignment="top" width="0pt">
30129 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30132 \begin_layout Plain Layout
30138 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30141 \begin_layout Plain Layout
30147 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30150 \begin_layout Plain Layout
30158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30161 \begin_layout Plain Layout
30167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30170 \begin_layout Plain Layout
30176 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30179 \begin_layout Plain Layout
30187 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30190 \begin_layout Plain Layout
30191 \begin_inset Formula $\int x^{2}dx$
30199 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30202 \begin_layout Plain Layout
30203 \begin_inset Formula $\left[\begin{array}{cc}
30206 \end{array}\right]$
30214 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30217 \begin_layout Plain Layout
30218 \begin_inset Formula $1+1=2$
30239 \begin_layout Standard
30240 \begin_inset VSpace bigskip
30243 It is also possible to set the caption beside a figure or table.
30244 To get this the \SpecialChar LaTeX
30250 \begin_inset Index idx
30253 \begin_layout Plain Layout
30255 -packages ! sidecap
30260 has to be loaded in the document preamble with the line
30263 \begin_layout Standard
30268 usepackage[option]{sidecap}
30271 \begin_layout Standard
30272 If you set no option, the caption is placed on the side of the outer page
30273 margin – to the right on odd pages, to the left on even pages.
30274 You can change the placement to inner margin with the option
30279 To force the placement always to the right or left, use the option
30290 \begin_layout Standard
30294 \begin_layout Plain Layout
30304 \begin_inset Note Note
30307 \begin_layout Plain Layout
30308 The following section will only be displayed when the \SpecialChar LaTeX
30321 \begin_layout Standard
30322 To place in \SpecialChar LyX
30323 the caption of a float on the side, it is necessary to add
30324 these commands to the document preamble:
30327 \begin_layout Standard
30329 \begin_inset CommandInset line
30340 \begin_layout Standard
30347 TabBesBeg}[1][1.0]{%
30348 \begin_inset Newline newline
30352 \begin_inset Phantom HPhantom
30355 \begin_layout Plain Layout
30356 \begin_inset space ~
30371 \begin_inset Newline newline
30375 \begin_inset Phantom HPhantom
30378 \begin_layout Plain Layout
30381 \begin_inset space ~
30396 \begin_inset Newline newline
30400 \begin_inset Phantom HPhantom
30403 \begin_layout Plain Layout
30406 \begin_inset space ~
30416 renewenvironment{table}[1]{
30418 begin{SCtable}[#1]##1}{
30423 \begin_layout Standard
30431 \begin_inset Newline newline
30435 \begin_inset Phantom HPhantom
30438 \begin_layout Plain Layout
30439 \begin_inset space ~
30454 \begin_inset Newline newline
30458 \begin_inset Phantom HPhantom
30461 \begin_layout Plain Layout
30462 \begin_inset space ~
30479 \begin_layout Standard
30486 FigBesBeg}[1][1.0]{%
30487 \begin_inset Newline newline
30491 \begin_inset Phantom HPhantom
30494 \begin_layout Plain Layout
30495 \begin_inset space ~
30510 \begin_inset Newline newline
30514 \begin_inset Phantom HPhantom
30517 \begin_layout Plain Layout
30518 \begin_inset space ~
30533 \begin_inset Newline newline
30537 \begin_inset Phantom HPhantom
30540 \begin_layout Plain Layout
30541 \begin_inset space ~
30551 renewenvironment{figure}[1]{
30553 begin{SCfigure}[#1]##1}{
30558 \begin_layout Standard
30566 \begin_inset Newline newline
30570 \begin_inset Phantom HPhantom
30573 \begin_layout Plain Layout
30574 \begin_inset space ~
30589 \begin_inset Newline newline
30593 \begin_inset Phantom HPhantom
30596 \begin_layout Plain Layout
30597 \begin_inset space ~
30614 \begin_layout Standard
30616 \begin_inset CommandInset line
30627 \begin_layout Standard
30628 The commands allow you to redefine the floats so that the caption is set
30630 For figure floats use the command
30633 \begin_layout Standard
30641 \begin_layout Standard
30642 in \SpecialChar TeX
30643 Code before the float.
30644 And insert the command
30647 \begin_layout Standard
30655 \begin_layout Standard
30656 in \SpecialChar TeX
30657 Code at the point where you want to get back to the original float definitio
30661 \begin_layout Standard
30662 For table floats use the corresponding commands
30665 \begin_layout Standard
30679 \begin_layout Standard
30681 \begin_inset space ~
30685 \begin_inset CommandInset ref
30687 reference "fig:cap-beside-fig"
30692 \begin_inset space ~
30696 \begin_inset CommandInset ref
30698 reference "tab:cap-beside-tab"
30702 are examples where the caption is set beside.
30705 \begin_layout Standard
30706 You can see in the examples that the caption text appears at the top of
30707 the floats for table floats and at the bottom for figure floats.
30708 To change this, you can use the command
30711 \begin_layout Standard
30716 sidecaptionvpos{float type}{placement}
30719 \begin_layout Standard
30720 in the document preamble or in \SpecialChar TeX
30721 Code before the float.
30722 The float type is either
30730 , the placement can be
30731 \begin_inset Quotes eld
30739 \begin_inset Quotes erd
30743 \begin_inset Quotes eld
30751 \begin_inset Quotes erd
30755 \begin_inset Quotes eld
30763 \begin_inset Quotes erd
30767 To have for example the caption of figure floats vertically centered, use
30771 \begin_layout Standard
30776 sidecaptionvpos{figure}{c}
30779 \begin_layout Standard
30780 This was used for Figure
30781 \begin_inset space ~
30785 \begin_inset CommandInset ref
30787 reference "fig:cap-beside-fig-2"
30794 \begin_layout Standard
30795 \begin_inset VSpace medskip
30801 \begin_layout Standard
30802 The default caption width is the width of the image/table.
30803 For thin image/tables, like in Table
30804 \begin_inset space ~
30808 \begin_inset CommandInset ref
30810 reference "tab:cap-beside-tab"
30814 , this leads to captions that are too thin.
30815 You can increase the width by specifying a factor that will be multiplied
30816 with the image/table width to get the caption width.
30817 The caption width will automatically be recalculated in case it would protrude
30818 over the page or column margin due to the specified width.
30823 can either be given as optional argument for
30832 \begin_layout Standard
30840 \begin_layout Standard
30841 or in the definition of
30851 with another value.
30852 If you do the latter, your factor will be the default if
30858 is used without an argument.
30860 \begin_inset space ~
30864 \begin_inset CommandInset ref
30866 reference "tab:cap-beside-tab-wider"
30870 the factor 5 was used.
30873 \begin_layout Standard
30874 \begin_inset Note Greyedout
30877 \begin_layout Plain Layout
30882 For floats with captions set beside, you cannot use the float placement
30886 \begin_inset space ~
30891 because it is not supported by
30903 \begin_layout Standard
30904 \begin_inset VSpace medskip
30907 For more information about the package
30911 we refer to its documentation
30912 \begin_inset CommandInset citation
30922 \begin_layout Standard
30923 \begin_inset Note Greyedout
30926 \begin_layout Plain Layout
30931 The \SpecialChar LaTeX
30937 \begin_inset Index idx
30940 \begin_layout Plain Layout
30947 , described in section
30948 \begin_inset space ~
30952 \begin_inset CommandInset ref
30954 reference "subsec:Reference-Position"
30958 , has no effect on floats with the caption set beside.
30966 \begin_layout Standard
30970 \begin_layout Plain Layout
30982 \begin_layout Standard
30983 \begin_inset Float figure
30990 \begin_layout Plain Layout
30991 \begin_inset Graphics
30992 filename clipart/3D-structure-distort.pdf
30994 scaleBeforeRotation
31001 \begin_layout Plain Layout
31002 \begin_inset Caption Standard
31004 \begin_layout Plain Layout
31005 \begin_inset CommandInset label
31007 name "fig:cap-beside-fig"
31011 This is a caption beside a figure.
31024 \begin_layout Standard
31028 \begin_layout Plain Layout
31040 \begin_layout Standard
31044 \begin_layout Plain Layout
31056 \begin_layout Standard
31057 \begin_inset Float table
31064 \begin_layout Plain Layout
31065 \begin_inset Caption Standard
31067 \begin_layout Plain Layout
31068 \begin_inset CommandInset label
31070 name "tab:cap-beside-tab"
31074 This is a caption beside a table.
31082 \begin_layout Plain Layout
31083 \begin_inset Tabular
31084 <lyxtabular version="3" rows="4" columns="5">
31085 <features tabularvalignment="middle">
31086 <column alignment="center" valignment="top">
31087 <column alignment="center" valignment="top">
31088 <column alignment="center" valignment="top">
31089 <column alignment="center" valignment="top">
31090 <column alignment="center" valignment="top">
31092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31095 \begin_layout Plain Layout
31101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31104 \begin_layout Plain Layout
31110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31113 \begin_layout Plain Layout
31119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31122 \begin_layout Plain Layout
31128 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31131 \begin_layout Plain Layout
31139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31142 \begin_layout Plain Layout
31148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31151 \begin_layout Plain Layout
31157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31160 \begin_layout Plain Layout
31166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31169 \begin_layout Plain Layout
31175 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31178 \begin_layout Plain Layout
31186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31189 \begin_layout Plain Layout
31195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31198 \begin_layout Plain Layout
31204 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31207 \begin_layout Plain Layout
31213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31216 \begin_layout Plain Layout
31222 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31225 \begin_layout Plain Layout
31233 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31236 \begin_layout Plain Layout
31242 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31245 \begin_layout Plain Layout
31251 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31254 \begin_layout Plain Layout
31260 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31263 \begin_layout Plain Layout
31269 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31272 \begin_layout Plain Layout
31291 \begin_layout Standard
31295 \begin_layout Plain Layout
31307 \begin_layout Standard
31311 \begin_layout Plain Layout
31324 \begin_layout Plain Layout
31328 sidecaptionvpos{figure}{c}
31334 \begin_inset Float figure
31341 \begin_layout Plain Layout
31342 \begin_inset Graphics
31343 filename clipart/3D-structure-distort.pdf
31345 scaleBeforeRotation
31352 \begin_layout Plain Layout
31353 \begin_inset Caption Standard
31355 \begin_layout Plain Layout
31356 \begin_inset CommandInset label
31358 name "fig:cap-beside-fig-2"
31362 This is a vertically centered caption beside a figure.
31375 \begin_layout Standard
31379 \begin_layout Plain Layout
31391 \begin_layout Standard
31395 \begin_layout Plain Layout
31407 \begin_layout Standard
31408 \begin_inset Float table
31415 \begin_layout Plain Layout
31416 \begin_inset Caption Standard
31418 \begin_layout Plain Layout
31419 \begin_inset CommandInset label
31421 name "tab:cap-beside-tab-wider"
31425 This caption is wider than the one in Table
31426 \begin_inset space ~
31430 \begin_inset CommandInset ref
31432 reference "tab:cap-beside-tab"
31444 \begin_layout Plain Layout
31445 \begin_inset Tabular
31446 <lyxtabular version="3" rows="4" columns="5">
31447 <features tabularvalignment="middle">
31448 <column alignment="center" valignment="top">
31449 <column alignment="center" valignment="top">
31450 <column alignment="center" valignment="top">
31451 <column alignment="center" valignment="top">
31452 <column alignment="center" valignment="top">
31454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31457 \begin_layout Plain Layout
31463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31466 \begin_layout Plain Layout
31472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31475 \begin_layout Plain Layout
31481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31484 \begin_layout Plain Layout
31490 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31493 \begin_layout Plain Layout
31501 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31504 \begin_layout Plain Layout
31510 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31513 \begin_layout Plain Layout
31519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31522 \begin_layout Plain Layout
31528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31531 \begin_layout Plain Layout
31537 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31540 \begin_layout Plain Layout
31548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31551 \begin_layout Plain Layout
31557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31560 \begin_layout Plain Layout
31566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31569 \begin_layout Plain Layout
31575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31578 \begin_layout Plain Layout
31584 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31587 \begin_layout Plain Layout
31595 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31598 \begin_layout Plain Layout
31604 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31607 \begin_layout Plain Layout
31613 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31616 \begin_layout Plain Layout
31622 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31625 \begin_layout Plain Layout
31631 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31634 \begin_layout Plain Layout
31653 \begin_layout Standard
31657 \begin_layout Plain Layout
31669 \begin_layout Standard
31673 \begin_layout Plain Layout
31683 \begin_inset Note Note
31686 \begin_layout Plain Layout
31687 The following will be displayed when the \SpecialChar LaTeX
31700 \begin_layout Standard
31701 You need to install the \SpecialChar LaTeX
31706 to see the following part of this section in the output.
31709 \begin_layout Standard
31713 \begin_layout Plain Layout
31725 \begin_layout Section
31727 \begin_inset Index idx
31730 \begin_layout Plain Layout
31731 Floats ! Float Lists
31739 \begin_layout Standard
31740 Similar to the table of contents where the sections of the document are
31741 listed, there are listings for all float types, like the figures of the
31743 You can insert them via the
31745 Insert\SpecialChar menuseparator
31747 \begin_inset space ~
31751 \begin_inset space ~
31759 \begin_layout Standard
31760 The list entries are the float captions or its short title, the float number,
31761 and the page number where they appear in the document.
31764 \begin_layout Standard
31765 You can find the list of figures and tables at the end of this document.
31768 \begin_layout Chapter
31772 \begin_layout Section
31775 \begin_inset Index idx
31778 \begin_layout Plain Layout
31779 Notes ! \SpecialChar LyX
31788 \begin_layout Standard
31789 Notes are inserted with the toolbar button
31797 Insert\SpecialChar menuseparator
31801 There are three types of notes:
31804 \begin_layout Description
31807 \begin_inset space ~
31810 Note This note type is for internal notes that won't appear in the output.
31811 Its note-box looks like this:
31812 \begin_inset Newline newline
31816 \begin_inset Newline newline
31820 \begin_inset Graphics
31821 filename clipart/LyXNoteImage.png
31823 scaleBeforeRotation
31828 \begin_inset Note Note
31831 \begin_layout Plain Layout
31832 This is text in a note box that doesn't appear in the output.
31840 \begin_layout Description
31841 Comment This note also doesn't appear in the output but it appears as \SpecialChar LaTeX
31843 when you export the document to \SpecialChar LaTeX
31846 File\SpecialChar menuseparator
31847 Export\SpecialChar menuseparator
31849 \begin_inset space ~
31852 (pdflatex) / (plain)
31855 Its note-box looks like this:
31856 \begin_inset Newline newline
31860 \begin_inset Newline newline
31864 \begin_inset Graphics
31865 filename clipart/CommentNoteImage.png
31867 scaleBeforeRotation
31872 \begin_inset Note Comment
31875 \begin_layout Plain Layout
31876 This is text in a note box that only appears as comment in \SpecialChar LaTeX
31885 \begin_layout Description
31887 \begin_inset space ~
31890 Out This note will appear in the output as grey text.
31891 Its note-box looks like this:
31892 \begin_inset Newline newline
31896 \begin_inset Newline newline
31900 \begin_inset Graphics
31901 filename clipart/GreyedOutNoteImage.png
31903 scaleBeforeRotation
31908 \begin_inset Newline newline
31915 \begin_layout Plain Layout
31919 renewenvironment{lyxgreyedout}
31922 \begin_layout Plain Layout
31926 textcolor[gray]{0.8}
31936 \begin_inset Note Greyedout
31939 \begin_layout Plain Layout
31940 This is text of a comment that appears grey in the output.
31949 \begin_layout Plain Layout
31953 renewenvironment{lyxgreyedout}
31956 \begin_layout Plain Layout
31970 \begin_inset Note Note
31973 \begin_layout Plain Layout
31974 The greyed out note is here redefined to show it with the original \SpecialChar LyX
31976 because greyed out notes are redefined in the preamble of this document,
31977 as described below, to have blue text.
31983 \begin_inset Newline newline
31987 \begin_inset Newline newline
31990 As you can see in the example, the first line of greyed out notes is a bit
31991 indented and greyed out notes can have footnotes.
31994 \begin_layout Standard
31995 \begin_inset VSpace bigskip
31998 When you use the toolbar button
32008 \begin_inset space ~
32014 You can switch between the three note types by right-clicking on the note-box.
32019 If you want to turn existing text into a note, mark it and click on the
32033 To change a note to text, press the backspace key when the cursor is in
32034 the first position of a note, or press the delete key when the cursor is
32035 in the very last position of the note, respectively.
32038 \begin_layout Standard
32039 \begin_inset VSpace bigskip
32042 You can change the text color of the greyed out notes in the menu
32044 Document\SpecialChar menuseparator
32045 Settings\SpecialChar menuseparator
32051 \begin_layout Section
32053 \begin_inset CommandInset label
32055 name "sec:Footnotes"
32060 \begin_inset Index idx
32063 \begin_layout Plain Layout
32070 \begin_inset Index idx
32073 \begin_layout Plain Layout
32082 \begin_layout Standard
32083 Footnotes can be inserted using the toolbar button
32086 arg "footnote-insert"
32091 Insert\SpecialChar menuseparator
32095 You will then see the following footnote-box:
32096 \begin_inset Graphics
32097 filename clipart/footnote.png
32099 scaleBeforeRotation
32107 where you can enter the footnote text.
32108 If you want to turn existing text into a footnote, mark it and click on
32134 key when the cursor is in the first position of a
32146 key when the cursor is in the very last position of the
32157 \begin_layout Standard
32158 Here is an example footnote:
32166 \begin_layout Plain Layout
32167 \begin_inset CommandInset label
32169 name "foot:This-is-an"
32173 This is an example footnote.
32186 \begin_layout Plain Layout
32190 newcounter{MyRepeatFoot}
32193 \begin_layout Plain Layout
32197 setcounter{MyRepeatFoot}{
32207 \begin_layout Standard
32208 The footnote will appear in the output as a superscript number at the text
32209 position where the footnote box is placed.
32210 The footnote text is placed at the bottom of the current page.
32211 The footnote number is calculated by \SpecialChar LaTeX
32212 ; the numbers are consecutive.
32213 Whether the footnote number is reset for every chapter depends on your
32217 \begin_layout Standard
32218 Footnotes can be referenced like floats: Insert a label into the footnote
32219 and cross-reference this label in the text as described in section
32220 \begin_inset space ~
32224 \begin_inset CommandInset ref
32226 reference "sec:Referencing-Floats"
32231 \begin_inset Newline newline
32234 This is a cross-reference of Footnote
32235 \begin_inset space ~
32239 \begin_inset CommandInset ref
32241 reference "foot:This-is-an"
32248 \begin_layout Standard
32249 \begin_inset VSpace defskip
32252 Footnotes in title environments are usually not numbered with symbols and
32253 they cannot contain several paragraphs.
32254 See for example the footnote in the titling of this document.
32257 \begin_layout Standard
32258 Footnotes in multi-page tables are described in section
32259 \begin_inset space ~
32263 \begin_inset CommandInset ref
32265 reference "subsec:Footnotes-in-Multi-page"
32272 \begin_layout Standard
32273 \begin_inset VSpace defskip
32279 \begin_layout Standard
32280 Footnotes in minipage boxes are printed, but inside the box and with a different
32281 numbering because a minipage box is like a page inside a page.
32282 (For more about minipages, see section
32283 \begin_inset space ~
32287 \begin_inset CommandInset ref
32289 reference "sec:Minipages"
32293 .) To get a footnote in the minipage that is output at the bottom of the
32294 page like normal footnotes use this method: Instead of the footnote the
32301 is inserted as \SpecialChar TeX
32303 The text of the footnote is entered as an argument of the \SpecialChar TeX
32311 after the minipage.
32312 \begin_inset Newline newline
32315 This was done for the following minipage with the command
32318 \begin_layout Standard
32325 Footnote outside the minipage.
32330 \begin_layout Standard
32331 \begin_inset Box Frameless
32341 height_special "totalheight"
32346 backgroundcolor "none"
32349 \begin_layout Plain Layout
32350 This an example text in a minipage.
32354 \begin_layout Plain Layout
32355 Footnote in the minipage.
32363 \begin_layout Plain Layout
32364 This an example text in a minipage.
32368 \begin_layout Plain Layout
32385 \begin_layout Standard
32389 \begin_layout Plain Layout
32398 Footnote outside the minipage.
32402 \begin_layout Plain Layout
32412 \begin_layout Standard
32413 \begin_inset VSpace defskip
32419 \begin_layout Standard
32420 To refer to the same footnote several times without printing the footnote
32421 text every time, use the command
32425 footnotemark[number]
32427 in \SpecialChar TeX
32429 \begin_inset Newline newline
32432 As you do not know the number of the repeating footnote while you are writing
32433 the text, you have to store its number.
32434 For the following footnote mark example, these commands were inserted in
32436 code after Footnote
32437 \begin_inset space ~
32441 \begin_inset CommandInset ref
32443 reference "foot:This-is-an"
32447 to store the footnote number:
32450 \begin_layout Standard
32455 newcounter{MyRepeatFoot}
32456 \begin_inset Newline newline
32461 setcounter{MyRepeatFoot}{
32466 \begin_layout Standard
32467 The footnote mark was then created with this command:
32470 \begin_layout Standard
32480 \begin_layout Standard
32481 Here is a repeated footnote:
32489 \begin_layout Plain Layout
32503 \begin_layout Standard
32504 If you want to repeat the previous footnote, you can omit the storage of
32505 the footnote number and just use this command instead:
32508 \begin_layout Standard
32518 \begin_layout Standard
32519 Here is another repeated footnote:
32527 \begin_layout Plain Layout
32541 \begin_layout Subsection
32543 \begin_inset CommandInset label
32545 name "subsec:Footnote-Numbering"
32550 \begin_inset Index idx
32553 \begin_layout Plain Layout
32554 Footnotes ! Numbering
32562 \begin_layout Standard
32563 To reset the footnote number back to 1 after each section
32565 , add this command to your document preamble:
32568 \begin_layout Standard
32573 @addtoreset{footnote}{section}
32576 \begin_layout Standard
32577 \begin_inset VSpace bigskip
32580 The following preamble command changes the footnote numbering style to small
32584 \begin_layout Standard
32596 \begin_layout Standard
32600 \begin_layout Plain Layout
32613 This is a footnote with roman numbering:
32617 \begin_layout Plain Layout
32618 This is an example footnote with roman numbering.
32626 \begin_layout Standard
32627 To change the numbering style to capital roman numerals replace in the command
32642 \begin_inset Quotes eld
32646 \begin_inset Quotes erd
32649 footnotes with capital or small Latin letters use
32663 \begin_inset Quotes eld
32667 \begin_inset Quotes erd
32670 footnotes with symbols use
32679 \begin_layout Standard
32680 \begin_inset Note Greyedout
32683 \begin_layout Plain Layout
32688 You can only number 26 footnotes with Latin letters, because this numbering
32689 is limited to single letters.
32695 \begin_inset Newline newline
32699 \begin_inset Note Greyedout
32702 \begin_layout Plain Layout
32707 You can only number 9 footnotes with symbols.
32715 \begin_layout Standard
32716 To return to the default numbering style after you have changed to another
32729 in the command above.
32733 \begin_layout Plain Layout
32749 \begin_layout Standard
32750 \begin_inset VSpace bigskip
32756 \begin_layout Standard
32757 If you want to have footnotes numbered in the scheme
32758 \begin_inset Quotes eld
32762 \begin_inset Quotes erd
32765 , add the following command to your document preamble:
32768 \begin_layout Standard
32773 numberwithin{footnote}{chapter}
32776 \begin_layout Standard
32777 To be able to use the command
32786 \begin_inset space ~
32791 in the document settings the option
32794 \begin_inset space ~
32798 \begin_inset space ~
32802 \begin_inset space ~
32810 \begin_layout Standard
32814 \begin_layout Plain Layout
32818 numberwithin{footnote}{chapter}
32823 This is another example footnote:
32829 \begin_layout Plain Layout
32830 This is a footnote numbered in the scheme
32831 \begin_inset Quotes eld
32835 \begin_inset Quotes erd
32849 \begin_layout Plain Layout
32865 \begin_layout Standard
32866 \begin_inset Note Greyedout
32869 \begin_layout Plain Layout
32880 always prints out the footnote number as arabic number; previous redefinitions
32881 to get non-arabic numbers are overwritten.
32889 \begin_layout Standard
32890 So to get for example the scheme
32891 \begin_inset Quotes eld
32897 \begin_inset Quotes erd
32900 , use this command instead of
32909 \begin_layout Standard
32923 \begin_layout Subsection
32925 \begin_inset Index idx
32928 \begin_layout Plain Layout
32929 Footnotes ! Placement
32937 \begin_layout Standard
32938 If you have several footnotes in one page, they appear without vertical
32939 space between them at the bottom of the page.
32940 To make them more readable you can e.
32941 \begin_inset space \thinspace{}
32945 \begin_inset space \space{}
32949 \begin_inset space \thinspace{}
32952 mm space with the following preamble command:
32955 \begin_layout Standard
32965 \begin_inset Newline newline
32979 \begin_layout Standard
32980 \begin_inset VSpace bigskip
32983 In a two-column document the footnotes appear at the bottom of every column,
32985 \begin_inset space ~
32989 \begin_inset CommandInset ref
32991 reference "fig:Standard-footnote-placement"
32996 If the footnotes should only appear at the bottom of the right column,
32998 \begin_inset space ~
33002 \begin_inset CommandInset ref
33004 reference "fig:Footnote-placement-in"
33008 , use the \SpecialChar LaTeX
33014 \begin_inset Index idx
33017 \begin_layout Plain Layout
33019 -packages ! ftnright
33024 with this command in the document preamble:
33027 \begin_layout Standard
33032 usepackage{ftnright}
33035 \begin_layout Standard
33036 \begin_inset Float figure
33043 \begin_layout Plain Layout
33046 \begin_inset Box Boxed
33056 height_special "totalheight"
33061 backgroundcolor "none"
33064 \begin_layout Plain Layout
33065 \begin_inset Graphics
33066 filename clipart/without_fntright.pdf
33068 scaleBeforeRotation
33080 \begin_layout Plain Layout
33081 \begin_inset Caption Standard
33083 \begin_layout Plain Layout
33084 \begin_inset CommandInset label
33086 name "fig:Standard-footnote-placement"
33090 Standard footnote placement in two-column documents.
33103 \begin_layout Standard
33104 \begin_inset Float figure
33111 \begin_layout Plain Layout
33114 \begin_inset Box Boxed
33124 height_special "totalheight"
33129 backgroundcolor "none"
33132 \begin_layout Plain Layout
33133 \begin_inset Graphics
33134 filename clipart/with_fntright.pdf
33136 scaleBeforeRotation
33148 \begin_layout Plain Layout
33149 \begin_inset Caption Standard
33151 \begin_layout Plain Layout
33152 \begin_inset CommandInset label
33154 name "fig:Footnote-placement-in"
33158 Footnote placement in two-column documents when the \SpecialChar LaTeX
33176 \begin_layout Standard
33177 \begin_inset VSpace bigskip
33180 In some scientific literature it is usual to collect the footnotes and print
33181 them in a separate paragraph at the end of a section, as in Figure
33182 \begin_inset space ~
33186 \begin_inset CommandInset ref
33188 reference "fig:Endnotes"
33193 They are then called
33194 \begin_inset Quotes eld
33198 \begin_inset Quotes erd
33202 \begin_inset Index idx
33205 \begin_layout Plain Layout
33211 To use endnotes instead of footnotes in your document, load in the menu
33214 Document\SpecialChar menuseparator
33215 Settings\SpecialChar menuseparator
33221 \begin_inset space ~
33225 \begin_inset space ~
33231 To insert the collected footnotes, insert the command
33234 \begin_layout Standard
33242 \begin_layout Standard
33243 in \SpecialChar TeX
33244 Code at the end of a section or chapter.
33247 \begin_layout Standard
33248 \begin_inset Float figure
33255 \begin_layout Plain Layout
33258 \begin_inset Box Boxed
33268 height_special "totalheight"
33273 backgroundcolor "none"
33276 \begin_layout Plain Layout
33277 \begin_inset Graphics
33278 filename clipart/endnotes.pdf
33280 scaleBeforeRotation
33292 \begin_layout Plain Layout
33293 \begin_inset Caption Standard
33295 \begin_layout Plain Layout
33296 \begin_inset CommandInset label
33298 name "fig:Endnotes"
33302 Endnotes – footnotes are printed in a separate paragraph at the end of sections
33316 \begin_layout Standard
33317 \begin_inset VSpace medskip
33320 The paragraph heading for the endnotes isn't automatically translated into
33321 the document language, this must be done manually.
33322 The following preamble command translates the default English
33323 \begin_inset Quotes eld
33327 \begin_inset Quotes erd
33331 \begin_inset Quotes eld
33335 \begin_inset Quotes erd
33341 \begin_layout Standard
33348 notesname}{Anmerkungen}
33351 \begin_layout Standard
33352 \begin_inset VSpace medskip
33355 The numbering of endnotes can be changed like the footnote numbering as
33356 described in section
33357 \begin_inset space ~
33361 \begin_inset CommandInset ref
33363 reference "subsec:Footnote-Numbering"
33367 ; just replace the command
33380 To reset the endnote number use the command
33386 as described in section
33387 \begin_inset space ~
33391 \begin_inset CommandInset ref
33393 reference "subsec:Footnote-Numbering"
33397 and replace the command parameter
33408 \begin_layout Standard
33409 For endnotes there is the command
33413 endnotemark[number]
33415 similar to the command
33421 , that is described in section
33422 \begin_inset space ~
33426 \begin_inset CommandInset ref
33428 reference "sec:Footnotes"
33435 \begin_layout Standard
33436 \begin_inset VSpace bigskip
33439 Footnotes can also be placed in the page margin and the footnote text alignment
33440 can be changed, see the \SpecialChar LaTeX
33446 \begin_inset Index idx
33449 \begin_layout Plain Layout
33451 -packages ! footmisc
33457 \begin_inset CommandInset citation
33464 for more information about this.
33467 \begin_layout Standard
33468 For various further footnote formatting issues have a look at \SpecialChar LaTeX
33470 \begin_inset CommandInset citation
33472 key "latexcompanion,latexguide,latexbook"
33483 \begin_inset Index idx
33486 \begin_layout Plain Layout
33488 -packages ! KOMA-Script
33493 document class, you can adjust all footnote settings using class-specific
33495 \begin_inset CommandInset citation
33505 \begin_layout Section
33507 \begin_inset Index idx
33510 \begin_layout Plain Layout
33511 Notes ! Margin Notes
33519 \begin_layout Standard
33520 Margin notes look and behave in \SpecialChar LyX
33522 They are inserted via the menu
33524 Insert\SpecialChar menuseparator
33526 \begin_inset space ~
33531 or the toolbar button
33534 arg "marginalnote-insert"
33548 \begin_inset Quotes eld
33552 \begin_inset Quotes erd
33555 appears where you can enter the text of the margin note.
33558 \begin_layout Standard
33559 At the side is an example margin note.
33564 \begin_inset Marginal
33567 \begin_layout Plain Layout
33568 This is a margin note.
33576 \begin_layout Standard
33577 Margin notes appear at the right side in single-sided documents.
33578 In double-sided documents they appear in the outer margin – left on even
33579 pages, right on odd pages.
33580 The text of margin notes is aligned opposite to the outer margin – right-aligne
33581 d when the note appears in the left margin.
33582 The first line of the margin note is placed at the position of the text
33583 line where it is inserted in the document.
33586 \begin_layout Standard
33587 \begin_inset VSpace bigskip
33590 To place the margin note in the inner margin, add the command
33593 \begin_layout Standard
33601 \begin_layout Standard
33602 in \SpecialChar TeX
33603 Code before a margin note.
33604 The new placement is valid for all subsequent margin notes.
33609 \begin_layout Plain Layout
33619 \begin_inset Marginal
33622 \begin_layout Plain Layout
33623 This is a margin note in the inner margin.
33631 \begin_inset Newline newline
33637 \begin_inset Note Greyedout
33640 \begin_layout Plain Layout
33645 There is often not enough space in the inner margin so that the notes are
33646 not correctly displayed in the output.
33654 \begin_layout Standard
33655 To return to the default placement insert the command
33658 \begin_layout Standard
33666 \begin_layout Standard
33667 in \SpecialChar TeX
33672 \begin_layout Plain Layout
33682 \begin_inset Note Greyedout
33685 \begin_layout Plain Layout
33690 The command is ignored when it is within a paragraph where also the command
33705 \begin_layout Standard
33706 \begin_inset VSpace bigskip
33713 \begin_inset Marginal
33716 \begin_layout Plain Layout
33717 AVeryLongMarginParWord that isn't hyphenated.
33725 Similar to the case described in section
33726 \begin_inset space ~
33730 \begin_inset CommandInset ref
33732 reference "subsec:Multiple-Lines-in"
33736 , long words cannot be hyphenated when they are the first word in a margin
33738 To avoid this, insert 0
33739 \begin_inset space \thinspace{}
33742 pt horizontal space before the word
33747 \begin_inset Marginal
33750 \begin_layout Plain Layout
33751 \begin_inset space \hspace*{}
33755 AVeryLongMarginParWord that is hyphenated.
33763 \begin_layout Standard
33764 \begin_inset VSpace bigskip
33770 \begin_layout Standard
33771 \begin_inset Note Greyedout
33774 \begin_layout Plain Layout
33779 Margin notes can normally not be used inside tables, floats, and footnotes.
33787 \begin_layout Standard
33788 \begin_inset VSpace bigskip
33794 \begin_layout Standard
33798 \begin_layout Plain Layout
33808 \begin_inset Note Note
33811 \begin_layout Plain Layout
33812 The following section will only be displayed when the \SpecialChar LaTeX
33825 \begin_layout Standard
33826 This restriction can be evaded by using the \SpecialChar LaTeX
33832 \begin_inset Index idx
33835 \begin_layout Plain Layout
33837 -packages ! marginnote
33843 By adding these two lines to your document preamble, the command used by
33845 for margin notes is redefined to use the command provided by the
33852 \begin_layout Standard
33857 usepackage{marginnote}
33858 \begin_inset Newline newline
33870 \begin_layout Standard
33871 This is also used in this document because
33875 has another useful feature: You can set a vertical offset for the note.
33876 This is often needed when too many margin notes are too close together
33877 or for a better page layout.
33878 The offset is set in \SpecialChar LyX
33879 as \SpecialChar TeX
33880 Code directly after the margin note in the scheme
33883 \begin_layout Standard
33889 \begin_layout Standard
33890 where the offset is a length with one of the units listed in Table
33891 \begin_inset space ~
33895 \begin_inset CommandInset ref
33897 reference "tab:Units"
33902 A negative value shifts the note up, a positive value shifts it down.
33906 For example the margin note beside this text line is shifted up 1.5
33907 \begin_inset space \thinspace{}
33910 cm with the \SpecialChar TeX
33912 \begin_inset Quotes eld
33922 \begin_inset Quotes erd
33926 \begin_inset Marginal
33929 \begin_layout Plain Layout
33930 This margin note is shifted up 1.5
33931 \begin_inset space \thinspace{}
33934 cm from its original position.
33946 \begin_layout Plain Layout
33956 \begin_layout Standard
33957 \begin_inset VSpace medskip
33964 you can also change the alignment of the text in the margin note.
33965 For example the commands
33968 \begin_layout Standard
33975 raggedleftmarginnote}{
33978 \begin_inset Newline newline
33985 raggedrightmarginnote}{
33990 \begin_layout Standard
33991 set the alignment to centered.
33996 raggedleftmarginnote
33998 denotes margin notes that appear at the left side.
34005 \begin_layout Plain Layout
34011 raggedleftmarginnote}{
34016 \begin_layout Plain Layout
34022 raggedrightmarginnote}{
34030 \begin_inset Marginal
34033 \begin_layout Plain Layout
34034 The text of this margin note is centered.
34045 \begin_layout Standard
34052 raggedleftmarginnote}{
34055 \begin_inset Newline newline
34062 raggedrightmarginnote}{
34071 \begin_layout Plain Layout
34077 raggedleftmarginnote}{
34082 \begin_layout Plain Layout
34088 raggedrightmarginnote}{
34098 \begin_layout Standard
34099 \begin_inset VSpace medskip
34102 For the other features of
34106 refer to its documentation
34107 \begin_inset CommandInset citation
34117 \begin_layout Standard
34118 \begin_inset VSpace bigskip
34121 You can adjust the layout of margin notes by changing its definition.
34122 To create for example a header for all margin notes with the underlined,
34123 sans-serif, and bold header text
34124 \begin_inset Quotes eld
34136 \begin_inset Quotes erd
34139 , add this to your document preamble:
34142 \begin_layout Standard
34152 \begin_inset Newline newline
34162 \begin_inset Newline newline
34166 \begin_inset Phantom HPhantom
34169 \begin_layout Plain Layout
34172 \begin_inset space ~
34188 underbar{Attention!}}}%
34189 \begin_inset Newline newline
34193 \begin_inset Phantom HPhantom
34196 \begin_layout Plain Layout
34199 \begin_inset space ~
34216 \begin_layout Standard
34223 \begin_layout Plain Layout
34234 \begin_layout Plain Layout
34245 \begin_layout Plain Layout
34253 underbar{Attention!}}}%
34256 \begin_layout Plain Layout
34270 \begin_inset Marginal
34273 \begin_layout Plain Layout
34274 This is a margin note with a defined heading.
34286 \begin_layout Plain Layout
34300 \begin_layout Plain Layout
34317 \begin_inset Note Note
34320 \begin_layout Plain Layout
34321 The margin note format is changed only for this example.
34329 \begin_layout Standard
34333 \begin_layout Plain Layout
34343 \begin_inset Note Note
34346 \begin_layout Plain Layout
34347 The following will be displayed when the \SpecialChar LaTeX
34360 \begin_layout Standard
34361 You need to install the \SpecialChar LaTeX
34366 to see the following part of this section in the output.
34369 \begin_layout Standard
34373 \begin_layout Plain Layout
34385 \begin_layout Chapter
34389 \begin_layout Section
34391 \begin_inset Index idx
34394 \begin_layout Plain Layout
34395 Boxes ! Introduction
34403 \begin_layout Standard
34404 Boxes are used to format a block of text.
34405 Boxes can be used to write documents with multiple languages, see section
34406 \begin_inset space ~
34410 \begin_inset CommandInset ref
34412 reference "sec:Minipages"
34416 , to frame texts, see section
34417 \begin_inset space ~
34421 \begin_inset CommandInset ref
34423 reference "sec:Decoration"
34427 , to prevent words from being hyphenated, see section
34428 \begin_inset space ~
34432 \begin_inset CommandInset ref
34434 reference "sec:Prevent-Hyphenation"
34438 , to align text, see section
34439 \begin_inset space ~
34443 \begin_inset CommandInset ref
34445 reference "subsec:Vertical-Alignment"
34449 , or to set the background color of texts, see section
34450 \begin_inset space ~
34454 \begin_inset CommandInset ref
34456 reference "sec:Colored-Boxes"
34463 \begin_layout Standard
34464 Boxes can be inserted with the menu
34466 Insert\SpecialChar menuseparator
34469 or the toolbar button
34472 arg "box-insert Frameless"
34476 A grey box with the label
34481 \begin_inset Graphics
34482 filename clipart/BoxInsetDefault.png
34484 scaleBeforeRotation
34489 The box type can be specified by right-clicking on the box and selecting
34495 The box dialog offers the
34498 \begin_inset space ~
34520 is the default for new boxes and is explained in section
34521 \begin_inset space ~
34525 \begin_inset CommandInset ref
34527 reference "sec:Minipages"
34535 is described in section
34536 \begin_inset space ~
34540 \begin_inset CommandInset ref
34542 reference "sec:Parboxes"
34551 \begin_inset CommandInset ref
34553 reference "sec:Prevent-Hyphenation"
34560 \begin_layout Standard
34561 Boxes are not numbered and can therefore not be referenced like floats or
34565 \begin_layout Standard
34566 \begin_inset Note Greyedout
34569 \begin_layout Plain Layout
34574 Boxes must not be the item in an
34590 \begin_layout Standard
34591 \begin_inset Note Greyedout
34594 \begin_layout Plain Layout
34599 For an unknown reason you can only set the
34602 \begin_inset space ~
34611 when you use a framed box.
34615 \begin_inset space ~
34620 type and without frames are explained in section
34621 \begin_inset space ~
34625 \begin_inset CommandInset ref
34627 reference "sec:Prevent-Hyphenation"
34639 \begin_layout Section
34641 \begin_inset CommandInset label
34643 name "sec:Box-Dialog"
34648 \begin_inset Index idx
34651 \begin_layout Plain Layout
34660 \begin_layout Subsection
34662 \begin_inset Index idx
34665 \begin_layout Plain Layout
34674 \begin_layout Standard
34675 In the box dialog you can adjust the box geometry in the fields
34684 The available units for the geometry are explained in Table
34685 \begin_inset space ~
34689 \begin_inset CommandInset ref
34691 reference "tab:Units"
34700 offers the following additional sizes:
34703 \begin_layout Description
34704 Depth This is the plain text
34705 \begin_inset Quotes eld
34709 \begin_inset Quotes erd
34713 It ignores the total depth when there are multiple text lines in the box:
34714 \begin_inset Newline newline
34718 \begin_inset Newline newline
34722 \begin_inset Newline newline
34726 \begin_inset Box Boxed
34736 height_special "depth"
34741 backgroundcolor "none"
34744 \begin_layout Plain Layout
34746 Box height set to 1
34747 \begin_inset space \thinspace{}
34756 \begin_inset Newline newline
34760 \begin_inset Newline newline
34766 \begin_layout Description
34767 Height This is the height of the text that is inside the box.
34769 \begin_inset space \thinspace{}
34773 \begin_inset space \space{}
34776 2 for this size will set the box height to 2
34777 \begin_inset space ~
34780 times the text height:
34781 \begin_inset Box Boxed
34791 height_special "height"
34796 backgroundcolor "none"
34799 \begin_layout Plain Layout
34801 Box height set to 2
34802 \begin_inset space \thinspace{}
34813 \begin_layout Description
34815 \begin_inset space ~
34818 Height This is the Height
34819 \begin_inset space \thinspace{}
34823 \begin_inset space \thinspace{}
34827 \begin_inset Box Boxed
34837 height_special "totalheight"
34842 backgroundcolor "none"
34845 \begin_layout Plain Layout
34847 Box height set to 1
34848 \begin_inset space \thinspace{}
34852 \begin_inset space ~
34863 \begin_layout Description
34864 Width This sets the width of the box as height:
34865 \begin_inset Box Boxed
34875 height_special "width"
34880 backgroundcolor "none"
34883 \begin_layout Plain Layout
34885 Box height set to 1
34886 \begin_inset space \thinspace{}
34897 \begin_layout Subsection
34899 \begin_inset Index idx
34902 \begin_layout Plain Layout
34911 \begin_layout Standard
34912 When you have chosen an
34915 \begin_inset space ~
34920 , the vertical box alignment can be:
34923 \begin_layout Description
34924 Top This is an example text line.
34926 \begin_inset Box Boxed
34936 height_special "totalheight"
34941 backgroundcolor "none"
34944 \begin_layout Plain Layout
34946 This box is top-aligned.
34951 This is an example text line.
34954 \begin_layout Description
34955 Middle This is an example text line.
34957 \begin_inset Box Boxed
34967 height_special "totalheight"
34972 backgroundcolor "none"
34975 \begin_layout Plain Layout
34977 This box is middle-aligned.
34982 This is an example text line.
34985 \begin_layout Description
34986 Bottom This is an example text line.
34988 \begin_inset Box Boxed
34998 height_special "totalheight"
35003 backgroundcolor "none"
35006 \begin_layout Plain Layout
35008 This box is bottom-aligned.
35013 This is an example text line.
35016 \begin_layout Standard
35017 \begin_inset Note Greyedout
35020 \begin_layout Plain Layout
35025 The vertical box alignment can be lost in the output when you have two
35026 boxes in a line and one has e.
35027 \begin_inset space \thinspace{}
35031 \begin_inset space \space{}
35034 a shadow and the other one not.
35042 \begin_layout Standard
35043 The horizontal box alignment can be set via \SpecialChar LyX
35044 's paragraph dialog when you
35045 set the box into its own paragraph.
35048 \begin_layout Standard
35049 \begin_inset VSpace bigskip
35052 When you have chosen an
35055 \begin_inset space ~
35060 , the box content can be aligned vertically to:
35063 \begin_layout Description
35064 top This is an example text line.
35066 \begin_inset Box Boxed
35076 height_special "totalheight"
35081 backgroundcolor "none"
35084 \begin_layout Plain Layout
35086 This box text is top-aligned.
35091 This is an example text line.
35094 \begin_layout Description
35095 middle This is an example text line.
35097 \begin_inset Box Boxed
35107 height_special "totalheight"
35112 backgroundcolor "none"
35115 \begin_layout Plain Layout
35117 This box text is middle-aligned.
35122 This is an example text line.
35125 \begin_layout Description
35126 bottom This is an example text line.
35128 \begin_inset Box Boxed
35138 height_special "totalheight"
35143 backgroundcolor "none"
35146 \begin_layout Plain Layout
35148 This box text is bottom-aligned.
35153 This is an example text line.
35156 \begin_layout Description
35157 stretch This is an example text line.
35159 \begin_inset Box Boxed
35169 height_special "totalheight"
35174 backgroundcolor "none"
35177 \begin_layout Plain Layout
35182 \begin_layout Plain Layout
35187 \begin_layout Plain Layout
35194 This is an example text line.
35197 \begin_layout Standard
35198 To stretch the box content, it must consist of more than one paragraph.
35199 In the example above every text line is in an own paragraph.
35202 \begin_layout Standard
35203 \begin_inset VSpace bigskip
35206 To align the box content horizontally you can use \SpecialChar LyX
35207 's paragraph dialog when
35211 \begin_inset space ~
35219 \begin_layout Standard
35221 \begin_inset Box Boxed
35231 height_special "totalheight"
35236 backgroundcolor "none"
35239 \begin_layout Plain Layout
35244 \begin_layout Plain Layout
35249 \begin_layout Plain Layout
35259 \begin_layout Standard
35260 If you have not set an
35263 \begin_inset space ~
35268 , you can align the box content horizontally in the box dialog.
35271 \begin_layout Standard
35273 \begin_inset Box Boxed
35283 height_special "totalheight"
35288 backgroundcolor "none"
35291 \begin_layout Plain Layout
35292 This box text is horizontally stretched.
35300 \begin_layout Subsection
35302 \begin_inset CommandInset label
35304 name "sec:Decoration"
35309 \begin_inset Index idx
35312 \begin_layout Plain Layout
35321 \begin_layout Standard
35322 The type of the box can be specified in the box dialog in the drop-down
35328 The following types are possible:
35331 \begin_layout Description
35333 \begin_inset space ~
35336 frame Nothing is drawn.
35339 \begin_layout Description
35341 \begin_inset space ~
35345 \begin_inset space ~
35348 frame This draws a rectangular frame around the box.
35349 The frame line thickness can be specified.
35351 \begin_inset Box Boxed
35361 height_special "totalheight"
35366 backgroundcolor "none"
35369 \begin_layout Plain Layout
35379 \begin_layout Description
35381 \begin_inset space ~
35385 \begin_inset space ~
35388 thin This draws an oval frame around the box.
35389 The frame line thickness has the size 0.4
35390 \begin_inset space \thinspace{}
35395 \begin_inset Box ovalbox
35405 height_special "totalheight"
35410 backgroundcolor "none"
35413 \begin_layout Plain Layout
35423 \begin_layout Description
35425 \begin_inset space ~
35429 \begin_inset space ~
35432 thick This draws an oval frame around the box.
35433 The frame line thickness has the size 0.8
35434 \begin_inset space \thinspace{}
35439 \begin_inset Box Ovalbox
35449 height_special "totalheight"
35454 backgroundcolor "none"
35457 \begin_layout Plain Layout
35467 \begin_layout Description
35469 \begin_inset space ~
35472 shadow This draws a rectangular frame with a shadow around the box.
35473 The frame line thickness and the shadow can be specified.
35475 \begin_inset Box Shadowbox
35485 height_special "totalheight"
35490 backgroundcolor "none"
35493 \begin_layout Plain Layout
35503 \begin_layout Description
35505 \begin_inset space ~
35508 background This draws a box with a red background.
35509 Unlike colored boxes
35513 \begin_layout Plain Layout
35515 \begin_inset space \thinspace{}
35519 \begin_inset CommandInset ref
35521 reference "sec:Colored-Boxes"
35530 , it always uses the whole column width and the box is set as its own paragraph.
35532 \begin_inset Box Shaded
35542 height_special "totalheight"
35547 backgroundcolor "none"
35550 \begin_layout Plain Layout
35551 Shaded background box
35559 \begin_layout Description
35561 \begin_inset space ~
35565 \begin_inset space ~
35568 frame This draws a double-line rectangular frame around the box.
35569 The line thickness of the inner frame is 0.75
35570 \begin_inset space \thinspace{}
35574 \begin_inset space ~
35577 thickness, the thickness of the outer frame is 1.5
35578 \begin_inset space \thinspace{}
35582 \begin_inset space ~
35586 The distance between the lines is 1.5
35587 \begin_inset space \thinspace{}
35591 \begin_inset space ~
35595 \begin_inset space \thinspace{}
35599 \begin_inset space \thinspace{}
35603 \begin_inset space \thinspace{}
35608 \begin_inset Box Doublebox
35618 height_special "totalheight"
35623 backgroundcolor "none"
35626 \begin_layout Plain Layout
35628 Double rectangular box
35636 \begin_layout Standard
35637 \begin_inset VSpace bigskip
35641 's box label will reflect the different frame types.
35642 To be able to use all types, the \SpecialChar LaTeX
35648 \begin_inset Index idx
35651 \begin_layout Plain Layout
35653 -packages ! fancybox
35661 \begin_layout Standard
35662 \begin_inset VSpace bigskip
35665 When you use the decoration
35667 simple rectangular frame
35669 and no inner box, you can allow page breaks within a box.
35670 Note that then, unlike other framed boxes, the frame always uses the whole
35671 column width and the box is set as its own paragraph:
35672 \begin_inset Box Framed
35682 height_special "totalheight"
35687 backgroundcolor "none"
35690 \begin_layout Plain Layout
35691 Allow page break box
35699 \begin_layout Section
35701 \begin_inset Index idx
35704 \begin_layout Plain Layout
35705 Boxes ! Customization
35713 \begin_layout Standard
35714 The diameter of the round corners of the oval boxes can be set with the
35725 \begin_layout Standard
35733 \begin_layout Standard
35734 sets the diameter to 1
35735 \begin_inset space \thinspace{}
35742 \begin_layout Standard
35750 \begin_layout Standard
35751 sets the diameter to
35754 \begin_inset space \thinspace{}
35758 \begin_inset space \thinspace{}
35761 minimum(width and height of box)
35773 \begin_layout Standard
35777 \begin_layout Plain Layout
35787 \begin_inset Box Ovalbox
35797 height_special "totalheight"
35802 backgroundcolor "none"
35805 \begin_layout Plain Layout
35814 \begin_inset space \thinspace{}
35818 \begin_inset space \thinspace{}
35822 \begin_inset space \thinspace{}
35834 \begin_layout Plain Layout
35846 \begin_layout Standard
35847 \begin_inset VSpace bigskip
35853 \begin_layout Standard
35854 The default background color red of
35858 boxes can either be changed locally with the command
35862 definecolor{shadecolor}
35864 or globally with the menu
35866 Tools\SpecialChar menuseparator
35867 Preferences\SpecialChar menuseparator
35868 Colors\SpecialChar menuseparator
35870 \begin_inset space ~
35882 command is explained in section
35883 \begin_inset space ~
35887 \begin_inset CommandInset ref
35889 reference "sec:Colored-Tables"
35897 \begin_layout Plain Layout
35904 requires the \SpecialChar LaTeX
35909 in the preamble, see section
35910 \begin_inset space ~
35914 \begin_inset CommandInset ref
35916 reference "sec:Colored-Boxes"
35925 For example the appearance of the following shaded background box is set
35926 with the \SpecialChar TeX
35930 \begin_layout Standard
35935 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
35938 \begin_layout Standard
35942 \begin_layout Plain Layout
35946 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
35952 \begin_inset Box Shaded
35962 height_special "totalheight"
35967 backgroundcolor "none"
35970 \begin_layout Plain Layout
35973 This is yellow text in a
35983 box with dark green background.
35992 \begin_layout Plain Layout
35996 definecolor{shadecolor}{rgb}{1,0,0}
36004 \begin_layout Standard
36005 \begin_inset VSpace bigskip
36008 Manually changed sizes and colors are valid for all boxes following the
36009 commands that change them.
36012 \begin_layout Section
36014 \begin_inset CommandInset label
36016 name "sec:Minipages"
36021 \begin_inset Index idx
36024 \begin_layout Plain Layout
36033 \begin_layout Standard
36034 Minipages are treated by \SpecialChar LaTeX
36035 as pages within pages and can therefore for example
36036 have their own footnotes.
36039 \begin_layout Standard
36040 Minipages are useful when you write documents with different languages.
36043 \begin_layout Standard
36044 Below are two example minipages side by side.
36045 Their width is set to 45
36046 \begin_inset space \thinspace{}
36049 col% and they are separated by a horizontal fill, that was inserted via
36052 Insert\SpecialChar menuseparator
36054 \begin_inset space ~
36057 Formatting\SpecialChar menuseparator
36059 \begin_inset space ~
36065 \begin_inset Newpage newpage
36071 \begin_layout Standard
36072 \begin_inset Box Frameless
36082 height_special "totalheight"
36087 backgroundcolor "none"
36090 \begin_layout Plain Layout
36093 Dies ist ein deutscher Text.
36094 Dies ist ein deutscher Text.
36095 Dies ist ein deutscher Text.
36096 Dies ist ein deutscher Text.
36097 Dies ist ein deutscher Text.
36098 Dies ist ein deutscher Text.
36099 Dies ist ein deutscher Text.
36100 Dies ist ein deutscher Text.
36101 Dies ist ein deutscher Text.
36102 Dies ist ein deutscher Text.
36103 Dies ist ein deutscher Text.
36104 Dies ist ein deutscher Text.
36105 Dies ist ein deutscher Text
36109 \begin_layout Plain Layout
36112 Dies ist eine deutsche Fußnote.
36118 Dies ist ein deutscher Text.
36119 Dies ist ein deutscher Text.
36125 \begin_inset space \hfill{}
36129 \begin_inset Box Frameless
36139 height_special "totalheight"
36144 backgroundcolor "none"
36147 \begin_layout Plain Layout
36148 This is an English Text.
36149 This is an English Text.
36150 This is an English Text.
36151 This is an English Text.
36152 This is an English Text.
36153 This is an English Text.
36154 This is an English Text.
36155 This is an English Text.
36156 This is an English Text.
36157 This is an English Text.
36158 This is an English Text.
36159 This is an English Text.
36160 This is an English Text.
36161 This is an English Text.
36162 This is an English Text.
36163 This is an English Text.
36167 \begin_layout Plain Layout
36168 This is an English footnote.
36173 This is an English Text.
36181 \begin_layout Standard
36182 \begin_inset VSpace bigskip
36185 The document-wide paragraph settings are ignored within minipages.
36186 That means that there will be no space between paragraphs in minipages
36187 although you set it to e.
36188 \begin_inset space \thinspace{}
36192 \begin_inset space \space{}
36199 in the document settings.
36202 \begin_layout Standard
36203 Minipages can also be used to set a background color for text parts, see
36205 \begin_inset space ~
36209 \begin_inset CommandInset ref
36211 reference "sec:Colored-Boxes"
36218 \begin_layout Standard
36219 \begin_inset Note Greyedout
36222 \begin_layout Plain Layout
36227 You cannot have floats or margin notes inside minipages but minipages can
36228 be used inside tables, floats, and other boxes.
36236 \begin_layout Standard
36237 \begin_inset VSpace bigskip
36243 \begin_layout Standard
36245 has also basic support for minipages whose size is automatically determined
36246 by the width of their contents, via the module
36248 Variable-width Minipages
36251 The \SpecialChar LyX
36254 varwidth-floats-side-by-side
36256 gives examples of variable-width minipages used for placing two floats
36260 \begin_layout Section
36262 \begin_inset CommandInset label
36264 name "sec:Parboxes"
36269 \begin_inset Index idx
36272 \begin_layout Plain Layout
36281 \begin_layout Standard
36282 Parboxes are very similar to minipages with the difference that they cannot
36286 \begin_layout Standard
36288 \begin_inset Box Frameless
36298 height_special "totalheight"
36303 backgroundcolor "none"
36306 \begin_layout Plain Layout
36307 This a text within a parbox.
36308 This a text within a parbox.
36311 \begin_layout Plain Layout
36312 This footnote won't appear:
36316 \begin_layout Plain Layout
36317 This footnote is inside a parbox and will therefore not appear.
36330 \begin_layout Section
36331 Boxes for Words and Characters
36332 \begin_inset Index idx
36335 \begin_layout Plain Layout
36336 Boxes ! for Characters
36344 \begin_layout Subsection
36345 Prevent Hyphenation
36346 \begin_inset CommandInset label
36348 name "sec:Prevent-Hyphenation"
36353 \begin_inset Index idx
36356 \begin_layout Plain Layout
36357 Boxes ! to Prevent Hyphenation
36365 \begin_layout Standard
36366 You can use the box type
36370 to prevent words or text from being hyphenated.
36371 \begin_inset Newline newline
36374 Here is an example text:
36377 \begin_layout Standard
36378 This line is an example to show how you can prevent the hyphenation of
36379 \begin_inset Quotes eld
36383 \begin_inset Quotes erd
36389 \begin_layout Standard
36390 To prevent the hyphenation of the word
36391 \begin_inset Quotes eld
36395 \begin_inset Quotes erd
36398 , put the word into a box, set the
36401 \begin_inset space ~
36410 and use no explicit width.
36413 \begin_layout Standard
36414 This is the result:
36417 \begin_layout Standard
36418 This line is an example to show how you can prevent the hyphenation of
36419 \begin_inset Box Frameless
36429 height_special "totalheight"
36434 backgroundcolor "none"
36437 \begin_layout Plain Layout
36438 \begin_inset Quotes eld
36442 \begin_inset Quotes erd
36453 \begin_layout Standard
36454 You can alternatively set the command
36455 \begin_inset Quotes eld
36465 \begin_inset Quotes grd
36468 as \SpecialChar TeX
36469 Code directly before the word:
36472 \begin_layout Standard
36473 This line is an example to show how you can prevent the hyphenation of
36474 \begin_inset Quotes eld
36481 \begin_layout Plain Layout
36491 \begin_inset Quotes erd
36497 \begin_layout Standard
36498 Of course the word now protrudes over the side margin.
36499 To avoid this, add via the menu
36501 Insert\SpecialChar menuseparator
36502 Formatting\SpecialChar menuseparator
36504 \begin_inset space ~
36508 \begin_inset space ~
36516 arg "newline-insert newline"
36519 ) a line break before the word:
36522 \begin_layout Standard
36523 This line is an example to show how you can prevent the hyphenation of
36524 \begin_inset Newline newline
36528 \begin_inset Box Frameless
36538 height_special "totalheight"
36543 backgroundcolor "none"
36546 \begin_layout Plain Layout
36547 \begin_inset Quotes eld
36551 \begin_inset Quotes erd
36562 \begin_layout Subsection
36564 \begin_inset CommandInset label
36566 name "subsec:Vertical-Alignment"
36571 \begin_inset Index idx
36574 \begin_layout Plain Layout
36575 Boxes ! for Vertical Alignment
36581 \begin_inset Index idx
36584 \begin_layout Plain Layout
36593 \begin_layout Standard
36594 With the help of the command
36600 you can align words, characters or other boxes vertically relative to the
36608 is used with the following scheme:
36611 \begin_layout Standard
36616 raisebox{lift}[height][depth]{box content}
36619 \begin_layout Standard
36620 The lift can be a positive value to raise the box or a negative value to
36624 \begin_layout Standard
36625 To align for example the word
36626 \begin_inset Quotes eld
36630 \begin_inset Quotes erd
36633 so that the bottom of the
36634 \begin_inset Quotes eld
36638 \begin_inset Quotes erd
36642 \begin_inset Quotes eld
36646 \begin_inset Quotes erd
36649 is at the baseline, insert the command
36652 \begin_layout Standard
36662 \begin_layout Standard
36663 in \SpecialChar TeX
36664 Code before the word.
36665 After the word insert a closing brace
36666 \begin_inset Quotes eld
36674 \begin_inset Quotes erd
36677 in \SpecialChar TeX
36679 \begin_inset Newline newline
36682 This is the result:
36685 \begin_layout Standard
36686 This is a text line with the word
36690 \begin_layout Plain Layout
36702 \begin_inset Quotes eld
36706 \begin_inset Quotes erd
36713 \begin_layout Plain Layout
36723 \begin_layout Standard
36724 \begin_inset VSpace bigskip
36727 When you raise or lower characters in a line, the line distance will be
36731 \begin_layout Standard
36732 This is a text line with the word
36736 \begin_layout Plain Layout
36748 \begin_inset Quotes eld
36752 \begin_inset Quotes erd
36759 \begin_layout Plain Layout
36767 \begin_inset Newline newline
36770 This is a text line with the word
36774 \begin_layout Plain Layout
36784 \begin_inset Quotes eld
36788 \begin_inset Quotes erd
36795 \begin_layout Plain Layout
36805 \begin_layout Standard
36806 If you want to prevent this for a certain reason, set the box height to
36811 \begin_layout Standard
36821 \begin_layout Standard
36822 This is a text line with the word
36826 \begin_layout Plain Layout
36838 \begin_inset Quotes eld
36842 \begin_inset Quotes erd
36849 \begin_layout Plain Layout
36857 \begin_inset Newline newline
36861 \begin_inset Newline newline
36864 This is a text line with the word
36868 \begin_layout Plain Layout
36872 raisebox{0.5cm}[0pt]{
36878 \begin_inset Quotes eld
36882 \begin_inset Quotes erd
36889 \begin_layout Plain Layout
36899 \begin_layout Section
36901 \begin_inset CommandInset label
36903 name "sec:Colored-Boxes"
36908 \begin_inset Index idx
36911 \begin_layout Plain Layout
36920 \begin_layout Standard
36921 To color the background of a box just select the color you like in the box
36923 This is for example a box with orange background:
36924 \begin_inset Box Frameless
36934 height_special "totalheight"
36939 backgroundcolor "orange"
36942 \begin_layout Plain Layout
36943 Box with orange background
36951 \begin_layout Standard
36952 If you use the decoration
36955 \begin_inset space ~
36959 \begin_inset space ~
36964 you can set a frame color.
36965 In this case you must also specify a background color (LyX sets white as
36967 Here is an example:
36968 \begin_inset Box Boxed
36978 height_special "totalheight"
36983 backgroundcolor "yellow"
36986 \begin_layout Plain Layout
36987 Box with teal frame color and yellow background color
36995 \begin_layout Standard
36996 \begin_inset VSpace bigskip
36999 Of course you can also have colored text inside a colored box:
37000 \begin_inset Newline newline
37004 \begin_inset Box Boxed
37014 height_special "totalheight"
37019 backgroundcolor "magenta"
37022 \begin_layout Plain Layout
37025 This is colored text within a colored, framed box
37033 \begin_layout Standard
37034 \begin_inset VSpace bigskip
37040 \begin_layout Standard
37041 If you need another color than the predefined ones, you can define your
37042 own color as described in section
37043 \begin_inset space ~
37047 \begin_inset CommandInset ref
37049 reference "sec:Colored-Tables"
37054 To use your own color you must typeset the box by using TeX code:
37057 \begin_layout Standard
37058 Colored boxes without frame are created with the command
37065 It has the following scheme:
37068 \begin_layout Standard
37073 colorbox{color}{box content}
37076 \begin_layout Standard
37077 The box content can also be a box and colored boxes can also be within other
37080 \begin_inset space \thinspace{}
37084 \begin_inset space \space{}
37087 a darkgreen background for a word, insert the command
37090 \begin_layout Standard
37095 colorbox{darkgreen}{
37098 \begin_layout Standard
37099 before the word in \SpecialChar TeX
37101 After the word insert a closing brace
37102 \begin_inset Quotes eld
37110 \begin_inset Quotes erd
37113 in \SpecialChar TeX
37115 \begin_inset Newline newline
37118 This is the result:
37121 \begin_layout Standard
37122 This is a line where the word
37126 \begin_layout Plain Layout
37130 colorbox{darkgreen}{
37136 \begin_inset Quotes eld
37140 \begin_inset Quotes erd
37147 \begin_layout Plain Layout
37154 has a darkgreen background.
37157 \begin_layout Standard
37158 Framed, colored boxes are created with the command
37165 It has the following scheme:
37168 \begin_layout Standard
37173 fcolorbox{frame color}{box color}{box content}
37176 \begin_layout Section
37177 Rotated and Scaled Boxes
37180 \begin_layout Standard
37181 To use the boxes described in this section, the module
37185 must be loaded in the document settings.
37188 \begin_layout Standard
37189 \begin_inset Note Greyedout
37192 \begin_layout Plain Layout
37197 Not all DVI viewers are able to display rotated or scaled material.
37205 \begin_layout Standard
37206 \begin_inset Note Greyedout
37209 \begin_layout Plain Layout
37214 Floats are not allowed inside a rotated or scaled box.
37222 \begin_layout Subsection
37224 \begin_inset Index idx
37227 \begin_layout Plain Layout
37234 \begin_inset Index idx
37237 \begin_layout Plain Layout
37246 \begin_layout Standard
37247 To rotate material, you can put it into a
37252 Such a box is inserted via the menu
37254 Insert\SpecialChar menuseparator
37255 Custom Insets\SpecialChar menuseparator
37261 \begin_layout Standard
37262 The rotation origin can be specified via the inset
37268 Insert\SpecialChar menuseparator
37276 The following positions are possible:
37296 (top), along with meaningful combinations of the four base positions.
37301 means that the rotation origin is at the top left corner of the box.
37302 When no rotation origin is specified, the position
37307 The rotation angle is a number that can be negative that specifies the
37309 The rotation direction is counterclockwise.
37312 \begin_layout Standard
37313 In the following example
37317 was inserted to the
37325 was inserted to the
37332 \begin_layout Standard
37334 \begin_inset Flex Rotatebox
37337 \begin_layout Plain Layout
37338 \begin_inset Argument 1
37341 \begin_layout Plain Layout
37348 \begin_inset Argument 2
37351 \begin_layout Plain Layout
37365 \begin_layout Standard
37366 The box content can also be another box or an inline formula:
37369 \begin_layout Standard
37371 \begin_inset Flex Rotatebox
37374 \begin_layout Plain Layout
37375 \begin_inset Argument 1
37378 \begin_layout Plain Layout
37385 \begin_inset Argument 2
37388 \begin_layout Plain Layout
37395 \begin_inset Box Doublebox
37405 height_special "totalheight"
37410 backgroundcolor "none"
37413 \begin_layout Plain Layout
37425 \begin_inset Flex Rotatebox
37428 \begin_layout Plain Layout
37429 \begin_inset Argument 1
37432 \begin_layout Plain Layout
37439 \begin_inset Argument 2
37442 \begin_layout Plain Layout
37449 \begin_inset Formula $\int A\,\mathrm{d}x=B$
37460 \begin_layout Standard
37461 or an image or table:
37464 \begin_layout Standard
37466 \begin_inset Flex Rotatebox
37469 \begin_layout Plain Layout
37470 \begin_inset Argument 1
37473 \begin_layout Plain Layout
37480 \begin_inset Argument 2
37483 \begin_layout Plain Layout
37490 \begin_inset Graphics
37491 filename clipart/Star-structure.pdf
37502 with a rotated image
37503 \begin_inset Flex Rotatebox
37506 \begin_layout Plain Layout
37507 \begin_inset Argument 2
37510 \begin_layout Plain Layout
37517 \begin_inset Tabular
37518 <lyxtabular version="3" rows="2" columns="2">
37519 <features tabularvalignment="middle">
37520 <column alignment="center" valignment="top">
37521 <column alignment="center" valignment="top">
37523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37526 \begin_layout Plain Layout
37532 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37535 \begin_layout Plain Layout
37543 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37546 \begin_layout Plain Layout
37552 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
37555 \begin_layout Plain Layout
37572 \begin_inset Index idx
37575 \begin_layout Plain Layout
37582 \begin_inset Index idx
37585 \begin_layout Plain Layout
37586 Table Customization ! Rotating
37594 \begin_layout Standard
37595 \begin_inset Note Greyedout
37598 \begin_layout Plain Layout
37607 inset is empty or contains other characters than numbers you will get \SpecialChar LaTeX
37609 errors when viewing/exporting the document.
37617 \begin_layout Subsection
37619 \begin_inset Index idx
37622 \begin_layout Plain Layout
37629 \begin_inset Index idx
37632 \begin_layout Plain Layout
37641 \begin_layout Standard
37642 To scale material put it into a
37647 Such a box is inserted via the menu
37649 Insert\SpecialChar menuseparator
37650 Custom Insets\SpecialChar menuseparator
37656 \begin_layout Standard
37661 inset has the mandatory inset
37665 and the optional inset
37669 (inserted via the menu
37671 Insert\SpecialChar menuseparator
37675 Input there the horizontal and vertical scale factor, respectively.
37680 inset is used, the horizontal factor will also be used as the vertical
37684 \begin_layout Standard
37685 To get for example the double text size, compared to the document text size,
37696 \begin_inset Flex Scalebox
37699 \begin_layout Plain Layout
37700 \begin_inset Argument 1
37703 \begin_layout Plain Layout
37717 \begin_layout Standard
37735 \begin_inset Flex Scalebox
37738 \begin_layout Plain Layout
37739 \begin_inset Argument 1
37742 \begin_layout Plain Layout
37749 \begin_inset Argument 2
37752 \begin_layout Plain Layout
37766 \begin_layout Standard
37767 If the scaling factor is negative, the box content will be mirrored.
37784 can be used to create mirror writing:
37785 \begin_inset Flex Scalebox
37788 \begin_layout Plain Layout
37789 \begin_inset Argument 1
37792 \begin_layout Plain Layout
37799 \begin_inset Argument 2
37802 \begin_layout Plain Layout
37816 \begin_layout Standard
37834 \begin_inset Flex Scalebox
37837 \begin_layout Plain Layout
37838 \begin_inset Argument 1
37841 \begin_layout Plain Layout
37848 \begin_inset Argument 2
37851 \begin_layout Plain Layout
37865 \begin_layout Standard
37872 Insert\SpecialChar menuseparator
37873 Custom Insets\SpecialChar menuseparator
37899 \begin_layout Standard
37900 \begin_inset Note Greyedout
37903 \begin_layout Plain Layout
37912 inset is empty or contains other characters than numbers you will get LaTeX
37913 errors when viewing/exporting the document.
37921 \begin_layout Standard
37922 \begin_inset VSpace bigskip
37931 Insert\SpecialChar menuseparator
37932 Custom Insets\SpecialChar menuseparator
37935 ) is used to scale the content to a defined width and height.
37940 inset has the mandatory inset
37944 and the optional inset
37948 (inserted via the menu
37950 Insert\SpecialChar menuseparator
37954 Input there the width and height, respectively, as value with a unit.
37956 \begin_inset CommandInset ref
37958 reference "tab:Units"
37962 lists the possible units.
37963 If there is an exclamation mark
37967 in one of the two insets, the size is set so that the aspect ratio of the
37968 box content is kept.
37973 inset is used an exclamation mark will internally be used for the height.
37976 \begin_layout Standard
37994 \begin_inset Flex Resizebox
37997 \begin_layout Plain Layout
37998 \begin_inset Argument 1
38001 \begin_layout Plain Layout
38008 \begin_inset Argument 2
38011 \begin_layout Plain Layout
38023 \begin_inset Newline newline
38047 \begin_inset Flex Resizebox
38050 \begin_layout Plain Layout
38051 \begin_inset Argument 1
38054 \begin_layout Plain Layout
38061 \begin_inset Argument 2
38064 \begin_layout Plain Layout
38078 \begin_layout Standard
38079 \begin_inset Note Greyedout
38082 \begin_layout Plain Layout
38091 inset is empty or contains an invalid unit you will get LaTeX errors when
38092 viewing/exporting the document.
38100 \begin_layout Standard
38101 \begin_inset VSpace bigskip
38107 \begin_layout Standard
38108 The boxes can be combined in any order.
38117 which is in turn inside a
38124 \begin_layout Standard
38127 \begin_inset Flex Rotatebox
38130 \begin_layout Plain Layout
38131 \begin_inset Argument 1
38134 \begin_layout Plain Layout
38141 \begin_inset Argument 2
38144 \begin_layout Plain Layout
38151 \begin_inset Flex Resizebox
38154 \begin_layout Plain Layout
38155 \begin_inset Argument 1
38158 \begin_layout Plain Layout
38165 \begin_inset Flex Reflectbox
38168 \begin_layout Plain Layout
38187 \begin_layout Standard
38189 Images, tables, and inline formulas are allowed as box content:
38192 \begin_layout Standard
38195 \begin_inset Flex Resizebox
38198 \begin_layout Plain Layout
38199 \begin_inset Argument 1
38202 \begin_layout Plain Layout
38209 \begin_inset Flex Reflectbox
38212 \begin_layout Plain Layout
38213 \begin_inset Graphics
38214 filename clipart/Star-structure.pdf
38231 \begin_inset Flex Resizebox
38234 \begin_layout Plain Layout
38235 \begin_inset Argument 1
38238 \begin_layout Plain Layout
38245 \begin_inset Flex Reflectbox
38248 \begin_layout Plain Layout
38249 \begin_inset Tabular
38250 <lyxtabular version="3" rows="2" columns="2">
38251 <features tabularvalignment="middle">
38252 <column alignment="center" valignment="top">
38253 <column alignment="center" valignment="top">
38255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38258 \begin_layout Plain Layout
38264 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38267 \begin_layout Plain Layout
38275 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38278 \begin_layout Plain Layout
38284 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38287 \begin_layout Plain Layout
38309 \begin_inset Flex Resizebox
38312 \begin_layout Plain Layout
38313 \begin_inset Argument 1
38316 \begin_layout Plain Layout
38323 \begin_inset Flex Reflectbox
38326 \begin_layout Plain Layout
38327 \begin_inset Formula $\int A\,\mathrm{d}x=B$
38341 \begin_inset Index idx
38344 \begin_layout Plain Layout
38351 \begin_inset Index idx
38354 \begin_layout Plain Layout
38355 Table Customization ! Scaling
38363 \begin_layout Standard
38364 When the global formula style
38368 is used in the document
38372 \begin_layout Plain Layout
38374 \begin_inset Quotes eld
38378 \begin_inset Quotes erd
38381 is added to the document class options.
38386 , display style formulas can also be scaled.
38389 \begin_layout Chapter
38390 Objects Surrounded by Text
38391 \begin_inset Index idx
38394 \begin_layout Plain Layout
38403 \begin_layout Section
38405 \begin_inset CommandInset label
38407 name "sec:Wrap-Floats"
38412 \begin_inset Index idx
38415 \begin_layout Plain Layout
38416 Floats ! Wrap Floats
38422 \begin_inset Index idx
38425 \begin_layout Plain Layout
38426 Surrounded by text ! Wrap Floats
38434 \begin_layout Standard
38435 \begin_inset Wrap figure
38442 \begin_layout Plain Layout
38443 \begin_inset Graphics
38444 filename clipart/2D-intensity-plot.pdf
38446 scaleBeforeRotation
38447 rotateOrigin center
38454 \begin_layout Plain Layout
38455 \begin_inset Caption Standard
38457 \begin_layout Plain Layout
38458 \begin_inset CommandInset label
38460 name "fig:This-is-a"
38464 This is a figure wrap float.
38474 This float type is used if you want to wrap text around a figure or table
38475 so that it only occupies some fraction of the column width.
38476 It can be inserted using the menu
38478 Insert\SpecialChar menuseparator
38479 Floats\SpecialChar menuseparator
38481 \begin_inset space ~
38485 \begin_inset space ~
38493 \begin_inset space ~
38497 \begin_inset space ~
38502 if the \SpecialChar LaTeX
38508 \begin_inset Index idx
38511 \begin_layout Plain Layout
38513 -packages ! wrapfig
38522 \begin_layout Plain Layout
38523 Installing a \SpecialChar LaTeX
38524 -package is explained it in the
38528 \begin_inset space ~
38538 The settings of the float can be modified by right-clicking on the float
38540 The mandatory settings are the float
38553 that specifies how much the float is set into the paragraph
38554 \begin_inset space \thinspace{}
38558 \begin_inset space \thinspace{}
38561 page margin, and the
38564 \begin_inset space ~
38569 that specifies how many text lines the float will approximately need.
38570 The line span is often hard to approximate; so it is better only to use
38571 it when you encounter float placement problems.
38572 You can furthermore decide if \SpecialChar LaTeX
38573 is allowed to let the float float within
38574 the paragraph or to surrounding paragraphs.
38576 \begin_inset space ~
38580 \begin_inset CommandInset ref
38582 reference "fig:This-is-a"
38586 is an example text wrap float with a width of 40
38587 \begin_inset space \thinspace{}
38591 \begin_inset space \thinspace{}
38594 cm overhang, set to the left.
38597 \begin_layout Standard
38598 \begin_inset Note Greyedout
38601 \begin_layout Plain Layout
38607 \begin_inset space ~
38610 wrap float floats are fragile! E.
38611 \begin_inset space \thinspace{}
38615 \begin_inset space \space{}
38618 having a figure too close to the bottom of the page can mess things up in
38619 such a way that the float does not appear in the output or that it is placed
38620 over some other text.
38628 \begin_layout Standard
38629 In general, the following applies for wrap floats:
38632 \begin_layout Itemize
38633 They should not be placed in paragraphs that run over a page break.
38634 That means that wrap floats are better inserted in their exact place when
38635 the document is almost finished and you are able to estimate where page
38636 breaks will appear.
38639 \begin_layout Itemize
38640 They should either be placed in their own paragraph before the paragraph
38641 where they should wrap into or within a paragraph.
38644 \begin_layout Itemize
38645 In consecutive paragraphs they may cause troubles, so ensure that there
38646 is a text paragraph between them as separator.
38649 \begin_layout Itemize
38650 They are not allowed in section headings or tables.
38653 \begin_layout Itemize
38654 Their numbering and referencing works as described in chap.
38655 \begin_inset space \thinspace{}
38659 \begin_inset CommandInset ref
38661 reference "chap:Floats"
38668 \begin_layout Section
38669 Surrounded Fixed Objects
38670 \begin_inset Index idx
38673 \begin_layout Plain Layout
38674 Surrounded by text ! Fixed objects
38682 \begin_layout Standard
38683 The wrap floats described in sec.
38684 \begin_inset space \thinspace{}
38688 \begin_inset CommandInset ref
38690 reference "sec:Wrap-Floats"
38694 have these positions in the paragraph:
38697 \begin_layout Standard
38700 \begin_inset Tabular
38701 <lyxtabular version="3" rows="2" columns="2">
38702 <features tabularvalignment="middle">
38703 <column alignment="center" valignment="top">
38704 <column alignment="center" valignment="top">
38706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38709 \begin_layout Plain Layout
38712 arg "dialog-show-new-inset graphics"
38720 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38723 \begin_layout Plain Layout
38731 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38734 \begin_layout Plain Layout
38740 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38743 \begin_layout Plain Layout
38755 \begin_inset Tabular
38756 <lyxtabular version="3" rows="2" columns="2">
38757 <features tabularvalignment="middle">
38758 <column alignment="center" valignment="top">
38759 <column alignment="center" valignment="top">
38761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38764 \begin_layout Plain Layout
38770 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38773 \begin_layout Plain Layout
38776 arg "dialog-show-new-inset graphics"
38786 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38789 \begin_layout Plain Layout
38795 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38798 \begin_layout Plain Layout
38812 \begin_layout Standard
38813 To get an object exactly at the position where it is inserted, for example
38814 to get one of these positions:
38815 \begin_inset VSpace defskip
38821 \begin_layout Standard
38824 \begin_inset Tabular
38825 <lyxtabular version="3" rows="2" columns="2">
38826 <features tabularvalignment="middle">
38827 <column alignment="center" valignment="top">
38828 <column alignment="center" valignment="top">
38830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38833 \begin_layout Plain Layout
38839 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38842 \begin_layout Plain Layout
38850 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38853 \begin_layout Plain Layout
38856 arg "dialog-show-new-inset graphics"
38864 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38867 \begin_layout Plain Layout
38879 \begin_inset Tabular
38880 <lyxtabular version="3" rows="2" columns="2">
38881 <features tabularvalignment="middle">
38882 <column alignment="center" valignment="top">
38883 <column alignment="center" valignment="top">
38885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38888 \begin_layout Plain Layout
38894 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38897 \begin_layout Plain Layout
38905 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38908 \begin_layout Plain Layout
38914 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38917 \begin_layout Plain Layout
38920 arg "dialog-show-new-inset graphics"
38934 \begin_inset Tabular
38935 <lyxtabular version="3" rows="2" columns="3">
38936 <features tabularvalignment="middle">
38937 <column alignment="center" valignment="top">
38938 <column alignment="center" valignment="top">
38939 <column alignment="center" valignment="top">
38941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38944 \begin_layout Plain Layout
38950 <cell alignment="center" valignment="top" topline="true" usebox="none">
38953 \begin_layout Plain Layout
38956 arg "dialog-show-new-inset graphics"
38964 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38967 \begin_layout Plain Layout
38975 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38978 \begin_layout Plain Layout
38984 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
38987 \begin_layout Plain Layout
38993 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38996 \begin_layout Plain Layout
39008 \begin_inset Tabular
39009 <lyxtabular version="3" rows="2" columns="3">
39010 <features tabularvalignment="middle">
39011 <column alignment="center" valignment="top">
39012 <column alignment="center" valignment="top">
39013 <column alignment="center" valignment="top">
39015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39018 \begin_layout Plain Layout
39024 <cell alignment="center" valignment="top" topline="true" usebox="none">
39027 \begin_layout Plain Layout
39033 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39036 \begin_layout Plain Layout
39044 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39047 \begin_layout Plain Layout
39053 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
39056 \begin_layout Plain Layout
39059 arg "dialog-show-new-inset graphics"
39067 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39070 \begin_layout Plain Layout
39084 \begin_layout Standard
39087 \begin_inset Tabular
39088 <lyxtabular version="3" rows="3" columns="2">
39089 <features tabularvalignment="middle">
39090 <column alignment="center" valignment="top">
39091 <column alignment="center" valignment="top">
39093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39096 \begin_layout Plain Layout
39102 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39105 \begin_layout Plain Layout
39113 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39116 \begin_layout Plain Layout
39119 arg "dialog-show-new-inset graphics"
39127 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39130 \begin_layout Plain Layout
39138 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39141 \begin_layout Plain Layout
39147 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39150 \begin_layout Plain Layout
39162 \begin_inset Tabular
39163 <lyxtabular version="3" rows="3" columns="3">
39164 <features tabularvalignment="middle">
39165 <column alignment="center" valignment="top">
39166 <column alignment="center" valignment="top">
39167 <column alignment="center" valignment="top">
39169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39172 \begin_layout Plain Layout
39178 <cell alignment="center" valignment="top" topline="true" usebox="none">
39181 \begin_layout Plain Layout
39187 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39190 \begin_layout Plain Layout
39198 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39201 \begin_layout Plain Layout
39207 <cell alignment="center" valignment="top" usebox="none">
39210 \begin_layout Plain Layout
39213 arg "dialog-show-new-inset graphics"
39221 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39224 \begin_layout Plain Layout
39232 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39235 \begin_layout Plain Layout
39241 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
39244 \begin_layout Plain Layout
39250 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39253 \begin_layout Plain Layout
39265 \begin_inset Tabular
39266 <lyxtabular version="3" rows="3" columns="2">
39267 <features tabularvalignment="middle">
39268 <column alignment="center" valignment="top">
39269 <column alignment="center" valignment="top">
39271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39274 \begin_layout Plain Layout
39280 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39283 \begin_layout Plain Layout
39291 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39294 \begin_layout Plain Layout
39300 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39303 \begin_layout Plain Layout
39306 arg "dialog-show-new-inset graphics"
39316 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39319 \begin_layout Plain Layout
39325 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39328 \begin_layout Plain Layout
39342 \begin_layout Standard
39344 you can use the \SpecialChar LaTeX
39350 \begin_inset Index idx
39353 \begin_layout Plain Layout
39355 -packages ! picinpar
39361 Here is an example:
39364 \begin_layout Standard
39368 \begin_layout Plain Layout
39378 \begin_inset Note Note
39381 \begin_layout Plain Layout
39382 The following section will only be displayed when the \SpecialChar LaTeX
39395 \begin_layout Standard
39399 \begin_layout Plain Layout
39403 begin{window}[2,c,{
39409 \begin_inset Graphics
39410 filename clipart/2D-intensity-plot.pdf
39413 scaleBeforeRotation
39414 rotateOrigin center
39422 \begin_layout Plain Layout
39427 \begin_layout Plain Layout
39436 It was in the spring of the year 1894 that all London was interested, and
39437 the fashionable world dismayed, by the murder of the Honourable Ronald
39438 Adair under most unusual and inexplicable circumstances.
39439 The public has already learned those particulars of the crime which
39445 \begin_layout Plain Layout
39456 came out in the police investigation, but a good deal was suppressed upon
39457 that occasion, since the case for the prosecution was so overwhelmingly
39458 strong that it was not necessary to bring forward all the facts.
39459 Only now, at the end of nearly ten years, am I allowed to supply those
39460 missing links which make up the whole of that remarkable chain.
39466 \begin_layout Plain Layout
39478 \begin_layout Standard
39482 \begin_layout Plain Layout
39491 Footnote of the paragraph with the fixed object.
39495 \begin_layout Plain Layout
39505 \begin_layout Standard
39506 Surrounded fixed objects are used to let text float around them, at which
39507 the object's position in the paragraph can be determined by the number
39509 In contrary to floats is it not possible to have a numbered caption.
39512 \begin_layout Standard
39513 A fixed object is inserted by adding the command
39516 \begin_layout Standard
39521 begin{window}[2,c,{
39524 \begin_layout Standard
39525 as \SpecialChar TeX
39526 Code at the beginning of the paragraph.
39527 The first parameter in the bracket, here '2', defines the number of lines
39528 above the object, the second, here 'c', the position of the object.
39529 The positions 'l', 'c' and 'r' (for left, center, right) are possible.
39530 Behind the command you insert the object.
39531 In this example an image with a width of 40
39532 \begin_inset space \thinspace{}
39535 % of the text column width was inserted.
39536 The object can also be a table, a box or an equation.
39537 Behind the object the command
39540 \begin_layout Standard
39543 },description text]
39544 \begin_inset Newline newline
39550 \begin_layout Standard
39553 \begin_inset Quotes eld
39561 \begin_inset Quotes erd
39564 is in the second line.
39565 The description text is optional.
39566 The text surrounding the object must be in the same paragraph as the object,
39567 so it must begin directly after the
39572 At the end of the paragraph insert the command:
39575 \begin_layout Standard
39583 \begin_layout Standard
39584 Within a paragraph with a fixed object, you cannot insert footnotes in the
39586 You have to use instead the command
39592 inside the paragraph and outside the command
39598 as described in sec.
39599 \begin_inset space \thinspace{}
39603 \begin_inset CommandInset ref
39605 reference "sec:Footnotes"
39612 \begin_layout Standard
39616 \begin_layout Plain Layout
39626 \begin_inset Note Note
39629 \begin_layout Plain Layout
39630 The following will be displayed when the \SpecialChar LaTeX
39643 \begin_layout Standard
39644 You need to install the \SpecialChar LaTeX
39649 to see the following part of this section in the output.
39652 \begin_layout Standard
39656 \begin_layout Plain Layout
39668 \begin_layout Section
39670 \begin_inset Index idx
39673 \begin_layout Plain Layout
39680 \begin_inset Index idx
39683 \begin_layout Plain Layout
39684 Surrounded by text ! Initials
39692 \begin_layout Standard
39693 To use initials, you must have the \SpecialChar LaTeX
39699 \begin_inset Index idx
39702 \begin_layout Plain Layout
39704 -packages ! lettrine
39709 installed and use the module
39713 in your document (menu
39715 Document\SpecialChar menuseparator
39716 Settings\SpecialChar menuseparator
39720 To insert an initial, use the style
39725 This style has a mandatory and two optional arguments.
39726 The arguments are inserted via the
39731 The mandatory argument
39735 contains the letter(s) that is the initial, the argument
39738 \begin_inset space ~
39742 \begin_inset space ~
39747 contains the rest of the word or text of the initial letter(s).
39752 contains parameters to modify the initial.
39753 For more information about the possible parameters see the documentation
39759 \begin_inset CommandInset citation
39767 The style itself contains the text that is surrounding the initial.
39768 The usual style is hereby that the word whose first letter is the initial,
39776 \begin_layout Standard
39777 Here are some examples:
39780 \begin_layout Standard
39784 \begin_layout Plain Layout
39794 \begin_inset Note Note
39797 \begin_layout Plain Layout
39798 The following section will only be displayed when the \SpecialChar LaTeX
39811 \begin_layout Enumerate
39812 No optional argument, the initial is the letter 'I' in the math font
39813 \begin_inset Formula $\mathfrak{Fraktur}$
39820 \begin_layout Initial
39821 \begin_inset Argument 2
39824 \begin_layout Plain Layout
39825 \begin_inset Formula $\mathfrak{I}$
39834 \begin_inset Argument 3
39837 \begin_layout Plain Layout
39843 was in the spring of the year 1894 that all London was interested, and
39844 the fashionable world dismayed, by the murder of the Honourable Ronald
39845 Adair under most unusual and inexplicable circumstances.
39846 The public has already learned those particulars of the crime which came
39847 out in the police investigation, but a good deal was suppressed upon that
39848 occasion, since the case for the prosecution was so overwhelmingly strong
39849 that it was not necessary to bring forward all the facts.
39850 \begin_inset Newpage newpage
39857 \begin_layout Enumerate
39858 Only one line is surrounding the initial, which is formed by two letters
39859 in standard font and no text is printed in small caps:
39863 \begin_layout Initial
39864 \begin_inset Argument 1
39867 \begin_layout Plain Layout
39874 \begin_inset Argument 2
39877 \begin_layout Plain Layout
39883 was in the spring of the year 1894 that all London was interested, and
39884 the fashionable world dismayed, by the murder of the Honourable Ronald
39885 Adair under most unusual and inexplicable circumstances.
39886 The public has already learned those particulars of the crime which came
39887 out in the police investigation, but a good deal was suppressed upon that
39888 occasion, since the case for the prosecution was so overwhelmingly strong
39889 that it was not necessary to bring forward all the facts.
39893 \begin_layout Enumerate
39894 Magenta, hanging initial over 3
39895 \begin_inset space ~
39898 lines in the math font
39899 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
39903 \begin_inset Quotes eld
39906 t was in the spring
39907 \begin_inset Quotes erd
39914 ; to color the initial, you must insert this command before the initial:
39915 \begin_inset Newline newline
39929 \begin_inset Newline newline
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
39985 \begin_inset Quotes eld
39989 \begin_inset Quotes erd
39993 \begin_inset Quotes eld
39997 \begin_inset Quotes erd
40000 , and add this command to the document preamble:
40001 \begin_inset Newline newline
40008 @ifundefined{textcolor}
40009 \begin_inset Newline newline
40013 \begin_inset space ~
40018 usepackage{color}}{}
40022 \begin_layout Standard
40026 \begin_layout Plain Layout
40040 \begin_inset Note Note
40043 \begin_layout Plain Layout
40044 makes the initial magenta
40052 \begin_layout Initial
40053 \begin_inset Argument 1
40056 \begin_layout Plain Layout
40057 lines=3, lhang=0.33, loversize=0.25
40063 \begin_inset Argument 2
40066 \begin_layout Plain Layout
40067 \begin_inset Formula $\mathcal{I}$
40076 \begin_inset Argument 3
40079 \begin_layout Plain Layout
40080 t was in the spring
40085 of the year 1894 that all London was interested, and the fashionable world
40086 dismayed, by the murder of the Honourable Ronald Adair under most unusual
40087 and inexplicable circumstances.
40088 The public has already learned those particulars of the crime which came
40089 out in the police investigation, but a good deal was suppressed upon that
40090 occasion, since the case for the prosecution was so overwhelmingly strong
40091 that it was not necessary to bring forward all the facts.
40095 \begin_layout Standard
40099 \begin_layout Plain Layout
40109 \begin_inset Note Note
40112 \begin_layout Plain Layout
40113 The following will be displayed when the \SpecialChar LaTeX
40126 \begin_layout Standard
40127 You need to install the \SpecialChar LaTeX
40132 to see the following part of this section in the output.
40135 \begin_layout Standard
40139 \begin_layout Plain Layout
40151 \begin_layout Chapter
40152 External Document Parts
40153 \begin_inset Index idx
40156 \begin_layout Plain Layout
40157 External Document Parts
40165 \begin_layout Standard
40168 Insert\SpecialChar menuseparator
40171 you can insert external material into your document.
40175 \begin_layout Description
40177 \begin_inset space ~
40180 Document Another \SpecialChar LyX
40181 document; its content is directly inserted to your document.
40184 \begin_layout Description
40186 \begin_inset space ~
40189 Text A text document; each line is inserted in your document as a separate
40193 \begin_layout Description
40195 \begin_inset space ~
40199 \begin_inset space ~
40203 \begin_inset space ~
40206 Lines A text document; text lines are inserted in your document continuously
40207 but an empty text line creates a new paragraph.
40210 \begin_layout Description
40212 \begin_inset space ~
40215 Material Files in various formats.
40218 \begin_layout Description
40220 \begin_inset space ~
40223 Document \SpecialChar LyX
40224 or \SpecialChar LaTeX
40228 \begin_layout Section
40230 \begin_inset Index idx
40233 \begin_layout Plain Layout
40234 External Document Parts ! External Material
40242 \begin_layout Standard
40243 The external material feature allows you to insert files into your document
40244 without converting them to a format that can be read by the document output
40247 takes care of the necessary conversions.
40248 This is similar to images that can be inserted in various image formats
40249 in \SpecialChar LyX
40251 When you have enabled Instant Preview in \SpecialChar LyX
40252 's preferences under
40255 \begin_inset space ~
40259 \begin_inset space ~
40262 feel\SpecialChar menuseparator
40265 , the external material types Dia and Xfig are directly shown in \SpecialChar LyX
40269 \begin_layout Standard
40270 External material can be inserted via the
40274 dialog that is accessible with the menu
40276 Insert\SpecialChar menuseparator
40277 File\SpecialChar menuseparator
40279 \begin_inset space ~
40285 Currently the following file types (
40292 \begin_layout Description
40294 \begin_inset space ~
40297 diagram This template supports chess position diagrams made with the program
40301 \begin_inset CommandInset href
40304 target "https://en.wikipedia.org/wiki/XBoard"
40314 \begin_layout Description
40316 \begin_inset space ~
40319 diagram This template supports diagrams created with the program
40322 \begin_inset CommandInset href
40325 target "https://en.wikipedia.org/wiki/Dia_(software)"
40335 \begin_layout Description
40337 \begin_inset space ~
40340 figure This template supports specific scalable images derived from scalable
40341 vector graphics (SVG), in which the contained text is replaced by a version
40342 typeset by \SpecialChar LaTeX
40343 (and hence in the current document font).
40344 It relies on a feature of the program
40347 \begin_inset CommandInset href
40350 target "https://inkscape.org/"
40357 which creates a special PDF or EPS and \SpecialChar LaTeX
40358 file from a given SVG file (in
40363 itself, the feature is available via the option
40365 Omit text in PDF and create LaTeX file
40367 when saving a drawing as PDF or EPS).
40368 The benefit of such files is a uniform text style throughout the whole
40370 \begin_inset Newline newline
40373 The external template reads SVG files and uses a converter program to generate
40374 the respective PDF\SpecialChar breakableslash
40375 EPS and \SpecialChar LaTeX
40384 on the fly, so you don't have to export those files yourself.
40385 If you prefer the latter and want use given
40401 files instead, simply input the respective
40414 \begin_inset space ~
40418 \begin_inset CommandInset ref
40420 reference "sec:Child-Documents"
40424 ) rather than using this template.
40425 \begin_inset Newline newline
40428 You can use \SpecialChar TeX
40429 code commands such as
40442 \begin_inset space \space{}
40445 in the text of the SVG.
40446 The size of the font will be taken from the settings of the \SpecialChar LyX
40449 \begin_inset CommandInset citation
40456 for more information and examples.
40459 \begin_layout Description
40461 \begin_inset space ~
40465 \begin_inset space ~
40468 music This template is used for music notation typeset with the program
40469 \begin_inset Newline linebreak
40475 \begin_inset CommandInset href
40478 target "https://en.wikipedia.org/wiki/LilyPond"
40486 For \SpecialChar LyX
40487 's extended support for LilyPond have a look at \SpecialChar LyX
40495 \begin_layout Description
40497 \begin_inset space ~
40500 pages With this template you can insert PDF documents to your document.
40501 To specify the range of pages that should be included, use the option
40511 LaTeX and LyX options
40514 The argument of this option is a comma separated list, containing page
40515 numbers (insert as option
40519 ), ranges of page numbers (
40523 ) or any combination.
40524 To insert empty pages use {}.
40526 \begin_inset space \thinspace{}
40530 \begin_inset space ~
40535 pages={3,{},8-11,15}
40537 will insert page 3, an empty page, and pages 8, 9, 10, 11 and 15.
40538 Page ranges are specified in the syntax
40547 This selects all pages from
40560 defaults to the first page; omitting
40564 defaults to the last page of the document.
40565 The last page can also be selected with the keyword
40570 (This is only permitted in a page range.) So
40574 will insert all pages of the document and
40578 will insert all pages in reverse order.
40579 If the pages option is not specified, only the first page of the PDF is
40581 \begin_inset Newline newline
40588 inserts the pages with their original size, if this option is not given,
40589 the pages will be resized to fith the width of the page of your document.
40594 you can specify the width and height of the input pages and their rotation.
40595 If another width than 100
40596 \begin_inset space \thinspace{}
40599 Scale% is used, the option
40603 will be overwritten.
40604 For more info and possible options, have a look into the documentation
40605 of the \SpecialChar LaTeX
40611 \begin_inset CommandInset citation
40619 \begin_inset Index idx
40622 \begin_layout Plain Layout
40624 -packages ! pdfpages
40630 \begin_inset Newline newline
40633 To use this template in a
40637 presentation you need to first insert an
40641 environment and in a subsequent paragraph a \SpecialChar TeX
40642 Code box containing the command
40647 setbeamertemplate{background canvas}{}
40650 Then you can insert as many paragraphs containing the PDFPages template
40652 Behind the included PDF pages you can resume the Beamer presentation by
40653 beginning a new frame or by starting a new section.
40654 To avoid stray blank pages prior to the PDF pages, make sure to use the
40659 alignment for the paragraph containing the template.
40660 \begin_inset Newline newline
40663 Here is an included PDF which is rotated by -5°:
40664 \begin_inset External
40666 filename clipart/Abstract.pdf
40667 extra LaTeX "noautoscale, pages=-"
40669 rotateOrigin bottomleft
40676 \begin_layout Description
40678 \begin_inset space ~
40681 image This can be used for bitmap images.
40682 The image can be treated in the
40686 dialog like the images that are usually included via the
40690 dialog as described in section
40691 \begin_inset space ~
40695 \begin_inset CommandInset ref
40697 reference "sec:Graphics-Dialog"
40702 Here is an inserted raster image:
40703 \begin_inset External
40704 template RasterImage
40705 filename clipart/ToolbarEnvBox.png
40712 \begin_layout Description
40713 Spreadsheet With this template you can insert spreadsheets
40714 \begin_inset space \thinspace{}
40718 \begin_inset space \thinspace{}
40721 tables in the format of
40724 \begin_inset CommandInset href
40727 target "https://en.wikipedia.org/wiki/Gnumeric"
40735 \begin_inset CommandInset href
40737 name "OpenDocument"
40738 target "https://en.wikipedia.org/wiki/OpenDocument"
40744 \begin_inset CommandInset href
40746 name "Microsoft Office XML"
40747 target "https://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
40753 \begin_inset CommandInset href
40755 name "Office Open XML"
40756 target "https://en.wikipedia.org/wiki/Office_Open_XML"
40762 For this feature \SpecialChar LyX
40763 must have found the program
40767 during its configuration.
40768 This program is part of Gnumeric, so that you must have Gnumeric installed,
40769 also if you don't have tables in the Gnumeric format.
40770 For examples and possible limitations have a look at \SpecialChar LyX
40778 \begin_layout Description
40780 \begin_inset space ~
40783 graphics This can be used for vector graphics.
40784 The image can be treated in the
40788 dialog like the images that are usually included via the
40792 dialog as described in section
40793 \begin_inset space ~
40797 \begin_inset CommandInset ref
40799 reference "sec:Graphics-Dialog"
40804 Here is an inserted vector graphics:
40805 \begin_inset External
40806 template VectorGraphics
40807 filename clipart/SVG-Drawing.svg
40816 \begin_layout Description
40818 \begin_inset space ~
40821 figure This template supports images created with the program
40822 \begin_inset CommandInset href
40825 target "https://en.wikipedia.org/wiki/Xfig"
40833 \begin_layout Standard
40834 When you use the option
40846 dialog, only the path to the inserted file is shown in the output.
40847 \begin_inset Newline newline
40850 External material is displayed in \SpecialChar LyX
40851 either as a box like this:
40852 \begin_inset Graphics
40853 filename clipart/ExternalMaterial.png
40855 scaleBeforeRotation
40859 or as image, depending on the option
40865 LaTeX and LyX options
40870 \begin_layout Standard
40877 manual explains how you can define your own templates.
40880 \begin_layout Section
40882 \begin_inset CommandInset label
40884 name "sec:Child-Documents"
40889 \begin_inset Index idx
40892 \begin_layout Plain Layout
40893 External Document Parts ! Child Documents
40899 \begin_inset Index idx
40902 \begin_layout Plain Layout
40911 \begin_layout Standard
40912 Child documents are used if you have a long document consisting of several
40913 larger parts or sections.
40914 For maintenance it is often useful and sometimes even required to split
40915 the document into several files that can be revised separately.
40916 The different documents are then the so called
40917 \begin_inset Quotes eld
40921 \begin_inset Quotes erd
40924 , and a master document connects them to print the full document or parts
40926 A child document inherits elements from its master, for example the \SpecialChar LaTeX
40928 the bibliography, and labels for cross-references.
40931 \begin_layout Standard
40932 To be able to work on child documents without the need to open their master,
40933 specify in the child document the master in the menu
40935 Document\SpecialChar menuseparator
40936 Settings\SpecialChar menuseparator
40938 \begin_inset space ~
40944 This master document will then be used in the background by \SpecialChar LyX
40946 the child document.
40949 \begin_layout Standard
40950 Included documents are displayed in \SpecialChar LyX
40951 as a box like this:
40952 \begin_inset Graphics
40953 filename clipart/ChildDocument.png
40955 scaleBeforeRotation
40959 To include child documents in a master document use the menu
40961 Insert\SpecialChar menuseparator
40962 File\SpecialChar menuseparator
40964 \begin_inset space ~
40970 A dialog pops up where you can choose between four include methods:
40973 \begin_layout Description
40974 Include You can include \SpecialChar LyX
40975 and \SpecialChar LaTeX
40985 dialog, the included document will be opened in \SpecialChar LyX
40986 in a new file tab so that
40988 \begin_inset Newline newline
40994 \begin_layout Standard
40995 Here is a child document inserted using
41000 \begin_inset CommandInset include
41001 LatexCommand include
41002 filename "DummyDocument1.lyx"
41010 \begin_layout Standard
41011 The section numbering includes the sections of the included files in the
41012 order they are inserted in the master document.
41013 The included example document has for example a subsection that is numbered
41014 as a subsection of this section.
41015 Labels of included documents can be referenced: Subsection
41016 \begin_inset space ~
41020 \begin_inset CommandInset ref
41022 reference "subsec:External-Subsection-1"
41029 \begin_layout Standard
41030 The preamble of the child document is ignored; only the preamble of the
41031 master document is used.
41032 Branches in child documents will be ignored by the master document when
41033 the master document does not have a branch with the same name.
41034 Included documents are inserted starting on a new page and ending with
41038 \begin_layout Standard
41039 \begin_inset Note Greyedout
41042 \begin_layout Plain Layout
41047 If you have included a \SpecialChar LyX
41048 or \SpecialChar LaTeX
41049 file, you are warned when you export/view the
41050 document in case the child document uses another document class than the
41051 master document as this will lead to unexpected outputs.
41059 \begin_layout Description
41060 Input This method is very similar to the Include method.
41061 The differences are:
41065 \begin_layout Itemize
41066 Input files don't start with a new page and don't end with a page break.
41069 \begin_layout Itemize
41070 Input files can be previewed in \SpecialChar LyX
41074 \begin_inset space ~
41079 is enabled in \SpecialChar LyX
41080 's preferences under
41083 \begin_inset space ~
41087 \begin_inset space ~
41090 feel\SpecialChar menuseparator
41096 \begin_layout Itemize
41097 You cannot exclude Input files via the menu
41099 Document\SpecialChar menuseparator
41100 Settings\SpecialChar menuseparator
41107 \begin_layout Standard
41108 Here is a child document inserted using
41113 \begin_inset CommandInset include
41115 filename "DummyDocument2.lyx"
41123 \begin_layout Description
41124 Verbatim With this method any text file can be included.
41125 The file is shown in the output with its source code; no command used in
41126 the text is invoked.
41127 You can use the option
41129 Mark spaces in output
41131 that displays the character
41132 \begin_inset Quotes eld
41139 \begin_layout Plain Layout
41149 \begin_inset Quotes erd
41152 for every space character in the source code.
41153 The difference from the method via the menu
41155 Insert\SpecialChar menuseparator
41156 File\SpecialChar menuseparator
41158 \begin_inset space ~
41163 is that the document content is not shown in \SpecialChar LyX
41167 \begin_layout Standard
41168 Here is a child document inserted as Verbatim:
41169 \begin_inset CommandInset include
41170 LatexCommand verbatiminput
41171 filename "DummyTextDocument.txt"
41177 \begin_inset VSpace bigskip
41180 Here is a child document inserted as Verbatim using the
41182 Mark spaces in output
41185 \begin_inset CommandInset include
41186 LatexCommand verbatiminput*
41187 filename "DummyTextDocument.txt"
41195 \begin_layout Standard
41196 \begin_inset VSpace bigskip
41202 \begin_layout Standard
41203 \begin_inset Note Greyedout
41206 \begin_layout Plain Layout
41211 As you can see in the examples above, the text of the documents included
41216 is not broken at the end of the document lines.
41224 \begin_layout Description
41225 Listings This type is described in chapter
41226 \begin_inset space ~
41230 \begin_inset CommandInset ref
41232 reference "cha:Program-Code-Listings"
41239 \begin_layout Standard
41240 \begin_inset Note Greyedout
41243 \begin_layout Plain Layout
41248 Including the same document twice in a document using different methods
41249 could cause \SpecialChar LaTeX
41258 \begin_layout Standard
41259 If you want to view/export only selected children of your master document,
41260 either because you want to save compiling time or because you want to distribut
41261 e single chapters of the book you are just writing, you can exclude children
41263 This is done via the menu
41265 Document\SpecialChar menuseparator
41266 Settings\SpecialChar menuseparator
41270 You can exclude\SpecialChar breakableslash
41271 include children by double-clicking on the
41275 column of the respective child document in the list (note that this only
41276 works for documents embedded via
41277 \begin_inset Quotes eld
41281 \begin_inset Quotes erd
41285 \begin_inset Quotes eld
41289 \begin_inset Quotes erd
41294 \change_inserted -712698321 1584102244
41298 \begin_layout Standard
41300 \change_inserted -712698321 1584102427
41303 Global Counters & References
41305 you can set how page numbers, references, section counters etc.
41309 \begin_layout Itemize
41311 \change_inserted -712698321 1584102377
41317 \change_deleted -712698321 1584102385
41320 Maintain counters and references
41325 will assure that all page numbers, references etc.
41326 \begin_inset space ~
41329 are correct as if the whole document was
41330 \change_deleted -712698321 1584108508
41332 \change_inserted -712698321 1584108509
41336 This is useful if you want the selected sub-documents to look exactly as
41337 in the context of the whole document.
41338 However, \SpecialChar LyX
41339 needs to process the whole document in the background for this
41341 \change_inserted -712698321 1584102406
41342 , which can take a long time
41346 \change_deleted -712698321 1584103026
41348 \change_inserted -712698321 1584102447
41352 \begin_layout Itemize
41354 \change_inserted -712698321 1584102489
41363 \change_inserted -712698321 1584103270
41364 only compiles the master and the included documents.
41365 Thus the counters will differ from the complete document, and references
41366 to excluded child documents will not be resolved.
41368 \change_deleted -712698321 1584102517
41370 \change_inserted -712698321 1584102518
41373 f you want to save compile time and if counters and references do not need
41375 \change_deleted -712698321 1584102523
41376 disable this checkbox
41377 \change_inserted -712698321 1584102546
41378 use this option as this is the fastest one
41381 \change_inserted -712698321 1584102550
41385 \begin_layout Itemize
41387 \change_inserted -712698321 1584109486
41392 is somewhat in-between the above two.
41393 If this is selected, \SpecialChar LyX
41394 will compile the whole document at the first output,
41395 which sets up counters and references correctly.
41396 In subsequent outputs, it will compile the whole document only if a change
41397 has been made in an excluded child document.
41398 As long as you only edit the included files, this approach is as fast as
41399 the second one, while giving you more or less correct counters and references.
41400 They are only more or less correct since the change of size of included
41401 documents obviously also changes the pagination of excluded documents,
41402 but this change cannot be tracked with this method.
41407 \begin_layout Standard
41408 Alternatively, you can put each included file into a branch.
41412 \begin_layout Plain Layout
41413 Branches are described in section
41417 of the \SpecialChar LyX
41427 By enabling\SpecialChar breakableslash
41428 disabling branches you can decide which included files will
41429 appear in the output.
41430 This has the advantage that it also works with Input'ed sub-documents.
41431 However, counters and references will not be maintained with this approach.
41434 \begin_layout Chapter
41435 Program Code Listings
41436 \begin_inset CommandInset label
41438 name "cha:Program-Code-Listings"
41443 \begin_inset Index idx
41446 \begin_layout Plain Layout
41453 \begin_inset Index idx
41456 \begin_layout Plain Layout
41463 \begin_inset Index idx
41466 \begin_layout Plain Layout
41475 \begin_layout Standard
41476 To include and typeset program code you can use the
41480 inset that can be inserted via the menu
41482 Insert\SpecialChar menuseparator
41486 The \SpecialChar LaTeX
41492 \begin_inset Index idx
41495 \begin_layout Plain Layout
41497 -packages ! listings
41507 \begin_inset Index idx
41510 \begin_layout Plain Layout
41517 provide a powerful and flexible way to insert program source code into
41519 One can only use one of these packages in a document.
41524 is used by default.
41527 \begin_layout Standard
41528 \begin_inset Note Note
41531 \begin_layout Plain Layout
41537 does NOT want to encourage users to add the
41541 option to converter definitions.
41542 It works, but it is a huge security risk.
41543 There is an active discussion about how to handle this.
41544 Once that's been resolved, this can be updated appropriately.
41547 \begin_layout Plain Layout
41551 \begin_layout Plain Layout
41556 , you need to select it as the syntax highlighting package in the document
41566 requires also additionally the module
41578 \begin_layout Plain Layout
41579 Under \SpecialChar LyX
41584 is already installed.
41593 for the \SpecialChar LaTeX
41595 If you want for example view or export your document as the format
41598 \begin_inset space ~
41603 , go to the \SpecialChar LyX
41604 preferences and there to the section
41607 \begin_inset space ~
41610 Handling\SpecialChar menuseparator
41614 There go to the entry
41617 \begin_inset space ~
41621 \begin_inset space ~
41626 and look at the field
41631 There you see by default the content
41632 \begin_inset Newline newline
41640 \begin_inset Newline newline
41644 \begin_inset Newline newline
41649 pdflatex $$i -shell-escape
41650 \begin_inset Newline newline
41659 button and subsequently
41668 The same can be done for the output formats
41671 \begin_inset space ~
41679 \begin_inset space ~
41692 \begin_layout Standard
41693 Right-clicking on a listings inset opens the context menu containing where
41694 you can set the listings format.
41697 \begin_layout Standard
41698 By default, a listing starts a new paragraph in the output.
41699 The placement option
41702 \begin_inset space ~
41707 prints the listing inline like this:
41708 \begin_inset listings
41709 lstparams "language={C++}"
41713 \begin_layout Plain Layout
41721 \begin_inset Newline newline
41728 creates a listings float where you can specify the placement options
41729 \begin_inset Quotes eld
41737 \begin_inset Quotes erd
41741 \begin_inset Quotes eld
41749 \begin_inset Quotes erd
41753 \begin_inset Quotes eld
41761 \begin_inset Quotes erd
41765 \begin_inset Quotes eld
41773 \begin_inset Quotes erd
41776 corresponding to the float placement options described in section
41777 \begin_inset space ~
41781 \begin_inset CommandInset ref
41783 reference "sec:Float-Settings"
41788 The placement options can be mixed and are inserted without any separation,
41790 \begin_inset space \thinspace{}
41794 \begin_inset space \space{}
41798 \begin_inset Quotes eld
41806 \begin_inset Quotes erd
41811 \begin_inset Quotes eld
41815 \begin_inset Quotes erd
41818 has sometimes no effect, but you don't need to use the
41822 option in this case as also non-float listings can have captions and be
41826 \begin_layout Standard
41827 You can add captions to listings that are not inline with the menu
41829 Insert\SpecialChar menuseparator
41833 Listings can be referenced like floats: Listing
41834 \begin_inset space ~
41838 \begin_inset CommandInset ref
41840 reference "lst:Example-Listing"
41845 A list of listings which contains all listings with captions can be created
41848 Insert\SpecialChar menuseparator
41850 \begin_inset space ~
41854 \begin_inset space ~
41857 TOC\SpecialChar menuseparator
41861 The list entries are the listing caption and the listing number.
41864 \begin_layout Standard
41865 \begin_inset listings
41866 lstparams "language=Python"
41870 \begin_layout Plain Layout
41872 \begin_inset Caption Standard
41874 \begin_layout Plain Layout
41875 \begin_inset CommandInset label
41877 name "lst:Example-Listing"
41881 Example Listing float
41886 # Example listing float
41889 \begin_layout Plain Layout
41894 \begin_layout Plain Layout
41896 'this is a python function'
41899 \begin_layout Plain Layout
41909 \begin_layout Standard
41910 \begin_inset Note Greyedout
41913 \begin_layout Plain Layout
41922 package places captions before the listing by default.
41923 \begin_inset Newline newline
41930 package places them after the listing by default if it is floating.
41931 If it is not floating, caption will be typeset before the listing if it
41932 is inserted to its first line, otherwise it will be typeset after the listing.
41933 If you want to force the placement in every case before the listing, you
41934 have to add the following lines as last thing to the preamble:
41935 \begin_inset Newline newline
41942 @ifundefined{newfloat}
41943 \begin_inset Newline newline
41947 \begin_inset Phantom HPhantom
41950 \begin_layout Plain Layout
41953 \begin_inset space ~
41963 usepackage{float}}{}
41964 \begin_inset Newline newline
41969 floatstyle{plaintop}
41972 \begin_inset Note Note
41975 \begin_layout Plain Layout
41980 will be loaded automatically by \SpecialChar LyX
41981 when you use special document-wide float
41982 placement settings.
41983 To avoid that it is loaded twice the command
41989 is used in the above command.
42002 \begin_layout Standard
42003 When you have set a programming language in the listings dialog, the keywords
42004 of this language will be recognized and specially typeset in the output.
42005 In the example listings the Python keyword
42006 \begin_inset Quotes eld
42010 \begin_inset Quotes erd
42013 is recognized and printed bold in the output.
42016 \begin_layout Standard
42017 \begin_inset Note Greyedout
42020 \begin_layout Plain Layout
42025 If you don't get bold keywords when using typewriter fonts, your
42029 font probably doesn't provide a bold shape.
42030 In this case select a different one in the menu
42032 Document\SpecialChar menuseparator
42033 Settings\SpecialChar menuseparator
42045 provide bold shapes.)
42053 \begin_layout Standard
42057 \begin_inset space ~
42062 of the listings dialog you can specify the line numbering style.
42063 You can insert a number to specify which lines are numbered in the field
42070 \begin_inset space \thinspace{}
42074 \begin_inset space \space{}
42078 \begin_inset Quotes eld
42082 \begin_inset Quotes erd
42085 , only every 3rd line will be numbered.
42088 \begin_layout Standard
42089 You can furthermore specify a range of lines; only these will then appear
42093 Extended character table
42095 is only meaningful for the
42099 package and should be used when you use national characters like the German
42100 umlauts in the listing.
42101 \begin_inset Newline newline
42104 Here is an example listing with left line numbering, step
42105 \begin_inset Quotes eld
42109 \begin_inset Quotes erd
42113 \begin_inset Quotes eld
42117 \begin_inset Quotes erd
42121 \begin_inset Quotes eld
42124 Extended character table
42125 \begin_inset Quotes erd
42129 \begin_inset Quotes eld
42133 \begin_inset space ~
42137 \begin_inset space ~
42141 \begin_inset Quotes erd
42145 \begin_inset space \thinspace{}
42149 \begin_inset space \thinspace{}
42155 \begin_layout Standard
42156 \begin_inset listings
42157 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
42161 \begin_layout Plain Layout
42166 \begin_layout Plain Layout
42168 'this is a python function'
42171 \begin_layout Plain Layout
42176 \begin_layout Plain Layout
42181 \begin_layout Plain Layout
42183 'This is a German word: Tschüß'
42186 \begin_layout Plain Layout
42191 \begin_layout Plain Layout
42196 \begin_layout Plain Layout
42198 'this is a python function'
42201 \begin_layout Plain Layout
42211 \begin_layout Standard
42212 When you have tabulators in your listing, you can specify the number of
42213 characters that are spanned by a tabulator in the field
42216 \begin_inset space ~
42224 \begin_layout Standard
42225 \begin_inset Note Greyedout
42228 \begin_layout Plain Layout
42233 Due to a bug in the
42237 package the line numbering is shifted by a line by every previous listing.
42238 That's the reason why the lines 2 and 5 are numbered in the above listing
42239 and not the lines 3 and 6.
42247 \begin_layout Standard
42248 \begin_inset VSpace bigskip
42254 \begin_layout Standard
42255 It is also possible to print lines from a file as listing.
42256 To do this, use the menu
42258 Insert\SpecialChar menuseparator
42259 File\SpecialChar menuseparator
42262 and choose the type
42270 \begin_layout Plain Layout
42271 The other child document types are described in section
42272 \begin_inset space ~
42276 \begin_inset CommandInset ref
42278 reference "sec:Child-Documents"
42287 In the child document dialog you can specify the listing parameters in
42289 To show a list of all available parameters, type in a question mark
42290 \begin_inset Quotes eld
42294 \begin_inset Quotes erd
42300 \begin_layout Standard
42301 To reference child document listings, write a label text into the corresponding
42302 field of the child document dialog.
42303 The label can then be referenced using the menu
42305 Insert\SpecialChar menuseparator
42311 \begin_layout Standard
42313 \begin_inset space ~
42317 \begin_inset CommandInset ref
42319 reference "lst:file-listing"
42323 is an example for a listing of a file; there the lines 10
42324 \begin_inset space \thinspace{}
42328 \begin_inset space \thinspace{}
42331 15 of this \SpecialChar LyX
42335 \begin_layout Standard
42336 \begin_inset CommandInset include
42337 LatexCommand lstinputlisting
42338 filename "EmbeddedObjects.lyx"
42339 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
42347 \begin_layout Standard
42348 \begin_inset VSpace bigskip
42354 \begin_layout Standard
42355 Inserting a formula into a listing can be done the following way:
42358 \begin_layout Enumerate
42359 Open the listings dialog and add
42360 \begin_inset Newline newline
42368 \begin_inset Newline newline
42371 to the field of the
42378 \begin_layout Enumerate
42379 Create a formula outside the listing
42382 \begin_layout Enumerate
42383 Copy the content of the formula (not the formula inset) to the clipboard
42393 \begin_layout Enumerate
42394 In the listing write
42395 \begin_inset Quotes eld
42403 \begin_inset Quotes erd
42406 and copy from the clipboard between the dollar-signs (shortcut
42415 \begin_layout Standard
42416 \begin_inset listings
42417 lstparams "language=Python,mathescape=true"
42421 \begin_layout Plain Layout
42423 \begin_inset Caption Standard
42425 \begin_layout Plain Layout
42426 Example Listing float containing a formula
42431 # Example listing float
42434 \begin_layout Plain Layout
42439 \begin_layout Plain Layout
42452 \begin_layout Plain Layout
42462 \begin_layout Standard
42463 \begin_inset VSpace bigskip
42469 \begin_layout Standard
42470 Global listings settings can be set in the
42472 Document\SpecialChar menuseparator
42473 Settings\SpecialChar menuseparator
42477 To get there a list of available options, type in a question mark
42478 \begin_inset Quotes eld
42482 \begin_inset Quotes erd
42488 \begin_layout Standard
42489 For more information about the
42497 packages, we refer to their documentation
42498 \begin_inset CommandInset citation
42500 key "listings,minted"
42508 \begin_layout Standard
42509 \begin_inset Newpage newpage
42515 \begin_layout Chapter
42517 Units available in \SpecialChar LyX
42519 \begin_inset Index idx
42522 \begin_layout Plain Layout
42529 \begin_inset CommandInset label
42531 name "cha:Units-available-in"
42538 \begin_layout Standard
42539 To understand the units described in this documentation, Table
42540 \begin_inset space ~
42544 \begin_inset CommandInset ref
42546 reference "tab:Units"
42550 explains all units available in \SpecialChar LyX
42554 \begin_layout Standard
42555 \begin_inset Float table
42562 \begin_layout Plain Layout
42563 \begin_inset Caption Standard
42565 \begin_layout Plain Layout
42566 \begin_inset CommandInset label
42580 \begin_layout Plain Layout
42581 \begin_inset VSpace medskip
42587 \begin_layout Plain Layout
42589 \begin_inset Tabular
42590 <lyxtabular version="3" rows="21" columns="3">
42591 <features tabularvalignment="middle">
42592 <column alignment="center" valignment="top">
42593 <column alignment="center" valignment="middle" width="50col%">
42594 <column alignment="center" valignment="top">
42596 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
42599 \begin_layout Plain Layout
42605 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
42608 \begin_layout Plain Layout
42614 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
42617 \begin_layout Plain Layout
42626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42629 \begin_layout Plain Layout
42635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42638 \begin_layout Plain Layout
42640 \begin_inset space \thinspace{}
42644 \begin_inset space \thinspace{}
42652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42655 \begin_layout Plain Layout
42663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42666 \begin_layout Plain Layout
42672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42675 \begin_layout Plain Layout
42677 \begin_inset space \thinspace{}
42681 \begin_inset space \thinspace{}
42689 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42692 \begin_layout Plain Layout
42700 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42703 \begin_layout Plain Layout
42709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42712 \begin_layout Plain Layout
42718 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42721 \begin_layout Plain Layout
42729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42732 \begin_layout Plain Layout
42738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42741 \begin_layout Plain Layout
42743 \begin_inset space \thinspace{}
42747 \begin_inset Formula $\approx$
42751 \begin_inset space \thinspace{}
42759 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42762 \begin_layout Plain Layout
42770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42773 \begin_layout Plain Layout
42779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42782 \begin_layout Plain Layout
42792 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42795 \begin_layout Plain Layout
42803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42806 \begin_layout Plain Layout
42812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42815 \begin_layout Plain Layout
42825 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42828 \begin_layout Plain Layout
42836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42839 \begin_layout Plain Layout
42845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42848 \begin_layout Plain Layout
42854 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42857 \begin_layout Plain Layout
42865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42868 \begin_layout Plain Layout
42874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42877 \begin_layout Plain Layout
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
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
42945 \begin_inset space \thinspace{}
42949 \begin_inset space \thinspace{}
42957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42960 \begin_layout Plain Layout
42968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42971 \begin_layout Plain Layout
42977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42980 \begin_layout Plain Layout
42982 \begin_inset space \thinspace{}
42986 \begin_inset space \thinspace{}
42994 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42997 \begin_layout Plain Layout
43005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43008 \begin_layout Plain Layout
43014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43017 \begin_layout Plain Layout
43018 scaled point (65536
43019 \begin_inset space \thinspace{}
43023 \begin_inset space \thinspace{}
43031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43034 \begin_layout Plain Layout
43042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43045 \begin_layout Plain Layout
43051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43054 \begin_layout Plain Layout
43060 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43063 \begin_layout Plain Layout
43073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43076 \begin_layout Plain Layout
43082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43085 \begin_layout Plain Layout
43086 % of height between baselines of two subsequent text lines
43091 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43094 \begin_layout Plain Layout
43104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43107 \begin_layout Plain Layout
43113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43116 \begin_layout Plain Layout
43122 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43125 \begin_layout Plain Layout
43135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43138 \begin_layout Plain Layout
43144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43147 \begin_layout Plain Layout
43153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43156 \begin_layout Plain Layout
43166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43169 \begin_layout Plain Layout
43175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43178 \begin_layout Plain Layout
43184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43187 \begin_layout Plain Layout
43197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43200 \begin_layout Plain Layout
43206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43209 \begin_layout Plain Layout
43210 % of original image width
43215 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43218 \begin_layout Plain Layout
43226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43229 \begin_layout Plain Layout
43235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43238 \begin_layout Plain Layout
43244 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43247 \begin_layout Plain Layout
43257 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43260 \begin_layout Plain Layout
43266 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43269 \begin_layout Plain Layout
43275 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
43278 \begin_layout Plain Layout
43299 \begin_layout Chapter
43300 Output File Formats with Graphics
43301 \begin_inset CommandInset label
43303 name "cha:Output-File-Formats"
43310 \begin_layout Section
43312 \begin_inset Index idx
43315 \begin_layout Plain Layout
43322 \begin_inset Index idx
43325 \begin_layout Plain Layout
43330 \begin_layout Plain Layout
43341 \begin_layout Plain Layout
43356 \begin_layout Standard
43357 This file type has the extension
43358 \begin_inset Quotes eld
43366 \begin_inset Quotes erd
43371 \begin_inset Quotes eld
43375 \begin_inset Quotes erd
43378 (DVI), because it is completely portable; you can move them from one machine
43379 to another without needing to do any sort of conversion.
43380 At the time when this file-format was developed, this was no matter of
43382 DVIs are used for quick previews and as pre-stage for other output formats,
43386 \begin_layout Standard
43387 \begin_inset Note Greyedout
43390 \begin_layout Plain Layout
43395 DVI-files do not contain images; they will only be a linked.
43400 So don't forget this, if you move your
43404 file to another computer.
43405 This property can also slow down your computer when you view the DVI, because
43406 the DVI-viewer has to convert the image in the background to make it visible
43407 when you scroll in the DVI.
43408 So it is recommended that you use PDF for files with many images.
43411 \begin_layout Standard
43412 You can export your document to DVI by using the menu
43414 File\SpecialChar menuseparator
43415 Export\SpecialChar menuseparator
43419 You can view your document as DVI via the
43426 \begin_layout Section
43428 \begin_inset Index idx
43431 \begin_layout Plain Layout
43432 File Formats ! PostScript
43438 \begin_inset Index idx
43441 \begin_layout Plain Layout
43446 \begin_layout Plain Layout
43457 \begin_layout Plain Layout
43472 \begin_layout Standard
43473 This file type has the extension
43474 \begin_inset Quotes eld
43482 \begin_inset Quotes erd
43486 PostScript was developed by the company
43490 as a printer language.
43491 The file therefore contains commands that the printer uses to print the
43493 PostScript can be seen as a
43494 \begin_inset Quotes eld
43497 programming language
43498 \begin_inset Quotes erd
43501 ; you can calculate with it and draw diagrams and images.
43505 \begin_layout Plain Layout
43506 If you are interested to learn more about this, have a look at the \SpecialChar LaTeX
43513 \begin_inset CommandInset citation
43525 Due to this ability, the files are often bigger than PDFs.
43528 \begin_layout Standard
43529 PostScript can only contain images in the format
43530 \begin_inset Quotes eld
43533 Encapsulated PostScript
43534 \begin_inset Quotes erd
43537 (EPS, file extension
43538 \begin_inset Quotes eld
43546 \begin_inset Quotes erd
43550 As \SpecialChar LyX
43551 allows you to use any known image format in your document, it has to
43552 convert images in the background to EPS.
43554 \begin_inset space ~
43558 \begin_inset space ~
43561 images in your document, \SpecialChar LyX
43563 \begin_inset space ~
43566 conversions whenever you view or export your document.
43567 This will slow down your work flow with \SpecialChar LyX
43569 So if you plan to use PostScript, you can insert your images directly as
43570 EPS to avoid this problem.
43573 \begin_layout Standard
43574 You can export your document to PostScript using the menu
43576 File\SpecialChar menuseparator
43577 Export\SpecialChar menuseparator
43581 You can view your document as PostScript via the
43588 \begin_layout Section
43590 \begin_inset Index idx
43593 \begin_layout Plain Layout
43600 \begin_inset Index idx
43603 \begin_layout Plain Layout
43612 \begin_layout Standard
43613 This file type has the extension
43614 \begin_inset Quotes eld
43622 \begin_inset Quotes erd
43627 \begin_inset Quotes eld
43630 Portable Document Format
43631 \begin_inset Quotes erd
43634 (PDF) was developed by
43638 as a derivative of PostScript.
43639 It is more compressed and it uses fewer commands than PostScript.
43641 \begin_inset Quotes eld
43645 \begin_inset Quotes erd
43648 implies, it can be processed at any computer system and the printed output
43649 looks exactly the same.
43652 \begin_layout Standard
43653 PDF can contain images in its own PDF format, in the format
43654 \begin_inset Quotes eld
43657 Joint Photographic Experts Group
43658 \begin_inset Quotes erd
43661 (JPG, file extension
43662 \begin_inset Quotes eld
43670 \begin_inset Quotes erd
43674 \begin_inset Quotes eld
43682 \begin_inset Quotes erd
43685 ), and in the format
43686 \begin_inset Quotes eld
43689 Portable Network Graphics
43690 \begin_inset Quotes erd
43693 (PNG, file extension
43694 \begin_inset Quotes eld
43702 \begin_inset Quotes erd
43706 Nevertheless you can use any other image format, because \SpecialChar LyX
43708 in the background to one of these formats.
43709 But as described in the section about PostScript, the image conversion
43710 will slow down your work flow.
43711 So it is recommended that you use images in one of the three mentioned
43715 \begin_layout Standard
43716 You can export your document to PDF via the menu
43718 File\SpecialChar menuseparator
43721 in three different ways:
43724 \begin_layout Description
43726 \begin_inset space ~
43729 (ps2pdf) This uses the program
43733 that creates a PDF from a PostScript-version of your file.
43734 The PostScript-version is produced by the program
43738 which uses a DVI-version as intermediate step.
43739 So this export variant consists of three conversions.
43742 \begin_layout Description
43744 \begin_inset space ~
43747 (dvipdfm) This uses the program
43751 that converts your file in the background to DVI and in a second step to
43755 \begin_layout Description
43757 \begin_inset space ~
43760 (pdflatex) This uses the program
43764 that converts your file directly to PDF.
43767 \begin_layout Standard
43768 It is recommended that you use
43771 \begin_inset space ~
43780 supports all features of actual PDF-versions, is quick and works stable.
43785 is not under development and therefore a bit outdated.
43788 \begin_layout Standard
43789 You can view your document as PDF via the
43793 menu or by using a toolbar button.
43796 \begin_layout Chapter
43797 List of dvips color names
43798 \begin_inset CommandInset label
43800 name "chap:List-of-dvips-colornames"
43807 \begin_layout Standard
43808 \begin_inset Tabular
43809 <lyxtabular version="3" rows="17" columns="4">
43810 <features tabularvalignment="middle">
43811 <column alignment="left" valignment="top" width="0pt">
43812 <column alignment="left" valignment="top" width="0pt">
43813 <column alignment="left" valignment="top" width="0pt">
43814 <column alignment="left" valignment="top" width="0pt">
43816 <cell alignment="left" valignment="top" usebox="none">
43819 \begin_layout Plain Layout
43823 \begin_layout Plain Layout
43836 \begin_layout Plain Layout
43847 \begin_layout Plain Layout
43859 <cell alignment="left" valignment="top" usebox="none">
43862 \begin_layout Plain Layout
43866 \begin_layout Plain Layout
43879 \begin_layout Plain Layout
43890 \begin_layout Plain Layout
43902 <cell alignment="left" valignment="top" usebox="none">
43905 \begin_layout Plain Layout
43909 \begin_layout Plain Layout
43922 \begin_layout Plain Layout
43933 \begin_layout Plain Layout
43945 <cell alignment="left" valignment="top" usebox="none">
43948 \begin_layout Plain Layout
43952 \begin_layout Plain Layout
43965 \begin_layout Plain Layout
43976 \begin_layout Plain Layout
43990 <cell alignment="center" valignment="top" usebox="none">
43993 \begin_layout Plain Layout
43997 \begin_layout Plain Layout
44010 \begin_layout Plain Layout
44018 \begin_inset Phantom Phantom
44021 \begin_layout Plain Layout
44031 \begin_layout Plain Layout
44043 <cell alignment="center" valignment="top" usebox="none">
44046 \begin_layout Plain Layout
44050 \begin_layout Plain Layout
44063 \begin_layout Plain Layout
44071 \begin_inset Phantom Phantom
44074 \begin_layout Plain Layout
44084 \begin_layout Plain Layout
44096 <cell alignment="center" valignment="top" usebox="none">
44099 \begin_layout Plain Layout
44103 \begin_layout Plain Layout
44116 \begin_layout Plain Layout
44124 \begin_inset Phantom Phantom
44127 \begin_layout Plain Layout
44137 \begin_layout Plain Layout
44149 <cell alignment="center" valignment="top" usebox="none">
44152 \begin_layout Plain Layout
44156 \begin_layout Plain Layout
44169 \begin_layout Plain Layout
44177 \begin_inset Phantom Phantom
44180 \begin_layout Plain Layout
44190 \begin_layout Plain Layout
44204 <cell alignment="left" valignment="top" usebox="none">
44207 \begin_layout Plain Layout
44211 \begin_layout Plain Layout
44224 \begin_layout Plain Layout
44232 \begin_inset Phantom Phantom
44235 \begin_layout Plain Layout
44245 \begin_layout Plain Layout
44257 <cell alignment="left" valignment="top" usebox="none">
44260 \begin_layout Plain Layout
44264 \begin_layout Plain Layout
44277 \begin_layout Plain Layout
44285 \begin_inset Phantom Phantom
44288 \begin_layout Plain Layout
44298 \begin_layout Plain Layout
44310 <cell alignment="left" valignment="top" usebox="none">
44313 \begin_layout Plain Layout
44317 \begin_layout Plain Layout
44330 \begin_layout Plain Layout
44338 \begin_inset Phantom Phantom
44341 \begin_layout Plain Layout
44351 \begin_layout Plain Layout
44363 <cell alignment="left" valignment="top" usebox="none">
44366 \begin_layout Plain Layout
44370 \begin_layout Plain Layout
44383 \begin_layout Plain Layout
44391 \begin_inset Phantom Phantom
44394 \begin_layout Plain Layout
44404 \begin_layout Plain Layout
44418 <cell alignment="left" valignment="top" usebox="none">
44421 \begin_layout Plain Layout
44425 \begin_layout Plain Layout
44438 \begin_layout Plain Layout
44446 \begin_inset Phantom Phantom
44449 \begin_layout Plain Layout
44459 \begin_layout Plain Layout
44471 <cell alignment="left" valignment="top" usebox="none">
44474 \begin_layout Plain Layout
44478 \begin_layout Plain Layout
44491 \begin_layout Plain Layout
44499 \begin_inset Phantom Phantom
44502 \begin_layout Plain Layout
44512 \begin_layout Plain Layout
44524 <cell alignment="left" valignment="top" usebox="none">
44527 \begin_layout Plain Layout
44531 \begin_layout Plain Layout
44544 \begin_layout Plain Layout
44552 \begin_inset Phantom Phantom
44555 \begin_layout Plain Layout
44565 \begin_layout Plain Layout
44577 <cell alignment="left" valignment="top" usebox="none">
44580 \begin_layout Plain Layout
44584 \begin_layout Plain Layout
44597 \begin_layout Plain Layout
44605 \begin_inset Phantom Phantom
44608 \begin_layout Plain Layout
44618 \begin_layout Plain Layout
44632 <cell alignment="left" valignment="top" usebox="none">
44635 \begin_layout Plain Layout
44639 \begin_layout Plain Layout
44652 \begin_layout Plain Layout
44660 \begin_inset Phantom Phantom
44663 \begin_layout Plain Layout
44673 \begin_layout Plain Layout
44685 <cell alignment="left" valignment="top" usebox="none">
44688 \begin_layout Plain Layout
44692 \begin_layout Plain Layout
44705 \begin_layout Plain Layout
44713 \begin_inset Phantom Phantom
44716 \begin_layout Plain Layout
44726 \begin_layout Plain Layout
44738 <cell alignment="left" valignment="top" usebox="none">
44741 \begin_layout Plain Layout
44745 \begin_layout Plain Layout
44758 \begin_layout Plain Layout
44766 \begin_inset Phantom Phantom
44769 \begin_layout Plain Layout
44779 \begin_layout Plain Layout
44791 <cell alignment="left" valignment="top" usebox="none">
44794 \begin_layout Plain Layout
44798 \begin_layout Plain Layout
44811 \begin_layout Plain Layout
44819 \begin_inset Phantom Phantom
44822 \begin_layout Plain Layout
44832 \begin_layout Plain Layout
44846 <cell alignment="left" valignment="top" usebox="none">
44849 \begin_layout Plain Layout
44853 \begin_layout Plain Layout
44866 \begin_layout Plain Layout
44874 \begin_inset Phantom Phantom
44877 \begin_layout Plain Layout
44887 \begin_layout Plain Layout
44899 <cell alignment="left" valignment="top" usebox="none">
44902 \begin_layout Plain Layout
44906 \begin_layout Plain Layout
44919 \begin_layout Plain Layout
44927 \begin_inset Phantom Phantom
44930 \begin_layout Plain Layout
44940 \begin_layout Plain Layout
44952 <cell alignment="left" valignment="top" usebox="none">
44955 \begin_layout Plain Layout
44959 \begin_layout Plain Layout
44972 \begin_layout Plain Layout
44980 \begin_inset Phantom Phantom
44983 \begin_layout Plain Layout
44993 \begin_layout Plain Layout
45005 <cell alignment="left" valignment="top" usebox="none">
45008 \begin_layout Plain Layout
45012 \begin_layout Plain Layout
45025 \begin_layout Plain Layout
45033 \begin_inset Phantom Phantom
45036 \begin_layout Plain Layout
45046 \begin_layout Plain Layout
45060 <cell alignment="center" valignment="top" usebox="none">
45063 \begin_layout Plain Layout
45067 \begin_layout Plain Layout
45080 \begin_layout Plain Layout
45088 \begin_inset Phantom Phantom
45091 \begin_layout Plain Layout
45101 \begin_layout Plain Layout
45113 <cell alignment="center" valignment="top" usebox="none">
45116 \begin_layout Plain Layout
45120 \begin_layout Plain Layout
45133 \begin_layout Plain Layout
45141 \begin_inset Phantom Phantom
45144 \begin_layout Plain Layout
45154 \begin_layout Plain Layout
45166 <cell alignment="center" valignment="top" usebox="none">
45169 \begin_layout Plain Layout
45173 \begin_layout Plain Layout
45186 \begin_layout Plain Layout
45194 \begin_inset Phantom Phantom
45197 \begin_layout Plain Layout
45207 \begin_layout Plain Layout
45219 <cell alignment="center" valignment="top" usebox="none">
45222 \begin_layout Plain Layout
45226 \begin_layout Plain Layout
45239 \begin_layout Plain Layout
45247 \begin_inset Phantom Phantom
45250 \begin_layout Plain Layout
45260 \begin_layout Plain Layout
45274 <cell alignment="left" valignment="top" usebox="none">
45277 \begin_layout Plain Layout
45281 \begin_layout Plain Layout
45294 \begin_layout Plain Layout
45302 \begin_inset Phantom Phantom
45305 \begin_layout Plain Layout
45315 \begin_layout Plain Layout
45327 <cell alignment="left" valignment="top" usebox="none">
45330 \begin_layout Plain Layout
45334 \begin_layout Plain Layout
45347 \begin_layout Plain Layout
45355 \begin_inset Phantom Phantom
45358 \begin_layout Plain Layout
45368 \begin_layout Plain Layout
45380 <cell alignment="left" valignment="top" usebox="none">
45383 \begin_layout Plain Layout
45387 \begin_layout Plain Layout
45400 \begin_layout Plain Layout
45408 \begin_inset Phantom Phantom
45411 \begin_layout Plain Layout
45421 \begin_layout Plain Layout
45433 <cell alignment="left" valignment="top" usebox="none">
45436 \begin_layout Plain Layout
45440 \begin_layout Plain Layout
45453 \begin_layout Plain Layout
45461 \begin_inset Phantom Phantom
45464 \begin_layout Plain Layout
45474 \begin_layout Plain Layout
45488 <cell alignment="left" valignment="top" usebox="none">
45491 \begin_layout Plain Layout
45495 \begin_layout Plain Layout
45508 \begin_layout Plain Layout
45516 \begin_inset Phantom Phantom
45519 \begin_layout Plain Layout
45529 \begin_layout Plain Layout
45541 <cell alignment="left" valignment="top" usebox="none">
45544 \begin_layout Plain Layout
45548 \begin_layout Plain Layout
45561 \begin_layout Plain Layout
45569 \begin_inset Phantom Phantom
45572 \begin_layout Plain Layout
45582 \begin_layout Plain Layout
45594 <cell alignment="left" valignment="top" usebox="none">
45597 \begin_layout Plain Layout
45601 \begin_layout Plain Layout
45614 \begin_layout Plain Layout
45622 \begin_inset Phantom Phantom
45625 \begin_layout Plain Layout
45635 \begin_layout Plain Layout
45647 <cell alignment="left" valignment="top" usebox="none">
45650 \begin_layout Plain Layout
45654 \begin_layout Plain Layout
45667 \begin_layout Plain Layout
45675 \begin_inset Phantom Phantom
45678 \begin_layout Plain Layout
45688 \begin_layout Plain Layout
45702 <cell alignment="left" valignment="top" usebox="none">
45705 \begin_layout Plain Layout
45709 \begin_layout Plain Layout
45722 \begin_layout Plain Layout
45730 \begin_inset Phantom Phantom
45733 \begin_layout Plain Layout
45743 \begin_layout Plain Layout
45755 <cell alignment="left" valignment="top" usebox="none">
45758 \begin_layout Plain Layout
45762 \begin_layout Plain Layout
45775 \begin_layout Plain Layout
45783 \begin_inset Phantom Phantom
45786 \begin_layout Plain Layout
45796 \begin_layout Plain Layout
45808 <cell alignment="left" valignment="top" usebox="none">
45811 \begin_layout Plain Layout
45815 \begin_layout Plain Layout
45828 \begin_layout Plain Layout
45836 \begin_inset Phantom Phantom
45839 \begin_layout Plain Layout
45849 \begin_layout Plain Layout
45861 <cell alignment="left" valignment="top" usebox="none">
45864 \begin_layout Plain Layout
45868 \begin_layout Plain Layout
45881 \begin_layout Plain Layout
45889 \begin_inset Phantom Phantom
45892 \begin_layout Plain Layout
45902 \begin_layout Plain Layout
45916 <cell alignment="left" valignment="top" usebox="none">
45919 \begin_layout Plain Layout
45923 \begin_layout Plain Layout
45936 \begin_layout Plain Layout
45944 \begin_inset Phantom Phantom
45947 \begin_layout Plain Layout
45957 \begin_layout Plain Layout
45969 <cell alignment="left" valignment="top" usebox="none">
45972 \begin_layout Plain Layout
45976 \begin_layout Plain Layout
45989 \begin_layout Plain Layout
45997 \begin_inset Phantom Phantom
46000 \begin_layout Plain Layout
46010 \begin_layout Plain Layout
46022 <cell alignment="left" valignment="top" usebox="none">
46025 \begin_layout Plain Layout
46029 \begin_layout Plain Layout
46042 \begin_layout Plain Layout
46050 \begin_inset Phantom Phantom
46053 \begin_layout Plain Layout
46063 \begin_layout Plain Layout
46075 <cell alignment="left" valignment="top" usebox="none">
46078 \begin_layout Plain Layout
46082 \begin_layout Plain Layout
46095 \begin_layout Plain Layout
46103 \begin_inset Phantom Phantom
46106 \begin_layout Plain Layout
46116 \begin_layout Plain Layout
46130 <cell alignment="left" valignment="top" usebox="none">
46133 \begin_layout Plain Layout
46137 \begin_layout Plain Layout
46150 \begin_layout Plain Layout
46158 \begin_inset Phantom Phantom
46161 \begin_layout Plain Layout
46171 \begin_layout Plain Layout
46183 <cell alignment="left" valignment="top" usebox="none">
46186 \begin_layout Plain Layout
46190 \begin_layout Plain Layout
46203 \begin_layout Plain Layout
46211 \begin_inset Phantom Phantom
46214 \begin_layout Plain Layout
46224 \begin_layout Plain Layout
46236 <cell alignment="left" valignment="top" usebox="none">
46239 \begin_layout Plain Layout
46243 \begin_layout Plain Layout
46256 \begin_layout Plain Layout
46264 \begin_inset Phantom Phantom
46267 \begin_layout Plain Layout
46277 \begin_layout Plain Layout
46289 <cell alignment="left" valignment="top" usebox="none">
46292 \begin_layout Plain Layout
46296 \begin_layout Plain Layout
46309 \begin_layout Plain Layout
46317 \begin_inset Phantom Phantom
46320 \begin_layout Plain Layout
46330 \begin_layout Plain Layout
46344 <cell alignment="left" valignment="top" usebox="none">
46347 \begin_layout Plain Layout
46351 \begin_layout Plain Layout
46364 \begin_layout Plain Layout
46372 \begin_inset Phantom Phantom
46375 \begin_layout Plain Layout
46385 \begin_layout Plain Layout
46397 <cell alignment="left" valignment="top" usebox="none">
46400 \begin_layout Plain Layout
46404 \begin_layout Plain Layout
46417 \begin_layout Plain Layout
46425 \begin_inset Phantom Phantom
46428 \begin_layout Plain Layout
46438 \begin_layout Plain Layout
46450 <cell alignment="left" valignment="top" usebox="none">
46453 \begin_layout Plain Layout
46457 \begin_layout Plain Layout
46470 \begin_layout Plain Layout
46478 \begin_inset Phantom Phantom
46481 \begin_layout Plain Layout
46491 \begin_layout Plain Layout
46503 <cell alignment="left" valignment="top" usebox="none">
46506 \begin_layout Plain Layout
46510 \begin_layout Plain Layout
46523 \begin_layout Plain Layout
46531 \begin_inset Phantom Phantom
46534 \begin_layout Plain Layout
46544 \begin_layout Plain Layout
46558 <cell alignment="left" valignment="top" usebox="none">
46561 \begin_layout Plain Layout
46565 \begin_layout Plain Layout
46578 \begin_layout Plain Layout
46586 \begin_inset Phantom Phantom
46589 \begin_layout Plain Layout
46599 \begin_layout Plain Layout
46611 <cell alignment="left" valignment="top" usebox="none">
46614 \begin_layout Plain Layout
46618 \begin_layout Plain Layout
46631 \begin_layout Plain Layout
46639 \begin_inset Phantom Phantom
46642 \begin_layout Plain Layout
46652 \begin_layout Plain Layout
46664 <cell alignment="left" valignment="top" usebox="none">
46667 \begin_layout Plain Layout
46671 \begin_layout Plain Layout
46684 \begin_layout Plain Layout
46692 \begin_inset Phantom Phantom
46695 \begin_layout Plain Layout
46705 \begin_layout Plain Layout
46717 <cell alignment="left" valignment="top" usebox="none">
46720 \begin_layout Plain Layout
46724 \begin_layout Plain Layout
46737 \begin_layout Plain Layout
46745 \begin_inset Phantom Phantom
46748 \begin_layout Plain Layout
46758 \begin_layout Plain Layout
46772 <cell alignment="left" valignment="top" usebox="none">
46775 \begin_layout Plain Layout
46779 \begin_layout Plain Layout
46792 \begin_layout Plain Layout
46800 \begin_inset Phantom Phantom
46803 \begin_layout Plain Layout
46813 \begin_layout Plain Layout
46825 <cell alignment="left" valignment="top" usebox="none">
46828 \begin_layout Plain Layout
46832 \begin_layout Plain Layout
46845 \begin_layout Plain Layout
46853 \begin_inset Phantom Phantom
46856 \begin_layout Plain Layout
46866 \begin_layout Plain Layout
46878 <cell alignment="left" valignment="top" usebox="none">
46881 \begin_layout Plain Layout
46885 \begin_layout Plain Layout
46898 \begin_layout Plain Layout
46906 \begin_inset Phantom Phantom
46909 \begin_layout Plain Layout
46919 \begin_layout Plain Layout
46931 <cell alignment="left" valignment="top" usebox="none">
46934 \begin_layout Plain Layout
46938 \begin_layout Plain Layout
46951 \begin_layout Plain Layout
46959 \begin_inset Phantom Phantom
46962 \begin_layout Plain Layout
46972 \begin_layout Plain Layout
46986 <cell alignment="left" valignment="top" usebox="none">
46989 \begin_layout Plain Layout
46993 \begin_layout Plain Layout
47006 \begin_layout Plain Layout
47014 \begin_inset Phantom Phantom
47017 \begin_layout Plain Layout
47027 \begin_layout Plain Layout
47039 <cell alignment="left" valignment="top" usebox="none">
47042 \begin_layout Plain Layout
47046 \begin_layout Plain Layout
47059 \begin_layout Plain Layout
47067 \begin_inset Phantom Phantom
47070 \begin_layout Plain Layout
47080 \begin_layout Plain Layout
47092 <cell alignment="left" valignment="top" usebox="none">
47095 \begin_layout Plain Layout
47099 \begin_layout Plain Layout
47112 \begin_layout Plain Layout
47120 \begin_inset Phantom Phantom
47123 \begin_layout Plain Layout
47133 \begin_layout Plain Layout
47145 <cell alignment="left" valignment="top" usebox="none">
47148 \begin_layout Plain Layout
47152 \begin_layout Plain Layout
47165 \begin_layout Plain Layout
47173 \begin_inset Phantom Phantom
47176 \begin_layout Plain Layout
47186 \begin_layout Plain Layout
47200 <cell alignment="left" valignment="top" usebox="none">
47203 \begin_layout Plain Layout
47207 \begin_layout Plain Layout
47220 \begin_layout Plain Layout
47228 \begin_inset Phantom Phantom
47231 \begin_layout Plain Layout
47241 \begin_layout Plain Layout
47253 <cell alignment="left" valignment="top" usebox="none">
47256 \begin_layout Plain Layout
47262 <cell alignment="left" valignment="top" usebox="none">
47265 \begin_layout Plain Layout
47271 <cell alignment="left" valignment="top" usebox="none">
47274 \begin_layout Plain Layout
47288 \begin_layout Chapter
47289 Explanation of Equation
47290 \begin_inset space ~
47294 \begin_inset CommandInset ref
47301 \begin_inset CommandInset label
47303 name "cha:Explanation-of-Equation"
47310 \begin_layout Standard
47311 We can calculate the total width of
47316 \begin_inset Formula $W_{\mathrm{tot\,n}}$
47320 \begin_inset Formula
47322 W_{\mathrm{tot}\,n}=n\cdot(W_{g\,n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
47328 \begin_inset Formula $W_{g\,n}$
47331 is the given width of all cells,
47337 is the \SpecialChar LaTeX
47338 -length between the cell text and the cell border (its default value
47340 \begin_inset space \thinspace{}
47350 is the thickness of the cell border line, the default is 0.4
47351 \begin_inset space \thinspace{}
47357 \begin_layout Standard
47359 \begin_inset space ~
47363 \begin_inset CommandInset ref
47365 reference "eq:Wtot_n"
47369 , the total width of a multicolumn
47370 \begin_inset Formula $W_{\mathrm{tot\,mult}}$
47374 \begin_inset Formula
47376 W_{\mathrm{tot\,mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
47384 \begin_layout Standard
47385 By setting equation
47386 \begin_inset space ~
47390 \begin_inset CommandInset ref
47392 reference "eq:Wtot_n"
47397 \begin_inset CommandInset ref
47399 reference "eq:Wtot_mult"
47403 equal we can calculate the needed given width
47404 \begin_inset Formula $W_{g\,n}$
47411 columns are spanned, so that each column has a total width of
47412 \begin_inset Formula $W_{\mathrm{tot\,mult}}/n$
47416 \begin_inset Formula
47418 W_{g\,n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
47426 \begin_layout Bibliography
47427 \begin_inset CommandInset bibitem
47428 LatexCommand bibitem
47429 key "latexcompanion"
47434 Frank Mittelbach and Michel Goossens:
47436 The \SpecialChar LaTeX
47437 Companion Second Edition.
47440 Addison-Wesley, 2004
47443 \begin_layout Bibliography
47444 \begin_inset CommandInset bibitem
47445 LatexCommand bibitem
47451 Helmut Kopka and Patrick W.
47454 A Guide to \SpecialChar LaTeX
47458 Addison-Wesley, 2003
47461 \begin_layout Bibliography
47462 \begin_inset CommandInset bibitem
47463 LatexCommand bibitem
47472 : A Document Preparation System.
47475 Addison-Wesley, second edition, 1994
47478 \begin_layout Bibliography
47479 \begin_inset CommandInset bibitem
47480 LatexCommand bibitem
47486 Documentation of the \SpecialChar LaTeX
47490 \begin_inset CommandInset href
47493 target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
47501 \begin_inset Index idx
47504 \begin_layout Plain Layout
47506 -packages ! arydshln
47514 \begin_layout Bibliography
47515 \begin_inset CommandInset bibitem
47516 LatexCommand bibitem
47522 Documentation of the \SpecialChar LaTeX
47526 \begin_inset CommandInset href
47529 target "https://www.ctan.org/tex-archive/macros/latex/contrib//booktabs/booktabs.pdf"
47537 \begin_inset Index idx
47540 \begin_layout Plain Layout
47542 -packages ! booktabs
47550 \begin_layout Bibliography
47551 \begin_inset CommandInset bibitem
47552 LatexCommand bibitem
47558 Documentation of the \SpecialChar LaTeX
47562 \begin_inset CommandInset href
47565 target "https://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"
47573 \begin_inset Index idx
47576 \begin_layout Plain Layout
47578 -packages ! caption
47586 \begin_layout Bibliography
47587 \begin_inset CommandInset bibitem
47588 LatexCommand bibitem
47594 Documentation of the \SpecialChar LaTeX
47598 \begin_inset CommandInset href
47601 target "https://www.ctan.org/tex-archive/macros/latex/contrib//diagbox/diagbox.pdf"
47609 \begin_inset Index idx
47612 \begin_layout Plain Layout
47614 -packages ! diagbox
47622 \begin_layout Bibliography
47623 \begin_inset CommandInset bibitem
47624 LatexCommand bibitem
47630 Documentation of the \SpecialChar LaTeX
47634 \begin_inset CommandInset href
47637 target "https://www.ctan.org/tex-archive/macros/latex/contrib//endfloat/endfloat.pdf"
47645 \begin_inset Index idx
47648 \begin_layout Plain Layout
47650 -packages ! endfloat
47658 \begin_layout Bibliography
47659 \begin_inset CommandInset bibitem
47660 LatexCommand bibitem
47666 Documentation of the \SpecialChar LaTeX
47670 \begin_inset CommandInset href
47673 target "https://www.ctan.org/tex-archive/macros/latex/contrib//footmisc/footmisc.pdf"
47681 \begin_inset Index idx
47684 \begin_layout Plain Layout
47686 -packages ! footmisc
47694 \begin_layout Bibliography
47695 \begin_inset CommandInset bibitem
47696 LatexCommand bibitem
47702 Documentation of the \SpecialChar LaTeX
47706 \begin_inset CommandInset href
47709 target "https://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
47717 \begin_inset Index idx
47720 \begin_layout Plain Layout
47722 -packages ! hyperref
47730 \begin_layout Bibliography
47731 \begin_inset CommandInset bibitem
47732 LatexCommand bibitem
47738 Documentation of the \SpecialChar LaTeX
47742 \begin_inset CommandInset href
47745 target "https://www.ctan.org/tex-archive/macros/latex/contrib//hyperref/hyperref.pdf"
47753 \begin_inset Index idx
47756 \begin_layout Plain Layout
47758 -packages ! hyperref
47766 \begin_layout Bibliography
47767 \begin_inset CommandInset bibitem
47768 LatexCommand bibitem
47774 Documentation of the \SpecialChar LaTeX
47778 \begin_inset CommandInset href
47781 target "https://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf"
47789 \begin_inset Index idx
47792 \begin_layout Plain Layout
47794 -packages ! KOMA-Script
47802 \begin_layout Bibliography
47803 \begin_inset CommandInset bibitem
47804 LatexCommand bibitem
47810 Documentation of the \SpecialChar LaTeX
47814 \begin_inset CommandInset href
47817 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/lettrine.pdf"
47825 \begin_inset CommandInset href
47828 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/demo.pdf"
47834 \begin_inset Index idx
47837 \begin_layout Plain Layout
47839 -packages ! lettrine
47847 \begin_layout Bibliography
47848 \begin_inset CommandInset bibitem
47849 LatexCommand bibitem
47855 Documentation of the \SpecialChar LaTeX
47859 \begin_inset CommandInset href
47862 target "https://www.ctan.org/tex-archive/macros/latex/contrib//listings/listings.pdf"
47870 \begin_inset Index idx
47873 \begin_layout Plain Layout
47875 -packages ! listings
47883 \begin_layout Bibliography
47884 \begin_inset CommandInset bibitem
47885 LatexCommand bibitem
47891 Documentation of the \SpecialChar LaTeX
47895 \begin_inset CommandInset href
47898 target "https://www.ctan.org/tex-archive/macros/latex/contrib//minted/minted.pdf"
47906 \begin_inset Index idx
47909 \begin_layout Plain Layout
47919 \begin_layout Bibliography
47920 \begin_inset CommandInset bibitem
47921 LatexCommand bibitem
47927 Documentation of the \SpecialChar LaTeX
47931 \begin_inset CommandInset href
47934 target "https://www.ctan.org/tex-archive/macros/latex/contrib//marginnote/marginnote.pdf"
47942 \begin_inset Index idx
47945 \begin_layout Plain Layout
47947 -packages ! marginnote
47955 \begin_layout Bibliography
47956 \begin_inset CommandInset bibitem
47957 LatexCommand bibitem
47963 Documentation of the \SpecialChar LaTeX
47967 \begin_inset CommandInset href
47970 target "https://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
47978 \begin_inset Index idx
47981 \begin_layout Plain Layout
47983 -packages ! pdfpages
47991 \begin_layout Bibliography
47992 \begin_inset CommandInset bibitem
47993 LatexCommand bibitem
47999 Documentation of the \SpecialChar LaTeX
48003 \begin_inset CommandInset href
48006 target "https://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
48014 \begin_inset Index idx
48017 \begin_layout Plain Layout
48019 -packages ! prettyref
48027 \begin_layout Bibliography
48028 \begin_inset CommandInset bibitem
48029 LatexCommand bibitem
48035 Web page of the \SpecialChar LaTeX
48039 \begin_inset CommandInset href
48042 target "http://tug.org/PSTricks/"
48050 \begin_inset Index idx
48053 \begin_layout Plain Layout
48055 -packages ! PSTricks
48063 \begin_layout Bibliography
48064 \begin_inset CommandInset bibitem
48065 LatexCommand bibitem
48071 Documentation of the \SpecialChar LaTeX
48075 \begin_inset CommandInset href
48078 target "https://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
48086 \begin_inset Index idx
48089 \begin_layout Plain Layout
48091 -packages ! refstyle
48099 \begin_layout Bibliography
48100 \begin_inset CommandInset bibitem
48101 LatexCommand bibitem
48107 Documentation of the \SpecialChar LaTeX
48111 \begin_inset CommandInset href
48114 target "https://www.ctan.org/tex-archive/macros/latex/contrib//sidecap/sidecap.pdf"
48122 \begin_inset Index idx
48125 \begin_layout Plain Layout
48127 -packages ! sidecap
48135 \begin_layout Bibliography
48136 \begin_inset CommandInset bibitem
48137 LatexCommand bibitem
48143 Documentation of the option
48144 \begin_inset CommandInset href
48146 name "Omit text in PDF"
48147 target "https://www.ctan.org/tex-archive/info/svg-inkscape/InkscapePDFLaTeX.pdf"
48155 \begin_inset CommandInset href
48158 target "https://inkscape.org"
48166 \begin_layout Standard
48167 \begin_inset CommandInset index_print
48168 LatexCommand printindex