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
535 Alternatively to the usage of scaling units it is possible to set image
536 coordinates to adjust the height and width of the image in the output.
537 The coordinates can also be calculated automatically by pressing the button
567 will only print the image region within the given coordinates.
568 Normally you don't need to worry about image coordinates and can ignore
572 \begin_layout Description
589 In this tab you can modify the appearance of the image within \SpecialChar LyX
590 and \SpecialChar LaTeX
592 can specify additional \SpecialChar LaTeX
594 \begin_inset Newline newline
605 makes the image appear in the output only as a frame with the size of the
607 \begin_inset Newline newline
618 you can define or join an image settings group.
619 \begin_inset Index idx
622 \begin_layout Plain Layout
623 Figures ! Settings grouping
628 Images within such a group share their settings, so adjusting one image
629 of the group automatically also adjusts all other images of the group in
631 So you can for example change the size for a bunch of images without the
632 need to manually change each of them.
633 Joining an existing group can also be done using the context menu of the
634 image by checking the name of the desired group.
637 \begin_layout Standard
638 \begin_inset VSpace bigskip
644 \begin_layout Standard
645 This is an example image in PDF format
649 \begin_layout Plain Layout
650 Image formats are explained in section
655 \begin_inset CommandInset ref
657 reference "sec:Image-Formats"
666 within a separate, horizontally centered paragraph:
669 \begin_layout Standard
671 \begin_inset Graphics
672 filename clipart/2D-intensity-plot.pdf
681 \begin_layout Standard
682 This is the same image like the one above but in draft mode:
685 \begin_layout Standard
687 \begin_inset Graphics
688 filename clipart/2D-intensity-plot.pdf
698 \begin_layout Standard
699 \begin_inset Newpage newpage
705 \begin_layout Section
707 \begin_inset CommandInset label
709 name "sec:Figure-Floats"
714 \begin_inset Index idx
717 \begin_layout Plain Layout
724 \begin_inset Index idx
727 \begin_layout Plain Layout
736 \begin_layout Standard
737 For general explanations about floats, have a look at section
742 \begin_inset CommandInset ref
744 reference "sec:FloatIntroduction"
751 \begin_layout Standard
755 arg "float-insert figure"
760 Insert\SpecialChar menuseparator
761 Float\SpecialChar menuseparator
764 inserts a float with a caption that has the label
765 \begin_inset Quotes eld
773 \begin_inset Quotes erd
776 (# is the actual number).
777 You can insert the image above the caption, like in Figure
782 \begin_inset CommandInset ref
784 reference "fig:A-star-in"
788 or below the caption, like in Figure
793 \begin_inset CommandInset ref
795 reference "fig:A-3D-object"
800 More about caption placement is described in section
805 \begin_inset CommandInset ref
807 reference "sec:Caption-Placement"
814 \begin_layout Standard
815 \begin_inset Float figure
822 \begin_layout Plain Layout
824 \begin_inset Graphics
825 filename clipart/Star-structure.pdf
836 \begin_layout Plain Layout
837 \begin_inset Caption Standard
839 \begin_layout Plain Layout
840 \begin_inset CommandInset label
859 \begin_layout Standard
860 \begin_inset Float figure
867 \begin_layout Plain Layout
868 \begin_inset Caption Standard
870 \begin_layout Plain Layout
871 \begin_inset CommandInset label
873 name "fig:A-3D-object"
885 \begin_layout Plain Layout
887 \begin_inset Graphics
888 filename clipart/3D-structure-distort.pdf
904 \begin_layout Standard
905 \begin_inset Index idx
908 \begin_layout Plain Layout
909 References ! to Figures
919 \begin_inset CommandInset ref
921 reference "fig:A-star-in"
926 \begin_inset CommandInset ref
928 reference "fig:A-3D-object"
932 are examples of referenced figures.
933 Figures can be referenced in the text by referencing their label.
934 To do this insert a label in the caption using the menu
936 Insert\SpecialChar menuseparator
939 or the toolbar button
946 You can now refer to the label using the menu
948 Insert\SpecialChar menuseparator
955 or the toolbar button
958 arg "dialog-show-new-inset ref"
962 It is important to use references to floats, rather than using vague references
964 \begin_inset Quotes eld
968 \begin_inset Quotes erd
971 , because \SpecialChar LaTeX
972 will reposition the floats in the final document and it might
974 \begin_inset Quotes eld
978 \begin_inset Quotes erd
982 \begin_inset Newline newline
985 Referencing is explained in detail in section
990 \begin_inset CommandInset ref
992 reference "sec:Referencing-Floats"
999 \begin_layout Standard
1000 Normally only one image is inserted to a figure float, but sometimes you
1001 might want to use two images with separate subcaptions.
1002 This can be done by inserting image floats into existing image floats.
1003 Note that only the main caption of the float is added to the List of Figures.
1005 \begin_inset space ~
1009 \begin_inset CommandInset ref
1011 reference "fig:Two-distorted-images"
1015 is an example of a figure float with two images set side by side.
1016 You can also set the images one below the other.
1018 \begin_inset space ~
1022 \begin_inset CommandInset ref
1024 reference "fig:Pink-object"
1029 \begin_inset CommandInset ref
1031 reference "fig:A-star"
1038 \begin_layout Standard
1039 \begin_inset Float figure
1046 \begin_layout Plain Layout
1047 \begin_inset space \hfill{}
1051 \begin_inset Float figure
1058 \begin_layout Plain Layout
1059 \begin_inset Caption Standard
1061 \begin_layout Plain Layout
1062 \begin_inset CommandInset label
1064 name "fig:Pink-object"
1076 \begin_layout Plain Layout
1077 \begin_inset Graphics
1078 filename clipart/3D-structure-distort.pdf
1091 \begin_inset space \hfill{}
1095 \begin_inset Float figure
1102 \begin_layout Plain Layout
1103 \begin_inset Caption Standard
1105 \begin_layout Plain Layout
1106 \begin_inset CommandInset label
1120 \begin_layout Plain Layout
1121 \begin_inset Graphics
1122 filename clipart/Star-structure.pdf
1135 \begin_inset space \hfill{}
1141 \begin_layout Plain Layout
1142 \begin_inset Caption Standard
1144 \begin_layout Plain Layout
1145 \begin_inset CommandInset label
1147 name "fig:Two-distorted-images"
1151 Two distorted images.
1152 Both images are in the image settings group named
1153 \begin_inset Quotes eld
1157 \begin_inset Quotes erd
1173 \begin_layout Standard
1174 \begin_inset Newpage newpage
1180 \begin_layout Section
1182 \begin_inset CommandInset label
1184 name "sec:Image-Formats"
1189 \begin_inset Index idx
1192 \begin_layout Plain Layout
1199 \begin_inset Index idx
1202 \begin_layout Plain Layout
1203 Figures ! Image Formats
1211 \begin_layout Standard
1212 You can insert images in any known file format.
1213 But as explained in appendix
1214 \begin_inset space ~
1218 \begin_inset CommandInset ref
1220 reference "cha:Output-File-Formats"
1224 , each output document format allows only a few image formats.
1226 uses therefore the program
1230 in the background to convert the images to the right format.
1231 To increase your work flow by avoiding these conversions in the background,
1232 you could choose to use only the image formats that can directly be embedded
1233 in the output file format.
1234 The output file formats are explained in appendix
1235 \begin_inset space ~
1239 \begin_inset CommandInset ref
1241 reference "cha:Output-File-Formats"
1248 \begin_layout Standard
1249 Similar to fonts there are two types of image formats:
1252 \begin_layout Description
1254 \begin_inset space ~
1257 images consist of pixel values, often in a compressed form.
1258 They are therefore not fully scalable and look pixelated in large zooms.
1259 Well-known bitmap image formats are
1260 \begin_inset Quotes eld
1263 Graphics Interchange Format
1264 \begin_inset Quotes erd
1267 (GIF, file extension
1268 \begin_inset Quotes eld
1276 \begin_inset Quotes erd
1280 \begin_inset Index idx
1283 \begin_layout Plain Layout
1288 \begin_layout Plain Layout
1299 \begin_layout Plain Layout
1312 \begin_inset Quotes eld
1315 Portable Network Graphics
1316 \begin_inset Quotes erd
1319 (PNG, file extension
1320 \begin_inset Quotes eld
1328 \begin_inset Quotes erd
1332 \begin_inset Index idx
1335 \begin_layout Plain Layout
1340 \begin_layout Plain Layout
1351 \begin_layout Plain Layout
1364 \begin_inset Quotes eld
1367 Joint Photographic Experts Group
1368 \begin_inset Quotes erd
1371 (JPG, file extension
1372 \begin_inset Quotes eld
1380 \begin_inset Quotes erd
1384 \begin_inset Quotes eld
1392 \begin_inset Quotes erd
1396 \begin_inset Index idx
1399 \begin_layout Plain Layout
1404 \begin_layout Plain Layout
1415 \begin_layout Plain Layout
1430 \begin_layout Description
1432 \begin_inset space ~
1435 images consist of vectors and can therefore be scaled to any size without
1437 The scaling ability is necessary if you want to create presentations, because
1438 presentations are always scaled by the video projector.
1439 Scaling is also useful for online documents to let the user zoom into diagrams.
1440 \begin_inset Newline newline
1443 Well-known scalable image formats are
1444 \begin_inset Quotes eld
1447 Scalable Vector Graphics
1448 \begin_inset Quotes erd
1451 (SVG, file extension
1452 \begin_inset Quotes eld
1460 \begin_inset Quotes erd
1464 \begin_inset Index idx
1467 \begin_layout Plain Layout
1472 \begin_layout Plain Layout
1483 \begin_layout Plain Layout
1496 \begin_inset Quotes eld
1499 Encapsulated PostScript
1500 \begin_inset Quotes erd
1503 (EPS, file extension
1504 \begin_inset Quotes eld
1512 \begin_inset Quotes erd
1516 \begin_inset Index idx
1519 \begin_layout Plain Layout
1524 \begin_layout Plain Layout
1535 \begin_layout Plain Layout
1548 \begin_inset Quotes eld
1551 Portable Document Format
1552 \begin_inset Quotes erd
1555 (PDF, file extension
1556 \begin_inset Quotes eld
1564 \begin_inset Quotes erd
1568 \begin_inset Index idx
1571 \begin_layout Plain Layout
1578 \begin_inset Quotes eld
1582 \begin_inset Quotes erd
1585 (WMF, file extension
1586 \begin_inset Quotes eld
1594 \begin_inset Quotes erd
1598 \begin_inset Index idx
1601 \begin_layout Plain Layout
1606 \begin_layout Plain Layout
1617 \begin_layout Plain Layout
1631 \begin_inset Quotes eld
1635 \begin_inset Quotes erd
1638 , because you can convert any bitmap image to a PDF or EPS-image and the
1639 result will still be a bitmap image.
1640 In such cases only a header with the image properties is added to the original
1645 \begin_layout Plain Layout
1646 In the case of PDF, the original image is additionally compressed.
1652 The PDF-files generated by
1656 are for example bitmap images.
1659 \begin_layout Standard
1660 Normally it is not possible to convert a bitmap image into a scalable one,
1662 Only the image formats PDF and EPS can directly be embedded to PDF and
1663 PostScript output files, respectively.
1664 SVG and WMF-images are recalculated to bitmaps when the output file is
1665 generated because there is currently no adequate WMF/SVG
1666 \begin_inset Formula $\to$
1669 PDF/EPS converter available.
1672 \begin_layout Chapter
1674 \begin_inset Index idx
1677 \begin_layout Plain Layout
1686 \begin_layout Section
1688 \begin_inset Index idx
1691 \begin_layout Plain Layout
1692 Table ! Introduction
1700 \begin_layout Standard
1701 You can insert a table using either the toolbar button
1704 arg "tabular-insert"
1709 Insert\SpecialChar menuseparator
1713 The toolbar button offers you a graphical selection: move the mouse to
1714 set the column/row number of the table that should be created and then
1715 press a mouse button.
1716 When you use the menu to create a table, a dialog will appear, asking you
1717 for the number of rows and columns
1718 \change_inserted -712698321 1554289643
1719 , and you can select a specific (border) style
1722 \change_deleted -712698321 1554289644
1724 \begin_inset Newline newline
1728 \change_inserted -712698321 1554289645
1732 \begin_layout Standard
1733 The default table has lines around any cell and the first row appears separated
1734 from the rest of the table.
1735 This separation occurs due to a double line: The cells of the first row
1736 have a line below them and the cells of the second row have a line above
1738 Here is an example table:
1741 \begin_layout Standard
1743 \begin_inset Tabular
1744 <lyxtabular version="3" rows="4" columns="4">
1745 <features tabularvalignment="middle">
1746 <column alignment="center" valignment="top">
1747 <column alignment="center" valignment="top">
1748 <column alignment="center" valignment="top">
1749 <column alignment="center" valignment="top">
1751 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1754 \begin_layout Plain Layout
1760 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1763 \begin_layout Plain Layout
1778 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1781 \begin_layout Plain Layout
1787 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1790 \begin_layout Plain Layout
1798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1801 \begin_layout Plain Layout
1816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1819 \begin_layout Plain Layout
1825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1828 \begin_layout Plain Layout
1834 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1837 \begin_layout Plain Layout
1845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1848 \begin_layout Plain Layout
1863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1866 \begin_layout Plain Layout
1872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1875 \begin_layout Plain Layout
1881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1884 \begin_layout Plain Layout
1892 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1895 \begin_layout Plain Layout
1910 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1913 \begin_layout Plain Layout
1919 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1922 \begin_layout Plain Layout
1928 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1931 \begin_layout Plain Layout
1945 \begin_layout Standard
1947 \change_inserted -712698321 1554289664
1948 This corresponds to the
1949 \begin_inset Quotes eld
1953 \begin_inset Quotes erd
1956 table style listed in the style selection.
1959 \begin_layout Standard
1961 \change_inserted -712698321 1554289664
1962 Other available styles include:
1965 \begin_layout Itemize
1967 \change_inserted -712698321 1554289664
1969 \begin_inset Quotes eld
1973 \begin_inset Quotes erd
1976 which looks line the above table, but without the first row being separated
1980 \begin_layout Itemize
1982 \change_inserted -712698321 1554289664
1983 a border-less table with no lines at all,
1986 \begin_layout Itemize
1988 \change_inserted -712698321 1554289664
1990 \begin_inset Quotes eld
1994 \begin_inset Quotes erd
1997 as often used in professional publishing with horizontal lines only and
1998 bold top/bottom lines (see
2009 \begin_layout Standard
2011 \change_inserted -712698321 1554289664
2012 The default style used in the dialog as well as the style used by the toolbar
2013 button can be changed in
2015 Document\SpecialChar menuseparator
2016 Settings\SpecialChar menuseparator
2020 So if the default style above is not the one you need, you should alter
2024 \begin_layout Section
2026 \begin_inset Index idx
2029 \begin_layout Plain Layout
2038 \begin_layout Standard
2039 You can alter a table by clicking on it with the right mouse button, which
2040 brings up the context menu.
2041 Under the menu entry
2045 you can adjust the settings of that cell and row/column respectively where
2046 the cursor is currently placed.
2049 More\SpecialChar menuseparator
2052 opens the table dialog where you can adjust more things.
2053 Most of the dialog options also work on selections.
2054 This means if you select more cells, columns or rows, the action is done
2055 for the whole selection.
2056 Note that there is a difference between selecting the
2060 of the cell, and the cell itself.
2061 \begin_inset Newline newline
2064 With the dialog option
2067 \begin_inset space ~
2072 every change you make in the dialog is directly applied.
2073 If you move the cursor to another table cell the dialog will then also
2074 be updated with the parameters of the new cell.
2075 If you change length values in the dialog you must press
2079 to get the change applied.
2080 \begin_inset Newline newline
2083 You can alter tables with the following tabs of the table dialog:
2086 \begin_layout Description
2088 \begin_inset space ~
2091 Settings Here you can set the table width
2092 \begin_inset Index idx
2095 \begin_layout Plain Layout
2101 , and the horizontal alignment and the width of the current column.
2105 \begin_inset space ~
2109 \begin_inset space ~
2114 is described in section
2115 \begin_inset space ~
2119 \begin_inset CommandInset ref
2121 reference "subsec:Special-Cell-Alignment"
2126 When you have set a width you can also adjust the vertical alignment of
2128 A given width will allow the cell to have line breaks and multiple paragraphs
2130 \begin_inset space \thinspace{}
2134 \begin_inset CommandInset ref
2136 reference "subsec:Multiple-Lines-in"
2141 If you set no width, the column is as wide as the content of its widest
2143 \begin_inset Newline newline
2146 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2148 \begin_inset space \thinspace{}
2152 \begin_inset CommandInset ref
2154 reference "subsec:Multicolumns"
2158 or the cells of one column as multirow cell, see sec.
2159 \begin_inset space \thinspace{}
2163 \begin_inset CommandInset ref
2165 reference "subsec:Multirows"
2170 \begin_inset Newline newline
2173 The rotate check boxes rotate the current cell, a selection, or the whole
2174 table counter-clockwise by 90
2175 \begin_inset space \thinspace{}
2179 The rotation is not shown within \SpecialChar LyX
2180 , only in the output.
2181 For more information see sec.
2182 \begin_inset space \thinspace{}
2186 \begin_inset CommandInset ref
2188 reference "sec:Rotated-Table-Cells"
2193 \begin_inset Newline newline
2197 \begin_inset Note Greyedout
2200 \begin_layout Plain Layout
2205 Not all DVI-viewers are able to display rotations.
2211 \begin_inset Newline newline
2214 The table-wide vertical alignment is used for tables within text lines:
2215 \begin_inset Newline newline
2218 A line with tables with different alignments:
2219 \begin_inset Tabular
2220 <lyxtabular version="3" rows="2" columns="2">
2221 <features tabularvalignment="top">
2222 <column alignment="center" valignment="top" width="0pt">
2223 <column alignment="center" valignment="top">
2225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2228 \begin_layout Plain Layout
2234 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2237 \begin_layout Plain Layout
2254 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2257 \begin_layout Plain Layout
2272 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2275 \begin_layout Plain Layout
2287 \begin_inset Tabular
2288 <lyxtabular version="3" rows="2" columns="2">
2289 <features tabularvalignment="middle">
2290 <column alignment="center" valignment="top">
2291 <column alignment="center" valignment="top">
2293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2296 \begin_layout Plain Layout
2302 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2305 \begin_layout Plain Layout
2322 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2325 \begin_layout Plain Layout
2340 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2343 \begin_layout Plain Layout
2355 \begin_inset Tabular
2356 <lyxtabular version="3" rows="2" columns="2">
2357 <features tabularvalignment="bottom">
2358 <column alignment="center" valignment="top" width="0pt">
2359 <column alignment="center" valignment="top">
2361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2364 \begin_layout Plain Layout
2370 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2373 \begin_layout Plain Layout
2390 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2393 \begin_layout Plain Layout
2408 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2411 \begin_layout Plain Layout
2423 \begin_inset Newline newline
2426 It is also possible to enter a \SpecialChar LaTeX
2427 -argument which is needed for special table
2428 formattings, see sec.
2429 \begin_inset space \thinspace{}
2433 \begin_inset CommandInset ref
2435 reference "subsec:Multicolumn-Calculations"
2440 \begin_inset CommandInset ref
2442 reference "sec:Colored-Tables"
2449 \begin_layout Description
2450 Borders In this tab you can add and delete border lines for the current
2452 \begin_inset Newline newline
2455 Using the style option
2459 will convert the table to a formal table as described in sec.
2460 \begin_inset space \thinspace{}
2464 \begin_inset CommandInset ref
2466 reference "sec:Formal-Tables"
2471 \begin_inset Newline newline
2474 You can also add space here to table rows as described in sec.
2475 \begin_inset space \thinspace{}
2479 \begin_inset CommandInset ref
2481 reference "subsec:Row-Spacing"
2488 \begin_layout Description
2490 \begin_inset space ~
2493 table This tab is to make a table a multi-page table that can run over several
2496 \begin_inset space ~
2500 \begin_inset CommandInset ref
2502 reference "sec:Multi-page-Tables"
2507 \begin_inset CommandInset ref
2509 reference "sec:Special-Longtable-Issues"
2513 describe the multi-page table features in detail.
2516 \begin_layout Section
2518 \begin_inset Index idx
2521 \begin_layout Plain Layout
2530 \begin_layout Standard
2531 The table toolbar is an alternative to the table dialog to be able to alter
2533 It should normally appear at the bottom of \SpecialChar LyX
2534 's main window when the cursor
2536 You can alternatively switch it on to appear always, by right-clicking
2541 \begin_layout Standard
2542 The toolbar has the following icons:
2545 \begin_layout Labeling
2546 \labelwidthstring 00.00.0000
2549 arg "tabular-feature append-row"
2552 adds a row below the current cell or selection
2555 \begin_layout Labeling
2556 \labelwidthstring 00.00.0000
2559 arg "tabular-feature append-column"
2562 adds a column right beside the current cell or selection
2565 \begin_layout Labeling
2566 \labelwidthstring 00.00.0000
2569 arg "tabular-feature delete-row"
2572 deletes the current row or selection
2575 \begin_layout Labeling
2576 \labelwidthstring 00.00.0000
2579 arg "tabular-feature delete-column"
2582 deletes the current column or selection
2585 \begin_layout Labeling
2586 \labelwidthstring 00.00.0000
2589 arg "tabular-feature move-row-up"
2595 \begin_layout Labeling
2596 \labelwidthstring 00.00.0000
2599 arg "tabular-feature move-column-left"
2602 moves the column to the left
2605 \begin_layout Labeling
2606 \labelwidthstring 00.00.0000
2609 arg "tabular-feature move-row-down"
2615 \begin_layout Labeling
2616 \labelwidthstring 00.00.0000
2619 arg "tabular-feature move-column-right"
2622 moves the column to the right
2625 \begin_layout Labeling
2626 \labelwidthstring 00.00.0000
2629 arg "tabular-feature toggle-line-top"
2632 adds a line at the top of the current cell / row or of a selection
2635 \begin_layout Labeling
2636 \labelwidthstring 00.00.0000
2639 arg "tabular-feature toggle-line-bottom"
2642 adds a line at the bottom of the current cell / row or of a selection
2645 \begin_layout Labeling
2646 \labelwidthstring 00.00.0000
2649 arg "tabular-feature toggle-line-left"
2652 adds a line at the left side of the current cell / row or of a selection
2655 \begin_layout Labeling
2656 \labelwidthstring 00.00.0000
2659 arg "tabular-feature toggle-line-right"
2662 adds a line at the right side of the current cell / row or of a selection
2663 \change_inserted -712698321 1554289731
2667 \begin_layout Labeling
2668 \labelwidthstring 00.00.0000
2670 \change_inserted -712698321 1554289910
2673 arg "tabular-feature set-border-lines"
2676 adds a border around the currently selected cells
2681 \begin_layout Labeling
2682 \labelwidthstring 00.00.0000
2685 arg "tabular-feature set-all-lines"
2688 adds lines around the current or selected cells - if the current cell is
2689 not a multicolumn cell this also affects the current row and column
2692 \begin_layout Labeling
2693 \labelwidthstring 00.00.0000
2696 arg "tabular-feature unset-all-lines"
2699 deletes all lines of the current or selected cells - if the current cell
2700 is not a multicolumn cell this also affects the current row and column
2701 \change_inserted -712698321 1554289920
2705 \begin_layout Labeling
2706 \labelwidthstring 00.00.0000
2708 \change_inserted -712698321 1554292586
2711 arg "tabular-feature reset-formal-default"
2714 If using a formal table, this resets the border to its default (only horizontal
2715 lines in top and bottom rows)
2720 \begin_layout Labeling
2721 \labelwidthstring 00.00.0000
2724 arg "tabular-feature m-align-left"
2727 left-aligns the content of the current cell / column
2730 \begin_layout Labeling
2731 \labelwidthstring 00.00.0000
2734 arg "tabular-feature m-align-center"
2737 centers the content of the current cell / column horizontally
2740 \begin_layout Labeling
2741 \labelwidthstring 00.00.0000
2744 arg "tabular-feature m-align-right"
2747 right-aligns the content of the current cell / column
2750 \begin_layout Labeling
2751 \labelwidthstring 00.00.0000
2754 arg "tabular-feature align-decimal"
2757 aligns the content of the current column at a character
2760 \begin_layout Labeling
2761 \labelwidthstring 00.00.0000
2764 arg "tabular-feature m-valign-top"
2767 aligns the content of the current cell vertically to the top
2770 \begin_layout Labeling
2771 \labelwidthstring 00.00.0000
2774 arg "tabular-feature m-valign-middle"
2777 centers the content of the current cell vertically
2780 \begin_layout Labeling
2781 \labelwidthstring 00.00.0000
2784 arg "tabular-feature m-valign-bottom"
2787 aligns the content of the current cell vertically to the bottom
2790 \begin_layout Labeling
2791 \labelwidthstring 00.00.0000
2794 arg "tabular-feature set-rotate-cell"
2797 rotates the current cell or selection counter-clockwise by 90°
2800 \begin_layout Labeling
2801 \labelwidthstring 00.00.0000
2804 arg "tabular-feature set-rotate-tabular"
2807 rotates the whole table counter-clockwise by 90°
2810 \begin_layout Labeling
2811 \labelwidthstring 00.00.0000
2814 arg "tabular-feature multicolumn"
2817 sets the current cell or selection as a multicolumn
2820 \begin_layout Labeling
2821 \labelwidthstring 00.00.0000
2824 arg "tabular-feature multirow"
2827 sets the current cell or selection as a multirow
2830 \begin_layout Standard
2831 \begin_inset Note Greyedout
2834 \begin_layout Plain Layout
2839 For the output the vertical alignment of the first cell in a row is used
2840 for all following cells in the row.
2848 \begin_layout Section
2850 \begin_inset Index idx
2853 \begin_layout Plain Layout
2862 \begin_layout Standard
2863 In addition to the table dialog and toolbar, the menu
2865 Edit\SpecialChar menuseparator
2868 allows you to add and delete border lines for the current row/column and
2869 to set the current selection as multicolumn.
2870 The menu is only available when the cursor is inside a table.
2873 \begin_layout Section
2875 \begin_inset CommandInset label
2877 name "sec:Table-Floats"
2882 \begin_inset Index idx
2885 \begin_layout Plain Layout
2892 \begin_inset Index idx
2895 \begin_layout Plain Layout
2904 \begin_layout Standard
2905 For general explanations about floats, have a look at section
2906 \begin_inset space ~
2910 \begin_inset CommandInset ref
2912 reference "sec:FloatIntroduction"
2919 \begin_layout Standard
2920 \begin_inset Float table
2927 \begin_layout Plain Layout
2928 \begin_inset Caption Standard
2930 \begin_layout Plain Layout
2931 \begin_inset CommandInset label
2933 name "tab:a table float"
2945 \begin_layout Plain Layout
2947 \begin_inset Tabular
2948 <lyxtabular version="3" rows="3" columns="3">
2949 <features tabularvalignment="middle">
2950 <column alignment="center" valignment="top" width="0pt">
2951 <column alignment="center" valignment="top" width="0pt">
2952 <column alignment="center" valignment="top" width="0pt">
2954 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2957 \begin_layout Plain Layout
2972 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2975 \begin_layout Plain Layout
2990 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2993 \begin_layout Plain Layout
3010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3013 \begin_layout Plain Layout
3028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3031 \begin_layout Plain Layout
3046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3049 \begin_layout Plain Layout
3066 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3069 \begin_layout Plain Layout
3079 \begin_inset Formula $\int x^{2}dx$
3087 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3090 \begin_layout Plain Layout
3100 \begin_inset Formula $\left[\begin{array}{cc}
3111 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3114 \begin_layout Plain Layout
3124 \begin_inset Formula $1+1=2$
3145 \begin_layout Standard
3146 Table floats can be inserted using the menu
3148 Insert\SpecialChar menuseparator
3149 Float\SpecialChar menuseparator
3152 or the toolbar button
3155 arg "float-insert table"
3161 \begin_layout Standard
3162 The float appears as a collapsible box with a caption that has the label
3164 \begin_inset Quotes eld
3168 \begin_inset space ~
3172 \begin_inset Quotes erd
3175 (# is the actual table number).
3176 You can insert tables in the float above or below the caption.
3179 \begin_layout Standard
3181 \begin_inset space ~
3185 \begin_inset CommandInset ref
3187 reference "tab:a table float"
3191 is an example table within a table float.
3194 \begin_layout Standard
3195 Having the caption above the table is the common rule that is unfortunately
3196 not supported in \SpecialChar LaTeX
3197 's standard classes.
3198 This means that, if you are using the document classes
3214 , there will be no space between the caption and the table.
3215 To insert the needed space, add the following option to the load command
3216 of the \SpecialChar LaTeX
3222 \begin_inset Index idx
3225 \begin_layout Plain Layout
3232 in your document preamble:
3236 \begin_layout Plain Layout
3237 For more information have a look at section
3238 \begin_inset space ~
3242 \begin_inset CommandInset ref
3244 reference "sec:Caption-Placement"
3256 \begin_layout Standard
3262 \begin_layout Standard
3267 , which is described in section
3268 \begin_inset space ~
3272 \begin_inset CommandInset ref
3274 reference "sec:Caption-Formatting"
3278 , is used to adjust the caption format.
3281 \begin_layout Standard
3282 \begin_inset Index idx
3285 \begin_layout Plain Layout
3286 References ! to Tables
3291 Tables can be cross-referenced in the text by referencing their label.
3292 To do this insert a label in the caption using the menu
3294 Insert\SpecialChar menuseparator
3297 or the toolbar button
3304 You can now refer to the label using the menu
3306 Insert\SpecialChar menuseparator
3308 \begin_inset space ~
3313 or the toolbar button
3316 arg "dialog-show-new-inset ref"
3320 \begin_inset Newline newline
3323 Referencing is explained in detail in section
3324 \begin_inset space ~
3328 \begin_inset CommandInset ref
3330 reference "sec:Referencing-Floats"
3337 \begin_layout Section
3343 \begin_inset CommandInset label
3345 name "sec:Multi-page-Tables"
3350 \begin_inset Index idx
3353 \begin_layout Plain Layout
3360 \begin_inset Index idx
3363 \begin_layout Plain Layout
3364 Table ! Multi-page Table
3372 \begin_layout Standard
3373 If the table is too long to fit on one page, you can use the option
3376 \begin_inset space ~
3384 \begin_inset space ~
3389 of the table dialog to split the table automatically over more pages.
3390 Doing this enables the following options:
3393 \begin_layout Description
3394 Header: The current row is defined to be a header row that appears on all
3395 pages of the multi-page table; except for the first page, if
3398 \begin_inset space ~
3404 This is therefore called the main header.
3407 \begin_layout Description
3409 \begin_inset space ~
3412 header: The current row is defined to be a header row that appears on the
3413 first page of the multi-page table.
3416 \begin_layout Description
3417 Footer: The current row is defined to be a footer row that appears on all
3418 pages of the multi-page table; except for the last page, if
3421 \begin_inset space ~
3429 \begin_layout Description
3431 \begin_inset space ~
3434 footer: The current row is defined to be a footer row that appears on the
3435 last page of the multi-page table.
3438 \begin_layout Description
3439 Caption: The current row contains the table caption.
3440 The row is reset as single column and a caption is inserted.
3441 More about multi-page table captions is explained in sec.
3442 \begin_inset space \thinspace{}
3446 \begin_inset CommandInset ref
3448 reference "subsec:Multi-page-Table-Captions"
3455 \begin_layout Standard
3456 You can also specify a row where the table is split.
3457 See the following multi-page table to see how it works:
3460 \begin_layout Standard
3462 \begin_inset Tabular
3463 <lyxtabular version="3" rows="69" columns="3">
3464 <features islongtable="true" longtabularalignment="center">
3465 <column alignment="left" valignment="top" width="0cm">
3466 <column alignment="left" valignment="top" width="0pt">
3467 <column alignment="center" valignment="top" width="0pt">
3468 <row endfirsthead="true">
3469 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3472 \begin_layout Plain Layout
3475 Example Phone List (ignore the names)
3480 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3483 \begin_layout Plain Layout
3489 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3492 \begin_layout Plain Layout
3499 <row endfirsthead="true">
3500 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3503 \begin_layout Plain Layout
3511 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3514 \begin_layout Plain Layout
3520 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3523 \begin_layout Plain Layout
3532 <row endhead="true">
3533 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3536 \begin_layout Plain Layout
3544 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3547 \begin_layout Plain Layout
3553 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3556 \begin_layout Plain Layout
3563 <row endhead="true">
3564 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3567 \begin_layout Plain Layout
3575 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3578 \begin_layout Plain Layout
3584 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3587 \begin_layout Plain Layout
3596 <row endfoot="true">
3597 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3600 \begin_layout Plain Layout
3601 continued on next page
3606 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3609 \begin_layout Plain Layout
3615 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3618 \begin_layout Plain Layout
3626 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3629 \begin_layout Plain Layout
3637 <cell alignment="center" valignment="top" usebox="none">
3640 \begin_layout Plain Layout
3646 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3649 \begin_layout Plain Layout
3657 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3660 \begin_layout Plain Layout
3668 <cell alignment="center" valignment="top" usebox="none">
3671 \begin_layout Plain Layout
3677 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3680 \begin_layout Plain Layout
3688 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3691 \begin_layout Plain Layout
3699 <cell alignment="center" valignment="top" usebox="none">
3702 \begin_layout Plain Layout
3708 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3711 \begin_layout Plain Layout
3719 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3722 \begin_layout Plain Layout
3730 <cell alignment="center" valignment="top" usebox="none">
3733 \begin_layout Plain Layout
3739 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3742 \begin_layout Plain Layout
3750 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3753 \begin_layout Plain Layout
3761 <cell alignment="center" valignment="top" usebox="none">
3764 \begin_layout Plain Layout
3770 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3773 \begin_layout Plain Layout
3781 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3784 \begin_layout Plain Layout
3792 <cell alignment="center" valignment="top" usebox="none">
3795 \begin_layout Plain Layout
3801 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3804 \begin_layout Plain Layout
3812 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3815 \begin_layout Plain Layout
3823 <cell alignment="center" valignment="top" usebox="none">
3826 \begin_layout Plain Layout
3832 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3835 \begin_layout Plain Layout
3843 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3846 \begin_layout Plain Layout
3854 <cell alignment="center" valignment="top" usebox="none">
3857 \begin_layout Plain Layout
3863 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3866 \begin_layout Plain Layout
3874 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3877 \begin_layout Plain Layout
3885 <cell alignment="center" valignment="top" usebox="none">
3888 \begin_layout Plain Layout
3894 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3897 \begin_layout Plain Layout
3905 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3908 \begin_layout Plain Layout
3916 <cell alignment="center" valignment="top" usebox="none">
3919 \begin_layout Plain Layout
3925 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3928 \begin_layout Plain Layout
3936 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3939 \begin_layout Plain Layout
3947 <cell alignment="center" valignment="top" usebox="none">
3950 \begin_layout Plain Layout
3956 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3959 \begin_layout Plain Layout
3967 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3970 \begin_layout Plain Layout
3978 <cell alignment="center" valignment="top" usebox="none">
3981 \begin_layout Plain Layout
3987 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3990 \begin_layout Plain Layout
3998 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4001 \begin_layout Plain Layout
4009 <cell alignment="center" valignment="top" usebox="none">
4012 \begin_layout Plain Layout
4018 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4021 \begin_layout Plain Layout
4029 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4032 \begin_layout Plain Layout
4040 <cell alignment="center" valignment="top" usebox="none">
4043 \begin_layout Plain Layout
4049 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4052 \begin_layout Plain Layout
4060 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4063 \begin_layout Plain Layout
4071 <cell alignment="center" valignment="top" usebox="none">
4074 \begin_layout Plain Layout
4080 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4083 \begin_layout Plain Layout
4091 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4094 \begin_layout Plain Layout
4102 <cell alignment="center" valignment="top" usebox="none">
4105 \begin_layout Plain Layout
4111 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4114 \begin_layout Plain Layout
4122 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4125 \begin_layout Plain Layout
4133 <cell alignment="center" valignment="top" usebox="none">
4136 \begin_layout Plain Layout
4142 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4145 \begin_layout Plain Layout
4153 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4156 \begin_layout Plain Layout
4164 <cell alignment="center" valignment="top" usebox="none">
4167 \begin_layout Plain Layout
4173 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4176 \begin_layout Plain Layout
4184 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4187 \begin_layout Plain Layout
4195 <cell alignment="center" valignment="top" usebox="none">
4198 \begin_layout Plain Layout
4204 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4207 \begin_layout Plain Layout
4215 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4218 \begin_layout Plain Layout
4226 <cell alignment="center" valignment="top" usebox="none">
4229 \begin_layout Plain Layout
4235 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4238 \begin_layout Plain Layout
4246 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4249 \begin_layout Plain Layout
4257 <cell alignment="center" valignment="top" usebox="none">
4260 \begin_layout Plain Layout
4266 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4269 \begin_layout Plain Layout
4277 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4280 \begin_layout Plain Layout
4288 <cell alignment="center" valignment="top" usebox="none">
4291 \begin_layout Plain Layout
4297 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4300 \begin_layout Plain Layout
4308 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4311 \begin_layout Plain Layout
4319 <cell alignment="center" valignment="top" usebox="none">
4322 \begin_layout Plain Layout
4328 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4331 \begin_layout Plain Layout
4339 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4342 \begin_layout Plain Layout
4350 <cell alignment="center" valignment="top" usebox="none">
4353 \begin_layout Plain Layout
4359 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4362 \begin_layout Plain Layout
4370 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4373 \begin_layout Plain Layout
4381 <cell alignment="center" valignment="top" usebox="none">
4384 \begin_layout Plain Layout
4390 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4393 \begin_layout Plain Layout
4401 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4404 \begin_layout Plain Layout
4412 <cell alignment="center" valignment="top" usebox="none">
4415 \begin_layout Plain Layout
4421 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4424 \begin_layout Plain Layout
4432 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4435 \begin_layout Plain Layout
4443 <cell alignment="center" valignment="top" usebox="none">
4446 \begin_layout Plain Layout
4452 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4455 \begin_layout Plain Layout
4463 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4466 \begin_layout Plain Layout
4474 <cell alignment="center" valignment="top" usebox="none">
4477 \begin_layout Plain Layout
4483 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4486 \begin_layout Plain Layout
4494 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4497 \begin_layout Plain Layout
4505 <cell alignment="center" valignment="top" usebox="none">
4508 \begin_layout Plain Layout
4514 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4517 \begin_layout Plain Layout
4525 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4528 \begin_layout Plain Layout
4536 <cell alignment="center" valignment="top" usebox="none">
4539 \begin_layout Plain Layout
4545 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4548 \begin_layout Plain Layout
4556 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4559 \begin_layout Plain Layout
4567 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4570 \begin_layout Plain Layout
4576 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4579 \begin_layout Plain Layout
4587 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4590 \begin_layout Plain Layout
4596 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4599 \begin_layout Plain Layout
4605 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4608 \begin_layout Plain Layout
4616 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4619 \begin_layout Plain Layout
4627 <cell alignment="center" valignment="top" usebox="none">
4630 \begin_layout Plain Layout
4636 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4639 \begin_layout Plain Layout
4647 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4650 \begin_layout Plain Layout
4658 <cell alignment="center" valignment="top" usebox="none">
4661 \begin_layout Plain Layout
4667 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4670 \begin_layout Plain Layout
4678 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4681 \begin_layout Plain Layout
4689 <cell alignment="center" valignment="top" usebox="none">
4692 \begin_layout Plain Layout
4698 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4701 \begin_layout Plain Layout
4709 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4712 \begin_layout Plain Layout
4720 <cell alignment="center" valignment="top" usebox="none">
4723 \begin_layout Plain Layout
4729 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4732 \begin_layout Plain Layout
4740 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4743 \begin_layout Plain Layout
4751 <cell alignment="center" valignment="top" usebox="none">
4754 \begin_layout Plain Layout
4760 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4763 \begin_layout Plain Layout
4771 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4774 \begin_layout Plain Layout
4782 <cell alignment="center" valignment="top" usebox="none">
4785 \begin_layout Plain Layout
4791 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4794 \begin_layout Plain Layout
4802 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4805 \begin_layout Plain Layout
4813 <cell alignment="center" valignment="top" usebox="none">
4816 \begin_layout Plain Layout
4822 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4825 \begin_layout Plain Layout
4833 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4836 \begin_layout Plain Layout
4844 <cell alignment="center" valignment="top" usebox="none">
4847 \begin_layout Plain Layout
4853 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4856 \begin_layout Plain Layout
4864 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4867 \begin_layout Plain Layout
4875 <cell alignment="center" valignment="top" usebox="none">
4878 \begin_layout Plain Layout
4884 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4887 \begin_layout Plain Layout
4895 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4898 \begin_layout Plain Layout
4906 <cell alignment="center" valignment="top" usebox="none">
4909 \begin_layout Plain Layout
4915 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4918 \begin_layout Plain Layout
4926 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4929 \begin_layout Plain Layout
4937 <cell alignment="center" valignment="top" usebox="none">
4940 \begin_layout Plain Layout
4946 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4949 \begin_layout Plain Layout
4957 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4960 \begin_layout Plain Layout
4968 <cell alignment="center" valignment="top" usebox="none">
4971 \begin_layout Plain Layout
4977 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4980 \begin_layout Plain Layout
4988 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4991 \begin_layout Plain Layout
4999 <cell alignment="center" valignment="top" usebox="none">
5002 \begin_layout Plain Layout
5008 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5011 \begin_layout Plain Layout
5019 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5022 \begin_layout Plain Layout
5030 <cell alignment="center" valignment="top" usebox="none">
5033 \begin_layout Plain Layout
5039 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5042 \begin_layout Plain Layout
5050 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5053 \begin_layout Plain Layout
5061 <cell alignment="center" valignment="top" usebox="none">
5064 \begin_layout Plain Layout
5070 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5073 \begin_layout Plain Layout
5081 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5084 \begin_layout Plain Layout
5092 <cell alignment="center" valignment="top" usebox="none">
5095 \begin_layout Plain Layout
5101 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5104 \begin_layout Plain Layout
5112 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5115 \begin_layout Plain Layout
5123 <cell alignment="center" valignment="top" usebox="none">
5126 \begin_layout Plain Layout
5132 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5135 \begin_layout Plain Layout
5143 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5146 \begin_layout Plain Layout
5154 <cell alignment="center" valignment="top" usebox="none">
5157 \begin_layout Plain Layout
5163 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5166 \begin_layout Plain Layout
5174 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5177 \begin_layout Plain Layout
5185 <cell alignment="center" valignment="top" usebox="none">
5188 \begin_layout Plain Layout
5194 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5197 \begin_layout Plain Layout
5205 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5208 \begin_layout Plain Layout
5216 <cell alignment="center" valignment="top" usebox="none">
5219 \begin_layout Plain Layout
5225 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5228 \begin_layout Plain Layout
5236 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5239 \begin_layout Plain Layout
5247 <cell alignment="center" valignment="top" usebox="none">
5250 \begin_layout Plain Layout
5256 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5259 \begin_layout Plain Layout
5267 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5270 \begin_layout Plain Layout
5278 <cell alignment="center" valignment="top" usebox="none">
5281 \begin_layout Plain Layout
5287 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5290 \begin_layout Plain Layout
5298 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5301 \begin_layout Plain Layout
5309 <cell alignment="center" valignment="top" usebox="none">
5312 \begin_layout Plain Layout
5318 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5321 \begin_layout Plain Layout
5329 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5332 \begin_layout Plain Layout
5340 <cell alignment="center" valignment="top" usebox="none">
5343 \begin_layout Plain Layout
5349 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5352 \begin_layout Plain Layout
5360 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5363 \begin_layout Plain Layout
5371 <cell alignment="center" valignment="top" usebox="none">
5374 \begin_layout Plain Layout
5380 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5383 \begin_layout Plain Layout
5391 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5394 \begin_layout Plain Layout
5402 <cell alignment="center" valignment="top" usebox="none">
5405 \begin_layout Plain Layout
5411 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5414 \begin_layout Plain Layout
5422 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5425 \begin_layout Plain Layout
5433 <cell alignment="center" valignment="top" usebox="none">
5436 \begin_layout Plain Layout
5442 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5445 \begin_layout Plain Layout
5453 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5456 \begin_layout Plain Layout
5464 <cell alignment="center" valignment="top" usebox="none">
5467 \begin_layout Plain Layout
5473 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5476 \begin_layout Plain Layout
5484 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5487 \begin_layout Plain Layout
5495 <cell alignment="center" valignment="top" usebox="none">
5498 \begin_layout Plain Layout
5504 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5507 \begin_layout Plain Layout
5515 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5518 \begin_layout Plain Layout
5526 <cell alignment="center" valignment="top" usebox="none">
5529 \begin_layout Plain Layout
5535 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5538 \begin_layout Plain Layout
5546 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5549 \begin_layout Plain Layout
5557 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5560 \begin_layout Plain Layout
5566 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5569 \begin_layout Plain Layout
5576 <row endlastfoot="true">
5577 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5580 \begin_layout Plain Layout
5586 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5589 \begin_layout Plain Layout
5595 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5598 \begin_layout Plain Layout
5613 \begin_layout Plain Layout
5617 addtocounter{table}{-1}
5623 \begin_inset Note Note
5626 \begin_layout Plain Layout
5627 See the first greyed-out note in section
5628 \begin_inset space ~
5632 \begin_inset CommandInset ref
5634 reference "subsec:Multi-page-Table-Captions"
5638 for an explanation of this command.
5646 \begin_layout Subsection
5647 Footnotes in Multi-page tables
5648 \begin_inset CommandInset label
5650 name "subsec:Footnotes-in-Multi-page"
5655 \begin_inset Index idx
5658 \begin_layout Plain Layout
5659 Table ! Multi-page Table ! Footnotes
5667 \begin_layout Standard
5668 Footnotes can be inserted to every Multi-page table cell.
5669 They appear at the bottom of the page where the table cell with the footnote
5672 \begin_inset space ~
5676 \begin_inset CommandInset ref
5678 reference "tab:DiffCaptions"
5682 has for example a footnote.
5685 \begin_layout Subsection
5686 Multi-page Table Alignment
5687 \begin_inset Index idx
5690 \begin_layout Plain Layout
5691 Table ! Multi-page Table ! Alignment
5699 \begin_layout Standard
5700 The horizontal alignment of multi-page tables can be set in the table settings
5702 For left- and right-alignment the table will be directly at the page border.
5703 To add space between the table and the border one has to set the alignment
5704 to center and change the value of the \SpecialChar LaTeX
5717 by inserting this line as \SpecialChar TeX
5718 Code before the multi-page table:
5721 \begin_layout Standard
5731 \begin_layout Standard
5732 The value can have any of the units listed in Table
5733 \begin_inset space ~
5737 \begin_inset CommandInset ref
5739 reference "tab:Units"
5750 controls the horizontal distance from the left page border to the multi-page
5757 the distance from the right side.
5758 The default value for both lengths is
5764 , which is in this case the same as an horizontal fill in \SpecialChar LyX
5768 \begin_layout Standard
5769 The following multi-page table was centered and
5785 \begin_layout Plain Layout
5801 \begin_layout Standard
5802 \begin_inset Tabular
5803 <lyxtabular version="3" rows="5" columns="5">
5804 <features islongtable="true" longtabularalignment="center">
5805 <column alignment="center" valignment="top">
5806 <column alignment="center" valignment="top" width="0pt">
5807 <column alignment="center" valignment="top">
5808 <column alignment="center" valignment="top">
5809 <column alignment="center" valignment="top">
5811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5814 \begin_layout Plain Layout
5820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5823 \begin_layout Plain Layout
5829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5832 \begin_layout Plain Layout
5838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5841 \begin_layout Plain Layout
5847 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5850 \begin_layout Plain Layout
5858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5861 \begin_layout Plain Layout
5867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5870 \begin_layout Plain Layout
5876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5879 \begin_layout Plain Layout
5885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5888 \begin_layout Plain Layout
5894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5897 \begin_layout Plain Layout
5905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5908 \begin_layout Plain Layout
5914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5917 \begin_layout Plain Layout
5923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5926 \begin_layout Plain Layout
5932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5935 \begin_layout Plain Layout
5941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5944 \begin_layout Plain Layout
5952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5955 \begin_layout Plain Layout
5961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5964 \begin_layout Plain Layout
5970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5973 \begin_layout Plain Layout
5979 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5982 \begin_layout Plain Layout
5988 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5991 \begin_layout Plain Layout
5999 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6002 \begin_layout Plain Layout
6008 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6011 \begin_layout Plain Layout
6017 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6020 \begin_layout Plain Layout
6026 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6029 \begin_layout Plain Layout
6035 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6038 \begin_layout Plain Layout
6053 \begin_layout Plain Layout
6070 \begin_layout Plain Layout
6074 addtocounter{table}{-1}
6080 \begin_inset Note Note
6083 \begin_layout Plain Layout
6084 See the first greyed-out note in section
6085 \begin_inset space ~
6089 \begin_inset CommandInset ref
6091 reference "subsec:Multi-page-Table-Captions"
6095 for an explanation of this command.
6103 \begin_layout Subsection
6104 Multi-page Table Captions
6105 \begin_inset Index idx
6108 \begin_layout Plain Layout
6109 Table ! Multi-page Table ! Captions
6115 \begin_inset CommandInset label
6117 name "subsec:Multi-page-Table-Captions"
6124 \begin_layout Standard
6125 A multi-page table cannot be put into a table float because floats can only
6127 But the caption environment of floats can also be used for multi-page tables
6128 when you use the multi-page table option
6132 as described in sec.
6133 \begin_inset space \thinspace{}
6137 \begin_inset CommandInset ref
6139 reference "sec:Multi-page-Tables"
6144 Only one table row should contain a caption, either a header or a footer
6148 \begin_layout Standard
6149 Here is a short multi-page table to see how it works:
6152 \begin_layout Standard
6153 \begin_inset Tabular
6154 <lyxtabular version="3" rows="6" columns="5">
6155 <features islongtable="true" longtabularalignment="center">
6156 <column alignment="center" valignment="top">
6157 <column alignment="center" valignment="top">
6158 <column alignment="center" valignment="top">
6159 <column alignment="center" valignment="top">
6160 <column alignment="center" valignment="top">
6161 <row endfirsthead="true" caption="true">
6162 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6165 \begin_layout Plain Layout
6166 \begin_inset Caption Standard
6168 \begin_layout Plain Layout
6169 Multi-page table with caption
6170 \begin_inset Argument 1
6173 \begin_layout Plain Layout
6189 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6192 \begin_layout Plain Layout
6198 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6201 \begin_layout Plain Layout
6207 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6210 \begin_layout Plain Layout
6216 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6219 \begin_layout Plain Layout
6227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6230 \begin_layout Plain Layout
6236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6239 \begin_layout Plain Layout
6245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6248 \begin_layout Plain Layout
6254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6257 \begin_layout Plain Layout
6263 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6266 \begin_layout Plain Layout
6274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6277 \begin_layout Plain Layout
6283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6286 \begin_layout Plain Layout
6292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6295 \begin_layout Plain Layout
6301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6304 \begin_layout Plain Layout
6310 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6313 \begin_layout Plain Layout
6321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6324 \begin_layout Plain Layout
6330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6333 \begin_layout Plain Layout
6339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6342 \begin_layout Plain Layout
6348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6351 \begin_layout Plain Layout
6357 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6360 \begin_layout Plain Layout
6368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6371 \begin_layout Plain Layout
6377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6380 \begin_layout Plain Layout
6386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6389 \begin_layout Plain Layout
6395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6398 \begin_layout Plain Layout
6404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6407 \begin_layout Plain Layout
6415 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6418 \begin_layout Plain Layout
6424 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6427 \begin_layout Plain Layout
6433 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6436 \begin_layout Plain Layout
6442 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6445 \begin_layout Plain Layout
6451 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6454 \begin_layout Plain Layout
6468 \begin_layout Standard
6469 \begin_inset VSpace medskip
6473 \begin_inset Note Greyedout
6476 \begin_layout Plain Layout
6480 \begin_inset space ~
6485 The table number is increased for every multi-page table, even if you did
6486 not set a caption for it.
6487 For this reason you could have the case that e.
6488 \begin_inset space \thinspace{}
6492 \begin_inset space \space{}
6496 \begin_inset space ~
6500 \begin_inset space ~
6503 2.1 in the list of tables if there are two multi-page tables without captions.
6504 To avoid this you can add the following command in \SpecialChar TeX
6505 Code after every multi-page
6506 table without a caption:
6509 \begin_layout Plain Layout
6514 addtocounter{table}{-1}
6517 \begin_layout Plain Layout
6518 This is not needed when none of your multi-page tables has a caption and
6519 you add the following code to the document preamble:
6522 \begin_layout Plain Layout
6532 \begin_inset Newline newline
6543 addtocounter{table}{-1}}
6551 \begin_layout Standard
6552 \begin_inset Note Greyedout
6555 \begin_layout Plain Layout
6559 \begin_inset space ~
6569 \begin_inset Index idx
6572 \begin_layout Plain Layout
6574 -packages ! hyperref
6587 dialog to link cross-references, the link to a multi-page table caption
6588 will always point to the beginning of the document.
6596 \begin_layout Subsubsection
6597 References to multi-page tables
6598 \begin_inset Index idx
6601 \begin_layout Plain Layout
6602 Table ! Multi-page Table ! References
6610 \begin_layout Standard
6611 \begin_inset Tabular
6612 <lyxtabular version="3" rows="6" columns="5">
6613 <features islongtable="true" longtabularalignment="center">
6614 <column alignment="center" valignment="top">
6615 <column alignment="center" valignment="top">
6616 <column alignment="center" valignment="top">
6617 <column alignment="center" valignment="top">
6618 <column alignment="center" valignment="top">
6619 <row endfirsthead="true" caption="true">
6620 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6623 \begin_layout Plain Layout
6624 \begin_inset Caption Standard
6626 \begin_layout Plain Layout
6627 Referenced multi-page table
6628 \begin_inset CommandInset label
6630 name "tab:Referenced-multi-page-table"
6644 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6647 \begin_layout Plain Layout
6653 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6656 \begin_layout Plain Layout
6662 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6665 \begin_layout Plain Layout
6671 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6674 \begin_layout Plain Layout
6682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6685 \begin_layout Plain Layout
6691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6694 \begin_layout Plain Layout
6700 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6703 \begin_layout Plain Layout
6709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6712 \begin_layout Plain Layout
6718 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6721 \begin_layout Plain Layout
6729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6732 \begin_layout Plain Layout
6738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6741 \begin_layout Plain Layout
6747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6750 \begin_layout Plain Layout
6756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6759 \begin_layout Plain Layout
6765 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6768 \begin_layout Plain Layout
6776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6779 \begin_layout Plain Layout
6785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6788 \begin_layout Plain Layout
6794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6797 \begin_layout Plain Layout
6803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6806 \begin_layout Plain Layout
6812 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6815 \begin_layout Plain Layout
6823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6826 \begin_layout Plain Layout
6832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6835 \begin_layout Plain Layout
6841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6844 \begin_layout Plain Layout
6850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6853 \begin_layout Plain Layout
6859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6862 \begin_layout Plain Layout
6870 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6873 \begin_layout Plain Layout
6879 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6882 \begin_layout Plain Layout
6888 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6891 \begin_layout Plain Layout
6897 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6900 \begin_layout Plain Layout
6906 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6909 \begin_layout Plain Layout
6923 \begin_layout Standard
6924 To reference a multi-page table, insert a label into the caption.
6927 \begin_layout Standard
6928 This is a reference to Table
6929 \begin_inset space ~
6933 \begin_inset CommandInset ref
6935 reference "tab:Referenced-multi-page-table"
6942 \begin_layout Standard
6943 The caption layout can be set together with all other captions of your document
6944 using the \SpecialChar LaTeX
6950 \begin_inset Index idx
6953 \begin_layout Plain Layout
6961 \begin_inset space ~
6965 \begin_inset CommandInset ref
6967 reference "sec:Caption-Formatting"
6974 \begin_layout Subsubsection
6976 \begin_inset Index idx
6979 \begin_layout Plain Layout
6980 Table ! Multi-page Table ! Caption Width
6988 \begin_layout Standard
6989 The maximal width of caption lines is defined by the length
6996 Its default value is 4
6997 \begin_inset space \thinspace{}
7001 To change it add the following command to your document preamble or as
7003 Code into your document before the multi-page table that should be affected
7006 \begin_layout Standard
7016 \begin_layout Standard
7021 can have one of the units listed in appendix
7022 \begin_inset space ~
7026 \begin_inset CommandInset ref
7028 reference "cha:Units-available-in"
7035 \begin_layout Standard
7036 The following tables show the difference:
7039 \begin_layout Standard
7040 \begin_inset Tabular
7041 <lyxtabular version="3" rows="6" columns="5">
7042 <features islongtable="true" longtabularalignment="center">
7043 <column alignment="center" valignment="top">
7044 <column alignment="center" valignment="top">
7045 <column alignment="center" valignment="top">
7046 <column alignment="center" valignment="top">
7047 <column alignment="center" valignment="top">
7048 <row endfirsthead="true" caption="true">
7049 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7052 \begin_layout Plain Layout
7053 \begin_inset Caption Standard
7055 \begin_layout Plain Layout
7056 Long full title with default width long full title with default width long
7057 full title with default width
7058 \begin_inset Argument 1
7061 \begin_layout Plain Layout
7062 caption with default width
7077 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7080 \begin_layout Plain Layout
7086 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7089 \begin_layout Plain Layout
7095 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7098 \begin_layout Plain Layout
7104 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7107 \begin_layout Plain Layout
7115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7118 \begin_layout Plain Layout
7124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7127 \begin_layout Plain Layout
7133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7136 \begin_layout Plain Layout
7142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7145 \begin_layout Plain Layout
7151 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7154 \begin_layout Plain Layout
7162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7165 \begin_layout Plain Layout
7171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7174 \begin_layout Plain Layout
7180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7183 \begin_layout Plain Layout
7189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7192 \begin_layout Plain Layout
7198 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7201 \begin_layout Plain Layout
7209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7212 \begin_layout Plain Layout
7218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7221 \begin_layout Plain Layout
7227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7230 \begin_layout Plain Layout
7236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7239 \begin_layout Plain Layout
7245 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7248 \begin_layout Plain Layout
7256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7259 \begin_layout Plain Layout
7265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7268 \begin_layout Plain Layout
7274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7277 \begin_layout Plain Layout
7283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7286 \begin_layout Plain Layout
7292 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7295 \begin_layout Plain Layout
7303 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7306 \begin_layout Plain Layout
7312 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7315 \begin_layout Plain Layout
7321 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7324 \begin_layout Plain Layout
7330 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7333 \begin_layout Plain Layout
7339 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7342 \begin_layout Plain Layout
7356 \begin_layout Standard
7360 \begin_layout Plain Layout
7372 \begin_inset Tabular
7373 <lyxtabular version="3" rows="6" columns="5">
7374 <features islongtable="true" longtabularalignment="center">
7375 <column alignment="center" valignment="top">
7376 <column alignment="center" valignment="top">
7377 <column alignment="center" valignment="top">
7378 <column alignment="center" valignment="top">
7379 <column alignment="center" valignment="top">
7380 <row endfirsthead="true" caption="true">
7381 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7384 \begin_layout Plain Layout
7385 \begin_inset Caption Standard
7387 \begin_layout Plain Layout
7388 Long full title with width set to 5
7389 \begin_inset space \thinspace{}
7392 cm long full title with width set to 5
7393 \begin_inset space \thinspace{}
7396 cm long full title with width set to 5
7397 \begin_inset space \thinspace{}
7401 \begin_inset Argument 1
7404 \begin_layout Plain Layout
7406 \begin_inset space \thinspace{}
7410 \begin_inset space \thinspace{}
7414 \begin_inset space \thinspace{}
7432 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7435 \begin_layout Plain Layout
7441 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7444 \begin_layout Plain Layout
7450 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7453 \begin_layout Plain Layout
7459 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7462 \begin_layout Plain Layout
7470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7473 \begin_layout Plain Layout
7479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7482 \begin_layout Plain Layout
7488 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7491 \begin_layout Plain Layout
7497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7500 \begin_layout Plain Layout
7506 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7509 \begin_layout Plain Layout
7517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7520 \begin_layout Plain Layout
7526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7529 \begin_layout Plain Layout
7535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7538 \begin_layout Plain Layout
7544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7547 \begin_layout Plain Layout
7553 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7556 \begin_layout Plain Layout
7564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7567 \begin_layout Plain Layout
7573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7576 \begin_layout Plain Layout
7582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7585 \begin_layout Plain Layout
7591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7594 \begin_layout Plain Layout
7600 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7603 \begin_layout Plain Layout
7611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7614 \begin_layout Plain Layout
7620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7623 \begin_layout Plain Layout
7629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7632 \begin_layout Plain Layout
7638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7641 \begin_layout Plain Layout
7647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7650 \begin_layout Plain Layout
7658 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7661 \begin_layout Plain Layout
7667 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7670 \begin_layout Plain Layout
7676 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7679 \begin_layout Plain Layout
7685 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7688 \begin_layout Plain Layout
7694 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7697 \begin_layout Plain Layout
7711 \begin_layout Standard
7715 \begin_layout Plain Layout
7729 \begin_layout Standard
7730 \begin_inset Note Greyedout
7733 \begin_layout Plain Layout
7738 When the \SpecialChar LaTeX
7744 \begin_inset Index idx
7747 \begin_layout Plain Layout
7754 is used, as in this document, the full page width is used for the caption
7755 when you use the default value of 4
7756 \begin_inset space \thinspace{}
7766 To get in this case exactly a 4
7767 \begin_inset space \thinspace{}
7770 in wide caption, you can either use a value slightly different from 4.0
7771 \begin_inset space \thinspace{}
7775 \begin_inset space \thinspace{}
7779 \begin_inset space \space{}
7783 \begin_inset space \thinspace{}
7786 in, or the \SpecialChar LaTeX
7791 captionsetup{width=value}
7793 that is provided by the
7805 \begin_layout Subsubsection
7806 Different Captions for Table Pages
7807 \begin_inset Index idx
7810 \begin_layout Plain Layout
7811 Table ! Multi-page Table ! Different Captions for Pages
7819 \begin_layout Standard
7820 When the table captions for the following pages should differ from the one
7821 of the first table page, mark a empty row as header which contains a caption.
7822 Then right-click on the caption and select in the context menu
7825 \begin_inset space ~
7832 \begin_inset space ~
7836 \begin_inset CommandInset ref
7838 reference "tab:DiffCaptions"
7842 is an example of a multi-page table with different heading where the second
7843 caption does not include the table number.
7846 \begin_layout Standard
7848 \begin_inset Tabular
7849 <lyxtabular version="3" rows="59" columns="3">
7850 <features islongtable="true" longtabularalignment="center">
7851 <column alignment="left" valignment="top" width="0cm">
7852 <column alignment="left" valignment="top" width="0pt">
7853 <column alignment="center" valignment="top" width="0pt">
7854 <row endfirsthead="true" caption="true">
7855 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7858 \begin_layout Plain Layout
7859 \begin_inset Caption Standard
7861 \begin_layout Plain Layout
7863 \begin_inset CommandInset label
7865 name "tab:DiffCaptions"
7870 \begin_inset Argument 1
7873 \begin_layout Plain Layout
7889 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7892 \begin_layout Plain Layout
7898 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7901 \begin_layout Plain Layout
7908 <row endfirsthead="true">
7909 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7912 \begin_layout Plain Layout
7915 Example Phone List (ignore the names)
7920 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7923 \begin_layout Plain Layout
7929 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7932 \begin_layout Plain Layout
7939 <row endfirsthead="true">
7940 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7943 \begin_layout Plain Layout
7951 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7954 \begin_layout Plain Layout
7960 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7963 \begin_layout Plain Layout
7972 <row endhead="true" caption="true">
7973 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7976 \begin_layout Plain Layout
7977 \begin_inset Caption Unnumbered
7979 \begin_layout Plain Layout
7980 Continued Example Phone List
7990 <cell multicolumn="2" alignment="left" valignment="top" leftline="true" usebox="none">
7993 \begin_layout Plain Layout
7999 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8002 \begin_layout Plain Layout
8009 <row endhead="true">
8010 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8013 \begin_layout Plain Layout
8021 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8024 \begin_layout Plain Layout
8030 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8033 \begin_layout Plain Layout
8040 <row endhead="true">
8041 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8044 \begin_layout Plain Layout
8052 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8055 \begin_layout Plain Layout
8061 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8064 \begin_layout Plain Layout
8073 <row endfoot="true">
8074 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
8077 \begin_layout Plain Layout
8078 continued on next page
8083 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8086 \begin_layout Plain Layout
8092 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8095 \begin_layout Plain Layout
8103 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8106 \begin_layout Plain Layout
8114 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8117 \begin_layout Plain Layout
8123 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8126 \begin_layout Plain Layout
8134 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8137 \begin_layout Plain Layout
8145 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8148 \begin_layout Plain Layout
8154 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8157 \begin_layout Plain Layout
8165 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8168 \begin_layout Plain Layout
8176 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8179 \begin_layout Plain Layout
8185 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8188 \begin_layout Plain Layout
8196 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8199 \begin_layout Plain Layout
8207 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8210 \begin_layout Plain Layout
8216 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8219 \begin_layout Plain Layout
8227 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8230 \begin_layout Plain Layout
8238 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8241 \begin_layout Plain Layout
8247 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8250 \begin_layout Plain Layout
8258 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8261 \begin_layout Plain Layout
8269 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8272 \begin_layout Plain Layout
8278 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8281 \begin_layout Plain Layout
8289 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8292 \begin_layout Plain Layout
8300 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8303 \begin_layout Plain Layout
8309 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8312 \begin_layout Plain Layout
8320 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8323 \begin_layout Plain Layout
8331 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8334 \begin_layout Plain Layout
8340 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8343 \begin_layout Plain Layout
8351 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8354 \begin_layout Plain Layout
8362 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8365 \begin_layout Plain Layout
8371 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8374 \begin_layout Plain Layout
8382 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8385 \begin_layout Plain Layout
8393 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8396 \begin_layout Plain Layout
8402 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8405 \begin_layout Plain Layout
8413 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8416 \begin_layout Plain Layout
8424 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8427 \begin_layout Plain Layout
8433 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8436 \begin_layout Plain Layout
8444 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8447 \begin_layout Plain Layout
8455 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8458 \begin_layout Plain Layout
8464 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8467 \begin_layout Plain Layout
8475 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8478 \begin_layout Plain Layout
8486 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8489 \begin_layout Plain Layout
8495 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8498 \begin_layout Plain Layout
8506 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8509 \begin_layout Plain Layout
8517 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8520 \begin_layout Plain Layout
8526 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8529 \begin_layout Plain Layout
8537 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8540 \begin_layout Plain Layout
8549 \begin_layout Plain Layout
8560 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8563 \begin_layout Plain Layout
8569 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8572 \begin_layout Plain Layout
8580 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8583 \begin_layout Plain Layout
8591 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8594 \begin_layout Plain Layout
8600 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8603 \begin_layout Plain Layout
8611 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8614 \begin_layout Plain Layout
8622 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8625 \begin_layout Plain Layout
8631 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8634 \begin_layout Plain Layout
8642 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8645 \begin_layout Plain Layout
8653 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8656 \begin_layout Plain Layout
8662 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8665 \begin_layout Plain Layout
8673 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8676 \begin_layout Plain Layout
8684 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8687 \begin_layout Plain Layout
8693 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8696 \begin_layout Plain Layout
8704 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8707 \begin_layout Plain Layout
8715 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8718 \begin_layout Plain Layout
8724 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8727 \begin_layout Plain Layout
8735 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8738 \begin_layout Plain Layout
8746 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8749 \begin_layout Plain Layout
8755 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8758 \begin_layout Plain Layout
8766 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8769 \begin_layout Plain Layout
8777 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8780 \begin_layout Plain Layout
8786 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8789 \begin_layout Plain Layout
8797 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8800 \begin_layout Plain Layout
8808 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8811 \begin_layout Plain Layout
8817 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8820 \begin_layout Plain Layout
8828 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8831 \begin_layout Plain Layout
8839 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8842 \begin_layout Plain Layout
8848 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8851 \begin_layout Plain Layout
8859 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8862 \begin_layout Plain Layout
8870 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8873 \begin_layout Plain Layout
8879 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8882 \begin_layout Plain Layout
8890 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8893 \begin_layout Plain Layout
8901 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8904 \begin_layout Plain Layout
8910 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8913 \begin_layout Plain Layout
8921 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8924 \begin_layout Plain Layout
8932 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8935 \begin_layout Plain Layout
8941 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8944 \begin_layout Plain Layout
8952 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8955 \begin_layout Plain Layout
8963 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8966 \begin_layout Plain Layout
8972 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8975 \begin_layout Plain Layout
8983 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8986 \begin_layout Plain Layout
8994 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8997 \begin_layout Plain Layout
9003 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9006 \begin_layout Plain Layout
9014 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9017 \begin_layout Plain Layout
9025 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9028 \begin_layout Plain Layout
9034 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9037 \begin_layout Plain Layout
9045 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9048 \begin_layout Plain Layout
9056 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9059 \begin_layout Plain Layout
9065 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9068 \begin_layout Plain Layout
9076 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9079 \begin_layout Plain Layout
9085 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
9088 \begin_layout Plain Layout
9094 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9097 \begin_layout Plain Layout
9105 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9108 \begin_layout Plain Layout
9116 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9119 \begin_layout Plain Layout
9125 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9128 \begin_layout Plain Layout
9136 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9139 \begin_layout Plain Layout
9147 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9150 \begin_layout Plain Layout
9156 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9159 \begin_layout Plain Layout
9167 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9170 \begin_layout Plain Layout
9178 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9181 \begin_layout Plain Layout
9187 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9190 \begin_layout Plain Layout
9198 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9201 \begin_layout Plain Layout
9209 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9212 \begin_layout Plain Layout
9218 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9221 \begin_layout Plain Layout
9229 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9232 \begin_layout Plain Layout
9240 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9243 \begin_layout Plain Layout
9249 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9252 \begin_layout Plain Layout
9260 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9263 \begin_layout Plain Layout
9271 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9274 \begin_layout Plain Layout
9280 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9283 \begin_layout Plain Layout
9291 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9294 \begin_layout Plain Layout
9302 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9305 \begin_layout Plain Layout
9311 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9314 \begin_layout Plain Layout
9322 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9325 \begin_layout Plain Layout
9333 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9336 \begin_layout Plain Layout
9342 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9345 \begin_layout Plain Layout
9353 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9356 \begin_layout Plain Layout
9364 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9367 \begin_layout Plain Layout
9373 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9376 \begin_layout Plain Layout
9384 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9387 \begin_layout Plain Layout
9395 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9398 \begin_layout Plain Layout
9404 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9407 \begin_layout Plain Layout
9415 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9418 \begin_layout Plain Layout
9426 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9429 \begin_layout Plain Layout
9435 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9438 \begin_layout Plain Layout
9446 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9449 \begin_layout Plain Layout
9457 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9460 \begin_layout Plain Layout
9466 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9469 \begin_layout Plain Layout
9477 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9480 \begin_layout Plain Layout
9488 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9491 \begin_layout Plain Layout
9497 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9500 \begin_layout Plain Layout
9508 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9511 \begin_layout Plain Layout
9519 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9522 \begin_layout Plain Layout
9528 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9531 \begin_layout Plain Layout
9539 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9542 \begin_layout Plain Layout
9550 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9553 \begin_layout Plain Layout
9559 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9562 \begin_layout Plain Layout
9570 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9573 \begin_layout Plain Layout
9581 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9584 \begin_layout Plain Layout
9590 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9593 \begin_layout Plain Layout
9601 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9604 \begin_layout Plain Layout
9612 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9615 \begin_layout Plain Layout
9621 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9624 \begin_layout Plain Layout
9632 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9635 \begin_layout Plain Layout
9643 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9646 \begin_layout Plain Layout
9652 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9655 \begin_layout Plain Layout
9663 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9666 \begin_layout Plain Layout
9674 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9677 \begin_layout Plain Layout
9683 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9686 \begin_layout Plain Layout
9694 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9697 \begin_layout Plain Layout
9705 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9708 \begin_layout Plain Layout
9714 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9717 \begin_layout Plain Layout
9731 \begin_layout Section
9732 Special Multi-page Table Issues
9733 \begin_inset CommandInset label
9735 name "sec:Special-Longtable-Issues"
9742 \begin_layout Subsection
9743 Multi-page Table Calculation
9744 \begin_inset Index idx
9747 \begin_layout Plain Layout
9748 Table ! Multi-page Table ! Calculation
9756 \begin_layout Standard
9758 calculates the height of table pages and their page breaks using so called
9760 Chunks are parts of tables that held at the same time in \SpecialChar LaTeX
9762 The default value was historically set to only 20
9763 \begin_inset space ~
9767 If you are using multi-page tables with many pages this may slow down the
9768 creation of your document.
9769 You can safely increase the chunk size to values of 100
9770 \begin_inset space \thinspace{}
9774 \begin_inset space \thinspace{}
9777 1000 by adding this command line to your document preamble:
9780 \begin_layout Standard
9785 setcounter{LTchunksize}{100}
9788 \begin_layout Subsection
9789 Floats and Multi-page Tables
9790 \begin_inset Index idx
9793 \begin_layout Plain Layout
9794 Table ! Multi-page Table ! Floats
9802 \begin_layout Standard
9803 There might be problems when a float appears on the same page where a multi-page
9805 To avoid such a situation, insert a
9806 \begin_inset Quotes eld
9810 \begin_inset Quotes erd
9815 Insert\SpecialChar menuseparator
9816 Formatting\SpecialChar menuseparator
9818 \begin_inset space ~
9823 ) before your multi-page table.
9826 \begin_layout Subsection
9828 \begin_inset Index idx
9831 \begin_layout Plain Layout
9832 Table ! Multi-page Table ! Forced Page Breaks
9840 \begin_layout Standard
9841 By default tables are only broken between rows.
9842 If you have a cell with multiples lines and want to have a page break within
9843 the cell, insert the new line command
9844 \begin_inset Quotes eld
9856 \begin_inset Quotes erd
9860 Code at the point of the cell where it can be broken.
9869 command you have to insert in \SpecialChar TeX
9871 \begin_inset Quotes eld
9879 \begin_inset Quotes erd
9882 characters as the number of the following table columns.
9887 is the character to separate table cells.
9888 Write in \SpecialChar TeX
9893 the content of the corresponding following cell and delete the content
9895 \begin_inset Newline newline
9906 command, insert as many
9910 characters as the number of table columns before the current column.
9912 \begin_inset space ~
9916 \begin_inset CommandInset ref
9918 reference "tab:ForcedPagebreak"
9922 the cell that should be broken is in the second column followed by another
9924 Therefore the following command was inserted in the cell as \SpecialChar TeX
9927 \begin_inset Quotes eld
9935 \begin_inset Quotes erd
9941 \begin_layout Standard
9951 \begin_inset Newline newline
9957 \begin_layout Standard
9959 \begin_inset Quotes eld
9963 \begin_inset Quotes erd
9966 in the third column of the row was deleted.
9973 is only needed when a page break should definitely occur at this position,
9974 otherwise it would be a conditional break.
9975 If your footer row of the multi-page table has for a certain reason no
9976 upper line but you would have a horizontal line where the cell is broken,
9977 use this command instead:
9980 \begin_layout Standard
9988 \begin_inset Newline newline
9996 \begin_layout Standard
9997 When the cell to be broken is in the last column, the command
10000 \begin_layout Standard
10010 \begin_layout Standard
10011 must be inserted as \SpecialChar TeX
10012 Code at the beginning of the cell.
10013 This ensures that the part of the cell that will be displayed on the new
10014 page appears with the full width.
10017 \begin_layout Standard
10019 \begin_inset Tabular
10020 <lyxtabular version="3" rows="38" columns="3">
10021 <features islongtable="true" longtabularalignment="center">
10022 <column alignment="left" valignment="top" width="0cm">
10023 <column alignment="left" valignment="top" width="3cm">
10024 <column alignment="center" valignment="top" width="0pt">
10025 <row endfirsthead="true" caption="true">
10026 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10029 \begin_layout Plain Layout
10030 \begin_inset Caption Standard
10032 \begin_layout Plain Layout
10033 Table with forced page break in table cell
10034 \begin_inset CommandInset label
10036 name "tab:ForcedPagebreak"
10041 \begin_inset Argument 1
10044 \begin_layout Plain Layout
10045 Table with forced page break in table cell
10060 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10063 \begin_layout Plain Layout
10069 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10072 \begin_layout Plain Layout
10079 <row endfirsthead="true">
10080 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10083 \begin_layout Plain Layout
10086 Example Phone List (ignore the names)
10091 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10094 \begin_layout Plain Layout
10100 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10103 \begin_layout Plain Layout
10110 <row endfirsthead="true">
10111 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10114 \begin_layout Plain Layout
10122 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10125 \begin_layout Plain Layout
10131 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10134 \begin_layout Plain Layout
10143 <row endhead="true" caption="true">
10144 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10147 \begin_layout Plain Layout
10148 \begin_inset Caption Unnumbered
10150 \begin_layout Plain Layout
10151 Continued Example Phone List
10161 <cell multicolumn="2" alignment="left" valignment="top" rightline="true" usebox="none">
10164 \begin_layout Plain Layout
10170 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
10173 \begin_layout Plain Layout
10180 <row endhead="true">
10181 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10184 \begin_layout Plain Layout
10192 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10195 \begin_layout Plain Layout
10201 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10204 \begin_layout Plain Layout
10211 <row endhead="true">
10212 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10215 \begin_layout Plain Layout
10223 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10226 \begin_layout Plain Layout
10232 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10235 \begin_layout Plain Layout
10244 <row endfoot="true">
10245 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10248 \begin_layout Plain Layout
10249 continued on next page
10254 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10257 \begin_layout Plain Layout
10263 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10266 \begin_layout Plain Layout
10274 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10277 \begin_layout Plain Layout
10285 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10288 \begin_layout Plain Layout
10294 <cell alignment="right" valignment="top" rightline="true" usebox="none">
10297 \begin_layout Plain Layout
10305 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10308 \begin_layout Plain Layout
10316 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10319 \begin_layout Plain Layout
10325 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10328 \begin_layout Plain Layout
10336 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10339 \begin_layout Plain Layout
10347 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10350 \begin_layout Plain Layout
10356 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10359 \begin_layout Plain Layout
10367 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10370 \begin_layout Plain Layout
10378 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10381 \begin_layout Plain Layout
10387 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10390 \begin_layout Plain Layout
10398 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10401 \begin_layout Plain Layout
10409 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10412 \begin_layout Plain Layout
10418 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10421 \begin_layout Plain Layout
10429 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10432 \begin_layout Plain Layout
10440 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10443 \begin_layout Plain Layout
10449 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10452 \begin_layout Plain Layout
10460 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10463 \begin_layout Plain Layout
10471 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10474 \begin_layout Plain Layout
10480 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10483 \begin_layout Plain Layout
10491 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10494 \begin_layout Plain Layout
10502 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10505 \begin_layout Plain Layout
10511 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10514 \begin_layout Plain Layout
10522 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10525 \begin_layout Plain Layout
10533 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10536 \begin_layout Plain Layout
10542 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10545 \begin_layout Plain Layout
10553 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10556 \begin_layout Plain Layout
10564 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10567 \begin_layout Plain Layout
10573 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10576 \begin_layout Plain Layout
10584 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10587 \begin_layout Plain Layout
10595 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10598 \begin_layout Plain Layout
10604 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10607 \begin_layout Plain Layout
10615 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10618 \begin_layout Plain Layout
10626 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10629 \begin_layout Plain Layout
10635 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10638 \begin_layout Plain Layout
10646 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10649 \begin_layout Plain Layout
10657 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10660 \begin_layout Plain Layout
10666 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10669 \begin_layout Plain Layout
10677 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10680 \begin_layout Plain Layout
10688 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10691 \begin_layout Plain Layout
10697 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10700 \begin_layout Plain Layout
10708 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10711 \begin_layout Plain Layout
10719 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10722 \begin_layout Plain Layout
10728 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10731 \begin_layout Plain Layout
10739 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10742 \begin_layout Plain Layout
10750 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10753 \begin_layout Plain Layout
10759 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10762 \begin_layout Plain Layout
10770 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10773 \begin_layout Plain Layout
10781 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10784 \begin_layout Plain Layout
10790 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10793 \begin_layout Plain Layout
10801 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10804 \begin_layout Plain Layout
10812 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10815 \begin_layout Plain Layout
10821 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10824 \begin_layout Plain Layout
10832 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10835 \begin_layout Plain Layout
10843 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10846 \begin_layout Plain Layout
10852 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10855 \begin_layout Plain Layout
10863 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10866 \begin_layout Plain Layout
10874 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10877 \begin_layout Plain Layout
10883 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10886 \begin_layout Plain Layout
10894 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10897 \begin_layout Plain Layout
10905 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10908 \begin_layout Plain Layout
10914 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10917 \begin_layout Plain Layout
10925 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10928 \begin_layout Plain Layout
10936 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10939 \begin_layout Plain Layout
10945 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10948 \begin_layout Plain Layout
10956 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10959 \begin_layout Plain Layout
10967 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10970 \begin_layout Plain Layout
10972 Fürst von Montecompatri, 11.
10973 Fürst von Sulmona und Vivaro, 10.
10974 Fürst von Rossano, 5.
10975 Herzog von Canemorte, 11.
10976 Herzog von Palombara, 5.
10977 Herzog von Castelchiodato,
10981 \begin_layout Plain Layout
10992 \begin_layout Plain Layout
11000 Herzog von Poggionativo, 11.
11001 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
11002 Graf von Valinfreda, 11.
11003 Baron von Cropalati, 11.
11004 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
11009 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11012 \begin_layout Plain Layout
11020 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11023 \begin_layout Plain Layout
11031 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11034 \begin_layout Plain Layout
11040 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11043 \begin_layout Plain Layout
11051 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11054 \begin_layout Plain Layout
11062 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11065 \begin_layout Plain Layout
11071 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11074 \begin_layout Plain Layout
11082 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11085 \begin_layout Plain Layout
11093 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11096 \begin_layout Plain Layout
11102 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11105 \begin_layout Plain Layout
11113 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11116 \begin_layout Plain Layout
11124 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11127 \begin_layout Plain Layout
11133 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11136 \begin_layout Plain Layout
11144 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11147 \begin_layout Plain Layout
11155 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11158 \begin_layout Plain Layout
11164 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11167 \begin_layout Plain Layout
11175 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11178 \begin_layout Plain Layout
11186 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11189 \begin_layout Plain Layout
11195 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11198 \begin_layout Plain Layout
11206 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11209 \begin_layout Plain Layout
11217 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11220 \begin_layout Plain Layout
11226 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11229 \begin_layout Plain Layout
11237 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11240 \begin_layout Plain Layout
11248 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
11251 \begin_layout Plain Layout
11257 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11260 \begin_layout Plain Layout
11274 \begin_layout Section
11275 Multiple Lines, Columns and Rows
11278 \begin_layout Subsection
11279 Multiple Lines in Table Cells
11280 \begin_inset CommandInset label
11282 name "subsec:Multiple-Lines-in"
11287 \begin_inset Index idx
11290 \begin_layout Plain Layout
11291 Multiple Lines in Table Cells
11297 \begin_inset Index idx
11300 \begin_layout Plain Layout
11309 \begin_layout Standard
11311 \begin_inset Float table
11318 \begin_layout Plain Layout
11319 \begin_inset Caption Standard
11321 \begin_layout Plain Layout
11322 \begin_inset CommandInset label
11324 name "tab:Table-with-multiple"
11328 Table with multiple lines in cells
11336 \begin_layout Plain Layout
11338 \begin_inset Tabular
11339 <lyxtabular version="3" rows="3" columns="3">
11340 <features tabularvalignment="middle">
11341 <column alignment="center" valignment="middle" width="2.5cm">
11342 <column alignment="center" valignment="middle">
11343 <column alignment="center" valignment="middle">
11345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11348 \begin_layout Plain Layout
11350 \begin_inset Newline linebreak
11358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11361 \begin_layout Plain Layout
11367 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11370 \begin_layout Plain Layout
11378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11381 \begin_layout Plain Layout
11387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11390 \begin_layout Plain Layout
11396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11399 \begin_layout Plain Layout
11407 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11410 \begin_layout Plain Layout
11416 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11419 \begin_layout Plain Layout
11425 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11428 \begin_layout Plain Layout
11447 \begin_layout Standard
11448 Setting a fixed width for a column enables you to enter text as a paragraph
11449 with multiple lines and hyphenation.
11452 \begin_layout Standard
11454 \begin_inset space ~
11458 \begin_inset CommandInset ref
11460 reference "tab:Table-with-multiple"
11464 , create a 3×3 table, mark the first cell and right-click on it.
11465 In the appearing table dialog we set a cell width of 2.5
11466 \begin_inset space \thinspace{}
11469 cm and choose centered for the vertical and horizontal alignment.
11470 The vertical alignment is used for all cells of the row.
11471 As our text is smaller than 2.5
11472 \begin_inset space \thinspace{}
11475 cm, only one line will appear.
11476 To get two lines, a justified line break (shortcut
11479 arg "newline-insert linebreak"
11483 If the text is wider than the set cell width, it will automatically be
11484 broken to several lines.
11487 \begin_layout Standard
11488 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11489 by \SpecialChar LaTeX
11490 if it is the first entry.
11491 Therefore you need to insert something to prevent the word not being the
11493 So add a horizontal space of 0
11494 \begin_inset space \thinspace{}
11497 pt before the word.
11498 As the space is zero, it doesn't change the output.
11500 \begin_inset space ~
11504 \begin_inset CommandInset ref
11506 reference "tab:Table-with-and"
11513 \begin_layout Standard
11514 \begin_inset Float table
11521 \begin_layout Plain Layout
11522 \begin_inset Caption Standard
11524 \begin_layout Plain Layout
11525 \begin_inset CommandInset label
11527 name "tab:Table-with-and"
11531 Table with and without hyphenation
11539 \begin_layout Plain Layout
11540 \begin_inset space \hfill{}
11544 \begin_inset Tabular
11545 <lyxtabular version="3" rows="3" columns="3">
11546 <features tabularvalignment="middle">
11547 <column alignment="center" valignment="middle" width="2.5cm">
11548 <column alignment="center" valignment="middle">
11549 <column alignment="center" valignment="middle">
11551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11554 \begin_layout Plain Layout
11555 verylongtablecellword
11560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11563 \begin_layout Plain Layout
11569 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11572 \begin_layout Plain Layout
11580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11583 \begin_layout Plain Layout
11589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11592 \begin_layout Plain Layout
11598 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11601 \begin_layout Plain Layout
11609 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11612 \begin_layout Plain Layout
11618 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11621 \begin_layout Plain Layout
11627 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11630 \begin_layout Plain Layout
11642 \begin_inset space \hfill{}
11646 \begin_inset Tabular
11647 <lyxtabular version="3" rows="3" columns="3">
11648 <features tabularvalignment="middle">
11649 <column alignment="center" valignment="middle" width="2.5cm">
11650 <column alignment="center" valignment="middle">
11651 <column alignment="center" valignment="middle">
11653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11656 \begin_layout Plain Layout
11657 \begin_inset space \hspace{}
11661 verylongtablecellword
11666 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11669 \begin_layout Plain Layout
11675 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11678 \begin_layout Plain Layout
11686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11689 \begin_layout Plain Layout
11695 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11698 \begin_layout Plain Layout
11704 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11707 \begin_layout Plain Layout
11715 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11718 \begin_layout Plain Layout
11724 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11727 \begin_layout Plain Layout
11733 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11736 \begin_layout Plain Layout
11748 \begin_inset space \hfill{}
11759 \begin_layout Subsection
11761 \begin_inset CommandInset label
11763 name "subsec:Multicolumns"
11768 \begin_inset Index idx
11771 \begin_layout Plain Layout
11778 \begin_inset Index idx
11781 \begin_layout Plain Layout
11782 Table ! Multicolumns
11790 \begin_layout Subsubsection
11794 \begin_layout Standard
11795 To merge cells over multiple columns, select as many cells within a row
11796 as you want to merge and use either the table-toolbar button
11799 arg "tabular-feature multicolumn"
11804 Edit\SpecialChar menuseparator
11805 Table\SpecialChar menuseparator
11808 , or right click on the marked cells and choose
11812 in the context menu.
11815 \begin_layout Standard
11816 Multicolumns have their own cell settings.
11817 That means changing cell borders, cell alignment, and the width only affects
11819 Here is an example table with a multicolumn cell in the first row and one
11820 in the last row without the upper border:
11823 \begin_layout Standard
11825 \begin_inset Tabular
11826 <lyxtabular version="3" rows="3" columns="4">
11827 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11828 <column alignment="center" valignment="top" width="0pt">
11829 <column alignment="center" valignment="middle">
11830 <column alignment="center" valignment="top" width="0in">
11831 <column alignment="center" valignment="top" width="0pt">
11833 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11836 \begin_layout Plain Layout
11842 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11845 \begin_layout Plain Layout
11851 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11854 \begin_layout Plain Layout
11860 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11863 \begin_layout Plain Layout
11871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11874 \begin_layout Plain Layout
11889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11892 \begin_layout Plain Layout
11898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11901 \begin_layout Plain Layout
11907 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11910 \begin_layout Plain Layout
11918 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11921 \begin_layout Plain Layout
11927 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11930 \begin_layout Plain Layout
11936 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11939 \begin_layout Plain Layout
11945 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11948 \begin_layout Plain Layout
11962 \begin_layout Subsubsection
11963 Multicolumn Calculations
11964 \begin_inset CommandInset label
11966 name "subsec:Multicolumn-Calculations"
11971 \begin_inset Index idx
11974 \begin_layout Plain Layout
11975 Multicolumns ! Calculations
11983 \begin_layout Standard
11985 supports multicolumns directly, but we have to take account of the cell
11986 width of the columns spanned by the multicolumn cell.
11989 \begin_layout Standard
11990 \begin_inset Float table
11997 \begin_layout Plain Layout
11998 \begin_inset Caption Standard
12000 \begin_layout Plain Layout
12001 \begin_inset CommandInset label
12003 name "tab:Table-with-centered"
12007 Table with centered multicolumn text above two columns that have exactly
12008 half the width of the multicolumn cell
12009 \begin_inset Argument 1
12012 \begin_layout Plain Layout
12013 Perfect multicolumn table
12026 \begin_layout Plain Layout
12028 \begin_inset Tabular
12029 <lyxtabular version="3" rows="3" columns="3">
12030 <features tabularvalignment="middle">
12031 <column alignment="center" valignment="middle" special=">{\centering}m{1.25cm-6.2pt}">
12032 <column alignment="center" valignment="middle">
12033 <column alignment="center" valignment="top">
12035 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
12038 \begin_layout Plain Layout
12039 multiple lines multicolumn
12044 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12047 \begin_layout Plain Layout
12053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12056 \begin_layout Plain Layout
12064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12067 \begin_layout Plain Layout
12073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12076 \begin_layout Plain Layout
12082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12085 \begin_layout Plain Layout
12093 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12096 \begin_layout Plain Layout
12102 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12105 \begin_layout Plain Layout
12111 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12114 \begin_layout Plain Layout
12133 \begin_layout Standard
12134 To create for example Table
12135 \begin_inset space ~
12139 \begin_inset CommandInset ref
12141 reference "tab:Table-with-centered"
12145 , mark the first two cells in the first row of a 3×3 table and right-click
12147 Now choose for this cell
12156 \begin_inset space \thinspace{}
12159 cm in the table dialog.
12160 The merged columns should have exactly half the width of the multicolumn
12161 cell, so that you would set a width of 1.25
12162 \begin_inset space \thinspace{}
12165 cm for the first column.
12166 The second column has then automatically a width of 1.25
12167 \begin_inset space \thinspace{}
12170 cm (multicolumn width - width of first column).
12171 This was done for Table
12172 \begin_inset space ~
12176 \begin_inset CommandInset ref
12178 reference "tab:Table-without-half"
12185 \begin_layout Standard
12186 \begin_inset Float table
12193 \begin_layout Plain Layout
12194 \begin_inset Caption Standard
12196 \begin_layout Plain Layout
12197 \begin_inset CommandInset label
12199 name "tab:Table-without-half"
12203 Table where the spanned table columns are not exactly half the width of
12204 the multicolumn cell
12205 \begin_inset Argument 1
12208 \begin_layout Plain Layout
12209 Imperfect multicolumn table
12222 \begin_layout Plain Layout
12224 \begin_inset Tabular
12225 <lyxtabular version="3" rows="3" columns="3">
12226 <features tabularvalignment="middle">
12227 <column alignment="center" valignment="top" width="1.25cm">
12228 <column alignment="center" valignment="top">
12229 <column alignment="center" valignment="top">
12231 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12234 \begin_layout Plain Layout
12235 multiple lines multicolumn
12240 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12243 \begin_layout Plain Layout
12249 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12252 \begin_layout Plain Layout
12260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12263 \begin_layout Plain Layout
12269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12272 \begin_layout Plain Layout
12278 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12281 \begin_layout Plain Layout
12289 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12292 \begin_layout Plain Layout
12298 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12301 \begin_layout Plain Layout
12307 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12310 \begin_layout Plain Layout
12329 \begin_layout Standard
12330 You can see that the first column is not half the width of the multicolumn
12331 cell, it is a bit bigger.
12332 The reason is that the specified width of a cell
12333 \begin_inset Formula $W_{g}$
12336 is not its total width
12337 \begin_inset Formula $W_{\mathrm{tot}}$
12340 because a cell is always a bit larger than specified.
12342 \begin_inset space ~
12346 \begin_inset CommandInset ref
12348 reference "cha:Explanation-of-Equation"
12352 explains this in detail.
12355 \begin_layout Standard
12357 \begin_inset Formula $W_{g\,n}$
12360 which the user needs to set when
12364 columns are spanned can be calculated, so that each column has a total
12366 \begin_inset Formula $W_{\mathrm{tot\,multicolumn}}/n$
12370 \begin_inset Formula
12372 W_{g\,n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
12380 \begin_layout Standard
12381 In our case we have
12382 \begin_inset Formula $n=2$
12386 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
12389 cm and the default values for the lengths, so that equation
12390 \begin_inset CommandInset ref
12397 \begin_inset Formula
12399 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
12407 \begin_layout Standard
12408 To enable calculations in \SpecialChar LaTeX
12409 , the \SpecialChar LaTeX
12414 must be loaded with the document preamble line
12415 \begin_inset Index idx
12418 \begin_layout Plain Layout
12428 \begin_layout Standard
12436 \begin_layout Standard
12438 does not allow you to calculate lengths in the
12442 field of the table dialog.
12443 Therefore you have to format the column by inserting a \SpecialChar LaTeX
12446 Here is an overview about the arguments:
12449 \begin_layout Itemize
12454 creates cell with a fixed width, its text is vertically top-aligned
12457 \begin_layout Itemize
12462 creates cell with a fixed width, its text is vertically centered
12465 \begin_layout Itemize
12470 creates cell with a fixed width, its text is vertically bottom-aligned
12473 \begin_layout Standard
12474 By entering a \SpecialChar LaTeX
12475 -argument, all cell settings set in the table dialog are overwritt
12479 \begin_layout Standard
12480 \begin_inset Note Greyedout
12483 \begin_layout Plain Layout
12488 Due to a bug, \SpecialChar LyX
12489 shows the overwritten settings anyway.
12497 \begin_layout Standard
12498 As the text should be horizontally centered, the command
12505 You can now enter the following \SpecialChar LaTeX
12506 -argument for the first spanned column:
12509 \begin_layout Standard
12514 centering}m{1.25cm-6.2pt}
12517 \begin_layout Standard
12522 means, that the commands inside the braces are applied before the cell
12526 \begin_layout Standard
12527 Although we have chosen centered alignment for the text of the multicolumn
12528 cell, it is still left aligned.
12529 This is because \SpecialChar LyX
12530 only applies the alignment to single columns.
12531 So for the multicolumn cell we have to use the \SpecialChar LaTeX
12535 \begin_layout Standard
12543 \begin_layout Subsection
12545 \begin_inset CommandInset label
12547 name "subsec:Multirows"
12552 \begin_inset Index idx
12555 \begin_layout Plain Layout
12562 \begin_inset Index idx
12565 \begin_layout Plain Layout
12574 \begin_layout Standard
12575 To merge cells over multiple rows, select as many cells within a column
12576 as you want to merge and use either the table-toolbar button
12579 arg "tabular-feature multirow"
12584 Edit\SpecialChar menuseparator
12585 Table\SpecialChar menuseparator
12588 , or right click on the marked cells and choose
12592 in the context menu.
12595 \begin_layout Standard
12596 Here is an example table with a multirow in the first column:
12599 \begin_layout Standard
12601 \begin_inset Tabular
12602 <lyxtabular version="3" rows="3" columns="3">
12603 <features tabularvalignment="middle">
12604 <column alignment="center" valignment="top" width="0pt">
12605 <column alignment="center" valignment="top">
12606 <column alignment="center" valignment="top">
12608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12611 \begin_layout Plain Layout
12617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12620 \begin_layout Plain Layout
12626 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12629 \begin_layout Plain Layout
12637 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12640 \begin_layout Plain Layout
12646 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12649 \begin_layout Plain Layout
12655 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12658 \begin_layout Plain Layout
12666 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12669 \begin_layout Plain Layout
12675 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12678 \begin_layout Plain Layout
12684 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12687 \begin_layout Plain Layout
12701 \begin_layout Standard
12702 The width of multirow cells is set by setting the width and alignment for
12708 shifts the content of the multirow up/down if the offset is positive/negative.
12711 \begin_layout Standard
12712 If the column of a multirow cell has no explicit width, the multirow cell
12713 inherits the alignment of the column.
12714 Otherwise it is by default left-aligned.
12715 To override the default, renew the command
12724 \begin_layout Standard
12736 \begin_layout Standard
12737 in the document preamble.
12738 Then all entries of multirow cells in the document are centered.
12739 If centering is only needed for several tables, you can renew the command
12740 in a \SpecialChar TeX
12741 Code box just before the table instead of the preamble.
12742 If the text should be right-aligned, replace
12755 To return to left-alignment
12764 \begin_layout Standard
12765 This is an example table with a right-aligned multirow cell that has a vertical
12767 \begin_inset space \thinspace{}
12771 \begin_inset space \thinspace{}
12777 \begin_layout Standard
12783 \begin_layout Plain Layout
12797 \begin_inset Tabular
12798 <lyxtabular version="3" rows="4" columns="3">
12799 <features tabularvalignment="middle">
12800 <column alignment="center" valignment="top" width="3cm">
12801 <column alignment="center" valignment="top">
12802 <column alignment="center" valignment="top">
12804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12807 \begin_layout Plain Layout
12813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12816 \begin_layout Plain Layout
12822 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12825 \begin_layout Plain Layout
12833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12836 \begin_layout Plain Layout
12842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12845 \begin_layout Plain Layout
12851 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12854 \begin_layout Plain Layout
12862 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12865 \begin_layout Plain Layout
12871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12874 \begin_layout Plain Layout
12880 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12883 \begin_layout Plain Layout
12891 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12894 \begin_layout Plain Layout
12900 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12903 \begin_layout Plain Layout
12909 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12912 \begin_layout Plain Layout
12927 \begin_layout Plain Layout
12943 \begin_layout Standard
12944 To start a new line in a multirow you can use a forced line break (shortcut
12948 arg "newline-insert newline"
12951 ) but this will not respect the cell lines as demonstrated in this table:
12954 \begin_layout Standard
12957 \begin_inset Tabular
12958 <lyxtabular version="3" rows="3" columns="2">
12959 <features tabularvalignment="middle">
12960 <column alignment="left" valignment="middle" width="2cm">
12961 <column alignment="center" valignment="top">
12963 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12966 \begin_layout Plain Layout
12968 \begin_inset Newline newline
12972 \begin_inset Newline newline
12980 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12983 \begin_layout Plain Layout
12991 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12994 \begin_layout Plain Layout
13000 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13003 \begin_layout Plain Layout
13011 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13014 \begin_layout Plain Layout
13020 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13023 \begin_layout Plain Layout
13037 \begin_layout Standard
13038 Therefore be careful with forced line breaks.
13041 \begin_layout Subsection
13042 Cells with diagonal line(s)
13045 \begin_layout Standard
13046 To tell the reader what is meant by column and row headings in a table,
13047 it is helpful to split the first cell of the table by one or two diagonal
13049 This can be achieved by loading the \SpecialChar LaTeX
13055 \begin_inset Index idx
13058 \begin_layout Plain Layout
13060 -packages ! picinpar
13065 in the document preamble.
13066 The package provides the command
13072 that is inserted as \SpecialChar TeX
13073 Code and that can take 2 or 3
13074 \begin_inset space ~
13080 \begin_layout Standard
13085 diagbox[options]{lower left}{upper right}
13088 \begin_layout Standard
13093 diagbox[options]{lower left}{upper left}{upper right}
13096 \begin_layout Standard
13097 The first scheme divides the cell by a single diagonal line and the arguments
13098 are placed below and above this line.
13099 The second scheme divides the cell by 2
13100 \begin_inset space ~
13106 \begin_layout Standard
13110 \begin_layout Plain Layout
13120 \begin_inset Note Note
13123 \begin_layout Plain Layout
13124 The following section will only be displayed when the \SpecialChar LaTeX
13137 \begin_layout Standard
13138 Here is an example table where
13144 is used in the 2-argument scheme in the first cell:
13145 \begin_inset VSpace medskip
13151 \begin_layout Standard
13153 \begin_inset Tabular
13154 <lyxtabular version="3" rows="4" columns="4">
13155 <features tabularvalignment="middle">
13156 <column alignment="center" valignment="top">
13157 <column alignment="center" valignment="top">
13158 <column alignment="center" valignment="top">
13159 <column alignment="center" valignment="top">
13161 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13164 \begin_layout Plain Layout
13168 \begin_layout Plain Layout
13181 \begin_layout Plain Layout
13192 \begin_layout Plain Layout
13204 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13207 \begin_layout Plain Layout
13213 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13216 \begin_layout Plain Layout
13222 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13225 \begin_layout Plain Layout
13233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13236 \begin_layout Plain Layout
13242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13245 \begin_layout Plain Layout
13251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13254 \begin_layout Plain Layout
13260 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13263 \begin_layout Plain Layout
13271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13274 \begin_layout Plain Layout
13280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13283 \begin_layout Plain Layout
13289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13292 \begin_layout Plain Layout
13298 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13301 \begin_layout Plain Layout
13309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13312 \begin_layout Plain Layout
13318 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13321 \begin_layout Plain Layout
13327 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13330 \begin_layout Plain Layout
13336 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13339 \begin_layout Plain Layout
13351 \begin_inset VSpace medskip
13357 \begin_layout Standard
13358 The 3-argument scheme is for example useful for cross-tables of sports leagues
13362 \begin_layout Standard
13365 \begin_inset Tabular
13366 <lyxtabular version="3" rows="4" columns="4">
13367 <features tabularvalignment="middle">
13368 <column alignment="center" valignment="top" width="0pt">
13369 <column alignment="center" valignment="top">
13370 <column alignment="center" valignment="top">
13371 <column alignment="center" valignment="top">
13373 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13376 \begin_layout Plain Layout
13380 \begin_layout Plain Layout
13393 \begin_layout Plain Layout
13404 \begin_layout Plain Layout
13415 \begin_layout Plain Layout
13427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13430 \begin_layout Plain Layout
13436 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13439 \begin_layout Plain Layout
13445 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13448 \begin_layout Plain Layout
13456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13459 \begin_layout Plain Layout
13465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13468 \begin_layout Plain Layout
13474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13477 \begin_layout Plain Layout
13483 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13486 \begin_layout Plain Layout
13494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13497 \begin_layout Plain Layout
13503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13506 \begin_layout Plain Layout
13512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13515 \begin_layout Plain Layout
13521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13524 \begin_layout Plain Layout
13532 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13535 \begin_layout Plain Layout
13541 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13544 \begin_layout Plain Layout
13550 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13553 \begin_layout Plain Layout
13559 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13562 \begin_layout Plain Layout
13576 \begin_layout Standard
13577 For larger cross-tables one might use split cells in 2 or every corner of
13578 the table like in this example:
13581 \begin_layout Standard
13584 \begin_inset Tabular
13585 <lyxtabular version="3" rows="5" columns="5">
13586 <features tabularvalignment="middle">
13587 <column alignment="center" valignment="top" width="0pt">
13588 <column alignment="center" valignment="top">
13589 <column alignment="center" valignment="top">
13590 <column alignment="center" valignment="top">
13591 <column alignment="center" valignment="top">
13593 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13596 \begin_layout Plain Layout
13600 \begin_layout Plain Layout
13613 \begin_layout Plain Layout
13624 \begin_layout Plain Layout
13635 \begin_layout Plain Layout
13647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13650 \begin_layout Plain Layout
13656 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13659 \begin_layout Plain Layout
13665 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13668 \begin_layout Plain Layout
13674 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13677 \begin_layout Plain Layout
13681 \begin_layout Plain Layout
13694 \begin_layout Plain Layout
13705 \begin_layout Plain Layout
13716 \begin_layout Plain Layout
13730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13733 \begin_layout Plain Layout
13739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13742 \begin_layout Plain Layout
13748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13751 \begin_layout Plain Layout
13757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13760 \begin_layout Plain Layout
13766 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13769 \begin_layout Plain Layout
13777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13780 \begin_layout Plain Layout
13786 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13789 \begin_layout Plain Layout
13795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13798 \begin_layout Plain Layout
13804 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13807 \begin_layout Plain Layout
13813 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13816 \begin_layout Plain Layout
13824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13827 \begin_layout Plain Layout
13833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13836 \begin_layout Plain Layout
13842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13845 \begin_layout Plain Layout
13851 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13854 \begin_layout Plain Layout
13860 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13863 \begin_layout Plain Layout
13871 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13874 \begin_layout Plain Layout
13878 \begin_layout Plain Layout
13891 \begin_layout Plain Layout
13902 \begin_layout Plain Layout
13913 \begin_layout Plain Layout
13925 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13928 \begin_layout Plain Layout
13934 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13937 \begin_layout Plain Layout
13943 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13946 \begin_layout Plain Layout
13952 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13955 \begin_layout Plain Layout
13959 \begin_layout Plain Layout
13972 \begin_layout Plain Layout
13983 \begin_layout Plain Layout
13994 \begin_layout Plain Layout
14014 \begin_layout Standard
14015 To rotate the diagonal lines, the command option
14040 and represent a point of a compass.
14045 is for example the south-west corner.
14046 Thus in the lower left cell of the above table the command
14049 \begin_layout Standard
14054 diagbox[dir=SW]{Team home}{Result}{Team away}
14057 \begin_layout Standard
14059 If no direction is given, it will be NW.
14062 \begin_layout Standard
14063 The necessary width of split cells is automatically calculated.
14064 Thus if you set a fixed column width smaller than the calculated one, the
14065 cell's content will protrude the cell borders:
14068 \begin_layout Standard
14071 \begin_inset Tabular
14072 <lyxtabular version="3" rows="2" columns="2">
14073 <features tabularvalignment="middle">
14074 <column alignment="center" valignment="top" width="3cm">
14075 <column alignment="center" valignment="top">
14077 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14080 \begin_layout Plain Layout
14084 \begin_layout Plain Layout
14097 \begin_layout Plain Layout
14108 \begin_layout Plain Layout
14120 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14123 \begin_layout Plain Layout
14131 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14134 \begin_layout Plain Layout
14140 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14143 \begin_layout Plain Layout
14157 \begin_layout Standard
14158 If you need a certain width for columns with a split cell, use the command
14163 (replace '3cm' by the width you need).
14164 In the following table the width of the first column is set to 4
14165 \begin_inset space \thinspace{}
14176 \begin_inset space \thinspace{}
14180 \begin_inset space \thinspace{}
14185 tabcolsep is necessary because the overall width is the width for the text
14186 (in this case the 4
14187 \begin_inset space \thinspace{}
14190 cm) plus two times the separation of the text and the cell border.
14191 The calculation of the width cannot be done in the command option of
14197 so one needs to create a new length which can be used later.
14198 This is done with the \SpecialChar TeX
14202 \begin_layout Standard
14210 \begin_inset Newline newline
14222 \begin_layout Standard
14226 \begin_layout Plain Layout
14235 \begin_layout Plain Layout
14251 \begin_layout Standard
14252 To enable calculations in \SpecialChar LaTeX
14253 one needs to load the package
14258 \begin_inset Index idx
14261 \begin_layout Plain Layout
14268 in the document preamble.
14271 \begin_layout Standard
14272 In this table you can now use the command
14275 \begin_layout Standard
14285 \begin_layout Standard
14289 \begin_layout Standard
14292 \begin_inset Tabular
14293 <lyxtabular version="3" rows="2" columns="2">
14294 <features tabularvalignment="middle">
14295 <column alignment="center" valignment="top" width="4cm">
14296 <column alignment="center" valignment="top">
14298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14301 \begin_layout Plain Layout
14305 \begin_layout Plain Layout
14320 \begin_layout Plain Layout
14331 \begin_layout Plain Layout
14343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14346 \begin_layout Plain Layout
14354 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14357 \begin_layout Plain Layout
14363 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14366 \begin_layout Plain Layout
14380 \begin_layout Standard
14381 Note that the split cell needs to be the widest one in the column.
14382 Otherwise the length of the diagonal line cannot be calculated correctly
14383 like in this table:
14386 \begin_layout Standard
14389 \begin_inset Tabular
14390 <lyxtabular version="3" rows="2" columns="2">
14391 <features tabularvalignment="middle">
14392 <column alignment="center" valignment="top" width="0pt">
14393 <column alignment="center" valignment="top">
14395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14398 \begin_layout Plain Layout
14402 \begin_layout Plain Layout
14415 \begin_layout Plain Layout
14426 \begin_layout Plain Layout
14438 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14441 \begin_layout Plain Layout
14449 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14452 \begin_layout Plain Layout
14458 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14461 \begin_layout Plain Layout
14475 \begin_layout Standard
14476 In this case use the
14487 It is then not necessary to add 2
14489 tabcolsep because the cell width is now the width of the column.
14490 In this table a width of 3
14491 \begin_inset space \thinspace{}
14497 \begin_layout Standard
14500 \begin_inset Tabular
14501 <lyxtabular version="3" rows="2" columns="2">
14502 <features tabularvalignment="middle">
14503 <column alignment="center" valignment="top" width="0pt">
14504 <column alignment="center" valignment="top">
14506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14509 \begin_layout Plain Layout
14513 \begin_layout Plain Layout
14517 diagbox[width=3cm]{
14526 \begin_layout Plain Layout
14537 \begin_layout Plain Layout
14549 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14552 \begin_layout Plain Layout
14560 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14563 \begin_layout Plain Layout
14569 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14572 \begin_layout Plain Layout
14586 \begin_layout Standard
14587 For multiple text lines in split cells one needs some extra height to fit
14588 the text to the cell.
14589 This can be achieved with the
14599 (replace '3cm' by the height you need).
14600 In the following table the command
14603 \begin_layout Standard
14608 diagbox[width=3cm,height=1.4cm]{A
14619 \begin_layout Standard
14620 is used in the first cell.
14629 creates hereby the line break.
14633 \begin_layout Plain Layout
14634 Breaking lines with
14638 is only possible when the column has a fixed width.
14646 \begin_layout Standard
14649 \begin_inset Tabular
14650 <lyxtabular version="3" rows="2" columns="2">
14651 <features tabularvalignment="middle">
14652 <column alignment="center" valignment="top">
14653 <column alignment="center" valignment="top">
14655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14658 \begin_layout Plain Layout
14662 \begin_layout Plain Layout
14666 diagbox[width=3cm,height=1.4cm]{
14675 \begin_layout Plain Layout
14690 \begin_layout Plain Layout
14701 \begin_layout Plain Layout
14716 \begin_layout Plain Layout
14728 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14731 \begin_layout Plain Layout
14739 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14742 \begin_layout Plain Layout
14748 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14751 \begin_layout Plain Layout
14765 \begin_layout Standard
14769 \begin_layout Plain Layout
14779 \begin_inset Note Note
14782 \begin_layout Plain Layout
14783 The following will be displayed when the \SpecialChar LaTeX
14796 \begin_layout Standard
14797 You need to install the \SpecialChar LaTeX
14802 to see the following part of this section in the output.
14805 \begin_layout Standard
14809 \begin_layout Plain Layout
14821 \begin_layout Standard
14822 For more info about the \SpecialChar LaTeX
14827 , see its documentation,
14828 \begin_inset CommandInset citation
14838 \begin_layout Section
14840 \begin_inset CommandInset label
14842 name "sec:Formal-Tables"
14847 \begin_inset Index idx
14850 \begin_layout Plain Layout
14859 \begin_layout Standard
14860 Tables are often typeset in books similar to Table
14861 \begin_inset space ~
14865 \begin_inset CommandInset ref
14867 reference "tab:Example-booktabs-table"
14872 This kind of tables is called
14873 \begin_inset Quotes eld
14881 \begin_inset Quotes erd
14885 To make a table a formal table
14886 \change_inserted -712698321 1554290084
14887 , select the table style
14888 \begin_inset Quotes eld
14892 \begin_inset Quotes erd
14895 in the Table Creation dialog or
14905 tab of the table dialog
14906 \change_inserted -712698321 1554290131
14907 (if you additionally check the option
14909 Use Default Formal Style
14911 , the border lines are adapted to a sensible default)
14916 \begin_layout Standard
14917 \begin_inset Float table
14924 \begin_layout Plain Layout
14925 \begin_inset Caption Standard
14927 \begin_layout Plain Layout
14928 \begin_inset CommandInset label
14930 name "tab:Example-booktabs-table"
14935 \change_deleted -712698321 1554292310
14937 \change_inserted -712698321 1554292311
14948 \begin_layout Plain Layout
14950 \begin_inset Tabular
14951 <lyxtabular version="3" rows="8" columns="4">
14952 <features booktabs="true" tabularvalignment="middle">
14953 <column alignment="center" valignment="top">
14954 <column alignment="center" valignment="top" width="0pt">
14955 <column alignment="center" valignment="top" width="0pt">
14956 <column alignment="center" valignment="top">
14958 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14961 \begin_layout Plain Layout
14967 <cell alignment="center" valignment="top" topline="true" usebox="none">
14970 \begin_layout Plain Layout
14972 \begin_inset space \thinspace{}
14980 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
14983 \begin_layout Plain Layout
14985 \begin_inset space \thinspace{}
14993 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14996 \begin_layout Plain Layout
15004 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15007 \begin_layout Plain Layout
15009 \change_deleted -712698321 1554290161
15013 \begin_layout Plain Layout
15026 \begin_layout Plain Layout
15037 Detector thickness in µm
15042 <cell alignment="center" valignment="top" usebox="none">
15045 \begin_layout Plain Layout
15051 <cell alignment="center" valignment="top" usebox="none">
15054 \begin_layout Plain Layout
15060 <cell alignment="center" valignment="top" usebox="none">
15063 \begin_layout Plain Layout
15071 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15074 \begin_layout Plain Layout
15080 <cell alignment="center" valignment="top" topline="true" toplinertrim="true" usebox="none">
15083 \begin_layout Plain Layout
15089 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
15092 \begin_layout Plain Layout
15098 <cell alignment="center" valignment="top" topline="true" usebox="none">
15101 \begin_layout Plain Layout
15108 <row topspace="default">
15109 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15112 \begin_layout Plain Layout
15113 Spatial resolution in µm
15118 <cell alignment="center" valignment="top" usebox="none">
15121 \begin_layout Plain Layout
15127 <cell alignment="center" valignment="top" usebox="none">
15130 \begin_layout Plain Layout
15136 <cell alignment="center" valignment="top" usebox="none">
15139 \begin_layout Plain Layout
15146 <row topspace="default">
15147 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15150 \begin_layout Plain Layout
15152 \begin_inset Formula $f_{\mathrm{max}}$
15160 <cell alignment="center" valignment="top" usebox="none">
15163 \begin_layout Plain Layout
15169 <cell alignment="center" valignment="top" usebox="none">
15172 \begin_layout Plain Layout
15178 <cell alignment="center" valignment="top" usebox="none">
15181 \begin_layout Plain Layout
15188 <row topspace="default">
15189 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15192 \begin_layout Plain Layout
15194 \change_deleted -712698321 1554290260
15198 \begin_layout Plain Layout
15202 cmidrule[2pt](l{10pt}){1-1}
15209 LSF-spatial resolution
15214 <cell alignment="center" valignment="top" usebox="none">
15217 \begin_layout Plain Layout
15223 <cell alignment="center" valignment="top" usebox="none">
15226 \begin_layout Plain Layout
15232 <cell alignment="center" valignment="top" usebox="none">
15235 \begin_layout Plain Layout
15243 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15246 \begin_layout Plain Layout
15252 <cell alignment="center" valignment="top" usebox="none">
15255 \begin_layout Plain Layout
15261 <cell alignment="center" valignment="top" usebox="none">
15264 \begin_layout Plain Layout
15270 <cell alignment="center" valignment="top" usebox="none">
15273 \begin_layout Plain Layout
15281 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15284 \begin_layout Plain Layout
15290 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15293 \begin_layout Plain Layout
15299 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15302 \begin_layout Plain Layout
15308 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15311 \begin_layout Plain Layout
15330 \begin_layout Standard
15331 Spaces to table rows can be added using the
15335 tab of the table dialog as described in section
15336 \begin_inset space ~
15340 \begin_inset CommandInset ref
15342 reference "subsec:Row-Spacing"
15349 \begin_layout Standard
15350 Unlike normal tables, formal tables have no vertical table lines.
15351 The horizontal table lines can be set as for normal tables but they appear
15352 with different widths in the output:
15353 \begin_inset Newline newline
15356 The first and the last table line have a default width of 0.08
15357 \begin_inset space \thinspace{}
15360 em while the other lines have a default width of 0.05
15361 \begin_inset space \thinspace{}
15367 \begin_layout Standard
15368 The default widths can be changed with the following preamble lines
15371 \begin_layout Standard
15381 \begin_inset Newline newline
15393 \begin_layout Standard
15394 This example is for the first line, the so called
15399 If you want to change the width for the last line, replace
15408 To change the width for the other lines replace
15417 You can use all units listed in appendix
15418 \begin_inset space ~
15422 \begin_inset CommandInset ref
15424 reference "cha:Units-available-in"
15431 \begin_layout Standard
15433 \change_deleted -712698321 1554290929
15434 Lines that do not span all table columns can be created by setting a table
15435 line for multicolumn cells.
15437 will then internally use the command
15443 to create this line.
15445 \change_inserted -712698321 1554291959
15447 \begin_inset space ~
15451 \begin_inset CommandInset ref
15453 reference "tab:Example-booktabs-table"
15457 , formal tables often use shortened lines to group columns.
15458 This can be done in the borders widget of the table dialog.
15459 With formal tables, the top and bottom borders have to small offset lines
15460 to the left and the right.
15461 Clicking on these will trim the line respectively.
15466 \begin_layout Standard
15468 \change_inserted -712698321 1554291403
15469 If you need to adjust the length of the trimming or the height of the rules,
15470 you have to resort to \SpecialChar TeX
15472 The respective command (which is also used for the trimmed mid rules) is
15478 \begin_layout Standard
15483 cmidrule[height](trim){startcol-endcol}
15486 \begin_layout Standard
15488 \change_deleted -712698321 1554292020
15495 are currently not supported by \SpecialChar LyX
15496 so you have to use \SpecialChar TeX
15505 s can manually be created by inserting the command as \SpecialChar TeX
15507 cell entry of the first cell of a row.
15508 The line is then drawn in the output above the current row.
15513 \begin_layout Standard
15514 The default for the optional
15519 \begin_inset space \thinspace{}
15527 is the number of the column where the line starts and
15531 the column number where the line ends.
15536 always needs to be specified, also when the line should span only one column.
15537 The optional parameter
15554 Using for example the parameter
15558 means that the line is trimmed from its left end by 2
15559 \begin_inset space \thinspace{}
15563 If you don't specify the
15567 the line is trimmed by the default of 0.5
15568 \begin_inset space \thinspace{}
15572 \change_inserted -712698321 1554291561
15573 (this is what is done if you use trimming from the dialog)
15576 \change_inserted -712698321 1554292039
15580 \begin_layout Standard
15582 \change_inserted -712698321 1554292207
15593 is currently not supported by \SpecialChar LyX
15594 , and neither are the
15599 If you need this you can manually insert a
15605 with the respective settings as \SpecialChar TeX
15606 Code as the first cell entry of the first
15608 The line is then drawn in the output above the current row.
15610 \begin_inset space ~
15614 \begin_inset CommandInset ref
15616 reference "tab:Special-booktabs-table"
15620 exemplifies this (in the sixth row).
15625 \begin_layout Standard
15627 \change_deleted -712698321 1554291078
15628 \begin_inset VSpace bigskip
15632 \begin_inset space ~
15636 \begin_inset CommandInset ref
15638 reference "tab:Example-booktabs-table"
15642 was created using the commands
15645 \begin_layout Standard
15647 \change_deleted -712698321 1554291077
15657 \begin_layout Standard
15659 \change_deleted -712698321 1554291077
15660 at the beginning of the second row and
15663 \begin_layout Standard
15665 \change_deleted -712698321 1554291077
15670 cmidrule[2pt](l{10pt}){1-1}
15673 \begin_layout Standard
15675 \change_deleted -712698321 1554291077
15681 \begin_layout Standard
15683 \change_deleted -712698321 1554292212
15684 \begin_inset VSpace bigskip
15692 \begin_layout Standard
15694 \change_inserted -712698321 1554291573
15697 might want to have overlapping
15704 \change_deleted -712698321 1554296804
15706 \change_inserted -712698321 1554296808
15707 exemplified as well
15710 \begin_inset space ~
15714 \begin_inset CommandInset ref
15716 reference "tab:Special-booktabs-table"
15721 \change_inserted -712698321 1554291601
15722 , even though this is considered bad style (so only use it if you really
15726 This can be achieved with the \SpecialChar TeX
15730 \begin_layout Standard
15738 \begin_layout Standard
15739 The command that was used for the second row of Table
15740 \begin_inset space ~
15744 \begin_inset CommandInset ref
15746 reference "tab:Special-booktabs-table"
15753 \begin_layout Standard
15755 \change_deleted -712698321 1554291798
15771 \begin_layout Standard
15772 The command for the sixth row is
15775 \begin_layout Standard
15777 \change_deleted -712698321 1554291810
15791 \begin_layout Standard
15792 \begin_inset VSpace bigskip
15798 \begin_layout Standard
15799 If you are in any way not satisfied with the border line spacing, you can
15800 use the following command to produce lines that span over all table columns
15805 \begin_layout Standard
15810 specialrule{width}{space above}{space below}
15813 \begin_layout Standard
15814 For more information about these features, refer to the manual of the \SpecialChar LaTeX
15821 \begin_inset CommandInset citation
15829 \begin_inset Index idx
15832 \begin_layout Plain Layout
15834 -packages ! booktabs
15842 \begin_layout Standard
15843 \begin_inset Float table
15850 \begin_layout Plain Layout
15851 \begin_inset Caption Standard
15853 \begin_layout Plain Layout
15854 \begin_inset CommandInset label
15856 name "tab:Special-booktabs-table"
15861 \change_inserted -712698321 1554292295
15863 \change_deleted -712698321 1554292304
15865 \change_inserted -712698321 1554292305
15867 \change_deleted -712698321 1554292300
15878 \begin_layout Plain Layout
15880 \begin_inset Tabular
15881 <lyxtabular version="3" rows="8" columns="4">
15882 <features booktabs="true" tabularvalignment="middle">
15883 <column alignment="center" valignment="top">
15884 <column alignment="center" valignment="top" width="0pt">
15885 <column alignment="center" valignment="top" width="0pt">
15886 <column alignment="center" valignment="top" width="0pt">
15888 <cell alignment="center" valignment="top" topline="true" usebox="none">
15891 \begin_layout Plain Layout
15897 <cell alignment="center" valignment="top" topline="true" bottomline="true" bottomlinertrim="true" usebox="none">
15900 \begin_layout Plain Layout
15902 \begin_inset space \thinspace{}
15910 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
15913 \begin_layout Plain Layout
15915 \begin_inset space \thinspace{}
15923 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15926 \begin_layout Plain Layout
15934 <cell alignment="center" valignment="top" usebox="none">
15937 \begin_layout Plain Layout
15939 \change_deleted -712698321 1554291732
15943 \begin_layout Plain Layout
15956 \begin_layout Plain Layout
15971 \begin_layout Plain Layout
15984 \begin_layout Plain Layout
15993 Detector thickness in µm
15998 <cell alignment="center" valignment="top" usebox="none">
16001 \begin_layout Plain Layout
16007 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
16010 \begin_layout Plain Layout
16016 <cell alignment="center" valignment="top" topline="true" usebox="none">
16019 \begin_layout Plain Layout
16027 <cell alignment="center" valignment="top" topline="true" usebox="none">
16030 \begin_layout Plain Layout
16036 <cell alignment="center" valignment="top" topline="true" usebox="none">
16039 \begin_layout Plain Layout
16045 <cell alignment="center" valignment="top" topline="true" usebox="none">
16048 \begin_layout Plain Layout
16054 <cell alignment="center" valignment="top" topline="true" usebox="none">
16057 \begin_layout Plain Layout
16064 <row topspace="default">
16065 <cell alignment="center" valignment="top" usebox="none">
16068 \begin_layout Plain Layout
16069 Spatial resolution in µm
16074 <cell alignment="center" valignment="top" usebox="none">
16077 \begin_layout Plain Layout
16083 <cell alignment="center" valignment="top" usebox="none">
16086 \begin_layout Plain Layout
16092 <cell alignment="center" valignment="top" usebox="none">
16095 \begin_layout Plain Layout
16102 <row topspace="default">
16103 <cell alignment="center" valignment="top" usebox="none">
16106 \begin_layout Plain Layout
16108 \begin_inset Formula $f_{\mathrm{max}}$
16116 <cell alignment="center" valignment="top" usebox="none">
16119 \begin_layout Plain Layout
16125 <cell alignment="center" valignment="top" usebox="none">
16128 \begin_layout Plain Layout
16134 <cell alignment="center" valignment="top" usebox="none">
16137 \begin_layout Plain Layout
16145 <cell alignment="center" valignment="top" topline="true" usebox="none">
16148 \begin_layout Plain Layout
16152 \begin_layout Plain Layout
16165 \begin_layout Plain Layout
16170 \change_inserted -712698321 1554291896
16178 LSF-spatial resolution
16183 <cell alignment="center" valignment="top" topline="true" usebox="none">
16186 \begin_layout Plain Layout
16192 <cell alignment="center" valignment="top" topline="true" usebox="none">
16195 \begin_layout Plain Layout
16201 <cell alignment="center" valignment="top" topline="true" usebox="none">
16204 \begin_layout Plain Layout
16212 <cell alignment="center" valignment="top" usebox="none">
16215 \begin_layout Plain Layout
16221 <cell alignment="center" valignment="top" usebox="none">
16224 \begin_layout Plain Layout
16230 <cell alignment="center" valignment="top" usebox="none">
16233 \begin_layout Plain Layout
16239 <cell alignment="center" valignment="top" usebox="none">
16242 \begin_layout Plain Layout
16250 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16253 \begin_layout Plain Layout
16259 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16262 \begin_layout Plain Layout
16268 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16271 \begin_layout Plain Layout
16277 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16280 \begin_layout Plain Layout
16299 \begin_layout Section
16300 Vertical Table Alignment
16301 \begin_inset Index idx
16304 \begin_layout Plain Layout
16313 \begin_layout Standard
16314 To align tables vertically in a text line, the table must be inside a box.
16315 The box can then be vertically aligned as described in section
16316 \begin_inset space ~
16320 \begin_inset CommandInset ref
16322 reference "sec:Box-Dialog"
16329 \begin_layout Standard
16330 In the following example the tables are inside a minipage
16334 \begin_layout Plain Layout
16335 Minipages are described in section
16336 \begin_inset space ~
16340 \begin_inset CommandInset ref
16342 reference "sec:Minipages"
16351 box that has a width of 15
16352 \begin_inset space \thinspace{}
16358 \begin_layout Itemize
16360 \begin_inset Box Frameless
16370 height_special "totalheight"
16375 backgroundcolor "none"
16378 \begin_layout Plain Layout
16379 \begin_inset Tabular
16380 <lyxtabular version="3" rows="3" columns="3">
16381 <features tabularvalignment="middle">
16382 <column alignment="center" valignment="top">
16383 <column alignment="center" valignment="top">
16384 <column alignment="center" valignment="top">
16386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16389 \begin_layout Plain Layout
16395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16398 \begin_layout Plain Layout
16404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16407 \begin_layout Plain Layout
16415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16418 \begin_layout Plain Layout
16424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16427 \begin_layout Plain Layout
16433 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16436 \begin_layout Plain Layout
16444 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16447 \begin_layout Plain Layout
16453 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16456 \begin_layout Plain Layout
16462 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16465 \begin_layout Plain Layout
16485 \begin_layout Plain Layout
16497 \begin_inset Box Frameless
16507 height_special "totalheight"
16512 backgroundcolor "none"
16515 \begin_layout Plain Layout
16516 \begin_inset Tabular
16517 <lyxtabular version="3" rows="3" columns="3">
16518 <features tabularvalignment="middle">
16519 <column alignment="center" valignment="top">
16520 <column alignment="center" valignment="top">
16521 <column alignment="center" valignment="top">
16523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16526 \begin_layout Plain Layout
16532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16535 \begin_layout Plain Layout
16541 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16544 \begin_layout Plain Layout
16552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16555 \begin_layout Plain Layout
16561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16564 \begin_layout Plain Layout
16570 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16573 \begin_layout Plain Layout
16581 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16584 \begin_layout Plain Layout
16590 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16593 \begin_layout Plain Layout
16599 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16602 \begin_layout Plain Layout
16622 \begin_layout Plain Layout
16632 \begin_layout Itemize
16634 \begin_inset Box Frameless
16644 height_special "totalheight"
16649 backgroundcolor "none"
16652 \begin_layout Plain Layout
16653 \begin_inset Tabular
16654 <lyxtabular version="3" rows="3" columns="3">
16655 <features tabularvalignment="middle">
16656 <column alignment="center" valignment="top">
16657 <column alignment="center" valignment="top">
16658 <column alignment="center" valignment="top">
16660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16663 \begin_layout Plain Layout
16669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16672 \begin_layout Plain Layout
16678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16681 \begin_layout Plain Layout
16689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16692 \begin_layout Plain Layout
16698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16701 \begin_layout Plain Layout
16707 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16710 \begin_layout Plain Layout
16718 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16721 \begin_layout Plain Layout
16727 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16730 \begin_layout Plain Layout
16736 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16739 \begin_layout Plain Layout
16758 \begin_layout Itemize
16760 \begin_inset Box Frameless
16770 height_special "totalheight"
16775 backgroundcolor "none"
16778 \begin_layout Plain Layout
16779 \begin_inset Tabular
16780 <lyxtabular version="3" rows="3" columns="3">
16781 <features tabularvalignment="middle">
16782 <column alignment="center" valignment="top">
16783 <column alignment="center" valignment="top">
16784 <column alignment="center" valignment="top">
16786 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16789 \begin_layout Plain Layout
16795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16798 \begin_layout Plain Layout
16804 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16807 \begin_layout Plain Layout
16815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16818 \begin_layout Plain Layout
16824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16827 \begin_layout Plain Layout
16833 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16836 \begin_layout Plain Layout
16844 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16847 \begin_layout Plain Layout
16853 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16856 \begin_layout Plain Layout
16862 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16865 \begin_layout Plain Layout
16885 \begin_layout Plain Layout
16897 \begin_inset Box Frameless
16907 height_special "totalheight"
16912 backgroundcolor "none"
16915 \begin_layout Plain Layout
16916 \begin_inset Tabular
16917 <lyxtabular version="3" rows="3" columns="3">
16918 <features tabularvalignment="middle">
16919 <column alignment="center" valignment="top">
16920 <column alignment="center" valignment="top">
16921 <column alignment="center" valignment="top">
16923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16926 \begin_layout Plain Layout
16932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16935 \begin_layout Plain Layout
16941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16944 \begin_layout Plain Layout
16952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16955 \begin_layout Plain Layout
16961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16964 \begin_layout Plain Layout
16970 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16973 \begin_layout Plain Layout
16981 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16984 \begin_layout Plain Layout
16990 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16993 \begin_layout Plain Layout
16999 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17002 \begin_layout Plain Layout
17022 \begin_layout Plain Layout
17032 \begin_layout Standard
17033 As you will see, the content of the first and last table row is not correctly
17035 To get this alignment, the minipage box must be set into a raisebox.
17039 \begin_layout Plain Layout
17040 Raiseboxes are described in section
17041 \begin_inset space ~
17045 \begin_inset CommandInset ref
17047 reference "subsec:Vertical-Alignment"
17056 In the example above the second table in the first item is aligned using
17057 the \SpecialChar TeX
17061 \begin_layout Standard
17071 \begin_layout Standard
17073 After the box the closing brace
17077 is inserted as \SpecialChar TeX
17079 For the second table in the last item the command
17082 \begin_layout Standard
17092 \begin_layout Standard
17096 \begin_layout Standard
17097 \begin_inset Note Greyedout
17100 \begin_layout Plain Layout
17105 The alignment of the table row content to the surrounding text line is
17107 The required value for the
17113 command for this alignment depends on the document font, the font size,
17114 and the table line thickness.
17122 \begin_layout Section
17124 \begin_inset CommandInset label
17126 name "sec:Colored-Tables"
17131 \begin_inset Index idx
17134 \begin_layout Plain Layout
17143 \begin_layout Subsection
17145 \begin_inset Index idx
17148 \begin_layout Plain Layout
17149 Table Color ! for Cells
17155 \begin_inset Index idx
17158 \begin_layout Plain Layout
17159 Color ! for Table Cells
17167 \begin_layout Standard
17168 \begin_inset Float table
17175 \begin_layout Plain Layout
17176 \begin_inset Caption Standard
17178 \begin_layout Plain Layout
17179 \begin_inset CommandInset label
17181 name "tab:Table-colored-without"
17185 Table colored without using the package
17190 \begin_inset Argument 1
17193 \begin_layout Plain Layout
17194 Table without colortbl
17207 \begin_layout Plain Layout
17209 \begin_inset Tabular
17210 <lyxtabular version="3" rows="3" columns="3">
17211 <features tabularvalignment="middle">
17212 <column alignment="center" valignment="top">
17213 <column alignment="center" valignment="top">
17214 <column alignment="center" valignment="top">
17216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17219 \begin_layout Plain Layout
17227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17230 \begin_layout Plain Layout
17238 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17241 \begin_layout Plain Layout
17251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17254 \begin_layout Plain Layout
17262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17265 \begin_layout Plain Layout
17273 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17276 \begin_layout Plain Layout
17286 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17289 \begin_layout Plain Layout
17297 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17300 \begin_layout Plain Layout
17308 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17311 \begin_layout Plain Layout
17332 \begin_layout Standard
17333 If you only need colored text, mark the cells and choose a color in the
17337 \begin_inset space ~
17342 dialog (toolbar button
17345 arg "dialog-show character"
17349 This was used to create Table
17350 \begin_inset space ~
17354 \begin_inset CommandInset ref
17356 reference "tab:Table-colored-without"
17361 In any other case you have to use the \SpecialChar LaTeX
17367 \begin_inset Index idx
17370 \begin_layout Plain Layout
17372 -packages ! colortbl
17380 \begin_layout Standard
17384 \begin_layout Plain Layout
17394 \begin_inset Note Note
17397 \begin_layout Plain Layout
17398 The following section part will only be displayed when the \SpecialChar LaTeX
17411 \begin_layout Standard
17412 To create colored tables,
17416 must be loaded in the preamble with the line
17419 \begin_layout Standard
17424 usepackage{colortbl}
17427 \begin_layout Standard
17428 The color of a column is adjusted with the command
17431 \begin_layout Standard
17436 columncolor{name of color}
17439 \begin_layout Standard
17445 More about the command
17449 is contained in section
17450 \begin_inset space ~
17454 \begin_inset CommandInset ref
17456 reference "subsec:Multicolumn-Calculations"
17463 \begin_layout Standard
17464 The following color names are predefined:
17467 \begin_layout Standard
17501 \begin_layout Standard
17502 \begin_inset VSpace medskip
17508 \begin_layout Standard
17509 If you add the option
17512 \begin_layout Standard
17518 \begin_layout Standard
17519 to the document class options in the document settings, you can additionally
17521 \begin_inset space ~
17525 These colors are listed in appendix
17526 \begin_inset space ~
17530 \begin_inset CommandInset ref
17532 reference "chap:List-of-dvips-colornames"
17537 One of these colors,
17541 , is used as example in Table
17542 \begin_inset space ~
17546 \begin_inset CommandInset ref
17548 reference "tab:Table-colored-using"
17555 \begin_layout Standard
17556 \begin_inset VSpace medskip
17562 \begin_layout Standard
17563 You can also define your own color with the command
17566 \begin_layout Standard
17571 definecolor{color name}{color model}{color values}
17574 \begin_layout Standard
17575 The color model can be
17578 \begin_layout Labeling
17579 \labelwidthstring 00.00.0000
17580 cmyk: cyan, magenta, yellow, black
17583 \begin_layout Labeling
17584 \labelwidthstring 00.00.0000
17585 rgb: red, green blue
17588 \begin_layout Labeling
17589 \labelwidthstring 00.00.0000
17593 \begin_layout Standard
17594 and the color values are comma separated numbers between 0 and 1 describing
17595 the factor for the corresponding color of the color model.
17598 \begin_layout Standard
17600 \begin_inset space \thinspace{}
17604 \begin_inset space \space{}
17611 " in the preamble with
17614 \begin_layout Standard
17619 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
17622 \begin_layout Standard
17630 \begin_layout Standard
17635 definecolor{lightgray}{gray}{0.8}
17638 \begin_layout Standard
17639 \begin_inset VSpace medskip
17645 \begin_layout Standard
17646 Lines are colored with the command
17649 \begin_layout Standard
17654 rowcolor{name of color}
17657 \begin_layout Standard
17658 and cells are colored with the command
17661 \begin_layout Standard
17666 cellcolor{name of color}
17669 \begin_layout Standard
17670 Both commands are inserted at the beginning of a cell as \SpecialChar TeX
17674 \begin_layout Standard
17675 To color characters in the table, mark the cells and use the
17678 \begin_inset space ~
17684 If a cell contains \SpecialChar TeX
17685 Code mark only the characters, otherwise the colored
17687 Code will cause \SpecialChar LaTeX
17691 \begin_layout Standard
17692 \begin_inset Note Greyedout
17695 \begin_layout Plain Layout
17700 Not all DVI-viewers are able to display self-defined colors.
17708 \begin_layout Standard
17709 \begin_inset VSpace bigskip
17715 \begin_layout Standard
17717 \begin_inset space ~
17721 \begin_inset CommandInset ref
17723 reference "tab:Table-colored-using"
17727 do the following: The color of the first column should be
17735 \begin_layout Standard
17740 columncolor{darkgreen}
17745 \begin_layout Standard
17746 as \SpecialChar LaTeX
17747 -argument for this column.
17748 The first row should be light blue, therefore the \SpecialChar TeX
17752 \begin_layout Standard
17760 \begin_layout Standard
17761 is inserted to the first cell of this row.
17762 Note that this overwrites the column color for the first cell.
17763 The last cell of the last row is colored maroon by inserting the \SpecialChar TeX
17768 \begin_layout Standard
17776 \begin_layout Standard
17777 The characters could now be colored using the menu
17779 Edit\SpecialChar menuseparator
17781 \begin_inset space ~
17789 \begin_layout Standard
17790 \begin_inset Float table
17797 \begin_layout Plain Layout
17798 \begin_inset Caption Standard
17800 \begin_layout Plain Layout
17801 \begin_inset CommandInset label
17803 name "tab:Table-colored-using"
17807 Table colored using the package
17812 \begin_inset Argument 1
17815 \begin_layout Plain Layout
17816 Table with colortbl
17829 \begin_layout Plain Layout
17831 \begin_inset Tabular
17832 <lyxtabular version="3" rows="3" columns="3">
17833 <features tabularvalignment="middle">
17834 <column alignment="center" valignment="top" special=">{\columncolor{darkgreen}\centering}c">
17835 <column alignment="center" valignment="top">
17836 <column alignment="center" valignment="top">
17838 <cell alignment="center" valignment="top" usebox="none">
17841 \begin_layout Plain Layout
17845 \begin_layout Plain Layout
17861 <cell alignment="center" valignment="top" usebox="none">
17864 \begin_layout Plain Layout
17872 <cell alignment="center" valignment="top" usebox="none">
17875 \begin_layout Plain Layout
17885 <cell alignment="center" valignment="top" usebox="none">
17888 \begin_layout Plain Layout
17896 <cell alignment="center" valignment="top" usebox="none">
17899 \begin_layout Plain Layout
17907 <cell alignment="center" valignment="top" usebox="none">
17910 \begin_layout Plain Layout
17920 <cell alignment="center" valignment="top" usebox="none">
17923 \begin_layout Plain Layout
17931 <cell alignment="center" valignment="top" usebox="none">
17934 \begin_layout Plain Layout
17942 <cell alignment="center" valignment="top" usebox="none">
17945 \begin_layout Plain Layout
17949 \begin_layout Plain Layout
17978 \begin_layout Standard
17982 \begin_layout Plain Layout
17992 \begin_inset Note Note
17995 \begin_layout Plain Layout
17996 The following will be displayed when the \SpecialChar LaTeX
18009 \begin_layout Standard
18010 You need to install the package
18014 to see the content of this section in the output.
18017 \begin_layout Standard
18021 \begin_layout Plain Layout
18033 \begin_layout Subsection
18035 \begin_inset Index idx
18038 \begin_layout Plain Layout
18039 Table Color ! for Rows
18045 \begin_inset Index idx
18048 \begin_layout Plain Layout
18049 Color ! for Table Rows
18057 \begin_layout Standard
18058 In case every second table row needs to be colored there is an alternative
18059 to the method described in the previous section: One loads the package
18065 \begin_inset Index idx
18068 \begin_layout Plain Layout
18074 \begin_layout Plain Layout
18088 in the document preamble with the command
18091 \begin_layout Standard
18096 usepackage[table]{xcolor}
18099 \begin_layout Standard
18104 automatically loads also the package
18109 \begin_inset Index idx
18112 \begin_layout Plain Layout
18114 -packages ! colortbl
18123 must be installed in your \SpecialChar LaTeX
18124 -distribution, otherwise you get \SpecialChar LaTeX
18128 \begin_layout Standard
18132 \begin_layout Plain Layout
18142 \begin_inset Note Note
18145 \begin_layout Plain Layout
18146 The following section part will only be displayed when the \SpecialChar LaTeX
18159 \begin_layout Standard
18160 The table rows are colored with the command
18163 \begin_layout Standard
18168 rowcolors[commands]{row number}{odd row color}{even row color}
18171 \begin_layout Standard
18172 that is either inserted in the document preamble or as \SpecialChar TeX
18174 first table to be colored.
18176 \begin_inset space ~
18179 number is the number of the first row which should be colored according
18180 to the odd row color.
18181 commands can be additional commands that are executed before every table
18183 So for example the command
18186 \begin_layout Standard
18191 rowcolors{1}{white}{lightgray}
18194 \begin_layout Standard
18195 leads to the coloring scheme of Table
18196 \begin_inset space ~
18200 \begin_inset CommandInset ref
18202 reference "tab:Table-rowcolors"
18210 \begin_layout Standard
18217 hline]{1}{lightgray}{cyan}
18220 \begin_layout Standard
18221 leads to the coloring scheme of Table
18222 \begin_inset space ~
18226 \begin_inset CommandInset ref
18228 reference "tab:Table-rowcolors-2"
18234 \begin_inset space ~
18238 \begin_inset space ~
18242 \begin_inset space ~
18246 \begin_inset space ~
18249 color are left empty, no color will be used so that the command
18252 \begin_layout Standard
18260 \begin_layout Standard
18261 deletes all colors.
18268 affects all tables following that command.
18271 \begin_layout Standard
18275 \begin_layout Plain Layout
18279 rowcolors{1}{white}{lightgray}
18287 \begin_layout Standard
18288 \begin_inset Float table
18295 \begin_layout Plain Layout
18296 \begin_inset Caption Standard
18298 \begin_layout Plain Layout
18299 \begin_inset CommandInset label
18301 name "tab:Table-rowcolors"
18305 Table where every second row is colored light gray.
18313 \begin_layout Plain Layout
18315 \begin_inset Tabular
18316 <lyxtabular version="3" rows="4" columns="3">
18317 <features tabularvalignment="middle">
18318 <column alignment="center" valignment="top">
18319 <column alignment="center" valignment="top" width="0pt">
18320 <column alignment="center" valignment="top" width="0pt">
18322 <cell alignment="center" valignment="top" usebox="none">
18325 \begin_layout Plain Layout
18331 <cell alignment="center" valignment="top" usebox="none">
18334 \begin_layout Plain Layout
18340 <cell alignment="center" valignment="top" usebox="none">
18343 \begin_layout Plain Layout
18351 <cell alignment="center" valignment="top" usebox="none">
18354 \begin_layout Plain Layout
18360 <cell alignment="center" valignment="top" usebox="none">
18363 \begin_layout Plain Layout
18369 <cell alignment="center" valignment="top" usebox="none">
18372 \begin_layout Plain Layout
18380 <cell alignment="center" valignment="top" usebox="none">
18383 \begin_layout Plain Layout
18389 <cell alignment="center" valignment="top" usebox="none">
18392 \begin_layout Plain Layout
18398 <cell alignment="center" valignment="top" usebox="none">
18401 \begin_layout Plain Layout
18409 <cell alignment="center" valignment="top" usebox="none">
18412 \begin_layout Plain Layout
18418 <cell alignment="center" valignment="top" usebox="none">
18421 \begin_layout Plain Layout
18427 <cell alignment="center" valignment="top" usebox="none">
18430 \begin_layout Plain Layout
18449 \begin_layout Standard
18453 \begin_layout Plain Layout
18459 hline]{1}{lightgray}{cyan}
18467 \begin_layout Standard
18468 \begin_inset Float table
18475 \begin_layout Plain Layout
18476 \begin_inset Caption Standard
18478 \begin_layout Plain Layout
18479 \begin_inset CommandInset label
18481 name "tab:Table-rowcolors-2"
18485 Table where every second row is colored cyan and at which there is a line
18494 \begin_layout Plain Layout
18496 \begin_inset Tabular
18497 <lyxtabular version="3" rows="4" columns="3">
18498 <features tabularvalignment="middle">
18499 <column alignment="center" valignment="top">
18500 <column alignment="center" valignment="top">
18501 <column alignment="center" valignment="top" width="0pt">
18503 <cell alignment="center" valignment="top" usebox="none">
18506 \begin_layout Plain Layout
18512 <cell alignment="center" valignment="top" usebox="none">
18515 \begin_layout Plain Layout
18521 <cell alignment="center" valignment="top" usebox="none">
18524 \begin_layout Plain Layout
18532 <cell alignment="center" valignment="top" usebox="none">
18535 \begin_layout Plain Layout
18541 <cell alignment="center" valignment="top" usebox="none">
18544 \begin_layout Plain Layout
18550 <cell alignment="center" valignment="top" usebox="none">
18553 \begin_layout Plain Layout
18561 <cell alignment="center" valignment="top" usebox="none">
18564 \begin_layout Plain Layout
18570 <cell alignment="center" valignment="top" usebox="none">
18573 \begin_layout Plain Layout
18579 <cell alignment="center" valignment="top" usebox="none">
18582 \begin_layout Plain Layout
18590 <cell alignment="center" valignment="top" usebox="none">
18593 \begin_layout Plain Layout
18599 <cell alignment="center" valignment="top" usebox="none">
18602 \begin_layout Plain Layout
18608 <cell alignment="center" valignment="top" usebox="none">
18611 \begin_layout Plain Layout
18630 \begin_layout Standard
18634 \begin_layout Plain Layout
18644 \begin_inset Note Note
18647 \begin_layout Plain Layout
18648 turns off the row coloring
18656 \begin_layout Standard
18660 \begin_layout Plain Layout
18670 \begin_inset Note Note
18673 \begin_layout Plain Layout
18674 The following will be displayed when the \SpecialChar LaTeX
18687 \begin_layout Standard
18688 You need to install the package
18692 to see the content of this section in the output.
18695 \begin_layout Standard
18699 \begin_layout Plain Layout
18711 \begin_layout Subsection
18713 \begin_inset Index idx
18716 \begin_layout Plain Layout
18717 Table Color ! for Lines
18723 \begin_inset Index idx
18726 \begin_layout Plain Layout
18727 Color ! for Table Lines
18735 \begin_layout Standard
18736 As described in section
18737 \begin_inset space ~
18741 \begin_inset CommandInset ref
18743 reference "subsec:Line-Thickness"
18747 , the line thickness for all lines in a table can be adjusted with the length
18756 \begin_inset space \thinspace{}
18759 pt for all tables of this section.
18763 \begin_layout Plain Layout
18769 arrayrulewidth}{1.5pt}
18777 \begin_layout Standard
18778 To color vertical lines for example with green, create the following column
18779 format in the document preamble, according to the description in section
18780 \begin_inset space ~
18784 \begin_inset CommandInset ref
18786 reference "subsec:Customized-Format"
18793 \begin_layout Standard
18798 newcolumntype{W}{!{
18805 \begin_layout Standard
18807 \begin_inset space ~
18811 \begin_inset CommandInset ref
18813 reference "tab:Table-with-vertical-colored"
18817 the \SpecialChar LaTeX
18822 was used for the last column and
18826 for the other columns.
18829 \begin_layout Standard
18830 If you want to have several colors, define more column formats.
18833 \begin_layout Standard
18834 \begin_inset Float table
18841 \begin_layout Plain Layout
18842 \begin_inset Caption Standard
18844 \begin_layout Plain Layout
18845 \begin_inset CommandInset label
18847 name "tab:Table-with-vertical-colored"
18851 Table with colored vertical lines
18859 \begin_layout Plain Layout
18861 \begin_inset Tabular
18862 <lyxtabular version="3" rows="3" columns="3">
18863 <features tabularvalignment="middle">
18864 <column alignment="center" valignment="top" special="Wc">
18865 <column alignment="center" valignment="top" special="Wc">
18866 <column alignment="center" valignment="top" special="WcW">
18868 <cell alignment="center" valignment="top" topline="true" usebox="none">
18871 \begin_layout Plain Layout
18877 <cell alignment="center" valignment="top" topline="true" usebox="none">
18880 \begin_layout Plain Layout
18886 <cell alignment="center" valignment="top" topline="true" usebox="none">
18889 \begin_layout Plain Layout
18897 <cell alignment="center" valignment="top" topline="true" usebox="none">
18900 \begin_layout Plain Layout
18906 <cell alignment="center" valignment="top" topline="true" usebox="none">
18909 \begin_layout Plain Layout
18915 <cell alignment="center" valignment="top" topline="true" usebox="none">
18918 \begin_layout Plain Layout
18926 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18929 \begin_layout Plain Layout
18935 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18938 \begin_layout Plain Layout
18944 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18947 \begin_layout Plain Layout
18966 \begin_layout Standard
18967 \begin_inset VSpace bigskip
18970 To color all horizontal lines for example with red, as in Table
18971 \begin_inset space ~
18975 \begin_inset CommandInset ref
18977 reference "tab:Table-with-horizontal-colored"
18981 , insert these commands in \SpecialChar TeX
18982 code before the table or table float:
18985 \begin_layout Standard
18995 \begin_inset Newline newline
19003 \begin_inset Newline newline
19007 \begin_inset Phantom HPhantom
19010 \begin_layout Plain Layout
19013 \begin_inset space ~
19023 arrayrulecolor{red}
19027 arrayrulecolor{black}}
19030 \begin_layout Standard
19034 \begin_layout Plain Layout
19045 \begin_layout Plain Layout
19054 \begin_layout Plain Layout
19058 arrayrulecolor{red}
19062 arrayrulecolor{black}}
19068 \begin_inset Float table
19075 \begin_layout Plain Layout
19076 \begin_inset Caption Standard
19078 \begin_layout Plain Layout
19079 \begin_inset CommandInset label
19081 name "tab:Table-with-horizontal-colored"
19085 Table with colored horizontal lines
19093 \begin_layout Plain Layout
19095 \begin_inset Tabular
19096 <lyxtabular version="3" rows="3" columns="3">
19097 <features tabularvalignment="middle">
19098 <column alignment="center" valignment="top">
19099 <column alignment="center" valignment="top">
19100 <column alignment="center" valignment="top">
19102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19105 \begin_layout Plain Layout
19111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19114 \begin_layout Plain Layout
19120 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19123 \begin_layout Plain Layout
19131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19134 \begin_layout Plain Layout
19140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19143 \begin_layout Plain Layout
19149 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19152 \begin_layout Plain Layout
19160 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19163 \begin_layout Plain Layout
19169 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19172 \begin_layout Plain Layout
19178 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19181 \begin_layout Plain Layout
19200 \begin_layout Standard
19201 To return to the default line color black, insert this command in \SpecialChar TeX
19203 after the table or table float:
19206 \begin_layout Standard
19218 \begin_layout Standard
19220 \begin_inset space ~
19224 \begin_inset CommandInset ref
19226 reference "tab:Table-with-colored"
19230 is an example with colored vertical and horizontal lines.
19233 \begin_layout Standard
19234 \begin_inset Float table
19241 \begin_layout Plain Layout
19242 \begin_inset Caption Standard
19244 \begin_layout Plain Layout
19245 \begin_inset CommandInset label
19247 name "tab:Table-with-colored"
19251 Table with colored lines
19259 \begin_layout Plain Layout
19261 \begin_inset Tabular
19262 <lyxtabular version="3" rows="3" columns="3">
19263 <features tabularvalignment="middle">
19264 <column alignment="center" valignment="top" special="Wc">
19265 <column alignment="center" valignment="top" special="Wc">
19266 <column alignment="center" valignment="top" special="WcW">
19268 <cell alignment="center" valignment="top" topline="true" usebox="none">
19271 \begin_layout Plain Layout
19277 <cell alignment="center" valignment="top" topline="true" usebox="none">
19280 \begin_layout Plain Layout
19286 <cell alignment="center" valignment="top" topline="true" usebox="none">
19289 \begin_layout Plain Layout
19297 <cell alignment="center" valignment="top" topline="true" usebox="none">
19300 \begin_layout Plain Layout
19306 <cell alignment="center" valignment="top" topline="true" usebox="none">
19309 \begin_layout Plain Layout
19315 <cell alignment="center" valignment="top" topline="true" usebox="none">
19318 \begin_layout Plain Layout
19325 <row topspace="default">
19326 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19329 \begin_layout Plain Layout
19335 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19338 \begin_layout Plain Layout
19344 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19347 \begin_layout Plain Layout
19366 \begin_layout Standard
19370 \begin_layout Plain Layout
19386 \begin_layout Standard
19390 \begin_layout Plain Layout
19396 arrayrulewidth}{1.2pt}
19404 \begin_layout Standard
19405 To color only some of the table lines another strategy is necessary.
19406 To color all following horizontal lines, insert this command as \SpecialChar TeX
19408 last thing in the row that should be above the first colored line:
19411 \begin_layout Standard
19420 arrayrulecolor{blue}%
19423 \begin_layout Standard
19424 To go back to black lines, add this command as first thing in the row that
19425 is above the black lines:
19428 \begin_layout Standard
19433 arrayrulecolor{black}
19436 \begin_layout Standard
19437 With this one can color table lines like in Table
19438 \begin_inset space ~
19442 \begin_inset CommandInset ref
19444 reference "tab:Table-with-different-hor"
19449 However, with this method it is not possible to color the line above the
19450 first row of a table.
19453 \begin_layout Standard
19454 \begin_inset Float table
19461 \begin_layout Plain Layout
19462 \begin_inset Caption Standard
19464 \begin_layout Plain Layout
19465 \begin_inset CommandInset label
19467 name "tab:Table-with-different-hor"
19471 Table with different horizontal line colors.
19479 \begin_layout Plain Layout
19481 \begin_inset Tabular
19482 <lyxtabular version="3" rows="6" columns="7">
19483 <features tabularvalignment="middle">
19484 <column alignment="center" valignment="top">
19485 <column alignment="center" valignment="top">
19486 <column alignment="center" valignment="top">
19487 <column alignment="center" valignment="top">
19488 <column alignment="center" valignment="top">
19489 <column alignment="center" valignment="top">
19490 <column alignment="center" valignment="top">
19492 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19495 \begin_layout Plain Layout
19501 <cell alignment="center" valignment="top" topline="true" usebox="none">
19504 \begin_layout Plain Layout
19510 <cell alignment="center" valignment="top" topline="true" usebox="none">
19513 \begin_layout Plain Layout
19519 <cell alignment="center" valignment="top" topline="true" usebox="none">
19522 \begin_layout Plain Layout
19528 <cell alignment="center" valignment="top" topline="true" usebox="none">
19531 \begin_layout Plain Layout
19537 <cell alignment="center" valignment="top" topline="true" usebox="none">
19540 \begin_layout Plain Layout
19546 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
19549 \begin_layout Plain Layout
19553 \begin_layout Plain Layout
19561 arrayrulecolor{blue}%
19573 <cell alignment="center" valignment="top" usebox="none">
19576 \begin_layout Plain Layout
19582 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19585 \begin_layout Plain Layout
19591 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19594 \begin_layout Plain Layout
19600 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19603 \begin_layout Plain Layout
19609 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19612 \begin_layout Plain Layout
19618 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
19621 \begin_layout Plain Layout
19627 <cell alignment="center" valignment="top" usebox="none">
19630 \begin_layout Plain Layout
19638 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19641 \begin_layout Plain Layout
19645 \begin_layout Plain Layout
19649 arrayrulecolor{black}
19659 <cell alignment="center" valignment="top" usebox="none">
19662 \begin_layout Plain Layout
19668 <cell alignment="center" valignment="top" usebox="none">
19671 \begin_layout Plain Layout
19677 <cell alignment="center" valignment="top" usebox="none">
19680 \begin_layout Plain Layout
19686 <cell alignment="center" valignment="top" usebox="none">
19689 \begin_layout Plain Layout
19695 <cell alignment="center" valignment="top" usebox="none">
19698 \begin_layout Plain Layout
19704 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19707 \begin_layout Plain Layout
19715 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19718 \begin_layout Plain Layout
19724 <cell alignment="center" valignment="top" usebox="none">
19727 \begin_layout Plain Layout
19733 <cell alignment="center" valignment="top" usebox="none">
19736 \begin_layout Plain Layout
19742 <cell alignment="center" valignment="top" usebox="none">
19745 \begin_layout Plain Layout
19751 <cell alignment="center" valignment="top" usebox="none">
19754 \begin_layout Plain Layout
19760 <cell alignment="center" valignment="top" usebox="none">
19763 \begin_layout Plain Layout
19769 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19772 \begin_layout Plain Layout
19776 \begin_layout Plain Layout
19784 arrayrulecolor{green}%
19796 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19799 \begin_layout Plain Layout
19805 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19808 \begin_layout Plain Layout
19814 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19817 \begin_layout Plain Layout
19823 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19826 \begin_layout Plain Layout
19832 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19835 \begin_layout Plain Layout
19841 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19844 \begin_layout Plain Layout
19850 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
19853 \begin_layout Plain Layout
19861 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19864 \begin_layout Plain Layout
19868 \begin_layout Plain Layout
19872 arrayrulecolor{black}
19882 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19885 \begin_layout Plain Layout
19891 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19894 \begin_layout Plain Layout
19900 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19903 \begin_layout Plain Layout
19909 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19912 \begin_layout Plain Layout
19918 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19921 \begin_layout Plain Layout
19927 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
19930 \begin_layout Plain Layout
19934 \begin_layout Plain Layout
19942 arrayrulecolor{blue}%
19965 \begin_layout Standard
19966 To change the color of vertical lines within a row, like in Table
19967 \begin_inset space ~
19971 \begin_inset CommandInset ref
19973 reference "tab:Table-with-different-ver"
19977 , one needs to use multicolumns.
19978 At first one needs to remove all vertical lines that don't run along the
19980 Now one colors all lines using the command
19983 \begin_layout Standard
19992 arrayrulecolor{blue}%
19995 \begin_layout Standard
19997 Finally one inserts this command as \SpecialChar TeX
19998 code to every cell in the row where
19999 one needs a vertical line in a different color:
20002 \begin_layout Standard
20018 \begin_layout Standard
20019 This adds a vertical line to both sides of the cell.
20020 The left one will be green, the right one red.
20021 If no color change is necessary one can omit the
20027 command in the above command.
20028 To get for example a black left line and a blue right line you can write:
20031 \begin_layout Standard
20043 \begin_layout Standard
20044 because the color blue was already set for all lines.
20049 creates hereby the vertical line while
20062 To set vertical lines without changing any color use
20065 \begin_layout Standard
20070 multicolumn{1}{|c|}{
20073 \begin_layout Standard
20074 After this command insert the cell content the normal way and end the cell
20075 with a closing brace
20079 in \SpecialChar TeX
20083 \begin_layout Standard
20084 \begin_inset Float table
20091 \begin_layout Plain Layout
20092 \begin_inset Caption Standard
20094 \begin_layout Plain Layout
20095 \begin_inset CommandInset label
20097 name "tab:Table-with-different-ver"
20101 Table with different vertical line colors in one row.
20109 \begin_layout Plain Layout
20111 \begin_inset Tabular
20112 <lyxtabular version="3" rows="5" columns="7">
20113 <features tabularvalignment="middle">
20114 <column alignment="center" valignment="top">
20115 <column alignment="center" valignment="top">
20116 <column alignment="center" valignment="top">
20117 <column alignment="center" valignment="top">
20118 <column alignment="center" valignment="top">
20119 <column alignment="center" valignment="top">
20120 <column alignment="center" valignment="top">
20122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20125 \begin_layout Plain Layout
20131 <cell alignment="center" valignment="top" topline="true" usebox="none">
20134 \begin_layout Plain Layout
20140 <cell alignment="center" valignment="top" topline="true" usebox="none">
20143 \begin_layout Plain Layout
20149 <cell alignment="center" valignment="top" topline="true" usebox="none">
20152 \begin_layout Plain Layout
20158 <cell alignment="center" valignment="top" topline="true" usebox="none">
20161 \begin_layout Plain Layout
20167 <cell alignment="center" valignment="top" topline="true" usebox="none">
20170 \begin_layout Plain Layout
20176 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
20179 \begin_layout Plain Layout
20183 \begin_layout Plain Layout
20191 arrayrulecolor{red}%
20203 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20206 \begin_layout Plain Layout
20210 \begin_layout Plain Layout
20227 \begin_layout Plain Layout
20239 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20242 \begin_layout Plain Layout
20248 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20251 \begin_layout Plain Layout
20257 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20260 \begin_layout Plain Layout
20266 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20269 \begin_layout Plain Layout
20275 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20278 \begin_layout Plain Layout
20282 \begin_layout Plain Layout
20286 multicolumn{1}{c|}{
20295 \begin_layout Plain Layout
20307 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20310 \begin_layout Plain Layout
20314 \begin_layout Plain Layout
20331 \begin_layout Plain Layout
20345 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20348 \begin_layout Plain Layout
20352 \begin_layout Plain Layout
20356 arrayrulecolor{black}
20366 <cell alignment="center" valignment="top" usebox="none">
20369 \begin_layout Plain Layout
20375 <cell alignment="center" valignment="top" usebox="none">
20378 \begin_layout Plain Layout
20384 <cell alignment="center" valignment="top" usebox="none">
20387 \begin_layout Plain Layout
20393 <cell alignment="center" valignment="top" usebox="none">
20396 \begin_layout Plain Layout
20402 <cell alignment="center" valignment="top" usebox="none">
20405 \begin_layout Plain Layout
20411 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20414 \begin_layout Plain Layout
20418 \begin_layout Plain Layout
20426 arrayrulecolor{magenta}%
20438 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20441 \begin_layout Plain Layout
20445 \begin_layout Plain Layout
20449 multicolumn{1}{|c!{
20462 \begin_layout Plain Layout
20474 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20477 \begin_layout Plain Layout
20481 \begin_layout Plain Layout
20498 \begin_layout Plain Layout
20510 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20513 \begin_layout Plain Layout
20517 \begin_layout Plain Layout
20534 \begin_layout Plain Layout
20546 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20549 \begin_layout Plain Layout
20553 \begin_layout Plain Layout
20570 \begin_layout Plain Layout
20582 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20585 \begin_layout Plain Layout
20589 \begin_layout Plain Layout
20606 \begin_layout Plain Layout
20618 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20621 \begin_layout Plain Layout
20625 \begin_layout Plain Layout
20642 \begin_layout Plain Layout
20654 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20657 \begin_layout Plain Layout
20661 \begin_layout Plain Layout
20665 multicolumn{1}{c|}{
20674 \begin_layout Plain Layout
20688 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20691 \begin_layout Plain Layout
20695 \begin_layout Plain Layout
20699 arrayrulecolor{black}
20709 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20712 \begin_layout Plain Layout
20718 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20721 \begin_layout Plain Layout
20727 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20730 \begin_layout Plain Layout
20736 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20739 \begin_layout Plain Layout
20745 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20748 \begin_layout Plain Layout
20754 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20757 \begin_layout Plain Layout
20776 \begin_layout Standard
20780 \begin_layout Plain Layout
20786 arrayrulewidth}{0.4pt}
20794 \begin_layout Section
20795 Rotated Table Cells
20796 \begin_inset CommandInset label
20798 name "sec:Rotated-Table-Cells"
20803 \begin_inset Index idx
20806 \begin_layout Plain Layout
20807 Table ! Rotated Cells
20813 \begin_inset Index idx
20816 \begin_layout Plain Layout
20825 \begin_layout Standard
20826 \begin_inset Note Greyedout
20829 \begin_layout Plain Layout
20834 Not all DVI-viewers are able to display rotations.
20842 \begin_layout Standard
20844 \begin_inset space ~
20848 \begin_inset CommandInset ref
20850 reference "tab:Table-with-rotated"
20857 is an example where 3
20858 \begin_inset space ~
20861 cells were rotated by 45
20862 \begin_inset space \thinspace{}
20868 \begin_layout Standard
20869 \begin_inset Float table
20876 \begin_layout Plain Layout
20877 \begin_inset Caption Standard
20879 \begin_layout Plain Layout
20880 \begin_inset CommandInset label
20882 name "tab:Table-with-rotated"
20886 Table with rotated cells in the first row.
20894 \begin_layout Plain Layout
20897 \begin_inset Tabular
20898 <lyxtabular version="3" rows="2" columns="3">
20899 <features tabularvalignment="middle">
20900 <column alignment="center" valignment="top" width="0pt">
20901 <column alignment="center" valignment="top" width="0pt">
20902 <column alignment="center" valignment="top" width="0pt">
20904 <cell alignment="center" valignment="top" rotate="45" usebox="none">
20907 \begin_layout Plain Layout
20913 <cell alignment="center" valignment="top" rotate="45" usebox="none">
20916 \begin_layout Plain Layout
20922 <cell alignment="center" valignment="top" rotate="45" usebox="none">
20925 \begin_layout Plain Layout
20933 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20936 \begin_layout Plain Layout
20942 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20945 \begin_layout Plain Layout
20951 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20954 \begin_layout Plain Layout
20973 \begin_layout Standard
20974 \begin_inset Note Greyedout
20977 \begin_layout Plain Layout
20982 Line breaks (shortcut
20985 arg "newline-insert newline"
20988 ) are not allowed in rotated cells.
20996 \begin_layout Standard
20997 If you want to rotate table cells containing line breaks, you have to put
20998 the cell content into a minipage or a parbox.
21002 \begin_layout Plain Layout
21003 For more about these boxes see sec.
21004 \begin_inset space \thinspace{}
21008 \begin_inset CommandInset ref
21010 reference "sec:Minipages"
21015 \begin_inset CommandInset ref
21017 reference "sec:Parboxes"
21026 If you rotate this cell by 90
21027 \begin_inset space \thinspace{}
21030 ° the width of the box is the height of the cell.
21031 To avoid to estimate a suitable box width one can use a minipage with a
21033 Such a box is inserted by loading the module
21036 \begin_inset space ~
21041 in the document settings.
21042 Then one can use the menu
21044 Insert\SpecialChar menuseparator
21046 \begin_inset space ~
21049 Insets\SpecialChar menuseparator
21051 \begin_inset space ~
21057 \begin_inset space ~
21062 \begin_inset space ~
21066 \begin_inset CommandInset ref
21068 reference "tab:Table-with-rotated-multi"
21072 is an example for a rotated multiline cell where a variable width minipage
21076 \begin_layout Standard
21077 \begin_inset Float table
21084 \begin_layout Plain Layout
21085 \begin_inset Caption Standard
21087 \begin_layout Plain Layout
21088 \begin_inset CommandInset label
21090 name "tab:Table-with-rotated-multi"
21094 Table with rotated multiline cell.
21102 \begin_layout Plain Layout
21105 \begin_inset Tabular
21106 <lyxtabular version="3" rows="2" columns="3">
21107 <features tabularvalignment="middle">
21108 <column alignment="center" valignment="top">
21109 <column alignment="center" valignment="top" width="0pt">
21110 <column alignment="center" valignment="top">
21112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21115 \begin_layout Plain Layout
21121 <cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
21124 \begin_layout Plain Layout
21125 \begin_inset Flex Minipage (Var. Width)
21128 \begin_layout Plain Layout
21130 \begin_inset Newline newline
21134 \begin_inset space ~
21147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21150 \begin_layout Plain Layout
21158 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21161 \begin_layout Plain Layout
21167 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21170 \begin_layout Plain Layout
21176 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21179 \begin_layout Plain Layout
21198 \begin_layout Section
21199 Table Width Calculation
21200 \begin_inset CommandInset label
21202 name "sec:Table-Width-Calculation"
21209 \begin_layout Standard
21210 For wide tables it is sometimes difficult to assure that the table does
21211 not protrude over the page margin.
21212 Setting a fixed width for every column of the table is the solution, but
21213 what amount of space is needed for each column?
21216 \begin_layout Standard
21218 \begin_inset Formula $W_{\mathrm{table}}$
21221 can be calculated: Every column has the width of the specified column width
21223 \begin_inset Formula $W_{\mathrm{column}}$
21226 (that the content of the column can consume) plus two times the separation
21227 between the column content and the column border (\SpecialChar LaTeX
21235 \begin_inset space \thinspace{}
21238 pt) plus the width of a border line (\SpecialChar LaTeX
21246 \begin_inset space \thinspace{}
21250 \begin_inset Formula $n$
21254 \begin_inset space ~
21257 columns have the same width, the table width is
21258 \begin_inset Formula
21260 W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
21268 \begin_layout Standard
21269 The available width for a table is the space between the page margins or
21270 the width of a text column (for a two-column document) (\SpecialChar LaTeX
21278 If all table columns should have the same width and
21279 \begin_inset Formula $W_{\mathrm{table}}$
21283 \begin_inset space \thinspace{}
21289 \begin_inset Formula $W_{\mathrm{column}}$
21292 can easily be calculated.
21295 \begin_layout Standard
21296 To be able to perform calculations you need to load the \SpecialChar LaTeX
21302 \begin_inset Index idx
21305 \begin_layout Plain Layout
21312 in the document preamble.
21313 To set the width in the table dialog you have to use the field
21319 The command scheme for this field is the same that is explained in section
21320 \begin_inset space ~
21324 \begin_inset CommandInset ref
21326 reference "subsec:Multicolumn-Calculations"
21332 \begin_inset space \thinspace{}
21335 columns with an uniform width and centered text, enter there for each column
21339 \begin_layout Standard
21346 columnwidth-62.4pt)/5}
21349 \begin_layout Standard
21351 \begin_inset space \thinspace{}
21354 columns where 2 should have 0.75
21355 \begin_inset space ~
21358 times the width than the 3 others, the calculation is
21359 \begin_inset Formula
21361 \backslash\mbox{columnwidth} & =3\,W_{\mathrm{column}}+2\cdot0.75\,W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
21362 & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
21363 & =4.5\,W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
21364 W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
21372 \begin_layout Standard
21373 In the table therefore the command
21376 \begin_layout Standard
21383 columnwidth-62.4pt)/
21388 \begin_layout Standard
21389 is used for the wider columns and
21392 \begin_layout Standard
21399 columnwidth-62.4pt)/
21406 \begin_layout Standard
21407 for the smaller ones:
21410 \begin_layout Standard
21411 \begin_inset Tabular
21412 <lyxtabular version="3" rows="2" columns="5">
21413 <features tabularvalignment="middle">
21414 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21415 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21416 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21417 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21418 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21420 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21423 \begin_layout Plain Layout
21429 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21432 \begin_layout Plain Layout
21438 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21441 \begin_layout Plain Layout
21447 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21450 \begin_layout Plain Layout
21456 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21459 \begin_layout Plain Layout
21467 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21470 \begin_layout Plain Layout
21471 111111 1111111 111111 111111111 11111 11111 1111
21476 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21479 \begin_layout Plain Layout
21485 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21488 \begin_layout Plain Layout
21489 2222 22222 222222 222222222 2222222 22 22222
21494 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21497 \begin_layout Plain Layout
21503 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21506 \begin_layout Plain Layout
21507 333333 333333 333333 33333 3333333 333
21520 \begin_layout Section
21521 Table Customization
21522 \begin_inset Index idx
21525 \begin_layout Plain Layout
21526 Table Customization
21532 \begin_inset Index idx
21535 \begin_layout Plain Layout
21536 Table ! Customization
21544 \begin_layout Subsection
21546 \begin_inset CommandInset label
21548 name "subsec:Row-Spacing"
21553 \begin_inset Index idx
21556 \begin_layout Plain Layout
21557 Table Customization ! Row Spacing
21565 \begin_layout Standard
21566 You can add vertical space to table rows in the
21570 tab of the table dialog.
21571 You find there three possibilities:
21574 \begin_layout Description
21576 \begin_inset space ~
21580 \begin_inset space ~
21583 row will add space above the characters of the table row.
21584 If the table is a formal table
21588 \begin_layout Plain Layout
21589 Formal tables are explained in section
21590 \begin_inset space ~
21594 \begin_inset CommandInset ref
21596 reference "sec:Formal-Tables"
21606 will insert as default 0.5
21607 \begin_inset space \thinspace{}
21611 For normal tables the inserted space will unfortunately destroy the vertical
21612 table lines as in the following table:
21613 \begin_inset VSpace medskip
21617 \begin_inset Newline newline
21621 \begin_inset space \hspace*{}
21626 \begin_inset space \hfill{}
21630 \begin_inset Tabular
21631 <lyxtabular version="3" rows="3" columns="1">
21632 <features tabularvalignment="middle">
21633 <column alignment="center" valignment="top">
21635 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21638 \begin_layout Plain Layout
21645 <row topspace="3mm">
21646 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21649 \begin_layout Plain Layout
21651 \begin_inset space \thinspace{}
21654 mm space top of row
21661 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21664 \begin_layout Plain Layout
21676 \begin_inset space \hfill{}
21680 \begin_inset space \hspace*{}
21685 \begin_inset VSpace medskip
21689 \begin_inset Newline newline
21692 So inserting space in the top of row for normal tables is only useful when
21693 you don't have vertical lines.
21696 \begin_layout Description
21698 \begin_inset space ~
21702 \begin_inset space ~
21705 row will add space below the characters of the table row.
21706 If the table is a formal table \SpecialChar LyX
21707 will insert as default 0.5
21708 \begin_inset space \thinspace{}
21711 em space, for normal tables the default size is 2
21712 \begin_inset space \thinspace{}
21718 \begin_layout Description
21720 \begin_inset space ~
21723 rows adds space between the current and the following row.
21724 If the table is a formal table \SpecialChar LyX
21725 will insert as default 0.5
21726 \begin_inset space \thinspace{}
21730 For normal tables the inserted space will unfortunately destroy the vertical
21731 table lines as in the following table:
21732 \begin_inset VSpace medskip
21736 \begin_inset Newline newline
21740 \begin_inset space \hspace*{}
21745 \begin_inset space \hfill{}
21749 \begin_inset Tabular
21750 <lyxtabular version="3" rows="3" columns="1">
21751 <features tabularvalignment="middle">
21752 <column alignment="center" valignment="top">
21754 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21757 \begin_layout Plain Layout
21764 <row interlinespace="3mm">
21765 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21768 \begin_layout Plain Layout
21769 \begin_inset Formula $\downarrow$
21773 \begin_inset space \thinspace{}
21776 mm space between row
21777 \begin_inset Formula $\downarrow$
21787 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21790 \begin_layout Plain Layout
21791 \begin_inset Formula $\uparrow$
21795 \begin_inset space \thinspace{}
21798 mm space between row
21799 \begin_inset Formula $\uparrow$
21813 \begin_inset space \hfill{}
21817 \begin_inset space \hspace*{}
21822 \begin_inset VSpace medskip
21826 \begin_inset Newline newline
21829 So inserting space between rows for normal tables is only useful when you
21830 don't have vertical lines.
21833 \begin_layout Standard
21834 \begin_inset VSpace bigskip
21837 When you want to add extra height to all cells of all tables, you can do
21838 this with the following preamble lines:
21841 \begin_layout Standard
21846 @ifundefined{extrarowheight}
21847 \begin_inset Newline newline
21851 \begin_inset Phantom HPhantom
21854 \begin_layout Plain Layout
21857 \begin_inset space ~
21867 usepackage{array}}{}
21868 \begin_inset Newline newline
21875 extrarowheight}{height}
21878 \begin_inset Note Note
21881 \begin_layout Plain Layout
21886 will be loaded automatically by \SpecialChar LyX
21887 when you use self defined table formats.
21888 To avoid that it is loaded twice the command
21894 is used in the above command.
21902 \begin_layout Standard
21907 can have one of the units listed in appendix
21908 \begin_inset space ~
21912 \begin_inset CommandInset ref
21914 reference "cha:Units-available-in"
21919 But this has the disadvantage that the cell texts are no longer exactly
21920 vertically centered.
21923 \begin_layout Standard
21924 If you are using font sizes larger than the normal size, the table borders
21925 are often too close to the letters.
21926 This can be corrected by inserting the command
21932 in \SpecialChar TeX
21933 Code at the beginning of a table row.
21935 \begin_inset space ~
21939 \begin_inset CommandInset ref
21941 reference "tab:Vertical-alignment-of"
21945 illustrates the effect.
21948 \begin_layout Standard
21950 \begin_inset Float table
21957 \begin_layout Plain Layout
21958 \begin_inset Caption Standard
21960 \begin_layout Plain Layout
21961 \begin_inset CommandInset label
21963 name "tab:Vertical-alignment-of"
21967 Vertical alignment of text with large font sizes.
21975 \begin_layout Plain Layout
21976 \begin_inset space \hfill{}
21980 \begin_inset Float table
21987 \begin_layout Plain Layout
21988 \begin_inset Caption Standard
21990 \begin_layout Plain Layout
21999 \begin_layout Plain Layout
22002 \begin_inset Tabular
22003 <lyxtabular version="3" rows="6" columns="1">
22004 <features tabularvalignment="middle">
22005 <column alignment="left" valignment="top">
22007 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22010 \begin_layout Plain Layout
22018 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22021 \begin_layout Plain Layout
22031 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22034 \begin_layout Plain Layout
22044 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22047 \begin_layout Plain Layout
22057 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22060 \begin_layout Plain Layout
22070 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22073 \begin_layout Plain Layout
22092 \begin_inset space \hfill{}
22096 \begin_inset Float table
22103 \begin_layout Plain Layout
22104 \begin_inset Caption Standard
22106 \begin_layout Plain Layout
22107 Table using the command
22121 \begin_layout Plain Layout
22124 \begin_inset Tabular
22125 <lyxtabular version="3" rows="6" columns="1">
22126 <features tabularvalignment="middle">
22127 <column alignment="left" valignment="top">
22129 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22132 \begin_layout Plain Layout
22140 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22143 \begin_layout Plain Layout
22149 \begin_layout Plain Layout
22165 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22168 \begin_layout Plain Layout
22174 \begin_layout Plain Layout
22190 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22193 \begin_layout Plain Layout
22199 \begin_layout Plain Layout
22215 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22218 \begin_layout Plain Layout
22224 \begin_layout Plain Layout
22240 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22243 \begin_layout Plain Layout
22249 \begin_layout Plain Layout
22276 \begin_inset space \hfill{}
22287 \begin_layout Subsection
22288 Special Cell Alignment
22289 \begin_inset CommandInset label
22291 name "subsec:Special-Cell-Alignment"
22296 \begin_inset Index idx
22299 \begin_layout Plain Layout
22300 Table Customization ! Special Cell Alignment
22308 \begin_layout Standard
22309 Sometimes it looks better when the cell entries of a column are aligned
22310 with a special character, e.
22311 \begin_inset space \thinspace{}
22315 \begin_inset space \space{}
22318 with the decimal separator as in Table
22319 \begin_inset space ~
22323 \begin_inset CommandInset ref
22325 reference "tab:Table-cells-align"
22330 This alignment is achieved by setting the cursor into the column and then
22331 either pressing the toolbar button
22334 arg "tabular-feature align-decimal"
22337 or setting the alignment in the table settings to
22340 \begin_inset space ~
22344 \begin_inset space ~
22350 The alignment character can be a character of your choice and is specified
22351 in the table settings.
22354 \begin_layout Standard
22355 \begin_inset Float table
22362 \begin_layout Plain Layout
22363 \begin_inset Caption Standard
22365 \begin_layout Plain Layout
22366 \begin_inset CommandInset label
22368 name "tab:Table-cells-align"
22372 Table cells of a column aligned with the decimal separator.
22380 \begin_layout Plain Layout
22382 \begin_inset Tabular
22383 <lyxtabular version="3" rows="4" columns="1">
22384 <features booktabs="true" tabularvalignment="middle">
22385 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
22387 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22390 \begin_layout Plain Layout
22398 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22401 \begin_layout Plain Layout
22409 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22412 \begin_layout Plain Layout
22420 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22423 \begin_layout Plain Layout
22442 \begin_layout Standard
22443 \begin_inset Float table
22450 \begin_layout Plain Layout
22451 \begin_inset Caption Standard
22453 \begin_layout Plain Layout
22454 \begin_inset CommandInset label
22456 name "tab:Table-align-operator"
22460 Table cells of a column aligned with the operators.
22468 \begin_layout Plain Layout
22470 \begin_inset Tabular
22471 <lyxtabular version="3" rows="4" columns="2">
22472 <features booktabs="true" tabularvalignment="middle">
22473 <column alignment="right" valignment="top" width="0pt">
22474 <column alignment="left" valignment="top" width="0pt" special="@{}l">
22476 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
22479 \begin_layout Plain Layout
22485 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22488 \begin_layout Plain Layout
22496 <cell alignment="center" valignment="top" usebox="none">
22499 \begin_layout Plain Layout
22500 \begin_inset Formula $12\,+$
22508 <cell alignment="center" valignment="top" usebox="none">
22511 \begin_layout Plain Layout
22512 \begin_inset Formula $\,6$
22522 <cell alignment="center" valignment="top" usebox="none">
22525 \begin_layout Plain Layout
22526 \begin_inset Formula $0\,-$
22534 <cell alignment="center" valignment="top" usebox="none">
22537 \begin_layout Plain Layout
22538 \begin_inset Formula $\,68$
22548 <cell alignment="center" valignment="top" usebox="none">
22551 \begin_layout Plain Layout
22552 \begin_inset Formula $-123\,/$
22560 <cell alignment="center" valignment="top" usebox="none">
22563 \begin_layout Plain Layout
22564 \begin_inset Formula $\,0$
22585 \begin_layout Standard
22586 For alignments at characters in formulas this method does not work because
22587 the field to specify the alignment character does not allow formulas.
22588 In this case one need to use the method from Table
22589 \begin_inset space ~
22593 \begin_inset CommandInset ref
22595 reference "tab:Table-align-operator"
22600 This table was created with a 4×2 table.
22601 The heading is a centered multicolumn.
22602 The first column is right-aligned and contains the first part including
22604 The second column is left aligned and contains the rest.
22605 A small space was added at the beginning of each cell of the second column
22606 to get the space that is usually around operators.
22607 To omit the space that is normally between two table columns, the following
22609 -argument was used for the second column:
22612 \begin_layout Standard
22618 \begin_layout Standard
22620 \begin_inset space ~
22624 \begin_inset CommandInset ref
22626 reference "tab:Several-table-cell"
22630 shows some example alignments.
22631 For the alignment with the relation sign, a small space was added like
22632 for the second column of Table
22633 \begin_inset space ~
22637 \begin_inset CommandInset ref
22639 reference "tab:Table-align-operator"
22646 \begin_layout Standard
22647 \begin_inset Float table
22654 \begin_layout Plain Layout
22655 \begin_inset Caption Standard
22657 \begin_layout Plain Layout
22658 \begin_inset CommandInset label
22660 name "tab:Several-table-cell"
22664 Several table cell alignments.
22672 \begin_layout Plain Layout
22674 \begin_inset Tabular
22675 <lyxtabular version="3" rows="4" columns="6">
22676 <features tabularvalignment="middle">
22677 <column alignment="right" valignment="top">
22678 <column alignment="left" valignment="top" special="@{}l">
22679 <column alignment="right" valignment="top">
22680 <column alignment="left" valignment="top" special="@{}l">
22681 <column alignment="right" valignment="top">
22682 <column alignment="left" valignment="top" special="@{}l">
22684 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
22687 \begin_layout Plain Layout
22693 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22696 \begin_layout Plain Layout
22702 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
22705 \begin_layout Plain Layout
22711 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22714 \begin_layout Plain Layout
22720 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
22723 \begin_layout Plain Layout
22729 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22732 \begin_layout Plain Layout
22740 <cell alignment="center" valignment="top" usebox="none">
22743 \begin_layout Plain Layout
22749 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22752 \begin_layout Plain Layout
22754 \begin_inset space \thinspace{}
22762 <cell alignment="center" valignment="top" usebox="none">
22765 \begin_layout Plain Layout
22766 \begin_inset Formula $10\cdot$
22774 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22777 \begin_layout Plain Layout
22778 \begin_inset Formula $10^{\mbox{-}17}$
22786 <cell alignment="center" valignment="top" usebox="none">
22789 \begin_layout Plain Layout
22790 \begin_inset Formula $\Gamma(t)\propto$
22798 <cell alignment="center" valignment="top" usebox="none">
22801 \begin_layout Plain Layout
22802 \begin_inset Formula $\:\Upsilon(t)$
22812 <cell alignment="center" valignment="top" usebox="none">
22815 \begin_layout Plain Layout
22821 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22824 \begin_layout Plain Layout
22826 \begin_inset space \thinspace{}
22834 <cell alignment="center" valignment="top" usebox="none">
22837 \begin_layout Plain Layout
22838 \begin_inset Formula $5.78\cdot$
22846 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22849 \begin_layout Plain Layout
22850 \begin_inset Formula $10^{7}$
22858 <cell alignment="center" valignment="top" usebox="none">
22861 \begin_layout Plain Layout
22862 \begin_inset Formula $A\ne$
22870 <cell alignment="center" valignment="top" usebox="none">
22873 \begin_layout Plain Layout
22874 \begin_inset Formula $\:B_{\mathrm{red}}$
22884 <cell alignment="center" valignment="top" usebox="none">
22887 \begin_layout Plain Layout
22893 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22896 \begin_layout Plain Layout
22898 \begin_inset space \thinspace{}
22906 <cell alignment="center" valignment="top" usebox="none">
22909 \begin_layout Plain Layout
22911 \begin_inset Formula $33.5\cdot$
22919 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22922 \begin_layout Plain Layout
22923 \begin_inset Formula $10^{4}$
22931 <cell alignment="center" valignment="top" usebox="none">
22934 \begin_layout Plain Layout
22935 \begin_inset Formula $\sin(\alpha)\ge$
22943 <cell alignment="center" valignment="top" usebox="none">
22946 \begin_layout Plain Layout
22947 \begin_inset Formula $\:\sin(\beta)$
22968 \begin_layout Subsection
22969 Customized Cell/Column Format
22970 \begin_inset CommandInset label
22972 name "subsec:Customized-Format"
22977 \begin_inset Index idx
22980 \begin_layout Plain Layout
22981 Table Customization ! Cell/Column Format
22989 \begin_layout Standard
22990 Calculating the required width for normal columns as described in section
22991 \begin_inset space ~
22995 \begin_inset CommandInset ref
22997 reference "sec:Table-Width-Calculation"
23001 or for spanned columns as described in section
23002 \begin_inset space ~
23006 \begin_inset CommandInset ref
23008 reference "subsec:Multicolumn-Calculations"
23012 is very annoying if you have several tables where a calculation is necessary.
23013 To make life easier, you can define a cell/column format in the preamble,
23014 that can be used in all tables of the document.
23015 The format is defined with the command
23018 \begin_layout Standard
23023 newcolumntype{name of format}[number of arguments]{commands}
23026 \begin_layout Standard
23027 The format name may only consist of one letter.
23052 are predefined and cannot be used.
23053 But all letters are allowed as capitals.
23056 \begin_layout Standard
23057 \begin_inset VSpace medskip
23063 \begin_layout Standard
23064 For vertically and horizontally centered multicolumn cells with a fixed
23065 width you can define the cell format
23068 \begin_layout Standard
23073 newcolumntype{M}[1]{>{
23080 \begin_layout Standard
23087 avoids the problem of hyphenating the first word, as described in section
23088 \begin_inset space ~
23092 \begin_inset CommandInset ref
23094 reference "subsec:Multiple-Lines-in"
23099 Now you can simply enter
23102 \begin_layout Standard
23108 \begin_layout Standard
23114 in the table dialog to create a multicolumn.
23117 \begin_layout Standard
23118 \begin_inset VSpace bigskip
23124 \begin_layout Standard
23125 For cells spanned by a multicolumn cell, you can define the format
23128 \begin_layout Standard
23133 newcolumntype{S}[2]{>{
23138 \begin_inset Newline newline
23142 \begin_inset Phantom HPhantom
23145 \begin_layout Plain Layout
23159 arrayrulewidth)*(1-#2))/#2}}
23162 \begin_layout Standard
23163 This format uses equation
23164 \begin_inset CommandInset ref
23170 to calculate the required width so that each spanned cell has the same
23174 \begin_layout Standard
23178 \begin_layout Standard
23181 S{width of multicolumn cell}{number of spanned columns}
23184 \begin_layout Standard
23185 as \SpecialChar LaTeX
23186 -argument of the column.
23189 \begin_layout Standard
23190 \begin_inset VSpace bigskip
23196 \begin_layout Standard
23197 For colored columns, you can define
23200 \begin_layout Standard
23205 newcolumntype{K}[1]{>{
23212 \begin_layout Standard
23214 \begin_inset Quotes eld
23218 \begin_inset Quotes erd
23221 at the end creates a column with a flexible width whose text is horizontally
23226 \begin_layout Standard
23232 \begin_layout Standard
23233 as \SpecialChar LaTeX
23237 \begin_layout Standard
23238 \begin_inset VSpace bigskip
23244 \begin_layout Standard
23246 \begin_inset space ~
23250 \begin_inset CommandInset ref
23252 reference "tab:Table-using-user-defined"
23256 use the \SpecialChar LaTeX
23260 \begin_layout Standard
23266 \begin_layout Standard
23267 for the first column and the multicolumn,
23270 \begin_layout Standard
23276 \begin_layout Standard
23277 for the last column, and
23280 \begin_layout Standard
23286 \begin_layout Standard
23287 for the cells in the second column.
23290 \begin_layout Standard
23291 \begin_inset Float table
23298 \begin_layout Plain Layout
23299 \begin_inset Caption Standard
23301 \begin_layout Plain Layout
23302 \begin_inset CommandInset label
23304 name "tab:Table-using-user-defined"
23308 Table using user-defined table formats
23316 \begin_layout Plain Layout
23318 \begin_inset Tabular
23319 <lyxtabular version="3" rows="3" columns="4">
23320 <features tabularvalignment="middle">
23321 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
23322 <column alignment="center" valignment="middle" special="S{2.5cm}{2}">
23323 <column alignment="center" valignment="middle">
23324 <column alignment="center" valignment="middle" special="K{red}">
23326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23329 \begin_layout Plain Layout
23330 verylongtablecellword
23335 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
23338 \begin_layout Plain Layout
23339 multiple lines multicolumn
23344 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23347 \begin_layout Plain Layout
23353 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23356 \begin_layout Plain Layout
23364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23367 \begin_layout Plain Layout
23373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23376 \begin_layout Plain Layout
23382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23385 \begin_layout Plain Layout
23391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23394 \begin_layout Plain Layout
23402 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23405 \begin_layout Plain Layout
23411 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23414 \begin_layout Plain Layout
23420 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23423 \begin_layout Plain Layout
23429 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23432 \begin_layout Plain Layout
23451 \begin_layout Subsection
23453 \begin_inset CommandInset label
23455 name "subsec:Line-Thickness"
23460 \begin_inset Index idx
23463 \begin_layout Plain Layout
23464 Table Customization ! Line Thickness
23472 \begin_layout Standard
23473 The line thickness for all lines in a table can be adjusted with the length
23481 To set for example a line thickness of 1.5
23482 \begin_inset space \thinspace{}
23486 \begin_inset space ~
23490 \begin_inset CommandInset ref
23492 reference "tab:Table-with-1.5"
23496 , insert the command
23499 \begin_layout Standard
23506 arrayrulewidth}{1.5pt}
23509 \begin_layout Standard
23510 in \SpecialChar TeX
23511 Code before the table or table float.
23512 The changed thickness is valid for all subsequent tables.
23513 To use the default value again, set
23520 \begin_inset space \thinspace{}
23523 pt in \SpecialChar TeX
23524 Code after the table or table float.
23527 \begin_layout Standard
23531 \begin_layout Plain Layout
23537 arrayrulewidth}{1.5pt}
23543 \begin_inset Float table
23550 \begin_layout Plain Layout
23551 \begin_inset Caption Standard
23553 \begin_layout Plain Layout
23554 \begin_inset CommandInset label
23556 name "tab:Table-with-1.5"
23561 \begin_inset space \thinspace{}
23572 \begin_layout Plain Layout
23574 \begin_inset Tabular
23575 <lyxtabular version="3" rows="3" columns="3">
23576 <features tabularvalignment="middle">
23577 <column alignment="center" valignment="top">
23578 <column alignment="center" valignment="top">
23579 <column alignment="center" valignment="top">
23581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23584 \begin_layout Plain Layout
23590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23593 \begin_layout Plain Layout
23599 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23602 \begin_layout Plain Layout
23610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23613 \begin_layout Plain Layout
23619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23622 \begin_layout Plain Layout
23628 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23631 \begin_layout Plain Layout
23639 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23642 \begin_layout Plain Layout
23648 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23651 \begin_layout Plain Layout
23657 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23660 \begin_layout Plain Layout
23680 \begin_layout Plain Layout
23686 arrayrulewidth}{0.4pt}
23694 \begin_layout Standard
23695 \begin_inset VSpace bigskip
23698 To set the line thickness to 1.5
23699 \begin_inset space \thinspace{}
23702 pt only for horizontal lines, as in Table
23703 \begin_inset space ~
23707 \begin_inset CommandInset ref
23709 reference "tab:Table-with-horizontal"
23713 , insert these commands in \SpecialChar TeX
23714 Code before the table or table float:
23717 \begin_layout Standard
23727 \begin_inset Newline newline
23735 \begin_inset Newline newline
23744 arrayrulewidth 1.5pt}
23745 \begin_inset Newline newline
23756 arrayrulewidth 0.4pt}}
23759 \begin_layout Standard
23760 To return to the default line thickness, insert this command in \SpecialChar TeX
23762 the table or table float:
23765 \begin_layout Standard
23777 \begin_layout Standard
23781 \begin_layout Plain Layout
23792 \begin_layout Plain Layout
23801 \begin_layout Plain Layout
23809 arrayrulewidth 1.5pt}
23812 \begin_layout Plain Layout
23822 arrayrulewidth 0.4pt}}
23828 \begin_inset Float table
23835 \begin_layout Plain Layout
23836 \begin_inset Caption Standard
23838 \begin_layout Plain Layout
23839 \begin_inset CommandInset label
23841 name "tab:Table-with-horizontal"
23846 \begin_inset space \thinspace{}
23849 pt thick horizontal lines
23857 \begin_layout Plain Layout
23859 \begin_inset Tabular
23860 <lyxtabular version="3" rows="3" columns="3">
23861 <features tabularvalignment="middle">
23862 <column alignment="center" valignment="top">
23863 <column alignment="center" valignment="top">
23864 <column alignment="center" valignment="top">
23866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23869 \begin_layout Plain Layout
23875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23878 \begin_layout Plain Layout
23884 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23887 \begin_layout Plain Layout
23895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23898 \begin_layout Plain Layout
23904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23907 \begin_layout Plain Layout
23913 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23916 \begin_layout Plain Layout
23924 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23927 \begin_layout Plain Layout
23933 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23936 \begin_layout Plain Layout
23942 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23945 \begin_layout Plain Layout
23965 \begin_layout Plain Layout
23981 \begin_layout Standard
23982 \begin_inset VSpace bigskip
23985 To set the line thickness to 1.5
23986 \begin_inset space \thinspace{}
23989 pt only for vertical lines, create the following column format in the document
23990 preamble, according to the description in section
23991 \begin_inset space ~
23995 \begin_inset CommandInset ref
23997 reference "subsec:Customized-Format"
24004 \begin_layout Standard
24009 newcolumntype{V}{!{
24011 vrule width 1.5pt}}
24014 \begin_layout Standard
24016 \begin_inset space ~
24020 \begin_inset CommandInset ref
24022 reference "tab:Table-with-vertical"
24026 the \SpecialChar LaTeX
24030 \begin_layout Standard
24036 \begin_layout Standard
24037 was used for the last column and
24040 \begin_layout Standard
24046 \begin_layout Standard
24047 for the other columns.
24050 \begin_layout Standard
24051 \begin_inset Float table
24058 \begin_layout Plain Layout
24059 \begin_inset Caption Standard
24061 \begin_layout Plain Layout
24062 \begin_inset CommandInset label
24064 name "tab:Table-with-vertical"
24069 \begin_inset space \thinspace{}
24072 pt thick vertical lines
24080 \begin_layout Plain Layout
24082 \begin_inset Tabular
24083 <lyxtabular version="3" rows="3" columns="3">
24084 <features tabularvalignment="middle">
24085 <column alignment="center" valignment="top" special="Vc">
24086 <column alignment="center" valignment="top" special="Vc">
24087 <column alignment="center" valignment="top" special="VcV">
24089 <cell alignment="center" valignment="top" topline="true" usebox="none">
24092 \begin_layout Plain Layout
24098 <cell alignment="center" valignment="top" topline="true" usebox="none">
24101 \begin_layout Plain Layout
24107 <cell alignment="center" valignment="top" topline="true" usebox="none">
24110 \begin_layout Plain Layout
24118 <cell alignment="center" valignment="top" topline="true" usebox="none">
24121 \begin_layout Plain Layout
24127 <cell alignment="center" valignment="top" topline="true" usebox="none">
24130 \begin_layout Plain Layout
24136 <cell alignment="center" valignment="top" topline="true" usebox="none">
24139 \begin_layout Plain Layout
24147 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24150 \begin_layout Plain Layout
24156 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24159 \begin_layout Plain Layout
24165 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24168 \begin_layout Plain Layout
24187 \begin_layout Subsection
24189 \begin_inset Index idx
24192 \begin_layout Plain Layout
24193 Table Customization ! Dashed Lines
24201 \begin_layout Standard
24205 \begin_layout Plain Layout
24215 \begin_inset Note Note
24218 \begin_layout Plain Layout
24219 The following section will only be displayed when the \SpecialChar LaTeX
24232 \begin_layout Standard
24233 \begin_inset Float table
24240 \begin_layout Plain Layout
24241 \begin_inset Caption Standard
24243 \begin_layout Plain Layout
24244 \begin_inset CommandInset label
24246 name "tab:Table-with-dashed"
24250 Table with dashed lines
24258 \begin_layout Plain Layout
24260 \begin_inset Tabular
24261 <lyxtabular version="3" rows="5" columns="5">
24262 <features tabularvalignment="middle">
24263 <column alignment="center" valignment="top">
24264 <column alignment="center" valignment="top">
24265 <column alignment="center" valignment="top" special=":c">
24266 <column alignment="center" valignment="top">
24267 <column alignment="center" valignment="top">
24269 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24272 \begin_layout Plain Layout
24278 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24281 \begin_layout Plain Layout
24287 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24290 \begin_layout Plain Layout
24296 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24299 \begin_layout Plain Layout
24305 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24308 \begin_layout Plain Layout
24316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24319 \begin_layout Plain Layout
24325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24328 \begin_layout Plain Layout
24334 <cell alignment="center" valignment="top" topline="true" usebox="none">
24337 \begin_layout Plain Layout
24343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24346 \begin_layout Plain Layout
24352 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24355 \begin_layout Plain Layout
24363 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24366 \begin_layout Plain Layout
24370 \begin_layout Plain Layout
24384 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24387 \begin_layout Plain Layout
24393 <cell alignment="center" valignment="top" usebox="none">
24396 \begin_layout Plain Layout
24402 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24405 \begin_layout Plain Layout
24411 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24414 \begin_layout Plain Layout
24422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24425 \begin_layout Plain Layout
24429 \begin_layout Plain Layout
24443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24446 \begin_layout Plain Layout
24452 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
24455 \begin_layout Plain Layout
24461 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24464 \begin_layout Plain Layout
24470 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24473 \begin_layout Plain Layout
24481 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24484 \begin_layout Plain Layout
24490 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24493 \begin_layout Plain Layout
24499 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24502 \begin_layout Plain Layout
24508 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24511 \begin_layout Plain Layout
24517 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24520 \begin_layout Plain Layout
24539 \begin_layout Standard
24541 does not natively support dashed lines, so you have to use \SpecialChar TeX
24543 As a prerequisite the \SpecialChar LaTeX
24549 \begin_inset Index idx
24552 \begin_layout Plain Layout
24554 -packages ! arydshln
24559 must be loaded in the document preamble with the command
24562 \begin_layout Standard
24567 usepackage{arydshln}
24570 \begin_layout Standard
24571 To make a vertical line dashed, enter the colon
24572 \begin_inset Quotes eld
24576 \begin_inset Quotes erd
24579 together with the character for the horizontal alignment as \SpecialChar LaTeX
24581 the table cell dialog.
24584 \begin_layout Standard
24585 For a horizontal dashed line add the command
24588 \begin_layout Standard
24596 \begin_layout Standard
24597 in \SpecialChar TeX
24598 Code as first element of the first cell in the table row.
24601 \begin_layout Standard
24602 For dashed multicolumn lines use the command
24605 \begin_layout Standard
24610 cdashline{line number
24615 \begin_layout Standard
24616 in \SpecialChar TeX
24617 Code as the first element of the first cell in the table row.
24618 If you have for example a multicolumn spanning columns 2 to 4 and you want
24619 to have a dashed line above, add the command
24622 \begin_layout Standard
24630 \begin_layout Standard
24631 as the first element of the first cell in the row of the multicolumn.
24634 \begin_layout Standard
24635 \begin_inset VSpace bigskip
24641 \begin_layout Standard
24643 \begin_inset space ~
24647 \begin_inset CommandInset ref
24649 reference "tab:Table-with-dashed"
24654 \begin_inset Quotes eld
24662 \begin_inset Quotes erd
24665 as \SpecialChar LaTeX
24666 argument of the third column.
24667 The \SpecialChar TeX
24674 was inserted in the first cell of the third row and the \SpecialChar TeX
24676 \begin_inset Newline newline
24685 was inserted in the first cell of the fourth row.
24688 \begin_layout Standard
24689 \begin_inset VSpace bigskip
24695 \begin_layout Standard
24696 Tables with dashed lines can also be colored as shown by Table
24697 \begin_inset space ~
24701 \begin_inset CommandInset ref
24703 reference "tab:Colored-table-with"
24710 \begin_layout Standard
24714 \begin_layout Plain Layout
24720 arrayrulewidth}{1pt}
24726 \begin_inset Note Note
24729 \begin_layout Plain Layout
24730 thicker lines for better visualization of the line color
24738 \begin_layout Standard
24742 \begin_layout Plain Layout
24746 dashgapcolor{green}
24752 \begin_inset Note Note
24755 \begin_layout Plain Layout
24756 color gaps between dashes green
24764 \begin_layout Standard
24768 \begin_layout Plain Layout
24779 \begin_layout Plain Layout
24788 \begin_layout Plain Layout
24792 arrayrulecolor{red}
24796 arrayrulecolor{black}}
24802 \begin_inset Note Note
24805 \begin_layout Plain Layout
24806 color horizontal, dashed lines red
24814 \begin_layout Standard
24818 \begin_layout Plain Layout
24829 \begin_layout Plain Layout
24838 \begin_layout Plain Layout
24842 arrayrulecolor{yellow}
24846 arrayrulecolor{black}}
24852 \begin_inset Note Note
24855 \begin_layout Plain Layout
24856 color partial horizontal, dashed lines yellow
24864 \begin_layout Standard
24865 \begin_inset Float table
24872 \begin_layout Plain Layout
24873 \begin_inset Caption Standard
24875 \begin_layout Plain Layout
24876 \begin_inset CommandInset label
24878 name "tab:Colored-table-with"
24882 Colored table with dashed lines
24890 \begin_layout Plain Layout
24892 \begin_inset Tabular
24893 <lyxtabular version="3" rows="5" columns="5">
24894 <features tabularvalignment="middle">
24895 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
24896 <column alignment="center" valignment="top" width="0pt">
24897 <column alignment="center" valignment="top" width="0pt" special=":c">
24898 <column alignment="center" valignment="top">
24899 <column alignment="center" valignment="top">
24901 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24904 \begin_layout Plain Layout
24910 <cell alignment="center" valignment="top" topline="true" usebox="none">
24913 \begin_layout Plain Layout
24919 <cell alignment="center" valignment="top" topline="true" usebox="none">
24922 \begin_layout Plain Layout
24928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24931 \begin_layout Plain Layout
24937 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24940 \begin_layout Plain Layout
24948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24951 \begin_layout Plain Layout
24957 <cell alignment="center" valignment="top" topline="true" usebox="none">
24960 \begin_layout Plain Layout
24966 <cell alignment="center" valignment="top" topline="true" usebox="none">
24969 \begin_layout Plain Layout
24975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24978 \begin_layout Plain Layout
24984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24987 \begin_layout Plain Layout
24995 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24998 \begin_layout Plain Layout
25002 \begin_layout Plain Layout
25015 \begin_layout Plain Layout
25029 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25032 \begin_layout Plain Layout
25038 <cell alignment="center" valignment="top" usebox="none">
25041 \begin_layout Plain Layout
25047 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25050 \begin_layout Plain Layout
25056 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25059 \begin_layout Plain Layout
25067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25070 \begin_layout Plain Layout
25074 \begin_layout Plain Layout
25088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25091 \begin_layout Plain Layout
25097 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
25100 \begin_layout Plain Layout
25106 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25109 \begin_layout Plain Layout
25115 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25118 \begin_layout Plain Layout
25126 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25129 \begin_layout Plain Layout
25135 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25138 \begin_layout Plain Layout
25144 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25147 \begin_layout Plain Layout
25153 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25156 \begin_layout Plain Layout
25162 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25165 \begin_layout Plain Layout
25169 \begin_layout Plain Layout
25196 \begin_layout Standard
25200 \begin_layout Plain Layout
25214 \begin_inset Note Note
25217 \begin_layout Plain Layout
25226 \begin_layout Standard
25230 \begin_layout Plain Layout
25244 \begin_inset Note Note
25247 \begin_layout Plain Layout
25256 \begin_layout Standard
25260 \begin_layout Plain Layout
25270 \begin_inset Note Note
25273 \begin_layout Plain Layout
25282 \begin_layout Standard
25286 \begin_layout Plain Layout
25292 arrayrulewidth}{0.4pt}
25298 \begin_inset Note Note
25301 \begin_layout Plain Layout
25310 \begin_layout Standard
25311 The coloring of lines, columns and lines works as decribed in section
25312 \begin_inset space ~
25316 \begin_inset CommandInset ref
25318 reference "sec:Colored-Tables"
25323 Coloring horizontal lines works analogically as described there as well,
25324 one only needs to replace in the commands
25348 ; so one uses the command
25351 \begin_layout Standard
25361 \begin_inset Newline newline
25369 \begin_inset Newline newline
25373 \begin_inset Phantom HPhantom
25376 \begin_layout Plain Layout
25377 \begin_inset space ~
25387 arrayrulecolor{red}
25391 arrayrulecolor{black}}
25394 \begin_layout Standard
25404 \begin_layout Standard
25414 \begin_inset Newline newline
25422 \begin_inset Newline newline
25426 \begin_inset Phantom HPhantom
25429 \begin_layout Plain Layout
25430 \begin_inset space ~
25440 arrayrulecolor{red}
25444 arrayrulecolor{black}}
25447 \begin_layout Standard
25448 To get back the black line color, one needs to insert the following commands
25449 as \SpecialChar TeX
25450 Code behind the table:
25453 \begin_layout Standard
25461 \begin_layout Standard
25473 \begin_layout Standard
25481 \begin_layout Standard
25493 \begin_layout Standard
25494 To color the gaps between the dashes the command
25497 \begin_layout Standard
25502 dashgapcolor{color}
25505 \begin_layout Standard
25506 can be used in front of a table as \SpecialChar TeX
25508 color is hereby the name of a defined color.
25512 \begin_layout Standard
25520 \begin_layout Standard
25521 unsets the changes made by
25530 \begin_layout Standard
25531 \begin_inset Note Greyedout
25534 \begin_layout Plain Layout
25540 : If there are multiple commands in a cell, the command of
25544 needs to be the first one in the cell.
25550 \begin_inset space ~
25554 \begin_inset CommandInset ref
25556 reference "tab:Colored-table-with"
25580 \begin_layout Standard
25581 \begin_inset Note Greyedout
25584 \begin_layout Plain Layout
25590 The \SpecialChar LaTeX
25595 must be loaded in the document preamble before the \SpecialChar LaTeX
25601 \begin_inset Index idx
25604 \begin_layout Plain Layout
25606 -packages ! colortbl
25619 \begin_layout Standard
25623 \begin_layout Plain Layout
25633 \begin_inset Note Note
25636 \begin_layout Plain Layout
25637 The following will be displayed when the \SpecialChar LaTeX
25650 \begin_layout Standard
25651 You need to install the package
25655 to see the content of this section in the output.
25658 \begin_layout Standard
25662 \begin_layout Plain Layout
25674 \begin_layout Standard
25675 For more information about dashed lines see the documentation of
25680 \begin_inset CommandInset citation
25690 \begin_layout Chapter
25692 \begin_inset CommandInset label
25699 \begin_inset Index idx
25702 \begin_layout Plain Layout
25711 \begin_layout Section
25713 \begin_inset CommandInset label
25715 name "sec:FloatIntroduction"
25720 \begin_inset Index idx
25723 \begin_layout Plain Layout
25724 Floats ! Introduction
25732 \begin_layout Standard
25733 A float is a block of text associated with some sort of label, which doesn't
25734 have a fixed location.
25736 \begin_inset Quotes eld
25740 \begin_inset Quotes erd
25743 forward or backward a page or two, to wherever it fits best.
25751 \begin_inset space ~
25756 are also floats because they can float to the next page when there are
25757 too many notes on the page.
25760 \begin_layout Standard
25761 Floats allow a high quality layout.
25762 Images and tables can be spread evenly among the pages to avoid white space
25763 and pages without text.
25764 As the floating often destroys the context between the text and the image/table
25765 , every float can be referenced in the text.
25766 Floats are therefore numbered.
25767 Referencing is described in section
25768 \begin_inset space ~
25772 \begin_inset CommandInset ref
25774 reference "sec:Referencing-Floats"
25781 \begin_layout Standard
25782 To insert a float, use the menu
25784 Insert\SpecialChar menuseparator
25790 arg "float-insert figure"
25796 arg "float-insert table"
25804 inset, a box with a label.
25805 The label will automatically be translated to the document language in
25807 After the label you can insert the caption text.
25808 The image or table is inserted above or below the caption in a separate
25809 paragraph within the float.
25810 More about the caption placement is contained in section
25811 \begin_inset space ~
25815 \begin_inset CommandInset ref
25817 reference "sec:Caption-Placement"
25822 To keep your \SpecialChar LyX
25823 document readable, you can open and close the float box by
25824 left-clicking on the box label.
25825 A closed float box looks like this:
25826 \begin_inset Graphics
25827 filename clipart/float.png
25829 scaleBeforeRotation
25833 – a gray button with a red label.
25836 \begin_layout Standard
25837 It is recommended that you insert floats as separate standard paragraphs
25838 to avoid possible \SpecialChar LaTeX
25839 -errors that can occur when the surrounding text is specially
25843 \begin_layout Standard
25844 Existing figures or tables can be put into a float by highlighting them
25845 and then pressing the corresponding toolbar button for a new float.
25848 \begin_layout Section
25852 \begin_layout Standard
25853 Besides figure and table floats that are described in sections
25854 \begin_inset space ~
25858 \begin_inset CommandInset ref
25860 reference "sec:Figure-Floats"
25865 \begin_inset CommandInset ref
25867 reference "sec:Table-Floats"
25871 respectively, \SpecialChar LyX
25872 offers the float types
25881 The latter are explained in sec.
25882 \begin_inset space \thinspace{}
25886 \begin_inset CommandInset ref
25888 reference "sec:Wrap-Floats"
25895 \begin_layout Subsection
25897 \begin_inset Index idx
25900 \begin_layout Plain Layout
25901 Floats ! Algorithms
25909 \begin_layout Standard
25910 \begin_inset Float algorithm
25917 \begin_layout Plain Layout
25918 \begin_inset Caption Standard
25920 \begin_layout Plain Layout
25921 \begin_inset CommandInset label
25923 name "alg:Example-Algorithm-float"
25927 Example Algorithm float
25935 \begin_layout LyX-Code
25937 \begin_inset Newline newline
25940 Sum:= Sum + A(I); /*comment*/
25941 \begin_inset Newline newline
25945 \begin_inset VSpace -4mm
25956 \begin_layout Standard
25957 This float type is inserted with the menu
25959 Insert\SpecialChar menuseparator
25960 Float\SpecialChar menuseparator
25964 It is used for program codes and descriptions of algorithms and can be
25965 seen as an alternative to program code listings that are explained in chapter
25966 \begin_inset space ~
25970 \begin_inset CommandInset ref
25972 reference "cha:Program-Code-Listings"
25977 A possible environment for algorithms is the
25982 , described in \SpecialChar LyX
25989 \begin_inset space ~
25993 \begin_inset CommandInset ref
25995 reference "alg:Example-Algorithm-float"
25999 is an example of an algorithm float where -4
26000 \begin_inset space \thinspace{}
26003 mm vertical space was added at the end of the float to have the bottom rule
26004 exactly below the last text line.
26007 \begin_layout Standard
26008 The float label is not automatically translated into the document language.
26009 If your document is not in English, you have to do this manually by adding
26010 the following line to the document preamble
26015 \begin_layout Standard
26020 floatname{algorithm}{your
26021 \begin_inset space ~
26027 \begin_layout Standard
26031 \begin_inset space ~
26037 \begin_inset Quotes eld
26045 \begin_inset Quotes erd
26051 \begin_layout Standard
26052 To insert the list of algorithms you can use the menu
26054 Insert\SpecialChar menuseparator
26056 \begin_inset space \thinspace{}
26060 \begin_inset space \thinspace{}
26063 TOC\SpecialChar menuseparator
26066 when your document has the same language as \SpecialChar LyX
26068 In other cases use this command in \SpecialChar TeX
26072 \begin_layout Standard
26077 listof{algorithm}{your
26078 \begin_inset space ~
26084 \begin_layout Standard
26088 \begin_inset space ~
26094 \begin_inset Quotes eld
26102 \begin_inset Quotes erd
26108 \begin_layout Standard
26109 Algorithm floats are not by default numbered in the scheme
26110 \begin_inset Quotes eld
26114 \begin_inset Quotes erd
26117 as is the case for table and figure floats in many document-classes.
26118 To number algorithm floats in the same scheme, add this command to your
26122 \begin_layout Standard
26127 numberwithin{algorithm}{chapter}
26130 \begin_layout Standard
26131 To be able to use the command
26140 \begin_inset space ~
26145 in the document settings the option
26148 \begin_inset space ~
26152 \begin_inset space ~
26156 \begin_inset space ~
26164 \begin_layout Section
26166 \begin_inset Index idx
26169 \begin_layout Plain Layout
26178 \begin_layout Standard
26179 Floats are usually numbered either independently from the sections the floats
26180 are in, or in the scheme
26181 \begin_inset Quotes eld
26185 \begin_inset Quotes erd
26189 \begin_inset Quotes eld
26193 \begin_inset Quotes erd
26197 This depends on the document class used.
26200 \begin_layout Standard
26201 To change section-independent numbering, you can use this command in the
26205 \begin_layout Standard
26217 \begin_layout Standard
26224 is the command that prints the table number.
26225 For figure floats, the command would be
26238 in the command above prints the table number as a small roman number.
26241 \begin_layout Standard
26242 To change the numbering scheme for example to
26243 \begin_inset Quotes eld
26247 \begin_inset Quotes erd
26250 , use this command in the preamble:
26253 \begin_layout Standard
26258 numberwithin{table}{subsection}
26261 \begin_layout Standard
26262 To be able to use the command
26271 \begin_inset space ~
26276 in the document settings the option
26279 \begin_inset space ~
26283 \begin_inset space ~
26287 \begin_inset space ~
26295 \begin_layout Standard
26296 Please also have a look at section
26297 \begin_inset space ~
26301 \begin_inset CommandInset ref
26303 reference "subsec:Footnote-Numbering"
26307 for the details and important notes about the numbering commands.
26310 \begin_layout Section
26312 \begin_inset CommandInset label
26314 name "sec:Referencing-Floats"
26319 \begin_inset Index idx
26322 \begin_layout Plain Layout
26323 Floats ! References
26329 \begin_inset Index idx
26332 \begin_layout Plain Layout
26333 References ! to Floats
26341 \begin_layout Standard
26342 To reference a float, insert a label into its caption using the menu
26344 Insert\SpecialChar menuseparator
26347 or the toolbar button
26354 A grey label box like this one:
26355 \begin_inset Graphics
26356 filename clipart/label.png
26357 scaleBeforeRotation
26361 will be inserted and the label window pops up asking for the label text.
26363 offers as text the first words of the caption with a prefix.
26364 The prefix depends on the float type, e.
26365 \begin_inset space \thinspace{}
26369 \begin_inset space \space{}
26372 for figure floats the prefix will be "
26379 \begin_layout Standard
26380 The label is used as anchor and name for the reference.
26381 You can refer to the label using the menu
26383 Insert\SpecialChar menuseparator
26386 or the toolbar button
26389 arg "dialog-show-new-inset ref"
26393 The cross-reference window appears showing all labels of the document.
26394 If you have multiple \SpecialChar LyX
26395 documents opened, choose the one you are working
26396 on from the drop-list at the top of the dialog.
26397 You can now sort the labels alphabetically and then choose one.
26398 A grey cross-reference box like this one:
26399 \begin_inset Graphics
26400 filename clipart/reference.png
26401 scaleBeforeRotation
26406 At the position of the cross-reference box the float number will appear
26410 \begin_layout Standard
26411 It is recommended that you use a protected space between the cross-reference
26412 name and its number to avoid line breaks between them.
26413 If a cross-reference refers to a non-existing label, you will see two question
26414 marks in the output instead of the reference.
26417 \begin_layout Standard
26418 You can change labels at any time by clicking on the label box.
26419 References to the changed label will automatically update their links to
26420 the new label text.
26423 \begin_layout Standard
26427 \begin_inset space ~
26431 \begin_inset space ~
26436 in the cross-reference window sets the cursor before the referred label.
26437 The button text changes then to Go
26438 \begin_inset space ~
26441 Back and you can use it to set the cursor back to the cross-reference.
26444 \begin_layout Subsection
26445 Cross-Reference Formats
26446 \begin_inset CommandInset label
26448 name "subsec:Cross-Reference-Formats"
26453 \begin_inset Index idx
26456 \begin_layout Plain Layout
26457 References ! Formats
26465 \begin_layout Standard
26466 There are six varieties of cross-references:
26469 \begin_layout Description
26470 <reference>: prints the float number, this is the default:
26471 \begin_inset CommandInset ref
26473 reference "fig:Two-distorted-images"
26480 \begin_layout Description
26481 (<reference>): prints the float number within two parentheses, this is the
26482 style normally used to reference formulas, especially when the reference
26484 \begin_inset Quotes eld
26488 \begin_inset Quotes erd
26492 \begin_inset CommandInset ref
26501 \begin_layout Description
26502 <page>: prints the page number: Page
26503 \begin_inset space ~
26507 \begin_inset CommandInset ref
26508 LatexCommand pageref
26509 reference "fig:Two-distorted-images"
26516 \begin_layout Description
26518 \begin_inset space ~
26522 \begin_inset space ~
26525 <page>: prints the text "on page" and the page number:
26526 \begin_inset CommandInset ref
26527 LatexCommand vpageref
26528 reference "fig:Two-distorted-images"
26535 \begin_layout Description
26537 \begin_inset space ~
26541 \begin_inset space ~
26545 \begin_inset space ~
26548 <page>: prints the float number, the text "on page", and the page number:
26550 \begin_inset CommandInset ref
26552 reference "fig:Two-distorted-images"
26559 \begin_layout Description
26561 \begin_inset space ~
26564 reference: prints a self-defined cross-reference format.
26565 \begin_inset Newline newline
26569 \begin_inset Note Greyedout
26572 \begin_layout Plain Layout
26577 This feature is only available when you have the \SpecialChar LaTeX
26587 \begin_inset Index idx
26590 \begin_layout Plain Layout
26592 -packages ! prettyref
26598 \begin_inset Index idx
26601 \begin_layout Plain Layout
26603 -packages ! refstyle
26614 \begin_inset Newline newline
26617 You can select which \SpecialChar LaTeX
26618 -package should be used for this feature by setting
26621 Use refstyle (not prettyref) for cross-references
26625 Document\SpecialChar menuseparator
26626 Settings\SpecialChar menuseparator
26630 The format is specified by adding the command
26642 (refstyle) to the preamble of the document.
26643 For example redefining all references to figures (which have the label
26645 \begin_inset Quotes eld
26653 \begin_inset Quotes erd
26656 ) can be done with this command
26657 \begin_inset Newline newline
26664 newref{fig}{refcmd={Image on page
26669 \begin_inset Newline newline
26672 For more information about the format, have a look at the package documentations
26674 \begin_inset CommandInset citation
26676 key "prettyref,refstyle"
26682 \begin_inset Newline newline
26693 are only available if you use the \SpecialChar LaTeX
26708 \begin_inset space \thinspace{}
26712 \begin_inset space \space{}
26716 \begin_inset Quotes eld
26720 \begin_inset Quotes erd
26727 outputs the name capitalized, e.
26728 \begin_inset space \thinspace{}
26732 \begin_inset space \space{}
26736 \begin_inset Quotes eld
26740 \begin_inset Quotes erd
26744 Both options can be combined to get e.
26745 \begin_inset space \thinspace{}
26749 \begin_inset space \space{}
26753 \begin_inset Quotes eld
26757 \begin_inset Quotes erd
26763 \begin_layout Description
26765 \begin_inset space ~
26768 reference: prints the caption of the reference:
26769 \begin_inset CommandInset ref
26770 LatexCommand nameref
26771 reference "fig:Two-distorted-images"
26778 \begin_layout Description
26780 \begin_inset space ~
26783 only: prints only the \SpecialChar LaTeX
26784 label for the reference:
26785 \begin_inset CommandInset ref
26786 LatexCommand labelonly
26787 reference "fig:Two-distorted-images"
26795 \begin_inset Newline newline
26798 This allows to use the label for commands in \SpecialChar TeX
26804 one can omit the prefix of the label name:
26805 \begin_inset CommandInset ref
26806 LatexCommand labelonly
26807 reference "fig:Two-distorted-images"
26817 \begin_layout Standard
26822 will not print the page number if the label is on the previous, the same,
26825 \begin_inset space \thinspace{}
26829 \begin_inset space \space{}
26833 \begin_inset Quotes eld
26841 \begin_inset Quotes erd
26847 <reference> on page <page>
26849 will not print anything about the page if the label is on the same page.
26852 \begin_layout Standard
26853 The number and current page of the part of the document referred to in the
26854 output is automatically calculated by \SpecialChar LaTeX
26856 The varieties are adjusted in the field
26860 of the cross-reference window that appears when you click on the cross-referenc
26864 \begin_layout Standard
26865 \begin_inset Note Greyedout
26868 \begin_layout Plain Layout
26873 It is recommended to use the \SpecialChar LaTeX
26879 \begin_inset Index idx
26882 \begin_layout Plain Layout
26884 -packages ! refstyle
26894 \begin_inset Index idx
26897 \begin_layout Plain Layout
26899 -packages ! prettyref
26904 does not know all of \SpecialChar LyX
26905 's possible label shortcuts
26909 \begin_layout Plain Layout
26910 \begin_inset Quotes eld
26914 \begin_inset Quotes erd
26917 is for example \SpecialChar LyX
26918 's shortcut for labels in figure captions.
26923 and is not internationalized.
26931 \begin_layout Subsection
26932 Automatic Reference Naming
26933 \begin_inset Index idx
26936 \begin_layout Plain Layout
26937 References ! Automatic Reference Naming
26945 \begin_layout Standard
26946 The \SpecialChar LaTeX
26952 \begin_inset Index idx
26955 \begin_layout Plain Layout
26957 -packages ! hyperref
26962 , that is enabled in the
26970 dialog, provides a very useful feature that cross-references automatically
26971 include the name of the referenced floats (or text parts like
26976 So you will save having to write e.
26977 \begin_inset space \thinspace{}
26981 \begin_inset space \space{}
26985 \begin_inset Quotes eld
26989 \begin_inset Quotes erd
26992 before every reference to a figure.
26993 To use this feature, enable
26997 and insert this line to the \SpecialChar LaTeX
27001 \begin_layout Standard
27017 \begin_layout Standard
27018 When you prefer other reference names than the default ones, for example
27019 you want instead of
27020 \begin_inset Quotes eld
27024 \begin_inset Quotes erd
27028 \begin_inset Quotes eld
27032 \begin_inset space \thinspace{}
27036 \begin_inset Quotes eld
27039 , you can redefine the name by inserting this in the preamble:
27042 \begin_layout Standard
27053 sectionautorefname}
27054 \begin_inset Newline newline
27058 \begin_inset Phantom HPhantom
27061 \begin_layout Plain Layout
27064 \begin_inset space ~
27077 \begin_layout Standard
27078 When you are using another document language than English, replace
27079 \begin_inset Newline newline
27094 , where *** is the name of the language used.
27097 \begin_layout Standard
27098 To get automatic names, but not for certain reference types, for example
27099 not for equations, use this preamble code:
27102 \begin_layout Standard
27113 equationautorefname}[1]{}}
27116 \begin_layout Standard
27117 More about this topic can be found in
27122 \begin_inset CommandInset citation
27132 \begin_layout Standard
27133 \begin_inset Note Greyedout
27136 \begin_layout Plain Layout
27141 Automatic reference naming cannot be used when you use cross-references
27145 \begin_inset space ~
27150 style, as described in section
27151 \begin_inset space ~
27155 \begin_inset CommandInset ref
27157 reference "subsec:Cross-Reference-Formats"
27169 \begin_layout Standard
27174 manual is an example where automatic reference naming is used.
27177 \begin_layout Subsection
27179 \begin_inset CommandInset label
27181 name "subsec:Reference-Position"
27186 \begin_inset Index idx
27189 \begin_layout Plain Layout
27190 References ! Reference Position
27198 \begin_layout Standard
27204 \begin_inset Index idx
27207 \begin_layout Plain Layout
27209 -packages ! hyperref
27222 dialog to link cross-references in the output, you will see that clicking
27223 on an image float reference jumps to the image label.
27224 The caption will be the first text part on the screen, so that you cannot
27225 see the image without scrolling.
27226 This is because the reference link anchor is placed at the position of
27228 With the use of the package
27233 \begin_inset Index idx
27236 \begin_layout Plain Layout
27243 , which is part of the \SpecialChar LaTeX
27249 \begin_inset Index idx
27252 \begin_layout Plain Layout
27254 -packages ! oberdiek
27259 , the link anchor is placed at the beginning of a float.
27260 To use this feature for figure floats, load
27264 in the document preamble with the line
27267 \begin_layout Standard
27272 usepackage[figure]{hypcap}
27275 \begin_layout Standard
27280 for all float types but this is not recommended for stability reasons.
27281 For more information, have a look at
27286 \begin_inset CommandInset citation
27296 \begin_layout Standard
27297 \begin_inset Note Greyedout
27300 \begin_layout Plain Layout
27309 has no effect on references to subfigures.
27317 \begin_layout Section
27319 \change_deleted -712698321 1526031763
27321 \change_inserted -712698321 1526031765
27325 \begin_inset CommandInset label
27327 name "sec:Float-Settings"
27332 \begin_inset Index idx
27335 \begin_layout Plain Layout
27337 \change_deleted -712698321 1526031841
27339 \change_inserted -712698321 1526031842
27350 \begin_layout Standard
27352 \change_inserted -712698321 1526033385
27353 Float Settings can be adjusted at two places in \SpecialChar LyX
27356 Document\SpecialChar menuseparator
27357 Settings\SpecialChar ldots
27358 \SpecialChar menuseparator
27361 , you can set some options that are used by default for all floats of the
27362 document (placement on page and alignment of contents), unless you modify
27363 the local settings of a float.
27368 \begin_layout Standard
27370 \change_inserted -712698321 1526032513
27371 The latter can be done by
27372 \change_deleted -712698321 1526032513
27374 \change_inserted -712698321 1526032513
27377 ight-clicking on a float-box and clicking on
27380 \change_inserted -712698321 1526033387
27387 \change_inserted -712698321 1526032520
27390 opens a dialog where you can
27391 \change_inserted -712698321 1526032584
27392 , now only for the given float,
27395 \change_inserted -712698321 1526033452
27399 \change_deleted -712698321 1526033439
27400 options that \SpecialChar LaTeX
27401 uses for positioning the float
27402 \change_inserted -712698321 1526033493
27403 and alignment options, and adapt some other options that are only available
27408 \change_inserted -712698321 1526032658
27409 All these options, both for
27411 Document\SpecialChar menuseparator
27412 Settings\SpecialChar menuseparator
27419 , are described in turn.
27420 \change_deleted -712698321 1526031652
27422 \begin_inset Newline newline
27428 \begin_inset space ~
27433 is only useful for two-column documents: If you select it, the float will
27434 span both columns on the page instead of being confined to just one.
27435 \begin_inset Newline newline
27441 \begin_inset space ~
27446 is used to rotate floats, see section
27447 \begin_inset CommandInset ref
27449 reference "sec:Rotated-Floats"
27458 \begin_layout Subsection
27460 \change_inserted -712698321 1526031775
27462 \begin_inset CommandInset label
27464 name "sec:Float-Placement"
27469 \begin_inset Index idx
27472 \begin_layout Plain Layout
27474 \change_inserted -712698321 1526031775
27485 \begin_layout Standard
27487 \change_inserted -712698321 1526032697
27490 Document\SpecialChar menuseparator
27491 Settings\SpecialChar menuseparator
27499 \change_deleted -712698321 1526032811
27500 You can use one or more of the following options in the float dialog to
27502 \change_inserted -712698321 1526032812
27506 \change_inserted -712698321 1526033558
27507 algorithm that \SpecialChar LaTeX
27508 uses for positioning floats on the page, either
27511 \change_inserted -712698321 1526033535
27514 Document\SpecialChar menuseparator
27515 Settings\SpecialChar menuseparator
27521 \change_inserted -712698321 1526033570
27532 By default, this is set to
27535 \change_inserted -712698321 1526033604
27542 Document\SpecialChar menuseparator
27543 Settings\SpecialChar menuseparator
27546 (meaning that the default placement algorithm of the document class is
27555 dialog (meaning that the settings in
27557 Document\SpecialChar menuseparator
27558 Settings\SpecialChar menuseparator
27561 are used, which are the Class Defaults by default).
27562 If you want to change this,
27563 \change_deleted -712698321 1526033009
27565 \change_inserted -712698321 1526033535
27569 \change_deleted -712698321 1526031920
27571 \change_inserted -712698321 1526033535
27574 Placement Settings:
27579 \change_inserted -712698321 1526033535
27583 \change_deleted -712698321 1526031908
27585 \begin_inset space ~
27589 \begin_inset space ~
27593 \change_inserted -712698321 1526033535
27596 This allows you to select one or more from
27601 \begin_layout Description
27603 \begin_inset space ~
27607 \begin_inset space ~
27610 possible try to place the float on the position where it has been inserted
27613 \begin_layout Description
27615 \begin_inset space ~
27619 \begin_inset space ~
27622 page try to place the float at the top of the current page
27625 \begin_layout Description
27627 \begin_inset space ~
27631 \begin_inset space ~
27634 page try to place the float at the bottom of the current page
27637 \begin_layout Description
27639 \begin_inset space ~
27643 \begin_inset space ~
27646 floats try to place the float on its own page
27649 \begin_layout Standard
27650 The order of the above option is
27654 used by \SpecialChar LaTeX
27656 That means, if you use the default placement, \SpecialChar LaTeX
27660 \begin_inset space ~
27664 \begin_inset space ~
27672 \begin_inset space ~
27676 \begin_inset space ~
27681 , and then the others.
27682 If you do not use the default, \SpecialChar LaTeX
27683 will try only the checked options but in
27686 \begin_inset space ~
27689 placements is possible the procedure is internally repeated trying to put
27690 the float on the following page.
27693 \begin_layout Standard
27694 By default, each option has its own rules:
27697 \begin_layout Labeling
27698 \labelwidthstring 00.00.0000
27702 \begin_inset space ~
27706 \begin_inset space ~
27711 only floats occupying less than 70
27712 \begin_inset space \thinspace{}
27715 % of the page can be placed at the top of a page (
27724 \begin_layout Labeling
27725 \labelwidthstring 00.00.0000
27729 \begin_inset space ~
27733 \begin_inset space ~
27738 : only floats occupying less than 30
27739 \begin_inset space \thinspace{}
27742 % of the page can be placed at the bottom of a page.
27752 \begin_layout Labeling
27753 \labelwidthstring 00.00.0000
27757 \begin_inset space ~
27761 \begin_inset space ~
27766 : only if more than 50
27767 \begin_inset space \thinspace{}
27770 % of the page is occupied by floats, several floats can be set together
27781 \begin_layout Standard
27782 If you don't like these rules, you can ignore them by using the additional
27786 \begin_inset space ~
27791 \begin_inset space ~
27797 \begin_inset Newline newline
27800 You can also redefine the rules with \SpecialChar LaTeX
27801 -commands that are given in parentheses
27802 after the rules description above.
27803 To increase for example the often too small default of the bottom-rule
27805 \begin_inset space \thinspace{}
27808 % of the page, add this line to your document preamble:
27811 \begin_layout Standard
27818 bottomfraction}{0.5}
27821 \begin_layout Standard
27822 Sometimes you might need, under all circumstances, a float to be placed
27823 exactly at the position where it is inserted.
27824 For this case you can use the option
27827 \begin_inset space ~
27833 Use this option very rarely and only if the document is almost ready to
27834 be printed, because the float is then no longer able to
27835 \begin_inset Quotes eld
27839 \begin_inset Quotes erd
27842 when you change your document and this will often destroy the page layout.
27845 \begin_layout Standard
27846 There are no placement options for text wrap floats, because they are always
27847 surrounded by the text of a certain paragraph.
27848 \begin_inset VSpace bigskip
27854 \begin_layout Standard
27855 Sometimes you have the problem that a float is placed at the top of a page
27856 while its corresponding section starts at the middle of the page, so that
27857 the reader could think the float is part of the previous section.
27858 To avoid this the \SpecialChar LaTeX
27866 It suppresses a given float placement for the page where it is inserted
27867 and can therefore be used to avoid floats being set before a section starts.
27868 To get this, add these commands to your document preamble:
27871 \begin_layout Standard
27881 \begin_inset Newline newline
27895 \begin_layout Standard
27896 You can define the same for all section headings, like chapters and subsections.
27897 This definition is not recommended to be used for small text parts like
27898 subsubsections because \SpecialChar LaTeX
27899 may then have problems finding a suitable placement.
27902 \begin_layout Standard
27903 \begin_inset VSpace bigskip
27906 In some cases it is required to have all figures/tables at the end of the
27908 For this purpose the \SpecialChar LaTeX
27914 \begin_inset Index idx
27917 \begin_layout Plain Layout
27919 -packages ! endfloat
27925 It puts all figure and table floats at the end of the document into their
27927 At the original float position a text hint like
27928 \begin_inset Quotes eld
27934 \begin_inset space ~
27940 \begin_inset Quotes erd
27944 The endfloat-package is loaded in the preamble with the line
27947 \begin_layout Standard
27952 usepackage[options]{endfloat}
27955 \begin_layout Standard
27956 There are various package options to format the created figure/table sections.
27957 For more information we refer you to the
27962 \begin_inset CommandInset citation
27970 \begin_inset Newline newline
27974 \begin_inset Note Greyedout
27977 \begin_layout Plain Layout
27982 doesn't provide an automatic translation for the text hint, you have to
27983 do this manually, see section
27984 \begin_inset space ~
27988 \begin_inset CommandInset citation
28001 \begin_inset Newline newline
28005 \begin_inset Note Greyedout
28008 \begin_layout Plain Layout
28013 There is currently a bug in
28017 when the caption contains a German
28018 \begin_inset Quotes eld
28022 \begin_inset Quotes erd
28026 Use in this case the command
28027 \begin_inset Quotes eld
28037 \begin_inset Quotes erd
28040 in \SpecialChar TeX
28042 \begin_inset Quotes eld
28046 \begin_inset Quotes erd
28057 \begin_layout Standard
28058 \begin_inset VSpace bigskip
28061 For more details about float placements, have a look at \SpecialChar LaTeX
28063 \begin_inset CommandInset citation
28065 key "latexcompanion,latexguide,latexbook"
28071 \change_inserted -712698321 1526030561
28075 \begin_layout Subsection
28077 \change_inserted -712698321 1526031989
28078 Alignment of Float Contents
28081 \begin_layout Standard
28083 \change_inserted -712698321 1526032316
28084 In this list of options, you can define how the contents of a float (or
28085 all floats by default, if selected from
28087 Document\SpecialChar menuseparator
28095 means that the alignment of the class, or the default alignment of \SpecialChar LaTeX
28102 (only visible in the
28108 Document\SpecialChar menuseparator
28111 ) takes the setting specified in
28113 Document\SpecialChar menuseparator
28114 Settings\SpecialChar menuseparator
28118 The other three options,
28130 , are self-explanatory.
28131 If one of these is selected in
28133 Document\SpecialChar menuseparator
28134 Settings\SpecialChar menuseparator
28137 , all floats of the document will have this setting by default (so it is
28138 fairly easy, for instance, to center all floats).
28143 \begin_layout Subsection
28145 \change_inserted -712698321 1526030571
28146 Other Float Options
28149 \begin_layout Standard
28151 \change_inserted -712698321 1526035716
28152 These two options are only visible in the local
28158 Document\SpecialChar menuseparator
28164 \begin_layout Standard
28166 \change_inserted -712698321 1526033931
28170 \begin_inset space ~
28175 is useful for two-column documents: If you select it, the float will span
28176 both columns on the page instead of being confined to just one.
28179 \begin_layout Standard
28181 \change_inserted -712698321 1526030572
28185 \begin_inset space ~
28190 is used to rotate floats, see section
28191 \begin_inset CommandInset ref
28193 reference "sec:Rotated-Floats"
28202 \begin_layout Section
28204 \begin_inset CommandInset label
28206 name "sec:Rotated-Floats"
28211 \begin_inset Index idx
28214 \begin_layout Plain Layout
28223 \begin_layout Standard
28224 Especially for wide tables you might have floats rotated.
28225 To rotate a whole float including the caption, right-click on the float-box
28229 \begin_inset space ~
28237 \begin_layout Standard
28238 Rotated floats are always placed on a page of their own (or column of their
28239 own; in case you have a multi-column document).
28240 You can let them span several columns using the float settings option
28243 \begin_inset space ~
28249 Floats are rotated so that you can read them from the outside margin.
28250 To force a certain rotation direction for all pages, you can add either
28259 to the document class options.
28262 \begin_layout Standard
28263 Referencing rotated floats is the same as for normal floats, the caption
28264 format is also the same: Table
28265 \begin_inset space ~
28269 \begin_inset CommandInset ref
28271 reference "tab:Rotated-table"
28275 is an example of a rotated table float.
28278 \begin_layout Standard
28279 \begin_inset Note Greyedout
28282 \begin_layout Plain Layout
28287 Not all DVI-viewers are able to display rotated floats.
28295 \begin_layout Standard
28296 \begin_inset Float table
28303 \begin_layout Plain Layout
28304 \begin_inset Caption Standard
28306 \begin_layout Plain Layout
28307 \begin_inset CommandInset label
28309 name "tab:Rotated-table"
28321 \begin_layout Plain Layout
28323 \begin_inset Tabular
28324 <lyxtabular version="3" rows="1" columns="5">
28325 <features tabularvalignment="middle">
28326 <column alignment="center" valignment="top">
28327 <column alignment="center" valignment="top">
28328 <column alignment="center" valignment="top">
28329 <column alignment="center" valignment="top">
28330 <column alignment="center" valignment="top">
28332 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28335 \begin_layout Plain Layout
28341 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28344 \begin_layout Plain Layout
28350 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28353 \begin_layout Plain Layout
28359 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28362 \begin_layout Plain Layout
28368 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28371 \begin_layout Plain Layout
28390 \begin_layout Section
28392 \begin_inset Index idx
28395 \begin_layout Plain Layout
28404 \begin_layout Standard
28405 Subfloats are for example used when a figure consists of several images.
28406 They are created by inserting a float into an existing float.
28407 The placement of the subfloats can be controlled in the same way as for
28408 paragraphs as shown in table
28409 \begin_inset space ~
28413 \begin_inset CommandInset ref
28415 reference "tab:Two-subtables-side"
28420 \begin_inset CommandInset ref
28422 reference "tab:Two-subtables-upon"
28429 \begin_layout Standard
28430 Referencing subfloats works as for normal floats: Table
28431 \begin_inset space ~
28435 \begin_inset CommandInset ref
28437 reference "tab:This-is-subtable-a"
28442 \begin_inset CommandInset ref
28444 reference "tab:This-is-subtable-b"
28448 are subtables of table
28449 \begin_inset space ~
28453 \begin_inset CommandInset ref
28455 reference "tab:Two-subtables-side"
28462 \begin_layout Standard
28463 \begin_inset Float table
28470 \begin_layout Plain Layout
28471 \begin_inset Caption Standard
28473 \begin_layout Plain Layout
28474 \begin_inset CommandInset label
28476 name "tab:Two-subtables-side"
28480 Two subtables placed side by side.
28488 \begin_layout Plain Layout
28490 \begin_inset space \hfill{}
28494 \begin_inset Float table
28501 \begin_layout Plain Layout
28502 \begin_inset Caption Standard
28504 \begin_layout Plain Layout
28505 \begin_inset CommandInset label
28507 name "tab:This-is-subtable-a"
28511 This is subtable a.
28519 \begin_layout Plain Layout
28521 \begin_inset Tabular
28522 <lyxtabular version="3" rows="1" columns="5">
28523 <features tabularvalignment="middle">
28524 <column alignment="center" valignment="top">
28525 <column alignment="center" valignment="top">
28526 <column alignment="center" valignment="top">
28527 <column alignment="center" valignment="top">
28528 <column alignment="center" valignment="top">
28530 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28533 \begin_layout Plain Layout
28539 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28542 \begin_layout Plain Layout
28548 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28551 \begin_layout Plain Layout
28557 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28560 \begin_layout Plain Layout
28566 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28569 \begin_layout Plain Layout
28586 \begin_inset space \hfill{}
28590 \begin_inset Float table
28597 \begin_layout Plain Layout
28598 \begin_inset Caption Standard
28600 \begin_layout Plain Layout
28601 \begin_inset CommandInset label
28603 name "tab:This-is-subtable-b"
28607 This is subtable b.
28615 \begin_layout Plain Layout
28617 \begin_inset Tabular
28618 <lyxtabular version="3" rows="1" columns="5">
28619 <features tabularvalignment="middle">
28620 <column alignment="center" valignment="top">
28621 <column alignment="center" valignment="top">
28622 <column alignment="center" valignment="top">
28623 <column alignment="center" valignment="top">
28624 <column alignment="center" valignment="top">
28626 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28629 \begin_layout Plain Layout
28635 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28638 \begin_layout Plain Layout
28644 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28647 \begin_layout Plain Layout
28653 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28656 \begin_layout Plain Layout
28662 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28665 \begin_layout Plain Layout
28682 \begin_inset space \hfill{}
28693 \begin_layout Standard
28694 \begin_inset Float table
28701 \begin_layout Plain Layout
28702 \begin_inset Caption Standard
28704 \begin_layout Plain Layout
28705 \begin_inset CommandInset label
28707 name "tab:Two-subtables-upon"
28711 Two subtables placed one above the other.
28712 (a) table with 4 cells, (b) table with 5 cells.
28720 \begin_layout Plain Layout
28722 \begin_inset Float table
28729 \begin_layout Plain Layout
28730 \begin_inset Caption Standard
28732 \begin_layout Plain Layout
28741 \begin_layout Plain Layout
28743 \begin_inset Tabular
28744 <lyxtabular version="3" rows="1" columns="4">
28745 <features tabularvalignment="middle">
28746 <column alignment="center" valignment="top">
28747 <column alignment="center" valignment="top">
28748 <column alignment="center" valignment="top">
28749 <column alignment="center" valignment="top">
28751 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28754 \begin_layout Plain Layout
28760 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28763 \begin_layout Plain Layout
28769 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28772 \begin_layout Plain Layout
28778 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28781 \begin_layout Plain Layout
28800 \begin_layout Plain Layout
28802 \begin_inset Float table
28809 \begin_layout Plain Layout
28810 \begin_inset Caption Standard
28812 \begin_layout Plain Layout
28821 \begin_layout Plain Layout
28823 \begin_inset Tabular
28824 <lyxtabular version="3" rows="1" columns="5">
28825 <features tabularvalignment="middle">
28826 <column alignment="center" valignment="top">
28827 <column alignment="center" valignment="top">
28828 <column alignment="center" valignment="top">
28829 <column alignment="center" valignment="top">
28830 <column alignment="center" valignment="top">
28832 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28835 \begin_layout Plain Layout
28841 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28844 \begin_layout Plain Layout
28850 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28853 \begin_layout Plain Layout
28859 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28862 \begin_layout Plain Layout
28868 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28871 \begin_layout Plain Layout
28895 \begin_layout Section
28896 Floats Side by Side
28897 \begin_inset Index idx
28900 \begin_layout Plain Layout
28901 Floats ! Side by side
28909 \begin_layout Standard
28910 To place floats side by side, as in Figures
28911 \begin_inset space ~
28915 \begin_inset CommandInset ref
28917 reference "fig:Float-left"
28922 \begin_inset CommandInset ref
28924 reference "fig:Float-right"
28933 In it two minipage boxes are inserted.
28937 \begin_layout Plain Layout
28938 Minipages are explained in section
28939 \begin_inset space ~
28943 \begin_inset CommandInset ref
28945 reference "sec:Minipages"
28954 The width is set to 45
28955 \begin_inset space \thinspace{}
28959 \begin_inset space \thinspace{}
28962 column% and the box alignment to
28967 The minipage boxes contain the image and the caption in the same way as
28968 they are in a float.
28969 The only difference is that the image unit
28972 \begin_inset space ~
28976 \begin_inset space ~
28981 is now calculated according to the width of the minipage boxes.
28984 \begin_layout Standard
28985 \begin_inset Float figure
28992 \begin_layout Plain Layout
28993 \begin_inset Box Frameless
29003 height_special "totalheight"
29008 backgroundcolor "none"
29011 \begin_layout Plain Layout
29013 \begin_inset Graphics
29014 filename clipart/2D-intensity-plot.pdf
29016 scaleBeforeRotation
29023 \begin_layout Plain Layout
29024 \begin_inset Caption Standard
29026 \begin_layout Plain Layout
29027 \begin_inset CommandInset label
29029 name "fig:Float-left"
29033 Float on the left side.
29044 \begin_inset space \hfill{}
29048 \begin_inset Box Frameless
29058 height_special "totalheight"
29063 backgroundcolor "none"
29066 \begin_layout Plain Layout
29068 \begin_inset Graphics
29069 filename clipart/Star-structure.pdf
29071 scaleBeforeRotation
29078 \begin_layout Plain Layout
29079 \begin_inset Caption Standard
29081 \begin_layout Plain Layout
29082 \begin_inset CommandInset label
29084 name "fig:Float-right"
29088 Float on the right side.
29106 \begin_layout Standard
29107 An alternative and simpler solution is to use the module
29109 Variable-width Minipages
29112 \begin_inset space \thinspace{}
29116 \begin_inset CommandInset ref
29118 reference "sec:Minipages"
29123 Variable-width minipages adapt automatically to the width of the figures
29125 They do not require an explicit width to be given, and they improve the
29126 horizontal alignment of the figures.
29127 The LyX example file
29129 varwidth-floats-side-by-side
29131 gives examples of how to do this.
29134 \begin_layout Section
29136 \begin_inset Index idx
29139 \begin_layout Plain Layout
29140 Caption ! Formatting
29146 \begin_inset Index idx
29149 \begin_layout Plain Layout
29150 Floats ! Caption Formatting
29156 \begin_inset CommandInset label
29158 name "sec:Caption-Formatting"
29165 \begin_layout Standard
29170 environment is the default paragraph environment for
29175 On the \SpecialChar LyX
29176 screen captions appear as a label, e.
29177 \begin_inset space \thinspace{}
29181 \begin_inset space \space{}
29185 \begin_inset Quotes eld
29193 \begin_inset Quotes erd
29196 followed by the caption text.
29198 \begin_inset Quotes eld
29202 \begin_inset Quotes erd
29205 is the actual reference number.
29206 By default the label and the number are in the same font as the caption
29207 text and a colon follows the number to divide the label from the text.
29208 This caption format is suitable for many but not all documents.
29212 \begin_layout Standard
29213 To change the default caption format, load the \SpecialChar LaTeX
29219 \begin_inset Index idx
29222 \begin_layout Plain Layout
29224 -packages ! caption
29229 in the document preamble with this line:
29232 \begin_layout Standard
29237 usepackage[format definition]{caption}
29240 \begin_layout Standard
29241 To have for example the label and the number in sans-serif, bold font and
29242 the table captions always above the table as in this document, use the
29246 \begin_layout Standard
29251 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
29254 \begin_layout Standard
29255 You can also define different caption formats for the different float types.
29256 In this case load the
29260 package without format specific options and define the different formats
29261 with the help of the command
29264 \begin_layout Standard
29269 captionsetup[float type]{format definition}
29272 \begin_layout Standard
29273 in the document preamble.
29274 For example the caption formats of Figure
29275 \begin_inset space ~
29279 \begin_inset CommandInset ref
29281 reference "fig:This-is-an-fig"
29286 \begin_inset space ~
29290 \begin_inset CommandInset ref
29292 reference "tab:This-is-an-tab"
29296 can be created using these commands in the document preamble:
29299 \begin_layout Standard
29304 usepackage[tableposition=top]{caption}
29307 \begin_inset Newline newline
29314 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
29315 \begin_inset Newline newline
29319 \begin_inset Phantom HPhantom
29322 \begin_layout Plain Layout
29327 captionsetup[figure]{
29333 \begin_inset Newline newline
29338 captionsetup[table]{labelfont={bf,sf}}
29341 \begin_layout Standard
29342 \begin_inset Note Greyedout
29345 \begin_layout Plain Layout
29354 has no effect when a
29359 \begin_inset Index idx
29362 \begin_layout Plain Layout
29364 -packages ! KOMA-Script
29369 document class is used.
29370 In this case the document class option
29372 captions=tableheading
29382 \begin_layout Standard
29383 For more information about the package
29387 we refer to its documentation
29388 \begin_inset CommandInset citation
29398 \begin_layout Standard
29399 To change the label name from e.
29400 \begin_inset space \thinspace{}
29404 \begin_inset space \space{}
29408 \begin_inset Quotes eld
29412 \begin_inset Quotes erd
29416 \begin_inset Quotes eld
29420 \begin_inset Quotes erd
29423 use this preamble command:
29426 \begin_layout Standard
29433 fnum@figure}{Image~
29438 \begin_layout Standard
29445 inserts the figure number and
29448 \begin_inset Quotes eld
29454 \begin_inset Quotes erd
29457 creates a protected space.
29460 \begin_layout Standard
29461 \begin_inset VSpace bigskip
29469 \begin_inset Index idx
29472 \begin_layout Plain Layout
29474 -packages ! KOMA-Script
29481 article (KOMA-Script)
29489 letter (KOMA-Script)
29493 report (KOMA-Script)
29496 \begin_inset space \thinspace{}
29499 ), you can alternatively to the
29507 's built-in command
29514 For example, to have the caption label in bold, add this command to your
29518 \begin_layout Standard
29523 setkomafont{captionlabel}{
29528 \begin_layout Standard
29529 For more information about
29540 \begin_inset CommandInset citation
29550 \begin_layout Standard
29554 \begin_layout Plain Layout
29558 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
29565 \begin_inset Note Note
29568 \begin_layout Plain Layout
29569 The caption format is changed only for this example.
29577 \begin_layout Standard
29578 \begin_inset Float figure
29585 \begin_layout Plain Layout
29587 \begin_inset Graphics
29588 filename clipart/2D-intensity-plot.pdf
29589 scaleBeforeRotation
29596 \begin_layout Plain Layout
29597 \begin_inset Caption Standard
29599 \begin_layout Plain Layout
29600 \begin_inset CommandInset label
29602 name "fig:This-is-an-fig"
29606 This is an example figure caption that is longer than one line to show the
29607 different caption format.
29608 Here a self-defined caption format is used.
29621 \begin_layout Standard
29625 \begin_layout Plain Layout
29629 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
29638 \begin_layout Standard
29639 \begin_inset Float table
29646 \begin_layout Plain Layout
29647 \begin_inset Caption Standard
29649 \begin_layout Plain Layout
29650 \begin_inset CommandInset label
29652 name "tab:This-is-an-tab"
29656 This is an example table caption that is longer than one line to show the
29657 different caption format.
29658 Here the standard caption format for tables in this document is used.
29666 \begin_layout Plain Layout
29668 \begin_inset Tabular
29669 <lyxtabular version="3" rows="1" columns="5">
29670 <features tabularvalignment="middle">
29671 <column alignment="center" valignment="top">
29672 <column alignment="center" valignment="top">
29673 <column alignment="center" valignment="top">
29674 <column alignment="center" valignment="top">
29675 <column alignment="center" valignment="top">
29677 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29680 \begin_layout Plain Layout
29686 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29689 \begin_layout Plain Layout
29695 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29698 \begin_layout Plain Layout
29704 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29707 \begin_layout Plain Layout
29713 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29716 \begin_layout Plain Layout
29735 \begin_layout Section
29737 \begin_inset Index idx
29740 \begin_layout Plain Layout
29741 Caption ! Placement
29747 \begin_inset Index idx
29750 \begin_layout Plain Layout
29751 Floats ! Caption Placement
29757 \begin_inset CommandInset label
29759 name "sec:Caption-Placement"
29766 \begin_layout Standard
29767 The common caption placement rule is:
29770 \begin_layout Description
29771 Figure: Caption is set below the figure
29774 \begin_layout Description
29775 Table: Caption is set above the table
29778 \begin_layout Standard
29779 Having the caption above the table is unfortunately not supported in \SpecialChar LaTeX
29782 That means if you are using the document classes
29798 there will be no space between the caption and the table.
29799 To insert the necessary space, load the \SpecialChar LaTeX
29805 \begin_inset Index idx
29808 \begin_layout Plain Layout
29810 -packages ! caption
29815 in your document preamble with the option
29819 \begin_layout Plain Layout
29821 \begin_inset space ~
29825 \begin_inset CommandInset ref
29827 reference "sec:Caption-Formatting"
29831 for more information of the package
29843 \begin_layout Standard
29849 \begin_layout Standard
29855 \begin_inset Index idx
29858 \begin_layout Plain Layout
29860 -packages ! KOMA-Script
29867 article (KOMA-Script)
29875 letter (KOMA-Script)
29879 report (KOMA-Script)
29882 \begin_inset space \thinspace{}
29885 ), you can alternatively to the
29889 package set the document class option
29893 \begin_layout Plain Layout
29894 That option is used in this document.
29902 \begin_layout Standard
29905 captions=tableheading
29908 \begin_layout Standard
29909 In documents with a KOMA-Script document class you can also right-click
29910 on a caption and mark in the context menu if this should be a caption above
29911 or below the table/figure.
29912 This way you can override the document-wide caption placement for certain
29915 \begin_inset space ~
29919 \begin_inset CommandInset ref
29921 reference "tab:A-caption-marked"
29925 is an example where the caption is marked a being below the table while
29927 For comparison the caption in Table
29928 \begin_inset space ~
29932 \begin_inset CommandInset ref
29934 reference "tab:A-standard-table"
29941 \begin_layout Standard
29942 \begin_inset Float table
29949 \begin_layout Plain Layout
29950 \begin_inset Caption Below
29952 \begin_layout Plain Layout
29953 \begin_inset CommandInset label
29955 name "tab:A-caption-marked"
29959 A caption marked as being below the table.
29967 \begin_layout Plain Layout
29969 \begin_inset Tabular
29970 <lyxtabular version="3" rows="3" columns="3">
29971 <features tabularvalignment="middle">
29972 <column alignment="center" valignment="top" width="0pt">
29973 <column alignment="center" valignment="top" width="0pt">
29974 <column alignment="center" valignment="top" width="0pt">
29976 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29979 \begin_layout Plain Layout
29985 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29988 \begin_layout Plain Layout
29994 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29997 \begin_layout Plain Layout
30005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30008 \begin_layout Plain Layout
30014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30017 \begin_layout Plain Layout
30023 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30026 \begin_layout Plain Layout
30034 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30037 \begin_layout Plain Layout
30038 \begin_inset Formula $\int x^{2}dx$
30046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30049 \begin_layout Plain Layout
30050 \begin_inset Formula $\left[\begin{array}{cc}
30053 \end{array}\right]$
30061 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30064 \begin_layout Plain Layout
30065 \begin_inset Formula $1+1=2$
30086 \begin_layout Standard
30087 \begin_inset Float table
30094 \begin_layout Plain Layout
30095 \begin_inset Caption Standard
30097 \begin_layout Plain Layout
30098 \begin_inset CommandInset label
30100 name "tab:A-standard-table"
30104 A standard table caption.
30112 \begin_layout Plain Layout
30114 \begin_inset Tabular
30115 <lyxtabular version="3" rows="3" columns="3">
30116 <features tabularvalignment="middle">
30117 <column alignment="center" valignment="top" width="0pt">
30118 <column alignment="center" valignment="top" width="0pt">
30119 <column alignment="center" valignment="top" width="0pt">
30121 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30124 \begin_layout Plain Layout
30130 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30133 \begin_layout Plain Layout
30139 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30142 \begin_layout Plain Layout
30150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30153 \begin_layout Plain Layout
30159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30162 \begin_layout Plain Layout
30168 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30171 \begin_layout Plain Layout
30179 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30182 \begin_layout Plain Layout
30183 \begin_inset Formula $\int x^{2}dx$
30191 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30194 \begin_layout Plain Layout
30195 \begin_inset Formula $\left[\begin{array}{cc}
30198 \end{array}\right]$
30206 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30209 \begin_layout Plain Layout
30210 \begin_inset Formula $1+1=2$
30231 \begin_layout Standard
30232 \begin_inset VSpace bigskip
30235 It is also possible to set the caption beside a figure or table.
30236 To get this the \SpecialChar LaTeX
30242 \begin_inset Index idx
30245 \begin_layout Plain Layout
30247 -packages ! sidecap
30252 has to be loaded in the document preamble with the line
30255 \begin_layout Standard
30260 usepackage[option]{sidecap}
30263 \begin_layout Standard
30264 If you set no option, the caption is placed on the side of the outer page
30265 margin – to the right on odd pages, to the left on even pages.
30266 You can change the placement to inner margin with the option
30271 To force the placement always to the right or left, use the option
30282 \begin_layout Standard
30286 \begin_layout Plain Layout
30296 \begin_inset Note Note
30299 \begin_layout Plain Layout
30300 The following section will only be displayed when the \SpecialChar LaTeX
30313 \begin_layout Standard
30314 To place in \SpecialChar LyX
30315 the caption of a float on the side, it is necessary to add
30316 these commands to the document preamble:
30319 \begin_layout Standard
30321 \begin_inset CommandInset line
30332 \begin_layout Standard
30339 TabBesBeg}[1][1.0]{%
30340 \begin_inset Newline newline
30344 \begin_inset Phantom HPhantom
30347 \begin_layout Plain Layout
30348 \begin_inset space ~
30363 \begin_inset Newline newline
30367 \begin_inset Phantom HPhantom
30370 \begin_layout Plain Layout
30373 \begin_inset space ~
30388 \begin_inset Newline newline
30392 \begin_inset Phantom HPhantom
30395 \begin_layout Plain Layout
30398 \begin_inset space ~
30408 renewenvironment{table}[1]{
30410 begin{SCtable}[#1]##1}{
30415 \begin_layout Standard
30423 \begin_inset Newline newline
30427 \begin_inset Phantom HPhantom
30430 \begin_layout Plain Layout
30431 \begin_inset space ~
30446 \begin_inset Newline newline
30450 \begin_inset Phantom HPhantom
30453 \begin_layout Plain Layout
30454 \begin_inset space ~
30471 \begin_layout Standard
30478 FigBesBeg}[1][1.0]{%
30479 \begin_inset Newline newline
30483 \begin_inset Phantom HPhantom
30486 \begin_layout Plain Layout
30487 \begin_inset space ~
30502 \begin_inset Newline newline
30506 \begin_inset Phantom HPhantom
30509 \begin_layout Plain Layout
30510 \begin_inset space ~
30525 \begin_inset Newline newline
30529 \begin_inset Phantom HPhantom
30532 \begin_layout Plain Layout
30533 \begin_inset space ~
30543 renewenvironment{figure}[1]{
30545 begin{SCfigure}[#1]##1}{
30550 \begin_layout Standard
30558 \begin_inset Newline newline
30562 \begin_inset Phantom HPhantom
30565 \begin_layout Plain Layout
30566 \begin_inset space ~
30581 \begin_inset Newline newline
30585 \begin_inset Phantom HPhantom
30588 \begin_layout Plain Layout
30589 \begin_inset space ~
30606 \begin_layout Standard
30608 \begin_inset CommandInset line
30619 \begin_layout Standard
30620 The commands allow you to redefine the floats so that the caption is set
30622 For figure floats use the command
30625 \begin_layout Standard
30633 \begin_layout Standard
30634 in \SpecialChar TeX
30635 Code before the float.
30636 And insert the command
30639 \begin_layout Standard
30647 \begin_layout Standard
30648 in \SpecialChar TeX
30649 Code at the point where you want to get back to the original float definitio
30653 \begin_layout Standard
30654 For table floats use the corresponding commands
30657 \begin_layout Standard
30671 \begin_layout Standard
30673 \begin_inset space ~
30677 \begin_inset CommandInset ref
30679 reference "fig:cap-beside-fig"
30684 \begin_inset space ~
30688 \begin_inset CommandInset ref
30690 reference "tab:cap-beside-tab"
30694 are examples where the caption is set beside.
30697 \begin_layout Standard
30698 You can see in the examples that the caption text appears at the top of
30699 the floats for table floats and at the bottom for figure floats.
30700 To change this, you can use the command
30703 \begin_layout Standard
30708 sidecaptionvpos{float type}{placement}
30711 \begin_layout Standard
30712 in the document preamble or in \SpecialChar TeX
30713 Code before the float.
30714 The float type is either
30722 , the placement can be
30723 \begin_inset Quotes eld
30731 \begin_inset Quotes erd
30735 \begin_inset Quotes eld
30743 \begin_inset Quotes erd
30747 \begin_inset Quotes eld
30755 \begin_inset Quotes erd
30759 To have for example the caption of figure floats vertically centered, use
30763 \begin_layout Standard
30768 sidecaptionvpos{figure}{c}
30771 \begin_layout Standard
30772 This was used for Figure
30773 \begin_inset space ~
30777 \begin_inset CommandInset ref
30779 reference "fig:cap-beside-fig-2"
30786 \begin_layout Standard
30787 \begin_inset VSpace medskip
30793 \begin_layout Standard
30794 The default caption width is the width of the image/table.
30795 For thin image/tables, like in Table
30796 \begin_inset space ~
30800 \begin_inset CommandInset ref
30802 reference "tab:cap-beside-tab"
30806 , this leads to captions that are too thin.
30807 You can increase the width by specifying a factor that will be multiplied
30808 with the image/table width to get the caption width.
30809 The caption width will automatically be recalculated in case it would protrude
30810 over the page or column margin due to the specified width.
30815 can either be given as optional argument for
30824 \begin_layout Standard
30832 \begin_layout Standard
30833 or in the definition of
30843 with another value.
30844 If you do the latter, your factor will be the default if
30850 is used without an argument.
30852 \begin_inset space ~
30856 \begin_inset CommandInset ref
30858 reference "tab:cap-beside-tab-wider"
30862 the factor 5 was used.
30865 \begin_layout Standard
30866 \begin_inset Note Greyedout
30869 \begin_layout Plain Layout
30874 For floats with captions set beside, you cannot use the float placement
30878 \begin_inset space ~
30883 because it is not supported by
30895 \begin_layout Standard
30896 \begin_inset VSpace medskip
30899 For more information about the package
30903 we refer to its documentation
30904 \begin_inset CommandInset citation
30914 \begin_layout Standard
30915 \begin_inset Note Greyedout
30918 \begin_layout Plain Layout
30923 The \SpecialChar LaTeX
30929 \begin_inset Index idx
30932 \begin_layout Plain Layout
30939 , described in section
30940 \begin_inset space ~
30944 \begin_inset CommandInset ref
30946 reference "subsec:Reference-Position"
30950 , has no effect on floats with the caption set beside.
30958 \begin_layout Standard
30962 \begin_layout Plain Layout
30974 \begin_layout Standard
30975 \begin_inset Float figure
30982 \begin_layout Plain Layout
30983 \begin_inset Graphics
30984 filename clipart/3D-structure-distort.pdf
30986 scaleBeforeRotation
30993 \begin_layout Plain Layout
30994 \begin_inset Caption Standard
30996 \begin_layout Plain Layout
30997 \begin_inset CommandInset label
30999 name "fig:cap-beside-fig"
31003 This is a caption beside a figure.
31016 \begin_layout Standard
31020 \begin_layout Plain Layout
31032 \begin_layout Standard
31036 \begin_layout Plain Layout
31048 \begin_layout Standard
31049 \begin_inset Float table
31056 \begin_layout Plain Layout
31057 \begin_inset Caption Standard
31059 \begin_layout Plain Layout
31060 \begin_inset CommandInset label
31062 name "tab:cap-beside-tab"
31066 This is a caption beside a table.
31074 \begin_layout Plain Layout
31075 \begin_inset Tabular
31076 <lyxtabular version="3" rows="4" columns="5">
31077 <features tabularvalignment="middle">
31078 <column alignment="center" valignment="top">
31079 <column alignment="center" valignment="top">
31080 <column alignment="center" valignment="top">
31081 <column alignment="center" valignment="top">
31082 <column alignment="center" valignment="top">
31084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31087 \begin_layout Plain Layout
31093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31096 \begin_layout Plain Layout
31102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31105 \begin_layout Plain Layout
31111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31114 \begin_layout Plain Layout
31120 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31123 \begin_layout Plain Layout
31131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31134 \begin_layout Plain Layout
31140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31143 \begin_layout Plain Layout
31149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31152 \begin_layout Plain Layout
31158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31161 \begin_layout Plain Layout
31167 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31170 \begin_layout Plain Layout
31178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31181 \begin_layout Plain Layout
31187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31190 \begin_layout Plain Layout
31196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31199 \begin_layout Plain Layout
31205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31208 \begin_layout Plain Layout
31214 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31217 \begin_layout Plain Layout
31225 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31228 \begin_layout Plain Layout
31234 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31237 \begin_layout Plain Layout
31243 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31246 \begin_layout Plain Layout
31252 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31255 \begin_layout Plain Layout
31261 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31264 \begin_layout Plain Layout
31283 \begin_layout Standard
31287 \begin_layout Plain Layout
31299 \begin_layout Standard
31303 \begin_layout Plain Layout
31316 \begin_layout Plain Layout
31320 sidecaptionvpos{figure}{c}
31326 \begin_inset Float figure
31333 \begin_layout Plain Layout
31334 \begin_inset Graphics
31335 filename clipart/3D-structure-distort.pdf
31337 scaleBeforeRotation
31344 \begin_layout Plain Layout
31345 \begin_inset Caption Standard
31347 \begin_layout Plain Layout
31348 \begin_inset CommandInset label
31350 name "fig:cap-beside-fig-2"
31354 This is a vertically centered caption beside a figure.
31367 \begin_layout Standard
31371 \begin_layout Plain Layout
31383 \begin_layout Standard
31387 \begin_layout Plain Layout
31399 \begin_layout Standard
31400 \begin_inset Float table
31407 \begin_layout Plain Layout
31408 \begin_inset Caption Standard
31410 \begin_layout Plain Layout
31411 \begin_inset CommandInset label
31413 name "tab:cap-beside-tab-wider"
31417 This caption is wider than the one in Table
31418 \begin_inset space ~
31422 \begin_inset CommandInset ref
31424 reference "tab:cap-beside-tab"
31436 \begin_layout Plain Layout
31437 \begin_inset Tabular
31438 <lyxtabular version="3" rows="4" columns="5">
31439 <features tabularvalignment="middle">
31440 <column alignment="center" valignment="top">
31441 <column alignment="center" valignment="top">
31442 <column alignment="center" valignment="top">
31443 <column alignment="center" valignment="top">
31444 <column alignment="center" valignment="top">
31446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31449 \begin_layout Plain Layout
31455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31458 \begin_layout Plain Layout
31464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31467 \begin_layout Plain Layout
31473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31476 \begin_layout Plain Layout
31482 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31485 \begin_layout Plain Layout
31493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31496 \begin_layout Plain Layout
31502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31505 \begin_layout Plain Layout
31511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31514 \begin_layout Plain Layout
31520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31523 \begin_layout Plain Layout
31529 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31532 \begin_layout Plain Layout
31540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31543 \begin_layout Plain Layout
31549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31552 \begin_layout Plain Layout
31558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31561 \begin_layout Plain Layout
31567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31570 \begin_layout Plain Layout
31576 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31579 \begin_layout Plain Layout
31587 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31590 \begin_layout Plain Layout
31596 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31599 \begin_layout Plain Layout
31605 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31608 \begin_layout Plain Layout
31614 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31617 \begin_layout Plain Layout
31623 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31626 \begin_layout Plain Layout
31645 \begin_layout Standard
31649 \begin_layout Plain Layout
31661 \begin_layout Standard
31665 \begin_layout Plain Layout
31675 \begin_inset Note Note
31678 \begin_layout Plain Layout
31679 The following will be displayed when the \SpecialChar LaTeX
31692 \begin_layout Standard
31693 You need to install the \SpecialChar LaTeX
31698 to see the following part of this section in the output.
31701 \begin_layout Standard
31705 \begin_layout Plain Layout
31717 \begin_layout Section
31719 \begin_inset Index idx
31722 \begin_layout Plain Layout
31723 Floats ! Float Lists
31731 \begin_layout Standard
31732 Similar to the table of contents where the sections of the document are
31733 listed, there are listings for all float types, like the figures of the
31735 You can insert them via the
31737 Insert\SpecialChar menuseparator
31739 \begin_inset space ~
31743 \begin_inset space ~
31751 \begin_layout Standard
31752 The list entries are the float captions or its short title, the float number,
31753 and the page number where they appear in the document.
31756 \begin_layout Standard
31757 You can find the list of figures and tables at the end of this document.
31760 \begin_layout Chapter
31764 \begin_layout Section
31767 \begin_inset Index idx
31770 \begin_layout Plain Layout
31771 Notes ! \SpecialChar LyX
31780 \begin_layout Standard
31781 Notes are inserted with the toolbar button
31789 Insert\SpecialChar menuseparator
31793 There are three types of notes:
31796 \begin_layout Description
31799 \begin_inset space ~
31802 Note This note type is for internal notes that won't appear in the output.
31803 Its note-box looks like this:
31804 \begin_inset Newline newline
31808 \begin_inset Newline newline
31812 \begin_inset Graphics
31813 filename clipart/LyXNoteImage.png
31815 scaleBeforeRotation
31820 \begin_inset Note Note
31823 \begin_layout Plain Layout
31824 This is text in a note box that doesn't appear in the output.
31832 \begin_layout Description
31833 Comment This note also doesn't appear in the output but it appears as \SpecialChar LaTeX
31835 when you export the document to \SpecialChar LaTeX
31838 File\SpecialChar menuseparator
31839 Export\SpecialChar menuseparator
31841 \begin_inset space ~
31844 (pdflatex) / (plain)
31847 Its note-box looks like this:
31848 \begin_inset Newline newline
31852 \begin_inset Newline newline
31856 \begin_inset Graphics
31857 filename clipart/CommentNoteImage.png
31859 scaleBeforeRotation
31864 \begin_inset Note Comment
31867 \begin_layout Plain Layout
31868 This is text in a note box that only appears as comment in \SpecialChar LaTeX
31877 \begin_layout Description
31879 \begin_inset space ~
31882 Out This note will appear in the output as grey text.
31883 Its note-box looks like this:
31884 \begin_inset Newline newline
31888 \begin_inset Newline newline
31892 \begin_inset Graphics
31893 filename clipart/GreyedOutNoteImage.png
31895 scaleBeforeRotation
31900 \begin_inset Newline newline
31907 \begin_layout Plain Layout
31911 renewenvironment{lyxgreyedout}
31914 \begin_layout Plain Layout
31918 textcolor[gray]{0.8}
31928 \begin_inset Note Greyedout
31931 \begin_layout Plain Layout
31932 This is text of a comment that appears grey in the output.
31941 \begin_layout Plain Layout
31945 renewenvironment{lyxgreyedout}
31948 \begin_layout Plain Layout
31962 \begin_inset Note Note
31965 \begin_layout Plain Layout
31966 The greyed out note is here redefined to show it with the original \SpecialChar LyX
31968 because greyed out notes are redefined in the preamble of this document,
31969 as described below, to have blue text.
31975 \begin_inset Newline newline
31979 \begin_inset Newline newline
31982 As you can see in the example, the first line of greyed out notes is a bit
31983 indented and greyed out notes can have footnotes.
31986 \begin_layout Standard
31987 \begin_inset VSpace bigskip
31990 When you use the toolbar button
32000 \begin_inset space ~
32006 You can switch between the three note types by right-clicking on the note-box.
32011 If you want to turn existing text into a note, mark it and click on the
32025 To change a note to text, press the backspace key when the cursor is in
32026 the first position of a note, or press the delete key when the cursor is
32027 in the very last position of the note, respectively.
32030 \begin_layout Standard
32031 \begin_inset VSpace bigskip
32034 You can change the text color of the greyed out notes in the menu
32036 Document\SpecialChar menuseparator
32037 Settings\SpecialChar menuseparator
32043 \begin_layout Section
32045 \begin_inset CommandInset label
32047 name "sec:Footnotes"
32052 \begin_inset Index idx
32055 \begin_layout Plain Layout
32062 \begin_inset Index idx
32065 \begin_layout Plain Layout
32074 \begin_layout Standard
32075 Footnotes can be inserted using the toolbar button
32078 arg "footnote-insert"
32083 Insert\SpecialChar menuseparator
32087 You will then see the following footnote-box:
32088 \begin_inset Graphics
32089 filename clipart/footnote.png
32091 scaleBeforeRotation
32099 where you can enter the footnote text.
32100 If you want to turn existing text into a footnote, mark it and click on
32126 key when the cursor is in the first position of a
32138 key when the cursor is in the very last position of the
32149 \begin_layout Standard
32150 Here is an example footnote:
32158 \begin_layout Plain Layout
32159 \begin_inset CommandInset label
32161 name "foot:This-is-an"
32165 This is an example footnote.
32178 \begin_layout Plain Layout
32182 newcounter{MyRepeatFoot}
32185 \begin_layout Plain Layout
32189 setcounter{MyRepeatFoot}{
32199 \begin_layout Standard
32200 The footnote will appear in the output as a superscript number at the text
32201 position where the footnote box is placed.
32202 The footnote text is placed at the bottom of the current page.
32203 The footnote number is calculated by \SpecialChar LaTeX
32204 ; the numbers are consecutive.
32205 Whether the footnote number is reset for every chapter depends on your
32209 \begin_layout Standard
32210 Footnotes can be referenced like floats: Insert a label into the footnote
32211 and cross-reference this label in the text as described in section
32212 \begin_inset space ~
32216 \begin_inset CommandInset ref
32218 reference "sec:Referencing-Floats"
32223 \begin_inset Newline newline
32226 This is a cross-reference of Footnote
32227 \begin_inset space ~
32231 \begin_inset CommandInset ref
32233 reference "foot:This-is-an"
32240 \begin_layout Standard
32241 \begin_inset VSpace defskip
32244 Footnotes in title environments are usually not numbered with symbols and
32245 they cannot contain several paragraphs.
32246 See for example the footnote in the titling of this document.
32249 \begin_layout Standard
32250 Footnotes in multi-page tables are described in section
32251 \begin_inset space ~
32255 \begin_inset CommandInset ref
32257 reference "subsec:Footnotes-in-Multi-page"
32264 \begin_layout Standard
32265 \begin_inset VSpace defskip
32271 \begin_layout Standard
32272 Footnotes in minipage boxes are printed, but inside the box and with a different
32273 numbering because a minipage box is like a page inside a page.
32274 (For more about minipages, see section
32275 \begin_inset space ~
32279 \begin_inset CommandInset ref
32281 reference "sec:Minipages"
32285 .) To get a footnote in the minipage that is output at the bottom of the
32286 page like normal footnotes use this method: Instead of the footnote the
32293 is inserted as \SpecialChar TeX
32295 The text of the footnote is entered as an argument of the \SpecialChar TeX
32303 after the minipage.
32304 \begin_inset Newline newline
32307 This was done for the following minipage with the command
32310 \begin_layout Standard
32317 Footnote outside the minipage.
32322 \begin_layout Standard
32323 \begin_inset Box Frameless
32333 height_special "totalheight"
32338 backgroundcolor "none"
32341 \begin_layout Plain Layout
32342 This an example text in a minipage.
32346 \begin_layout Plain Layout
32347 Footnote in the minipage.
32355 \begin_layout Plain Layout
32356 This an example text in a minipage.
32360 \begin_layout Plain Layout
32377 \begin_layout Standard
32381 \begin_layout Plain Layout
32390 Footnote outside the minipage.
32394 \begin_layout Plain Layout
32404 \begin_layout Standard
32405 \begin_inset VSpace defskip
32411 \begin_layout Standard
32412 To refer to the same footnote several times without printing the footnote
32413 text every time, use the command
32417 footnotemark[number]
32419 in \SpecialChar TeX
32421 \begin_inset Newline newline
32424 As you do not know the number of the repeating footnote while you are writing
32425 the text, you have to store its number.
32426 For the following footnote mark example, these commands were inserted in
32428 code after Footnote
32429 \begin_inset space ~
32433 \begin_inset CommandInset ref
32435 reference "foot:This-is-an"
32439 to store the footnote number:
32442 \begin_layout Standard
32447 newcounter{MyRepeatFoot}
32448 \begin_inset Newline newline
32453 setcounter{MyRepeatFoot}{
32458 \begin_layout Standard
32459 The footnote mark was then created with this command:
32462 \begin_layout Standard
32472 \begin_layout Standard
32473 Here is a repeated footnote:
32481 \begin_layout Plain Layout
32495 \begin_layout Standard
32496 If you want to repeat the previous footnote, you can omit the storage of
32497 the footnote number and just use this command instead:
32500 \begin_layout Standard
32510 \begin_layout Standard
32511 Here is another repeated footnote:
32519 \begin_layout Plain Layout
32533 \begin_layout Subsection
32535 \begin_inset CommandInset label
32537 name "subsec:Footnote-Numbering"
32542 \begin_inset Index idx
32545 \begin_layout Plain Layout
32546 Footnotes ! Numbering
32554 \begin_layout Standard
32555 To reset the footnote number back to 1 after each section
32557 , add this command to your document preamble:
32560 \begin_layout Standard
32565 @addtoreset{footnote}{section}
32568 \begin_layout Standard
32569 \begin_inset VSpace bigskip
32572 The following preamble command changes the footnote numbering style to small
32576 \begin_layout Standard
32588 \begin_layout Standard
32592 \begin_layout Plain Layout
32605 This is a footnote with roman numbering:
32609 \begin_layout Plain Layout
32610 This is an example footnote with roman numbering.
32618 \begin_layout Standard
32619 To change the numbering style to capital roman numerals replace in the command
32634 \begin_inset Quotes eld
32638 \begin_inset Quotes erd
32641 footnotes with capital or small Latin letters use
32655 \begin_inset Quotes eld
32659 \begin_inset Quotes erd
32662 footnotes with symbols use
32671 \begin_layout Standard
32672 \begin_inset Note Greyedout
32675 \begin_layout Plain Layout
32680 You can only number 26 footnotes with Latin letters, because this numbering
32681 is limited to single letters.
32687 \begin_inset Newline newline
32691 \begin_inset Note Greyedout
32694 \begin_layout Plain Layout
32699 You can only number 9 footnotes with symbols.
32707 \begin_layout Standard
32708 To return to the default numbering style after you have changed to another
32721 in the command above.
32725 \begin_layout Plain Layout
32741 \begin_layout Standard
32742 \begin_inset VSpace bigskip
32748 \begin_layout Standard
32749 If you want to have footnotes numbered in the scheme
32750 \begin_inset Quotes eld
32754 \begin_inset Quotes erd
32757 , add the following command to your document preamble:
32760 \begin_layout Standard
32765 numberwithin{footnote}{chapter}
32768 \begin_layout Standard
32769 To be able to use the command
32778 \begin_inset space ~
32783 in the document settings the option
32786 \begin_inset space ~
32790 \begin_inset space ~
32794 \begin_inset space ~
32802 \begin_layout Standard
32806 \begin_layout Plain Layout
32810 numberwithin{footnote}{chapter}
32815 This is another example footnote:
32821 \begin_layout Plain Layout
32822 This is a footnote numbered in the scheme
32823 \begin_inset Quotes eld
32827 \begin_inset Quotes erd
32841 \begin_layout Plain Layout
32857 \begin_layout Standard
32858 \begin_inset Note Greyedout
32861 \begin_layout Plain Layout
32872 always prints out the footnote number as arabic number; previous redefinitions
32873 to get non-arabic numbers are overwritten.
32881 \begin_layout Standard
32882 So to get for example the scheme
32883 \begin_inset Quotes eld
32889 \begin_inset Quotes erd
32892 , use this command instead of
32901 \begin_layout Standard
32915 \begin_layout Subsection
32917 \begin_inset Index idx
32920 \begin_layout Plain Layout
32921 Footnotes ! Placement
32929 \begin_layout Standard
32930 If you have several footnotes in one page, they appear without vertical
32931 space between them at the bottom of the page.
32932 To make them more readable you can e.
32933 \begin_inset space \thinspace{}
32937 \begin_inset space \space{}
32941 \begin_inset space \thinspace{}
32944 mm space with the following preamble command:
32947 \begin_layout Standard
32957 \begin_inset Newline newline
32971 \begin_layout Standard
32972 \begin_inset VSpace bigskip
32975 In a two-column document the footnotes appear at the bottom of every column,
32977 \begin_inset space ~
32981 \begin_inset CommandInset ref
32983 reference "fig:Standard-footnote-placement"
32988 If the footnotes should only appear at the bottom of the right column,
32990 \begin_inset space ~
32994 \begin_inset CommandInset ref
32996 reference "fig:Footnote-placement-in"
33000 , use the \SpecialChar LaTeX
33006 \begin_inset Index idx
33009 \begin_layout Plain Layout
33011 -packages ! ftnright
33016 with this command in the document preamble:
33019 \begin_layout Standard
33024 usepackage{ftnright}
33027 \begin_layout Standard
33028 \begin_inset Float figure
33035 \begin_layout Plain Layout
33038 \begin_inset Box Boxed
33048 height_special "totalheight"
33053 backgroundcolor "none"
33056 \begin_layout Plain Layout
33057 \begin_inset Graphics
33058 filename clipart/without_fntright.pdf
33060 scaleBeforeRotation
33072 \begin_layout Plain Layout
33073 \begin_inset Caption Standard
33075 \begin_layout Plain Layout
33076 \begin_inset CommandInset label
33078 name "fig:Standard-footnote-placement"
33082 Standard footnote placement in two-column documents.
33095 \begin_layout Standard
33096 \begin_inset Float figure
33103 \begin_layout Plain Layout
33106 \begin_inset Box Boxed
33116 height_special "totalheight"
33121 backgroundcolor "none"
33124 \begin_layout Plain Layout
33125 \begin_inset Graphics
33126 filename clipart/with_fntright.pdf
33128 scaleBeforeRotation
33140 \begin_layout Plain Layout
33141 \begin_inset Caption Standard
33143 \begin_layout Plain Layout
33144 \begin_inset CommandInset label
33146 name "fig:Footnote-placement-in"
33150 Footnote placement in two-column documents when the \SpecialChar LaTeX
33168 \begin_layout Standard
33169 \begin_inset VSpace bigskip
33172 In some scientific literature it is usual to collect the footnotes and print
33173 them in a separate paragraph at the end of a section, as in Figure
33174 \begin_inset space ~
33178 \begin_inset CommandInset ref
33180 reference "fig:Endnotes"
33185 They are then called
33186 \begin_inset Quotes eld
33190 \begin_inset Quotes erd
33194 \begin_inset Index idx
33197 \begin_layout Plain Layout
33203 To use endnotes instead of footnotes in your document, load in the menu
33206 Document\SpecialChar menuseparator
33207 Settings\SpecialChar menuseparator
33213 \begin_inset space ~
33217 \begin_inset space ~
33223 To insert the collected footnotes, insert the command
33226 \begin_layout Standard
33234 \begin_layout Standard
33235 in \SpecialChar TeX
33236 Code at the end of a section or chapter.
33239 \begin_layout Standard
33240 \begin_inset Float figure
33247 \begin_layout Plain Layout
33250 \begin_inset Box Boxed
33260 height_special "totalheight"
33265 backgroundcolor "none"
33268 \begin_layout Plain Layout
33269 \begin_inset Graphics
33270 filename clipart/endnotes.pdf
33272 scaleBeforeRotation
33284 \begin_layout Plain Layout
33285 \begin_inset Caption Standard
33287 \begin_layout Plain Layout
33288 \begin_inset CommandInset label
33290 name "fig:Endnotes"
33294 Endnotes – footnotes are printed in a separate paragraph at the end of sections
33308 \begin_layout Standard
33309 \begin_inset VSpace medskip
33312 The paragraph heading for the endnotes isn't automatically translated into
33313 the document language, this must be done manually.
33314 The following preamble command translates the default English
33315 \begin_inset Quotes eld
33319 \begin_inset Quotes erd
33323 \begin_inset Quotes eld
33327 \begin_inset Quotes erd
33333 \begin_layout Standard
33340 notesname}{Anmerkungen}
33343 \begin_layout Standard
33344 \begin_inset VSpace medskip
33347 The numbering of endnotes can be changed like the footnote numbering as
33348 described in section
33349 \begin_inset space ~
33353 \begin_inset CommandInset ref
33355 reference "subsec:Footnote-Numbering"
33359 ; just replace the command
33372 To reset the endnote number use the command
33378 as described in section
33379 \begin_inset space ~
33383 \begin_inset CommandInset ref
33385 reference "subsec:Footnote-Numbering"
33389 and replace the command parameter
33400 \begin_layout Standard
33401 For endnotes there is the command
33405 endnotemark[number]
33407 similar to the command
33413 , that is described in section
33414 \begin_inset space ~
33418 \begin_inset CommandInset ref
33420 reference "sec:Footnotes"
33427 \begin_layout Standard
33428 \begin_inset VSpace bigskip
33431 Footnotes can also be placed in the page margin and the footnote text alignment
33432 can be changed, see the \SpecialChar LaTeX
33438 \begin_inset Index idx
33441 \begin_layout Plain Layout
33443 -packages ! footmisc
33449 \begin_inset CommandInset citation
33456 for more information about this.
33459 \begin_layout Standard
33460 For various further footnote formatting issues have a look at \SpecialChar LaTeX
33462 \begin_inset CommandInset citation
33464 key "latexcompanion,latexguide,latexbook"
33475 \begin_inset Index idx
33478 \begin_layout Plain Layout
33480 -packages ! KOMA-Script
33485 document class, you can adjust all footnote settings using class-specific
33487 \begin_inset CommandInset citation
33497 \begin_layout Section
33499 \begin_inset Index idx
33502 \begin_layout Plain Layout
33503 Notes ! Margin Notes
33511 \begin_layout Standard
33512 Margin notes look and behave in \SpecialChar LyX
33514 They are inserted via the menu
33516 Insert\SpecialChar menuseparator
33518 \begin_inset space ~
33523 or the toolbar button
33526 arg "marginalnote-insert"
33540 \begin_inset Quotes eld
33544 \begin_inset Quotes erd
33547 appears where you can enter the text of the margin note.
33550 \begin_layout Standard
33551 At the side is an example margin note.
33556 \begin_inset Marginal
33559 \begin_layout Plain Layout
33560 This is a margin note.
33568 \begin_layout Standard
33569 Margin notes appear at the right side in single-sided documents.
33570 In double-sided documents they appear in the outer margin – left on even
33571 pages, right on odd pages.
33572 The text of margin notes is aligned opposite to the outer margin – right-aligne
33573 d when the note appears in the left margin.
33574 The first line of the margin note is placed at the position of the text
33575 line where it is inserted in the document.
33578 \begin_layout Standard
33579 \begin_inset VSpace bigskip
33582 To place the margin note in the inner margin, add the command
33585 \begin_layout Standard
33593 \begin_layout Standard
33594 in \SpecialChar TeX
33595 Code before a margin note.
33596 The new placement is valid for all subsequent margin notes.
33601 \begin_layout Plain Layout
33611 \begin_inset Marginal
33614 \begin_layout Plain Layout
33615 This is a margin note in the inner margin.
33623 \begin_inset Newline newline
33629 \begin_inset Note Greyedout
33632 \begin_layout Plain Layout
33637 There is often not enough space in the inner margin so that the notes are
33638 not correctly displayed in the output.
33646 \begin_layout Standard
33647 To return to the default placement insert the command
33650 \begin_layout Standard
33658 \begin_layout Standard
33659 in \SpecialChar TeX
33664 \begin_layout Plain Layout
33674 \begin_inset Note Greyedout
33677 \begin_layout Plain Layout
33682 The command is ignored when it is within a paragraph where also the command
33697 \begin_layout Standard
33698 \begin_inset VSpace bigskip
33705 \begin_inset Marginal
33708 \begin_layout Plain Layout
33709 AVeryLongMarginParWord that isn't hyphenated.
33717 Similar to the case described in section
33718 \begin_inset space ~
33722 \begin_inset CommandInset ref
33724 reference "subsec:Multiple-Lines-in"
33728 , long words cannot be hyphenated when they are the first word in a margin
33730 To avoid this, insert 0
33731 \begin_inset space \thinspace{}
33734 pt horizontal space before the word
33739 \begin_inset Marginal
33742 \begin_layout Plain Layout
33743 \begin_inset space \hspace*{}
33747 AVeryLongMarginParWord that is hyphenated.
33755 \begin_layout Standard
33756 \begin_inset VSpace bigskip
33762 \begin_layout Standard
33763 \begin_inset Note Greyedout
33766 \begin_layout Plain Layout
33771 Margin notes can normally not be used inside tables, floats, and footnotes.
33779 \begin_layout Standard
33780 \begin_inset VSpace bigskip
33786 \begin_layout Standard
33790 \begin_layout Plain Layout
33800 \begin_inset Note Note
33803 \begin_layout Plain Layout
33804 The following section will only be displayed when the \SpecialChar LaTeX
33817 \begin_layout Standard
33818 This restriction can be evaded by using the \SpecialChar LaTeX
33824 \begin_inset Index idx
33827 \begin_layout Plain Layout
33829 -packages ! marginnote
33835 By adding these two lines to your document preamble, the command used by
33837 for margin notes is redefined to use the command provided by the
33844 \begin_layout Standard
33849 usepackage{marginnote}
33850 \begin_inset Newline newline
33862 \begin_layout Standard
33863 This is also used in this document because
33867 has another useful feature: You can set a vertical offset for the note.
33868 This is often needed when too many margin notes are too close together
33869 or for a better page layout.
33870 The offset is set in \SpecialChar LyX
33871 as \SpecialChar TeX
33872 Code directly after the margin note in the scheme
33875 \begin_layout Standard
33881 \begin_layout Standard
33882 where the offset is a length with one of the units listed in Table
33883 \begin_inset space ~
33887 \begin_inset CommandInset ref
33889 reference "tab:Units"
33894 A negative value shifts the note up, a positive value shifts it down.
33898 For example the margin note beside this text line is shifted up 1.5
33899 \begin_inset space \thinspace{}
33902 cm with the \SpecialChar TeX
33904 \begin_inset Quotes eld
33914 \begin_inset Quotes erd
33918 \begin_inset Marginal
33921 \begin_layout Plain Layout
33922 This margin note is shifted up 1.5
33923 \begin_inset space \thinspace{}
33926 cm from its original position.
33938 \begin_layout Plain Layout
33948 \begin_layout Standard
33949 \begin_inset VSpace medskip
33956 you can also change the alignment of the text in the margin note.
33957 For example the commands
33960 \begin_layout Standard
33967 raggedleftmarginnote}{
33970 \begin_inset Newline newline
33977 raggedrightmarginnote}{
33982 \begin_layout Standard
33983 set the alignment to centered.
33988 raggedleftmarginnote
33990 denotes margin notes that appear at the left side.
33997 \begin_layout Plain Layout
34003 raggedleftmarginnote}{
34008 \begin_layout Plain Layout
34014 raggedrightmarginnote}{
34022 \begin_inset Marginal
34025 \begin_layout Plain Layout
34026 The text of this margin note is centered.
34037 \begin_layout Standard
34044 raggedleftmarginnote}{
34047 \begin_inset Newline newline
34054 raggedrightmarginnote}{
34063 \begin_layout Plain Layout
34069 raggedleftmarginnote}{
34074 \begin_layout Plain Layout
34080 raggedrightmarginnote}{
34090 \begin_layout Standard
34091 \begin_inset VSpace medskip
34094 For the other features of
34098 refer to its documentation
34099 \begin_inset CommandInset citation
34109 \begin_layout Standard
34110 \begin_inset VSpace bigskip
34113 You can adjust the layout of margin notes by changing its definition.
34114 To create for example a header for all margin notes with the underlined,
34115 sans-serif, and bold header text
34116 \begin_inset Quotes eld
34128 \begin_inset Quotes erd
34131 , add this to your document preamble:
34134 \begin_layout Standard
34144 \begin_inset Newline newline
34154 \begin_inset Newline newline
34158 \begin_inset Phantom HPhantom
34161 \begin_layout Plain Layout
34164 \begin_inset space ~
34180 underbar{Attention!}}}%
34181 \begin_inset Newline newline
34185 \begin_inset Phantom HPhantom
34188 \begin_layout Plain Layout
34191 \begin_inset space ~
34208 \begin_layout Standard
34215 \begin_layout Plain Layout
34226 \begin_layout Plain Layout
34237 \begin_layout Plain Layout
34245 underbar{Attention!}}}%
34248 \begin_layout Plain Layout
34262 \begin_inset Marginal
34265 \begin_layout Plain Layout
34266 This is a margin note with a defined heading.
34278 \begin_layout Plain Layout
34292 \begin_layout Plain Layout
34309 \begin_inset Note Note
34312 \begin_layout Plain Layout
34313 The margin note format is changed only for this example.
34321 \begin_layout Standard
34325 \begin_layout Plain Layout
34335 \begin_inset Note Note
34338 \begin_layout Plain Layout
34339 The following will be displayed when the \SpecialChar LaTeX
34352 \begin_layout Standard
34353 You need to install the \SpecialChar LaTeX
34358 to see the following part of this section in the output.
34361 \begin_layout Standard
34365 \begin_layout Plain Layout
34377 \begin_layout Chapter
34381 \begin_layout Section
34383 \begin_inset Index idx
34386 \begin_layout Plain Layout
34387 Boxes ! Introduction
34395 \begin_layout Standard
34396 Boxes are used to format a block of text.
34397 Boxes can be used to write documents with multiple languages, see section
34398 \begin_inset space ~
34402 \begin_inset CommandInset ref
34404 reference "sec:Minipages"
34408 , to frame texts, see section
34409 \begin_inset space ~
34413 \begin_inset CommandInset ref
34415 reference "sec:Decoration"
34419 , to prevent words from being hyphenated, see section
34420 \begin_inset space ~
34424 \begin_inset CommandInset ref
34426 reference "sec:Prevent-Hyphenation"
34430 , to align text, see section
34431 \begin_inset space ~
34435 \begin_inset CommandInset ref
34437 reference "subsec:Vertical-Alignment"
34441 , or to set the background color of texts, see section
34442 \begin_inset space ~
34446 \begin_inset CommandInset ref
34448 reference "sec:Colored-Boxes"
34455 \begin_layout Standard
34456 Boxes can be inserted with the menu
34458 Insert\SpecialChar menuseparator
34461 or the toolbar button
34464 arg "box-insert Frameless"
34468 A grey box with the label
34473 \begin_inset Graphics
34474 filename clipart/BoxInsetDefault.png
34476 scaleBeforeRotation
34481 The box type can be specified by right-clicking on the box and selecting
34487 The box dialog offers the
34490 \begin_inset space ~
34512 is the default for new boxes and is explained in section
34513 \begin_inset space ~
34517 \begin_inset CommandInset ref
34519 reference "sec:Minipages"
34527 is described in section
34528 \begin_inset space ~
34532 \begin_inset CommandInset ref
34534 reference "sec:Parboxes"
34543 \begin_inset CommandInset ref
34545 reference "sec:Prevent-Hyphenation"
34552 \begin_layout Standard
34553 Boxes are not numbered and can therefore not be referenced like floats or
34557 \begin_layout Standard
34558 \begin_inset Note Greyedout
34561 \begin_layout Plain Layout
34566 Boxes must not be the item in an
34582 \begin_layout Standard
34583 \begin_inset Note Greyedout
34586 \begin_layout Plain Layout
34591 For an unknown reason you can only set the
34594 \begin_inset space ~
34603 when you use a framed box.
34607 \begin_inset space ~
34612 type and without frames are explained in section
34613 \begin_inset space ~
34617 \begin_inset CommandInset ref
34619 reference "sec:Prevent-Hyphenation"
34631 \begin_layout Section
34633 \begin_inset CommandInset label
34635 name "sec:Box-Dialog"
34640 \begin_inset Index idx
34643 \begin_layout Plain Layout
34652 \begin_layout Subsection
34654 \begin_inset Index idx
34657 \begin_layout Plain Layout
34666 \begin_layout Standard
34667 In the box dialog you can adjust the box geometry in the fields
34676 The available units for the geometry are explained in Table
34677 \begin_inset space ~
34681 \begin_inset CommandInset ref
34683 reference "tab:Units"
34692 offers the following additional sizes:
34695 \begin_layout Description
34696 Depth This is the plain text
34697 \begin_inset Quotes eld
34701 \begin_inset Quotes erd
34705 It ignores the total depth when there are multiple text lines in the box:
34706 \begin_inset Newline newline
34710 \begin_inset Newline newline
34714 \begin_inset Newline newline
34718 \begin_inset Box Boxed
34728 height_special "depth"
34733 backgroundcolor "none"
34736 \begin_layout Plain Layout
34738 Box height set to 1
34739 \begin_inset space \thinspace{}
34748 \begin_inset Newline newline
34752 \begin_inset Newline newline
34758 \begin_layout Description
34759 Height This is the height of the text that is inside the box.
34761 \begin_inset space \thinspace{}
34765 \begin_inset space \space{}
34768 2 for this size will set the box height to 2
34769 \begin_inset space ~
34772 times the text height:
34773 \begin_inset Box Boxed
34783 height_special "height"
34788 backgroundcolor "none"
34791 \begin_layout Plain Layout
34793 Box height set to 2
34794 \begin_inset space \thinspace{}
34805 \begin_layout Description
34807 \begin_inset space ~
34810 Height This is the Height
34811 \begin_inset space \thinspace{}
34815 \begin_inset space \thinspace{}
34819 \begin_inset Box Boxed
34829 height_special "totalheight"
34834 backgroundcolor "none"
34837 \begin_layout Plain Layout
34839 Box height set to 1
34840 \begin_inset space \thinspace{}
34844 \begin_inset space ~
34855 \begin_layout Description
34856 Width This sets the width of the box as height:
34857 \begin_inset Box Boxed
34867 height_special "width"
34872 backgroundcolor "none"
34875 \begin_layout Plain Layout
34877 Box height set to 1
34878 \begin_inset space \thinspace{}
34889 \begin_layout Subsection
34891 \begin_inset Index idx
34894 \begin_layout Plain Layout
34903 \begin_layout Standard
34904 When you have chosen an
34907 \begin_inset space ~
34912 , the vertical box alignment can be:
34915 \begin_layout Description
34916 Top This is an example text line.
34918 \begin_inset Box Boxed
34928 height_special "totalheight"
34933 backgroundcolor "none"
34936 \begin_layout Plain Layout
34938 This box is top-aligned.
34943 This is an example text line.
34946 \begin_layout Description
34947 Middle This is an example text line.
34949 \begin_inset Box Boxed
34959 height_special "totalheight"
34964 backgroundcolor "none"
34967 \begin_layout Plain Layout
34969 This box is middle-aligned.
34974 This is an example text line.
34977 \begin_layout Description
34978 Bottom This is an example text line.
34980 \begin_inset Box Boxed
34990 height_special "totalheight"
34995 backgroundcolor "none"
34998 \begin_layout Plain Layout
35000 This box is bottom-aligned.
35005 This is an example text line.
35008 \begin_layout Standard
35009 \begin_inset Note Greyedout
35012 \begin_layout Plain Layout
35017 The vertical box alignment can be lost in the output when you have two
35018 boxes in a line and one has e.
35019 \begin_inset space \thinspace{}
35023 \begin_inset space \space{}
35026 a shadow and the other one not.
35034 \begin_layout Standard
35035 The horizontal box alignment can be set via \SpecialChar LyX
35036 's paragraph dialog when you
35037 set the box into its own paragraph.
35040 \begin_layout Standard
35041 \begin_inset VSpace bigskip
35044 When you have chosen an
35047 \begin_inset space ~
35052 , the box content can be aligned vertically to:
35055 \begin_layout Description
35056 top This is an example text line.
35058 \begin_inset Box Boxed
35068 height_special "totalheight"
35073 backgroundcolor "none"
35076 \begin_layout Plain Layout
35078 This box text is top-aligned.
35083 This is an example text line.
35086 \begin_layout Description
35087 middle This is an example text line.
35089 \begin_inset Box Boxed
35099 height_special "totalheight"
35104 backgroundcolor "none"
35107 \begin_layout Plain Layout
35109 This box text is middle-aligned.
35114 This is an example text line.
35117 \begin_layout Description
35118 bottom This is an example text line.
35120 \begin_inset Box Boxed
35130 height_special "totalheight"
35135 backgroundcolor "none"
35138 \begin_layout Plain Layout
35140 This box text is bottom-aligned.
35145 This is an example text line.
35148 \begin_layout Description
35149 stretch This is an example text line.
35151 \begin_inset Box Boxed
35161 height_special "totalheight"
35166 backgroundcolor "none"
35169 \begin_layout Plain Layout
35174 \begin_layout Plain Layout
35179 \begin_layout Plain Layout
35186 This is an example text line.
35189 \begin_layout Standard
35190 To stretch the box content, it must consist of more than one paragraph.
35191 In the example above every text line is in an own paragraph.
35194 \begin_layout Standard
35195 \begin_inset VSpace bigskip
35198 To align the box content horizontally you can use \SpecialChar LyX
35199 's paragraph dialog when
35203 \begin_inset space ~
35211 \begin_layout Standard
35213 \begin_inset Box Boxed
35223 height_special "totalheight"
35228 backgroundcolor "none"
35231 \begin_layout Plain Layout
35236 \begin_layout Plain Layout
35241 \begin_layout Plain Layout
35251 \begin_layout Standard
35252 If you have not set an
35255 \begin_inset space ~
35260 , you can align the box content horizontally in the box dialog.
35263 \begin_layout Standard
35265 \begin_inset Box Boxed
35275 height_special "totalheight"
35280 backgroundcolor "none"
35283 \begin_layout Plain Layout
35284 This box text is horizontally stretched.
35292 \begin_layout Subsection
35294 \begin_inset CommandInset label
35296 name "sec:Decoration"
35301 \begin_inset Index idx
35304 \begin_layout Plain Layout
35313 \begin_layout Standard
35314 The type of the box can be specified in the box dialog in the drop-down
35320 The following types are possible:
35323 \begin_layout Description
35325 \begin_inset space ~
35328 frame Nothing is drawn.
35331 \begin_layout Description
35333 \begin_inset space ~
35337 \begin_inset space ~
35340 frame This draws a rectangular frame around the box.
35341 The frame line thickness can be specified.
35343 \begin_inset Box Boxed
35353 height_special "totalheight"
35358 backgroundcolor "none"
35361 \begin_layout Plain Layout
35371 \begin_layout Description
35373 \begin_inset space ~
35377 \begin_inset space ~
35380 thin This draws an oval frame around the box.
35381 The frame line thickness has the size 0.4
35382 \begin_inset space \thinspace{}
35387 \begin_inset Box ovalbox
35397 height_special "totalheight"
35402 backgroundcolor "none"
35405 \begin_layout Plain Layout
35415 \begin_layout Description
35417 \begin_inset space ~
35421 \begin_inset space ~
35424 thick This draws an oval frame around the box.
35425 The frame line thickness has the size 0.8
35426 \begin_inset space \thinspace{}
35431 \begin_inset Box Ovalbox
35441 height_special "totalheight"
35446 backgroundcolor "none"
35449 \begin_layout Plain Layout
35459 \begin_layout Description
35461 \begin_inset space ~
35464 shadow This draws a rectangular frame with a shadow around the box.
35465 The frame line thickness and the shadow can be specified.
35467 \begin_inset Box Shadowbox
35477 height_special "totalheight"
35482 backgroundcolor "none"
35485 \begin_layout Plain Layout
35495 \begin_layout Description
35497 \begin_inset space ~
35500 background This draws a box with a red background.
35501 Unlike colored boxes
35505 \begin_layout Plain Layout
35507 \begin_inset space \thinspace{}
35511 \begin_inset CommandInset ref
35513 reference "sec:Colored-Boxes"
35522 , it always uses the whole column width and the box is set as its own paragraph.
35524 \begin_inset Box Shaded
35534 height_special "totalheight"
35539 backgroundcolor "none"
35542 \begin_layout Plain Layout
35543 Shaded background box
35551 \begin_layout Description
35553 \begin_inset space ~
35557 \begin_inset space ~
35560 frame This draws a double-line rectangular frame around the box.
35561 The line thickness of the inner frame is 0.75
35562 \begin_inset space \thinspace{}
35566 \begin_inset space ~
35569 thickness, the thickness of the outer frame is 1.5
35570 \begin_inset space \thinspace{}
35574 \begin_inset space ~
35578 The distance between the lines is 1.5
35579 \begin_inset space \thinspace{}
35583 \begin_inset space ~
35587 \begin_inset space \thinspace{}
35591 \begin_inset space \thinspace{}
35595 \begin_inset space \thinspace{}
35600 \begin_inset Box Doublebox
35610 height_special "totalheight"
35615 backgroundcolor "none"
35618 \begin_layout Plain Layout
35620 Double rectangular box
35628 \begin_layout Standard
35629 \begin_inset VSpace bigskip
35633 's box label will reflect the different frame types.
35634 To be able to use all types, the \SpecialChar LaTeX
35640 \begin_inset Index idx
35643 \begin_layout Plain Layout
35645 -packages ! fancybox
35653 \begin_layout Standard
35654 \begin_inset VSpace bigskip
35657 When you use the decoration
35659 simple rectangular frame
35661 and no inner box, you can allow page breaks within a box.
35662 Note that then, unlike other framed boxes, the frame always uses the whole
35663 column width and the box is set as its own paragraph:
35664 \begin_inset Box Framed
35674 height_special "totalheight"
35679 backgroundcolor "none"
35682 \begin_layout Plain Layout
35683 Allow page break box
35691 \begin_layout Section
35693 \begin_inset Index idx
35696 \begin_layout Plain Layout
35697 Boxes ! Customization
35705 \begin_layout Standard
35706 The diameter of the round corners of the oval boxes can be set with the
35717 \begin_layout Standard
35725 \begin_layout Standard
35726 sets the diameter to 1
35727 \begin_inset space \thinspace{}
35734 \begin_layout Standard
35742 \begin_layout Standard
35743 sets the diameter to
35746 \begin_inset space \thinspace{}
35750 \begin_inset space \thinspace{}
35753 minimum(width and height of box)
35765 \begin_layout Standard
35769 \begin_layout Plain Layout
35779 \begin_inset Box Ovalbox
35789 height_special "totalheight"
35794 backgroundcolor "none"
35797 \begin_layout Plain Layout
35806 \begin_inset space \thinspace{}
35810 \begin_inset space \thinspace{}
35814 \begin_inset space \thinspace{}
35826 \begin_layout Plain Layout
35838 \begin_layout Standard
35839 \begin_inset VSpace bigskip
35845 \begin_layout Standard
35846 The default background color red of
35850 boxes can either be changed locally with the command
35854 definecolor{shadecolor}
35856 or globally with the menu
35858 Tools\SpecialChar menuseparator
35859 Preferences\SpecialChar menuseparator
35860 Colors\SpecialChar menuseparator
35862 \begin_inset space ~
35874 command is explained in section
35875 \begin_inset space ~
35879 \begin_inset CommandInset ref
35881 reference "sec:Colored-Tables"
35889 \begin_layout Plain Layout
35896 requires the \SpecialChar LaTeX
35901 in the preamble, see section
35902 \begin_inset space ~
35906 \begin_inset CommandInset ref
35908 reference "sec:Colored-Boxes"
35917 For example the appearance of the following shaded background box is set
35918 with the \SpecialChar TeX
35922 \begin_layout Standard
35927 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
35930 \begin_layout Standard
35934 \begin_layout Plain Layout
35938 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
35944 \begin_inset Box Shaded
35954 height_special "totalheight"
35959 backgroundcolor "none"
35962 \begin_layout Plain Layout
35965 This is yellow text in a
35975 box with dark green background.
35984 \begin_layout Plain Layout
35988 definecolor{shadecolor}{rgb}{1,0,0}
35996 \begin_layout Standard
35997 \begin_inset VSpace bigskip
36000 Manually changed sizes and colors are valid for all boxes following the
36001 commands that change them.
36004 \begin_layout Section
36006 \begin_inset CommandInset label
36008 name "sec:Minipages"
36013 \begin_inset Index idx
36016 \begin_layout Plain Layout
36025 \begin_layout Standard
36026 Minipages are treated by \SpecialChar LaTeX
36027 as pages within pages and can therefore for example
36028 have their own footnotes.
36031 \begin_layout Standard
36032 Minipages are useful when you write documents with different languages.
36035 \begin_layout Standard
36036 Below are two example minipages side by side.
36037 Their width is set to 45
36038 \begin_inset space \thinspace{}
36041 col% and they are separated by a horizontal fill, that was inserted via
36044 Insert\SpecialChar menuseparator
36046 \begin_inset space ~
36049 Formatting\SpecialChar menuseparator
36051 \begin_inset space ~
36057 \begin_inset Newpage newpage
36063 \begin_layout Standard
36064 \begin_inset Box Frameless
36074 height_special "totalheight"
36079 backgroundcolor "none"
36082 \begin_layout Plain Layout
36085 Dies ist ein deutscher Text.
36086 Dies ist ein deutscher Text.
36087 Dies ist ein deutscher Text.
36088 Dies ist ein deutscher Text.
36089 Dies ist ein deutscher Text.
36090 Dies ist ein deutscher Text.
36091 Dies ist ein deutscher Text.
36092 Dies ist ein deutscher Text.
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
36101 \begin_layout Plain Layout
36104 Dies ist eine deutsche Fußnote.
36110 Dies ist ein deutscher Text.
36111 Dies ist ein deutscher Text.
36117 \begin_inset space \hfill{}
36121 \begin_inset Box Frameless
36131 height_special "totalheight"
36136 backgroundcolor "none"
36139 \begin_layout Plain Layout
36140 This is an English Text.
36141 This is an English Text.
36142 This is an English Text.
36143 This is an English Text.
36144 This is an English Text.
36145 This is an English Text.
36146 This is an English Text.
36147 This is an English Text.
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.
36159 \begin_layout Plain Layout
36160 This is an English footnote.
36165 This is an English Text.
36173 \begin_layout Standard
36174 \begin_inset VSpace bigskip
36177 The document-wide paragraph settings are ignored within minipages.
36178 That means that there will be no space between paragraphs in minipages
36179 although you set it to e.
36180 \begin_inset space \thinspace{}
36184 \begin_inset space \space{}
36191 in the document settings.
36194 \begin_layout Standard
36195 Minipages can also be used to set a background color for text parts, see
36197 \begin_inset space ~
36201 \begin_inset CommandInset ref
36203 reference "sec:Colored-Boxes"
36210 \begin_layout Standard
36211 \begin_inset Note Greyedout
36214 \begin_layout Plain Layout
36219 You cannot have floats or margin notes inside minipages but minipages can
36220 be used inside tables, floats, and other boxes.
36228 \begin_layout Standard
36229 \begin_inset VSpace bigskip
36235 \begin_layout Standard
36237 has also basic support for minipages whose size is automatically determined
36238 by the width of their contents, via the module
36240 Variable-width Minipages
36243 The \SpecialChar LyX
36246 varwidth-floats-side-by-side
36248 gives examples of variable-width minipages used for placing two floats
36252 \begin_layout Section
36254 \begin_inset CommandInset label
36256 name "sec:Parboxes"
36261 \begin_inset Index idx
36264 \begin_layout Plain Layout
36273 \begin_layout Standard
36274 Parboxes are very similar to minipages with the difference that they cannot
36278 \begin_layout Standard
36280 \begin_inset Box Frameless
36290 height_special "totalheight"
36295 backgroundcolor "none"
36298 \begin_layout Plain Layout
36299 This a text within a parbox.
36300 This a text within a parbox.
36303 \begin_layout Plain Layout
36304 This footnote won't appear:
36308 \begin_layout Plain Layout
36309 This footnote is inside a parbox and will therefore not appear.
36322 \begin_layout Section
36323 Boxes for Words and Characters
36324 \begin_inset Index idx
36327 \begin_layout Plain Layout
36328 Boxes ! for Characters
36336 \begin_layout Subsection
36337 Prevent Hyphenation
36338 \begin_inset CommandInset label
36340 name "sec:Prevent-Hyphenation"
36345 \begin_inset Index idx
36348 \begin_layout Plain Layout
36349 Boxes ! to Prevent Hyphenation
36357 \begin_layout Standard
36358 You can use the box type
36362 to prevent words or text from being hyphenated.
36363 \begin_inset Newline newline
36366 Here is an example text:
36369 \begin_layout Standard
36370 This line is an example to show how you can prevent the hyphenation of
36371 \begin_inset Quotes eld
36375 \begin_inset Quotes erd
36381 \begin_layout Standard
36382 To prevent the hyphenation of the word
36383 \begin_inset Quotes eld
36387 \begin_inset Quotes erd
36390 , put the word into a box, set the
36393 \begin_inset space ~
36402 and use no explicit width.
36405 \begin_layout Standard
36406 This is the result:
36409 \begin_layout Standard
36410 This line is an example to show how you can prevent the hyphenation of
36411 \begin_inset Box Frameless
36421 height_special "totalheight"
36426 backgroundcolor "none"
36429 \begin_layout Plain Layout
36430 \begin_inset Quotes eld
36434 \begin_inset Quotes erd
36445 \begin_layout Standard
36446 You can alternatively set the command
36447 \begin_inset Quotes eld
36457 \begin_inset Quotes grd
36460 as \SpecialChar TeX
36461 Code directly before the word:
36464 \begin_layout Standard
36465 This line is an example to show how you can prevent the hyphenation of
36466 \begin_inset Quotes eld
36473 \begin_layout Plain Layout
36483 \begin_inset Quotes erd
36489 \begin_layout Standard
36490 Of course the word now protrudes over the side margin.
36491 To avoid this, add via the menu
36493 Insert\SpecialChar menuseparator
36494 Formatting\SpecialChar menuseparator
36496 \begin_inset space ~
36500 \begin_inset space ~
36508 arg "newline-insert newline"
36511 ) a line break before the word:
36514 \begin_layout Standard
36515 This line is an example to show how you can prevent the hyphenation of
36516 \begin_inset Newline newline
36520 \begin_inset Box Frameless
36530 height_special "totalheight"
36535 backgroundcolor "none"
36538 \begin_layout Plain Layout
36539 \begin_inset Quotes eld
36543 \begin_inset Quotes erd
36554 \begin_layout Subsection
36556 \begin_inset CommandInset label
36558 name "subsec:Vertical-Alignment"
36563 \begin_inset Index idx
36566 \begin_layout Plain Layout
36567 Boxes ! for Vertical Alignment
36573 \begin_inset Index idx
36576 \begin_layout Plain Layout
36585 \begin_layout Standard
36586 With the help of the command
36592 you can align words, characters or other boxes vertically relative to the
36600 is used with the following scheme:
36603 \begin_layout Standard
36608 raisebox{lift}[height][depth]{box content}
36611 \begin_layout Standard
36612 The lift can be a positive value to raise the box or a negative value to
36616 \begin_layout Standard
36617 To align for example the word
36618 \begin_inset Quotes eld
36622 \begin_inset Quotes erd
36625 so that the bottom of the
36626 \begin_inset Quotes eld
36630 \begin_inset Quotes erd
36634 \begin_inset Quotes eld
36638 \begin_inset Quotes erd
36641 is at the baseline, insert the command
36644 \begin_layout Standard
36654 \begin_layout Standard
36655 in \SpecialChar TeX
36656 Code before the word.
36657 After the word insert a closing brace
36658 \begin_inset Quotes eld
36666 \begin_inset Quotes erd
36669 in \SpecialChar TeX
36671 \begin_inset Newline newline
36674 This is the result:
36677 \begin_layout Standard
36678 This is a text line with the word
36682 \begin_layout Plain Layout
36694 \begin_inset Quotes eld
36698 \begin_inset Quotes erd
36705 \begin_layout Plain Layout
36715 \begin_layout Standard
36716 \begin_inset VSpace bigskip
36719 When you raise or lower characters in a line, the line distance will be
36723 \begin_layout Standard
36724 This is a text line with the word
36728 \begin_layout Plain Layout
36740 \begin_inset Quotes eld
36744 \begin_inset Quotes erd
36751 \begin_layout Plain Layout
36759 \begin_inset Newline newline
36762 This is a text line with the word
36766 \begin_layout Plain Layout
36776 \begin_inset Quotes eld
36780 \begin_inset Quotes erd
36787 \begin_layout Plain Layout
36797 \begin_layout Standard
36798 If you want to prevent this for a certain reason, set the box height to
36803 \begin_layout Standard
36813 \begin_layout Standard
36814 This is a text line with the word
36818 \begin_layout Plain Layout
36830 \begin_inset Quotes eld
36834 \begin_inset Quotes erd
36841 \begin_layout Plain Layout
36849 \begin_inset Newline newline
36853 \begin_inset Newline newline
36856 This is a text line with the word
36860 \begin_layout Plain Layout
36864 raisebox{0.5cm}[0pt]{
36870 \begin_inset Quotes eld
36874 \begin_inset Quotes erd
36881 \begin_layout Plain Layout
36891 \begin_layout Section
36893 \begin_inset CommandInset label
36895 name "sec:Colored-Boxes"
36900 \begin_inset Index idx
36903 \begin_layout Plain Layout
36912 \begin_layout Standard
36913 To color the background of a box just select the color you like in the box
36915 This is for example a box with orange background:
36916 \begin_inset Box Frameless
36926 height_special "totalheight"
36931 backgroundcolor "orange"
36934 \begin_layout Plain Layout
36935 Box with orange background
36943 \begin_layout Standard
36944 If you use the decoration
36947 \begin_inset space ~
36951 \begin_inset space ~
36956 you can set a frame color.
36957 In this case you must also specify a background color (LyX sets white as
36959 Here is an example:
36960 \begin_inset Box Boxed
36970 height_special "totalheight"
36975 backgroundcolor "yellow"
36978 \begin_layout Plain Layout
36979 Box with teal frame color and yellow background color
36987 \begin_layout Standard
36988 \begin_inset VSpace bigskip
36991 Of course you can also have colored text inside a colored box:
36992 \begin_inset Newline newline
36996 \begin_inset Box Boxed
37006 height_special "totalheight"
37011 backgroundcolor "magenta"
37014 \begin_layout Plain Layout
37017 This is colored text within a colored, framed box
37025 \begin_layout Standard
37026 \begin_inset VSpace bigskip
37032 \begin_layout Standard
37033 If you need another color than the predefined ones, you can define your
37034 own color as described in section
37035 \begin_inset space ~
37039 \begin_inset CommandInset ref
37041 reference "sec:Colored-Tables"
37046 To use your own color you must typeset the box by using TeX code:
37049 \begin_layout Standard
37050 Colored boxes without frame are created with the command
37057 It has the following scheme:
37060 \begin_layout Standard
37065 colorbox{color}{box content}
37068 \begin_layout Standard
37069 The box content can also be a box and colored boxes can also be within other
37072 \begin_inset space \thinspace{}
37076 \begin_inset space \space{}
37079 a darkgreen background for a word, insert the command
37082 \begin_layout Standard
37087 colorbox{darkgreen}{
37090 \begin_layout Standard
37091 before the word in \SpecialChar TeX
37093 After the word insert a closing brace
37094 \begin_inset Quotes eld
37102 \begin_inset Quotes erd
37105 in \SpecialChar TeX
37107 \begin_inset Newline newline
37110 This is the result:
37113 \begin_layout Standard
37114 This is a line where the word
37118 \begin_layout Plain Layout
37122 colorbox{darkgreen}{
37128 \begin_inset Quotes eld
37132 \begin_inset Quotes erd
37139 \begin_layout Plain Layout
37146 has a darkgreen background.
37149 \begin_layout Standard
37150 Framed, colored boxes are created with the command
37157 It has the following scheme:
37160 \begin_layout Standard
37165 fcolorbox{frame color}{box color}{box content}
37168 \begin_layout Section
37169 Rotated and Scaled Boxes
37172 \begin_layout Standard
37173 To use the boxes described in this section, the module
37177 must be loaded in the document settings.
37180 \begin_layout Standard
37181 \begin_inset Note Greyedout
37184 \begin_layout Plain Layout
37189 Not all DVI viewers are able to display rotated or scaled material.
37197 \begin_layout Standard
37198 \begin_inset Note Greyedout
37201 \begin_layout Plain Layout
37206 Floats are not allowed inside a rotated or scaled box.
37214 \begin_layout Subsection
37216 \begin_inset Index idx
37219 \begin_layout Plain Layout
37226 \begin_inset Index idx
37229 \begin_layout Plain Layout
37238 \begin_layout Standard
37239 To rotate material, you can put it into a
37244 Such a box is inserted via the menu
37246 Insert\SpecialChar menuseparator
37247 Custom Insets\SpecialChar menuseparator
37253 \begin_layout Standard
37254 The rotation origin can be specified via the inset
37260 Insert\SpecialChar menuseparator
37268 The following positions are possible:
37288 (top), along with meaningful combinations of the four base positions.
37293 means that the rotation origin is at the top left corner of the box.
37294 When no rotation origin is specified, the position
37299 The rotation angle is a number that can be negative that specifies the
37301 The rotation direction is counterclockwise.
37304 \begin_layout Standard
37305 In the following example
37309 was inserted to the
37317 was inserted to the
37324 \begin_layout Standard
37326 \begin_inset Flex Rotatebox
37329 \begin_layout Plain Layout
37330 \begin_inset Argument 1
37333 \begin_layout Plain Layout
37340 \begin_inset Argument 2
37343 \begin_layout Plain Layout
37357 \begin_layout Standard
37358 The box content can also be another box or an inline formula:
37361 \begin_layout Standard
37363 \begin_inset Flex Rotatebox
37366 \begin_layout Plain Layout
37367 \begin_inset Argument 1
37370 \begin_layout Plain Layout
37377 \begin_inset Argument 2
37380 \begin_layout Plain Layout
37387 \begin_inset Box Doublebox
37397 height_special "totalheight"
37402 backgroundcolor "none"
37405 \begin_layout Plain Layout
37417 \begin_inset Flex Rotatebox
37420 \begin_layout Plain Layout
37421 \begin_inset Argument 1
37424 \begin_layout Plain Layout
37431 \begin_inset Argument 2
37434 \begin_layout Plain Layout
37441 \begin_inset Formula $\int A\,\mathrm{d}x=B$
37452 \begin_layout Standard
37453 or an image or table:
37456 \begin_layout Standard
37458 \begin_inset Flex Rotatebox
37461 \begin_layout Plain Layout
37462 \begin_inset Argument 1
37465 \begin_layout Plain Layout
37472 \begin_inset Argument 2
37475 \begin_layout Plain Layout
37482 \begin_inset Graphics
37483 filename clipart/Star-structure.pdf
37494 with a rotated image
37495 \begin_inset Flex Rotatebox
37498 \begin_layout Plain Layout
37499 \begin_inset Argument 2
37502 \begin_layout Plain Layout
37509 \begin_inset Tabular
37510 <lyxtabular version="3" rows="2" columns="2">
37511 <features tabularvalignment="middle">
37512 <column alignment="center" valignment="top">
37513 <column alignment="center" valignment="top">
37515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37518 \begin_layout Plain Layout
37524 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37527 \begin_layout Plain Layout
37535 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37538 \begin_layout Plain Layout
37544 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
37547 \begin_layout Plain Layout
37564 \begin_inset Index idx
37567 \begin_layout Plain Layout
37574 \begin_inset Index idx
37577 \begin_layout Plain Layout
37578 Table Customization ! Rotating
37586 \begin_layout Standard
37587 \begin_inset Note Greyedout
37590 \begin_layout Plain Layout
37599 inset is empty or contains other characters than numbers you will get \SpecialChar LaTeX
37601 errors when viewing/exporting the document.
37609 \begin_layout Subsection
37611 \begin_inset Index idx
37614 \begin_layout Plain Layout
37621 \begin_inset Index idx
37624 \begin_layout Plain Layout
37633 \begin_layout Standard
37634 To scale material put it into a
37639 Such a box is inserted via the menu
37641 Insert\SpecialChar menuseparator
37642 Custom Insets\SpecialChar menuseparator
37648 \begin_layout Standard
37653 inset has the mandatory inset
37657 and the optional inset
37661 (inserted via the menu
37663 Insert\SpecialChar menuseparator
37667 Input there the horizontal and vertical scale factor, respectively.
37672 inset is used, the horizontal factor will also be used as the vertical
37676 \begin_layout Standard
37677 To get for example the double text size, compared to the document text size,
37688 \begin_inset Flex Scalebox
37691 \begin_layout Plain Layout
37692 \begin_inset Argument 1
37695 \begin_layout Plain Layout
37709 \begin_layout Standard
37727 \begin_inset Flex Scalebox
37730 \begin_layout Plain Layout
37731 \begin_inset Argument 1
37734 \begin_layout Plain Layout
37741 \begin_inset Argument 2
37744 \begin_layout Plain Layout
37758 \begin_layout Standard
37759 If the scaling factor is negative, the box content will be mirrored.
37776 can be used to create mirror writing:
37777 \begin_inset Flex Scalebox
37780 \begin_layout Plain Layout
37781 \begin_inset Argument 1
37784 \begin_layout Plain Layout
37791 \begin_inset Argument 2
37794 \begin_layout Plain Layout
37808 \begin_layout Standard
37826 \begin_inset Flex Scalebox
37829 \begin_layout Plain Layout
37830 \begin_inset Argument 1
37833 \begin_layout Plain Layout
37840 \begin_inset Argument 2
37843 \begin_layout Plain Layout
37857 \begin_layout Standard
37864 Insert\SpecialChar menuseparator
37865 Custom Insets\SpecialChar menuseparator
37891 \begin_layout Standard
37892 \begin_inset Note Greyedout
37895 \begin_layout Plain Layout
37904 inset is empty or contains other characters than numbers you will get LaTeX
37905 errors when viewing/exporting the document.
37913 \begin_layout Standard
37914 \begin_inset VSpace bigskip
37923 Insert\SpecialChar menuseparator
37924 Custom Insets\SpecialChar menuseparator
37927 ) is used to scale the content to a defined width and height.
37932 inset has the mandatory inset
37936 and the optional inset
37940 (inserted via the menu
37942 Insert\SpecialChar menuseparator
37946 Input there the width and height, respectively, as value with a unit.
37948 \begin_inset CommandInset ref
37950 reference "tab:Units"
37954 lists the possible units.
37955 If there is an exclamation mark
37959 in one of the two insets, the size is set so that the aspect ratio of the
37960 box content is kept.
37965 inset is used an exclamation mark will internally be used for the height.
37968 \begin_layout Standard
37986 \begin_inset Flex Resizebox
37989 \begin_layout Plain Layout
37990 \begin_inset Argument 1
37993 \begin_layout Plain Layout
38000 \begin_inset Argument 2
38003 \begin_layout Plain Layout
38015 \begin_inset Newline newline
38039 \begin_inset Flex Resizebox
38042 \begin_layout Plain Layout
38043 \begin_inset Argument 1
38046 \begin_layout Plain Layout
38053 \begin_inset Argument 2
38056 \begin_layout Plain Layout
38070 \begin_layout Standard
38071 \begin_inset Note Greyedout
38074 \begin_layout Plain Layout
38083 inset is empty or contains an invalid unit you will get LaTeX errors when
38084 viewing/exporting the document.
38092 \begin_layout Standard
38093 \begin_inset VSpace bigskip
38099 \begin_layout Standard
38100 The boxes can be combined in any order.
38109 which is in turn inside a
38116 \begin_layout Standard
38119 \begin_inset Flex Rotatebox
38122 \begin_layout Plain Layout
38123 \begin_inset Argument 1
38126 \begin_layout Plain Layout
38133 \begin_inset Argument 2
38136 \begin_layout Plain Layout
38143 \begin_inset Flex Resizebox
38146 \begin_layout Plain Layout
38147 \begin_inset Argument 1
38150 \begin_layout Plain Layout
38157 \begin_inset Flex Reflectbox
38160 \begin_layout Plain Layout
38179 \begin_layout Standard
38181 Images, tables, and inline formulas are allowed as box content:
38184 \begin_layout Standard
38187 \begin_inset Flex Resizebox
38190 \begin_layout Plain Layout
38191 \begin_inset Argument 1
38194 \begin_layout Plain Layout
38201 \begin_inset Flex Reflectbox
38204 \begin_layout Plain Layout
38205 \begin_inset Graphics
38206 filename clipart/Star-structure.pdf
38223 \begin_inset Flex Resizebox
38226 \begin_layout Plain Layout
38227 \begin_inset Argument 1
38230 \begin_layout Plain Layout
38237 \begin_inset Flex Reflectbox
38240 \begin_layout Plain Layout
38241 \begin_inset Tabular
38242 <lyxtabular version="3" rows="2" columns="2">
38243 <features tabularvalignment="middle">
38244 <column alignment="center" valignment="top">
38245 <column alignment="center" valignment="top">
38247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38250 \begin_layout Plain Layout
38256 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38259 \begin_layout Plain Layout
38267 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38270 \begin_layout Plain Layout
38276 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38279 \begin_layout Plain Layout
38301 \begin_inset Flex Resizebox
38304 \begin_layout Plain Layout
38305 \begin_inset Argument 1
38308 \begin_layout Plain Layout
38315 \begin_inset Flex Reflectbox
38318 \begin_layout Plain Layout
38319 \begin_inset Formula $\int A\,\mathrm{d}x=B$
38333 \begin_inset Index idx
38336 \begin_layout Plain Layout
38343 \begin_inset Index idx
38346 \begin_layout Plain Layout
38347 Table Customization ! Scaling
38355 \begin_layout Standard
38356 When the global formula style
38360 is used in the document
38364 \begin_layout Plain Layout
38366 \begin_inset Quotes eld
38370 \begin_inset Quotes erd
38373 is added to the document class options.
38378 , display style formulas can also be scaled.
38381 \begin_layout Chapter
38382 Objects Surrounded by Text
38383 \begin_inset Index idx
38386 \begin_layout Plain Layout
38395 \begin_layout Section
38397 \begin_inset CommandInset label
38399 name "sec:Wrap-Floats"
38404 \begin_inset Index idx
38407 \begin_layout Plain Layout
38408 Floats ! Wrap Floats
38414 \begin_inset Index idx
38417 \begin_layout Plain Layout
38418 Surrounded by text ! Wrap Floats
38426 \begin_layout Standard
38427 \begin_inset Wrap figure
38434 \begin_layout Plain Layout
38435 \begin_inset Graphics
38436 filename clipart/2D-intensity-plot.pdf
38438 scaleBeforeRotation
38439 rotateOrigin center
38446 \begin_layout Plain Layout
38447 \begin_inset Caption Standard
38449 \begin_layout Plain Layout
38450 \begin_inset CommandInset label
38452 name "fig:This-is-a"
38456 This is a figure wrap float.
38466 This float type is used if you want to wrap text around a figure or table
38467 so that it only occupies some fraction of the column width.
38468 It can be inserted using the menu
38470 Insert\SpecialChar menuseparator
38471 Floats\SpecialChar menuseparator
38473 \begin_inset space ~
38477 \begin_inset space ~
38485 \begin_inset space ~
38489 \begin_inset space ~
38494 if the \SpecialChar LaTeX
38500 \begin_inset Index idx
38503 \begin_layout Plain Layout
38505 -packages ! wrapfig
38514 \begin_layout Plain Layout
38515 Installing a \SpecialChar LaTeX
38516 -package is explained it in the
38520 \begin_inset space ~
38530 The settings of the float can be modified by right-clicking on the float
38532 The mandatory settings are the float
38545 that specifies how much the float is set into the paragraph
38546 \begin_inset space \thinspace{}
38550 \begin_inset space \thinspace{}
38553 page margin, and the
38556 \begin_inset space ~
38561 that specifies how many text lines the float will approximately need.
38562 The line span is often hard to approximate; so it is better only to use
38563 it when you encounter float placement problems.
38564 You can furthermore decide if \SpecialChar LaTeX
38565 is allowed to let the float float within
38566 the paragraph or to surrounding paragraphs.
38568 \begin_inset space ~
38572 \begin_inset CommandInset ref
38574 reference "fig:This-is-a"
38578 is an example text wrap float with a width of 40
38579 \begin_inset space \thinspace{}
38583 \begin_inset space \thinspace{}
38586 cm overhang, set to the left.
38589 \begin_layout Standard
38590 \begin_inset Note Greyedout
38593 \begin_layout Plain Layout
38599 \begin_inset space ~
38602 wrap float floats are fragile! E.
38603 \begin_inset space \thinspace{}
38607 \begin_inset space \space{}
38610 having a figure too close to the bottom of the page can mess things up in
38611 such a way that the float does not appear in the output or that it is placed
38612 over some other text.
38620 \begin_layout Standard
38621 In general, the following applies for wrap floats:
38624 \begin_layout Itemize
38625 They should not be placed in paragraphs that run over a page break.
38626 That means that wrap floats are better inserted in their exact place when
38627 the document is almost finished and you are able to estimate where page
38628 breaks will appear.
38631 \begin_layout Itemize
38632 They should either be placed in their own paragraph before the paragraph
38633 where they should wrap into or within a paragraph.
38636 \begin_layout Itemize
38637 In consecutive paragraphs they may cause troubles, so ensure that there
38638 is a text paragraph between them as separator.
38641 \begin_layout Itemize
38642 They are not allowed in section headings or tables.
38645 \begin_layout Itemize
38646 Their numbering and referencing works as described in chap.
38647 \begin_inset space \thinspace{}
38651 \begin_inset CommandInset ref
38653 reference "chap:Floats"
38660 \begin_layout Section
38661 Surrounded Fixed Objects
38662 \begin_inset Index idx
38665 \begin_layout Plain Layout
38666 Surrounded by text ! Fixed objects
38674 \begin_layout Standard
38675 The wrap floats described in sec.
38676 \begin_inset space \thinspace{}
38680 \begin_inset CommandInset ref
38682 reference "sec:Wrap-Floats"
38686 have these positions in the paragraph:
38689 \begin_layout Standard
38692 \begin_inset Tabular
38693 <lyxtabular version="3" rows="2" columns="2">
38694 <features tabularvalignment="middle">
38695 <column alignment="center" valignment="top">
38696 <column alignment="center" valignment="top">
38698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38701 \begin_layout Plain Layout
38704 arg "dialog-show-new-inset graphics"
38712 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38715 \begin_layout Plain Layout
38723 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38726 \begin_layout Plain Layout
38732 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38735 \begin_layout Plain Layout
38747 \begin_inset Tabular
38748 <lyxtabular version="3" rows="2" columns="2">
38749 <features tabularvalignment="middle">
38750 <column alignment="center" valignment="top">
38751 <column alignment="center" valignment="top">
38753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38756 \begin_layout Plain Layout
38762 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38765 \begin_layout Plain Layout
38768 arg "dialog-show-new-inset graphics"
38778 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38781 \begin_layout Plain Layout
38787 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38790 \begin_layout Plain Layout
38804 \begin_layout Standard
38805 To get an object exactly at the position where it is inserted, for example
38806 to get one of these positions:
38807 \begin_inset VSpace defskip
38813 \begin_layout Standard
38816 \begin_inset Tabular
38817 <lyxtabular version="3" rows="2" columns="2">
38818 <features tabularvalignment="middle">
38819 <column alignment="center" valignment="top">
38820 <column alignment="center" valignment="top">
38822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38825 \begin_layout Plain Layout
38831 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38834 \begin_layout Plain Layout
38842 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38845 \begin_layout Plain Layout
38848 arg "dialog-show-new-inset graphics"
38856 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38859 \begin_layout Plain Layout
38871 \begin_inset Tabular
38872 <lyxtabular version="3" rows="2" columns="2">
38873 <features tabularvalignment="middle">
38874 <column alignment="center" valignment="top">
38875 <column alignment="center" valignment="top">
38877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38880 \begin_layout Plain Layout
38886 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38889 \begin_layout Plain Layout
38897 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38900 \begin_layout Plain Layout
38906 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38909 \begin_layout Plain Layout
38912 arg "dialog-show-new-inset graphics"
38926 \begin_inset Tabular
38927 <lyxtabular version="3" rows="2" columns="3">
38928 <features tabularvalignment="middle">
38929 <column alignment="center" valignment="top">
38930 <column alignment="center" valignment="top">
38931 <column alignment="center" valignment="top">
38933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38936 \begin_layout Plain Layout
38942 <cell alignment="center" valignment="top" topline="true" usebox="none">
38945 \begin_layout Plain Layout
38948 arg "dialog-show-new-inset graphics"
38956 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38959 \begin_layout Plain Layout
38967 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38970 \begin_layout Plain Layout
38976 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
38979 \begin_layout Plain Layout
38985 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38988 \begin_layout Plain Layout
39000 \begin_inset Tabular
39001 <lyxtabular version="3" rows="2" columns="3">
39002 <features tabularvalignment="middle">
39003 <column alignment="center" valignment="top">
39004 <column alignment="center" valignment="top">
39005 <column alignment="center" valignment="top">
39007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39010 \begin_layout Plain Layout
39016 <cell alignment="center" valignment="top" topline="true" usebox="none">
39019 \begin_layout Plain Layout
39025 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39028 \begin_layout Plain Layout
39036 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39039 \begin_layout Plain Layout
39045 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
39048 \begin_layout Plain Layout
39051 arg "dialog-show-new-inset graphics"
39059 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39062 \begin_layout Plain Layout
39076 \begin_layout Standard
39079 \begin_inset Tabular
39080 <lyxtabular version="3" rows="3" columns="2">
39081 <features tabularvalignment="middle">
39082 <column alignment="center" valignment="top">
39083 <column alignment="center" valignment="top">
39085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39088 \begin_layout Plain Layout
39094 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39097 \begin_layout Plain Layout
39105 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39108 \begin_layout Plain Layout
39111 arg "dialog-show-new-inset graphics"
39119 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39122 \begin_layout Plain Layout
39130 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39133 \begin_layout Plain Layout
39139 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39142 \begin_layout Plain Layout
39154 \begin_inset Tabular
39155 <lyxtabular version="3" rows="3" columns="3">
39156 <features tabularvalignment="middle">
39157 <column alignment="center" valignment="top">
39158 <column alignment="center" valignment="top">
39159 <column alignment="center" valignment="top">
39161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39164 \begin_layout Plain Layout
39170 <cell alignment="center" valignment="top" topline="true" usebox="none">
39173 \begin_layout Plain Layout
39179 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39182 \begin_layout Plain Layout
39190 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39193 \begin_layout Plain Layout
39199 <cell alignment="center" valignment="top" usebox="none">
39202 \begin_layout Plain Layout
39205 arg "dialog-show-new-inset graphics"
39213 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39216 \begin_layout Plain Layout
39224 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39227 \begin_layout Plain Layout
39233 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
39236 \begin_layout Plain Layout
39242 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39245 \begin_layout Plain Layout
39257 \begin_inset Tabular
39258 <lyxtabular version="3" rows="3" columns="2">
39259 <features tabularvalignment="middle">
39260 <column alignment="center" valignment="top">
39261 <column alignment="center" valignment="top">
39263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39266 \begin_layout Plain Layout
39272 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39275 \begin_layout Plain Layout
39283 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39286 \begin_layout Plain Layout
39292 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39295 \begin_layout Plain Layout
39298 arg "dialog-show-new-inset graphics"
39308 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39311 \begin_layout Plain Layout
39317 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39320 \begin_layout Plain Layout
39334 \begin_layout Standard
39336 you can use the \SpecialChar LaTeX
39342 \begin_inset Index idx
39345 \begin_layout Plain Layout
39347 -packages ! picinpar
39353 Here is an example:
39356 \begin_layout Standard
39360 \begin_layout Plain Layout
39370 \begin_inset Note Note
39373 \begin_layout Plain Layout
39374 The following section will only be displayed when the \SpecialChar LaTeX
39387 \begin_layout Standard
39391 \begin_layout Plain Layout
39395 begin{window}[2,c,{
39401 \begin_inset Graphics
39402 filename clipart/2D-intensity-plot.pdf
39405 scaleBeforeRotation
39406 rotateOrigin center
39414 \begin_layout Plain Layout
39419 \begin_layout Plain Layout
39428 It was in the spring of the year 1894 that all London was interested, and
39429 the fashionable world dismayed, by the murder of the Honourable Ronald
39430 Adair under most unusual and inexplicable circumstances.
39431 The public has already learned those particulars of the crime which
39437 \begin_layout Plain Layout
39448 came out in the police investigation, but a good deal was suppressed upon
39449 that occasion, since the case for the prosecution was so overwhelmingly
39450 strong that it was not necessary to bring forward all the facts.
39451 Only now, at the end of nearly ten years, am I allowed to supply those
39452 missing links which make up the whole of that remarkable chain.
39458 \begin_layout Plain Layout
39470 \begin_layout Standard
39474 \begin_layout Plain Layout
39483 Footnote of the paragraph with the fixed object.
39487 \begin_layout Plain Layout
39497 \begin_layout Standard
39498 Surrounded fixed objects are used to let text float around them, at which
39499 the object's position in the paragraph can be determined by the number
39501 In contrary to floats is it not possible to have a numbered caption.
39504 \begin_layout Standard
39505 A fixed object is inserted by adding the command
39508 \begin_layout Standard
39513 begin{window}[2,c,{
39516 \begin_layout Standard
39517 as \SpecialChar TeX
39518 Code at the beginning of the paragraph.
39519 The first parameter in the bracket, here '2', defines the number of lines
39520 above the object, the second, here 'c', the position of the object.
39521 The positions 'l', 'c' and 'r' (for left, center, right) are possible.
39522 Behind the command you insert the object.
39523 In this example an image with a width of 40
39524 \begin_inset space \thinspace{}
39527 % of the text column width was inserted.
39528 The object can also be a table, a box or an equation.
39529 Behind the object the command
39532 \begin_layout Standard
39535 },description text]
39536 \begin_inset Newline newline
39542 \begin_layout Standard
39545 \begin_inset Quotes eld
39553 \begin_inset Quotes erd
39556 is in the second line.
39557 The description text is optional.
39558 The text surrounding the object must be in the same paragraph as the object,
39559 so it must begin directly after the
39564 At the end of the paragraph insert the command:
39567 \begin_layout Standard
39575 \begin_layout Standard
39576 Within a paragraph with a fixed object, you cannot insert footnotes in the
39578 You have to use instead the command
39584 inside the paragraph and outside the command
39590 as described in sec.
39591 \begin_inset space \thinspace{}
39595 \begin_inset CommandInset ref
39597 reference "sec:Footnotes"
39604 \begin_layout Standard
39608 \begin_layout Plain Layout
39618 \begin_inset Note Note
39621 \begin_layout Plain Layout
39622 The following will be displayed when the \SpecialChar LaTeX
39635 \begin_layout Standard
39636 You need to install the \SpecialChar LaTeX
39641 to see the following part of this section in the output.
39644 \begin_layout Standard
39648 \begin_layout Plain Layout
39660 \begin_layout Section
39662 \begin_inset Index idx
39665 \begin_layout Plain Layout
39672 \begin_inset Index idx
39675 \begin_layout Plain Layout
39676 Surrounded by text ! Initials
39684 \begin_layout Standard
39685 To use initials, you must have the \SpecialChar LaTeX
39691 \begin_inset Index idx
39694 \begin_layout Plain Layout
39696 -packages ! lettrine
39701 installed and use the module
39705 in your document (menu
39707 Document\SpecialChar menuseparator
39708 Settings\SpecialChar menuseparator
39712 To insert an initial, use the style
39717 This style has a mandatory and two optional arguments.
39718 The arguments are inserted via the
39723 The mandatory argument
39727 contains the letter(s) that is the initial, the argument
39730 \begin_inset space ~
39734 \begin_inset space ~
39739 contains the rest of the word or text of the initial letter(s).
39744 contains parameters to modify the initial.
39745 For more information about the possible parameters see the documentation
39751 \begin_inset CommandInset citation
39759 The style itself contains the text that is surrounding the initial.
39760 The usual style is hereby that the word whose first letter is the initial,
39768 \begin_layout Standard
39769 Here are some examples:
39772 \begin_layout Standard
39776 \begin_layout Plain Layout
39786 \begin_inset Note Note
39789 \begin_layout Plain Layout
39790 The following section will only be displayed when the \SpecialChar LaTeX
39803 \begin_layout Enumerate
39804 No optional argument, the initial is the letter 'I' in the math font
39805 \begin_inset Formula $\mathfrak{Fraktur}$
39812 \begin_layout Initial
39813 \begin_inset Argument 2
39816 \begin_layout Plain Layout
39817 \begin_inset Formula $\mathfrak{I}$
39826 \begin_inset Argument 3
39829 \begin_layout Plain Layout
39835 was in the spring of the year 1894 that all London was interested, and
39836 the fashionable world dismayed, by the murder of the Honourable Ronald
39837 Adair under most unusual and inexplicable circumstances.
39838 The public has already learned those particulars of the crime which came
39839 out in the police investigation, but a good deal was suppressed upon that
39840 occasion, since the case for the prosecution was so overwhelmingly strong
39841 that it was not necessary to bring forward all the facts.
39842 \begin_inset Newpage newpage
39849 \begin_layout Enumerate
39850 Only one line is surrounding the initial, which is formed by two letters
39851 in standard font and no text is printed in small caps:
39855 \begin_layout Initial
39856 \begin_inset Argument 1
39859 \begin_layout Plain Layout
39866 \begin_inset Argument 2
39869 \begin_layout Plain Layout
39875 was in the spring of the year 1894 that all London was interested, and
39876 the fashionable world dismayed, by the murder of the Honourable Ronald
39877 Adair under most unusual and inexplicable circumstances.
39878 The public has already learned those particulars of the crime which came
39879 out in the police investigation, but a good deal was suppressed upon that
39880 occasion, since the case for the prosecution was so overwhelmingly strong
39881 that it was not necessary to bring forward all the facts.
39885 \begin_layout Enumerate
39886 Magenta, hanging initial over 3
39887 \begin_inset space ~
39890 lines in the math font
39891 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
39895 \begin_inset Quotes eld
39898 t was in the spring
39899 \begin_inset Quotes erd
39906 ; to color the initial, you must insert this command before the initial:
39907 \begin_inset Newline newline
39921 \begin_inset Newline newline
39929 \begin_inset Quotes eld
39933 \begin_inset Quotes erd
39937 \begin_inset Quotes eld
39941 \begin_inset Quotes erd
39945 \begin_inset Quotes eld
39949 \begin_inset Quotes erd
39953 \begin_inset Quotes eld
39957 \begin_inset Quotes erd
39961 \begin_inset Quotes eld
39965 \begin_inset Quotes erd
39969 \begin_inset Quotes eld
39973 \begin_inset Quotes erd
39977 \begin_inset Quotes eld
39981 \begin_inset Quotes erd
39985 \begin_inset Quotes eld
39989 \begin_inset Quotes erd
39992 , and add this command to the document preamble:
39993 \begin_inset Newline newline
40000 @ifundefined{textcolor}
40001 \begin_inset Newline newline
40005 \begin_inset space ~
40010 usepackage{color}}{}
40014 \begin_layout Standard
40018 \begin_layout Plain Layout
40032 \begin_inset Note Note
40035 \begin_layout Plain Layout
40036 makes the initial magenta
40044 \begin_layout Initial
40045 \begin_inset Argument 1
40048 \begin_layout Plain Layout
40049 lines=3, lhang=0.33, loversize=0.25
40055 \begin_inset Argument 2
40058 \begin_layout Plain Layout
40059 \begin_inset Formula $\mathcal{I}$
40068 \begin_inset Argument 3
40071 \begin_layout Plain Layout
40072 t was in the spring
40077 of the year 1894 that all London was interested, and the fashionable world
40078 dismayed, by the murder of the Honourable Ronald Adair under most unusual
40079 and inexplicable circumstances.
40080 The public has already learned those particulars of the crime which came
40081 out in the police investigation, but a good deal was suppressed upon that
40082 occasion, since the case for the prosecution was so overwhelmingly strong
40083 that it was not necessary to bring forward all the facts.
40087 \begin_layout Standard
40091 \begin_layout Plain Layout
40101 \begin_inset Note Note
40104 \begin_layout Plain Layout
40105 The following will be displayed when the \SpecialChar LaTeX
40118 \begin_layout Standard
40119 You need to install the \SpecialChar LaTeX
40124 to see the following part of this section in the output.
40127 \begin_layout Standard
40131 \begin_layout Plain Layout
40143 \begin_layout Chapter
40144 External Document Parts
40145 \begin_inset Index idx
40148 \begin_layout Plain Layout
40149 External Document Parts
40157 \begin_layout Standard
40160 Insert\SpecialChar menuseparator
40163 you can insert external material into your document.
40167 \begin_layout Description
40169 \begin_inset space ~
40172 Document Another \SpecialChar LyX
40173 document; its content is directly inserted to your document.
40176 \begin_layout Description
40178 \begin_inset space ~
40181 Text A text document; each line is inserted in your document as a separate
40185 \begin_layout Description
40187 \begin_inset space ~
40191 \begin_inset space ~
40195 \begin_inset space ~
40198 Lines A text document; text lines are inserted in your document continuously
40199 but an empty text line creates a new paragraph.
40202 \begin_layout Description
40204 \begin_inset space ~
40207 Material Files in various formats.
40210 \begin_layout Description
40212 \begin_inset space ~
40215 Document \SpecialChar LyX
40216 or \SpecialChar LaTeX
40220 \begin_layout Section
40222 \begin_inset Index idx
40225 \begin_layout Plain Layout
40226 External Document Parts ! External Material
40234 \begin_layout Standard
40235 The external material feature allows you to insert files into your document
40236 without converting them to a format that can be read by the document output
40239 takes care of the necessary conversions.
40240 This is similar to images that can be inserted in various image formats
40241 in \SpecialChar LyX
40243 When you have enabled Instant Preview in \SpecialChar LyX
40244 's preferences under
40247 \begin_inset space ~
40251 \begin_inset space ~
40254 feel\SpecialChar menuseparator
40257 , the external material types Dia and Xfig are directly shown in \SpecialChar LyX
40261 \begin_layout Standard
40262 External material can be inserted via the
40266 dialog that is accessible with the menu
40268 Insert\SpecialChar menuseparator
40269 File\SpecialChar menuseparator
40271 \begin_inset space ~
40277 Currently the following file types (
40284 \begin_layout Description
40286 \begin_inset space ~
40289 diagram This template supports chess position diagrams made with the program
40293 \begin_inset CommandInset href
40296 target "https://en.wikipedia.org/wiki/XBoard"
40306 \begin_layout Description
40308 \begin_inset space ~
40311 diagram This template supports diagrams created with the program
40314 \begin_inset CommandInset href
40317 target "https://en.wikipedia.org/wiki/Dia_(software)"
40327 \begin_layout Description
40329 \begin_inset space ~
40332 figure This template supports specific scalable images derived from scalable
40333 vector graphics (SVG), in which the contained text is replaced by a version
40334 typeset by \SpecialChar LaTeX
40335 (and hence in the current document font).
40336 It relies on a feature of the program
40339 \begin_inset CommandInset href
40342 target "https://inkscape.org/"
40349 which creates a special PDF or EPS and \SpecialChar LaTeX
40350 file from a given SVG file (in
40355 itself, the feature is available via the option
40357 Omit text in PDF and create LaTeX file
40359 when saving a drawing as PDF or EPS).
40360 The benefit of such files is a uniform text style throughout the whole
40362 \begin_inset Newline newline
40365 The external template reads SVG files and uses a converter program to generate
40366 the respective PDF\SpecialChar breakableslash
40367 EPS and \SpecialChar LaTeX
40376 on the fly, so you don't have to export those files yourself.
40377 If you prefer the latter and want use given
40393 files instead, simply input the respective
40406 \begin_inset space ~
40410 \begin_inset CommandInset ref
40412 reference "sec:Child-Documents"
40416 ) rather than using this template.
40417 \begin_inset Newline newline
40420 You can use \SpecialChar TeX
40421 code commands such as
40434 \begin_inset space \space{}
40437 in the text of the SVG.
40438 The size of the font will be taken from the settings of the \SpecialChar LyX
40441 \begin_inset CommandInset citation
40448 for more information and examples.
40451 \begin_layout Description
40453 \begin_inset space ~
40457 \begin_inset space ~
40460 music This template is used for music notation typeset with the program
40461 \begin_inset Newline linebreak
40467 \begin_inset CommandInset href
40470 target "https://en.wikipedia.org/wiki/LilyPond"
40478 For \SpecialChar LyX
40479 's extended support for LilyPond have a look at \SpecialChar LyX
40487 \begin_layout Description
40489 \begin_inset space ~
40492 pages With this template you can insert PDF documents to your document.
40493 To specify the range of pages that should be included, use the option
40503 LaTeX and LyX options
40506 The argument of this option is a comma separated list, containing page
40507 numbers (insert as option
40511 ), ranges of page numbers (
40515 ) or any combination.
40516 To insert empty pages use {}.
40518 \begin_inset space \thinspace{}
40522 \begin_inset space ~
40527 pages={3,{},8-11,15}
40529 will insert page 3, an empty page, and pages 8, 9, 10, 11 and 15.
40530 Page ranges are specified in the syntax
40539 This selects all pages from
40552 defaults to the first page; omitting
40556 defaults to the last page of the document.
40557 The last page can also be selected with the keyword
40562 (This is only permitted in a page range.) So
40566 will insert all pages of the document and
40570 will insert all pages in reverse order.
40571 If the pages option is not specified, only the first page of the PDF is
40573 \begin_inset Newline newline
40580 inserts the pages with their original size, if this option is not given,
40581 the pages will be resized to fith the width of the page of your document.
40586 you can specify the width and height of the input pages and their rotation.
40587 If another width than 100
40588 \begin_inset space \thinspace{}
40591 Scale% is used, the option
40595 will be overwritten.
40596 For more info and possible options, have a look into the documentation
40597 of the \SpecialChar LaTeX
40603 \begin_inset CommandInset citation
40611 \begin_inset Index idx
40614 \begin_layout Plain Layout
40616 -packages ! pdfpages
40622 \begin_inset Newline newline
40625 To use this template in a
40629 presentation you need to first insert an
40633 environment and in a subsequent paragraph a \SpecialChar TeX
40634 Code box containing the command
40639 setbeamertemplate{background canvas}{}
40642 Then you can insert as many paragraphs containing the PDFPages template
40644 Behind the included PDF pages you can resume the Beamer presentation by
40645 beginning a new frame or by starting a new section.
40646 To avoid stray blank pages prior to the PDF pages, make sure to use the
40651 alignment for the paragraph containing the template.
40652 \begin_inset Newline newline
40655 Here is an included PDF which is rotated by -5°:
40656 \begin_inset External
40658 filename clipart/Abstract.pdf
40659 extra LaTeX "noautoscale, pages=-"
40661 rotateOrigin bottomleft
40668 \begin_layout Description
40670 \begin_inset space ~
40673 image This can be used for bitmap images.
40674 The image can be treated in the
40678 dialog like the images that are usually included via the
40682 dialog as described in section
40683 \begin_inset space ~
40687 \begin_inset CommandInset ref
40689 reference "sec:Graphics-Dialog"
40694 Here is an inserted raster image:
40695 \begin_inset External
40696 template RasterImage
40697 filename clipart/ToolbarEnvBox.png
40704 \begin_layout Description
40705 Spreadsheet With this template you can insert spreadsheets
40706 \begin_inset space \thinspace{}
40710 \begin_inset space \thinspace{}
40713 tables in the format of
40716 \begin_inset CommandInset href
40719 target "https://en.wikipedia.org/wiki/Gnumeric"
40727 \begin_inset CommandInset href
40729 name "OpenDocument"
40730 target "https://en.wikipedia.org/wiki/OpenDocument"
40736 \begin_inset CommandInset href
40738 name "Microsoft Office XML"
40739 target "https://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
40745 \begin_inset CommandInset href
40747 name "Office Open XML"
40748 target "https://en.wikipedia.org/wiki/Office_Open_XML"
40754 For this feature \SpecialChar LyX
40755 must have found the program
40759 during its configuration.
40760 This program is part of Gnumeric, so that you must have Gnumeric installed,
40761 also if you don't have tables in the Gnumeric format.
40762 For examples and possible limitations have a look at \SpecialChar LyX
40770 \begin_layout Description
40772 \begin_inset space ~
40775 graphics This can be used for vector graphics.
40776 The image can be treated in the
40780 dialog like the images that are usually included via the
40784 dialog as described in section
40785 \begin_inset space ~
40789 \begin_inset CommandInset ref
40791 reference "sec:Graphics-Dialog"
40796 Here is an inserted vector graphics:
40797 \begin_inset External
40798 template VectorGraphics
40799 filename clipart/SVG-Drawing.svg
40808 \begin_layout Description
40810 \begin_inset space ~
40813 figure This template supports images created with the program
40814 \begin_inset CommandInset href
40817 target "https://en.wikipedia.org/wiki/Xfig"
40825 \begin_layout Standard
40826 When you use the option
40838 dialog, only the path to the inserted file is shown in the output.
40839 \begin_inset Newline newline
40842 External material is displayed in \SpecialChar LyX
40843 either as a box like this:
40844 \begin_inset Graphics
40845 filename clipart/ExternalMaterial.png
40847 scaleBeforeRotation
40851 or as image, depending on the option
40857 LaTeX and LyX options
40862 \begin_layout Standard
40869 manual explains how you can define your own templates.
40872 \begin_layout Section
40874 \begin_inset CommandInset label
40876 name "sec:Child-Documents"
40881 \begin_inset Index idx
40884 \begin_layout Plain Layout
40885 External Document Parts ! Child Documents
40891 \begin_inset Index idx
40894 \begin_layout Plain Layout
40903 \begin_layout Standard
40904 Child documents are used if you have a long document consisting of several
40905 larger parts or sections.
40906 For maintenance it is often useful and sometimes even required to split
40907 the document into several files that can be revised separately.
40908 The different documents are then the so called
40909 \begin_inset Quotes eld
40913 \begin_inset Quotes erd
40916 , and a master document connects them to print the full document or parts
40918 A child document inherits elements from its master, for example the \SpecialChar LaTeX
40920 the bibliography, and labels for cross-references.
40923 \begin_layout Standard
40924 To be able to work on child documents without the need to open their master,
40925 specify in the child document the master in the menu
40927 Document\SpecialChar menuseparator
40928 Settings\SpecialChar menuseparator
40930 \begin_inset space ~
40936 This master document will then be used in the background by \SpecialChar LyX
40938 the child document.
40941 \begin_layout Standard
40942 Included documents are displayed in \SpecialChar LyX
40943 as a box like this:
40944 \begin_inset Graphics
40945 filename clipart/ChildDocument.png
40947 scaleBeforeRotation
40951 To include child documents in a master document use the menu
40953 Insert\SpecialChar menuseparator
40954 File\SpecialChar menuseparator
40956 \begin_inset space ~
40962 A dialog pops up where you can choose between four include methods:
40965 \begin_layout Description
40966 Include You can include \SpecialChar LyX
40967 and \SpecialChar LaTeX
40977 dialog, the included document will be opened in \SpecialChar LyX
40978 in a new file tab so that
40980 \begin_inset Newline newline
40986 \begin_layout Standard
40987 Here is a child document inserted using
40992 \begin_inset CommandInset include
40993 LatexCommand include
40994 filename "DummyDocument1.lyx"
41002 \begin_layout Standard
41003 The section numbering includes the sections of the included files in the
41004 order they are inserted in the master document.
41005 The included example document has for example a subsection that is numbered
41006 as a subsection of this section.
41007 Labels of included documents can be referenced: Subsection
41008 \begin_inset space ~
41012 \begin_inset CommandInset ref
41014 reference "subsec:External-Subsection-1"
41021 \begin_layout Standard
41022 The preamble of the child document is ignored; only the preamble of the
41023 master document is used.
41024 Branches in child documents will be ignored by the master document when
41025 the master document does not have a branch with the same name.
41026 Included documents are inserted starting on a new page and ending with
41030 \begin_layout Standard
41031 \begin_inset Note Greyedout
41034 \begin_layout Plain Layout
41039 If you have included a \SpecialChar LyX
41040 or \SpecialChar LaTeX
41041 file, you are warned when you export/view the
41042 document in case the child document uses another document class than the
41043 master document as this will lead to unexpected outputs.
41051 \begin_layout Description
41052 Input This method is very similar to the Include method.
41053 The differences are:
41057 \begin_layout Itemize
41058 Input files don't start with a new page and don't end with a page break.
41061 \begin_layout Itemize
41062 Input files can be previewed in \SpecialChar LyX
41066 \begin_inset space ~
41071 is enabled in \SpecialChar LyX
41072 's preferences under
41075 \begin_inset space ~
41079 \begin_inset space ~
41082 feel\SpecialChar menuseparator
41088 \begin_layout Itemize
41089 You cannot exclude Input files via the menu
41091 Document\SpecialChar menuseparator
41092 Settings\SpecialChar menuseparator
41099 \begin_layout Standard
41100 Here is a child document inserted using
41105 \begin_inset CommandInset include
41107 filename "DummyDocument2.lyx"
41115 \begin_layout Description
41116 Verbatim With this method any text file can be included.
41117 The file is shown in the output with its source code; no command used in
41118 the text is invoked.
41119 You can use the option
41121 Mark spaces in output
41123 that displays the character
41124 \begin_inset Quotes eld
41131 \begin_layout Plain Layout
41141 \begin_inset Quotes erd
41144 for every space character in the source code.
41145 The difference from the method via the menu
41147 Insert\SpecialChar menuseparator
41148 File\SpecialChar menuseparator
41150 \begin_inset space ~
41155 is that the document content is not shown in \SpecialChar LyX
41159 \begin_layout Standard
41160 Here is a child document inserted as Verbatim:
41161 \begin_inset CommandInset include
41162 LatexCommand verbatiminput
41163 filename "DummyTextDocument.txt"
41169 \begin_inset VSpace bigskip
41172 Here is a child document inserted as Verbatim using the
41174 Mark spaces in output
41177 \begin_inset CommandInset include
41178 LatexCommand verbatiminput*
41179 filename "DummyTextDocument.txt"
41187 \begin_layout Standard
41188 \begin_inset VSpace bigskip
41194 \begin_layout Standard
41195 \begin_inset Note Greyedout
41198 \begin_layout Plain Layout
41203 As you can see in the examples above, the text of the documents included
41208 is not broken at the end of the document lines.
41216 \begin_layout Description
41217 Listings This type is described in chapter
41218 \begin_inset space ~
41222 \begin_inset CommandInset ref
41224 reference "cha:Program-Code-Listings"
41231 \begin_layout Standard
41232 \begin_inset Note Greyedout
41235 \begin_layout Plain Layout
41240 Including the same document twice in a document using different methods
41241 could cause \SpecialChar LaTeX
41250 \begin_layout Standard
41251 If you want to view/export only selected children of your master document,
41252 either because you want to save compiling time or because you want to distribut
41253 e single chapters of the book you are just writing, you can exclude children
41255 This is done via the menu
41257 Document\SpecialChar menuseparator
41258 Settings\SpecialChar menuseparator
41262 You can exclude\SpecialChar breakableslash
41263 include children by double-clicking on the
41267 column of the respective child document in the list (note that this only
41268 works for documents embedded via
41269 \begin_inset Quotes eld
41273 \begin_inset Quotes erd
41277 \begin_inset Quotes eld
41281 \begin_inset Quotes erd
41286 \change_inserted -712698321 1584102244
41290 \begin_layout Standard
41292 \change_inserted -712698321 1584102427
41295 Global Counters & References
41297 you can set how page numbers, references, section counters etc.
41301 \begin_layout Itemize
41303 \change_inserted -712698321 1584102377
41309 \change_deleted -712698321 1584102385
41312 Maintain counters and references
41317 will assure that all page numbers, references etc.
41318 \begin_inset space ~
41321 are correct as if the whole document was
41322 \change_deleted -712698321 1584108508
41324 \change_inserted -712698321 1584108509
41328 This is useful if you want the selected sub-documents to look exactly as
41329 in the context of the whole document.
41330 However, \SpecialChar LyX
41331 needs to process the whole document in the background for this
41333 \change_inserted -712698321 1584102406
41334 , which can take a long time
41338 \change_deleted -712698321 1584103026
41340 \change_inserted -712698321 1584102447
41344 \begin_layout Itemize
41346 \change_inserted -712698321 1584102489
41355 \change_inserted -712698321 1584103270
41356 only compiles the master and the included documents.
41357 Thus the counters will differ from the complete document, and references
41358 to excluded child documents will not be resolved.
41360 \change_deleted -712698321 1584102517
41362 \change_inserted -712698321 1584102518
41365 f you want to save compile time and if counters and references do not need
41367 \change_deleted -712698321 1584102523
41368 disable this checkbox
41369 \change_inserted -712698321 1584102546
41370 use this option as this is the fastest one
41373 \change_inserted -712698321 1584102550
41377 \begin_layout Itemize
41379 \change_inserted -712698321 1584109486
41384 is somewhat in-between the above two.
41385 If this is selected, \SpecialChar LyX
41386 will compile the whole document at the first output,
41387 which sets up counters and references correctly.
41388 In subsequent outputs, it will compile the whole document only if a change
41389 has been made in an excluded child document.
41390 As long as you only edit the included files, this approach is as fast as
41391 the second one, while giving you more or less correct counters and references.
41392 They are only more or less correct since the change of size of included
41393 documents obviously also changes the pagination of excluded documents,
41394 but this change cannot be tracked with this method.
41399 \begin_layout Standard
41400 Alternatively, you can put each included file into a branch.
41404 \begin_layout Plain Layout
41405 Branches are described in section
41409 of the \SpecialChar LyX
41419 By enabling\SpecialChar breakableslash
41420 disabling branches you can decide which included files will
41421 appear in the output.
41422 This has the advantage that it also works with Input'ed sub-documents.
41423 However, counters and references will not be maintained with this approach.
41426 \begin_layout Chapter
41427 Program Code Listings
41428 \begin_inset CommandInset label
41430 name "cha:Program-Code-Listings"
41435 \begin_inset Index idx
41438 \begin_layout Plain Layout
41445 \begin_inset Index idx
41448 \begin_layout Plain Layout
41455 \begin_inset Index idx
41458 \begin_layout Plain Layout
41467 \begin_layout Standard
41468 To include and typeset program code you can use the
41472 inset that can be inserted via the menu
41474 Insert\SpecialChar menuseparator
41478 The \SpecialChar LaTeX
41484 \begin_inset Index idx
41487 \begin_layout Plain Layout
41489 -packages ! listings
41499 \begin_inset Index idx
41502 \begin_layout Plain Layout
41509 provide a powerful and flexible way to insert program source code into
41511 One can only use one of these packages in a document.
41516 is used by default.
41519 \begin_layout Standard
41520 \begin_inset Note Note
41523 \begin_layout Plain Layout
41529 does NOT want to encourage users to add the
41533 option to converter definitions.
41534 It works, but it is a huge security risk.
41535 There is an active discussion about how to handle this.
41536 Once that's been resolved, this can be updated appropriately.
41539 \begin_layout Plain Layout
41543 \begin_layout Plain Layout
41548 , you need to select it as the syntax highlighting package in the document
41558 requires also additionally the module
41570 \begin_layout Plain Layout
41571 Under \SpecialChar LyX
41576 is already installed.
41585 for the \SpecialChar LaTeX
41587 If you want for example view or export your document as the format
41590 \begin_inset space ~
41595 , go to the \SpecialChar LyX
41596 preferences and there to the section
41599 \begin_inset space ~
41602 Handling\SpecialChar menuseparator
41606 There go to the entry
41609 \begin_inset space ~
41613 \begin_inset space ~
41618 and look at the field
41623 There you see by default the content
41624 \begin_inset Newline newline
41632 \begin_inset Newline newline
41636 \begin_inset Newline newline
41641 pdflatex $$i -shell-escape
41642 \begin_inset Newline newline
41651 button and subsequently
41660 The same can be done for the output formats
41663 \begin_inset space ~
41671 \begin_inset space ~
41684 \begin_layout Standard
41685 Right-clicking on a listings inset opens the context menu containing where
41686 you can set the listings format.
41689 \begin_layout Standard
41690 By default, a listing starts a new paragraph in the output.
41691 The placement option
41694 \begin_inset space ~
41699 prints the listing inline like this:
41700 \begin_inset listings
41701 lstparams "language={C++}"
41705 \begin_layout Plain Layout
41713 \begin_inset Newline newline
41720 creates a listings float where you can specify the placement options
41721 \begin_inset Quotes eld
41729 \begin_inset Quotes erd
41733 \begin_inset Quotes eld
41741 \begin_inset Quotes erd
41745 \begin_inset Quotes eld
41753 \begin_inset Quotes erd
41757 \begin_inset Quotes eld
41765 \begin_inset Quotes erd
41768 corresponding to the float placement options described in section
41769 \begin_inset space ~
41773 \begin_inset CommandInset ref
41775 reference "sec:Float-Settings"
41780 The placement options can be mixed and are inserted without any separation,
41782 \begin_inset space \thinspace{}
41786 \begin_inset space \space{}
41790 \begin_inset Quotes eld
41798 \begin_inset Quotes erd
41803 \begin_inset Quotes eld
41807 \begin_inset Quotes erd
41810 has sometimes no effect, but you don't need to use the
41814 option in this case as also non-float listings can have captions and be
41818 \begin_layout Standard
41819 You can add captions to listings that are not inline with the menu
41821 Insert\SpecialChar menuseparator
41825 Listings can be referenced like floats: Listing
41826 \begin_inset space ~
41830 \begin_inset CommandInset ref
41832 reference "lst:Example-Listing"
41837 A list of listings which contains all listings with captions can be created
41840 Insert\SpecialChar menuseparator
41842 \begin_inset space ~
41846 \begin_inset space ~
41849 TOC\SpecialChar menuseparator
41853 The list entries are the listing caption and the listing number.
41856 \begin_layout Standard
41857 \begin_inset listings
41858 lstparams "language=Python"
41862 \begin_layout Plain Layout
41864 \begin_inset Caption Standard
41866 \begin_layout Plain Layout
41867 \begin_inset CommandInset label
41869 name "lst:Example-Listing"
41873 Example Listing float
41878 # Example listing float
41881 \begin_layout Plain Layout
41886 \begin_layout Plain Layout
41888 'this is a python function'
41891 \begin_layout Plain Layout
41901 \begin_layout Standard
41902 \begin_inset Note Greyedout
41905 \begin_layout Plain Layout
41914 package places captions before the listing by default.
41915 \begin_inset Newline newline
41922 package places them after the listing by default if it is floating.
41923 If it is not floating, caption will be typeset before the listing if it
41924 is inserted to its first line, otherwise it will be typeset after the listing.
41925 If you want to force the placement in every case before the listing, you
41926 have to add the following lines as last thing to the preamble:
41927 \begin_inset Newline newline
41934 @ifundefined{newfloat}
41935 \begin_inset Newline newline
41939 \begin_inset Phantom HPhantom
41942 \begin_layout Plain Layout
41945 \begin_inset space ~
41955 usepackage{float}}{}
41956 \begin_inset Newline newline
41961 floatstyle{plaintop}
41964 \begin_inset Note Note
41967 \begin_layout Plain Layout
41972 will be loaded automatically by \SpecialChar LyX
41973 when you use special document-wide float
41974 placement settings.
41975 To avoid that it is loaded twice the command
41981 is used in the above command.
41994 \begin_layout Standard
41995 When you have set a programming language in the listings dialog, the keywords
41996 of this language will be recognized and specially typeset in the output.
41997 In the example listings the Python keyword
41998 \begin_inset Quotes eld
42002 \begin_inset Quotes erd
42005 is recognized and printed bold in the output.
42008 \begin_layout Standard
42009 \begin_inset Note Greyedout
42012 \begin_layout Plain Layout
42017 If you don't get bold keywords when using typewriter fonts, your
42021 font probably doesn't provide a bold shape.
42022 In this case select a different one in the menu
42024 Document\SpecialChar menuseparator
42025 Settings\SpecialChar menuseparator
42037 provide bold shapes.)
42045 \begin_layout Standard
42049 \begin_inset space ~
42054 of the listings dialog you can specify the line numbering style.
42055 You can insert a number to specify which lines are numbered in the field
42062 \begin_inset space \thinspace{}
42066 \begin_inset space \space{}
42070 \begin_inset Quotes eld
42074 \begin_inset Quotes erd
42077 , only every 3rd line will be numbered.
42080 \begin_layout Standard
42081 You can furthermore specify a range of lines; only these will then appear
42085 Extended character table
42087 is only meaningful for the
42091 package and should be used when you use national characters like the German
42092 umlauts in the listing.
42093 \begin_inset Newline newline
42096 Here is an example listing with left line numbering, step
42097 \begin_inset Quotes eld
42101 \begin_inset Quotes erd
42105 \begin_inset Quotes eld
42109 \begin_inset Quotes erd
42113 \begin_inset Quotes eld
42116 Extended character table
42117 \begin_inset Quotes erd
42121 \begin_inset Quotes eld
42125 \begin_inset space ~
42129 \begin_inset space ~
42133 \begin_inset Quotes erd
42137 \begin_inset space \thinspace{}
42141 \begin_inset space \thinspace{}
42147 \begin_layout Standard
42148 \begin_inset listings
42149 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
42153 \begin_layout Plain Layout
42158 \begin_layout Plain Layout
42160 'this is a python function'
42163 \begin_layout Plain Layout
42168 \begin_layout Plain Layout
42173 \begin_layout Plain Layout
42175 'This is a German word: Tschüß'
42178 \begin_layout Plain Layout
42183 \begin_layout Plain Layout
42188 \begin_layout Plain Layout
42190 'this is a python function'
42193 \begin_layout Plain Layout
42203 \begin_layout Standard
42204 When you have tabulators in your listing, you can specify the number of
42205 characters that are spanned by a tabulator in the field
42208 \begin_inset space ~
42216 \begin_layout Standard
42217 \begin_inset Note Greyedout
42220 \begin_layout Plain Layout
42225 Due to a bug in the
42229 package the line numbering is shifted by a line by every previous listing.
42230 That's the reason why the lines 2 and 5 are numbered in the above listing
42231 and not the lines 3 and 6.
42239 \begin_layout Standard
42240 \begin_inset VSpace bigskip
42246 \begin_layout Standard
42247 It is also possible to print lines from a file as listing.
42248 To do this, use the menu
42250 Insert\SpecialChar menuseparator
42251 File\SpecialChar menuseparator
42254 and choose the type
42262 \begin_layout Plain Layout
42263 The other child document types are described in section
42264 \begin_inset space ~
42268 \begin_inset CommandInset ref
42270 reference "sec:Child-Documents"
42279 In the child document dialog you can specify the listing parameters in
42281 To show a list of all available parameters, type in a question mark
42282 \begin_inset Quotes eld
42286 \begin_inset Quotes erd
42292 \begin_layout Standard
42293 To reference child document listings, write a label text into the corresponding
42294 field of the child document dialog.
42295 The label can then be referenced using the menu
42297 Insert\SpecialChar menuseparator
42303 \begin_layout Standard
42305 \begin_inset space ~
42309 \begin_inset CommandInset ref
42311 reference "lst:file-listing"
42315 is an example for a listing of a file; there the lines 10
42316 \begin_inset space \thinspace{}
42320 \begin_inset space \thinspace{}
42323 15 of this \SpecialChar LyX
42327 \begin_layout Standard
42328 \begin_inset CommandInset include
42329 LatexCommand lstinputlisting
42330 filename "EmbeddedObjects.lyx"
42331 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
42339 \begin_layout Standard
42340 \begin_inset VSpace bigskip
42346 \begin_layout Standard
42347 Inserting a formula into a listing can be done the following way:
42350 \begin_layout Enumerate
42351 Open the listings dialog and add
42352 \begin_inset Newline newline
42360 \begin_inset Newline newline
42363 to the field of the
42370 \begin_layout Enumerate
42371 Create a formula outside the listing
42374 \begin_layout Enumerate
42375 Copy the content of the formula (not the formula inset) to the clipboard
42385 \begin_layout Enumerate
42386 In the listing write
42387 \begin_inset Quotes eld
42395 \begin_inset Quotes erd
42398 and copy from the clipboard between the dollar-signs (shortcut
42407 \begin_layout Standard
42408 \begin_inset listings
42409 lstparams "language=Python,mathescape=true"
42413 \begin_layout Plain Layout
42415 \begin_inset Caption Standard
42417 \begin_layout Plain Layout
42418 Example Listing float containing a formula
42423 # Example listing float
42426 \begin_layout Plain Layout
42431 \begin_layout Plain Layout
42444 \begin_layout Plain Layout
42454 \begin_layout Standard
42455 \begin_inset VSpace bigskip
42461 \begin_layout Standard
42462 Global listings settings can be set in the
42464 Document\SpecialChar menuseparator
42465 Settings\SpecialChar menuseparator
42469 To get there a list of available options, type in a question mark
42470 \begin_inset Quotes eld
42474 \begin_inset Quotes erd
42480 \begin_layout Standard
42481 For more information about the
42489 packages, we refer to their documentation
42490 \begin_inset CommandInset citation
42492 key "listings,minted"
42500 \begin_layout Standard
42501 \begin_inset Newpage newpage
42507 \begin_layout Chapter
42509 Units available in \SpecialChar LyX
42511 \begin_inset Index idx
42514 \begin_layout Plain Layout
42521 \begin_inset CommandInset label
42523 name "cha:Units-available-in"
42530 \begin_layout Standard
42531 To understand the units described in this documentation, Table
42532 \begin_inset space ~
42536 \begin_inset CommandInset ref
42538 reference "tab:Units"
42542 explains all units available in \SpecialChar LyX
42546 \begin_layout Standard
42547 \begin_inset Float table
42554 \begin_layout Plain Layout
42555 \begin_inset Caption Standard
42557 \begin_layout Plain Layout
42558 \begin_inset CommandInset label
42572 \begin_layout Plain Layout
42573 \begin_inset VSpace medskip
42579 \begin_layout Plain Layout
42581 \begin_inset Tabular
42582 <lyxtabular version="3" rows="21" columns="3">
42583 <features tabularvalignment="middle">
42584 <column alignment="center" valignment="top">
42585 <column alignment="center" valignment="middle" width="50col%">
42586 <column alignment="center" valignment="top">
42588 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
42591 \begin_layout Plain Layout
42597 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
42600 \begin_layout Plain Layout
42606 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
42609 \begin_layout Plain Layout
42618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42621 \begin_layout Plain Layout
42627 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42630 \begin_layout Plain Layout
42632 \begin_inset space \thinspace{}
42636 \begin_inset space \thinspace{}
42644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42647 \begin_layout Plain Layout
42655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42658 \begin_layout Plain Layout
42664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42667 \begin_layout Plain Layout
42669 \begin_inset space \thinspace{}
42673 \begin_inset space \thinspace{}
42681 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42684 \begin_layout Plain Layout
42692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42695 \begin_layout Plain Layout
42701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42704 \begin_layout Plain Layout
42710 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42713 \begin_layout Plain Layout
42721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42724 \begin_layout Plain Layout
42730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42733 \begin_layout Plain Layout
42735 \begin_inset space \thinspace{}
42739 \begin_inset Formula $\approx$
42743 \begin_inset space \thinspace{}
42751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42754 \begin_layout Plain Layout
42762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42765 \begin_layout Plain Layout
42771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42774 \begin_layout Plain Layout
42784 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42787 \begin_layout Plain Layout
42795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42798 \begin_layout Plain Layout
42804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42807 \begin_layout Plain Layout
42817 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42820 \begin_layout Plain Layout
42828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42831 \begin_layout Plain Layout
42837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42840 \begin_layout Plain Layout
42846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42849 \begin_layout Plain Layout
42857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42860 \begin_layout Plain Layout
42866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42869 \begin_layout Plain Layout
42875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42878 \begin_layout Plain Layout
42886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42889 \begin_layout Plain Layout
42895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42898 \begin_layout Plain Layout
42900 \begin_inset space \thinspace{}
42904 \begin_inset space \thinspace{}
42912 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42915 \begin_layout Plain Layout
42923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42926 \begin_layout Plain Layout
42932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42935 \begin_layout Plain Layout
42937 \begin_inset space \thinspace{}
42941 \begin_inset space \thinspace{}
42949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42952 \begin_layout Plain Layout
42960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42963 \begin_layout Plain Layout
42969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42972 \begin_layout Plain Layout
42974 \begin_inset space \thinspace{}
42978 \begin_inset space \thinspace{}
42986 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42989 \begin_layout Plain Layout
42997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43000 \begin_layout Plain Layout
43006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43009 \begin_layout Plain Layout
43010 scaled point (65536
43011 \begin_inset space \thinspace{}
43015 \begin_inset space \thinspace{}
43023 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43026 \begin_layout Plain Layout
43034 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43037 \begin_layout Plain Layout
43043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43046 \begin_layout Plain Layout
43052 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43055 \begin_layout Plain Layout
43065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43068 \begin_layout Plain Layout
43074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43077 \begin_layout Plain Layout
43078 % of height between baselines of two subsequent text lines
43083 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43086 \begin_layout Plain Layout
43096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43099 \begin_layout Plain Layout
43105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43108 \begin_layout Plain Layout
43114 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43117 \begin_layout Plain Layout
43127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43130 \begin_layout Plain Layout
43136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43139 \begin_layout Plain Layout
43145 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43148 \begin_layout Plain Layout
43158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43161 \begin_layout Plain Layout
43167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43170 \begin_layout Plain Layout
43176 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43179 \begin_layout Plain Layout
43189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43192 \begin_layout Plain Layout
43198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43201 \begin_layout Plain Layout
43202 % of original image width
43207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43210 \begin_layout Plain Layout
43218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43221 \begin_layout Plain Layout
43227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43230 \begin_layout Plain Layout
43236 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43239 \begin_layout Plain Layout
43249 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43252 \begin_layout Plain Layout
43258 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43261 \begin_layout Plain Layout
43267 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
43270 \begin_layout Plain Layout
43291 \begin_layout Chapter
43292 Output File Formats with Graphics
43293 \begin_inset CommandInset label
43295 name "cha:Output-File-Formats"
43302 \begin_layout Section
43304 \begin_inset Index idx
43307 \begin_layout Plain Layout
43314 \begin_inset Index idx
43317 \begin_layout Plain Layout
43322 \begin_layout Plain Layout
43333 \begin_layout Plain Layout
43348 \begin_layout Standard
43349 This file type has the extension
43350 \begin_inset Quotes eld
43358 \begin_inset Quotes erd
43363 \begin_inset Quotes eld
43367 \begin_inset Quotes erd
43370 (DVI), because it is completely portable; you can move them from one machine
43371 to another without needing to do any sort of conversion.
43372 At the time when this file-format was developed, this was no matter of
43374 DVIs are used for quick previews and as pre-stage for other output formats,
43378 \begin_layout Standard
43379 \begin_inset Note Greyedout
43382 \begin_layout Plain Layout
43387 DVI-files do not contain images; they will only be a linked.
43392 So don't forget this, if you move your
43396 file to another computer.
43397 This property can also slow down your computer when you view the DVI, because
43398 the DVI-viewer has to convert the image in the background to make it visible
43399 when you scroll in the DVI.
43400 So it is recommended that you use PDF for files with many images.
43403 \begin_layout Standard
43404 You can export your document to DVI by using the menu
43406 File\SpecialChar menuseparator
43407 Export\SpecialChar menuseparator
43411 You can view your document as DVI via the
43418 \begin_layout Section
43420 \begin_inset Index idx
43423 \begin_layout Plain Layout
43424 File Formats ! PostScript
43430 \begin_inset Index idx
43433 \begin_layout Plain Layout
43438 \begin_layout Plain Layout
43449 \begin_layout Plain Layout
43464 \begin_layout Standard
43465 This file type has the extension
43466 \begin_inset Quotes eld
43474 \begin_inset Quotes erd
43478 PostScript was developed by the company
43482 as a printer language.
43483 The file therefore contains commands that the printer uses to print the
43485 PostScript can be seen as a
43486 \begin_inset Quotes eld
43489 programming language
43490 \begin_inset Quotes erd
43493 ; you can calculate with it and draw diagrams and images.
43497 \begin_layout Plain Layout
43498 If you are interested to learn more about this, have a look at the \SpecialChar LaTeX
43505 \begin_inset CommandInset citation
43517 Due to this ability, the files are often bigger than PDFs.
43520 \begin_layout Standard
43521 PostScript can only contain images in the format
43522 \begin_inset Quotes eld
43525 Encapsulated PostScript
43526 \begin_inset Quotes erd
43529 (EPS, file extension
43530 \begin_inset Quotes eld
43538 \begin_inset Quotes erd
43542 As \SpecialChar LyX
43543 allows you to use any known image format in your document, it has to
43544 convert images in the background to EPS.
43546 \begin_inset space ~
43550 \begin_inset space ~
43553 images in your document, \SpecialChar LyX
43555 \begin_inset space ~
43558 conversions whenever you view or export your document.
43559 This will slow down your work flow with \SpecialChar LyX
43561 So if you plan to use PostScript, you can insert your images directly as
43562 EPS to avoid this problem.
43565 \begin_layout Standard
43566 You can export your document to PostScript using the menu
43568 File\SpecialChar menuseparator
43569 Export\SpecialChar menuseparator
43573 You can view your document as PostScript via the
43580 \begin_layout Section
43582 \begin_inset Index idx
43585 \begin_layout Plain Layout
43592 \begin_inset Index idx
43595 \begin_layout Plain Layout
43604 \begin_layout Standard
43605 This file type has the extension
43606 \begin_inset Quotes eld
43614 \begin_inset Quotes erd
43619 \begin_inset Quotes eld
43622 Portable Document Format
43623 \begin_inset Quotes erd
43626 (PDF) was developed by
43630 as a derivative of PostScript.
43631 It is more compressed and it uses fewer commands than PostScript.
43633 \begin_inset Quotes eld
43637 \begin_inset Quotes erd
43640 implies, it can be processed at any computer system and the printed output
43641 looks exactly the same.
43644 \begin_layout Standard
43645 PDF can contain images in its own PDF format, in the format
43646 \begin_inset Quotes eld
43649 Joint Photographic Experts Group
43650 \begin_inset Quotes erd
43653 (JPG, file extension
43654 \begin_inset Quotes eld
43662 \begin_inset Quotes erd
43666 \begin_inset Quotes eld
43674 \begin_inset Quotes erd
43677 ), and in the format
43678 \begin_inset Quotes eld
43681 Portable Network Graphics
43682 \begin_inset Quotes erd
43685 (PNG, file extension
43686 \begin_inset Quotes eld
43694 \begin_inset Quotes erd
43698 Nevertheless you can use any other image format, because \SpecialChar LyX
43700 in the background to one of these formats.
43701 But as described in the section about PostScript, the image conversion
43702 will slow down your work flow.
43703 So it is recommended that you use images in one of the three mentioned
43707 \begin_layout Standard
43708 You can export your document to PDF via the menu
43710 File\SpecialChar menuseparator
43713 in three different ways:
43716 \begin_layout Description
43718 \begin_inset space ~
43721 (ps2pdf) This uses the program
43725 that creates a PDF from a PostScript-version of your file.
43726 The PostScript-version is produced by the program
43730 which uses a DVI-version as intermediate step.
43731 So this export variant consists of three conversions.
43734 \begin_layout Description
43736 \begin_inset space ~
43739 (dvipdfm) This uses the program
43743 that converts your file in the background to DVI and in a second step to
43747 \begin_layout Description
43749 \begin_inset space ~
43752 (pdflatex) This uses the program
43756 that converts your file directly to PDF.
43759 \begin_layout Standard
43760 It is recommended that you use
43763 \begin_inset space ~
43772 supports all features of actual PDF-versions, is quick and works stable.
43777 is not under development and therefore a bit outdated.
43780 \begin_layout Standard
43781 You can view your document as PDF via the
43785 menu or by using a toolbar button.
43788 \begin_layout Chapter
43789 List of dvips color names
43790 \begin_inset CommandInset label
43792 name "chap:List-of-dvips-colornames"
43799 \begin_layout Standard
43800 \begin_inset Tabular
43801 <lyxtabular version="3" rows="17" columns="4">
43802 <features tabularvalignment="middle">
43803 <column alignment="left" valignment="top" width="0pt">
43804 <column alignment="left" valignment="top" width="0pt">
43805 <column alignment="left" valignment="top" width="0pt">
43806 <column alignment="left" valignment="top" width="0pt">
43808 <cell alignment="left" valignment="top" usebox="none">
43811 \begin_layout Plain Layout
43815 \begin_layout Plain Layout
43828 \begin_layout Plain Layout
43839 \begin_layout Plain Layout
43851 <cell alignment="left" valignment="top" usebox="none">
43854 \begin_layout Plain Layout
43858 \begin_layout Plain Layout
43871 \begin_layout Plain Layout
43882 \begin_layout Plain Layout
43894 <cell alignment="left" valignment="top" usebox="none">
43897 \begin_layout Plain Layout
43901 \begin_layout Plain Layout
43914 \begin_layout Plain Layout
43925 \begin_layout Plain Layout
43937 <cell alignment="left" valignment="top" usebox="none">
43940 \begin_layout Plain Layout
43944 \begin_layout Plain Layout
43957 \begin_layout Plain Layout
43968 \begin_layout Plain Layout
43982 <cell alignment="center" valignment="top" usebox="none">
43985 \begin_layout Plain Layout
43989 \begin_layout Plain Layout
44002 \begin_layout Plain Layout
44010 \begin_inset Phantom Phantom
44013 \begin_layout Plain Layout
44023 \begin_layout Plain Layout
44035 <cell alignment="center" valignment="top" usebox="none">
44038 \begin_layout Plain Layout
44042 \begin_layout Plain Layout
44055 \begin_layout Plain Layout
44063 \begin_inset Phantom Phantom
44066 \begin_layout Plain Layout
44076 \begin_layout Plain Layout
44088 <cell alignment="center" valignment="top" usebox="none">
44091 \begin_layout Plain Layout
44095 \begin_layout Plain Layout
44108 \begin_layout Plain Layout
44116 \begin_inset Phantom Phantom
44119 \begin_layout Plain Layout
44129 \begin_layout Plain Layout
44141 <cell alignment="center" valignment="top" usebox="none">
44144 \begin_layout Plain Layout
44148 \begin_layout Plain Layout
44161 \begin_layout Plain Layout
44169 \begin_inset Phantom Phantom
44172 \begin_layout Plain Layout
44182 \begin_layout Plain Layout
44196 <cell alignment="left" valignment="top" usebox="none">
44199 \begin_layout Plain Layout
44203 \begin_layout Plain Layout
44216 \begin_layout Plain Layout
44224 \begin_inset Phantom Phantom
44227 \begin_layout Plain Layout
44237 \begin_layout Plain Layout
44249 <cell alignment="left" valignment="top" usebox="none">
44252 \begin_layout Plain Layout
44256 \begin_layout Plain Layout
44269 \begin_layout Plain Layout
44277 \begin_inset Phantom Phantom
44280 \begin_layout Plain Layout
44290 \begin_layout Plain Layout
44302 <cell alignment="left" valignment="top" usebox="none">
44305 \begin_layout Plain Layout
44309 \begin_layout Plain Layout
44322 \begin_layout Plain Layout
44330 \begin_inset Phantom Phantom
44333 \begin_layout Plain Layout
44343 \begin_layout Plain Layout
44355 <cell alignment="left" valignment="top" usebox="none">
44358 \begin_layout Plain Layout
44362 \begin_layout Plain Layout
44375 \begin_layout Plain Layout
44383 \begin_inset Phantom Phantom
44386 \begin_layout Plain Layout
44396 \begin_layout Plain Layout
44410 <cell alignment="left" valignment="top" usebox="none">
44413 \begin_layout Plain Layout
44417 \begin_layout Plain Layout
44430 \begin_layout Plain Layout
44438 \begin_inset Phantom Phantom
44441 \begin_layout Plain Layout
44451 \begin_layout Plain Layout
44463 <cell alignment="left" valignment="top" usebox="none">
44466 \begin_layout Plain Layout
44470 \begin_layout Plain Layout
44483 \begin_layout Plain Layout
44491 \begin_inset Phantom Phantom
44494 \begin_layout Plain Layout
44504 \begin_layout Plain Layout
44516 <cell alignment="left" valignment="top" usebox="none">
44519 \begin_layout Plain Layout
44523 \begin_layout Plain Layout
44536 \begin_layout Plain Layout
44544 \begin_inset Phantom Phantom
44547 \begin_layout Plain Layout
44557 \begin_layout Plain Layout
44569 <cell alignment="left" valignment="top" usebox="none">
44572 \begin_layout Plain Layout
44576 \begin_layout Plain Layout
44589 \begin_layout Plain Layout
44597 \begin_inset Phantom Phantom
44600 \begin_layout Plain Layout
44610 \begin_layout Plain Layout
44624 <cell alignment="left" valignment="top" usebox="none">
44627 \begin_layout Plain Layout
44631 \begin_layout Plain Layout
44644 \begin_layout Plain Layout
44652 \begin_inset Phantom Phantom
44655 \begin_layout Plain Layout
44665 \begin_layout Plain Layout
44677 <cell alignment="left" valignment="top" usebox="none">
44680 \begin_layout Plain Layout
44684 \begin_layout Plain Layout
44697 \begin_layout Plain Layout
44705 \begin_inset Phantom Phantom
44708 \begin_layout Plain Layout
44718 \begin_layout Plain Layout
44730 <cell alignment="left" valignment="top" usebox="none">
44733 \begin_layout Plain Layout
44737 \begin_layout Plain Layout
44750 \begin_layout Plain Layout
44758 \begin_inset Phantom Phantom
44761 \begin_layout Plain Layout
44771 \begin_layout Plain Layout
44783 <cell alignment="left" valignment="top" usebox="none">
44786 \begin_layout Plain Layout
44790 \begin_layout Plain Layout
44803 \begin_layout Plain Layout
44811 \begin_inset Phantom Phantom
44814 \begin_layout Plain Layout
44824 \begin_layout Plain Layout
44838 <cell alignment="left" valignment="top" usebox="none">
44841 \begin_layout Plain Layout
44845 \begin_layout Plain Layout
44858 \begin_layout Plain Layout
44866 \begin_inset Phantom Phantom
44869 \begin_layout Plain Layout
44879 \begin_layout Plain Layout
44891 <cell alignment="left" valignment="top" usebox="none">
44894 \begin_layout Plain Layout
44898 \begin_layout Plain Layout
44911 \begin_layout Plain Layout
44919 \begin_inset Phantom Phantom
44922 \begin_layout Plain Layout
44932 \begin_layout Plain Layout
44944 <cell alignment="left" valignment="top" usebox="none">
44947 \begin_layout Plain Layout
44951 \begin_layout Plain Layout
44964 \begin_layout Plain Layout
44972 \begin_inset Phantom Phantom
44975 \begin_layout Plain Layout
44985 \begin_layout Plain Layout
44997 <cell alignment="left" valignment="top" usebox="none">
45000 \begin_layout Plain Layout
45004 \begin_layout Plain Layout
45017 \begin_layout Plain Layout
45025 \begin_inset Phantom Phantom
45028 \begin_layout Plain Layout
45038 \begin_layout Plain Layout
45052 <cell alignment="center" valignment="top" usebox="none">
45055 \begin_layout Plain Layout
45059 \begin_layout Plain Layout
45072 \begin_layout Plain Layout
45080 \begin_inset Phantom Phantom
45083 \begin_layout Plain Layout
45093 \begin_layout Plain Layout
45105 <cell alignment="center" valignment="top" usebox="none">
45108 \begin_layout Plain Layout
45112 \begin_layout Plain Layout
45125 \begin_layout Plain Layout
45133 \begin_inset Phantom Phantom
45136 \begin_layout Plain Layout
45146 \begin_layout Plain Layout
45158 <cell alignment="center" valignment="top" usebox="none">
45161 \begin_layout Plain Layout
45165 \begin_layout Plain Layout
45178 \begin_layout Plain Layout
45186 \begin_inset Phantom Phantom
45189 \begin_layout Plain Layout
45199 \begin_layout Plain Layout
45211 <cell alignment="center" valignment="top" usebox="none">
45214 \begin_layout Plain Layout
45218 \begin_layout Plain Layout
45231 \begin_layout Plain Layout
45239 \begin_inset Phantom Phantom
45242 \begin_layout Plain Layout
45252 \begin_layout Plain Layout
45266 <cell alignment="left" valignment="top" usebox="none">
45269 \begin_layout Plain Layout
45273 \begin_layout Plain Layout
45286 \begin_layout Plain Layout
45294 \begin_inset Phantom Phantom
45297 \begin_layout Plain Layout
45307 \begin_layout Plain Layout
45319 <cell alignment="left" valignment="top" usebox="none">
45322 \begin_layout Plain Layout
45326 \begin_layout Plain Layout
45339 \begin_layout Plain Layout
45347 \begin_inset Phantom Phantom
45350 \begin_layout Plain Layout
45360 \begin_layout Plain Layout
45372 <cell alignment="left" valignment="top" usebox="none">
45375 \begin_layout Plain Layout
45379 \begin_layout Plain Layout
45392 \begin_layout Plain Layout
45400 \begin_inset Phantom Phantom
45403 \begin_layout Plain Layout
45413 \begin_layout Plain Layout
45425 <cell alignment="left" valignment="top" usebox="none">
45428 \begin_layout Plain Layout
45432 \begin_layout Plain Layout
45445 \begin_layout Plain Layout
45453 \begin_inset Phantom Phantom
45456 \begin_layout Plain Layout
45466 \begin_layout Plain Layout
45480 <cell alignment="left" valignment="top" usebox="none">
45483 \begin_layout Plain Layout
45487 \begin_layout Plain Layout
45500 \begin_layout Plain Layout
45508 \begin_inset Phantom Phantom
45511 \begin_layout Plain Layout
45521 \begin_layout Plain Layout
45533 <cell alignment="left" valignment="top" usebox="none">
45536 \begin_layout Plain Layout
45540 \begin_layout Plain Layout
45553 \begin_layout Plain Layout
45561 \begin_inset Phantom Phantom
45564 \begin_layout Plain Layout
45574 \begin_layout Plain Layout
45586 <cell alignment="left" valignment="top" usebox="none">
45589 \begin_layout Plain Layout
45593 \begin_layout Plain Layout
45606 \begin_layout Plain Layout
45614 \begin_inset Phantom Phantom
45617 \begin_layout Plain Layout
45627 \begin_layout Plain Layout
45639 <cell alignment="left" valignment="top" usebox="none">
45642 \begin_layout Plain Layout
45646 \begin_layout Plain Layout
45659 \begin_layout Plain Layout
45667 \begin_inset Phantom Phantom
45670 \begin_layout Plain Layout
45680 \begin_layout Plain Layout
45694 <cell alignment="left" valignment="top" usebox="none">
45697 \begin_layout Plain Layout
45701 \begin_layout Plain Layout
45714 \begin_layout Plain Layout
45722 \begin_inset Phantom Phantom
45725 \begin_layout Plain Layout
45735 \begin_layout Plain Layout
45747 <cell alignment="left" valignment="top" usebox="none">
45750 \begin_layout Plain Layout
45754 \begin_layout Plain Layout
45767 \begin_layout Plain Layout
45775 \begin_inset Phantom Phantom
45778 \begin_layout Plain Layout
45788 \begin_layout Plain Layout
45800 <cell alignment="left" valignment="top" usebox="none">
45803 \begin_layout Plain Layout
45807 \begin_layout Plain Layout
45820 \begin_layout Plain Layout
45828 \begin_inset Phantom Phantom
45831 \begin_layout Plain Layout
45841 \begin_layout Plain Layout
45853 <cell alignment="left" valignment="top" usebox="none">
45856 \begin_layout Plain Layout
45860 \begin_layout Plain Layout
45873 \begin_layout Plain Layout
45881 \begin_inset Phantom Phantom
45884 \begin_layout Plain Layout
45894 \begin_layout Plain Layout
45908 <cell alignment="left" valignment="top" usebox="none">
45911 \begin_layout Plain Layout
45915 \begin_layout Plain Layout
45928 \begin_layout Plain Layout
45936 \begin_inset Phantom Phantom
45939 \begin_layout Plain Layout
45949 \begin_layout Plain Layout
45961 <cell alignment="left" valignment="top" usebox="none">
45964 \begin_layout Plain Layout
45968 \begin_layout Plain Layout
45981 \begin_layout Plain Layout
45989 \begin_inset Phantom Phantom
45992 \begin_layout Plain Layout
46002 \begin_layout Plain Layout
46014 <cell alignment="left" valignment="top" usebox="none">
46017 \begin_layout Plain Layout
46021 \begin_layout Plain Layout
46034 \begin_layout Plain Layout
46042 \begin_inset Phantom Phantom
46045 \begin_layout Plain Layout
46055 \begin_layout Plain Layout
46067 <cell alignment="left" valignment="top" usebox="none">
46070 \begin_layout Plain Layout
46074 \begin_layout Plain Layout
46087 \begin_layout Plain Layout
46095 \begin_inset Phantom Phantom
46098 \begin_layout Plain Layout
46108 \begin_layout Plain Layout
46122 <cell alignment="left" valignment="top" usebox="none">
46125 \begin_layout Plain Layout
46129 \begin_layout Plain Layout
46142 \begin_layout Plain Layout
46150 \begin_inset Phantom Phantom
46153 \begin_layout Plain Layout
46163 \begin_layout Plain Layout
46175 <cell alignment="left" valignment="top" usebox="none">
46178 \begin_layout Plain Layout
46182 \begin_layout Plain Layout
46195 \begin_layout Plain Layout
46203 \begin_inset Phantom Phantom
46206 \begin_layout Plain Layout
46216 \begin_layout Plain Layout
46228 <cell alignment="left" valignment="top" usebox="none">
46231 \begin_layout Plain Layout
46235 \begin_layout Plain Layout
46248 \begin_layout Plain Layout
46256 \begin_inset Phantom Phantom
46259 \begin_layout Plain Layout
46269 \begin_layout Plain Layout
46281 <cell alignment="left" valignment="top" usebox="none">
46284 \begin_layout Plain Layout
46288 \begin_layout Plain Layout
46301 \begin_layout Plain Layout
46309 \begin_inset Phantom Phantom
46312 \begin_layout Plain Layout
46322 \begin_layout Plain Layout
46336 <cell alignment="left" valignment="top" usebox="none">
46339 \begin_layout Plain Layout
46343 \begin_layout Plain Layout
46356 \begin_layout Plain Layout
46364 \begin_inset Phantom Phantom
46367 \begin_layout Plain Layout
46377 \begin_layout Plain Layout
46389 <cell alignment="left" valignment="top" usebox="none">
46392 \begin_layout Plain Layout
46396 \begin_layout Plain Layout
46409 \begin_layout Plain Layout
46417 \begin_inset Phantom Phantom
46420 \begin_layout Plain Layout
46430 \begin_layout Plain Layout
46442 <cell alignment="left" valignment="top" usebox="none">
46445 \begin_layout Plain Layout
46449 \begin_layout Plain Layout
46462 \begin_layout Plain Layout
46470 \begin_inset Phantom Phantom
46473 \begin_layout Plain Layout
46483 \begin_layout Plain Layout
46495 <cell alignment="left" valignment="top" usebox="none">
46498 \begin_layout Plain Layout
46502 \begin_layout Plain Layout
46515 \begin_layout Plain Layout
46523 \begin_inset Phantom Phantom
46526 \begin_layout Plain Layout
46536 \begin_layout Plain Layout
46550 <cell alignment="left" valignment="top" usebox="none">
46553 \begin_layout Plain Layout
46557 \begin_layout Plain Layout
46570 \begin_layout Plain Layout
46578 \begin_inset Phantom Phantom
46581 \begin_layout Plain Layout
46591 \begin_layout Plain Layout
46603 <cell alignment="left" valignment="top" usebox="none">
46606 \begin_layout Plain Layout
46610 \begin_layout Plain Layout
46623 \begin_layout Plain Layout
46631 \begin_inset Phantom Phantom
46634 \begin_layout Plain Layout
46644 \begin_layout Plain Layout
46656 <cell alignment="left" valignment="top" usebox="none">
46659 \begin_layout Plain Layout
46663 \begin_layout Plain Layout
46676 \begin_layout Plain Layout
46684 \begin_inset Phantom Phantom
46687 \begin_layout Plain Layout
46697 \begin_layout Plain Layout
46709 <cell alignment="left" valignment="top" usebox="none">
46712 \begin_layout Plain Layout
46716 \begin_layout Plain Layout
46729 \begin_layout Plain Layout
46737 \begin_inset Phantom Phantom
46740 \begin_layout Plain Layout
46750 \begin_layout Plain Layout
46764 <cell alignment="left" valignment="top" usebox="none">
46767 \begin_layout Plain Layout
46771 \begin_layout Plain Layout
46784 \begin_layout Plain Layout
46792 \begin_inset Phantom Phantom
46795 \begin_layout Plain Layout
46805 \begin_layout Plain Layout
46817 <cell alignment="left" valignment="top" usebox="none">
46820 \begin_layout Plain Layout
46824 \begin_layout Plain Layout
46837 \begin_layout Plain Layout
46845 \begin_inset Phantom Phantom
46848 \begin_layout Plain Layout
46858 \begin_layout Plain Layout
46870 <cell alignment="left" valignment="top" usebox="none">
46873 \begin_layout Plain Layout
46877 \begin_layout Plain Layout
46890 \begin_layout Plain Layout
46898 \begin_inset Phantom Phantom
46901 \begin_layout Plain Layout
46911 \begin_layout Plain Layout
46923 <cell alignment="left" valignment="top" usebox="none">
46926 \begin_layout Plain Layout
46930 \begin_layout Plain Layout
46943 \begin_layout Plain Layout
46951 \begin_inset Phantom Phantom
46954 \begin_layout Plain Layout
46964 \begin_layout Plain Layout
46978 <cell alignment="left" valignment="top" usebox="none">
46981 \begin_layout Plain Layout
46985 \begin_layout Plain Layout
46998 \begin_layout Plain Layout
47006 \begin_inset Phantom Phantom
47009 \begin_layout Plain Layout
47019 \begin_layout Plain Layout
47031 <cell alignment="left" valignment="top" usebox="none">
47034 \begin_layout Plain Layout
47038 \begin_layout Plain Layout
47051 \begin_layout Plain Layout
47059 \begin_inset Phantom Phantom
47062 \begin_layout Plain Layout
47072 \begin_layout Plain Layout
47084 <cell alignment="left" valignment="top" usebox="none">
47087 \begin_layout Plain Layout
47091 \begin_layout Plain Layout
47104 \begin_layout Plain Layout
47112 \begin_inset Phantom Phantom
47115 \begin_layout Plain Layout
47125 \begin_layout Plain Layout
47137 <cell alignment="left" valignment="top" usebox="none">
47140 \begin_layout Plain Layout
47144 \begin_layout Plain Layout
47157 \begin_layout Plain Layout
47165 \begin_inset Phantom Phantom
47168 \begin_layout Plain Layout
47178 \begin_layout Plain Layout
47192 <cell alignment="left" valignment="top" usebox="none">
47195 \begin_layout Plain Layout
47199 \begin_layout Plain Layout
47212 \begin_layout Plain Layout
47220 \begin_inset Phantom Phantom
47223 \begin_layout Plain Layout
47233 \begin_layout Plain Layout
47245 <cell alignment="left" valignment="top" usebox="none">
47248 \begin_layout Plain Layout
47254 <cell alignment="left" valignment="top" usebox="none">
47257 \begin_layout Plain Layout
47263 <cell alignment="left" valignment="top" usebox="none">
47266 \begin_layout Plain Layout
47280 \begin_layout Chapter
47281 Explanation of Equation
47282 \begin_inset space ~
47286 \begin_inset CommandInset ref
47293 \begin_inset CommandInset label
47295 name "cha:Explanation-of-Equation"
47302 \begin_layout Standard
47303 We can calculate the total width of
47308 \begin_inset Formula $W_{\mathrm{tot\,n}}$
47312 \begin_inset Formula
47314 W_{\mathrm{tot}\,n}=n\cdot(W_{g\,n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
47320 \begin_inset Formula $W_{g\,n}$
47323 is the given width of all cells,
47329 is the \SpecialChar LaTeX
47330 -length between the cell text and the cell border (its default value
47332 \begin_inset space \thinspace{}
47342 is the thickness of the cell border line, the default is 0.4
47343 \begin_inset space \thinspace{}
47349 \begin_layout Standard
47351 \begin_inset space ~
47355 \begin_inset CommandInset ref
47357 reference "eq:Wtot_n"
47361 , the total width of a multicolumn
47362 \begin_inset Formula $W_{\mathrm{tot\,mult}}$
47366 \begin_inset Formula
47368 W_{\mathrm{tot\,mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
47376 \begin_layout Standard
47377 By setting equation
47378 \begin_inset space ~
47382 \begin_inset CommandInset ref
47384 reference "eq:Wtot_n"
47389 \begin_inset CommandInset ref
47391 reference "eq:Wtot_mult"
47395 equal we can calculate the needed given width
47396 \begin_inset Formula $W_{g\,n}$
47403 columns are spanned, so that each column has a total width of
47404 \begin_inset Formula $W_{\mathrm{tot\,mult}}/n$
47408 \begin_inset Formula
47410 W_{g\,n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
47418 \begin_layout Bibliography
47419 \begin_inset CommandInset bibitem
47420 LatexCommand bibitem
47421 key "latexcompanion"
47426 Frank Mittelbach and Michel Goossens:
47428 The \SpecialChar LaTeX
47429 Companion Second Edition.
47432 Addison-Wesley, 2004
47435 \begin_layout Bibliography
47436 \begin_inset CommandInset bibitem
47437 LatexCommand bibitem
47443 Helmut Kopka and Patrick W.
47446 A Guide to \SpecialChar LaTeX
47450 Addison-Wesley, 2003
47453 \begin_layout Bibliography
47454 \begin_inset CommandInset bibitem
47455 LatexCommand bibitem
47464 : A Document Preparation System.
47467 Addison-Wesley, second edition, 1994
47470 \begin_layout Bibliography
47471 \begin_inset CommandInset bibitem
47472 LatexCommand bibitem
47478 Documentation of the \SpecialChar LaTeX
47482 \begin_inset CommandInset href
47485 target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
47493 \begin_inset Index idx
47496 \begin_layout Plain Layout
47498 -packages ! arydshln
47506 \begin_layout Bibliography
47507 \begin_inset CommandInset bibitem
47508 LatexCommand bibitem
47514 Documentation of the \SpecialChar LaTeX
47518 \begin_inset CommandInset href
47521 target "https://www.ctan.org/tex-archive/macros/latex/contrib//booktabs/booktabs.pdf"
47529 \begin_inset Index idx
47532 \begin_layout Plain Layout
47534 -packages ! booktabs
47542 \begin_layout Bibliography
47543 \begin_inset CommandInset bibitem
47544 LatexCommand bibitem
47550 Documentation of the \SpecialChar LaTeX
47554 \begin_inset CommandInset href
47557 target "https://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"
47565 \begin_inset Index idx
47568 \begin_layout Plain Layout
47570 -packages ! caption
47578 \begin_layout Bibliography
47579 \begin_inset CommandInset bibitem
47580 LatexCommand bibitem
47586 Documentation of the \SpecialChar LaTeX
47590 \begin_inset CommandInset href
47593 target "https://www.ctan.org/tex-archive/macros/latex/contrib//diagbox/diagbox.pdf"
47601 \begin_inset Index idx
47604 \begin_layout Plain Layout
47606 -packages ! diagbox
47614 \begin_layout Bibliography
47615 \begin_inset CommandInset bibitem
47616 LatexCommand bibitem
47622 Documentation of the \SpecialChar LaTeX
47626 \begin_inset CommandInset href
47629 target "https://www.ctan.org/tex-archive/macros/latex/contrib//endfloat/endfloat.pdf"
47637 \begin_inset Index idx
47640 \begin_layout Plain Layout
47642 -packages ! endfloat
47650 \begin_layout Bibliography
47651 \begin_inset CommandInset bibitem
47652 LatexCommand bibitem
47658 Documentation of the \SpecialChar LaTeX
47662 \begin_inset CommandInset href
47665 target "https://www.ctan.org/tex-archive/macros/latex/contrib//footmisc/footmisc.pdf"
47673 \begin_inset Index idx
47676 \begin_layout Plain Layout
47678 -packages ! footmisc
47686 \begin_layout Bibliography
47687 \begin_inset CommandInset bibitem
47688 LatexCommand bibitem
47694 Documentation of the \SpecialChar LaTeX
47698 \begin_inset CommandInset href
47701 target "https://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
47709 \begin_inset Index idx
47712 \begin_layout Plain Layout
47714 -packages ! hyperref
47722 \begin_layout Bibliography
47723 \begin_inset CommandInset bibitem
47724 LatexCommand bibitem
47730 Documentation of the \SpecialChar LaTeX
47734 \begin_inset CommandInset href
47737 target "https://www.ctan.org/tex-archive/macros/latex/contrib//hyperref/hyperref.pdf"
47745 \begin_inset Index idx
47748 \begin_layout Plain Layout
47750 -packages ! hyperref
47758 \begin_layout Bibliography
47759 \begin_inset CommandInset bibitem
47760 LatexCommand bibitem
47766 Documentation of the \SpecialChar LaTeX
47770 \begin_inset CommandInset href
47773 target "https://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf"
47781 \begin_inset Index idx
47784 \begin_layout Plain Layout
47786 -packages ! KOMA-Script
47794 \begin_layout Bibliography
47795 \begin_inset CommandInset bibitem
47796 LatexCommand bibitem
47802 Documentation of the \SpecialChar LaTeX
47806 \begin_inset CommandInset href
47809 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/lettrine.pdf"
47817 \begin_inset CommandInset href
47820 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/demo.pdf"
47826 \begin_inset Index idx
47829 \begin_layout Plain Layout
47831 -packages ! lettrine
47839 \begin_layout Bibliography
47840 \begin_inset CommandInset bibitem
47841 LatexCommand bibitem
47847 Documentation of the \SpecialChar LaTeX
47851 \begin_inset CommandInset href
47854 target "https://www.ctan.org/tex-archive/macros/latex/contrib//listings/listings.pdf"
47862 \begin_inset Index idx
47865 \begin_layout Plain Layout
47867 -packages ! listings
47875 \begin_layout Bibliography
47876 \begin_inset CommandInset bibitem
47877 LatexCommand bibitem
47883 Documentation of the \SpecialChar LaTeX
47887 \begin_inset CommandInset href
47890 target "https://www.ctan.org/tex-archive/macros/latex/contrib//minted/minted.pdf"
47898 \begin_inset Index idx
47901 \begin_layout Plain Layout
47911 \begin_layout Bibliography
47912 \begin_inset CommandInset bibitem
47913 LatexCommand bibitem
47919 Documentation of the \SpecialChar LaTeX
47923 \begin_inset CommandInset href
47926 target "https://www.ctan.org/tex-archive/macros/latex/contrib//marginnote/marginnote.pdf"
47934 \begin_inset Index idx
47937 \begin_layout Plain Layout
47939 -packages ! marginnote
47947 \begin_layout Bibliography
47948 \begin_inset CommandInset bibitem
47949 LatexCommand bibitem
47955 Documentation of the \SpecialChar LaTeX
47959 \begin_inset CommandInset href
47962 target "https://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
47970 \begin_inset Index idx
47973 \begin_layout Plain Layout
47975 -packages ! pdfpages
47983 \begin_layout Bibliography
47984 \begin_inset CommandInset bibitem
47985 LatexCommand bibitem
47991 Documentation of the \SpecialChar LaTeX
47995 \begin_inset CommandInset href
47998 target "https://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
48006 \begin_inset Index idx
48009 \begin_layout Plain Layout
48011 -packages ! prettyref
48019 \begin_layout Bibliography
48020 \begin_inset CommandInset bibitem
48021 LatexCommand bibitem
48027 Web page of the \SpecialChar LaTeX
48031 \begin_inset CommandInset href
48034 target "http://tug.org/PSTricks/"
48042 \begin_inset Index idx
48045 \begin_layout Plain Layout
48047 -packages ! PSTricks
48055 \begin_layout Bibliography
48056 \begin_inset CommandInset bibitem
48057 LatexCommand bibitem
48063 Documentation of the \SpecialChar LaTeX
48067 \begin_inset CommandInset href
48070 target "https://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
48078 \begin_inset Index idx
48081 \begin_layout Plain Layout
48083 -packages ! refstyle
48091 \begin_layout Bibliography
48092 \begin_inset CommandInset bibitem
48093 LatexCommand bibitem
48099 Documentation of the \SpecialChar LaTeX
48103 \begin_inset CommandInset href
48106 target "https://www.ctan.org/tex-archive/macros/latex/contrib//sidecap/sidecap.pdf"
48114 \begin_inset Index idx
48117 \begin_layout Plain Layout
48119 -packages ! sidecap
48127 \begin_layout Bibliography
48128 \begin_inset CommandInset bibitem
48129 LatexCommand bibitem
48135 Documentation of the option
48136 \begin_inset CommandInset href
48138 name "Omit text in PDF"
48139 target "https://www.ctan.org/tex-archive/info/svg-inkscape/InkscapePDFLaTeX.pdf"
48147 \begin_inset CommandInset href
48150 target "https://inkscape.org"
48158 \begin_layout Standard
48159 \begin_inset CommandInset index_print
48160 LatexCommand printindex