1 #LyX 2.4 created this file. For more info see https://www.lyx.org/
5 \save_transient_properties true
6 \origin /systemlyxdir/doc/
9 % that links to image floats jumps
10 % to the beginning of the float and
12 \usepackage[figure]{hypcap}
14 % the pages of the TOC are numbered roman
15 % and a PDF-bookmark for the TOC is added
16 \let\myTOC\tableofcontents
17 \renewcommand\tableofcontents{%
19 \pdfbookmark[1]{\contentsname}{}
23 % provides caption formatting
24 \usepackage[labelfont={bf,sf}]{caption}[2004/07/16]
26 % provides commands to set caption
27 % beside tables/images
28 \newcommand{\TabBesBeg}[1][1.0]{%
30 \let\MyEndtable\endtable
31 \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}}
33 \newcommand{\TabBesEnd}{%
35 \let\endtable\MyEndtable}
37 \newcommand{\FigBesBeg}[1][1.0]{%
39 \let\MyEndfigure\endfigure
40 \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}
42 \newcommand{\FigBesEnd}{%
44 \let\endfigure\MyEndfigure}
46 % enables calculation of values,
49 % increase the bottom float placement fraction
50 \renewcommand{\bottomfraction}{0.5}
52 % avoids that floats are placed before their
53 % corresponding section starts
54 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
56 % speed up the longtable calculation
57 \setcounter{LTchunksize}{100}
59 % used for colored tables
60 \@ifundefined{textcolor}
61 {\usepackage{color}}{}
62 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
63 \definecolor{lightgrey}{gray}{0.8}
65 % check for package colortbl
66 % used for colored table cells
68 \IfFileExists{colortbl.sty}
69 {\usepackage{colortbl}
70 \setboolean{colortbl}{true}}
71 {\setboolean{colortbl}{false}}
73 % used to have extra space in table cells
74 \@ifundefined{extrarowheight}
75 {\usepackage{array}}{}
76 \setlength{\extrarowheight}{2pt}
78 % used for customized tables
81 {>{\centering\hspace{0pt}}m{#1}}
84 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
87 {>{\columncolor{#1}\hspace{0pt}}c}
89 \newcolumntype{V}{!{\vrule width 1.5pt}}
91 \newcolumntype{W}{!{\color{green}\vline}}
94 % insert additional vertical space of
95 % 1.5 mm between footnotes
97 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
99 % number algorithm floats within chapters
100 \numberwithin{algorithm}{chapter}
102 % ------------------------------------
103 % used to check for needed LaTeX packages
106 % check for package arydshln
107 % used for tables with dashed lines
108 \newboolean{arydshln}
109 \IfFileExists{arydshln.sty}
110 {\usepackage{arydshln}
111 \setboolean{arydshln}{true}}
112 {\setboolean{arydshln}{false}}
114 % check for package marginnote
115 % used for margin notes
116 \newboolean{marginnote}
117 \IfFileExists{marginnote.sty}
118 {\usepackage{marginnote}
119 \let\marginpar\marginnote
120 \setboolean{marginnote}{true}}
121 {\setboolean{marginnote}{false}}
123 % check for package sidecap
124 % used for captions on the side
126 \IfFileExists{sidecap.sty}
127 {\usepackage{sidecap}
128 \setboolean{sidecap}{true}}
129 {\setboolean{sidecap}{false}}
132 % used for surrounded fixed objects
133 \newboolean{picinpar}
134 \IfFileExists{picinpar.sty}
135 {\usepackage{picinpar}
136 \setboolean{picinpar}{true}}
137 {\setboolean{picinpar}{false}}
140 \newboolean{lettrine}
141 \IfFileExists{lettrine.sty}
142 {\usepackage{lettrine}
143 \setboolean{lettrine}{true}}
144 {\setboolean{lettrine}{false}}
148 \IfFileExists{diagbox.sty}
149 {\usepackage{diagbox}
150 \setboolean{diagbox}{true}}
151 {\setboolean{diagbox}{false}}
153 \setlength{\parskip}{\medskipamount}
154 \setlength{\parindent}{0pt}
156 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,dvipsnames,table
157 \use_default_options false
163 \maintain_unincluded_children no
165 \language_package default
168 \font_roman "lmodern" "default"
169 \font_sans "lmss" "default"
170 \font_typewriter "lmtt" "default"
171 \font_math "auto" "auto"
172 \font_default_family default
173 \use_non_tex_fonts false
175 \font_roman_osf false
177 \font_typewriter_osf false
178 \font_sf_scale 100 100
179 \font_tt_scale 100 100
181 \use_dash_ligatures true
183 \default_output_format pdf2
185 \bibtex_command default
186 \index_command makeindex
190 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
191 \pdf_author "LyX Team, Uwe Stöhr"
192 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
193 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
195 \pdf_bookmarksnumbered true
196 \pdf_bookmarksopen true
197 \pdf_bookmarksopenlevel 1
198 \pdf_breaklinks false
202 \pdf_pdfusetitle false
203 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
206 \use_package amsmath 1
207 \use_package amssymb 1
208 \use_package cancel 1
210 \use_package mathdots 1
211 \use_package mathtools 1
212 \use_package mhchem 1
213 \use_package stackrel 1
214 \use_package stmaryrd 1
215 \use_package undertilde 1
217 \cite_engine_type default
221 \paperorientation portrait
227 \notefontcolor #0000ff
234 \paragraph_separation indent
235 \paragraph_indentation default
237 \math_numbering_side default
238 \quotes_style english
242 \paperpagestyle default
244 \tracking_changes true
245 \output_changes false
247 \postpone_fragile_content false
250 \html_be_strict false
251 \docbook_table_output 0
252 \docbook_mathml_prefix 1
253 \author -1382599118 "Daniel"
254 \author -712698321 "Jürgen Spitzmüller"
255 \author 630872221 "Jean-Pierre Chrétien" jeanpierre.chretien@free.fr
262 's detailed Figure, Table, Floats, Notes, Boxes and External Material manual
266 by the \SpecialChar LyX
271 \begin_layout Plain Layout
273 If you have comments or error corrections, please send them to the \SpecialChar LyX
276 \begin_inset CommandInset href
278 name "lyx-docs@lists.lyx.org"
279 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
291 \begin_inset Note Note
294 \begin_layout Plain Layout
301 \begin_inset Newline newline
305 \begin_inset Newline newline
313 \begin_layout Standard
314 \begin_inset CommandInset toc
315 LatexCommand tableofcontents
322 \begin_layout Standard
323 \begin_inset Note Note
326 \begin_layout Plain Layout
327 To export all parts of this document to PDF, PS, or DVI the \SpecialChar LaTeX
338 diagbox, lettrine, marginnote, picinpar
345 If they are not installed you can export the document anyway but the sections
346 where the packages are required won't appear in the output.
349 \begin_layout Plain Layout
350 The latest PDF-version of this document can be found here:
351 \begin_inset Newline newline
356 https://wiki.lyx.org/LyX/Manuals#EmbeddedObjects
364 \begin_layout Chapter
366 \begin_inset Index idx
369 \begin_layout Plain Layout
376 \begin_inset Index idx
379 \begin_layout Plain Layout
384 \begin_layout Plain Layout
395 \begin_layout Plain Layout
410 \begin_layout Section
412 \begin_inset Index idx
415 \begin_layout Plain Layout
416 Figures ! Graphics Dialog
422 \begin_inset CommandInset label
424 name "sec:Graphics-Dialog"
431 \begin_layout Standard
432 To insert an image into your document, place the cursor at the text position
433 you want and click on the toolbar icon
436 arg "dialog-show-new-inset graphics"
441 Insert\SpecialChar menuseparator
445 Then a dialog will appear to choose the file to load.
446 The image will appear in the output exactly at the position where it is
450 \begin_layout Standard
451 The graphics dialog can be called at any time by clicking on an image.
452 This dialog has three tabs:
455 \begin_layout Description
460 Here you can choose an image file and adjust its appearance in the output.
461 The available units for the image size are explained in appendix
466 \begin_inset CommandInset ref
468 reference "cha:Units-available-in"
473 \begin_inset Newline newline
477 \begin_inset Index idx
480 \begin_layout Plain Layout
486 You can rotate images counter-clockwise by setting a rotation angle and
488 The image will also be rotated inside \SpecialChar LyX
490 \begin_inset Newline newline
494 \begin_inset Index idx
497 \begin_layout Plain Layout
503 Images can be scaled by using a percentage value or by setting the width
504 and height explicitly.
505 If you set only the width or only the height, the other size will be determined
507 If you set both, then the image will be transformed to the given size,
508 possibly distorting it.
509 To prevent the image from distortion, use the option
511 Maintain aspect ratio
514 The image will then be scaled so that its width and height don't exceed
515 the specified dimensions.
516 \begin_inset Newline newline
519 Images can be opened in a program of your choice by right-clicking on it
520 and choosing the entry
529 The program can be set for every image format in the file format settings
534 \begin_layout Description
547 Alternatively to the usage of scaling units it is possible to set image
548 coordinates to adjust the height and width of the image in the output.
549 The coordinates can also be calculated automatically by pressing the button
579 will only print the image region within the given coordinates.
580 Normally you don't need to worry about image coordinates and can ignore
584 \begin_layout Description
601 In this tab you can modify the appearance of the image within \SpecialChar LyX
602 and \SpecialChar LaTeX
604 can specify additional \SpecialChar LaTeX
606 \begin_inset Newline newline
617 makes the image appear in the output only as a frame with the size of the
619 \begin_inset Newline newline
630 you can define or join an image settings group.
631 \begin_inset Index idx
634 \begin_layout Plain Layout
635 Figures ! Settings grouping
640 Images within such a group share their settings, so adjusting one image
641 of the group automatically also adjusts all other images of the group in
643 So you can for example change the size for a bunch of images without the
644 need to manually change each of them.
645 Joining an existing group can also be done using the context menu of the
646 image by checking the name of the desired group.
649 \begin_layout Standard
650 \begin_inset VSpace bigskip
656 \begin_layout Standard
657 This is an example image in PDF format
661 \begin_layout Plain Layout
662 Image formats are explained in section
667 \begin_inset CommandInset ref
669 reference "sec:Image-Formats"
678 within a separate, horizontally centered paragraph:
681 \begin_layout Standard
683 \begin_inset Graphics
684 filename clipart/2D-intensity-plot.pdf
693 \begin_layout Standard
694 This is the same image like the one above but in draft mode:
697 \begin_layout Standard
699 \begin_inset Graphics
700 filename clipart/2D-intensity-plot.pdf
710 \begin_layout Standard
711 \begin_inset Newpage newpage
717 \begin_layout Section
719 \begin_inset CommandInset label
721 name "sec:Figure-Floats"
726 \begin_inset Index idx
729 \begin_layout Plain Layout
736 \begin_inset Index idx
739 \begin_layout Plain Layout
748 \begin_layout Standard
749 For general explanations about floats, have a look at section
754 \begin_inset CommandInset ref
756 reference "sec:FloatIntroduction"
763 \begin_layout Standard
767 arg "float-insert figure"
772 Insert\SpecialChar menuseparator
773 Float\SpecialChar menuseparator
776 inserts a float with a caption that has the label
777 \begin_inset Quotes eld
785 \begin_inset Quotes erd
788 (# is the actual number).
789 You can insert the image above the caption, like in Figure
794 \begin_inset CommandInset ref
796 reference "fig:A-star-in"
800 or below the caption, like in Figure
805 \begin_inset CommandInset ref
807 reference "fig:A-3D-object"
812 More about caption placement is described in section
817 \begin_inset CommandInset ref
819 reference "sec:Caption-Placement"
826 \begin_layout Standard
827 \begin_inset Float figure
834 \begin_layout Plain Layout
836 \begin_inset Graphics
837 filename clipart/Star-structure.pdf
848 \begin_layout Plain Layout
849 \begin_inset Caption Standard
851 \begin_layout Plain Layout
852 \begin_inset CommandInset label
871 \begin_layout Standard
872 \begin_inset Float figure
879 \begin_layout Plain Layout
880 \begin_inset Caption Standard
882 \begin_layout Plain Layout
883 \begin_inset CommandInset label
885 name "fig:A-3D-object"
897 \begin_layout Plain Layout
899 \begin_inset Graphics
900 filename clipart/3D-structure-distort.pdf
916 \begin_layout Standard
917 \begin_inset Index idx
920 \begin_layout Plain Layout
921 References ! to Figures
931 \begin_inset CommandInset ref
933 reference "fig:A-star-in"
938 \begin_inset CommandInset ref
940 reference "fig:A-3D-object"
944 are examples of referenced figures.
945 Figures can be referenced in the text by referencing their label.
946 To do this insert a label in the caption using the menu
948 Insert\SpecialChar menuseparator
951 or the toolbar button
958 You can now refer to the label using the menu
960 Insert\SpecialChar menuseparator
967 or the toolbar button
970 arg "dialog-show-new-inset ref"
974 It is important to use references to floats, rather than using vague references
976 \begin_inset Quotes eld
980 \begin_inset Quotes erd
983 , because \SpecialChar LaTeX
984 will reposition the floats in the final document and it might
986 \begin_inset Quotes eld
990 \begin_inset Quotes erd
994 \begin_inset Newline newline
997 Referencing is explained in detail in section
1002 \begin_inset CommandInset ref
1004 reference "sec:Referencing-Floats"
1011 \begin_layout Standard
1012 Normally only one image is inserted to a figure float, but sometimes you
1013 might want to use two images with separate subcaptions.
1014 This can be done by inserting image floats into existing image floats.
1015 Note that only the main caption of the float is added to the List of Figures.
1017 \begin_inset space ~
1021 \begin_inset CommandInset ref
1023 reference "fig:Two-distorted-images"
1027 is an example of a figure float with two images set side by side.
1028 You can also set the images one below the other.
1030 \begin_inset space ~
1034 \begin_inset CommandInset ref
1036 reference "fig:Pink-object"
1041 \begin_inset CommandInset ref
1043 reference "fig:A-star"
1050 \begin_layout Standard
1051 \begin_inset Float figure
1058 \begin_layout Plain Layout
1059 \begin_inset space \hfill{}
1063 \begin_inset Float figure
1070 \begin_layout Plain Layout
1071 \begin_inset Caption Standard
1073 \begin_layout Plain Layout
1074 \begin_inset CommandInset label
1076 name "fig:Pink-object"
1088 \begin_layout Plain Layout
1089 \begin_inset Graphics
1090 filename clipart/3D-structure-distort.pdf
1103 \begin_inset space \hfill{}
1107 \begin_inset Float figure
1114 \begin_layout Plain Layout
1115 \begin_inset Caption Standard
1117 \begin_layout Plain Layout
1118 \begin_inset CommandInset label
1132 \begin_layout Plain Layout
1133 \begin_inset Graphics
1134 filename clipart/Star-structure.pdf
1147 \begin_inset space \hfill{}
1153 \begin_layout Plain Layout
1154 \begin_inset Caption Standard
1156 \begin_layout Plain Layout
1157 \begin_inset CommandInset label
1159 name "fig:Two-distorted-images"
1163 Two distorted images.
1164 Both images are in the image settings group named
1165 \begin_inset Quotes eld
1169 \begin_inset Quotes erd
1185 \begin_layout Standard
1186 \begin_inset Newpage newpage
1192 \begin_layout Section
1194 \begin_inset CommandInset label
1196 name "sec:Image-Formats"
1201 \begin_inset Index idx
1204 \begin_layout Plain Layout
1211 \begin_inset Index idx
1214 \begin_layout Plain Layout
1215 Figures ! Image Formats
1223 \begin_layout Standard
1224 You can insert images in any known file format.
1225 But as explained in appendix
1226 \begin_inset space ~
1230 \begin_inset CommandInset ref
1232 reference "cha:Output-File-Formats"
1236 , each output document format allows only a few image formats.
1238 uses therefore the program
1242 in the background to convert the images to the right format.
1243 To increase your work flow by avoiding these conversions in the background,
1244 you could choose to use only the image formats that can directly be embedded
1245 in the output file format.
1246 The output file formats are explained in appendix
1247 \begin_inset space ~
1251 \begin_inset CommandInset ref
1253 reference "cha:Output-File-Formats"
1260 \begin_layout Standard
1261 Similar to fonts there are two types of image formats:
1264 \begin_layout Description
1266 \begin_inset space ~
1269 images consist of pixel values, often in a compressed form.
1270 They are therefore not fully scalable and look pixelated in large zooms.
1271 Well-known bitmap image formats are
1272 \begin_inset Quotes eld
1275 Graphics Interchange Format
1276 \begin_inset Quotes erd
1279 (GIF, file extension
1280 \begin_inset Quotes eld
1288 \begin_inset Quotes erd
1292 \begin_inset Index idx
1295 \begin_layout Plain Layout
1300 \begin_layout Plain Layout
1311 \begin_layout Plain Layout
1324 \begin_inset Quotes eld
1327 Portable Network Graphics
1328 \begin_inset Quotes erd
1331 (PNG, file extension
1332 \begin_inset Quotes eld
1340 \begin_inset Quotes erd
1344 \begin_inset Index idx
1347 \begin_layout Plain Layout
1352 \begin_layout Plain Layout
1363 \begin_layout Plain Layout
1376 \begin_inset Quotes eld
1379 Joint Photographic Experts Group
1380 \begin_inset Quotes erd
1383 (JPG, file extension
1384 \begin_inset Quotes eld
1392 \begin_inset Quotes erd
1396 \begin_inset Quotes eld
1404 \begin_inset Quotes erd
1408 \begin_inset Index idx
1411 \begin_layout Plain Layout
1416 \begin_layout Plain Layout
1427 \begin_layout Plain Layout
1442 \begin_layout Description
1444 \begin_inset space ~
1447 images consist of vectors and can therefore be scaled to any size without
1449 The scaling ability is necessary if you want to create presentations, because
1450 presentations are always scaled by the video projector.
1451 Scaling is also useful for online documents to let the user zoom into diagrams.
1452 \begin_inset Newline newline
1455 Well-known scalable image formats are
1456 \begin_inset Quotes eld
1459 Scalable Vector Graphics
1460 \begin_inset Quotes erd
1463 (SVG, file extension
1464 \begin_inset Quotes eld
1472 \begin_inset Quotes erd
1476 \begin_inset Index idx
1479 \begin_layout Plain Layout
1484 \begin_layout Plain Layout
1495 \begin_layout Plain Layout
1508 \begin_inset Quotes eld
1511 Encapsulated PostScript
1512 \begin_inset Quotes erd
1515 (EPS, file extension
1516 \begin_inset Quotes eld
1524 \begin_inset Quotes erd
1528 \begin_inset Index idx
1531 \begin_layout Plain Layout
1536 \begin_layout Plain Layout
1547 \begin_layout Plain Layout
1560 \begin_inset Quotes eld
1563 Portable Document Format
1564 \begin_inset Quotes erd
1567 (PDF, file extension
1568 \begin_inset Quotes eld
1576 \begin_inset Quotes erd
1580 \begin_inset Index idx
1583 \begin_layout Plain Layout
1590 \begin_inset Quotes eld
1594 \begin_inset Quotes erd
1597 (WMF, file extension
1598 \begin_inset Quotes eld
1606 \begin_inset Quotes erd
1610 \begin_inset Index idx
1613 \begin_layout Plain Layout
1618 \begin_layout Plain Layout
1629 \begin_layout Plain Layout
1643 \begin_inset Quotes eld
1647 \begin_inset Quotes erd
1650 , because you can convert any bitmap image to a PDF or EPS-image and the
1651 result will still be a bitmap image.
1652 In such cases only a header with the image properties is added to the original
1657 \begin_layout Plain Layout
1658 In the case of PDF, the original image is additionally compressed.
1664 The PDF-files generated by
1668 are for example bitmap images.
1671 \begin_layout Standard
1672 Normally it is not possible to convert a bitmap image into a scalable one,
1674 Only the image formats PDF and EPS can directly be embedded to PDF and
1675 PostScript output files, respectively.
1676 SVG and WMF-images are recalculated to bitmaps when the output file is
1677 generated because there is currently no adequate WMF/SVG
1678 \begin_inset Formula $\to$
1681 PDF/EPS converter available.
1684 \begin_layout Chapter
1686 \begin_inset Index idx
1689 \begin_layout Plain Layout
1698 \begin_layout Section
1700 \begin_inset Index idx
1703 \begin_layout Plain Layout
1704 Table ! Introduction
1712 \begin_layout Standard
1713 You can insert a table using either the toolbar button
1716 arg "tabular-insert"
1721 Insert\SpecialChar menuseparator
1725 The toolbar button offers you a graphical selection: move the mouse to
1726 set the column/row number of the table that should be created and then
1727 press a mouse button.
1728 When you use the menu to create a table, a dialog will appear, asking you
1729 for the number of rows and columns
1730 \change_inserted -712698321 1554289643
1731 , and you can select a specific (border) style
1734 \change_deleted -712698321 1554289644
1736 \begin_inset Newline newline
1740 \change_inserted -712698321 1554289645
1744 \begin_layout Standard
1745 The default table has lines around any cell and the first row appears separated
1746 from the rest of the table.
1747 This separation occurs due to a double line: The cells of the first row
1748 have a line below them and the cells of the second row have a line above
1750 Here is an example table:
1753 \begin_layout Standard
1755 \begin_inset Tabular
1756 <lyxtabular version="3" rows="4" columns="4">
1757 <features tabularvalignment="middle">
1758 <column alignment="center" valignment="top">
1759 <column alignment="center" valignment="top">
1760 <column alignment="center" valignment="top">
1761 <column alignment="center" valignment="top">
1763 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1766 \begin_layout Plain Layout
1772 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1775 \begin_layout Plain Layout
1790 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1793 \begin_layout Plain Layout
1799 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1802 \begin_layout Plain Layout
1810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1813 \begin_layout Plain Layout
1828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1831 \begin_layout Plain Layout
1837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1840 \begin_layout Plain Layout
1846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1849 \begin_layout Plain Layout
1857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1860 \begin_layout Plain Layout
1875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1878 \begin_layout Plain Layout
1884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1887 \begin_layout Plain Layout
1893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1896 \begin_layout Plain Layout
1904 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1907 \begin_layout Plain Layout
1922 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1925 \begin_layout Plain Layout
1931 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1934 \begin_layout Plain Layout
1940 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1943 \begin_layout Plain Layout
1957 \begin_layout Standard
1959 \change_inserted -712698321 1554289664
1960 This corresponds to the
1961 \begin_inset Quotes eld
1965 \begin_inset Quotes erd
1968 table style listed in the style selection.
1971 \begin_layout Standard
1973 \change_inserted -712698321 1554289664
1974 Other available styles include:
1977 \begin_layout Itemize
1979 \change_inserted -712698321 1554289664
1981 \begin_inset Quotes eld
1985 \begin_inset Quotes erd
1988 which looks line the above table, but without the first row being separated
1992 \begin_layout Itemize
1994 \change_inserted -712698321 1554289664
1995 a border-less table with no lines at all,
1998 \begin_layout Itemize
2000 \change_inserted -712698321 1554289664
2002 \begin_inset Quotes eld
2006 \begin_inset Quotes erd
2009 as often used in professional publishing with horizontal lines only and
2010 bold top/bottom lines (see
2020 \change_inserted 630872221 1622640694
2021 It is also possible to have an horizontal (thin) Footline above the last
2027 \begin_layout Standard
2029 \change_inserted -712698321 1554289664
2030 The default style used in the dialog as well as the style used by the toolbar
2031 button can be changed in
2033 Document\SpecialChar menuseparator
2034 Settings\SpecialChar menuseparator
2038 So if the default style above is not the one you need, you should alter
2042 \begin_layout Section
2044 \begin_inset Index idx
2047 \begin_layout Plain Layout
2056 \begin_layout Standard
2057 You can alter a table by clicking on it with the right mouse button, which
2058 brings up the context menu.
2059 Under the menu entry
2063 you can adjust the settings of that cell and row/column respectively where
2064 the cursor is currently placed.
2067 More\SpecialChar menuseparator
2070 opens the table dialog where you can adjust more things.
2071 Most of the dialog options also work on selections.
2072 This means if you select more cells, columns or rows, the action is done
2073 for the whole selection.
2074 Note that there is a difference between selecting the
2078 of the cell, and the cell itself.
2079 \begin_inset Newline newline
2082 With the dialog option
2085 \begin_inset space ~
2090 every change you make in the dialog is directly applied.
2091 If you move the cursor to another table cell the dialog will then also
2092 be updated with the parameters of the new cell.
2093 If you change length values in the dialog you must press
2097 to get the change applied.
2098 \begin_inset Newline newline
2101 You can alter tables with the following tabs of the table dialog:
2104 \begin_layout Description
2106 \begin_inset space ~
2109 Settings Here you can set the table width
2110 \begin_inset Index idx
2113 \begin_layout Plain Layout
2119 , and the horizontal alignment and the width of the current column.
2123 \begin_inset space ~
2127 \begin_inset space ~
2132 is described in section
2133 \begin_inset space ~
2137 \begin_inset CommandInset ref
2139 reference "subsec:Special-Cell-Alignment"
2144 When you have set a width you can also adjust the vertical alignment of
2146 A given width will allow the cell to have line breaks and multiple paragraphs
2148 \begin_inset space \thinspace{}
2152 \begin_inset CommandInset ref
2154 reference "subsec:Multiple-Lines-in"
2159 If you set no width, the column is as wide as the content of its widest
2161 \begin_inset Newline newline
2164 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2166 \begin_inset space \thinspace{}
2170 \begin_inset CommandInset ref
2172 reference "subsec:Multicolumns"
2176 or the cells of one column as multirow cell, see sec.
2177 \begin_inset space \thinspace{}
2181 \begin_inset CommandInset ref
2183 reference "subsec:Multirows"
2188 \begin_inset Newline newline
2191 The rotate check boxes rotate the current cell, a selection, or the whole
2192 table counter-clockwise by 90
2193 \begin_inset space \thinspace{}
2197 The rotation is not shown within \SpecialChar LyX
2198 , only in the output.
2199 For more information see sec.
2200 \begin_inset space \thinspace{}
2204 \begin_inset CommandInset ref
2206 reference "sec:Rotated-Table-Cells"
2211 \begin_inset Newline newline
2215 \begin_inset Note Greyedout
2218 \begin_layout Plain Layout
2223 Not all DVI-viewers are able to display rotations.
2229 \begin_inset Newline newline
2232 The table-wide vertical alignment is used for tables within text lines:
2233 \begin_inset Newline newline
2236 A line with tables with different alignments:
2237 \begin_inset Tabular
2238 <lyxtabular version="3" rows="2" columns="2">
2239 <features tabularvalignment="top">
2240 <column alignment="center" valignment="top" width="0pt">
2241 <column alignment="center" valignment="top">
2243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2246 \begin_layout Plain Layout
2252 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2255 \begin_layout Plain Layout
2272 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2275 \begin_layout Plain Layout
2290 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2293 \begin_layout Plain Layout
2305 \begin_inset Tabular
2306 <lyxtabular version="3" rows="2" columns="2">
2307 <features tabularvalignment="middle">
2308 <column alignment="center" valignment="top">
2309 <column alignment="center" valignment="top">
2311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2314 \begin_layout Plain Layout
2320 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2323 \begin_layout Plain Layout
2340 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2343 \begin_layout Plain Layout
2358 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2361 \begin_layout Plain Layout
2373 \begin_inset Tabular
2374 <lyxtabular version="3" rows="2" columns="2">
2375 <features tabularvalignment="bottom">
2376 <column alignment="center" valignment="top" width="0pt">
2377 <column alignment="center" valignment="top">
2379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2382 \begin_layout Plain Layout
2388 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2391 \begin_layout Plain Layout
2408 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2411 \begin_layout Plain Layout
2426 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2429 \begin_layout Plain Layout
2441 \begin_inset Newline newline
2444 It is also possible to enter a \SpecialChar LaTeX
2445 -argument which is needed for special table
2446 formattings, see sec.
2447 \begin_inset space \thinspace{}
2451 \begin_inset CommandInset ref
2453 reference "subsec:Multicolumn-Calculations"
2458 \begin_inset CommandInset ref
2460 reference "sec:Colored-Tables"
2467 \begin_layout Description
2468 Borders In this tab you can add and delete border lines for the current
2470 \begin_inset Newline newline
2473 Using the style option
2477 will convert the table to a formal table as described in sec.
2478 \begin_inset space \thinspace{}
2482 \begin_inset CommandInset ref
2484 reference "sec:Formal-Tables"
2489 \begin_inset Newline newline
2492 You can also add space here to table rows as described in sec.
2493 \begin_inset space \thinspace{}
2497 \begin_inset CommandInset ref
2499 reference "subsec:Row-Spacing"
2506 \begin_layout Description
2508 \begin_inset space ~
2511 table This tab is to make a table a multi-page table that can run over several
2514 \begin_inset space ~
2518 \begin_inset CommandInset ref
2520 reference "sec:Multi-page-Tables"
2525 \begin_inset CommandInset ref
2527 reference "sec:Special-Longtable-Issues"
2531 describe the multi-page table features in detail.
2534 \begin_layout Section
2536 \begin_inset Index idx
2539 \begin_layout Plain Layout
2548 \begin_layout Standard
2549 The table toolbar is an alternative to the table dialog to be able to alter
2551 It should normally appear at the bottom of \SpecialChar LyX
2552 's main window when the cursor
2554 You can alternatively switch it on to appear always, by right-clicking
2559 \begin_layout Standard
2560 The toolbar has the following icons:
2563 \begin_layout Labeling
2564 \labelwidthstring 00.00.0000
2567 arg "tabular-feature append-row"
2570 adds a row below the current cell or selection
2573 \begin_layout Labeling
2574 \labelwidthstring 00.00.0000
2577 arg "tabular-feature append-column"
2580 adds a column right beside the current cell or selection
2583 \begin_layout Labeling
2584 \labelwidthstring 00.00.0000
2587 arg "tabular-feature delete-row"
2590 deletes the current row or selection
2593 \begin_layout Labeling
2594 \labelwidthstring 00.00.0000
2597 arg "tabular-feature delete-column"
2600 deletes the current column or selection
2603 \begin_layout Labeling
2604 \labelwidthstring 00.00.0000
2607 arg "tabular-feature move-row-up"
2613 \begin_layout Labeling
2614 \labelwidthstring 00.00.0000
2617 arg "tabular-feature move-column-left"
2620 moves the column to the left
2623 \begin_layout Labeling
2624 \labelwidthstring 00.00.0000
2627 arg "tabular-feature move-row-down"
2633 \begin_layout Labeling
2634 \labelwidthstring 00.00.0000
2637 arg "tabular-feature move-column-right"
2640 moves the column to the right
2643 \begin_layout Labeling
2644 \labelwidthstring 00.00.0000
2647 arg "tabular-feature toggle-line-top"
2651 \change_deleted -1382599118 1647157945
2653 \change_inserted -1382599118 1647157946
2656 a line at the top of
2657 \change_inserted -1382599118 1647158116
2661 \change_inserted -1382599118 1647157889
2663 \change_deleted -1382599118 1647157917
2667 \change_deleted -1382599118 1647157923
2669 \change_inserted -1382599118 1647157925
2675 \begin_layout Labeling
2676 \labelwidthstring 00.00.0000
2679 arg "tabular-feature toggle-line-bottom"
2683 \change_deleted -1382599118 1647157963
2685 \change_inserted -1382599118 1647157964
2688 a line at the bottom of
2689 \change_inserted -1382599118 1647158114
2693 \change_inserted -1382599118 1647157991
2695 \change_deleted -1382599118 1647158003
2699 \change_deleted -1382599118 1647158007
2701 \change_inserted -1382599118 1647158009
2707 \begin_layout Labeling
2708 \labelwidthstring 00.00.0000
2711 arg "tabular-feature toggle-line-left"
2715 \change_deleted -1382599118 1647157971
2717 \change_inserted -1382599118 1647157972
2720 a line at the left side of
2721 \change_inserted -1382599118 1647158111
2725 \change_inserted -1382599118 1647158027
2727 \change_deleted -1382599118 1647158069
2731 \change_deleted -1382599118 1647158043
2733 \change_inserted -1382599118 1647158044
2739 \begin_layout Labeling
2740 \labelwidthstring 00.00.0000
2743 arg "tabular-feature toggle-line-right"
2747 \change_deleted -1382599118 1647157974
2749 \change_inserted -1382599118 1647157975
2752 a line at the right side of
2753 \change_inserted -1382599118 1647158109
2757 \change_inserted -1382599118 1647158061
2759 \change_deleted -1382599118 1647158072
2763 \change_deleted -1382599118 1647158078
2765 \change_inserted -1382599118 1647158082
2767 \change_inserted -712698321 1554289731
2771 \begin_layout Labeling
2772 \labelwidthstring 00.00.0000
2774 \change_inserted -712698321 1554289910
2777 arg "tabular-feature toggle-border-lines"
2781 \change_deleted -1382599118 1647157966
2783 \change_inserted -1382599118 1647157967
2785 \change_inserted -712698321 1554289910
2786 a border around the currently selected cells
2787 \change_inserted -1382599118 1647040213
2791 \begin_layout Labeling
2792 \labelwidthstring 00.00.0000
2794 \change_inserted -1382599118 1647158092
2797 arg "tabular-feature toggle-inner-lines"
2800 toggles inner lines for the currently selected cells
2805 \begin_layout Labeling
2806 \labelwidthstring 00.00.0000
2809 arg "tabular-feature toggle-all-lines"
2812 adds lines around the current or selected cells - if the current cell is
2813 not a multicolumn cell this also affects the current row and column
2816 \begin_layout Labeling
2817 \labelwidthstring 00.00.0000
2820 arg "tabular-feature unset-all-lines"
2823 deletes all lines of the current or selected cells - if the current cell
2824 is not a multicolumn cell this also affects the current row and column
2825 \change_inserted -712698321 1554289920
2829 \begin_layout Labeling
2830 \labelwidthstring 00.00.0000
2832 \change_inserted -712698321 1554292586
2835 arg "tabular-feature reset-formal-default"
2838 If using a formal table, this resets the border to its default (only horizontal
2839 lines in top and bottom rows)
2844 \begin_layout Labeling
2845 \labelwidthstring 00.00.0000
2848 arg "tabular-feature m-align-left"
2851 left-aligns the content of the current cell / column
2854 \begin_layout Labeling
2855 \labelwidthstring 00.00.0000
2858 arg "tabular-feature m-align-center"
2861 centers the content of the current cell / column horizontally
2864 \begin_layout Labeling
2865 \labelwidthstring 00.00.0000
2868 arg "tabular-feature m-align-right"
2871 right-aligns the content of the current cell / column
2874 \begin_layout Labeling
2875 \labelwidthstring 00.00.0000
2878 arg "tabular-feature align-decimal"
2881 aligns the content of the current column at a character
2884 \begin_layout Labeling
2885 \labelwidthstring 00.00.0000
2888 arg "tabular-feature m-valign-top"
2891 aligns the content of the current cell vertically to the top
2894 \begin_layout Labeling
2895 \labelwidthstring 00.00.0000
2898 arg "tabular-feature m-valign-middle"
2901 centers the content of the current cell vertically
2904 \begin_layout Labeling
2905 \labelwidthstring 00.00.0000
2908 arg "tabular-feature m-valign-bottom"
2911 aligns the content of the current cell vertically to the bottom
2914 \begin_layout Labeling
2915 \labelwidthstring 00.00.0000
2918 arg "tabular-feature set-rotate-cell"
2921 rotates the current cell or selection counter-clockwise by 90°
2924 \begin_layout Labeling
2925 \labelwidthstring 00.00.0000
2928 arg "tabular-feature set-rotate-tabular"
2931 rotates the whole table counter-clockwise by 90°
2934 \begin_layout Labeling
2935 \labelwidthstring 00.00.0000
2938 arg "tabular-feature multicolumn"
2941 sets the current cell or selection as a multicolumn
2944 \begin_layout Labeling
2945 \labelwidthstring 00.00.0000
2948 arg "tabular-feature multirow"
2951 sets the current cell or selection as a multirow
2954 \begin_layout Standard
2955 \begin_inset Note Greyedout
2958 \begin_layout Plain Layout
2963 For the output the vertical alignment of the first cell in a row is used
2964 for all following cells in the row.
2972 \begin_layout Section
2974 \begin_inset Index idx
2977 \begin_layout Plain Layout
2986 \begin_layout Standard
2987 In addition to the table dialog and toolbar, the menu
2989 Edit\SpecialChar menuseparator
2992 allows you to add and delete border lines for the current row/column and
2993 to set the current selection as multicolumn.
2994 The menu is only available when the cursor is inside a table.
2997 \begin_layout Section
2999 \begin_inset CommandInset label
3001 name "sec:Table-Floats"
3006 \begin_inset Index idx
3009 \begin_layout Plain Layout
3016 \begin_inset Index idx
3019 \begin_layout Plain Layout
3028 \begin_layout Standard
3029 For general explanations about floats, have a look at section
3030 \begin_inset space ~
3034 \begin_inset CommandInset ref
3036 reference "sec:FloatIntroduction"
3043 \begin_layout Standard
3044 \begin_inset Float table
3051 \begin_layout Plain Layout
3052 \begin_inset Caption Standard
3054 \begin_layout Plain Layout
3055 \begin_inset CommandInset label
3057 name "tab:a table float"
3069 \begin_layout Plain Layout
3071 \begin_inset Tabular
3072 <lyxtabular version="3" rows="3" columns="3">
3073 <features tabularvalignment="middle">
3074 <column alignment="center" valignment="top" width="0pt">
3075 <column alignment="center" valignment="top" width="0pt">
3076 <column alignment="center" valignment="top" width="0pt">
3078 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3081 \begin_layout Plain Layout
3096 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3099 \begin_layout Plain Layout
3114 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3117 \begin_layout Plain Layout
3134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3137 \begin_layout Plain Layout
3152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3155 \begin_layout Plain Layout
3170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3173 \begin_layout Plain Layout
3190 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3193 \begin_layout Plain Layout
3203 \begin_inset Formula $\int x^{2}dx$
3211 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
3214 \begin_layout Plain Layout
3224 \begin_inset Formula $\left[\begin{array}{cc}
3235 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3238 \begin_layout Plain Layout
3248 \begin_inset Formula $1+1=2$
3269 \begin_layout Standard
3270 Table floats can be inserted using the menu
3272 Insert\SpecialChar menuseparator
3273 Float\SpecialChar menuseparator
3276 or the toolbar button
3279 arg "float-insert table"
3285 \begin_layout Standard
3286 The float appears as a collapsible box with a caption that has the label
3288 \begin_inset Quotes eld
3292 \begin_inset space ~
3296 \begin_inset Quotes erd
3299 (# is the actual table number).
3300 You can insert tables in the float above or below the caption.
3303 \begin_layout Standard
3305 \begin_inset space ~
3309 \begin_inset CommandInset ref
3311 reference "tab:a table float"
3315 is an example table within a table float.
3318 \begin_layout Standard
3319 Having the caption above the table is the common rule that is unfortunately
3320 not supported in \SpecialChar LaTeX
3321 's standard classes.
3322 This means that, if you are using the document classes
3338 , there will be no space between the caption and the table.
3339 To insert the needed space, add the following option to the load command
3340 of the \SpecialChar LaTeX
3346 \begin_inset Index idx
3349 \begin_layout Plain Layout
3356 in your document preamble:
3360 \begin_layout Plain Layout
3361 For more information have a look at section
3362 \begin_inset space ~
3366 \begin_inset CommandInset ref
3368 reference "sec:Caption-Placement"
3380 \begin_layout Standard
3386 \begin_layout Standard
3391 , which is described in section
3392 \begin_inset space ~
3396 \begin_inset CommandInset ref
3398 reference "sec:Caption-Formatting"
3402 , is used to adjust the caption format.
3405 \begin_layout Standard
3406 \begin_inset Index idx
3409 \begin_layout Plain Layout
3410 References ! to Tables
3415 Tables can be cross-referenced in the text by referencing their label.
3416 To do this insert a label in the caption using the menu
3418 Insert\SpecialChar menuseparator
3421 or the toolbar button
3428 You can now refer to the label using the menu
3430 Insert\SpecialChar menuseparator
3432 \begin_inset space ~
3437 or the toolbar button
3440 arg "dialog-show-new-inset ref"
3444 \begin_inset Newline newline
3447 Referencing is explained in detail in section
3448 \begin_inset space ~
3452 \begin_inset CommandInset ref
3454 reference "sec:Referencing-Floats"
3461 \begin_layout Section
3467 \begin_inset CommandInset label
3469 name "sec:Multi-page-Tables"
3474 \begin_inset Index idx
3477 \begin_layout Plain Layout
3484 \begin_inset Index idx
3487 \begin_layout Plain Layout
3488 Table ! Multi-page Table
3496 \begin_layout Standard
3497 If the table is too long to fit on one page, you can use the option
3500 \begin_inset space ~
3508 \begin_inset space ~
3513 of the table dialog to split the table automatically over more pages.
3514 Doing this enables the following options:
3517 \begin_layout Description
3518 Header: The current row is defined to be a header row that appears on all
3519 pages of the multi-page table; except for the first page, if
3522 \begin_inset space ~
3528 This is therefore called the main header.
3531 \begin_layout Description
3533 \begin_inset space ~
3536 header: The current row is defined to be a header row that appears on the
3537 first page of the multi-page table.
3540 \begin_layout Description
3541 Footer: The current row is defined to be a footer row that appears on all
3542 pages of the multi-page table; except for the last page, if
3545 \begin_inset space ~
3553 \begin_layout Description
3555 \begin_inset space ~
3558 footer: The current row is defined to be a footer row that appears on the
3559 last page of the multi-page table.
3562 \begin_layout Description
3563 Caption: The current row contains the table caption.
3564 The row is reset as single column and a caption is inserted.
3565 More about multi-page table captions is explained in sec.
3566 \begin_inset space \thinspace{}
3570 \begin_inset CommandInset ref
3572 reference "subsec:Multi-page-Table-Captions"
3579 \begin_layout Standard
3580 You can also specify a row where the table is split.
3581 See the following multi-page table to see how it works:
3584 \begin_layout Standard
3586 \begin_inset Tabular
3587 <lyxtabular version="3" rows="69" columns="3">
3588 <features islongtable="true" longtabularalignment="center">
3589 <column alignment="left" valignment="top" width="0cm">
3590 <column alignment="left" valignment="top" width="0pt">
3591 <column alignment="center" valignment="top" width="0pt">
3592 <row endfirsthead="true">
3593 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3596 \begin_layout Plain Layout
3599 Example Phone List (ignore the names)
3604 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3607 \begin_layout Plain Layout
3613 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3616 \begin_layout Plain Layout
3623 <row endfirsthead="true">
3624 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3627 \begin_layout Plain Layout
3635 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3638 \begin_layout Plain Layout
3644 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3647 \begin_layout Plain Layout
3656 <row endhead="true">
3657 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3660 \begin_layout Plain Layout
3668 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3671 \begin_layout Plain Layout
3677 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3680 \begin_layout Plain Layout
3687 <row endhead="true">
3688 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3691 \begin_layout Plain Layout
3699 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3702 \begin_layout Plain Layout
3708 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3711 \begin_layout Plain Layout
3720 <row endfoot="true">
3721 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3724 \begin_layout Plain Layout
3725 continued on next page
3730 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3733 \begin_layout Plain Layout
3739 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" 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="right" 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" leftline="true" usebox="none">
4559 \begin_layout Plain Layout
4567 <cell alignment="center" valignment="top" usebox="none">
4570 \begin_layout Plain Layout
4576 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4579 \begin_layout Plain Layout
4587 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4590 \begin_layout Plain Layout
4598 <cell alignment="center" valignment="top" usebox="none">
4601 \begin_layout Plain Layout
4607 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4610 \begin_layout Plain Layout
4618 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4621 \begin_layout Plain Layout
4629 <cell alignment="center" valignment="top" usebox="none">
4632 \begin_layout Plain Layout
4638 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4641 \begin_layout Plain Layout
4649 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4652 \begin_layout Plain Layout
4660 <cell alignment="center" valignment="top" usebox="none">
4663 \begin_layout Plain Layout
4669 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4672 \begin_layout Plain Layout
4680 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4683 \begin_layout Plain Layout
4691 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4694 \begin_layout Plain Layout
4700 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4703 \begin_layout Plain Layout
4711 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4714 \begin_layout Plain Layout
4720 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4723 \begin_layout Plain Layout
4729 <cell multicolumn="2" alignment="center" valignment="top" topline="true" 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" leftline="true" usebox="none">
5549 \begin_layout Plain Layout
5557 <cell alignment="center" valignment="top" usebox="none">
5560 \begin_layout Plain Layout
5566 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5569 \begin_layout Plain Layout
5577 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5580 \begin_layout Plain Layout
5588 <cell alignment="center" valignment="top" usebox="none">
5591 \begin_layout Plain Layout
5597 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5600 \begin_layout Plain Layout
5608 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5611 \begin_layout Plain Layout
5619 <cell alignment="center" valignment="top" usebox="none">
5622 \begin_layout Plain Layout
5628 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5631 \begin_layout Plain Layout
5639 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5642 \begin_layout Plain Layout
5650 <cell alignment="center" valignment="top" usebox="none">
5653 \begin_layout Plain Layout
5659 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5662 \begin_layout Plain Layout
5670 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5673 \begin_layout Plain Layout
5681 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5684 \begin_layout Plain Layout
5690 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5693 \begin_layout Plain Layout
5700 <row endlastfoot="true">
5701 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5704 \begin_layout Plain Layout
5710 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5713 \begin_layout Plain Layout
5719 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5722 \begin_layout Plain Layout
5737 \begin_layout Plain Layout
5741 addtocounter{table}{-1}
5747 \begin_inset Note Note
5750 \begin_layout Plain Layout
5751 See the first greyed-out note in section
5752 \begin_inset space ~
5756 \begin_inset CommandInset ref
5758 reference "subsec:Multi-page-Table-Captions"
5762 for an explanation of this command.
5770 \begin_layout Subsection
5771 Footnotes in Multi-page tables
5772 \begin_inset CommandInset label
5774 name "subsec:Footnotes-in-Multi-page"
5779 \begin_inset Index idx
5782 \begin_layout Plain Layout
5783 Table ! Multi-page Table ! Footnotes
5791 \begin_layout Standard
5792 Footnotes can be inserted to every Multi-page table cell.
5793 They appear at the bottom of the page where the table cell with the footnote
5796 \begin_inset space ~
5800 \begin_inset CommandInset ref
5802 reference "tab:DiffCaptions"
5806 has for example a footnote.
5809 \begin_layout Subsection
5810 Multi-page Table Alignment
5811 \begin_inset Index idx
5814 \begin_layout Plain Layout
5815 Table ! Multi-page Table ! Alignment
5823 \begin_layout Standard
5824 The horizontal alignment of multi-page tables can be set in the table settings
5826 For left- and right-alignment the table will be directly at the page border.
5827 To add space between the table and the border one has to set the alignment
5828 to center and change the value of the \SpecialChar LaTeX
5841 by inserting this line as \SpecialChar TeX
5842 Code before the multi-page table:
5845 \begin_layout Standard
5855 \begin_layout Standard
5856 The value can have any of the units listed in Table
5857 \begin_inset space ~
5861 \begin_inset CommandInset ref
5863 reference "tab:Units"
5874 controls the horizontal distance from the left page border to the multi-page
5881 the distance from the right side.
5882 The default value for both lengths is
5888 , which is in this case the same as an horizontal fill in \SpecialChar LyX
5892 \begin_layout Standard
5893 The following multi-page table was centered and
5909 \begin_layout Plain Layout
5925 \begin_layout Standard
5926 \begin_inset Tabular
5927 <lyxtabular version="3" rows="5" columns="5">
5928 <features islongtable="true" longtabularalignment="center">
5929 <column alignment="center" valignment="top">
5930 <column alignment="center" valignment="top" width="0pt">
5931 <column alignment="center" valignment="top">
5932 <column alignment="center" valignment="top">
5933 <column alignment="center" valignment="top">
5935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5938 \begin_layout Plain Layout
5944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5947 \begin_layout Plain Layout
5953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5956 \begin_layout Plain Layout
5962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5965 \begin_layout Plain Layout
5971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5974 \begin_layout Plain Layout
5982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5985 \begin_layout Plain Layout
5991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5994 \begin_layout Plain Layout
6000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6003 \begin_layout Plain Layout
6009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6012 \begin_layout Plain Layout
6018 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6021 \begin_layout Plain Layout
6029 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6032 \begin_layout Plain Layout
6038 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6041 \begin_layout Plain Layout
6047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6050 \begin_layout Plain Layout
6056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6059 \begin_layout Plain Layout
6065 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6068 \begin_layout Plain Layout
6076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6079 \begin_layout Plain Layout
6085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6088 \begin_layout Plain Layout
6094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6097 \begin_layout Plain Layout
6103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6106 \begin_layout Plain Layout
6112 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6115 \begin_layout Plain Layout
6123 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6126 \begin_layout Plain Layout
6132 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6135 \begin_layout Plain Layout
6141 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6144 \begin_layout Plain Layout
6150 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6153 \begin_layout Plain Layout
6159 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6162 \begin_layout Plain Layout
6177 \begin_layout Plain Layout
6194 \begin_layout Plain Layout
6198 addtocounter{table}{-1}
6204 \begin_inset Note Note
6207 \begin_layout Plain Layout
6208 See the first greyed-out note in section
6209 \begin_inset space ~
6213 \begin_inset CommandInset ref
6215 reference "subsec:Multi-page-Table-Captions"
6219 for an explanation of this command.
6227 \begin_layout Subsection
6228 Multi-page Table Captions
6229 \begin_inset Index idx
6232 \begin_layout Plain Layout
6233 Table ! Multi-page Table ! Captions
6239 \begin_inset CommandInset label
6241 name "subsec:Multi-page-Table-Captions"
6248 \begin_layout Standard
6249 A multi-page table cannot be put into a table float because floats can only
6251 But the caption environment of floats can also be used for multi-page tables
6252 when you use the multi-page table option
6256 as described in sec.
6257 \begin_inset space \thinspace{}
6261 \begin_inset CommandInset ref
6263 reference "sec:Multi-page-Tables"
6268 Only one table row should contain a caption, either a header or a footer
6272 \begin_layout Standard
6273 Here is a short multi-page table to see how it works:
6276 \begin_layout Standard
6277 \begin_inset Tabular
6278 <lyxtabular version="3" rows="6" columns="5">
6279 <features islongtable="true" longtabularalignment="center">
6280 <column alignment="center" valignment="top">
6281 <column alignment="center" valignment="top">
6282 <column alignment="center" valignment="top">
6283 <column alignment="center" valignment="top">
6284 <column alignment="center" valignment="top">
6285 <row endfirsthead="true" caption="true">
6286 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6289 \begin_layout Plain Layout
6290 \begin_inset Caption Standard
6292 \begin_layout Plain Layout
6293 Multi-page table with caption
6294 \begin_inset Argument 1
6297 \begin_layout Plain Layout
6313 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6316 \begin_layout Plain Layout
6322 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6325 \begin_layout Plain Layout
6331 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6334 \begin_layout Plain Layout
6340 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6343 \begin_layout Plain Layout
6351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6354 \begin_layout Plain Layout
6360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6363 \begin_layout Plain Layout
6369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6372 \begin_layout Plain Layout
6378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6381 \begin_layout Plain Layout
6387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6390 \begin_layout Plain Layout
6398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6401 \begin_layout Plain Layout
6407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6410 \begin_layout Plain Layout
6416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6419 \begin_layout Plain Layout
6425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6428 \begin_layout Plain Layout
6434 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6437 \begin_layout Plain Layout
6445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6448 \begin_layout Plain Layout
6454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6457 \begin_layout Plain Layout
6463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6466 \begin_layout Plain Layout
6472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6475 \begin_layout Plain Layout
6481 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6484 \begin_layout Plain Layout
6492 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6495 \begin_layout Plain Layout
6501 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6504 \begin_layout Plain Layout
6510 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6513 \begin_layout Plain Layout
6519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6522 \begin_layout Plain Layout
6528 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6531 \begin_layout Plain Layout
6539 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6542 \begin_layout Plain Layout
6548 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6551 \begin_layout Plain Layout
6557 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6560 \begin_layout Plain Layout
6566 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6569 \begin_layout Plain Layout
6575 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6578 \begin_layout Plain Layout
6592 \begin_layout Standard
6593 \begin_inset VSpace medskip
6597 \begin_inset Note Greyedout
6600 \begin_layout Plain Layout
6604 \begin_inset space ~
6609 The table number is increased for every multi-page table, even if you did
6610 not set a caption for it.
6611 For this reason you could have the case that e.
6612 \begin_inset space \thinspace{}
6616 \begin_inset space \space{}
6620 \begin_inset space ~
6624 \begin_inset space ~
6627 2.1 in the list of tables if there are two multi-page tables without captions.
6628 To avoid this you can add the following command in \SpecialChar TeX
6629 Code after every multi-page
6630 table without a caption:
6633 \begin_layout Plain Layout
6638 addtocounter{table}{-1}
6641 \begin_layout Plain Layout
6642 This is not needed when none of your multi-page tables has a caption and
6643 you add the following code to the document preamble:
6646 \begin_layout Plain Layout
6656 \begin_inset Newline newline
6667 addtocounter{table}{-1}}
6675 \begin_layout Standard
6676 \begin_inset Note Greyedout
6679 \begin_layout Plain Layout
6683 \begin_inset space ~
6693 \begin_inset Index idx
6696 \begin_layout Plain Layout
6698 -packages ! hyperref
6711 dialog to link cross-references, the link to a multi-page table caption
6712 will always point to the beginning of the document.
6720 \begin_layout Subsubsection
6721 References to multi-page tables
6722 \begin_inset Index idx
6725 \begin_layout Plain Layout
6726 Table ! Multi-page Table ! References
6734 \begin_layout Standard
6735 \begin_inset Tabular
6736 <lyxtabular version="3" rows="6" columns="5">
6737 <features islongtable="true" longtabularalignment="center">
6738 <column alignment="center" valignment="top">
6739 <column alignment="center" valignment="top">
6740 <column alignment="center" valignment="top">
6741 <column alignment="center" valignment="top">
6742 <column alignment="center" valignment="top">
6743 <row endfirsthead="true" caption="true">
6744 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6747 \begin_layout Plain Layout
6748 \begin_inset Caption Standard
6750 \begin_layout Plain Layout
6751 Referenced multi-page table
6752 \begin_inset CommandInset label
6754 name "tab:Referenced-multi-page-table"
6768 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6771 \begin_layout Plain Layout
6777 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6780 \begin_layout Plain Layout
6786 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6789 \begin_layout Plain Layout
6795 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6798 \begin_layout Plain Layout
6806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6809 \begin_layout Plain Layout
6815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6818 \begin_layout Plain Layout
6824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6827 \begin_layout Plain Layout
6833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6836 \begin_layout Plain Layout
6842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6845 \begin_layout Plain Layout
6853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6856 \begin_layout Plain Layout
6862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6865 \begin_layout Plain Layout
6871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6874 \begin_layout Plain Layout
6880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6883 \begin_layout Plain Layout
6889 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6892 \begin_layout Plain Layout
6900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6903 \begin_layout Plain Layout
6909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6912 \begin_layout Plain Layout
6918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6921 \begin_layout Plain Layout
6927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6930 \begin_layout Plain Layout
6936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6939 \begin_layout Plain Layout
6947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6950 \begin_layout Plain Layout
6956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6959 \begin_layout Plain Layout
6965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6968 \begin_layout Plain Layout
6974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6977 \begin_layout Plain Layout
6983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6986 \begin_layout Plain Layout
6994 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6997 \begin_layout Plain Layout
7003 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7006 \begin_layout Plain Layout
7012 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7015 \begin_layout Plain Layout
7021 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7024 \begin_layout Plain Layout
7030 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7033 \begin_layout Plain Layout
7047 \begin_layout Standard
7048 To reference a multi-page table, insert a label into the caption.
7051 \begin_layout Standard
7052 This is a reference to Table
7053 \begin_inset space ~
7057 \begin_inset CommandInset ref
7059 reference "tab:Referenced-multi-page-table"
7066 \begin_layout Standard
7067 The caption layout can be set together with all other captions of your document
7068 using the \SpecialChar LaTeX
7074 \begin_inset Index idx
7077 \begin_layout Plain Layout
7085 \begin_inset space ~
7089 \begin_inset CommandInset ref
7091 reference "sec:Caption-Formatting"
7098 \begin_layout Subsubsection
7100 \begin_inset Index idx
7103 \begin_layout Plain Layout
7104 Table ! Multi-page Table ! Caption Width
7112 \begin_layout Standard
7113 The maximal width of caption lines is defined by the length
7120 Its default value is 4
7121 \begin_inset space \thinspace{}
7125 To change it add the following command to your document preamble or as
7127 Code into your document before the multi-page table that should be affected
7130 \begin_layout Standard
7140 \begin_layout Standard
7145 can have one of the units listed in appendix
7146 \begin_inset space ~
7150 \begin_inset CommandInset ref
7152 reference "cha:Units-available-in"
7159 \begin_layout Standard
7160 The following tables show the difference:
7163 \begin_layout Standard
7164 \begin_inset Tabular
7165 <lyxtabular version="3" rows="6" columns="5">
7166 <features islongtable="true" longtabularalignment="center">
7167 <column alignment="center" valignment="top">
7168 <column alignment="center" valignment="top">
7169 <column alignment="center" valignment="top">
7170 <column alignment="center" valignment="top">
7171 <column alignment="center" valignment="top">
7172 <row endfirsthead="true" caption="true">
7173 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7176 \begin_layout Plain Layout
7177 \begin_inset Caption Standard
7179 \begin_layout Plain Layout
7180 Long full title with default width long full title with default width long
7181 full title with default width
7182 \begin_inset Argument 1
7185 \begin_layout Plain Layout
7186 caption with default width
7201 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7204 \begin_layout Plain Layout
7210 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7213 \begin_layout Plain Layout
7219 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7222 \begin_layout Plain Layout
7228 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7231 \begin_layout Plain Layout
7239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7242 \begin_layout Plain Layout
7248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7251 \begin_layout Plain Layout
7257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7260 \begin_layout Plain Layout
7266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7269 \begin_layout Plain Layout
7275 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7278 \begin_layout Plain Layout
7286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7289 \begin_layout Plain Layout
7295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7298 \begin_layout Plain Layout
7304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7307 \begin_layout Plain Layout
7313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7316 \begin_layout Plain Layout
7322 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7325 \begin_layout Plain Layout
7333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7336 \begin_layout Plain Layout
7342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7345 \begin_layout Plain Layout
7351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7354 \begin_layout Plain Layout
7360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7363 \begin_layout Plain Layout
7369 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7372 \begin_layout Plain Layout
7380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7383 \begin_layout Plain Layout
7389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7392 \begin_layout Plain Layout
7398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7401 \begin_layout Plain Layout
7407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7410 \begin_layout Plain Layout
7416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7419 \begin_layout Plain Layout
7427 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7430 \begin_layout Plain Layout
7436 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7439 \begin_layout Plain Layout
7445 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7448 \begin_layout Plain Layout
7454 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7457 \begin_layout Plain Layout
7463 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7466 \begin_layout Plain Layout
7480 \begin_layout Standard
7484 \begin_layout Plain Layout
7496 \begin_inset Tabular
7497 <lyxtabular version="3" rows="6" columns="5">
7498 <features islongtable="true" longtabularalignment="center">
7499 <column alignment="center" valignment="top">
7500 <column alignment="center" valignment="top">
7501 <column alignment="center" valignment="top">
7502 <column alignment="center" valignment="top">
7503 <column alignment="center" valignment="top">
7504 <row endfirsthead="true" caption="true">
7505 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7508 \begin_layout Plain Layout
7509 \begin_inset Caption Standard
7511 \begin_layout Plain Layout
7512 Long full title with width set to 5
7513 \begin_inset space \thinspace{}
7516 cm long full title with width set to 5
7517 \begin_inset space \thinspace{}
7520 cm long full title with width set to 5
7521 \begin_inset space \thinspace{}
7525 \begin_inset Argument 1
7528 \begin_layout Plain Layout
7530 \begin_inset space \thinspace{}
7534 \begin_inset space \thinspace{}
7538 \begin_inset space \thinspace{}
7556 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7559 \begin_layout Plain Layout
7565 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7568 \begin_layout Plain Layout
7574 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7577 \begin_layout Plain Layout
7583 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7586 \begin_layout Plain Layout
7594 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7597 \begin_layout Plain Layout
7603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7606 \begin_layout Plain Layout
7612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7615 \begin_layout Plain Layout
7621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7624 \begin_layout Plain Layout
7630 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7633 \begin_layout Plain Layout
7641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7644 \begin_layout Plain Layout
7650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7653 \begin_layout Plain Layout
7659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7662 \begin_layout Plain Layout
7668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7671 \begin_layout Plain Layout
7677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7680 \begin_layout Plain Layout
7688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7691 \begin_layout Plain Layout
7697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7700 \begin_layout Plain Layout
7706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7709 \begin_layout Plain Layout
7715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7718 \begin_layout Plain Layout
7724 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7727 \begin_layout Plain Layout
7735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7738 \begin_layout Plain Layout
7744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7747 \begin_layout Plain Layout
7753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7756 \begin_layout Plain Layout
7762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7765 \begin_layout Plain Layout
7771 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7774 \begin_layout Plain Layout
7782 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7785 \begin_layout Plain Layout
7791 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7794 \begin_layout Plain Layout
7800 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7803 \begin_layout Plain Layout
7809 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7812 \begin_layout Plain Layout
7818 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7821 \begin_layout Plain Layout
7835 \begin_layout Standard
7839 \begin_layout Plain Layout
7853 \begin_layout Standard
7854 \begin_inset Note Greyedout
7857 \begin_layout Plain Layout
7862 When the \SpecialChar LaTeX
7868 \begin_inset Index idx
7871 \begin_layout Plain Layout
7878 is used, as in this document, the full page width is used for the caption
7879 when you use the default value of 4
7880 \begin_inset space \thinspace{}
7890 To get in this case exactly a 4
7891 \begin_inset space \thinspace{}
7894 in wide caption, you can either use a value slightly different from 4.0
7895 \begin_inset space \thinspace{}
7899 \begin_inset space \thinspace{}
7903 \begin_inset space \space{}
7907 \begin_inset space \thinspace{}
7910 in, or the \SpecialChar LaTeX
7915 captionsetup{width=value}
7917 that is provided by the
7929 \begin_layout Subsubsection
7930 Different Captions for Table Pages
7931 \begin_inset Index idx
7934 \begin_layout Plain Layout
7935 Table ! Multi-page Table ! Different Captions for Pages
7943 \begin_layout Standard
7944 When the table captions for the following pages should differ from the one
7945 of the first table page, mark a empty row as header which contains a caption.
7946 Then right-click on the caption and select in the context menu
7949 \begin_inset space ~
7956 \begin_inset space ~
7960 \begin_inset CommandInset ref
7962 reference "tab:DiffCaptions"
7966 is an example of a multi-page table with different heading where the second
7967 caption does not include the table number.
7970 \begin_layout Standard
7972 \begin_inset Tabular
7973 <lyxtabular version="3" rows="59" columns="3">
7974 <features islongtable="true" longtabularalignment="center">
7975 <column alignment="left" valignment="top" width="0cm">
7976 <column alignment="left" valignment="top" width="0pt">
7977 <column alignment="center" valignment="top" width="0pt">
7978 <row endfirsthead="true" caption="true">
7979 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7982 \begin_layout Plain Layout
7983 \begin_inset Caption Standard
7985 \begin_layout Plain Layout
7987 \begin_inset CommandInset label
7989 name "tab:DiffCaptions"
7994 \begin_inset Argument 1
7997 \begin_layout Plain Layout
8013 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8016 \begin_layout Plain Layout
8022 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8025 \begin_layout Plain Layout
8032 <row endfirsthead="true">
8033 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8036 \begin_layout Plain Layout
8039 Example Phone List (ignore the names)
8044 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
8047 \begin_layout Plain Layout
8053 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
8056 \begin_layout Plain Layout
8063 <row endfirsthead="true">
8064 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8067 \begin_layout Plain Layout
8075 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8078 \begin_layout Plain Layout
8084 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8087 \begin_layout Plain Layout
8096 <row endhead="true" caption="true">
8097 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8100 \begin_layout Plain Layout
8101 \begin_inset Caption Unnumbered
8103 \begin_layout Plain Layout
8104 Continued Example Phone List
8114 <cell multicolumn="2" alignment="left" valignment="top" leftline="true" usebox="none">
8117 \begin_layout Plain Layout
8123 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
8126 \begin_layout Plain Layout
8133 <row endhead="true">
8134 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8137 \begin_layout Plain Layout
8145 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8148 \begin_layout Plain Layout
8154 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8157 \begin_layout Plain Layout
8164 <row endhead="true">
8165 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8168 \begin_layout Plain Layout
8176 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8179 \begin_layout Plain Layout
8185 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8188 \begin_layout Plain Layout
8197 <row endfoot="true">
8198 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
8201 \begin_layout Plain Layout
8202 continued on next page
8207 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8210 \begin_layout Plain Layout
8216 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" 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
8548 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8551 \begin_layout Plain Layout
8557 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8560 \begin_layout Plain Layout
8568 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8571 \begin_layout Plain Layout
8579 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8582 \begin_layout Plain Layout
8588 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8591 \begin_layout Plain Layout
8599 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8602 \begin_layout Plain Layout
8610 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8613 \begin_layout Plain Layout
8619 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8622 \begin_layout Plain Layout
8630 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8633 \begin_layout Plain Layout
8641 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8644 \begin_layout Plain Layout
8650 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8653 \begin_layout Plain Layout
8661 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8664 \begin_layout Plain Layout
8673 \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" leftline="true" usebox="none">
9048 \begin_layout Plain Layout
9056 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9059 \begin_layout Plain Layout
9065 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9068 \begin_layout Plain Layout
9076 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9079 \begin_layout Plain Layout
9087 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9090 \begin_layout Plain Layout
9096 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9099 \begin_layout Plain Layout
9107 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9110 \begin_layout Plain Layout
9118 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9121 \begin_layout Plain Layout
9127 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9130 \begin_layout Plain Layout
9138 <cell alignment="center" valignment="top" leftline="true" usebox="none">
9141 \begin_layout Plain Layout
9149 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9152 \begin_layout Plain Layout
9158 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9161 \begin_layout Plain Layout
9169 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9172 \begin_layout Plain Layout
9180 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9183 \begin_layout Plain Layout
9189 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9192 \begin_layout Plain Layout
9200 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9203 \begin_layout Plain Layout
9209 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
9212 \begin_layout Plain Layout
9218 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" 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" leftline="true" usebox="none">
9697 \begin_layout Plain Layout
9705 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9708 \begin_layout Plain Layout
9714 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9717 \begin_layout Plain Layout
9725 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9728 \begin_layout Plain Layout
9736 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9739 \begin_layout Plain Layout
9745 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9748 \begin_layout Plain Layout
9756 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9759 \begin_layout Plain Layout
9767 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9770 \begin_layout Plain Layout
9776 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9779 \begin_layout Plain Layout
9787 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9790 \begin_layout Plain Layout
9798 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9801 \begin_layout Plain Layout
9807 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9810 \begin_layout Plain Layout
9818 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9821 \begin_layout Plain Layout
9829 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9832 \begin_layout Plain Layout
9838 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9841 \begin_layout Plain Layout
9855 \begin_layout Section
9856 Special Multi-page Table Issues
9857 \begin_inset CommandInset label
9859 name "sec:Special-Longtable-Issues"
9866 \begin_layout Subsection
9867 Multi-page Table Calculation
9868 \begin_inset Index idx
9871 \begin_layout Plain Layout
9872 Table ! Multi-page Table ! Calculation
9880 \begin_layout Standard
9882 calculates the height of table pages and their page breaks using so called
9884 Chunks are parts of tables that held at the same time in \SpecialChar LaTeX
9886 The default value was historically set to only 20
9887 \begin_inset space ~
9891 If you are using multi-page tables with many pages this may slow down the
9892 creation of your document.
9893 You can safely increase the chunk size to values of 100
9894 \begin_inset space \thinspace{}
9898 \begin_inset space \thinspace{}
9901 1000 by adding this command line to your document preamble:
9904 \begin_layout Standard
9909 setcounter{LTchunksize}{100}
9912 \begin_layout Subsection
9913 Floats and Multi-page Tables
9914 \begin_inset Index idx
9917 \begin_layout Plain Layout
9918 Table ! Multi-page Table ! Floats
9926 \begin_layout Standard
9927 There might be problems when a float appears on the same page where a multi-page
9929 To avoid such a situation, insert a
9930 \begin_inset Quotes eld
9934 \begin_inset Quotes erd
9939 Insert\SpecialChar menuseparator
9940 Formatting\SpecialChar menuseparator
9942 \begin_inset space ~
9947 ) before your multi-page table.
9950 \begin_layout Subsection
9952 \begin_inset Index idx
9955 \begin_layout Plain Layout
9956 Table ! Multi-page Table ! Forced Page Breaks
9964 \begin_layout Standard
9965 By default tables are only broken between rows.
9966 If you have a cell with multiples lines and want to have a page break within
9967 the cell, insert the new line command
9968 \begin_inset Quotes eld
9980 \begin_inset Quotes erd
9984 Code at the point of the cell where it can be broken.
9993 command you have to insert in \SpecialChar TeX
9995 \begin_inset Quotes eld
10003 \begin_inset Quotes erd
10006 characters as the number of the following table columns.
10011 is the character to separate table cells.
10012 Write in \SpecialChar TeX
10017 the content of the corresponding following cell and delete the content
10019 \begin_inset Newline newline
10030 command, insert as many
10034 characters as the number of table columns before the current column.
10036 \begin_inset space ~
10040 \begin_inset CommandInset ref
10042 reference "tab:ForcedPagebreak"
10046 the cell that should be broken is in the second column followed by another
10048 Therefore the following command was inserted in the cell as \SpecialChar TeX
10051 \begin_inset Quotes eld
10059 \begin_inset Quotes erd
10065 \begin_layout Standard
10075 \begin_inset Newline newline
10081 \begin_layout Standard
10083 \begin_inset Quotes eld
10087 \begin_inset Quotes erd
10090 in the third column of the row was deleted.
10097 is only needed when a page break should definitely occur at this position,
10098 otherwise it would be a conditional break.
10099 If your footer row of the multi-page table has for a certain reason no
10100 upper line but you would have a horizontal line where the cell is broken,
10101 use this command instead:
10104 \begin_layout Standard
10112 \begin_inset Newline newline
10120 \begin_layout Standard
10121 When the cell to be broken is in the last column, the command
10124 \begin_layout Standard
10134 \begin_layout Standard
10135 must be inserted as \SpecialChar TeX
10136 Code at the beginning of the cell.
10137 This ensures that the part of the cell that will be displayed on the new
10138 page appears with the full width.
10141 \begin_layout Standard
10143 \begin_inset Tabular
10144 <lyxtabular version="3" rows="38" columns="3">
10145 <features islongtable="true" longtabularalignment="center">
10146 <column alignment="left" valignment="top" width="0cm">
10147 <column alignment="left" valignment="top" width="3cm">
10148 <column alignment="center" valignment="top" width="0pt">
10149 <row endfirsthead="true" caption="true">
10150 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10153 \begin_layout Plain Layout
10154 \begin_inset Caption Standard
10156 \begin_layout Plain Layout
10157 Table with forced page break in table cell
10158 \begin_inset CommandInset label
10160 name "tab:ForcedPagebreak"
10165 \begin_inset Argument 1
10168 \begin_layout Plain Layout
10169 Table with forced page break in table cell
10184 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10187 \begin_layout Plain Layout
10193 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10196 \begin_layout Plain Layout
10203 <row endfirsthead="true">
10204 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10207 \begin_layout Plain Layout
10210 Example Phone List (ignore the names)
10215 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10218 \begin_layout Plain Layout
10224 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10227 \begin_layout Plain Layout
10234 <row endfirsthead="true">
10235 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10238 \begin_layout Plain Layout
10246 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10249 \begin_layout Plain Layout
10255 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10258 \begin_layout Plain Layout
10267 <row endhead="true" caption="true">
10268 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10271 \begin_layout Plain Layout
10272 \begin_inset Caption Unnumbered
10274 \begin_layout Plain Layout
10275 Continued Example Phone List
10285 <cell multicolumn="2" alignment="left" valignment="top" rightline="true" usebox="none">
10288 \begin_layout Plain Layout
10294 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
10297 \begin_layout Plain Layout
10304 <row endhead="true">
10305 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10308 \begin_layout Plain Layout
10316 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10319 \begin_layout Plain Layout
10325 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10328 \begin_layout Plain Layout
10335 <row endhead="true">
10336 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10339 \begin_layout Plain Layout
10347 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10350 \begin_layout Plain Layout
10356 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10359 \begin_layout Plain Layout
10368 <row endfoot="true">
10369 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10372 \begin_layout Plain Layout
10373 continued on next page
10378 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10381 \begin_layout Plain Layout
10387 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" 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="right" 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
10976 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10979 \begin_layout Plain Layout
10987 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10990 \begin_layout Plain Layout
10998 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11001 \begin_layout Plain Layout
11007 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11010 \begin_layout Plain Layout
11018 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11021 \begin_layout Plain Layout
11029 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11032 \begin_layout Plain Layout
11038 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11041 \begin_layout Plain Layout
11049 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11052 \begin_layout Plain Layout
11060 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11063 \begin_layout Plain Layout
11069 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11072 \begin_layout Plain Layout
11080 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11083 \begin_layout Plain Layout
11091 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11094 \begin_layout Plain Layout
11096 Fürst von Montecompatri, 11.
11097 Fürst von Sulmona und Vivaro, 10.
11098 Fürst von Rossano, 5.
11099 Herzog von Canemorte, 11.
11100 Herzog von Palombara, 5.
11101 Herzog von Castelchiodato,
11105 \begin_layout Plain Layout
11116 \begin_layout Plain Layout
11124 Herzog von Poggionativo, 11.
11125 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
11126 Graf von Valinfreda, 11.
11127 Baron von Cropalati, 11.
11128 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
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" leftline="true" usebox="none">
11240 \begin_layout Plain Layout
11248 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11251 \begin_layout Plain Layout
11257 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11260 \begin_layout Plain Layout
11268 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11271 \begin_layout Plain Layout
11279 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11282 \begin_layout Plain Layout
11288 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11291 \begin_layout Plain Layout
11299 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11302 \begin_layout Plain Layout
11310 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11313 \begin_layout Plain Layout
11319 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11322 \begin_layout Plain Layout
11330 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11333 \begin_layout Plain Layout
11341 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11344 \begin_layout Plain Layout
11350 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11353 \begin_layout Plain Layout
11361 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11364 \begin_layout Plain Layout
11372 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
11375 \begin_layout Plain Layout
11381 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11384 \begin_layout Plain Layout
11398 \begin_layout Section
11399 Multiple Lines, Columns and Rows
11402 \begin_layout Subsection
11403 Multiple Lines in Table Cells
11404 \begin_inset CommandInset label
11406 name "subsec:Multiple-Lines-in"
11411 \begin_inset Index idx
11414 \begin_layout Plain Layout
11415 Multiple Lines in Table Cells
11421 \begin_inset Index idx
11424 \begin_layout Plain Layout
11433 \begin_layout Standard
11435 \begin_inset Float table
11442 \begin_layout Plain Layout
11443 \begin_inset Caption Standard
11445 \begin_layout Plain Layout
11446 \begin_inset CommandInset label
11448 name "tab:Table-with-multiple"
11452 Table with multiple lines in cells
11460 \begin_layout Plain Layout
11462 \begin_inset Tabular
11463 <lyxtabular version="3" rows="3" columns="3">
11464 <features tabularvalignment="middle">
11465 <column alignment="center" valignment="middle" width="2.5cm">
11466 <column alignment="center" valignment="middle">
11467 <column alignment="center" valignment="middle">
11469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11472 \begin_layout Plain Layout
11474 \begin_inset Newline linebreak
11482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11485 \begin_layout Plain Layout
11491 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11494 \begin_layout Plain Layout
11502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11505 \begin_layout Plain Layout
11511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11514 \begin_layout Plain Layout
11520 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11523 \begin_layout Plain Layout
11531 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11534 \begin_layout Plain Layout
11540 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11543 \begin_layout Plain Layout
11549 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11552 \begin_layout Plain Layout
11571 \begin_layout Standard
11572 Setting a fixed width for a column enables you to enter text as a paragraph
11573 with multiple lines and hyphenation.
11576 \begin_layout Standard
11578 \begin_inset space ~
11582 \begin_inset CommandInset ref
11584 reference "tab:Table-with-multiple"
11588 , create a 3×3 table, mark the first cell and right-click on it.
11589 In the appearing table dialog we set a cell width of 2.5
11590 \begin_inset space \thinspace{}
11593 cm and choose centered for the vertical and horizontal alignment.
11594 The vertical alignment is used for all cells of the row.
11595 As our text is smaller than 2.5
11596 \begin_inset space \thinspace{}
11599 cm, only one line will appear.
11600 To get two lines, a justified line break (shortcut
11603 arg "newline-insert linebreak"
11607 If the text is wider than the set cell width, it will automatically be
11608 broken to several lines.
11611 \begin_layout Standard
11612 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11613 by \SpecialChar LaTeX
11614 if it is the first entry.
11615 Therefore you need to insert something to prevent the word not being the
11617 So add a horizontal space of 0
11618 \begin_inset space \thinspace{}
11621 pt before the word.
11622 As the space is zero, it doesn't change the output.
11624 \begin_inset space ~
11628 \begin_inset CommandInset ref
11630 reference "tab:Table-with-and"
11637 \begin_layout Standard
11638 \begin_inset Float table
11645 \begin_layout Plain Layout
11646 \begin_inset Caption Standard
11648 \begin_layout Plain Layout
11649 \begin_inset CommandInset label
11651 name "tab:Table-with-and"
11655 Table with and without hyphenation
11663 \begin_layout Plain Layout
11664 \begin_inset space \hfill{}
11668 \begin_inset Tabular
11669 <lyxtabular version="3" rows="3" columns="3">
11670 <features tabularvalignment="middle">
11671 <column alignment="center" valignment="middle" width="2.5cm">
11672 <column alignment="center" valignment="middle">
11673 <column alignment="center" valignment="middle">
11675 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11678 \begin_layout Plain Layout
11679 verylongtablecellword
11684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11687 \begin_layout Plain Layout
11693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11696 \begin_layout Plain Layout
11704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11707 \begin_layout Plain Layout
11713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11716 \begin_layout Plain Layout
11722 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11725 \begin_layout Plain Layout
11733 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11736 \begin_layout Plain Layout
11742 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11745 \begin_layout Plain Layout
11751 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11754 \begin_layout Plain Layout
11766 \begin_inset space \hfill{}
11770 \begin_inset Tabular
11771 <lyxtabular version="3" rows="3" columns="3">
11772 <features tabularvalignment="middle">
11773 <column alignment="center" valignment="middle" width="2.5cm">
11774 <column alignment="center" valignment="middle">
11775 <column alignment="center" valignment="middle">
11777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11780 \begin_layout Plain Layout
11781 \begin_inset space \hspace{}
11785 verylongtablecellword
11790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11793 \begin_layout Plain Layout
11799 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11802 \begin_layout Plain Layout
11810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11813 \begin_layout Plain Layout
11819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11822 \begin_layout Plain Layout
11828 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11831 \begin_layout Plain Layout
11839 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11842 \begin_layout Plain Layout
11848 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11851 \begin_layout Plain Layout
11857 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11860 \begin_layout Plain Layout
11872 \begin_inset space \hfill{}
11883 \begin_layout Subsection
11885 \begin_inset CommandInset label
11887 name "subsec:Multicolumns"
11892 \begin_inset Index idx
11895 \begin_layout Plain Layout
11902 \begin_inset Index idx
11905 \begin_layout Plain Layout
11906 Table ! Multicolumns
11914 \begin_layout Subsubsection
11918 \begin_layout Standard
11919 To merge cells over multiple columns, select as many cells within a row
11920 as you want to merge and use either the table-toolbar button
11923 arg "tabular-feature multicolumn"
11928 Edit\SpecialChar menuseparator
11929 Table\SpecialChar menuseparator
11932 , or right click on the marked cells and choose
11936 in the context menu.
11939 \begin_layout Standard
11940 Multicolumns have their own cell settings.
11941 That means changing cell borders, cell alignment, and the width only affects
11943 Here is an example table with a multicolumn cell in the first row and one
11944 in the last row without the upper border:
11947 \begin_layout Standard
11949 \begin_inset Tabular
11950 <lyxtabular version="3" rows="3" columns="4">
11951 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11952 <column alignment="center" valignment="top" width="0pt">
11953 <column alignment="center" valignment="middle">
11954 <column alignment="center" valignment="top" width="0in">
11955 <column alignment="center" valignment="top" width="0pt">
11957 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11960 \begin_layout Plain Layout
11966 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11969 \begin_layout Plain Layout
11975 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11978 \begin_layout Plain Layout
11984 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11987 \begin_layout Plain Layout
11995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11998 \begin_layout Plain Layout
12013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12016 \begin_layout Plain Layout
12022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12025 \begin_layout Plain Layout
12031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12034 \begin_layout Plain Layout
12042 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12045 \begin_layout Plain Layout
12051 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
12054 \begin_layout Plain Layout
12060 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12063 \begin_layout Plain Layout
12069 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12072 \begin_layout Plain Layout
12086 \begin_layout Subsubsection
12087 Multicolumn Calculations
12088 \begin_inset CommandInset label
12090 name "subsec:Multicolumn-Calculations"
12095 \begin_inset Index idx
12098 \begin_layout Plain Layout
12099 Multicolumns ! Calculations
12107 \begin_layout Standard
12109 supports multicolumns directly, but we have to take account of the cell
12110 width of the columns spanned by the multicolumn cell.
12113 \begin_layout Standard
12114 \begin_inset Float table
12121 \begin_layout Plain Layout
12122 \begin_inset Caption Standard
12124 \begin_layout Plain Layout
12125 \begin_inset CommandInset label
12127 name "tab:Table-with-centered"
12131 Table with centered multicolumn text above two columns that have exactly
12132 half the width of the multicolumn cell
12133 \begin_inset Argument 1
12136 \begin_layout Plain Layout
12137 Perfect multicolumn table
12150 \begin_layout Plain Layout
12152 \begin_inset Tabular
12153 <lyxtabular version="3" rows="3" columns="3">
12154 <features tabularvalignment="middle">
12155 <column alignment="center" valignment="middle" special=">{\centering}m{1.25cm-6.2pt}">
12156 <column alignment="center" valignment="middle">
12157 <column alignment="center" valignment="top">
12159 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
12162 \begin_layout Plain Layout
12163 multiple lines multicolumn
12168 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12171 \begin_layout Plain Layout
12177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12180 \begin_layout Plain Layout
12188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12191 \begin_layout Plain Layout
12197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12200 \begin_layout Plain Layout
12206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12209 \begin_layout Plain Layout
12217 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12220 \begin_layout Plain Layout
12226 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12229 \begin_layout Plain Layout
12235 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12238 \begin_layout Plain Layout
12257 \begin_layout Standard
12258 To create for example Table
12259 \begin_inset space ~
12263 \begin_inset CommandInset ref
12265 reference "tab:Table-with-centered"
12269 , mark the first two cells in the first row of a 3×3 table and right-click
12271 Now choose for this cell
12280 \begin_inset space \thinspace{}
12283 cm in the table dialog.
12284 The merged columns should have exactly half the width of the multicolumn
12285 cell, so that you would set a width of 1.25
12286 \begin_inset space \thinspace{}
12289 cm for the first column.
12290 The second column has then automatically a width of 1.25
12291 \begin_inset space \thinspace{}
12294 cm (multicolumn width - width of first column).
12295 This was done for Table
12296 \begin_inset space ~
12300 \begin_inset CommandInset ref
12302 reference "tab:Table-without-half"
12309 \begin_layout Standard
12310 \begin_inset Float table
12317 \begin_layout Plain Layout
12318 \begin_inset Caption Standard
12320 \begin_layout Plain Layout
12321 \begin_inset CommandInset label
12323 name "tab:Table-without-half"
12327 Table where the spanned table columns are not exactly half the width of
12328 the multicolumn cell
12329 \begin_inset Argument 1
12332 \begin_layout Plain Layout
12333 Imperfect multicolumn table
12346 \begin_layout Plain Layout
12348 \begin_inset Tabular
12349 <lyxtabular version="3" rows="3" columns="3">
12350 <features tabularvalignment="middle">
12351 <column alignment="center" valignment="top" width="1.25cm">
12352 <column alignment="center" valignment="top">
12353 <column alignment="center" valignment="top">
12355 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12358 \begin_layout Plain Layout
12359 multiple lines multicolumn
12364 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12367 \begin_layout Plain Layout
12373 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12376 \begin_layout Plain Layout
12384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12387 \begin_layout Plain Layout
12393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12396 \begin_layout Plain Layout
12402 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12405 \begin_layout Plain Layout
12413 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12416 \begin_layout Plain Layout
12422 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12425 \begin_layout Plain Layout
12431 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12434 \begin_layout Plain Layout
12453 \begin_layout Standard
12454 You can see that the first column is not half the width of the multicolumn
12455 cell, it is a bit bigger.
12456 The reason is that the specified width of a cell
12457 \begin_inset Formula $W_{g}$
12460 is not its total width
12461 \begin_inset Formula $W_{\mathrm{tot}}$
12464 because a cell is always a bit larger than specified.
12466 \begin_inset space ~
12470 \begin_inset CommandInset ref
12472 reference "cha:Explanation-of-Equation"
12476 explains this in detail.
12479 \begin_layout Standard
12481 \begin_inset Formula $W_{g\,n}$
12484 which the user needs to set when
12488 columns are spanned can be calculated, so that each column has a total
12490 \begin_inset Formula $W_{\mathrm{tot\,multicolumn}}/n$
12494 \begin_inset Formula
12496 W_{g\,n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
12504 \begin_layout Standard
12505 In our case we have
12506 \begin_inset Formula $n=2$
12510 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
12513 cm and the default values for the lengths, so that equation
12514 \begin_inset CommandInset ref
12521 \begin_inset Formula
12523 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
12531 \begin_layout Standard
12532 To enable calculations in \SpecialChar LaTeX
12533 , the \SpecialChar LaTeX
12538 must be loaded with the document preamble line
12539 \begin_inset Index idx
12542 \begin_layout Plain Layout
12552 \begin_layout Standard
12560 \begin_layout Standard
12562 does not allow you to calculate lengths in the
12566 field of the table dialog.
12567 Therefore you have to format the column by inserting a \SpecialChar LaTeX
12570 Here is an overview about the arguments:
12573 \begin_layout Itemize
12578 creates cell with a fixed width, its text is vertically top-aligned
12581 \begin_layout Itemize
12586 creates cell with a fixed width, its text is vertically centered
12589 \begin_layout Itemize
12594 creates cell with a fixed width, its text is vertically bottom-aligned
12597 \begin_layout Standard
12598 By entering a \SpecialChar LaTeX
12599 -argument, all cell settings set in the table dialog are overwritt
12603 \begin_layout Standard
12604 \begin_inset Note Greyedout
12607 \begin_layout Plain Layout
12612 Due to a bug, \SpecialChar LyX
12613 shows the overwritten settings anyway.
12621 \begin_layout Standard
12622 As the text should be horizontally centered, the command
12629 You can now enter the following \SpecialChar LaTeX
12630 -argument for the first spanned column:
12633 \begin_layout Standard
12638 centering}m{1.25cm-6.2pt}
12641 \begin_layout Standard
12646 means, that the commands inside the braces are applied before the cell
12650 \begin_layout Standard
12651 Although we have chosen centered alignment for the text of the multicolumn
12652 cell, it is still left aligned.
12653 This is because \SpecialChar LyX
12654 only applies the alignment to single columns.
12655 So for the multicolumn cell we have to use the \SpecialChar LaTeX
12659 \begin_layout Standard
12667 \begin_layout Subsection
12669 \begin_inset CommandInset label
12671 name "subsec:Multirows"
12676 \begin_inset Index idx
12679 \begin_layout Plain Layout
12686 \begin_inset Index idx
12689 \begin_layout Plain Layout
12698 \begin_layout Standard
12699 To merge cells over multiple rows, select as many cells within a column
12700 as you want to merge and use either the table-toolbar button
12703 arg "tabular-feature multirow"
12708 Edit\SpecialChar menuseparator
12709 Table\SpecialChar menuseparator
12712 , or right click on the marked cells and choose
12716 in the context menu.
12719 \begin_layout Standard
12720 Here is an example table with a multirow in the first column:
12723 \begin_layout Standard
12725 \begin_inset Tabular
12726 <lyxtabular version="3" rows="3" columns="3">
12727 <features tabularvalignment="middle">
12728 <column alignment="center" valignment="top" width="0pt">
12729 <column alignment="center" valignment="top">
12730 <column alignment="center" valignment="top">
12732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12735 \begin_layout Plain Layout
12741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12744 \begin_layout Plain Layout
12750 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12753 \begin_layout Plain Layout
12761 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12764 \begin_layout Plain Layout
12770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12773 \begin_layout Plain Layout
12779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12782 \begin_layout Plain Layout
12790 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12793 \begin_layout Plain Layout
12799 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12802 \begin_layout Plain Layout
12808 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12811 \begin_layout Plain Layout
12825 \begin_layout Standard
12826 The width of multirow cells is set by setting the width and alignment for
12832 shifts the content of the multirow up/down if the offset is positive/negative.
12835 \begin_layout Standard
12836 If the column of a multirow cell has no explicit width, the multirow cell
12837 inherits the alignment of the column.
12838 Otherwise it is by default left-aligned.
12839 To override the default, renew the command
12848 \begin_layout Standard
12860 \begin_layout Standard
12861 in the document preamble.
12862 Then all entries of multirow cells in the document are centered.
12863 If centering is only needed for several tables, you can renew the command
12864 in a \SpecialChar TeX
12865 Code box just before the table instead of the preamble.
12866 If the text should be right-aligned, replace
12879 To return to left-alignment
12888 \begin_layout Standard
12889 This is an example table with a right-aligned multirow cell that has a vertical
12891 \begin_inset space \thinspace{}
12895 \begin_inset space \thinspace{}
12901 \begin_layout Standard
12907 \begin_layout Plain Layout
12921 \begin_inset Tabular
12922 <lyxtabular version="3" rows="4" columns="3">
12923 <features tabularvalignment="middle">
12924 <column alignment="center" valignment="top" width="3cm">
12925 <column alignment="center" valignment="top">
12926 <column alignment="center" valignment="top">
12928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12931 \begin_layout Plain Layout
12937 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12940 \begin_layout Plain Layout
12946 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12949 \begin_layout Plain Layout
12957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12960 \begin_layout Plain Layout
12966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12969 \begin_layout Plain Layout
12975 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12978 \begin_layout Plain Layout
12986 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12989 \begin_layout Plain Layout
12995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12998 \begin_layout Plain Layout
13004 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13007 \begin_layout Plain Layout
13015 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13018 \begin_layout Plain Layout
13024 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13027 \begin_layout Plain Layout
13033 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13036 \begin_layout Plain Layout
13051 \begin_layout Plain Layout
13067 \begin_layout Standard
13068 To start a new line in a multirow you can use a forced line break (shortcut
13072 arg "newline-insert newline"
13075 ) but this will not respect the cell lines as demonstrated in this table:
13078 \begin_layout Standard
13081 \begin_inset Tabular
13082 <lyxtabular version="3" rows="3" columns="2">
13083 <features tabularvalignment="middle">
13084 <column alignment="left" valignment="middle" width="2cm">
13085 <column alignment="center" valignment="top">
13087 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
13090 \begin_layout Plain Layout
13092 \begin_inset Newline newline
13096 \begin_inset Newline newline
13104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13107 \begin_layout Plain Layout
13115 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
13118 \begin_layout Plain Layout
13124 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13127 \begin_layout Plain Layout
13135 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13138 \begin_layout Plain Layout
13144 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13147 \begin_layout Plain Layout
13161 \begin_layout Standard
13162 Therefore be careful with forced line breaks.
13165 \begin_layout Subsection
13166 Cells with diagonal line(s)
13169 \begin_layout Standard
13170 To tell the reader what is meant by column and row headings in a table,
13171 it is helpful to split the first cell of the table by one or two diagonal
13173 This can be achieved by loading the \SpecialChar LaTeX
13179 \begin_inset Index idx
13182 \begin_layout Plain Layout
13184 -packages ! picinpar
13189 in the document preamble.
13190 The package provides the command
13196 that is inserted as \SpecialChar TeX
13197 Code and that can take 2 or 3
13198 \begin_inset space ~
13204 \begin_layout Standard
13209 diagbox[options]{lower left}{upper right}
13212 \begin_layout Standard
13217 diagbox[options]{lower left}{upper left}{upper right}
13220 \begin_layout Standard
13221 The first scheme divides the cell by a single diagonal line and the arguments
13222 are placed below and above this line.
13223 The second scheme divides the cell by 2
13224 \begin_inset space ~
13230 \begin_layout Standard
13234 \begin_layout Plain Layout
13244 \begin_inset Note Note
13247 \begin_layout Plain Layout
13248 The following section will only be displayed when the \SpecialChar LaTeX
13261 \begin_layout Standard
13262 Here is an example table where
13268 is used in the 2-argument scheme in the first cell:
13269 \begin_inset VSpace medskip
13275 \begin_layout Standard
13277 \begin_inset Tabular
13278 <lyxtabular version="3" rows="4" columns="4">
13279 <features tabularvalignment="middle">
13280 <column alignment="center" valignment="top">
13281 <column alignment="center" valignment="top">
13282 <column alignment="center" valignment="top">
13283 <column alignment="center" valignment="top">
13285 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13288 \begin_layout Plain Layout
13292 \begin_layout Plain Layout
13305 \begin_layout Plain Layout
13316 \begin_layout Plain Layout
13328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13331 \begin_layout Plain Layout
13337 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13340 \begin_layout Plain Layout
13346 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13349 \begin_layout Plain Layout
13357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13360 \begin_layout Plain Layout
13366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13369 \begin_layout Plain Layout
13375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13378 \begin_layout Plain Layout
13384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13387 \begin_layout Plain Layout
13395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13398 \begin_layout Plain Layout
13404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13407 \begin_layout Plain Layout
13413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13416 \begin_layout Plain Layout
13422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13425 \begin_layout Plain Layout
13433 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13436 \begin_layout Plain Layout
13442 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13445 \begin_layout Plain Layout
13451 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13454 \begin_layout Plain Layout
13460 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13463 \begin_layout Plain Layout
13475 \begin_inset VSpace medskip
13481 \begin_layout Standard
13482 The 3-argument scheme is for example useful for cross-tables of sports leagues
13486 \begin_layout Standard
13489 \begin_inset Tabular
13490 <lyxtabular version="3" rows="4" columns="4">
13491 <features tabularvalignment="middle">
13492 <column alignment="center" valignment="top" width="0pt">
13493 <column alignment="center" valignment="top">
13494 <column alignment="center" valignment="top">
13495 <column alignment="center" valignment="top">
13497 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13500 \begin_layout Plain Layout
13504 \begin_layout Plain Layout
13517 \begin_layout Plain Layout
13528 \begin_layout Plain Layout
13539 \begin_layout Plain Layout
13551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13554 \begin_layout Plain Layout
13560 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13563 \begin_layout Plain Layout
13569 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13572 \begin_layout Plain Layout
13580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13583 \begin_layout Plain Layout
13589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13592 \begin_layout Plain Layout
13598 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13601 \begin_layout Plain Layout
13607 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13610 \begin_layout Plain Layout
13618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13621 \begin_layout Plain Layout
13627 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13630 \begin_layout Plain Layout
13636 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13639 \begin_layout Plain Layout
13645 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13648 \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" usebox="none">
13668 \begin_layout Plain Layout
13674 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13677 \begin_layout Plain Layout
13683 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13686 \begin_layout Plain Layout
13700 \begin_layout Standard
13701 For larger cross-tables one might use split cells in 2 or every corner of
13702 the table like in this example:
13705 \begin_layout Standard
13708 \begin_inset Tabular
13709 <lyxtabular version="3" rows="5" columns="5">
13710 <features tabularvalignment="middle">
13711 <column alignment="center" valignment="top" width="0pt">
13712 <column alignment="center" valignment="top">
13713 <column alignment="center" valignment="top">
13714 <column alignment="center" valignment="top">
13715 <column alignment="center" valignment="top">
13717 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13720 \begin_layout Plain Layout
13724 \begin_layout Plain Layout
13737 \begin_layout Plain Layout
13748 \begin_layout Plain Layout
13759 \begin_layout Plain Layout
13771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13774 \begin_layout Plain Layout
13780 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13783 \begin_layout Plain Layout
13789 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13792 \begin_layout Plain Layout
13798 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13801 \begin_layout Plain Layout
13805 \begin_layout Plain Layout
13818 \begin_layout Plain Layout
13829 \begin_layout Plain Layout
13840 \begin_layout Plain Layout
13854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13857 \begin_layout Plain Layout
13863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13866 \begin_layout Plain Layout
13872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13875 \begin_layout Plain Layout
13881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13884 \begin_layout Plain Layout
13890 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13893 \begin_layout Plain Layout
13901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13904 \begin_layout Plain Layout
13910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13913 \begin_layout Plain Layout
13919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13922 \begin_layout Plain Layout
13928 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13931 \begin_layout Plain Layout
13937 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13940 \begin_layout Plain Layout
13948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13951 \begin_layout Plain Layout
13957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13960 \begin_layout Plain Layout
13966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13969 \begin_layout Plain Layout
13975 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13978 \begin_layout Plain Layout
13984 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13987 \begin_layout Plain Layout
13995 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13998 \begin_layout Plain Layout
14002 \begin_layout Plain Layout
14015 \begin_layout Plain Layout
14026 \begin_layout Plain Layout
14037 \begin_layout Plain Layout
14049 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14052 \begin_layout Plain Layout
14058 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14061 \begin_layout Plain Layout
14067 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14070 \begin_layout Plain Layout
14076 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
14079 \begin_layout Plain Layout
14083 \begin_layout Plain Layout
14096 \begin_layout Plain Layout
14107 \begin_layout Plain Layout
14118 \begin_layout Plain Layout
14138 \begin_layout Standard
14139 To rotate the diagonal lines, the command option
14164 and represent a point of a compass.
14169 is for example the south-west corner.
14170 Thus in the lower left cell of the above table the command
14173 \begin_layout Standard
14178 diagbox[dir=SW]{Team home}{Result}{Team away}
14181 \begin_layout Standard
14183 If no direction is given, it will be NW.
14186 \begin_layout Standard
14187 The necessary width of split cells is automatically calculated.
14188 Thus if you set a fixed column width smaller than the calculated one, the
14189 cell's content will protrude the cell borders:
14192 \begin_layout Standard
14195 \begin_inset Tabular
14196 <lyxtabular version="3" rows="2" columns="2">
14197 <features tabularvalignment="middle">
14198 <column alignment="center" valignment="top" width="3cm">
14199 <column alignment="center" valignment="top">
14201 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14204 \begin_layout Plain Layout
14208 \begin_layout Plain Layout
14221 \begin_layout Plain Layout
14232 \begin_layout Plain Layout
14244 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14247 \begin_layout Plain Layout
14255 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14258 \begin_layout Plain Layout
14264 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14267 \begin_layout Plain Layout
14281 \begin_layout Standard
14282 If you need a certain width for columns with a split cell, use the command
14287 (replace '3cm' by the width you need).
14288 In the following table the width of the first column is set to 4
14289 \begin_inset space \thinspace{}
14300 \begin_inset space \thinspace{}
14304 \begin_inset space \thinspace{}
14309 tabcolsep is necessary because the overall width is the width for the text
14310 (in this case the 4
14311 \begin_inset space \thinspace{}
14314 cm) plus two times the separation of the text and the cell border.
14315 The calculation of the width cannot be done in the command option of
14321 so one needs to create a new length which can be used later.
14322 This is done with the \SpecialChar TeX
14326 \begin_layout Standard
14334 \begin_inset Newline newline
14346 \begin_layout Standard
14350 \begin_layout Plain Layout
14359 \begin_layout Plain Layout
14375 \begin_layout Standard
14376 To enable calculations in \SpecialChar LaTeX
14377 one needs to load the package
14382 \begin_inset Index idx
14385 \begin_layout Plain Layout
14392 in the document preamble.
14395 \begin_layout Standard
14396 In this table you can now use the command
14399 \begin_layout Standard
14409 \begin_layout Standard
14413 \begin_layout Standard
14416 \begin_inset Tabular
14417 <lyxtabular version="3" rows="2" columns="2">
14418 <features tabularvalignment="middle">
14419 <column alignment="center" valignment="top" width="4cm">
14420 <column alignment="center" valignment="top">
14422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14425 \begin_layout Plain Layout
14429 \begin_layout Plain Layout
14444 \begin_layout Plain Layout
14455 \begin_layout Plain Layout
14467 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14470 \begin_layout Plain Layout
14478 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14481 \begin_layout Plain Layout
14487 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14490 \begin_layout Plain Layout
14504 \begin_layout Standard
14505 Note that the split cell needs to be the widest one in the column.
14506 Otherwise the length of the diagonal line cannot be calculated correctly
14507 like in this table:
14510 \begin_layout Standard
14513 \begin_inset Tabular
14514 <lyxtabular version="3" rows="2" columns="2">
14515 <features tabularvalignment="middle">
14516 <column alignment="center" valignment="top" width="0pt">
14517 <column alignment="center" valignment="top">
14519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14522 \begin_layout Plain Layout
14526 \begin_layout Plain Layout
14539 \begin_layout Plain Layout
14550 \begin_layout Plain Layout
14562 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14565 \begin_layout Plain Layout
14573 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14576 \begin_layout Plain Layout
14582 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14585 \begin_layout Plain Layout
14599 \begin_layout Standard
14600 In this case use the
14611 It is then not necessary to add 2
14613 tabcolsep because the cell width is now the width of the column.
14614 In this table a width of 3
14615 \begin_inset space \thinspace{}
14621 \begin_layout Standard
14624 \begin_inset Tabular
14625 <lyxtabular version="3" rows="2" columns="2">
14626 <features tabularvalignment="middle">
14627 <column alignment="center" valignment="top" width="0pt">
14628 <column alignment="center" valignment="top">
14630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14633 \begin_layout Plain Layout
14637 \begin_layout Plain Layout
14641 diagbox[width=3cm]{
14650 \begin_layout Plain Layout
14661 \begin_layout Plain Layout
14673 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14676 \begin_layout Plain Layout
14684 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14687 \begin_layout Plain Layout
14693 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14696 \begin_layout Plain Layout
14710 \begin_layout Standard
14711 For multiple text lines in split cells one needs some extra height to fit
14712 the text to the cell.
14713 This can be achieved with the
14723 (replace '3cm' by the height you need).
14724 In the following table the command
14727 \begin_layout Standard
14732 diagbox[width=3cm,height=1.4cm]{A
14743 \begin_layout Standard
14744 is used in the first cell.
14753 creates hereby the line break.
14757 \begin_layout Plain Layout
14758 Breaking lines with
14762 is only possible when the column has a fixed width.
14770 \begin_layout Standard
14773 \begin_inset Tabular
14774 <lyxtabular version="3" rows="2" columns="2">
14775 <features tabularvalignment="middle">
14776 <column alignment="center" valignment="top">
14777 <column alignment="center" valignment="top">
14779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14782 \begin_layout Plain Layout
14786 \begin_layout Plain Layout
14790 diagbox[width=3cm,height=1.4cm]{
14799 \begin_layout Plain Layout
14814 \begin_layout Plain Layout
14825 \begin_layout Plain Layout
14840 \begin_layout Plain Layout
14852 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14855 \begin_layout Plain Layout
14863 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14866 \begin_layout Plain Layout
14872 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14875 \begin_layout Plain Layout
14889 \begin_layout Standard
14893 \begin_layout Plain Layout
14903 \begin_inset Note Note
14906 \begin_layout Plain Layout
14907 The following will be displayed when the \SpecialChar LaTeX
14920 \begin_layout Standard
14921 You need to install the \SpecialChar LaTeX
14926 to see the following part of this section in the output.
14929 \begin_layout Standard
14933 \begin_layout Plain Layout
14945 \begin_layout Standard
14946 For more info about the \SpecialChar LaTeX
14951 , see its documentation,
14952 \begin_inset CommandInset citation
14962 \begin_layout Section
14964 \begin_inset CommandInset label
14966 name "sec:Formal-Tables"
14971 \begin_inset Index idx
14974 \begin_layout Plain Layout
14983 \begin_layout Standard
14984 Tables are often typeset in books similar to Table
14985 \begin_inset space ~
14989 \begin_inset CommandInset ref
14991 reference "tab:Example-booktabs-table"
14996 This kind of tables is called
14997 \begin_inset Quotes eld
15005 \begin_inset Quotes erd
15009 To make a table a formal table
15010 \change_inserted -712698321 1554290084
15011 , select the table style
15012 \begin_inset Quotes eld
15016 \change_deleted 630872221 1622707670
15018 \change_inserted 630872221 1622707670
15021 \change_inserted -712698321 1554290084
15023 \begin_inset Quotes erd
15026 in the Table Creation dialog or
15036 tab of the table dialog
15037 \change_inserted -712698321 1554290131
15038 (if you additionally check the option
15040 Use Default Formal Style
15042 , the border lines are adapted to a sensible default)
15047 \begin_layout Standard
15048 \begin_inset Float table
15055 \begin_layout Plain Layout
15056 \begin_inset Caption Standard
15058 \begin_layout Plain Layout
15059 \begin_inset CommandInset label
15061 name "tab:Example-booktabs-table"
15066 \change_deleted -712698321 1554292310
15068 \change_inserted -712698321 1554292311
15079 \begin_layout Plain Layout
15081 \begin_inset Tabular
15082 <lyxtabular version="3" rows="8" columns="4">
15083 <features booktabs="true" tabularvalignment="middle">
15084 <column alignment="center" valignment="top">
15085 <column alignment="center" valignment="top" width="0pt">
15086 <column alignment="center" valignment="top" width="0pt">
15087 <column alignment="center" valignment="top">
15089 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15092 \begin_layout Plain Layout
15098 <cell alignment="center" valignment="top" topline="true" usebox="none">
15101 \begin_layout Plain Layout
15103 \begin_inset space \thinspace{}
15111 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
15114 \begin_layout Plain Layout
15116 \begin_inset space \thinspace{}
15124 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15127 \begin_layout Plain Layout
15135 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15138 \begin_layout Plain Layout
15140 \change_deleted -712698321 1554290161
15144 \begin_layout Plain Layout
15157 \begin_layout Plain Layout
15168 Detector thickness in µm
15173 <cell alignment="center" valignment="top" usebox="none">
15176 \begin_layout Plain Layout
15182 <cell alignment="center" valignment="top" usebox="none">
15185 \begin_layout Plain Layout
15191 <cell alignment="center" valignment="top" usebox="none">
15194 \begin_layout Plain Layout
15202 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
15205 \begin_layout Plain Layout
15211 <cell alignment="center" valignment="top" topline="true" toplinertrim="true" usebox="none">
15214 \begin_layout Plain Layout
15220 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
15223 \begin_layout Plain Layout
15229 <cell alignment="center" valignment="top" topline="true" usebox="none">
15232 \begin_layout Plain Layout
15239 <row topspace="default">
15240 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15243 \begin_layout Plain Layout
15244 Spatial resolution in µm
15249 <cell alignment="center" valignment="top" usebox="none">
15252 \begin_layout Plain Layout
15258 <cell alignment="center" valignment="top" usebox="none">
15261 \begin_layout Plain Layout
15267 <cell alignment="center" valignment="top" usebox="none">
15270 \begin_layout Plain Layout
15277 <row topspace="default">
15278 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15281 \begin_layout Plain Layout
15283 \begin_inset Formula $f_{\mathrm{max}}$
15291 <cell alignment="center" valignment="top" usebox="none">
15294 \begin_layout Plain Layout
15300 <cell alignment="center" valignment="top" usebox="none">
15303 \begin_layout Plain Layout
15309 <cell alignment="center" valignment="top" usebox="none">
15312 \begin_layout Plain Layout
15319 <row topspace="default">
15320 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15323 \begin_layout Plain Layout
15325 \change_deleted -712698321 1554290260
15329 \begin_layout Plain Layout
15333 cmidrule[2pt](l{10pt}){1-1}
15340 LSF-spatial resolution
15345 <cell alignment="center" valignment="top" usebox="none">
15348 \begin_layout Plain Layout
15354 <cell alignment="center" valignment="top" usebox="none">
15357 \begin_layout Plain Layout
15363 <cell alignment="center" valignment="top" usebox="none">
15366 \begin_layout Plain Layout
15374 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15377 \begin_layout Plain Layout
15383 <cell alignment="center" valignment="top" usebox="none">
15386 \begin_layout Plain Layout
15392 <cell alignment="center" valignment="top" usebox="none">
15395 \begin_layout Plain Layout
15401 <cell alignment="center" valignment="top" usebox="none">
15404 \begin_layout Plain Layout
15412 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15415 \begin_layout Plain Layout
15421 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15424 \begin_layout Plain Layout
15430 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15433 \begin_layout Plain Layout
15439 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15442 \begin_layout Plain Layout
15461 \begin_layout Standard
15462 Spaces to table rows can be added using the
15466 tab of the table dialog as described in section
15467 \begin_inset space ~
15471 \begin_inset CommandInset ref
15473 reference "subsec:Row-Spacing"
15480 \begin_layout Standard
15481 Unlike normal tables, formal tables have no vertical table lines.
15482 The horizontal table lines can be set as for normal tables but they appear
15483 with different widths in the output:
15484 \begin_inset Newline newline
15487 The first and the last table line have a default width of 0.08
15488 \begin_inset space \thinspace{}
15491 em while the other lines have a default width of 0.05
15492 \begin_inset space \thinspace{}
15498 \begin_layout Standard
15499 The default widths can be changed with the following preamble lines
15502 \begin_layout Standard
15512 \begin_inset Newline newline
15524 \begin_layout Standard
15525 This example is for the first line, the so called
15530 If you want to change the width for the last line, replace
15539 To change the width for the other lines replace
15548 You can use all units listed in appendix
15549 \begin_inset space ~
15553 \begin_inset CommandInset ref
15555 reference "cha:Units-available-in"
15562 \begin_layout Standard
15564 \change_deleted -712698321 1554290929
15565 Lines that do not span all table columns can be created by setting a table
15566 line for multicolumn cells.
15568 will then internally use the command
15574 to create this line.
15576 \change_inserted -712698321 1554291959
15578 \begin_inset space ~
15582 \begin_inset CommandInset ref
15584 reference "tab:Example-booktabs-table"
15588 , formal tables often use shortened lines to group columns.
15589 This can be done in the borders widget of the table dialog.
15590 With formal tables, the top and bottom borders have to small offset lines
15591 to the left and the right.
15592 Clicking on these will trim the line respectively.
15597 \begin_layout Standard
15599 \change_inserted -712698321 1554291403
15600 If you need to adjust the length of the trimming or the height of the rules,
15601 you have to resort to \SpecialChar TeX
15603 The respective command (which is also used for the trimmed mid rules) is
15609 \begin_layout Standard
15614 cmidrule[height](trim){startcol-endcol}
15617 \begin_layout Standard
15619 \change_deleted -712698321 1554292020
15626 are currently not supported by \SpecialChar LyX
15627 so you have to use \SpecialChar TeX
15636 s can manually be created by inserting the command as \SpecialChar TeX
15638 cell entry of the first cell of a row.
15639 The line is then drawn in the output above the current row.
15644 \begin_layout Standard
15645 The default for the optional
15650 \begin_inset space \thinspace{}
15658 is the number of the column where the line starts and
15662 the column number where the line ends.
15667 always needs to be specified, also when the line should span only one column.
15668 The optional parameter
15685 Using for example the parameter
15689 means that the line is trimmed from its left end by 2
15690 \begin_inset space \thinspace{}
15694 If you don't specify the
15698 the line is trimmed by the default of 0.5
15699 \begin_inset space \thinspace{}
15703 \change_inserted -712698321 1554291561
15704 (this is what is done if you use trimming from the dialog)
15707 \change_inserted -712698321 1554292039
15711 \begin_layout Standard
15713 \change_inserted -712698321 1554292207
15724 is currently not supported by \SpecialChar LyX
15725 , and neither are the
15730 If you need this you can manually insert a
15736 with the respective settings as \SpecialChar TeX
15737 Code as the first cell entry of the first
15739 The line is then drawn in the output above the current row.
15741 \begin_inset space ~
15745 \begin_inset CommandInset ref
15747 reference "tab:Special-booktabs-table"
15751 exemplifies this (in the sixth row).
15756 \begin_layout Standard
15758 \change_deleted -712698321 1554291078
15759 \begin_inset VSpace bigskip
15763 \begin_inset space ~
15767 \begin_inset CommandInset ref
15769 reference "tab:Example-booktabs-table"
15773 was created using the commands
15776 \begin_layout Standard
15778 \change_deleted -712698321 1554291077
15788 \begin_layout Standard
15790 \change_deleted -712698321 1554291077
15791 at the beginning of the second row and
15794 \begin_layout Standard
15796 \change_deleted -712698321 1554291077
15801 cmidrule[2pt](l{10pt}){1-1}
15804 \begin_layout Standard
15806 \change_deleted -712698321 1554291077
15812 \begin_layout Standard
15814 \change_deleted -712698321 1554292212
15815 \begin_inset VSpace bigskip
15823 \begin_layout Standard
15825 \change_inserted -712698321 1554291573
15828 might want to have overlapping
15835 \change_deleted -712698321 1554296804
15837 \change_inserted -712698321 1554296808
15838 exemplified as well
15841 \begin_inset space ~
15845 \begin_inset CommandInset ref
15847 reference "tab:Special-booktabs-table"
15852 \change_inserted -712698321 1554291601
15853 , even though this is considered bad style (so only use it if you really
15857 This can be achieved with the \SpecialChar TeX
15861 \begin_layout Standard
15869 \begin_layout Standard
15870 The command that was used for the second row of Table
15871 \begin_inset space ~
15875 \begin_inset CommandInset ref
15877 reference "tab:Special-booktabs-table"
15884 \begin_layout Standard
15886 \change_deleted -712698321 1554291798
15902 \begin_layout Standard
15903 The command for the sixth row is
15906 \begin_layout Standard
15908 \change_deleted -712698321 1554291810
15922 \begin_layout Standard
15923 \begin_inset VSpace bigskip
15929 \begin_layout Standard
15930 If you are in any way not satisfied with the border line spacing, you can
15931 use the following command to produce lines that span over all table columns
15936 \begin_layout Standard
15941 specialrule{width}{space above}{space below}
15944 \begin_layout Standard
15945 For more information about these features, refer to the manual of the \SpecialChar LaTeX
15952 \begin_inset CommandInset citation
15960 \begin_inset Index idx
15963 \begin_layout Plain Layout
15965 -packages ! booktabs
15973 \begin_layout Standard
15974 \begin_inset Float table
15981 \begin_layout Plain Layout
15982 \begin_inset Caption Standard
15984 \begin_layout Plain Layout
15985 \begin_inset CommandInset label
15987 name "tab:Special-booktabs-table"
15992 \change_inserted -712698321 1554292295
15994 \change_deleted -712698321 1554292304
15996 \change_inserted -712698321 1554292305
15998 \change_deleted -712698321 1554292300
16009 \begin_layout Plain Layout
16011 \begin_inset Tabular
16012 <lyxtabular version="3" rows="8" columns="4">
16013 <features booktabs="true" tabularvalignment="middle">
16014 <column alignment="center" valignment="top">
16015 <column alignment="center" valignment="top" width="0pt">
16016 <column alignment="center" valignment="top" width="0pt">
16017 <column alignment="center" valignment="top" width="0pt">
16019 <cell alignment="center" valignment="top" topline="true" usebox="none">
16022 \begin_layout Plain Layout
16028 <cell alignment="center" valignment="top" topline="true" bottomline="true" bottomlinertrim="true" usebox="none">
16031 \begin_layout Plain Layout
16033 \begin_inset space \thinspace{}
16041 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
16044 \begin_layout Plain Layout
16046 \begin_inset space \thinspace{}
16054 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16057 \begin_layout Plain Layout
16065 <cell alignment="center" valignment="top" usebox="none">
16068 \begin_layout Plain Layout
16070 \change_deleted -712698321 1554291732
16074 \begin_layout Plain Layout
16087 \begin_layout Plain Layout
16102 \begin_layout Plain Layout
16115 \begin_layout Plain Layout
16124 Detector thickness in µm
16129 <cell alignment="center" valignment="top" usebox="none">
16132 \begin_layout Plain Layout
16138 <cell alignment="center" valignment="top" topline="true" toplineltrim="true" usebox="none">
16141 \begin_layout Plain Layout
16147 <cell alignment="center" valignment="top" topline="true" usebox="none">
16150 \begin_layout Plain Layout
16158 <cell alignment="center" valignment="top" topline="true" usebox="none">
16161 \begin_layout Plain Layout
16167 <cell alignment="center" valignment="top" topline="true" usebox="none">
16170 \begin_layout Plain Layout
16176 <cell alignment="center" valignment="top" topline="true" usebox="none">
16179 \begin_layout Plain Layout
16185 <cell alignment="center" valignment="top" topline="true" usebox="none">
16188 \begin_layout Plain Layout
16195 <row topspace="default">
16196 <cell alignment="center" valignment="top" usebox="none">
16199 \begin_layout Plain Layout
16200 Spatial resolution in µm
16205 <cell alignment="center" valignment="top" usebox="none">
16208 \begin_layout Plain Layout
16214 <cell alignment="center" valignment="top" usebox="none">
16217 \begin_layout Plain Layout
16223 <cell alignment="center" valignment="top" usebox="none">
16226 \begin_layout Plain Layout
16233 <row topspace="default">
16234 <cell alignment="center" valignment="top" usebox="none">
16237 \begin_layout Plain Layout
16239 \begin_inset Formula $f_{\mathrm{max}}$
16247 <cell alignment="center" valignment="top" usebox="none">
16250 \begin_layout Plain Layout
16256 <cell alignment="center" valignment="top" usebox="none">
16259 \begin_layout Plain Layout
16265 <cell alignment="center" valignment="top" usebox="none">
16268 \begin_layout Plain Layout
16276 <cell alignment="center" valignment="top" topline="true" usebox="none">
16279 \begin_layout Plain Layout
16283 \begin_layout Plain Layout
16296 \begin_layout Plain Layout
16301 \change_inserted -712698321 1554291896
16309 LSF-spatial resolution
16314 <cell alignment="center" valignment="top" topline="true" usebox="none">
16317 \begin_layout Plain Layout
16323 <cell alignment="center" valignment="top" topline="true" usebox="none">
16326 \begin_layout Plain Layout
16332 <cell alignment="center" valignment="top" topline="true" usebox="none">
16335 \begin_layout Plain Layout
16343 <cell alignment="center" valignment="top" usebox="none">
16346 \begin_layout Plain Layout
16352 <cell alignment="center" valignment="top" usebox="none">
16355 \begin_layout Plain Layout
16361 <cell alignment="center" valignment="top" usebox="none">
16364 \begin_layout Plain Layout
16370 <cell alignment="center" valignment="top" usebox="none">
16373 \begin_layout Plain Layout
16381 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16384 \begin_layout Plain Layout
16390 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16393 \begin_layout Plain Layout
16399 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16402 \begin_layout Plain Layout
16408 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
16411 \begin_layout Plain Layout
16430 \begin_layout Section
16431 Vertical Table Alignment
16432 \begin_inset Index idx
16435 \begin_layout Plain Layout
16444 \begin_layout Standard
16445 To align tables vertically in a text line, the table must be inside a box.
16446 The box can then be vertically aligned as described in section
16447 \begin_inset space ~
16451 \begin_inset CommandInset ref
16453 reference "sec:Box-Dialog"
16460 \begin_layout Standard
16461 In the following example the tables are inside a minipage
16465 \begin_layout Plain Layout
16466 Minipages are described in section
16467 \begin_inset space ~
16471 \begin_inset CommandInset ref
16473 reference "sec:Minipages"
16482 box that has a width of 15
16483 \begin_inset space \thinspace{}
16489 \begin_layout Itemize
16491 \begin_inset Box Frameless
16501 height_special "totalheight"
16506 backgroundcolor "none"
16509 \begin_layout Plain Layout
16510 \begin_inset Tabular
16511 <lyxtabular version="3" rows="3" columns="3">
16512 <features tabularvalignment="middle">
16513 <column alignment="center" valignment="top">
16514 <column alignment="center" valignment="top">
16515 <column alignment="center" valignment="top">
16517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16520 \begin_layout Plain Layout
16526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16529 \begin_layout Plain Layout
16535 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16538 \begin_layout Plain Layout
16546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16549 \begin_layout Plain Layout
16555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16558 \begin_layout Plain Layout
16564 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16567 \begin_layout Plain Layout
16575 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16578 \begin_layout Plain Layout
16584 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16587 \begin_layout Plain Layout
16593 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16596 \begin_layout Plain Layout
16616 \begin_layout Plain Layout
16628 \begin_inset Box Frameless
16638 height_special "totalheight"
16643 backgroundcolor "none"
16646 \begin_layout Plain Layout
16647 \begin_inset Tabular
16648 <lyxtabular version="3" rows="3" columns="3">
16649 <features tabularvalignment="middle">
16650 <column alignment="center" valignment="top">
16651 <column alignment="center" valignment="top">
16652 <column alignment="center" valignment="top">
16654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16657 \begin_layout Plain Layout
16663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16666 \begin_layout Plain Layout
16672 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16675 \begin_layout Plain Layout
16683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16686 \begin_layout Plain Layout
16692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16695 \begin_layout Plain Layout
16701 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16704 \begin_layout Plain Layout
16712 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16715 \begin_layout Plain Layout
16721 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16724 \begin_layout Plain Layout
16730 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16733 \begin_layout Plain Layout
16753 \begin_layout Plain Layout
16763 \begin_layout Itemize
16765 \begin_inset Box Frameless
16775 height_special "totalheight"
16780 backgroundcolor "none"
16783 \begin_layout Plain Layout
16784 \begin_inset Tabular
16785 <lyxtabular version="3" rows="3" columns="3">
16786 <features tabularvalignment="middle">
16787 <column alignment="center" valignment="top">
16788 <column alignment="center" valignment="top">
16789 <column alignment="center" valignment="top">
16791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16794 \begin_layout Plain Layout
16800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16803 \begin_layout Plain Layout
16809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16812 \begin_layout Plain Layout
16820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16823 \begin_layout Plain Layout
16829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16832 \begin_layout Plain Layout
16838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16841 \begin_layout Plain Layout
16849 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16852 \begin_layout Plain Layout
16858 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16861 \begin_layout Plain Layout
16867 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16870 \begin_layout Plain Layout
16889 \begin_layout Itemize
16891 \begin_inset Box Frameless
16901 height_special "totalheight"
16906 backgroundcolor "none"
16909 \begin_layout Plain Layout
16910 \begin_inset Tabular
16911 <lyxtabular version="3" rows="3" columns="3">
16912 <features tabularvalignment="middle">
16913 <column alignment="center" valignment="top">
16914 <column alignment="center" valignment="top">
16915 <column alignment="center" valignment="top">
16917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16920 \begin_layout Plain Layout
16926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16929 \begin_layout Plain Layout
16935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16938 \begin_layout Plain Layout
16946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16949 \begin_layout Plain Layout
16955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16958 \begin_layout Plain Layout
16964 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16967 \begin_layout Plain Layout
16975 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16978 \begin_layout Plain Layout
16984 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16987 \begin_layout Plain Layout
16993 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16996 \begin_layout Plain Layout
17016 \begin_layout Plain Layout
17028 \begin_inset Box Frameless
17038 height_special "totalheight"
17043 backgroundcolor "none"
17046 \begin_layout Plain Layout
17047 \begin_inset Tabular
17048 <lyxtabular version="3" rows="3" columns="3">
17049 <features tabularvalignment="middle">
17050 <column alignment="center" valignment="top">
17051 <column alignment="center" valignment="top">
17052 <column alignment="center" valignment="top">
17054 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17057 \begin_layout Plain Layout
17063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17066 \begin_layout Plain Layout
17072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17075 \begin_layout Plain Layout
17083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17086 \begin_layout Plain Layout
17092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17095 \begin_layout Plain Layout
17101 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17104 \begin_layout Plain Layout
17112 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17115 \begin_layout Plain Layout
17121 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17124 \begin_layout Plain Layout
17130 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17133 \begin_layout Plain Layout
17153 \begin_layout Plain Layout
17163 \begin_layout Standard
17164 As you will see, the content of the first and last table row is not correctly
17166 To get this alignment, the minipage box must be set into a raisebox.
17170 \begin_layout Plain Layout
17171 Raiseboxes are described in section
17172 \begin_inset space ~
17176 \begin_inset CommandInset ref
17178 reference "subsec:Vertical-Alignment"
17187 In the example above the second table in the first item is aligned using
17188 the \SpecialChar TeX
17192 \begin_layout Standard
17202 \begin_layout Standard
17204 After the box the closing brace
17208 is inserted as \SpecialChar TeX
17210 For the second table in the last item the command
17213 \begin_layout Standard
17223 \begin_layout Standard
17227 \begin_layout Standard
17228 \begin_inset Note Greyedout
17231 \begin_layout Plain Layout
17236 The alignment of the table row content to the surrounding text line is
17238 The required value for the
17244 command for this alignment depends on the document font, the font size,
17245 and the table line thickness.
17253 \begin_layout Section
17255 \begin_inset CommandInset label
17257 name "sec:Colored-Tables"
17262 \begin_inset Index idx
17265 \begin_layout Plain Layout
17274 \begin_layout Subsection
17276 \begin_inset Index idx
17279 \begin_layout Plain Layout
17280 Table Color ! for Cells
17286 \begin_inset Index idx
17289 \begin_layout Plain Layout
17290 Color ! for Table Cells
17298 \begin_layout Standard
17299 \begin_inset Float table
17306 \begin_layout Plain Layout
17307 \begin_inset Caption Standard
17309 \begin_layout Plain Layout
17310 \begin_inset CommandInset label
17312 name "tab:Table-colored-without"
17316 Table colored without using the package
17321 \begin_inset Argument 1
17324 \begin_layout Plain Layout
17325 Table without colortbl
17338 \begin_layout Plain Layout
17340 \begin_inset Tabular
17341 <lyxtabular version="3" rows="3" columns="3">
17342 <features tabularvalignment="middle">
17343 <column alignment="center" valignment="top">
17344 <column alignment="center" valignment="top">
17345 <column alignment="center" valignment="top">
17347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17350 \begin_layout Plain Layout
17358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17361 \begin_layout Plain Layout
17369 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17372 \begin_layout Plain Layout
17382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17385 \begin_layout Plain Layout
17393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17396 \begin_layout Plain Layout
17404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17407 \begin_layout Plain Layout
17417 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17420 \begin_layout Plain Layout
17428 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17431 \begin_layout Plain Layout
17439 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
17442 \begin_layout Plain Layout
17463 \begin_layout Standard
17464 If you only need colored text, mark the cells and choose a color in the
17468 \begin_inset space ~
17473 dialog (toolbar button
17476 arg "dialog-show character"
17480 This was used to create Table
17481 \begin_inset space ~
17485 \begin_inset CommandInset ref
17487 reference "tab:Table-colored-without"
17492 In any other case you have to use the \SpecialChar LaTeX
17498 \begin_inset Index idx
17501 \begin_layout Plain Layout
17503 -packages ! colortbl
17511 \begin_layout Standard
17515 \begin_layout Plain Layout
17525 \begin_inset Note Note
17528 \begin_layout Plain Layout
17529 The following section part will only be displayed when the \SpecialChar LaTeX
17542 \begin_layout Standard
17543 To create colored tables,
17547 must be loaded in the preamble with the line
17550 \begin_layout Standard
17555 usepackage{colortbl}
17558 \begin_layout Standard
17559 The color of a column is adjusted with the command
17562 \begin_layout Standard
17567 columncolor{name of color}
17570 \begin_layout Standard
17576 More about the command
17580 is contained in section
17581 \begin_inset space ~
17585 \begin_inset CommandInset ref
17587 reference "subsec:Multicolumn-Calculations"
17594 \begin_layout Standard
17595 The following color names are predefined:
17598 \begin_layout Standard
17632 \begin_layout Standard
17633 \begin_inset VSpace medskip
17639 \begin_layout Standard
17640 If you add the option
17643 \begin_layout Standard
17649 \begin_layout Standard
17650 to the document class options in the document settings, you can additionally
17652 \begin_inset space ~
17656 These colors are listed in appendix
17657 \begin_inset space ~
17661 \begin_inset CommandInset ref
17663 reference "chap:List-of-dvips-colornames"
17668 One of these colors,
17672 , is used as example in Table
17673 \begin_inset space ~
17677 \begin_inset CommandInset ref
17679 reference "tab:Table-colored-using"
17686 \begin_layout Standard
17687 \begin_inset VSpace medskip
17693 \begin_layout Standard
17694 You can also define your own color with the command
17697 \begin_layout Standard
17702 definecolor{color name}{color model}{color values}
17705 \begin_layout Standard
17706 The color model can be
17709 \begin_layout Labeling
17710 \labelwidthstring 00.00.0000
17711 cmyk: cyan, magenta, yellow, black
17714 \begin_layout Labeling
17715 \labelwidthstring 00.00.0000
17716 rgb: red, green blue
17719 \begin_layout Labeling
17720 \labelwidthstring 00.00.0000
17724 \begin_layout Standard
17725 and the color values are comma separated numbers between 0 and 1 describing
17726 the factor for the corresponding color of the color model.
17729 \begin_layout Standard
17731 \begin_inset space \thinspace{}
17735 \begin_inset space \space{}
17742 " in the preamble with
17745 \begin_layout Standard
17750 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
17753 \begin_layout Standard
17761 \begin_layout Standard
17766 definecolor{lightgray}{gray}{0.8}
17769 \begin_layout Standard
17770 \begin_inset VSpace medskip
17776 \begin_layout Standard
17777 Lines are colored with the command
17780 \begin_layout Standard
17785 rowcolor{name of color}
17788 \begin_layout Standard
17789 and cells are colored with the command
17792 \begin_layout Standard
17797 cellcolor{name of color}
17800 \begin_layout Standard
17801 Both commands are inserted at the beginning of a cell as \SpecialChar TeX
17805 \begin_layout Standard
17806 To color characters in the table, mark the cells and use the
17809 \begin_inset space ~
17815 If a cell contains \SpecialChar TeX
17816 Code mark only the characters, otherwise the colored
17818 Code will cause \SpecialChar LaTeX
17822 \begin_layout Standard
17823 \begin_inset Note Greyedout
17826 \begin_layout Plain Layout
17831 Not all DVI-viewers are able to display self-defined colors.
17839 \begin_layout Standard
17840 \begin_inset VSpace bigskip
17846 \begin_layout Standard
17848 \begin_inset space ~
17852 \begin_inset CommandInset ref
17854 reference "tab:Table-colored-using"
17858 do the following: The color of the first column should be
17866 \begin_layout Standard
17871 columncolor{darkgreen}
17876 \begin_layout Standard
17877 as \SpecialChar LaTeX
17878 -argument for this column.
17879 The first row should be light blue, therefore the \SpecialChar TeX
17883 \begin_layout Standard
17891 \begin_layout Standard
17892 is inserted to the first cell of this row.
17893 Note that this overwrites the column color for the first cell.
17894 The last cell of the last row is colored maroon by inserting the \SpecialChar TeX
17899 \begin_layout Standard
17907 \begin_layout Standard
17908 The characters could now be colored using the menu
17910 Edit\SpecialChar menuseparator
17912 \begin_inset space ~
17920 \begin_layout Standard
17921 \begin_inset Float table
17928 \begin_layout Plain Layout
17929 \begin_inset Caption Standard
17931 \begin_layout Plain Layout
17932 \begin_inset CommandInset label
17934 name "tab:Table-colored-using"
17938 Table colored using the package
17943 \begin_inset Argument 1
17946 \begin_layout Plain Layout
17947 Table with colortbl
17960 \begin_layout Plain Layout
17962 \begin_inset Tabular
17963 <lyxtabular version="3" rows="3" columns="3">
17964 <features tabularvalignment="middle">
17965 <column alignment="center" valignment="top" special=">{\columncolor{darkgreen}\centering}c">
17966 <column alignment="center" valignment="top">
17967 <column alignment="center" valignment="top">
17969 <cell alignment="center" valignment="top" usebox="none">
17972 \begin_layout Plain Layout
17976 \begin_layout Plain Layout
17992 <cell alignment="center" valignment="top" usebox="none">
17995 \begin_layout Plain Layout
18003 <cell alignment="center" valignment="top" usebox="none">
18006 \begin_layout Plain Layout
18016 <cell alignment="center" valignment="top" usebox="none">
18019 \begin_layout Plain Layout
18027 <cell alignment="center" valignment="top" usebox="none">
18030 \begin_layout Plain Layout
18038 <cell alignment="center" valignment="top" usebox="none">
18041 \begin_layout Plain Layout
18051 <cell alignment="center" valignment="top" usebox="none">
18054 \begin_layout Plain Layout
18062 <cell alignment="center" valignment="top" usebox="none">
18065 \begin_layout Plain Layout
18073 <cell alignment="center" valignment="top" usebox="none">
18076 \begin_layout Plain Layout
18080 \begin_layout Plain Layout
18109 \begin_layout Standard
18113 \begin_layout Plain Layout
18123 \begin_inset Note Note
18126 \begin_layout Plain Layout
18127 The following will be displayed when the \SpecialChar LaTeX
18140 \begin_layout Standard
18141 You need to install the package
18145 to see the content of this section in the output.
18148 \begin_layout Standard
18152 \begin_layout Plain Layout
18164 \begin_layout Subsection
18166 \begin_inset Index idx
18169 \begin_layout Plain Layout
18170 Table Color ! for Rows
18176 \begin_inset Index idx
18179 \begin_layout Plain Layout
18180 Color ! for Table Rows
18188 \begin_layout Standard
18189 In case every second table row needs to be colored there is an alternative
18190 to the method described in the previous section: One loads the package
18196 \begin_inset Index idx
18199 \begin_layout Plain Layout
18205 \begin_layout Plain Layout
18219 in the document preamble with the command
18222 \begin_layout Standard
18227 usepackage[table]{xcolor}
18230 \begin_layout Standard
18235 automatically loads also the package
18240 \begin_inset Index idx
18243 \begin_layout Plain Layout
18245 -packages ! colortbl
18254 must be installed in your \SpecialChar LaTeX
18255 -distribution, otherwise you get \SpecialChar LaTeX
18259 \begin_layout Standard
18263 \begin_layout Plain Layout
18273 \begin_inset Note Note
18276 \begin_layout Plain Layout
18277 The following section part will only be displayed when the \SpecialChar LaTeX
18290 \begin_layout Standard
18291 The table rows are colored with the command
18294 \begin_layout Standard
18299 rowcolors[commands]{row number}{odd row color}{even row color}
18302 \begin_layout Standard
18303 that is either inserted in the document preamble or as \SpecialChar TeX
18305 first table to be colored.
18307 \begin_inset space ~
18310 number is the number of the first row which should be colored according
18311 to the odd row color.
18312 commands can be additional commands that are executed before every table
18314 So for example the command
18317 \begin_layout Standard
18322 rowcolors{1}{white}{lightgray}
18325 \begin_layout Standard
18326 leads to the coloring scheme of Table
18327 \begin_inset space ~
18331 \begin_inset CommandInset ref
18333 reference "tab:Table-rowcolors"
18341 \begin_layout Standard
18348 hline]{1}{lightgray}{cyan}
18351 \begin_layout Standard
18352 leads to the coloring scheme of Table
18353 \begin_inset space ~
18357 \begin_inset CommandInset ref
18359 reference "tab:Table-rowcolors-2"
18365 \begin_inset space ~
18369 \begin_inset space ~
18373 \begin_inset space ~
18377 \begin_inset space ~
18380 color are left empty, no color will be used so that the command
18383 \begin_layout Standard
18391 \begin_layout Standard
18392 deletes all colors.
18399 affects all tables following that command.
18402 \begin_layout Standard
18406 \begin_layout Plain Layout
18410 rowcolors{1}{white}{lightgray}
18418 \begin_layout Standard
18419 \begin_inset Float table
18426 \begin_layout Plain Layout
18427 \begin_inset Caption Standard
18429 \begin_layout Plain Layout
18430 \begin_inset CommandInset label
18432 name "tab:Table-rowcolors"
18436 Table where every second row is colored light gray.
18444 \begin_layout Plain Layout
18446 \begin_inset Tabular
18447 <lyxtabular version="3" rows="4" columns="3">
18448 <features tabularvalignment="middle">
18449 <column alignment="center" valignment="top">
18450 <column alignment="center" valignment="top" width="0pt">
18451 <column alignment="center" valignment="top" width="0pt">
18453 <cell alignment="center" valignment="top" usebox="none">
18456 \begin_layout Plain Layout
18462 <cell alignment="center" valignment="top" usebox="none">
18465 \begin_layout Plain Layout
18471 <cell alignment="center" valignment="top" usebox="none">
18474 \begin_layout Plain Layout
18482 <cell alignment="center" valignment="top" usebox="none">
18485 \begin_layout Plain Layout
18491 <cell alignment="center" valignment="top" usebox="none">
18494 \begin_layout Plain Layout
18500 <cell alignment="center" valignment="top" usebox="none">
18503 \begin_layout Plain Layout
18511 <cell alignment="center" valignment="top" usebox="none">
18514 \begin_layout Plain Layout
18520 <cell alignment="center" valignment="top" usebox="none">
18523 \begin_layout Plain Layout
18529 <cell alignment="center" valignment="top" usebox="none">
18532 \begin_layout Plain Layout
18540 <cell alignment="center" valignment="top" usebox="none">
18543 \begin_layout Plain Layout
18549 <cell alignment="center" valignment="top" usebox="none">
18552 \begin_layout Plain Layout
18558 <cell alignment="center" valignment="top" usebox="none">
18561 \begin_layout Plain Layout
18580 \begin_layout Standard
18584 \begin_layout Plain Layout
18590 hline]{1}{lightgray}{cyan}
18598 \begin_layout Standard
18599 \begin_inset Float table
18606 \begin_layout Plain Layout
18607 \begin_inset Caption Standard
18609 \begin_layout Plain Layout
18610 \begin_inset CommandInset label
18612 name "tab:Table-rowcolors-2"
18616 Table where every second row is colored cyan and at which there is a line
18625 \begin_layout Plain Layout
18627 \begin_inset Tabular
18628 <lyxtabular version="3" rows="4" columns="3">
18629 <features tabularvalignment="middle">
18630 <column alignment="center" valignment="top">
18631 <column alignment="center" valignment="top">
18632 <column alignment="center" valignment="top" width="0pt">
18634 <cell alignment="center" valignment="top" usebox="none">
18637 \begin_layout Plain Layout
18643 <cell alignment="center" valignment="top" usebox="none">
18646 \begin_layout Plain Layout
18652 <cell alignment="center" valignment="top" usebox="none">
18655 \begin_layout Plain Layout
18663 <cell alignment="center" valignment="top" usebox="none">
18666 \begin_layout Plain Layout
18672 <cell alignment="center" valignment="top" usebox="none">
18675 \begin_layout Plain Layout
18681 <cell alignment="center" valignment="top" usebox="none">
18684 \begin_layout Plain Layout
18692 <cell alignment="center" valignment="top" usebox="none">
18695 \begin_layout Plain Layout
18701 <cell alignment="center" valignment="top" usebox="none">
18704 \begin_layout Plain Layout
18710 <cell alignment="center" valignment="top" usebox="none">
18713 \begin_layout Plain Layout
18721 <cell alignment="center" valignment="top" usebox="none">
18724 \begin_layout Plain Layout
18730 <cell alignment="center" valignment="top" usebox="none">
18733 \begin_layout Plain Layout
18739 <cell alignment="center" valignment="top" usebox="none">
18742 \begin_layout Plain Layout
18761 \begin_layout Standard
18765 \begin_layout Plain Layout
18775 \begin_inset Note Note
18778 \begin_layout Plain Layout
18779 turns off the row coloring
18787 \begin_layout Standard
18791 \begin_layout Plain Layout
18801 \begin_inset Note Note
18804 \begin_layout Plain Layout
18805 The following will be displayed when the \SpecialChar LaTeX
18818 \begin_layout Standard
18819 You need to install the package
18823 to see the content of this section in the output.
18826 \begin_layout Standard
18830 \begin_layout Plain Layout
18842 \begin_layout Subsection
18844 \begin_inset Index idx
18847 \begin_layout Plain Layout
18848 Table Color ! for Lines
18854 \begin_inset Index idx
18857 \begin_layout Plain Layout
18858 Color ! for Table Lines
18866 \begin_layout Standard
18867 As described in section
18868 \begin_inset space ~
18872 \begin_inset CommandInset ref
18874 reference "subsec:Line-Thickness"
18878 , the line thickness for all lines in a table can be adjusted with the length
18887 \begin_inset space \thinspace{}
18890 pt for all tables of this section.
18894 \begin_layout Plain Layout
18900 arrayrulewidth}{1.5pt}
18908 \begin_layout Standard
18909 To color vertical lines for example with green, create the following column
18910 format in the document preamble, according to the description in section
18911 \begin_inset space ~
18915 \begin_inset CommandInset ref
18917 reference "subsec:Customized-Format"
18924 \begin_layout Standard
18929 newcolumntype{W}{!{
18936 \begin_layout Standard
18938 \begin_inset space ~
18942 \begin_inset CommandInset ref
18944 reference "tab:Table-with-vertical-colored"
18948 the \SpecialChar LaTeX
18953 was used for the last column and
18957 for the other columns.
18960 \begin_layout Standard
18961 If you want to have several colors, define more column formats.
18964 \begin_layout Standard
18965 \begin_inset Float table
18972 \begin_layout Plain Layout
18973 \begin_inset Caption Standard
18975 \begin_layout Plain Layout
18976 \begin_inset CommandInset label
18978 name "tab:Table-with-vertical-colored"
18982 Table with colored vertical lines
18990 \begin_layout Plain Layout
18992 \begin_inset Tabular
18993 <lyxtabular version="3" rows="3" columns="3">
18994 <features tabularvalignment="middle">
18995 <column alignment="center" valignment="top" special="Wc">
18996 <column alignment="center" valignment="top" special="Wc">
18997 <column alignment="center" valignment="top" special="WcW">
18999 <cell alignment="center" valignment="top" topline="true" usebox="none">
19002 \begin_layout Plain Layout
19008 <cell alignment="center" valignment="top" topline="true" usebox="none">
19011 \begin_layout Plain Layout
19017 <cell alignment="center" valignment="top" topline="true" usebox="none">
19020 \begin_layout Plain Layout
19028 <cell alignment="center" valignment="top" topline="true" usebox="none">
19031 \begin_layout Plain Layout
19037 <cell alignment="center" valignment="top" topline="true" usebox="none">
19040 \begin_layout Plain Layout
19046 <cell alignment="center" valignment="top" topline="true" usebox="none">
19049 \begin_layout Plain Layout
19057 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19060 \begin_layout Plain Layout
19066 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19069 \begin_layout Plain Layout
19075 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19078 \begin_layout Plain Layout
19097 \begin_layout Standard
19098 \begin_inset VSpace bigskip
19101 To color all horizontal lines for example with red, as in Table
19102 \begin_inset space ~
19106 \begin_inset CommandInset ref
19108 reference "tab:Table-with-horizontal-colored"
19112 , insert these commands in \SpecialChar TeX
19113 code before the table or table float:
19116 \begin_layout Standard
19126 \begin_inset Newline newline
19134 \begin_inset Newline newline
19138 \begin_inset Phantom HPhantom
19141 \begin_layout Plain Layout
19144 \begin_inset space ~
19154 arrayrulecolor{red}
19158 arrayrulecolor{black}}
19161 \begin_layout Standard
19165 \begin_layout Plain Layout
19176 \begin_layout Plain Layout
19185 \begin_layout Plain Layout
19189 arrayrulecolor{red}
19193 arrayrulecolor{black}}
19199 \begin_inset Float table
19206 \begin_layout Plain Layout
19207 \begin_inset Caption Standard
19209 \begin_layout Plain Layout
19210 \begin_inset CommandInset label
19212 name "tab:Table-with-horizontal-colored"
19216 Table with colored horizontal lines
19224 \begin_layout Plain Layout
19226 \begin_inset Tabular
19227 <lyxtabular version="3" rows="3" columns="3">
19228 <features tabularvalignment="middle">
19229 <column alignment="center" valignment="top">
19230 <column alignment="center" valignment="top">
19231 <column alignment="center" valignment="top">
19233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19236 \begin_layout Plain Layout
19242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19245 \begin_layout Plain Layout
19251 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19254 \begin_layout Plain Layout
19262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19265 \begin_layout Plain Layout
19271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19274 \begin_layout Plain Layout
19280 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19283 \begin_layout Plain Layout
19291 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19294 \begin_layout Plain Layout
19300 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19303 \begin_layout Plain Layout
19309 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
19312 \begin_layout Plain Layout
19331 \begin_layout Standard
19332 To return to the default line color black, insert this command in \SpecialChar TeX
19334 after the table or table float:
19337 \begin_layout Standard
19349 \begin_layout Standard
19351 \begin_inset space ~
19355 \begin_inset CommandInset ref
19357 reference "tab:Table-with-colored"
19361 is an example with colored vertical and horizontal lines.
19364 \begin_layout Standard
19365 \begin_inset Float table
19372 \begin_layout Plain Layout
19373 \begin_inset Caption Standard
19375 \begin_layout Plain Layout
19376 \begin_inset CommandInset label
19378 name "tab:Table-with-colored"
19382 Table with colored lines
19390 \begin_layout Plain Layout
19392 \begin_inset Tabular
19393 <lyxtabular version="3" rows="3" columns="3">
19394 <features tabularvalignment="middle">
19395 <column alignment="center" valignment="top" special="Wc">
19396 <column alignment="center" valignment="top" special="Wc">
19397 <column alignment="center" valignment="top" special="WcW">
19399 <cell alignment="center" valignment="top" topline="true" usebox="none">
19402 \begin_layout Plain Layout
19408 <cell alignment="center" valignment="top" topline="true" usebox="none">
19411 \begin_layout Plain Layout
19417 <cell alignment="center" valignment="top" topline="true" usebox="none">
19420 \begin_layout Plain Layout
19428 <cell alignment="center" valignment="top" topline="true" usebox="none">
19431 \begin_layout Plain Layout
19437 <cell alignment="center" valignment="top" topline="true" usebox="none">
19440 \begin_layout Plain Layout
19446 <cell alignment="center" valignment="top" topline="true" usebox="none">
19449 \begin_layout Plain Layout
19456 <row topspace="default">
19457 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19460 \begin_layout Plain Layout
19466 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19469 \begin_layout Plain Layout
19475 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19478 \begin_layout Plain Layout
19497 \begin_layout Standard
19501 \begin_layout Plain Layout
19517 \begin_layout Standard
19521 \begin_layout Plain Layout
19527 arrayrulewidth}{1.2pt}
19535 \begin_layout Standard
19536 To color only some of the table lines another strategy is necessary.
19537 To color all following horizontal lines, insert this command as \SpecialChar TeX
19539 last thing in the row that should be above the first colored line:
19542 \begin_layout Standard
19551 arrayrulecolor{blue}%
19554 \begin_layout Standard
19555 To go back to black lines, add this command as first thing in the row that
19556 is above the black lines:
19559 \begin_layout Standard
19564 arrayrulecolor{black}
19567 \begin_layout Standard
19568 With this one can color table lines like in Table
19569 \begin_inset space ~
19573 \begin_inset CommandInset ref
19575 reference "tab:Table-with-different-hor"
19580 However, with this method it is not possible to color the line above the
19581 first row of a table.
19584 \begin_layout Standard
19585 \begin_inset Float table
19592 \begin_layout Plain Layout
19593 \begin_inset Caption Standard
19595 \begin_layout Plain Layout
19596 \begin_inset CommandInset label
19598 name "tab:Table-with-different-hor"
19602 Table with different horizontal line colors.
19610 \begin_layout Plain Layout
19612 \begin_inset Tabular
19613 <lyxtabular version="3" rows="6" columns="7">
19614 <features tabularvalignment="middle">
19615 <column alignment="center" valignment="top">
19616 <column alignment="center" valignment="top">
19617 <column alignment="center" valignment="top">
19618 <column alignment="center" valignment="top">
19619 <column alignment="center" valignment="top">
19620 <column alignment="center" valignment="top">
19621 <column alignment="center" valignment="top">
19623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19626 \begin_layout Plain Layout
19632 <cell alignment="center" valignment="top" topline="true" usebox="none">
19635 \begin_layout Plain Layout
19641 <cell alignment="center" valignment="top" topline="true" usebox="none">
19644 \begin_layout Plain Layout
19650 <cell alignment="center" valignment="top" topline="true" usebox="none">
19653 \begin_layout Plain Layout
19659 <cell alignment="center" valignment="top" topline="true" usebox="none">
19662 \begin_layout Plain Layout
19668 <cell alignment="center" valignment="top" topline="true" usebox="none">
19671 \begin_layout Plain Layout
19677 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
19680 \begin_layout Plain Layout
19684 \begin_layout Plain Layout
19692 arrayrulecolor{blue}%
19704 <cell alignment="center" valignment="top" usebox="none">
19707 \begin_layout Plain Layout
19713 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19716 \begin_layout Plain Layout
19722 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19725 \begin_layout Plain Layout
19731 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19734 \begin_layout Plain Layout
19740 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19743 \begin_layout Plain Layout
19749 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
19752 \begin_layout Plain Layout
19758 <cell alignment="center" valignment="top" usebox="none">
19761 \begin_layout Plain Layout
19769 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19772 \begin_layout Plain Layout
19776 \begin_layout Plain Layout
19780 arrayrulecolor{black}
19790 <cell alignment="center" valignment="top" usebox="none">
19793 \begin_layout Plain Layout
19799 <cell alignment="center" valignment="top" usebox="none">
19802 \begin_layout Plain Layout
19808 <cell alignment="center" valignment="top" usebox="none">
19811 \begin_layout Plain Layout
19817 <cell alignment="center" valignment="top" usebox="none">
19820 \begin_layout Plain Layout
19826 <cell alignment="center" valignment="top" usebox="none">
19829 \begin_layout Plain Layout
19835 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19838 \begin_layout Plain Layout
19846 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19849 \begin_layout Plain Layout
19855 <cell alignment="center" valignment="top" usebox="none">
19858 \begin_layout Plain Layout
19864 <cell alignment="center" valignment="top" usebox="none">
19867 \begin_layout Plain Layout
19873 <cell alignment="center" valignment="top" usebox="none">
19876 \begin_layout Plain Layout
19882 <cell alignment="center" valignment="top" usebox="none">
19885 \begin_layout Plain Layout
19891 <cell alignment="center" valignment="top" usebox="none">
19894 \begin_layout Plain Layout
19900 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19903 \begin_layout Plain Layout
19907 \begin_layout Plain Layout
19915 arrayrulecolor{green}%
19927 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19930 \begin_layout Plain Layout
19936 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19939 \begin_layout Plain Layout
19945 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19948 \begin_layout Plain Layout
19954 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19957 \begin_layout Plain Layout
19963 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19966 \begin_layout Plain Layout
19972 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19975 \begin_layout Plain Layout
19981 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
19984 \begin_layout Plain Layout
19992 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19995 \begin_layout Plain Layout
19999 \begin_layout Plain Layout
20003 arrayrulecolor{black}
20013 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20016 \begin_layout Plain Layout
20022 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20025 \begin_layout Plain Layout
20031 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20034 \begin_layout Plain Layout
20040 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20043 \begin_layout Plain Layout
20049 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20052 \begin_layout Plain Layout
20058 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20061 \begin_layout Plain Layout
20065 \begin_layout Plain Layout
20073 arrayrulecolor{blue}%
20096 \begin_layout Standard
20097 To change the color of vertical lines within a row, like in Table
20098 \begin_inset space ~
20102 \begin_inset CommandInset ref
20104 reference "tab:Table-with-different-ver"
20108 , one needs to use multicolumns.
20109 At first one needs to remove all vertical lines that don't run along the
20111 Now one colors all lines using the command
20114 \begin_layout Standard
20123 arrayrulecolor{blue}%
20126 \begin_layout Standard
20128 Finally one inserts this command as \SpecialChar TeX
20129 code to every cell in the row where
20130 one needs a vertical line in a different color:
20133 \begin_layout Standard
20149 \begin_layout Standard
20150 This adds a vertical line to both sides of the cell.
20151 The left one will be green, the right one red.
20152 If no color change is necessary one can omit the
20158 command in the above command.
20159 To get for example a black left line and a blue right line you can write:
20162 \begin_layout Standard
20174 \begin_layout Standard
20175 because the color blue was already set for all lines.
20180 creates hereby the vertical line while
20193 To set vertical lines without changing any color use
20196 \begin_layout Standard
20201 multicolumn{1}{|c|}{
20204 \begin_layout Standard
20205 After this command insert the cell content the normal way and end the cell
20206 with a closing brace
20210 in \SpecialChar TeX
20214 \begin_layout Standard
20215 \begin_inset Float table
20222 \begin_layout Plain Layout
20223 \begin_inset Caption Standard
20225 \begin_layout Plain Layout
20226 \begin_inset CommandInset label
20228 name "tab:Table-with-different-ver"
20232 Table with different vertical line colors in one row.
20240 \begin_layout Plain Layout
20242 \begin_inset Tabular
20243 <lyxtabular version="3" rows="5" columns="7">
20244 <features tabularvalignment="middle">
20245 <column alignment="center" valignment="top">
20246 <column alignment="center" valignment="top">
20247 <column alignment="center" valignment="top">
20248 <column alignment="center" valignment="top">
20249 <column alignment="center" valignment="top">
20250 <column alignment="center" valignment="top">
20251 <column alignment="center" valignment="top">
20253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20256 \begin_layout Plain Layout
20262 <cell alignment="center" valignment="top" topline="true" usebox="none">
20265 \begin_layout Plain Layout
20271 <cell alignment="center" valignment="top" topline="true" usebox="none">
20274 \begin_layout Plain Layout
20280 <cell alignment="center" valignment="top" topline="true" usebox="none">
20283 \begin_layout Plain Layout
20289 <cell alignment="center" valignment="top" topline="true" usebox="none">
20292 \begin_layout Plain Layout
20298 <cell alignment="center" valignment="top" topline="true" usebox="none">
20301 \begin_layout Plain Layout
20307 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
20310 \begin_layout Plain Layout
20314 \begin_layout Plain Layout
20322 arrayrulecolor{red}%
20334 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20337 \begin_layout Plain Layout
20341 \begin_layout Plain Layout
20358 \begin_layout Plain Layout
20370 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20373 \begin_layout Plain Layout
20379 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20382 \begin_layout Plain Layout
20388 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20391 \begin_layout Plain Layout
20397 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20400 \begin_layout Plain Layout
20406 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20409 \begin_layout Plain Layout
20413 \begin_layout Plain Layout
20417 multicolumn{1}{c|}{
20426 \begin_layout Plain Layout
20438 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20441 \begin_layout Plain Layout
20445 \begin_layout Plain Layout
20462 \begin_layout Plain Layout
20476 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20479 \begin_layout Plain Layout
20483 \begin_layout Plain Layout
20487 arrayrulecolor{black}
20497 <cell alignment="center" valignment="top" usebox="none">
20500 \begin_layout Plain Layout
20506 <cell alignment="center" valignment="top" usebox="none">
20509 \begin_layout Plain Layout
20515 <cell alignment="center" valignment="top" usebox="none">
20518 \begin_layout Plain Layout
20524 <cell alignment="center" valignment="top" usebox="none">
20527 \begin_layout Plain Layout
20533 <cell alignment="center" valignment="top" usebox="none">
20536 \begin_layout Plain Layout
20542 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20545 \begin_layout Plain Layout
20549 \begin_layout Plain Layout
20557 arrayrulecolor{magenta}%
20569 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20572 \begin_layout Plain Layout
20576 \begin_layout Plain Layout
20580 multicolumn{1}{|c!{
20593 \begin_layout Plain Layout
20605 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20608 \begin_layout Plain Layout
20612 \begin_layout Plain Layout
20629 \begin_layout Plain Layout
20641 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20644 \begin_layout Plain Layout
20648 \begin_layout Plain Layout
20665 \begin_layout Plain Layout
20677 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20680 \begin_layout Plain Layout
20684 \begin_layout Plain Layout
20701 \begin_layout Plain Layout
20713 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20716 \begin_layout Plain Layout
20720 \begin_layout Plain Layout
20737 \begin_layout Plain Layout
20749 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20752 \begin_layout Plain Layout
20756 \begin_layout Plain Layout
20773 \begin_layout Plain Layout
20785 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20788 \begin_layout Plain Layout
20792 \begin_layout Plain Layout
20796 multicolumn{1}{c|}{
20805 \begin_layout Plain Layout
20819 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20822 \begin_layout Plain Layout
20826 \begin_layout Plain Layout
20830 arrayrulecolor{black}
20840 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20843 \begin_layout Plain Layout
20849 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20852 \begin_layout Plain Layout
20858 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20861 \begin_layout Plain Layout
20867 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20870 \begin_layout Plain Layout
20876 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20879 \begin_layout Plain Layout
20885 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20888 \begin_layout Plain Layout
20907 \begin_layout Standard
20911 \begin_layout Plain Layout
20917 arrayrulewidth}{0.4pt}
20925 \begin_layout Section
20926 Rotated Table Cells
20927 \begin_inset CommandInset label
20929 name "sec:Rotated-Table-Cells"
20934 \begin_inset Index idx
20937 \begin_layout Plain Layout
20938 Table ! Rotated Cells
20944 \begin_inset Index idx
20947 \begin_layout Plain Layout
20956 \begin_layout Standard
20957 \begin_inset Note Greyedout
20960 \begin_layout Plain Layout
20965 Not all DVI-viewers are able to display rotations.
20973 \begin_layout Standard
20975 \begin_inset space ~
20979 \begin_inset CommandInset ref
20981 reference "tab:Table-with-rotated"
20988 is an example where 3
20989 \begin_inset space ~
20992 cells were rotated by 45
20993 \begin_inset space \thinspace{}
20999 \begin_layout Standard
21000 \begin_inset Float table
21007 \begin_layout Plain Layout
21008 \begin_inset Caption Standard
21010 \begin_layout Plain Layout
21011 \begin_inset CommandInset label
21013 name "tab:Table-with-rotated"
21017 Table with rotated cells in the first row.
21025 \begin_layout Plain Layout
21028 \begin_inset Tabular
21029 <lyxtabular version="3" rows="2" columns="3">
21030 <features tabularvalignment="middle">
21031 <column alignment="center" valignment="top" width="0pt">
21032 <column alignment="center" valignment="top" width="0pt">
21033 <column alignment="center" valignment="top" width="0pt">
21035 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21038 \begin_layout Plain Layout
21044 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21047 \begin_layout Plain Layout
21053 <cell alignment="center" valignment="top" rotate="45" usebox="none">
21056 \begin_layout Plain Layout
21064 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21067 \begin_layout Plain Layout
21073 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21076 \begin_layout Plain Layout
21082 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21085 \begin_layout Plain Layout
21104 \begin_layout Standard
21105 \begin_inset Note Greyedout
21108 \begin_layout Plain Layout
21113 Line breaks (shortcut
21116 arg "newline-insert newline"
21119 ) are not allowed in rotated cells.
21127 \begin_layout Standard
21128 If you want to rotate table cells containing line breaks, you have to put
21129 the cell content into a minipage or a parbox.
21133 \begin_layout Plain Layout
21134 For more about these boxes see sec.
21135 \begin_inset space \thinspace{}
21139 \begin_inset CommandInset ref
21141 reference "sec:Minipages"
21146 \begin_inset CommandInset ref
21148 reference "sec:Parboxes"
21157 If you rotate this cell by 90
21158 \begin_inset space \thinspace{}
21161 ° the width of the box is the height of the cell.
21162 To avoid to estimate a suitable box width one can use a minipage with a
21164 Such a box is inserted by loading the module
21167 \begin_inset space ~
21172 in the document settings.
21173 Then one can use the menu
21175 Insert\SpecialChar menuseparator
21177 \begin_inset space ~
21180 Insets\SpecialChar menuseparator
21182 \begin_inset space ~
21188 \begin_inset space ~
21193 \begin_inset space ~
21197 \begin_inset CommandInset ref
21199 reference "tab:Table-with-rotated-multi"
21203 is an example for a rotated multiline cell where a variable width minipage
21207 \begin_layout Standard
21208 \begin_inset Float table
21215 \begin_layout Plain Layout
21216 \begin_inset Caption Standard
21218 \begin_layout Plain Layout
21219 \begin_inset CommandInset label
21221 name "tab:Table-with-rotated-multi"
21225 Table with rotated multiline cell.
21233 \begin_layout Plain Layout
21236 \begin_inset Tabular
21237 <lyxtabular version="3" rows="2" columns="3">
21238 <features tabularvalignment="middle">
21239 <column alignment="center" valignment="top">
21240 <column alignment="center" valignment="top" width="0pt">
21241 <column alignment="center" valignment="top">
21243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21246 \begin_layout Plain Layout
21252 <cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
21255 \begin_layout Plain Layout
21256 \begin_inset Flex Minipage (Var. Width)
21259 \begin_layout Plain Layout
21261 \begin_inset Newline newline
21265 \begin_inset space ~
21278 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21281 \begin_layout Plain Layout
21289 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21292 \begin_layout Plain Layout
21298 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21301 \begin_layout Plain Layout
21307 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21310 \begin_layout Plain Layout
21329 \begin_layout Section
21330 Table Width Calculation
21331 \begin_inset CommandInset label
21333 name "sec:Table-Width-Calculation"
21340 \begin_layout Standard
21341 For wide tables it is sometimes difficult to assure that the table does
21342 not protrude over the page margin.
21343 Setting a fixed width for every column of the table is the solution, but
21344 what amount of space is needed for each column?
21347 \begin_layout Standard
21349 \begin_inset Formula $W_{\mathrm{table}}$
21352 can be calculated: Every column has the width of the specified column width
21354 \begin_inset Formula $W_{\mathrm{column}}$
21357 (that the content of the column can consume) plus two times the separation
21358 between the column content and the column border (\SpecialChar LaTeX
21366 \begin_inset space \thinspace{}
21369 pt) plus the width of a border line (\SpecialChar LaTeX
21377 \begin_inset space \thinspace{}
21381 \begin_inset Formula $n$
21385 \begin_inset space ~
21388 columns have the same width, the table width is
21389 \begin_inset Formula
21391 W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
21399 \begin_layout Standard
21400 The available width for a table is the space between the page margins or
21401 the width of a text column (for a two-column document) (\SpecialChar LaTeX
21409 If all table columns should have the same width and
21410 \begin_inset Formula $W_{\mathrm{table}}$
21414 \begin_inset space \thinspace{}
21420 \begin_inset Formula $W_{\mathrm{column}}$
21423 can easily be calculated.
21426 \begin_layout Standard
21427 To be able to perform calculations you need to load the \SpecialChar LaTeX
21433 \begin_inset Index idx
21436 \begin_layout Plain Layout
21443 in the document preamble.
21444 To set the width in the table dialog you have to use the field
21450 The command scheme for this field is the same that is explained in section
21451 \begin_inset space ~
21455 \begin_inset CommandInset ref
21457 reference "subsec:Multicolumn-Calculations"
21463 \begin_inset space \thinspace{}
21466 columns with an uniform width and centered text, enter there for each column
21470 \begin_layout Standard
21477 columnwidth-62.4pt)/5}
21480 \begin_layout Standard
21482 \begin_inset space \thinspace{}
21485 columns where 2 should have 0.75
21486 \begin_inset space ~
21489 times the width than the 3 others, the calculation is
21490 \begin_inset Formula
21492 \backslash\mbox{columnwidth} & =3\,W_{\mathrm{column}}+2\cdot0.75\,W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
21493 & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
21494 & =4.5\,W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
21495 W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
21503 \begin_layout Standard
21504 In the table therefore the command
21507 \begin_layout Standard
21514 columnwidth-62.4pt)/
21519 \begin_layout Standard
21520 is used for the wider columns and
21523 \begin_layout Standard
21530 columnwidth-62.4pt)/
21537 \begin_layout Standard
21538 for the smaller ones:
21541 \begin_layout Standard
21542 \begin_inset Tabular
21543 <lyxtabular version="3" rows="2" columns="5">
21544 <features tabularvalignment="middle">
21545 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21546 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21547 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21548 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21549 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21551 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21554 \begin_layout Plain Layout
21560 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21563 \begin_layout Plain Layout
21569 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21572 \begin_layout Plain Layout
21578 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21581 \begin_layout Plain Layout
21587 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21590 \begin_layout Plain Layout
21598 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21601 \begin_layout Plain Layout
21602 111111 1111111 111111 111111111 11111 11111 1111
21607 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21610 \begin_layout Plain Layout
21616 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21619 \begin_layout Plain Layout
21620 2222 22222 222222 222222222 2222222 22 22222
21625 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21628 \begin_layout Plain Layout
21634 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21637 \begin_layout Plain Layout
21638 333333 333333 333333 33333 3333333 333
21651 \begin_layout Section
21652 Table Customization
21653 \begin_inset Index idx
21656 \begin_layout Plain Layout
21657 Table Customization
21663 \begin_inset Index idx
21666 \begin_layout Plain Layout
21667 Table ! Customization
21675 \begin_layout Subsection
21677 \begin_inset CommandInset label
21679 name "subsec:Row-Spacing"
21684 \begin_inset Index idx
21687 \begin_layout Plain Layout
21688 Table Customization ! Row Spacing
21696 \begin_layout Standard
21697 You can add vertical space to table rows in the
21701 tab of the table dialog.
21702 You find there three possibilities:
21705 \begin_layout Description
21707 \begin_inset space ~
21711 \begin_inset space ~
21714 row will add space above the characters of the table row.
21715 If the table is a formal table
21719 \begin_layout Plain Layout
21720 Formal tables are explained in section
21721 \begin_inset space ~
21725 \begin_inset CommandInset ref
21727 reference "sec:Formal-Tables"
21737 will insert as default 0.5
21738 \begin_inset space \thinspace{}
21742 For normal tables the inserted space will unfortunately destroy the vertical
21743 table lines as in the following table:
21744 \begin_inset VSpace medskip
21748 \begin_inset Newline newline
21752 \begin_inset space \hspace*{}
21757 \begin_inset space \hfill{}
21761 \begin_inset Tabular
21762 <lyxtabular version="3" rows="3" columns="1">
21763 <features tabularvalignment="middle">
21764 <column alignment="center" valignment="top">
21766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21769 \begin_layout Plain Layout
21776 <row topspace="3mm">
21777 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21780 \begin_layout Plain Layout
21782 \begin_inset space \thinspace{}
21785 mm space top of row
21792 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21795 \begin_layout Plain Layout
21807 \begin_inset space \hfill{}
21811 \begin_inset space \hspace*{}
21816 \begin_inset VSpace medskip
21820 \begin_inset Newline newline
21823 So inserting space in the top of row for normal tables is only useful when
21824 you don't have vertical lines.
21827 \begin_layout Description
21829 \begin_inset space ~
21833 \begin_inset space ~
21836 row will add space below the characters of the table row.
21837 If the table is a formal table \SpecialChar LyX
21838 will insert as default 0.5
21839 \begin_inset space \thinspace{}
21842 em space, for normal tables the default size is 2
21843 \begin_inset space \thinspace{}
21849 \begin_layout Description
21851 \begin_inset space ~
21854 rows adds space between the current and the following row.
21855 If the table is a formal table \SpecialChar LyX
21856 will insert as default 0.5
21857 \begin_inset space \thinspace{}
21861 For normal tables the inserted space will unfortunately destroy the vertical
21862 table lines as in the following table:
21863 \begin_inset VSpace medskip
21867 \begin_inset Newline newline
21871 \begin_inset space \hspace*{}
21876 \begin_inset space \hfill{}
21880 \begin_inset Tabular
21881 <lyxtabular version="3" rows="3" columns="1">
21882 <features tabularvalignment="middle">
21883 <column alignment="center" valignment="top">
21885 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21888 \begin_layout Plain Layout
21895 <row interlinespace="3mm">
21896 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21899 \begin_layout Plain Layout
21900 \begin_inset Formula $\downarrow$
21904 \begin_inset space \thinspace{}
21907 mm space between row
21908 \begin_inset Formula $\downarrow$
21918 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21921 \begin_layout Plain Layout
21922 \begin_inset Formula $\uparrow$
21926 \begin_inset space \thinspace{}
21929 mm space between row
21930 \begin_inset Formula $\uparrow$
21944 \begin_inset space \hfill{}
21948 \begin_inset space \hspace*{}
21953 \begin_inset VSpace medskip
21957 \begin_inset Newline newline
21960 So inserting space between rows for normal tables is only useful when you
21961 don't have vertical lines.
21964 \begin_layout Standard
21965 \begin_inset VSpace bigskip
21968 When you want to add extra height to all cells of all tables, you can do
21969 this with the following preamble lines:
21972 \begin_layout Standard
21977 @ifundefined{extrarowheight}
21978 \begin_inset Newline newline
21982 \begin_inset Phantom HPhantom
21985 \begin_layout Plain Layout
21988 \begin_inset space ~
21998 usepackage{array}}{}
21999 \begin_inset Newline newline
22006 extrarowheight}{height}
22009 \begin_inset Note Note
22012 \begin_layout Plain Layout
22017 will be loaded automatically by \SpecialChar LyX
22018 when you use self defined table formats.
22019 To avoid that it is loaded twice the command
22025 is used in the above command.
22033 \begin_layout Standard
22038 can have one of the units listed in appendix
22039 \begin_inset space ~
22043 \begin_inset CommandInset ref
22045 reference "cha:Units-available-in"
22050 But this has the disadvantage that the cell texts are no longer exactly
22051 vertically centered.
22054 \begin_layout Standard
22055 If you are using font sizes larger than the normal size, the table borders
22056 are often too close to the letters.
22057 This can be corrected by inserting the command
22063 in \SpecialChar TeX
22064 Code at the beginning of a table row.
22066 \begin_inset space ~
22070 \begin_inset CommandInset ref
22072 reference "tab:Vertical-alignment-of"
22076 illustrates the effect.
22079 \begin_layout Standard
22081 \begin_inset Float table
22088 \begin_layout Plain Layout
22089 \begin_inset Caption Standard
22091 \begin_layout Plain Layout
22092 \begin_inset CommandInset label
22094 name "tab:Vertical-alignment-of"
22098 Vertical alignment of text with large font sizes.
22106 \begin_layout Plain Layout
22107 \begin_inset space \hfill{}
22111 \begin_inset Float table
22118 \begin_layout Plain Layout
22119 \begin_inset Caption Standard
22121 \begin_layout Plain Layout
22130 \begin_layout Plain Layout
22133 \begin_inset Tabular
22134 <lyxtabular version="3" rows="6" columns="1">
22135 <features tabularvalignment="middle">
22136 <column alignment="left" valignment="top">
22138 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22141 \begin_layout Plain Layout
22149 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22152 \begin_layout Plain Layout
22162 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22165 \begin_layout Plain Layout
22175 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22178 \begin_layout Plain Layout
22188 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22191 \begin_layout Plain Layout
22201 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22204 \begin_layout Plain Layout
22223 \begin_inset space \hfill{}
22227 \begin_inset Float table
22234 \begin_layout Plain Layout
22235 \begin_inset Caption Standard
22237 \begin_layout Plain Layout
22238 Table using the command
22252 \begin_layout Plain Layout
22255 \begin_inset Tabular
22256 <lyxtabular version="3" rows="6" columns="1">
22257 <features tabularvalignment="middle">
22258 <column alignment="left" valignment="top">
22260 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22263 \begin_layout Plain Layout
22271 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22274 \begin_layout Plain Layout
22280 \begin_layout Plain Layout
22296 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22299 \begin_layout Plain Layout
22305 \begin_layout Plain Layout
22321 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22324 \begin_layout Plain Layout
22330 \begin_layout Plain Layout
22346 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22349 \begin_layout Plain Layout
22355 \begin_layout Plain Layout
22371 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
22374 \begin_layout Plain Layout
22380 \begin_layout Plain Layout
22407 \begin_inset space \hfill{}
22418 \begin_layout Subsection
22419 Special Cell Alignment
22420 \begin_inset CommandInset label
22422 name "subsec:Special-Cell-Alignment"
22427 \begin_inset Index idx
22430 \begin_layout Plain Layout
22431 Table Customization ! Special Cell Alignment
22439 \begin_layout Standard
22440 Sometimes it looks better when the cell entries of a column are aligned
22441 with a special character, e.
22442 \begin_inset space \thinspace{}
22446 \begin_inset space \space{}
22449 with the decimal separator as in Table
22450 \begin_inset space ~
22454 \begin_inset CommandInset ref
22456 reference "tab:Table-cells-align"
22461 This alignment is achieved by setting the cursor into the column and then
22462 either pressing the toolbar button
22465 arg "tabular-feature align-decimal"
22468 or setting the alignment in the table settings to
22471 \begin_inset space ~
22475 \begin_inset space ~
22481 The alignment character can be a character of your choice and is specified
22482 in the table settings.
22485 \begin_layout Standard
22486 \begin_inset Float table
22493 \begin_layout Plain Layout
22494 \begin_inset Caption Standard
22496 \begin_layout Plain Layout
22497 \begin_inset CommandInset label
22499 name "tab:Table-cells-align"
22503 Table cells of a column aligned with the decimal separator.
22511 \begin_layout Plain Layout
22513 \begin_inset Tabular
22514 <lyxtabular version="3" rows="4" columns="1">
22515 <features booktabs="true" tabularvalignment="middle">
22516 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
22518 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22521 \begin_layout Plain Layout
22529 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22532 \begin_layout Plain Layout
22540 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22543 \begin_layout Plain Layout
22551 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22554 \begin_layout Plain Layout
22573 \begin_layout Standard
22574 \begin_inset Float table
22581 \begin_layout Plain Layout
22582 \begin_inset Caption Standard
22584 \begin_layout Plain Layout
22585 \begin_inset CommandInset label
22587 name "tab:Table-align-operator"
22591 Table cells of a column aligned with the operators.
22599 \begin_layout Plain Layout
22601 \begin_inset Tabular
22602 <lyxtabular version="3" rows="4" columns="2">
22603 <features booktabs="true" tabularvalignment="middle">
22604 <column alignment="right" valignment="top" width="0pt">
22605 <column alignment="left" valignment="top" width="0pt" special="@{}l">
22607 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
22610 \begin_layout Plain Layout
22616 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22619 \begin_layout Plain Layout
22627 <cell alignment="center" valignment="top" usebox="none">
22630 \begin_layout Plain Layout
22631 \begin_inset Formula $12\,+$
22639 <cell alignment="center" valignment="top" usebox="none">
22642 \begin_layout Plain Layout
22643 \begin_inset Formula $\,6$
22653 <cell alignment="center" valignment="top" usebox="none">
22656 \begin_layout Plain Layout
22657 \begin_inset Formula $0\,-$
22665 <cell alignment="center" valignment="top" usebox="none">
22668 \begin_layout Plain Layout
22669 \begin_inset Formula $\,68$
22679 <cell alignment="center" valignment="top" usebox="none">
22682 \begin_layout Plain Layout
22683 \begin_inset Formula $-123\,/$
22691 <cell alignment="center" valignment="top" usebox="none">
22694 \begin_layout Plain Layout
22695 \begin_inset Formula $\,0$
22716 \begin_layout Standard
22717 For alignments at characters in formulas this method does not work because
22718 the field to specify the alignment character does not allow formulas.
22719 In this case one need to use the method from Table
22720 \begin_inset space ~
22724 \begin_inset CommandInset ref
22726 reference "tab:Table-align-operator"
22731 This table was created with a 4×2 table.
22732 The heading is a centered multicolumn.
22733 The first column is right-aligned and contains the first part including
22735 The second column is left aligned and contains the rest.
22736 A small space was added at the beginning of each cell of the second column
22737 to get the space that is usually around operators.
22738 To omit the space that is normally between two table columns, the following
22740 -argument was used for the second column:
22743 \begin_layout Standard
22749 \begin_layout Standard
22751 \begin_inset space ~
22755 \begin_inset CommandInset ref
22757 reference "tab:Several-table-cell"
22761 shows some example alignments.
22762 For the alignment with the relation sign, a small space was added like
22763 for the second column of Table
22764 \begin_inset space ~
22768 \begin_inset CommandInset ref
22770 reference "tab:Table-align-operator"
22777 \begin_layout Standard
22778 \begin_inset Float table
22785 \begin_layout Plain Layout
22786 \begin_inset Caption Standard
22788 \begin_layout Plain Layout
22789 \begin_inset CommandInset label
22791 name "tab:Several-table-cell"
22795 Several table cell alignments.
22803 \begin_layout Plain Layout
22805 \begin_inset Tabular
22806 <lyxtabular version="3" rows="4" columns="6">
22807 <features tabularvalignment="middle">
22808 <column alignment="right" valignment="top">
22809 <column alignment="left" valignment="top" special="@{}l">
22810 <column alignment="right" valignment="top">
22811 <column alignment="left" valignment="top" special="@{}l">
22812 <column alignment="right" valignment="top">
22813 <column alignment="left" valignment="top" special="@{}l">
22815 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
22818 \begin_layout Plain Layout
22824 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22827 \begin_layout Plain Layout
22833 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
22836 \begin_layout Plain Layout
22842 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22845 \begin_layout Plain Layout
22851 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
22854 \begin_layout Plain Layout
22860 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22863 \begin_layout Plain Layout
22871 <cell alignment="center" valignment="top" usebox="none">
22874 \begin_layout Plain Layout
22880 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22883 \begin_layout Plain Layout
22885 \begin_inset space \thinspace{}
22893 <cell alignment="center" valignment="top" usebox="none">
22896 \begin_layout Plain Layout
22897 \begin_inset Formula $10\cdot$
22905 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22908 \begin_layout Plain Layout
22909 \begin_inset Formula $10^{\mbox{-}17}$
22917 <cell alignment="center" valignment="top" usebox="none">
22920 \begin_layout Plain Layout
22921 \begin_inset Formula $\Gamma(t)\propto$
22929 <cell alignment="center" valignment="top" usebox="none">
22932 \begin_layout Plain Layout
22933 \begin_inset Formula $\:\Upsilon(t)$
22943 <cell alignment="center" valignment="top" usebox="none">
22946 \begin_layout Plain Layout
22952 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22955 \begin_layout Plain Layout
22957 \begin_inset space \thinspace{}
22965 <cell alignment="center" valignment="top" usebox="none">
22968 \begin_layout Plain Layout
22969 \begin_inset Formula $5.78\cdot$
22977 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22980 \begin_layout Plain Layout
22981 \begin_inset Formula $10^{7}$
22989 <cell alignment="center" valignment="top" usebox="none">
22992 \begin_layout Plain Layout
22993 \begin_inset Formula $A\ne$
23001 <cell alignment="center" valignment="top" usebox="none">
23004 \begin_layout Plain Layout
23005 \begin_inset Formula $\:B_{\mathrm{red}}$
23015 <cell alignment="center" valignment="top" usebox="none">
23018 \begin_layout Plain Layout
23024 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23027 \begin_layout Plain Layout
23029 \begin_inset space \thinspace{}
23037 <cell alignment="center" valignment="top" usebox="none">
23040 \begin_layout Plain Layout
23042 \begin_inset Formula $33.5\cdot$
23050 <cell alignment="center" valignment="top" rightline="true" usebox="none">
23053 \begin_layout Plain Layout
23054 \begin_inset Formula $10^{4}$
23062 <cell alignment="center" valignment="top" usebox="none">
23065 \begin_layout Plain Layout
23066 \begin_inset Formula $\sin(\alpha)\ge$
23074 <cell alignment="center" valignment="top" usebox="none">
23077 \begin_layout Plain Layout
23078 \begin_inset Formula $\:\sin(\beta)$
23099 \begin_layout Subsection
23100 Customized Cell/Column Format
23101 \begin_inset CommandInset label
23103 name "subsec:Customized-Format"
23108 \begin_inset Index idx
23111 \begin_layout Plain Layout
23112 Table Customization ! Cell/Column Format
23120 \begin_layout Standard
23121 Calculating the required width for normal columns as described in section
23122 \begin_inset space ~
23126 \begin_inset CommandInset ref
23128 reference "sec:Table-Width-Calculation"
23132 or for spanned columns as described in section
23133 \begin_inset space ~
23137 \begin_inset CommandInset ref
23139 reference "subsec:Multicolumn-Calculations"
23143 is very annoying if you have several tables where a calculation is necessary.
23144 To make life easier, you can define a cell/column format in the preamble,
23145 that can be used in all tables of the document.
23146 The format is defined with the command
23149 \begin_layout Standard
23154 newcolumntype{name of format}[number of arguments]{commands}
23157 \begin_layout Standard
23158 The format name may only consist of one letter.
23183 are predefined and cannot be used.
23184 But all letters are allowed as capitals.
23187 \begin_layout Standard
23188 \begin_inset VSpace medskip
23194 \begin_layout Standard
23195 For vertically and horizontally centered multicolumn cells with a fixed
23196 width you can define the cell format
23199 \begin_layout Standard
23204 newcolumntype{M}[1]{>{
23211 \begin_layout Standard
23218 avoids the problem of hyphenating the first word, as described in section
23219 \begin_inset space ~
23223 \begin_inset CommandInset ref
23225 reference "subsec:Multiple-Lines-in"
23230 Now you can simply enter
23233 \begin_layout Standard
23239 \begin_layout Standard
23245 in the table dialog to create a multicolumn.
23248 \begin_layout Standard
23249 \begin_inset VSpace bigskip
23255 \begin_layout Standard
23256 For cells spanned by a multicolumn cell, you can define the format
23259 \begin_layout Standard
23264 newcolumntype{S}[2]{>{
23269 \begin_inset Newline newline
23273 \begin_inset Phantom HPhantom
23276 \begin_layout Plain Layout
23290 arrayrulewidth)*(1-#2))/#2}}
23293 \begin_layout Standard
23294 This format uses equation
23295 \begin_inset CommandInset ref
23301 to calculate the required width so that each spanned cell has the same
23305 \begin_layout Standard
23309 \begin_layout Standard
23312 S{width of multicolumn cell}{number of spanned columns}
23315 \begin_layout Standard
23316 as \SpecialChar LaTeX
23317 -argument of the column.
23320 \begin_layout Standard
23321 \begin_inset VSpace bigskip
23327 \begin_layout Standard
23328 For colored columns, you can define
23331 \begin_layout Standard
23336 newcolumntype{K}[1]{>{
23343 \begin_layout Standard
23345 \begin_inset Quotes eld
23349 \begin_inset Quotes erd
23352 at the end creates a column with a flexible width whose text is horizontally
23357 \begin_layout Standard
23363 \begin_layout Standard
23364 as \SpecialChar LaTeX
23368 \begin_layout Standard
23369 \begin_inset VSpace bigskip
23375 \begin_layout Standard
23377 \begin_inset space ~
23381 \begin_inset CommandInset ref
23383 reference "tab:Table-using-user-defined"
23387 use the \SpecialChar LaTeX
23391 \begin_layout Standard
23397 \begin_layout Standard
23398 for the first column and the multicolumn,
23401 \begin_layout Standard
23407 \begin_layout Standard
23408 for the last column, and
23411 \begin_layout Standard
23417 \begin_layout Standard
23418 for the cells in the second column.
23421 \begin_layout Standard
23422 \begin_inset Float table
23429 \begin_layout Plain Layout
23430 \begin_inset Caption Standard
23432 \begin_layout Plain Layout
23433 \begin_inset CommandInset label
23435 name "tab:Table-using-user-defined"
23439 Table using user-defined table formats
23447 \begin_layout Plain Layout
23449 \begin_inset Tabular
23450 <lyxtabular version="3" rows="3" columns="4">
23451 <features tabularvalignment="middle">
23452 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
23453 <column alignment="center" valignment="middle" special="S{2.5cm}{2}">
23454 <column alignment="center" valignment="middle">
23455 <column alignment="center" valignment="middle" special="K{red}">
23457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23460 \begin_layout Plain Layout
23461 verylongtablecellword
23466 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
23469 \begin_layout Plain Layout
23470 multiple lines multicolumn
23475 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23478 \begin_layout Plain Layout
23484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23487 \begin_layout Plain Layout
23495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23498 \begin_layout Plain Layout
23504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23507 \begin_layout Plain Layout
23513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23516 \begin_layout Plain Layout
23522 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23525 \begin_layout Plain Layout
23533 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23536 \begin_layout Plain Layout
23542 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23545 \begin_layout Plain Layout
23551 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23554 \begin_layout Plain Layout
23560 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23563 \begin_layout Plain Layout
23582 \begin_layout Subsection
23584 \begin_inset CommandInset label
23586 name "subsec:Line-Thickness"
23591 \begin_inset Index idx
23594 \begin_layout Plain Layout
23595 Table Customization ! Line Thickness
23603 \begin_layout Standard
23604 The line thickness for all lines in a table can be adjusted with the length
23612 To set for example a line thickness of 1.5
23613 \begin_inset space \thinspace{}
23617 \begin_inset space ~
23621 \begin_inset CommandInset ref
23623 reference "tab:Table-with-1.5"
23627 , insert the command
23630 \begin_layout Standard
23637 arrayrulewidth}{1.5pt}
23640 \begin_layout Standard
23641 in \SpecialChar TeX
23642 Code before the table or table float.
23643 The changed thickness is valid for all subsequent tables.
23644 To use the default value again, set
23651 \begin_inset space \thinspace{}
23654 pt in \SpecialChar TeX
23655 Code after the table or table float.
23658 \begin_layout Standard
23662 \begin_layout Plain Layout
23668 arrayrulewidth}{1.5pt}
23674 \begin_inset Float table
23681 \begin_layout Plain Layout
23682 \begin_inset Caption Standard
23684 \begin_layout Plain Layout
23685 \begin_inset CommandInset label
23687 name "tab:Table-with-1.5"
23692 \begin_inset space \thinspace{}
23703 \begin_layout Plain Layout
23705 \begin_inset Tabular
23706 <lyxtabular version="3" rows="3" columns="3">
23707 <features tabularvalignment="middle">
23708 <column alignment="center" valignment="top">
23709 <column alignment="center" valignment="top">
23710 <column alignment="center" valignment="top">
23712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23715 \begin_layout Plain Layout
23721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23724 \begin_layout Plain Layout
23730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23733 \begin_layout Plain Layout
23741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23744 \begin_layout Plain Layout
23750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23753 \begin_layout Plain Layout
23759 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23762 \begin_layout Plain Layout
23770 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23773 \begin_layout Plain Layout
23779 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23782 \begin_layout Plain Layout
23788 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23791 \begin_layout Plain Layout
23811 \begin_layout Plain Layout
23817 arrayrulewidth}{0.4pt}
23825 \begin_layout Standard
23826 \begin_inset VSpace bigskip
23829 To set the line thickness to 1.5
23830 \begin_inset space \thinspace{}
23833 pt only for horizontal lines, as in Table
23834 \begin_inset space ~
23838 \begin_inset CommandInset ref
23840 reference "tab:Table-with-horizontal"
23844 , insert these commands in \SpecialChar TeX
23845 Code before the table or table float:
23848 \begin_layout Standard
23858 \begin_inset Newline newline
23866 \begin_inset Newline newline
23875 arrayrulewidth 1.5pt}
23876 \begin_inset Newline newline
23887 arrayrulewidth 0.4pt}}
23890 \begin_layout Standard
23891 To return to the default line thickness, insert this command in \SpecialChar TeX
23893 the table or table float:
23896 \begin_layout Standard
23908 \begin_layout Standard
23912 \begin_layout Plain Layout
23923 \begin_layout Plain Layout
23932 \begin_layout Plain Layout
23940 arrayrulewidth 1.5pt}
23943 \begin_layout Plain Layout
23953 arrayrulewidth 0.4pt}}
23959 \begin_inset Float table
23966 \begin_layout Plain Layout
23967 \begin_inset Caption Standard
23969 \begin_layout Plain Layout
23970 \begin_inset CommandInset label
23972 name "tab:Table-with-horizontal"
23977 \begin_inset space \thinspace{}
23980 pt thick horizontal lines
23988 \begin_layout Plain Layout
23990 \begin_inset Tabular
23991 <lyxtabular version="3" rows="3" columns="3">
23992 <features tabularvalignment="middle">
23993 <column alignment="center" valignment="top">
23994 <column alignment="center" valignment="top">
23995 <column alignment="center" valignment="top">
23997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24000 \begin_layout Plain Layout
24006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24009 \begin_layout Plain Layout
24015 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24018 \begin_layout Plain Layout
24026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24029 \begin_layout Plain Layout
24035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24038 \begin_layout Plain Layout
24044 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24047 \begin_layout Plain Layout
24055 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24058 \begin_layout Plain Layout
24064 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24067 \begin_layout Plain Layout
24073 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24076 \begin_layout Plain Layout
24096 \begin_layout Plain Layout
24112 \begin_layout Standard
24113 \begin_inset VSpace bigskip
24116 To set the line thickness to 1.5
24117 \begin_inset space \thinspace{}
24120 pt only for vertical lines, create the following column format in the document
24121 preamble, according to the description in section
24122 \begin_inset space ~
24126 \begin_inset CommandInset ref
24128 reference "subsec:Customized-Format"
24135 \begin_layout Standard
24140 newcolumntype{V}{!{
24142 vrule width 1.5pt}}
24145 \begin_layout Standard
24147 \begin_inset space ~
24151 \begin_inset CommandInset ref
24153 reference "tab:Table-with-vertical"
24157 the \SpecialChar LaTeX
24161 \begin_layout Standard
24167 \begin_layout Standard
24168 was used for the last column and
24171 \begin_layout Standard
24177 \begin_layout Standard
24178 for the other columns.
24181 \begin_layout Standard
24182 \begin_inset Float table
24189 \begin_layout Plain Layout
24190 \begin_inset Caption Standard
24192 \begin_layout Plain Layout
24193 \begin_inset CommandInset label
24195 name "tab:Table-with-vertical"
24200 \begin_inset space \thinspace{}
24203 pt thick vertical lines
24211 \begin_layout Plain Layout
24213 \begin_inset Tabular
24214 <lyxtabular version="3" rows="3" columns="3">
24215 <features tabularvalignment="middle">
24216 <column alignment="center" valignment="top" special="Vc">
24217 <column alignment="center" valignment="top" special="Vc">
24218 <column alignment="center" valignment="top" special="VcV">
24220 <cell alignment="center" valignment="top" topline="true" usebox="none">
24223 \begin_layout Plain Layout
24229 <cell alignment="center" valignment="top" topline="true" usebox="none">
24232 \begin_layout Plain Layout
24238 <cell alignment="center" valignment="top" topline="true" usebox="none">
24241 \begin_layout Plain Layout
24249 <cell alignment="center" valignment="top" topline="true" usebox="none">
24252 \begin_layout Plain Layout
24258 <cell alignment="center" valignment="top" topline="true" usebox="none">
24261 \begin_layout Plain Layout
24267 <cell alignment="center" valignment="top" topline="true" usebox="none">
24270 \begin_layout Plain Layout
24278 <cell alignment="center" valignment="top" topline="true" bottomline="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" usebox="none">
24299 \begin_layout Plain Layout
24318 \begin_layout Subsection
24320 \begin_inset Index idx
24323 \begin_layout Plain Layout
24324 Table Customization ! Dashed Lines
24332 \begin_layout Standard
24336 \begin_layout Plain Layout
24346 \begin_inset Note Note
24349 \begin_layout Plain Layout
24350 The following section will only be displayed when the \SpecialChar LaTeX
24363 \begin_layout Standard
24364 \begin_inset Float table
24371 \begin_layout Plain Layout
24372 \begin_inset Caption Standard
24374 \begin_layout Plain Layout
24375 \begin_inset CommandInset label
24377 name "tab:Table-with-dashed"
24381 Table with dashed lines
24389 \begin_layout Plain Layout
24391 \begin_inset Tabular
24392 <lyxtabular version="3" rows="5" columns="5">
24393 <features tabularvalignment="middle">
24394 <column alignment="center" valignment="top">
24395 <column alignment="center" valignment="top">
24396 <column alignment="center" valignment="top" special=":c">
24397 <column alignment="center" valignment="top">
24398 <column alignment="center" valignment="top">
24400 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24403 \begin_layout Plain Layout
24409 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24412 \begin_layout Plain Layout
24418 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24421 \begin_layout Plain Layout
24427 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24430 \begin_layout Plain Layout
24436 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24439 \begin_layout Plain Layout
24447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24450 \begin_layout Plain Layout
24456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24459 \begin_layout Plain Layout
24465 <cell alignment="center" valignment="top" topline="true" usebox="none">
24468 \begin_layout Plain Layout
24474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24477 \begin_layout Plain Layout
24483 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24486 \begin_layout Plain Layout
24494 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24497 \begin_layout Plain Layout
24501 \begin_layout Plain Layout
24515 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24518 \begin_layout Plain Layout
24524 <cell alignment="center" valignment="top" usebox="none">
24527 \begin_layout Plain Layout
24533 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24536 \begin_layout Plain Layout
24542 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24545 \begin_layout Plain Layout
24553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24556 \begin_layout Plain Layout
24560 \begin_layout Plain Layout
24574 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24577 \begin_layout Plain Layout
24583 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
24586 \begin_layout Plain Layout
24592 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24595 \begin_layout Plain Layout
24601 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24604 \begin_layout Plain Layout
24612 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24615 \begin_layout Plain Layout
24621 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24624 \begin_layout Plain Layout
24630 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24633 \begin_layout Plain Layout
24639 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24642 \begin_layout Plain Layout
24648 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24651 \begin_layout Plain Layout
24670 \begin_layout Standard
24672 does not natively support dashed lines, so you have to use \SpecialChar TeX
24674 As a prerequisite the \SpecialChar LaTeX
24680 \begin_inset Index idx
24683 \begin_layout Plain Layout
24685 -packages ! arydshln
24690 must be loaded in the document preamble with the command
24693 \begin_layout Standard
24698 usepackage{arydshln}
24701 \begin_layout Standard
24702 To make a vertical line dashed, enter the colon
24703 \begin_inset Quotes eld
24707 \begin_inset Quotes erd
24710 together with the character for the horizontal alignment as \SpecialChar LaTeX
24712 the table cell dialog.
24715 \begin_layout Standard
24716 For a horizontal dashed line add the command
24719 \begin_layout Standard
24727 \begin_layout Standard
24728 in \SpecialChar TeX
24729 Code as first element of the first cell in the table row.
24732 \begin_layout Standard
24733 For dashed multicolumn lines use the command
24736 \begin_layout Standard
24741 cdashline{line number
24746 \begin_layout Standard
24747 in \SpecialChar TeX
24748 Code as the first element of the first cell in the table row.
24749 If you have for example a multicolumn spanning columns 2 to 4 and you want
24750 to have a dashed line above, add the command
24753 \begin_layout Standard
24761 \begin_layout Standard
24762 as the first element of the first cell in the row of the multicolumn.
24765 \begin_layout Standard
24766 \begin_inset VSpace bigskip
24772 \begin_layout Standard
24774 \begin_inset space ~
24778 \begin_inset CommandInset ref
24780 reference "tab:Table-with-dashed"
24785 \begin_inset Quotes eld
24793 \begin_inset Quotes erd
24796 as \SpecialChar LaTeX
24797 argument of the third column.
24798 The \SpecialChar TeX
24805 was inserted in the first cell of the third row and the \SpecialChar TeX
24807 \begin_inset Newline newline
24816 was inserted in the first cell of the fourth row.
24819 \begin_layout Standard
24820 \begin_inset VSpace bigskip
24826 \begin_layout Standard
24827 Tables with dashed lines can also be colored as shown by Table
24828 \begin_inset space ~
24832 \begin_inset CommandInset ref
24834 reference "tab:Colored-table-with"
24841 \begin_layout Standard
24845 \begin_layout Plain Layout
24851 arrayrulewidth}{1pt}
24857 \begin_inset Note Note
24860 \begin_layout Plain Layout
24861 thicker lines for better visualization of the line color
24869 \begin_layout Standard
24873 \begin_layout Plain Layout
24877 dashgapcolor{green}
24883 \begin_inset Note Note
24886 \begin_layout Plain Layout
24887 color gaps between dashes green
24895 \begin_layout Standard
24899 \begin_layout Plain Layout
24910 \begin_layout Plain Layout
24919 \begin_layout Plain Layout
24923 arrayrulecolor{red}
24927 arrayrulecolor{black}}
24933 \begin_inset Note Note
24936 \begin_layout Plain Layout
24937 color horizontal, dashed lines red
24945 \begin_layout Standard
24949 \begin_layout Plain Layout
24960 \begin_layout Plain Layout
24969 \begin_layout Plain Layout
24973 arrayrulecolor{yellow}
24977 arrayrulecolor{black}}
24983 \begin_inset Note Note
24986 \begin_layout Plain Layout
24987 color partial horizontal, dashed lines yellow
24995 \begin_layout Standard
24996 \begin_inset Float table
25003 \begin_layout Plain Layout
25004 \begin_inset Caption Standard
25006 \begin_layout Plain Layout
25007 \begin_inset CommandInset label
25009 name "tab:Colored-table-with"
25013 Colored table with dashed lines
25021 \begin_layout Plain Layout
25023 \begin_inset Tabular
25024 <lyxtabular version="3" rows="5" columns="5">
25025 <features tabularvalignment="middle">
25026 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
25027 <column alignment="center" valignment="top" width="0pt">
25028 <column alignment="center" valignment="top" width="0pt" special=":c">
25029 <column alignment="center" valignment="top">
25030 <column alignment="center" valignment="top">
25032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25035 \begin_layout Plain Layout
25041 <cell alignment="center" valignment="top" topline="true" usebox="none">
25044 \begin_layout Plain Layout
25050 <cell alignment="center" valignment="top" topline="true" usebox="none">
25053 \begin_layout Plain Layout
25059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25062 \begin_layout Plain Layout
25068 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25071 \begin_layout Plain Layout
25079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25082 \begin_layout Plain Layout
25088 <cell alignment="center" valignment="top" topline="true" usebox="none">
25091 \begin_layout Plain Layout
25097 <cell alignment="center" valignment="top" topline="true" usebox="none">
25100 \begin_layout Plain Layout
25106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25109 \begin_layout Plain Layout
25115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25118 \begin_layout Plain Layout
25126 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25129 \begin_layout Plain Layout
25133 \begin_layout Plain Layout
25146 \begin_layout Plain Layout
25160 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25163 \begin_layout Plain Layout
25169 <cell alignment="center" valignment="top" usebox="none">
25172 \begin_layout Plain Layout
25178 <cell alignment="center" valignment="top" leftline="true" usebox="none">
25181 \begin_layout Plain Layout
25187 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25190 \begin_layout Plain Layout
25198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25201 \begin_layout Plain Layout
25205 \begin_layout Plain Layout
25219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25222 \begin_layout Plain Layout
25228 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
25231 \begin_layout Plain Layout
25237 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
25240 \begin_layout Plain Layout
25246 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25249 \begin_layout Plain Layout
25257 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25260 \begin_layout Plain Layout
25266 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25269 \begin_layout Plain Layout
25275 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
25278 \begin_layout Plain Layout
25284 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
25287 \begin_layout Plain Layout
25293 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
25296 \begin_layout Plain Layout
25300 \begin_layout Plain Layout
25327 \begin_layout Standard
25331 \begin_layout Plain Layout
25345 \begin_inset Note Note
25348 \begin_layout Plain Layout
25357 \begin_layout Standard
25361 \begin_layout Plain Layout
25375 \begin_inset Note Note
25378 \begin_layout Plain Layout
25387 \begin_layout Standard
25391 \begin_layout Plain Layout
25401 \begin_inset Note Note
25404 \begin_layout Plain Layout
25413 \begin_layout Standard
25417 \begin_layout Plain Layout
25423 arrayrulewidth}{0.4pt}
25429 \begin_inset Note Note
25432 \begin_layout Plain Layout
25441 \begin_layout Standard
25442 The coloring of lines, columns and lines works as decribed in section
25443 \begin_inset space ~
25447 \begin_inset CommandInset ref
25449 reference "sec:Colored-Tables"
25454 Coloring horizontal lines works analogically as described there as well,
25455 one only needs to replace in the commands
25479 ; so one uses the command
25482 \begin_layout Standard
25492 \begin_inset Newline newline
25500 \begin_inset Newline newline
25504 \begin_inset Phantom HPhantom
25507 \begin_layout Plain Layout
25508 \begin_inset space ~
25518 arrayrulecolor{red}
25522 arrayrulecolor{black}}
25525 \begin_layout Standard
25535 \begin_layout Standard
25545 \begin_inset Newline newline
25553 \begin_inset Newline newline
25557 \begin_inset Phantom HPhantom
25560 \begin_layout Plain Layout
25561 \begin_inset space ~
25571 arrayrulecolor{red}
25575 arrayrulecolor{black}}
25578 \begin_layout Standard
25579 To get back the black line color, one needs to insert the following commands
25580 as \SpecialChar TeX
25581 Code behind the table:
25584 \begin_layout Standard
25592 \begin_layout Standard
25604 \begin_layout Standard
25612 \begin_layout Standard
25624 \begin_layout Standard
25625 To color the gaps between the dashes the command
25628 \begin_layout Standard
25633 dashgapcolor{color}
25636 \begin_layout Standard
25637 can be used in front of a table as \SpecialChar TeX
25639 color is hereby the name of a defined color.
25643 \begin_layout Standard
25651 \begin_layout Standard
25652 unsets the changes made by
25661 \begin_layout Standard
25662 \begin_inset Note Greyedout
25665 \begin_layout Plain Layout
25671 : If there are multiple commands in a cell, the command of
25675 needs to be the first one in the cell.
25681 \begin_inset space ~
25685 \begin_inset CommandInset ref
25687 reference "tab:Colored-table-with"
25711 \begin_layout Standard
25712 \begin_inset Note Greyedout
25715 \begin_layout Plain Layout
25721 The \SpecialChar LaTeX
25726 must be loaded in the document preamble before the \SpecialChar LaTeX
25732 \begin_inset Index idx
25735 \begin_layout Plain Layout
25737 -packages ! colortbl
25750 \begin_layout Standard
25754 \begin_layout Plain Layout
25764 \begin_inset Note Note
25767 \begin_layout Plain Layout
25768 The following will be displayed when the \SpecialChar LaTeX
25781 \begin_layout Standard
25782 You need to install the package
25786 to see the content of this section in the output.
25789 \begin_layout Standard
25793 \begin_layout Plain Layout
25805 \begin_layout Standard
25806 For more information about dashed lines see the documentation of
25811 \begin_inset CommandInset citation
25821 \begin_layout Chapter
25823 \begin_inset CommandInset label
25830 \begin_inset Index idx
25833 \begin_layout Plain Layout
25842 \begin_layout Section
25844 \begin_inset CommandInset label
25846 name "sec:FloatIntroduction"
25851 \begin_inset Index idx
25854 \begin_layout Plain Layout
25855 Floats ! Introduction
25863 \begin_layout Standard
25864 A float is a block of text associated with some sort of label, which doesn't
25865 have a fixed location.
25867 \begin_inset Quotes eld
25871 \begin_inset Quotes erd
25874 forward or backward a page or two, to wherever it fits best.
25882 \begin_inset space ~
25887 are also floats because they can float to the next page when there are
25888 too many notes on the page.
25891 \begin_layout Standard
25892 Floats allow a high quality layout.
25893 Images and tables can be spread evenly among the pages to avoid white space
25894 and pages without text.
25895 As the floating often destroys the context between the text and the image/table
25896 , every float can be referenced in the text.
25897 Floats are therefore numbered.
25898 Referencing is described in section
25899 \begin_inset space ~
25903 \begin_inset CommandInset ref
25905 reference "sec:Referencing-Floats"
25912 \begin_layout Standard
25913 To insert a float, use the menu
25915 Insert\SpecialChar menuseparator
25921 arg "float-insert figure"
25927 arg "float-insert table"
25935 inset, a box with a label.
25936 The label will automatically be translated to the document language in
25938 After the label you can insert the caption text.
25939 The image or table is inserted above or below the caption in a separate
25940 paragraph within the float.
25941 More about the caption placement is contained in section
25942 \begin_inset space ~
25946 \begin_inset CommandInset ref
25948 reference "sec:Caption-Placement"
25953 To keep your \SpecialChar LyX
25954 document readable, you can open and close the float box by
25955 left-clicking on the box label.
25956 A closed float box looks like this:
25957 \begin_inset Graphics
25958 filename clipart/float.png
25960 scaleBeforeRotation
25964 – a gray button with a red label.
25967 \begin_layout Standard
25968 It is recommended that you insert floats as separate standard paragraphs
25969 to avoid possible \SpecialChar LaTeX
25970 -errors that can occur when the surrounding text is specially
25974 \begin_layout Standard
25975 Existing figures or tables can be put into a float by highlighting them
25976 and then pressing the corresponding toolbar button for a new float.
25979 \begin_layout Section
25983 \begin_layout Standard
25984 Besides figure and table floats that are described in sections
25985 \begin_inset space ~
25989 \begin_inset CommandInset ref
25991 reference "sec:Figure-Floats"
25996 \begin_inset CommandInset ref
25998 reference "sec:Table-Floats"
26002 respectively, \SpecialChar LyX
26003 offers the float types
26012 The latter are explained in sec.
26013 \begin_inset space \thinspace{}
26017 \begin_inset CommandInset ref
26019 reference "sec:Wrap-Floats"
26026 \begin_layout Subsection
26028 \begin_inset Index idx
26031 \begin_layout Plain Layout
26032 Floats ! Algorithms
26040 \begin_layout Standard
26041 \begin_inset Float algorithm
26048 \begin_layout Plain Layout
26049 \begin_inset Caption Standard
26051 \begin_layout Plain Layout
26052 \begin_inset CommandInset label
26054 name "alg:Example-Algorithm-float"
26058 Example Algorithm float
26066 \begin_layout LyX-Code
26068 \begin_inset Newline newline
26071 Sum := Sum + A(I); /* comment */
26072 \begin_inset Newline newline
26076 \begin_inset VSpace -4mm
26087 \begin_layout Standard
26088 This float type is inserted with the menu
26090 Insert\SpecialChar menuseparator
26091 Float\SpecialChar menuseparator
26095 It is used for program codes and descriptions of algorithms and can be
26096 seen as an alternative to program code listings that are explained in chapter
26097 \begin_inset space ~
26101 \begin_inset CommandInset ref
26103 reference "cha:Program-Code-Listings"
26108 A possible environment for algorithms is the
26113 , described in \SpecialChar LyX
26120 \begin_inset space ~
26124 \begin_inset CommandInset ref
26126 reference "alg:Example-Algorithm-float"
26130 is an example of an algorithm float where -4
26131 \begin_inset space \thinspace{}
26134 mm vertical space was added at the end of the float to have the bottom rule
26135 exactly below the last text line.
26138 \begin_layout Standard
26139 The float label is not automatically translated into the document language.
26140 If your document is not in English, you have to do this manually by adding
26141 the following line to the document preamble
26146 \begin_layout Standard
26151 floatname{algorithm}{your
26152 \begin_inset space ~
26158 \begin_layout Standard
26162 \begin_inset space ~
26168 \begin_inset Quotes eld
26176 \begin_inset Quotes erd
26182 \begin_layout Standard
26183 To insert the list of algorithms you can use the menu
26185 Insert\SpecialChar menuseparator
26187 \begin_inset space \thinspace{}
26191 \begin_inset space \thinspace{}
26194 TOC\SpecialChar menuseparator
26197 when your document has the same language as \SpecialChar LyX
26199 In other cases use this command in \SpecialChar TeX
26203 \begin_layout Standard
26208 listof{algorithm}{your
26209 \begin_inset space ~
26215 \begin_layout Standard
26219 \begin_inset space ~
26225 \begin_inset Quotes eld
26233 \begin_inset Quotes erd
26239 \begin_layout Standard
26240 Algorithm floats are not by default numbered in the scheme
26241 \begin_inset Quotes eld
26245 \begin_inset Quotes erd
26248 as is the case for table and figure floats in many document-classes.
26249 To number algorithm floats in the same scheme, add this command to your
26253 \begin_layout Standard
26258 numberwithin{algorithm}{chapter}
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 Section
26297 \begin_inset Index idx
26300 \begin_layout Plain Layout
26309 \begin_layout Standard
26310 Floats are usually numbered either independently from the sections the floats
26311 are in, or in the scheme
26312 \begin_inset Quotes eld
26316 \begin_inset Quotes erd
26320 \begin_inset Quotes eld
26324 \begin_inset Quotes erd
26328 This depends on the document class used.
26331 \begin_layout Standard
26332 To change section-independent numbering, you can use this command in the
26336 \begin_layout Standard
26348 \begin_layout Standard
26355 is the command that prints the table number.
26356 For figure floats, the command would be
26369 in the command above prints the table number as a small roman number.
26372 \begin_layout Standard
26373 To change the numbering scheme for example to
26374 \begin_inset Quotes eld
26378 \begin_inset Quotes erd
26381 , use this command in the preamble:
26384 \begin_layout Standard
26389 numberwithin{table}{subsection}
26392 \begin_layout Standard
26393 To be able to use the command
26402 \begin_inset space ~
26407 in the document settings the option
26410 \begin_inset space ~
26414 \begin_inset space ~
26418 \begin_inset space ~
26426 \begin_layout Standard
26427 Please also have a look at section
26428 \begin_inset space ~
26432 \begin_inset CommandInset ref
26434 reference "subsec:Footnote-Numbering"
26438 for the details and important notes about the numbering commands.
26441 \begin_layout Section
26443 \begin_inset CommandInset label
26445 name "sec:Referencing-Floats"
26450 \begin_inset Index idx
26453 \begin_layout Plain Layout
26454 Floats ! References
26460 \begin_inset Index idx
26463 \begin_layout Plain Layout
26464 References ! to Floats
26472 \begin_layout Standard
26473 To reference a float, insert a label into its caption using the menu
26475 Insert\SpecialChar menuseparator
26478 or the toolbar button
26485 A grey label box like this one:
26486 \begin_inset Graphics
26487 filename clipart/label.png
26488 scaleBeforeRotation
26492 will be inserted and the label window pops up asking for the label text.
26494 offers as text the first words of the caption with a prefix.
26495 The prefix depends on the float type, e.
26496 \begin_inset space \thinspace{}
26500 \begin_inset space \space{}
26503 for figure floats the prefix will be "
26510 \begin_layout Standard
26511 The label is used as anchor and name for the reference.
26512 You can refer to the label using the menu
26514 Insert\SpecialChar menuseparator
26517 or the toolbar button
26520 arg "dialog-show-new-inset ref"
26524 The cross-reference window appears showing all labels of the document.
26525 If you have multiple \SpecialChar LyX
26526 documents opened, choose the one you are working
26527 on from the drop-list at the top of the dialog.
26528 You can now sort the labels alphabetically and then choose one.
26529 A grey cross-reference box like this one:
26530 \begin_inset Graphics
26531 filename clipart/reference.png
26532 scaleBeforeRotation
26537 At the position of the cross-reference box the float number will appear
26541 \begin_layout Standard
26542 It is recommended that you use a protected space between the cross-reference
26543 name and its number to avoid line breaks between them.
26544 If a cross-reference refers to a non-existing label, you will see two question
26545 marks in the output instead of the reference.
26548 \begin_layout Standard
26549 You can change labels at any time by clicking on the label box.
26550 References to the changed label will automatically update their links to
26551 the new label text.
26554 \begin_layout Standard
26558 \begin_inset space ~
26562 \begin_inset space ~
26567 in the cross-reference window sets the cursor before the referred label.
26568 The button text changes then to Go
26569 \begin_inset space ~
26572 Back and you can use it to set the cursor back to the cross-reference.
26575 \begin_layout Subsection
26576 Cross-Reference Formats
26577 \begin_inset CommandInset label
26579 name "subsec:Cross-Reference-Formats"
26584 \begin_inset Index idx
26587 \begin_layout Plain Layout
26588 References ! Formats
26596 \begin_layout Standard
26597 There are six varieties of cross-references:
26600 \begin_layout Description
26601 <reference>: prints the float number, this is the default:
26602 \begin_inset CommandInset ref
26604 reference "fig:Two-distorted-images"
26611 \begin_layout Description
26612 (<reference>): prints the float number within two parentheses, this is the
26613 style normally used to reference formulas, especially when the reference
26615 \begin_inset Quotes eld
26619 \begin_inset Quotes erd
26623 \begin_inset CommandInset ref
26632 \begin_layout Description
26633 <page>: prints the page number: Page
26634 \begin_inset space ~
26638 \begin_inset CommandInset ref
26639 LatexCommand pageref
26640 reference "fig:Two-distorted-images"
26647 \begin_layout Description
26649 \begin_inset space ~
26653 \begin_inset space ~
26656 <page>: prints the text "on page" and the page number:
26657 \begin_inset CommandInset ref
26658 LatexCommand vpageref
26659 reference "fig:Two-distorted-images"
26666 \begin_layout Description
26668 \begin_inset space ~
26672 \begin_inset space ~
26676 \begin_inset space ~
26679 <page>: prints the float number, the text "on page", and the page number:
26681 \begin_inset CommandInset ref
26683 reference "fig:Two-distorted-images"
26690 \begin_layout Description
26692 \begin_inset space ~
26695 reference: prints a self-defined cross-reference format.
26696 \begin_inset Newline newline
26700 \begin_inset Note Greyedout
26703 \begin_layout Plain Layout
26708 This feature is only available when you have the \SpecialChar LaTeX
26718 \begin_inset Index idx
26721 \begin_layout Plain Layout
26723 -packages ! prettyref
26729 \begin_inset Index idx
26732 \begin_layout Plain Layout
26734 -packages ! refstyle
26745 \begin_inset Newline newline
26748 You can select which \SpecialChar LaTeX
26749 -package should be used for this feature by setting
26752 Use refstyle (not prettyref) for cross-references
26756 Document\SpecialChar menuseparator
26757 Settings\SpecialChar menuseparator
26761 The format is specified by adding the command
26773 (refstyle) to the preamble of the document.
26774 For example redefining all references to figures (which have the label
26776 \begin_inset Quotes eld
26784 \begin_inset Quotes erd
26787 ) can be done with this command
26788 \begin_inset Newline newline
26795 newref{fig}{refcmd={Image on page
26800 \begin_inset Newline newline
26803 For more information about the format, have a look at the package documentations
26805 \begin_inset CommandInset citation
26807 key "prettyref,refstyle"
26813 \begin_inset Newline newline
26824 are only available if you use the \SpecialChar LaTeX
26839 \begin_inset space \thinspace{}
26843 \begin_inset space \space{}
26847 \begin_inset Quotes eld
26851 \begin_inset Quotes erd
26858 outputs the name capitalized, e.
26859 \begin_inset space \thinspace{}
26863 \begin_inset space \space{}
26867 \begin_inset Quotes eld
26871 \begin_inset Quotes erd
26875 Both options can be combined to get e.
26876 \begin_inset space \thinspace{}
26880 \begin_inset space \space{}
26884 \begin_inset Quotes eld
26888 \begin_inset Quotes erd
26894 \begin_layout Description
26896 \begin_inset space ~
26899 reference: prints the caption of the reference:
26900 \begin_inset CommandInset ref
26901 LatexCommand nameref
26902 reference "fig:Two-distorted-images"
26909 \begin_layout Description
26911 \begin_inset space ~
26914 only: prints only the \SpecialChar LaTeX
26915 label for the reference:
26916 \begin_inset CommandInset ref
26917 LatexCommand labelonly
26918 reference "fig:Two-distorted-images"
26926 \begin_inset Newline newline
26929 This allows to use the label for commands in \SpecialChar TeX
26935 one can omit the prefix of the label name:
26936 \begin_inset CommandInset ref
26937 LatexCommand labelonly
26938 reference "fig:Two-distorted-images"
26948 \begin_layout Standard
26953 will not print the page number if the label is on the previous, the same,
26956 \begin_inset space \thinspace{}
26960 \begin_inset space \space{}
26964 \begin_inset Quotes eld
26972 \begin_inset Quotes erd
26978 <reference> on page <page>
26980 will not print anything about the page if the label is on the same page.
26983 \begin_layout Standard
26984 The number and current page of the part of the document referred to in the
26985 output is automatically calculated by \SpecialChar LaTeX
26987 The varieties are adjusted in the field
26991 of the cross-reference window that appears when you click on the cross-referenc
26995 \begin_layout Standard
26996 \begin_inset Note Greyedout
26999 \begin_layout Plain Layout
27004 It is recommended to use the \SpecialChar LaTeX
27010 \begin_inset Index idx
27013 \begin_layout Plain Layout
27015 -packages ! refstyle
27025 \begin_inset Index idx
27028 \begin_layout Plain Layout
27030 -packages ! prettyref
27035 does not know all of \SpecialChar LyX
27036 's possible label shortcuts
27040 \begin_layout Plain Layout
27041 \begin_inset Quotes eld
27045 \begin_inset Quotes erd
27048 is for example \SpecialChar LyX
27049 's shortcut for labels in figure captions.
27054 and is not internationalized.
27062 \begin_layout Subsection
27063 Automatic Reference Naming
27064 \begin_inset Index idx
27067 \begin_layout Plain Layout
27068 References ! Automatic Reference Naming
27076 \begin_layout Standard
27077 The \SpecialChar LaTeX
27083 \begin_inset Index idx
27086 \begin_layout Plain Layout
27088 -packages ! hyperref
27093 , that is enabled in the
27101 dialog, provides a very useful feature that cross-references automatically
27102 include the name of the referenced floats (or text parts like
27107 So you will save having to write e.
27108 \begin_inset space \thinspace{}
27112 \begin_inset space \space{}
27116 \begin_inset Quotes eld
27120 \begin_inset Quotes erd
27123 before every reference to a figure.
27124 To use this feature, enable
27128 and insert this line to the \SpecialChar LaTeX
27132 \begin_layout Standard
27148 \begin_layout Standard
27149 When you prefer other reference names than the default ones, for example
27150 you want instead of
27151 \begin_inset Quotes eld
27155 \begin_inset Quotes erd
27159 \begin_inset Quotes eld
27163 \begin_inset space \thinspace{}
27167 \begin_inset Quotes eld
27170 , you can redefine the name by inserting this in the preamble:
27173 \begin_layout Standard
27184 sectionautorefname}
27185 \begin_inset Newline newline
27189 \begin_inset Phantom HPhantom
27192 \begin_layout Plain Layout
27195 \begin_inset space ~
27208 \begin_layout Standard
27209 When you are using another document language than English, replace
27210 \begin_inset Newline newline
27225 , where *** is the name of the language used.
27228 \begin_layout Standard
27229 To get automatic names, but not for certain reference types, for example
27230 not for equations, use this preamble code:
27233 \begin_layout Standard
27244 equationautorefname}[1]{}}
27247 \begin_layout Standard
27248 More about this topic can be found in
27253 \begin_inset CommandInset citation
27263 \begin_layout Standard
27264 \begin_inset Note Greyedout
27267 \begin_layout Plain Layout
27272 Automatic reference naming cannot be used when you use cross-references
27276 \begin_inset space ~
27281 style, as described in section
27282 \begin_inset space ~
27286 \begin_inset CommandInset ref
27288 reference "subsec:Cross-Reference-Formats"
27300 \begin_layout Standard
27305 manual is an example where automatic reference naming is used.
27308 \begin_layout Subsection
27310 \begin_inset CommandInset label
27312 name "subsec:Reference-Position"
27317 \begin_inset Index idx
27320 \begin_layout Plain Layout
27321 References ! Reference Position
27329 \begin_layout Standard
27335 \begin_inset Index idx
27338 \begin_layout Plain Layout
27340 -packages ! hyperref
27353 dialog to link cross-references in the output, you will see that clicking
27354 on an image float reference jumps to the image label.
27355 The caption will be the first text part on the screen, so that you cannot
27356 see the image without scrolling.
27357 This is because the reference link anchor is placed at the position of
27359 With the use of the package
27364 \begin_inset Index idx
27367 \begin_layout Plain Layout
27374 , which is part of the \SpecialChar LaTeX
27380 \begin_inset Index idx
27383 \begin_layout Plain Layout
27385 -packages ! oberdiek
27390 , the link anchor is placed at the beginning of a float.
27391 To use this feature for figure floats, load
27395 in the document preamble with the line
27398 \begin_layout Standard
27403 usepackage[figure]{hypcap}
27406 \begin_layout Standard
27411 for all float types but this is not recommended for stability reasons.
27412 For more information, have a look at
27417 \begin_inset CommandInset citation
27427 \begin_layout Standard
27428 \begin_inset Note Greyedout
27431 \begin_layout Plain Layout
27440 has no effect on references to subfigures.
27448 \begin_layout Section
27450 \change_deleted -712698321 1526031763
27452 \change_inserted -712698321 1526031765
27456 \begin_inset CommandInset label
27458 name "sec:Float-Settings"
27463 \begin_inset Index idx
27466 \begin_layout Plain Layout
27468 \change_deleted -712698321 1526031841
27470 \change_inserted -712698321 1526031842
27481 \begin_layout Standard
27483 \change_inserted -712698321 1526033385
27484 Float Settings can be adjusted at two places in \SpecialChar LyX
27486 \change_inserted 630872221 1622709604
27488 \change_deleted 630872221 1622709603
27490 \change_inserted -712698321 1526033385
27493 Document\SpecialChar menuseparator
27494 Settings\SpecialChar ldots
27495 \SpecialChar menuseparator
27498 , you can set some options that are used by default for all floats of the
27499 document (placement on page and alignment of contents), unless you modify
27500 the local settings of a float.
27505 \begin_layout Standard
27507 \change_inserted -712698321 1526032513
27508 The latter can be done by
27509 \change_deleted -712698321 1526032513
27511 \change_inserted -712698321 1526032513
27514 ight-clicking on a float-box and clicking on
27517 \change_inserted -712698321 1526033387
27524 \change_inserted -712698321 1526032520
27527 opens a dialog where you can
27528 \change_inserted -712698321 1526032584
27529 , now only for the given float,
27532 \change_inserted -712698321 1526033452
27536 \change_deleted -712698321 1526033439
27537 options that \SpecialChar LaTeX
27538 uses for positioning the float
27539 \change_inserted -712698321 1526033493
27540 and alignment options, and adapt some other options that are only available
27545 \change_inserted -712698321 1526032658
27546 All these options, both for
27548 Document\SpecialChar menuseparator
27549 Settings\SpecialChar menuseparator
27556 , are described in turn.
27557 \change_deleted -712698321 1526031652
27559 \begin_inset Newline newline
27565 \begin_inset space ~
27570 is only useful for two-column documents: If you select it, the float will
27571 span both columns on the page instead of being confined to just one.
27572 \begin_inset Newline newline
27578 \begin_inset space ~
27583 is used to rotate floats, see section
27584 \begin_inset CommandInset ref
27586 reference "sec:Rotated-Floats"
27595 \begin_layout Subsection
27597 \change_inserted -712698321 1526031775
27599 \begin_inset CommandInset label
27601 name "sec:Float-Placement"
27606 \begin_inset Index idx
27609 \begin_layout Plain Layout
27611 \change_inserted -712698321 1526031775
27624 \begin_layout Standard
27626 \change_inserted -712698321 1526032697
27629 Document\SpecialChar menuseparator
27630 Settings\SpecialChar menuseparator
27638 \change_deleted -712698321 1526032811
27639 You can use one or more of the following options in the float dialog to
27641 \change_inserted -712698321 1526032812
27645 \change_inserted -712698321 1526033558
27646 algorithm that \SpecialChar LaTeX
27647 uses for positioning floats on the page, either
27650 \change_inserted -712698321 1526033535
27653 Document\SpecialChar menuseparator
27654 Settings\SpecialChar menuseparator
27660 \change_inserted -712698321 1526033570
27671 By default, this is set to
27674 \change_inserted -712698321 1526033604
27681 Document\SpecialChar menuseparator
27682 Settings\SpecialChar menuseparator
27685 (meaning that the default placement algorithm of the document class is
27694 dialog (meaning that the settings in
27696 Document\SpecialChar menuseparator
27697 Settings\SpecialChar menuseparator
27700 are used, which are the Class Defaults by default).
27701 If you want to change this,
27702 \change_deleted -712698321 1526033009
27704 \change_inserted -712698321 1526033535
27708 \change_deleted -712698321 1526031920
27710 \change_inserted -712698321 1526033535
27713 Placement Settings:
27718 \change_inserted -712698321 1526033535
27722 \change_deleted -712698321 1526031908
27724 \begin_inset space ~
27728 \begin_inset space ~
27732 \change_inserted -712698321 1526033535
27735 This allows you to select one or more from
27740 \begin_layout Description
27742 \begin_inset space ~
27746 \begin_inset space ~
27749 possible try to place the float on the position where it has been inserted
27750 \change_inserted 630872221 1622713522
27754 \begin_layout Description
27756 \change_inserted 630872221 1622713704
27758 \begin_inset space ~
27761 definitely forces the placement of the float on the position where it has
27767 \begin_layout Description
27769 \begin_inset space ~
27773 \begin_inset space ~
27776 page try to place the float at the top of the current page
27779 \begin_layout Description
27781 \begin_inset space ~
27785 \begin_inset space ~
27788 page try to place the float at the bottom of the current page
27791 \begin_layout Description
27793 \begin_inset space ~
27797 \begin_inset space ~
27800 floats try to place the float on its own page
27803 \begin_layout Standard
27804 The order of the above option is
27808 used by \SpecialChar LaTeX
27810 That means, if you use the default placement, \SpecialChar LaTeX
27814 \begin_inset space ~
27818 \begin_inset space ~
27826 \begin_inset space ~
27830 \begin_inset space ~
27835 , and then the others.
27836 If you do not use the default, \SpecialChar LaTeX
27837 will try only the checked options but in
27840 \begin_inset space ~
27843 placements is possible the procedure is internally repeated trying to put
27844 the float on the following page.
27847 \begin_layout Standard
27848 By default, each option has its own rules:
27851 \begin_layout Labeling
27852 \labelwidthstring 00.00.0000
27856 \begin_inset space ~
27860 \begin_inset space ~
27865 only floats occupying less than 70
27866 \begin_inset space \thinspace{}
27869 % of the page can be placed at the top of a page (
27878 \begin_layout Labeling
27879 \labelwidthstring 00.00.0000
27883 \begin_inset space ~
27887 \begin_inset space ~
27892 : only floats occupying less than 30
27893 \begin_inset space \thinspace{}
27896 % of the page can be placed at the bottom of a page.
27906 \begin_layout Labeling
27907 \labelwidthstring 00.00.0000
27911 \begin_inset space ~
27915 \begin_inset space ~
27920 : only if more than 50
27921 \begin_inset space \thinspace{}
27924 % of the page is occupied by floats, several floats can be set together
27935 \begin_layout Standard
27936 If you don't like these rules, you can ignore them by using the additional
27940 \begin_inset space ~
27945 \begin_inset space ~
27951 \begin_inset Newline newline
27954 You can also redefine the rules with \SpecialChar LaTeX
27955 -commands that are given in parentheses
27956 after the rules description above.
27957 To increase for example the often too small default of the bottom-rule
27959 \begin_inset space \thinspace{}
27962 % of the page, add this line to your document preamble:
27965 \begin_layout Standard
27972 bottomfraction}{0.5}
27975 \begin_layout Standard
27976 Sometimes you might need, under all circumstances, a float to be placed
27977 exactly at the position where it is inserted.
27978 For this case you can use the option
27981 \begin_inset space ~
27987 Use this option very rarely and only if the document is almost ready to
27988 be printed, because the float is then no longer able to
27989 \begin_inset Quotes eld
27993 \begin_inset Quotes erd
27996 when you change your document and this will often destroy the page layout.
27999 \begin_layout Standard
28000 There are no placement options for text wrap floats, because they are always
28001 surrounded by the text of a certain paragraph.
28002 \begin_inset VSpace bigskip
28008 \begin_layout Standard
28009 Sometimes you have the problem that a float is placed at the top of a page
28010 while its corresponding section starts at the middle of the page, so that
28011 the reader could think the float is part of the previous section.
28012 To avoid this the \SpecialChar LaTeX
28020 It suppresses a given float placement for the page where it is inserted
28021 and can therefore be used to avoid floats being set before a section starts.
28022 To get this, add these commands to your document preamble:
28025 \begin_layout Standard
28035 \begin_inset Newline newline
28049 \begin_layout Standard
28050 You can define the same for all section headings, like chapters and subsections.
28051 This definition is not recommended to be used for small text parts like
28052 subsubsections because \SpecialChar LaTeX
28053 may then have problems finding a suitable placement.
28056 \begin_layout Standard
28057 \begin_inset VSpace bigskip
28060 In some cases it is required to have all figures/tables at the end of the
28062 For this purpose the \SpecialChar LaTeX
28068 \begin_inset Index idx
28071 \begin_layout Plain Layout
28073 -packages ! endfloat
28079 It puts all figure and table floats at the end of the document into their
28081 At the original float position a text hint like
28082 \begin_inset Quotes eld
28088 \begin_inset space ~
28094 \begin_inset Quotes erd
28098 The endfloat-package is loaded in the preamble with the line
28101 \begin_layout Standard
28106 usepackage[options]{endfloat}
28109 \begin_layout Standard
28110 There are various package options to format the created figure/table sections.
28111 For more information we refer you to the
28116 \begin_inset CommandInset citation
28124 \begin_inset Newline newline
28128 \begin_inset Note Greyedout
28131 \begin_layout Plain Layout
28136 doesn't provide an automatic translation for the text hint, you have to
28137 do this manually, see section
28138 \begin_inset space ~
28142 \begin_inset CommandInset citation
28155 \begin_inset Newline newline
28159 \begin_inset Note Greyedout
28162 \begin_layout Plain Layout
28167 There is currently a bug in
28171 when the caption contains a German
28172 \begin_inset Quotes eld
28176 \begin_inset Quotes erd
28180 Use in this case the command
28181 \begin_inset Quotes eld
28191 \begin_inset Quotes erd
28194 in \SpecialChar TeX
28196 \begin_inset Quotes eld
28200 \begin_inset Quotes erd
28211 \begin_layout Standard
28212 \begin_inset VSpace bigskip
28215 For more details about float placements, have a look at \SpecialChar LaTeX
28217 \begin_inset CommandInset citation
28219 key "latexcompanion,latexguide,latexbook"
28225 \change_inserted -712698321 1526030561
28229 \begin_layout Subsection
28231 \change_inserted -712698321 1526031989
28232 Alignment of Float Contents
28235 \begin_layout Standard
28237 \change_inserted -712698321 1526032316
28238 In this list of options, you can define how the contents of a float (or
28239 all floats by default, if selected from
28241 Document\SpecialChar menuseparator
28249 means that the alignment of the class, or the default alignment of \SpecialChar LaTeX
28256 (only visible in the
28262 Document\SpecialChar menuseparator
28265 ) takes the setting specified in
28267 Document\SpecialChar menuseparator
28268 Settings\SpecialChar menuseparator
28272 The other three options,
28284 , are self-explanatory.
28285 If one of these is selected in
28287 Document\SpecialChar menuseparator
28288 Settings\SpecialChar menuseparator
28291 , all floats of the document will have this setting by default (so it is
28292 fairly easy, for instance, to center all floats).
28297 \begin_layout Subsection
28299 \change_inserted -712698321 1526030571
28300 Other Float Options
28303 \begin_layout Standard
28305 \change_inserted -712698321 1526035716
28306 These two options are only visible in the local
28312 Document\SpecialChar menuseparator
28318 \begin_layout Standard
28320 \change_inserted -712698321 1526033931
28324 \begin_inset space ~
28329 is useful for two-column documents: If you select it, the float will span
28330 both columns on the page instead of being confined to just one.
28333 \begin_layout Standard
28335 \change_inserted -712698321 1526030572
28339 \begin_inset space ~
28344 is used to rotate floats, see section
28345 \begin_inset CommandInset ref
28347 reference "sec:Rotated-Floats"
28356 \begin_layout Section
28358 \begin_inset CommandInset label
28360 name "sec:Rotated-Floats"
28365 \begin_inset Index idx
28368 \begin_layout Plain Layout
28377 \begin_layout Standard
28378 Especially for wide tables you might have floats rotated.
28379 To rotate a whole float including the caption, right-click on the float-box
28383 \begin_inset space ~
28391 \begin_layout Standard
28392 Rotated floats are always placed on a page of their own (or column of their
28393 own; in case you have a multi-column document).
28394 You can let them span several columns using the float settings option
28397 \begin_inset space ~
28403 Floats are rotated so that you can read them from the outside margin.
28404 To force a certain rotation direction for all pages, you can add either
28413 to the document class options.
28416 \begin_layout Standard
28417 Referencing rotated floats is the same as for normal floats, the caption
28418 format is also the same: Table
28419 \begin_inset space ~
28423 \begin_inset CommandInset ref
28425 reference "tab:Rotated-table"
28429 is an example of a rotated table float.
28432 \begin_layout Standard
28433 \begin_inset Note Greyedout
28436 \begin_layout Plain Layout
28441 Not all DVI-viewers are able to display rotated floats.
28449 \begin_layout Standard
28450 \begin_inset Float table
28457 \begin_layout Plain Layout
28458 \begin_inset Caption Standard
28460 \begin_layout Plain Layout
28461 \begin_inset CommandInset label
28463 name "tab:Rotated-table"
28475 \begin_layout Plain Layout
28477 \begin_inset Tabular
28478 <lyxtabular version="3" rows="1" columns="5">
28479 <features tabularvalignment="middle">
28480 <column alignment="center" valignment="top">
28481 <column alignment="center" valignment="top">
28482 <column alignment="center" valignment="top">
28483 <column alignment="center" valignment="top">
28484 <column alignment="center" valignment="top">
28486 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28489 \begin_layout Plain Layout
28495 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28498 \begin_layout Plain Layout
28504 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28507 \begin_layout Plain Layout
28513 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28516 \begin_layout Plain Layout
28522 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28525 \begin_layout Plain Layout
28544 \begin_layout Section
28546 \begin_inset Index idx
28549 \begin_layout Plain Layout
28558 \begin_layout Standard
28559 Subfloats are for example used when a figure consists of several images.
28560 They are created by inserting a float into an existing float.
28561 The placement of the subfloats can be controlled in the same way as for
28562 paragraphs as shown in table
28563 \begin_inset space ~
28567 \begin_inset CommandInset ref
28569 reference "tab:Two-subtables-side"
28574 \begin_inset CommandInset ref
28576 reference "tab:Two-subtables-upon"
28583 \begin_layout Standard
28584 Referencing subfloats works as for normal floats: Table
28585 \begin_inset space ~
28589 \begin_inset CommandInset ref
28591 reference "tab:This-is-subtable-a"
28596 \begin_inset CommandInset ref
28598 reference "tab:This-is-subtable-b"
28602 are subtables of table
28603 \begin_inset space ~
28607 \begin_inset CommandInset ref
28609 reference "tab:Two-subtables-side"
28616 \begin_layout Standard
28617 \begin_inset Float table
28624 \begin_layout Plain Layout
28625 \begin_inset Caption Standard
28627 \begin_layout Plain Layout
28628 \begin_inset CommandInset label
28630 name "tab:Two-subtables-side"
28634 Two subtables placed side by side.
28642 \begin_layout Plain Layout
28644 \begin_inset space \hfill{}
28648 \begin_inset Float table
28655 \begin_layout Plain Layout
28656 \begin_inset Caption Standard
28658 \begin_layout Plain Layout
28659 \begin_inset CommandInset label
28661 name "tab:This-is-subtable-a"
28665 This is subtable a.
28673 \begin_layout Plain Layout
28675 \begin_inset Tabular
28676 <lyxtabular version="3" rows="1" columns="5">
28677 <features tabularvalignment="middle">
28678 <column alignment="center" valignment="top">
28679 <column alignment="center" valignment="top">
28680 <column alignment="center" valignment="top">
28681 <column alignment="center" valignment="top">
28682 <column alignment="center" valignment="top">
28684 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28687 \begin_layout Plain Layout
28693 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28696 \begin_layout Plain Layout
28702 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28705 \begin_layout Plain Layout
28711 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28714 \begin_layout Plain Layout
28720 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28723 \begin_layout Plain Layout
28740 \begin_inset space \hfill{}
28744 \begin_inset Float table
28751 \begin_layout Plain Layout
28752 \begin_inset Caption Standard
28754 \begin_layout Plain Layout
28755 \begin_inset CommandInset label
28757 name "tab:This-is-subtable-b"
28761 This is subtable b.
28769 \begin_layout Plain Layout
28771 \begin_inset Tabular
28772 <lyxtabular version="3" rows="1" columns="5">
28773 <features tabularvalignment="middle">
28774 <column alignment="center" valignment="top">
28775 <column alignment="center" valignment="top">
28776 <column alignment="center" valignment="top">
28777 <column alignment="center" valignment="top">
28778 <column alignment="center" valignment="top">
28780 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28783 \begin_layout Plain Layout
28789 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28792 \begin_layout Plain Layout
28798 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28801 \begin_layout Plain Layout
28807 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28810 \begin_layout Plain Layout
28816 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28819 \begin_layout Plain Layout
28836 \begin_inset space \hfill{}
28847 \begin_layout Standard
28848 \begin_inset Float table
28855 \begin_layout Plain Layout
28856 \begin_inset Caption Standard
28858 \begin_layout Plain Layout
28859 \begin_inset CommandInset label
28861 name "tab:Two-subtables-upon"
28865 Two subtables placed one above the other.
28866 (a) table with 4 cells, (b) table with 5 cells.
28874 \begin_layout Plain Layout
28876 \begin_inset Float table
28883 \begin_layout Plain Layout
28884 \begin_inset Caption Standard
28886 \begin_layout Plain Layout
28895 \begin_layout Plain Layout
28897 \begin_inset Tabular
28898 <lyxtabular version="3" rows="1" columns="4">
28899 <features tabularvalignment="middle">
28900 <column alignment="center" valignment="top">
28901 <column alignment="center" valignment="top">
28902 <column alignment="center" valignment="top">
28903 <column alignment="center" valignment="top">
28905 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28908 \begin_layout Plain Layout
28914 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28917 \begin_layout Plain Layout
28923 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28926 \begin_layout Plain Layout
28932 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28935 \begin_layout Plain Layout
28954 \begin_layout Plain Layout
28956 \begin_inset Float table
28963 \begin_layout Plain Layout
28964 \begin_inset Caption Standard
28966 \begin_layout Plain Layout
28975 \begin_layout Plain Layout
28977 \begin_inset Tabular
28978 <lyxtabular version="3" rows="1" columns="5">
28979 <features tabularvalignment="middle">
28980 <column alignment="center" valignment="top">
28981 <column alignment="center" valignment="top">
28982 <column alignment="center" valignment="top">
28983 <column alignment="center" valignment="top">
28984 <column alignment="center" valignment="top">
28986 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28989 \begin_layout Plain Layout
28995 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28998 \begin_layout Plain Layout
29004 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29007 \begin_layout Plain Layout
29013 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29016 \begin_layout Plain Layout
29022 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29025 \begin_layout Plain Layout
29049 \begin_layout Section
29050 Floats Side by Side
29051 \begin_inset Index idx
29054 \begin_layout Plain Layout
29055 Floats ! Side by side
29063 \begin_layout Standard
29064 To place floats side by side, as in Figures
29065 \begin_inset space ~
29069 \begin_inset CommandInset ref
29071 reference "fig:Float-left"
29076 \begin_inset CommandInset ref
29078 reference "fig:Float-right"
29087 In it two minipage boxes are inserted.
29091 \begin_layout Plain Layout
29092 Minipages are explained in section
29093 \begin_inset space ~
29097 \begin_inset CommandInset ref
29099 reference "sec:Minipages"
29108 The width is set to 45
29109 \begin_inset space \thinspace{}
29113 \begin_inset space \thinspace{}
29116 column% and the box alignment to
29121 The minipage boxes contain the image and the caption in the same way as
29122 they are in a float.
29123 The only difference is that the image unit
29126 \begin_inset space ~
29130 \begin_inset space ~
29135 is now calculated according to the width of the minipage boxes.
29138 \begin_layout Standard
29139 \begin_inset Float figure
29146 \begin_layout Plain Layout
29147 \begin_inset Box Frameless
29157 height_special "totalheight"
29162 backgroundcolor "none"
29165 \begin_layout Plain Layout
29167 \begin_inset Graphics
29168 filename clipart/2D-intensity-plot.pdf
29170 scaleBeforeRotation
29177 \begin_layout Plain Layout
29178 \begin_inset Caption Standard
29180 \begin_layout Plain Layout
29181 \begin_inset CommandInset label
29183 name "fig:Float-left"
29187 Float on the left side.
29198 \begin_inset space \hfill{}
29202 \begin_inset Box Frameless
29212 height_special "totalheight"
29217 backgroundcolor "none"
29220 \begin_layout Plain Layout
29222 \begin_inset Graphics
29223 filename clipart/Star-structure.pdf
29225 scaleBeforeRotation
29232 \begin_layout Plain Layout
29233 \begin_inset Caption Standard
29235 \begin_layout Plain Layout
29236 \begin_inset CommandInset label
29238 name "fig:Float-right"
29242 Float on the right side.
29260 \begin_layout Standard
29261 An alternative and simpler solution is to use the module
29263 Variable-width Minipages
29266 \begin_inset space \thinspace{}
29270 \begin_inset CommandInset ref
29272 reference "sec:Minipages"
29277 Variable-width minipages adapt automatically to the width of the figures
29279 They do not require an explicit width to be given, and they improve the
29280 horizontal alignment of the figures.
29281 The LyX example file
29283 varwidth-floats-side-by-side
29285 gives examples of how to do this.
29288 \begin_layout Section
29290 \begin_inset Index idx
29293 \begin_layout Plain Layout
29294 Caption ! Formatting
29300 \begin_inset Index idx
29303 \begin_layout Plain Layout
29304 Floats ! Caption Formatting
29310 \begin_inset CommandInset label
29312 name "sec:Caption-Formatting"
29319 \begin_layout Standard
29324 environment is the default paragraph environment for
29329 On the \SpecialChar LyX
29330 screen captions appear as a label, e.
29331 \begin_inset space \thinspace{}
29335 \begin_inset space \space{}
29339 \begin_inset Quotes eld
29347 \begin_inset Quotes erd
29350 followed by the caption text.
29352 \begin_inset Quotes eld
29356 \begin_inset Quotes erd
29359 is the actual reference number.
29360 By default the label and the number are in the same font as the caption
29361 text and a colon follows the number to divide the label from the text.
29362 This caption format is suitable for many but not all documents.
29366 \begin_layout Standard
29367 To change the default caption format, load the \SpecialChar LaTeX
29373 \begin_inset Index idx
29376 \begin_layout Plain Layout
29378 -packages ! caption
29383 in the document preamble with this line:
29386 \begin_layout Standard
29391 usepackage[format definition]{caption}
29394 \begin_layout Standard
29395 To have for example the label and the number in sans-serif, bold font and
29396 the table captions always above the table as in this document, use the
29400 \begin_layout Standard
29405 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
29408 \begin_layout Standard
29409 You can also define different caption formats for the different float types.
29410 In this case load the
29414 package without format specific options and define the different formats
29415 with the help of the command
29418 \begin_layout Standard
29423 captionsetup[float type]{format definition}
29426 \begin_layout Standard
29427 in the document preamble.
29428 For example the caption formats of Figure
29429 \begin_inset space ~
29433 \begin_inset CommandInset ref
29435 reference "fig:This-is-an-fig"
29440 \begin_inset space ~
29444 \begin_inset CommandInset ref
29446 reference "tab:This-is-an-tab"
29450 can be created using these commands in the document preamble:
29453 \begin_layout Standard
29458 usepackage[tableposition=top]{caption}
29461 \begin_inset Newline newline
29468 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
29469 \begin_inset Newline newline
29473 \begin_inset Phantom HPhantom
29476 \begin_layout Plain Layout
29481 captionsetup[figure]{
29487 \begin_inset Newline newline
29492 captionsetup[table]{labelfont={bf,sf}}
29495 \begin_layout Standard
29496 \begin_inset Note Greyedout
29499 \begin_layout Plain Layout
29508 has no effect when a
29513 \begin_inset Index idx
29516 \begin_layout Plain Layout
29518 -packages ! KOMA-Script
29523 document class is used.
29524 In this case the document class option
29526 captions=tableheading
29536 \begin_layout Standard
29537 For more information about the package
29541 we refer to its documentation
29542 \begin_inset CommandInset citation
29552 \begin_layout Standard
29553 To change the label name from e.
29554 \begin_inset space \thinspace{}
29558 \begin_inset space \space{}
29562 \begin_inset Quotes eld
29566 \begin_inset Quotes erd
29570 \begin_inset Quotes eld
29574 \begin_inset Quotes erd
29577 use this preamble command:
29580 \begin_layout Standard
29587 fnum@figure}{Image~
29592 \begin_layout Standard
29599 inserts the figure number and
29602 \begin_inset Quotes eld
29608 \begin_inset Quotes erd
29611 creates a protected space.
29614 \begin_layout Standard
29615 \begin_inset VSpace bigskip
29623 \begin_inset Index idx
29626 \begin_layout Plain Layout
29628 -packages ! KOMA-Script
29635 article (KOMA-Script)
29643 letter (KOMA-Script)
29647 report (KOMA-Script)
29650 \begin_inset space \thinspace{}
29653 ), you can alternatively to the
29661 's built-in command
29668 For example, to have the caption label in bold, add this command to your
29672 \begin_layout Standard
29677 setkomafont{captionlabel}{
29682 \begin_layout Standard
29683 For more information about
29694 \begin_inset CommandInset citation
29704 \begin_layout Standard
29708 \begin_layout Plain Layout
29712 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
29719 \begin_inset Note Note
29722 \begin_layout Plain Layout
29723 The caption format is changed only for this example.
29731 \begin_layout Standard
29732 \begin_inset Float figure
29739 \begin_layout Plain Layout
29741 \begin_inset Graphics
29742 filename clipart/2D-intensity-plot.pdf
29743 scaleBeforeRotation
29750 \begin_layout Plain Layout
29751 \begin_inset Caption Standard
29753 \begin_layout Plain Layout
29754 \begin_inset CommandInset label
29756 name "fig:This-is-an-fig"
29760 This is an example figure caption that is longer than one line to show the
29761 different caption format.
29762 Here a self-defined caption format is used.
29775 \begin_layout Standard
29779 \begin_layout Plain Layout
29783 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
29792 \begin_layout Standard
29793 \begin_inset Float table
29800 \begin_layout Plain Layout
29801 \begin_inset Caption Standard
29803 \begin_layout Plain Layout
29804 \begin_inset CommandInset label
29806 name "tab:This-is-an-tab"
29810 This is an example table caption that is longer than one line to show the
29811 different caption format.
29812 Here the standard caption format for tables in this document is used.
29820 \begin_layout Plain Layout
29822 \begin_inset Tabular
29823 <lyxtabular version="3" rows="1" columns="5">
29824 <features tabularvalignment="middle">
29825 <column alignment="center" valignment="top">
29826 <column alignment="center" valignment="top">
29827 <column alignment="center" valignment="top">
29828 <column alignment="center" valignment="top">
29829 <column alignment="center" valignment="top">
29831 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29834 \begin_layout Plain Layout
29840 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29843 \begin_layout Plain Layout
29849 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29852 \begin_layout Plain Layout
29858 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29861 \begin_layout Plain Layout
29867 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29870 \begin_layout Plain Layout
29889 \begin_layout Section
29891 \begin_inset Index idx
29894 \begin_layout Plain Layout
29895 Caption ! Placement
29901 \begin_inset Index idx
29904 \begin_layout Plain Layout
29905 Floats ! Caption Placement
29911 \begin_inset CommandInset label
29913 name "sec:Caption-Placement"
29920 \begin_layout Standard
29921 The common caption placement rule is:
29924 \begin_layout Description
29925 Figure: Caption is set below the figure
29928 \begin_layout Description
29929 Table: Caption is set above the table
29932 \begin_layout Standard
29933 Having the caption above the table is unfortunately not supported in \SpecialChar LaTeX
29936 That means if you are using the document classes
29952 there will be no space between the caption and the table.
29953 To insert the necessary space, load the \SpecialChar LaTeX
29959 \begin_inset Index idx
29962 \begin_layout Plain Layout
29964 -packages ! caption
29969 in your document preamble with the option
29973 \begin_layout Plain Layout
29975 \begin_inset space ~
29979 \begin_inset CommandInset ref
29981 reference "sec:Caption-Formatting"
29985 for more information of the package
29997 \begin_layout Standard
30003 \begin_layout Standard
30009 \begin_inset Index idx
30012 \begin_layout Plain Layout
30014 -packages ! KOMA-Script
30021 article (KOMA-Script)
30029 letter (KOMA-Script)
30033 report (KOMA-Script)
30036 \begin_inset space \thinspace{}
30039 ), you can alternatively to the
30043 package set the document class option
30047 \begin_layout Plain Layout
30048 That option is used in this document.
30056 \begin_layout Standard
30059 captions=tableheading
30062 \begin_layout Standard
30063 In documents with a KOMA-Script document class you can also right-click
30064 on a caption and mark in the context menu if this should be a caption above
30065 or below the table/figure.
30066 This way you can override the document-wide caption placement for certain
30069 \begin_inset space ~
30073 \begin_inset CommandInset ref
30075 reference "tab:A-caption-marked"
30079 is an example where the caption is marked a being below the table while
30081 For comparison the caption in Table
30082 \begin_inset space ~
30086 \begin_inset CommandInset ref
30088 reference "tab:A-standard-table"
30095 \begin_layout Standard
30096 \begin_inset Float table
30103 \begin_layout Plain Layout
30104 \begin_inset Caption Below
30106 \begin_layout Plain Layout
30107 \begin_inset CommandInset label
30109 name "tab:A-caption-marked"
30113 A caption marked as being below the table.
30121 \begin_layout Plain Layout
30123 \begin_inset Tabular
30124 <lyxtabular version="3" rows="3" columns="3">
30125 <features tabularvalignment="middle">
30126 <column alignment="center" valignment="top" width="0pt">
30127 <column alignment="center" valignment="top" width="0pt">
30128 <column alignment="center" valignment="top" width="0pt">
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" usebox="none">
30142 \begin_layout Plain Layout
30148 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30151 \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" usebox="none">
30171 \begin_layout Plain Layout
30177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30180 \begin_layout Plain Layout
30188 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30191 \begin_layout Plain Layout
30192 \begin_inset Formula $\int x^{2}dx$
30200 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30203 \begin_layout Plain Layout
30204 \begin_inset Formula $\left[\begin{array}{cc}
30207 \end{array}\right]$
30215 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30218 \begin_layout Plain Layout
30219 \begin_inset Formula $1+1=2$
30240 \begin_layout Standard
30241 \begin_inset Float table
30248 \begin_layout Plain Layout
30249 \begin_inset Caption Standard
30251 \begin_layout Plain Layout
30252 \begin_inset CommandInset label
30254 name "tab:A-standard-table"
30258 A standard table caption.
30266 \begin_layout Plain Layout
30268 \begin_inset Tabular
30269 <lyxtabular version="3" rows="3" columns="3">
30270 <features tabularvalignment="middle">
30271 <column alignment="center" valignment="top" width="0pt">
30272 <column alignment="center" valignment="top" width="0pt">
30273 <column alignment="center" valignment="top" width="0pt">
30275 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30278 \begin_layout Plain Layout
30284 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30287 \begin_layout Plain Layout
30293 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30296 \begin_layout Plain Layout
30304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30307 \begin_layout Plain Layout
30313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30316 \begin_layout Plain Layout
30322 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30325 \begin_layout Plain Layout
30333 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30336 \begin_layout Plain Layout
30337 \begin_inset Formula $\int x^{2}dx$
30345 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30348 \begin_layout Plain Layout
30349 \begin_inset Formula $\left[\begin{array}{cc}
30352 \end{array}\right]$
30360 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30363 \begin_layout Plain Layout
30364 \begin_inset Formula $1+1=2$
30385 \begin_layout Standard
30386 \begin_inset VSpace bigskip
30389 It is also possible to set the caption beside a figure or table.
30390 To get this the \SpecialChar LaTeX
30396 \begin_inset Index idx
30399 \begin_layout Plain Layout
30401 -packages ! sidecap
30406 has to be loaded in the document preamble with the line
30409 \begin_layout Standard
30414 usepackage[option]{sidecap}
30417 \begin_layout Standard
30418 If you set no option, the caption is placed on the side of the outer page
30419 margin – to the right on odd pages, to the left on even pages.
30420 You can change the placement to inner margin with the option
30425 To force the placement always to the right or left, use the option
30436 \begin_layout Standard
30440 \begin_layout Plain Layout
30450 \begin_inset Note Note
30453 \begin_layout Plain Layout
30454 The following section will only be displayed when the \SpecialChar LaTeX
30467 \begin_layout Standard
30468 To place in \SpecialChar LyX
30469 the caption of a float on the side, it is necessary to add
30470 these commands to the document preamble:
30473 \begin_layout Standard
30475 \begin_inset CommandInset line
30486 \begin_layout Standard
30493 TabBesBeg}[1][1.0]{%
30494 \begin_inset Newline newline
30498 \begin_inset Phantom HPhantom
30501 \begin_layout Plain Layout
30502 \begin_inset space ~
30517 \begin_inset Newline newline
30521 \begin_inset Phantom HPhantom
30524 \begin_layout Plain Layout
30527 \begin_inset space ~
30542 \begin_inset Newline newline
30546 \begin_inset Phantom HPhantom
30549 \begin_layout Plain Layout
30552 \begin_inset space ~
30562 renewenvironment{table}[1]{
30564 begin{SCtable}[#1]##1}{
30569 \begin_layout Standard
30577 \begin_inset Newline newline
30581 \begin_inset Phantom HPhantom
30584 \begin_layout Plain Layout
30585 \begin_inset space ~
30600 \begin_inset Newline newline
30604 \begin_inset Phantom HPhantom
30607 \begin_layout Plain Layout
30608 \begin_inset space ~
30625 \begin_layout Standard
30632 FigBesBeg}[1][1.0]{%
30633 \begin_inset Newline newline
30637 \begin_inset Phantom HPhantom
30640 \begin_layout Plain Layout
30641 \begin_inset space ~
30656 \begin_inset Newline newline
30660 \begin_inset Phantom HPhantom
30663 \begin_layout Plain Layout
30664 \begin_inset space ~
30679 \begin_inset Newline newline
30683 \begin_inset Phantom HPhantom
30686 \begin_layout Plain Layout
30687 \begin_inset space ~
30697 renewenvironment{figure}[1]{
30699 begin{SCfigure}[#1]##1}{
30704 \begin_layout Standard
30712 \begin_inset Newline newline
30716 \begin_inset Phantom HPhantom
30719 \begin_layout Plain Layout
30720 \begin_inset space ~
30735 \begin_inset Newline newline
30739 \begin_inset Phantom HPhantom
30742 \begin_layout Plain Layout
30743 \begin_inset space ~
30760 \begin_layout Standard
30762 \begin_inset CommandInset line
30773 \begin_layout Standard
30774 The commands allow you to redefine the floats so that the caption is set
30776 For figure floats use the command
30779 \begin_layout Standard
30787 \begin_layout Standard
30788 in \SpecialChar TeX
30789 Code before the float.
30790 And insert the command
30793 \begin_layout Standard
30801 \begin_layout Standard
30802 in \SpecialChar TeX
30803 Code at the point where you want to get back to the original float definitio
30807 \begin_layout Standard
30808 For table floats use the corresponding commands
30811 \begin_layout Standard
30825 \begin_layout Standard
30827 \begin_inset space ~
30831 \begin_inset CommandInset ref
30833 reference "fig:cap-beside-fig"
30838 \begin_inset space ~
30842 \begin_inset CommandInset ref
30844 reference "tab:cap-beside-tab"
30848 are examples where the caption is set beside.
30851 \begin_layout Standard
30852 You can see in the examples that the caption text appears at the top of
30853 the floats for table floats and at the bottom for figure floats.
30854 To change this, you can use the command
30857 \begin_layout Standard
30862 sidecaptionvpos{float type}{placement}
30865 \begin_layout Standard
30866 in the document preamble or in \SpecialChar TeX
30867 Code before the float.
30868 The float type is either
30876 , the placement can be
30877 \begin_inset Quotes eld
30885 \begin_inset Quotes erd
30889 \begin_inset Quotes eld
30897 \begin_inset Quotes erd
30901 \begin_inset Quotes eld
30909 \begin_inset Quotes erd
30913 To have for example the caption of figure floats vertically centered, use
30917 \begin_layout Standard
30922 sidecaptionvpos{figure}{c}
30925 \begin_layout Standard
30926 This was used for Figure
30927 \begin_inset space ~
30931 \begin_inset CommandInset ref
30933 reference "fig:cap-beside-fig-2"
30940 \begin_layout Standard
30941 \begin_inset VSpace medskip
30947 \begin_layout Standard
30948 The default caption width is the width of the image/table.
30949 For thin image/tables, like in Table
30950 \begin_inset space ~
30954 \begin_inset CommandInset ref
30956 reference "tab:cap-beside-tab"
30960 , this leads to captions that are too thin.
30961 You can increase the width by specifying a factor that will be multiplied
30962 with the image/table width to get the caption width.
30963 The caption width will automatically be recalculated in case it would protrude
30964 over the page or column margin due to the specified width.
30969 can either be given as optional argument for
30978 \begin_layout Standard
30986 \begin_layout Standard
30987 or in the definition of
30997 with another value.
30998 If you do the latter, your factor will be the default if
31004 is used without an argument.
31006 \begin_inset space ~
31010 \begin_inset CommandInset ref
31012 reference "tab:cap-beside-tab-wider"
31016 the factor 5 was used.
31019 \begin_layout Standard
31020 \begin_inset Note Greyedout
31023 \begin_layout Plain Layout
31028 For floats with captions set beside, you cannot use the float placement
31032 \begin_inset space ~
31037 because it is not supported by
31049 \begin_layout Standard
31050 \begin_inset VSpace medskip
31053 For more information about the package
31057 we refer to its documentation
31058 \begin_inset CommandInset citation
31068 \begin_layout Standard
31069 \begin_inset Note Greyedout
31072 \begin_layout Plain Layout
31077 The \SpecialChar LaTeX
31083 \begin_inset Index idx
31086 \begin_layout Plain Layout
31093 , described in section
31094 \begin_inset space ~
31098 \begin_inset CommandInset ref
31100 reference "subsec:Reference-Position"
31104 , has no effect on floats with the caption set beside.
31112 \begin_layout Standard
31116 \begin_layout Plain Layout
31128 \begin_layout Standard
31129 \begin_inset Float figure
31136 \begin_layout Plain Layout
31137 \begin_inset Graphics
31138 filename clipart/3D-structure-distort.pdf
31140 scaleBeforeRotation
31147 \begin_layout Plain Layout
31148 \begin_inset Caption Standard
31150 \begin_layout Plain Layout
31151 \begin_inset CommandInset label
31153 name "fig:cap-beside-fig"
31157 This is a caption beside a figure.
31170 \begin_layout Standard
31174 \begin_layout Plain Layout
31186 \begin_layout Standard
31190 \begin_layout Plain Layout
31202 \begin_layout Standard
31203 \begin_inset Float table
31210 \begin_layout Plain Layout
31211 \begin_inset Caption Standard
31213 \begin_layout Plain Layout
31214 \begin_inset CommandInset label
31216 name "tab:cap-beside-tab"
31220 This is a caption beside a table.
31228 \begin_layout Plain Layout
31229 \begin_inset Tabular
31230 <lyxtabular version="3" rows="4" columns="5">
31231 <features tabularvalignment="middle">
31232 <column alignment="center" valignment="top">
31233 <column alignment="center" valignment="top">
31234 <column alignment="center" valignment="top">
31235 <column alignment="center" valignment="top">
31236 <column alignment="center" valignment="top">
31238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31241 \begin_layout Plain Layout
31247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31250 \begin_layout Plain Layout
31256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31259 \begin_layout Plain Layout
31265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31268 \begin_layout Plain Layout
31274 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31277 \begin_layout Plain Layout
31285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31288 \begin_layout Plain Layout
31294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31297 \begin_layout Plain Layout
31303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31306 \begin_layout Plain Layout
31312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31315 \begin_layout Plain Layout
31321 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31324 \begin_layout Plain Layout
31332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31335 \begin_layout Plain Layout
31341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31344 \begin_layout Plain Layout
31350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31353 \begin_layout Plain Layout
31359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31362 \begin_layout Plain Layout
31368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31371 \begin_layout Plain Layout
31379 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31382 \begin_layout Plain Layout
31388 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31391 \begin_layout Plain Layout
31397 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31400 \begin_layout Plain Layout
31406 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31409 \begin_layout Plain Layout
31415 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31418 \begin_layout Plain Layout
31437 \begin_layout Standard
31441 \begin_layout Plain Layout
31453 \begin_layout Standard
31457 \begin_layout Plain Layout
31470 \begin_layout Plain Layout
31474 sidecaptionvpos{figure}{c}
31480 \begin_inset Float figure
31487 \begin_layout Plain Layout
31488 \begin_inset Graphics
31489 filename clipart/3D-structure-distort.pdf
31491 scaleBeforeRotation
31498 \begin_layout Plain Layout
31499 \begin_inset Caption Standard
31501 \begin_layout Plain Layout
31502 \begin_inset CommandInset label
31504 name "fig:cap-beside-fig-2"
31508 This is a vertically centered caption beside a figure.
31521 \begin_layout Standard
31525 \begin_layout Plain Layout
31537 \begin_layout Standard
31541 \begin_layout Plain Layout
31553 \begin_layout Standard
31554 \begin_inset Float table
31561 \begin_layout Plain Layout
31562 \begin_inset Caption Standard
31564 \begin_layout Plain Layout
31565 \begin_inset CommandInset label
31567 name "tab:cap-beside-tab-wider"
31571 This caption is wider than the one in Table
31572 \begin_inset space ~
31576 \begin_inset CommandInset ref
31578 reference "tab:cap-beside-tab"
31590 \begin_layout Plain Layout
31591 \begin_inset Tabular
31592 <lyxtabular version="3" rows="4" columns="5">
31593 <features tabularvalignment="middle">
31594 <column alignment="center" valignment="top">
31595 <column alignment="center" valignment="top">
31596 <column alignment="center" valignment="top">
31597 <column alignment="center" valignment="top">
31598 <column alignment="center" valignment="top">
31600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31603 \begin_layout Plain Layout
31609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31612 \begin_layout Plain Layout
31618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31621 \begin_layout Plain Layout
31627 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31630 \begin_layout Plain Layout
31636 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31639 \begin_layout Plain Layout
31647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31650 \begin_layout Plain Layout
31656 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31659 \begin_layout Plain Layout
31665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31668 \begin_layout Plain Layout
31674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31677 \begin_layout Plain Layout
31683 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31686 \begin_layout Plain Layout
31694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31697 \begin_layout Plain Layout
31703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31706 \begin_layout Plain Layout
31712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31715 \begin_layout Plain Layout
31721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
31724 \begin_layout Plain Layout
31730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31733 \begin_layout Plain Layout
31741 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31744 \begin_layout Plain Layout
31750 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31753 \begin_layout Plain Layout
31759 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31762 \begin_layout Plain Layout
31768 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
31771 \begin_layout Plain Layout
31777 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31780 \begin_layout Plain Layout
31799 \begin_layout Standard
31803 \begin_layout Plain Layout
31815 \begin_layout Standard
31819 \begin_layout Plain Layout
31829 \begin_inset Note Note
31832 \begin_layout Plain Layout
31833 The following will be displayed when the \SpecialChar LaTeX
31846 \begin_layout Standard
31847 You need to install the \SpecialChar LaTeX
31852 to see the following part of this section in the output.
31855 \begin_layout Standard
31859 \begin_layout Plain Layout
31871 \begin_layout Section
31873 \begin_inset Index idx
31876 \begin_layout Plain Layout
31877 Floats ! Float Lists
31885 \begin_layout Standard
31886 Similar to the table of contents where the sections of the document are
31887 listed, there are listings for all float types, like the figures of the
31889 You can insert them via the
31891 Insert\SpecialChar menuseparator
31893 \begin_inset space ~
31897 \begin_inset space ~
31905 \begin_layout Standard
31906 The list entries are the float captions or its short title, the float number,
31907 and the page number where they appear in the document.
31910 \begin_layout Standard
31911 You can find the list of figures and tables at the end of this document.
31914 \begin_layout Chapter
31918 \begin_layout Section
31921 \begin_inset Index idx
31924 \begin_layout Plain Layout
31925 Notes ! \SpecialChar LyX
31934 \begin_layout Standard
31935 Notes are inserted with the toolbar button
31943 Insert\SpecialChar menuseparator
31947 There are three types of notes:
31950 \begin_layout Description
31953 \begin_inset space ~
31956 Note This note type is for internal notes that won't appear in the output.
31957 Its note-box looks like this:
31958 \begin_inset Newline newline
31962 \begin_inset Newline newline
31966 \begin_inset Graphics
31967 filename clipart/LyXNoteImage.png
31969 scaleBeforeRotation
31974 \begin_inset Note Note
31977 \begin_layout Plain Layout
31978 This is text in a note box that doesn't appear in the output.
31986 \begin_layout Description
31987 Comment This note also doesn't appear in the output but it appears as \SpecialChar LaTeX
31989 when you export the document to \SpecialChar LaTeX
31992 File\SpecialChar menuseparator
31993 Export\SpecialChar menuseparator
31995 \begin_inset space ~
31998 (pdflatex) / (plain)
32001 Its note-box looks like this:
32002 \begin_inset Newline newline
32006 \begin_inset Newline newline
32010 \begin_inset Graphics
32011 filename clipart/CommentNoteImage.png
32013 scaleBeforeRotation
32018 \begin_inset Note Comment
32021 \begin_layout Plain Layout
32022 This is text in a note box that only appears as comment in \SpecialChar LaTeX
32031 \begin_layout Description
32033 \begin_inset space ~
32036 Out This note will appear in the output as grey text.
32037 Its note-box looks like this:
32038 \begin_inset Newline newline
32042 \begin_inset Newline newline
32046 \begin_inset Graphics
32047 filename clipart/GreyedOutNoteImage.png
32049 scaleBeforeRotation
32054 \begin_inset Newline newline
32061 \begin_layout Plain Layout
32065 renewenvironment{lyxgreyedout}
32068 \begin_layout Plain Layout
32072 textcolor[gray]{0.8}
32082 \begin_inset Note Greyedout
32085 \begin_layout Plain Layout
32086 This is text of a comment that appears grey in the output.
32095 \begin_layout Plain Layout
32099 renewenvironment{lyxgreyedout}
32102 \begin_layout Plain Layout
32116 \begin_inset Note Note
32119 \begin_layout Plain Layout
32120 The greyed out note is here redefined to show it with the original \SpecialChar LyX
32122 because greyed out notes are redefined in the preamble of this document,
32123 as described below, to have blue text.
32129 \begin_inset Newline newline
32133 \begin_inset Newline newline
32136 As you can see in the example, the first line of greyed out notes is a bit
32137 indented and greyed out notes can have footnotes.
32140 \begin_layout Standard
32141 \begin_inset VSpace bigskip
32144 When you use the toolbar button
32154 \begin_inset space ~
32160 You can switch between the three note types by right-clicking on the note-box.
32165 If you want to turn existing text into a note, mark it and click on the
32179 To change a note to text, press the backspace key when the cursor is in
32180 the first position of a note, or press the delete key when the cursor is
32181 in the very last position of the note, respectively.
32184 \begin_layout Standard
32185 \begin_inset VSpace bigskip
32188 You can change the text color of the greyed out notes in the menu
32190 Document\SpecialChar menuseparator
32191 Settings\SpecialChar menuseparator
32197 \begin_layout Section
32199 \begin_inset CommandInset label
32201 name "sec:Footnotes"
32206 \begin_inset Index idx
32209 \begin_layout Plain Layout
32216 \begin_inset Index idx
32219 \begin_layout Plain Layout
32228 \begin_layout Standard
32229 Footnotes can be inserted using the toolbar button
32232 arg "footnote-insert"
32237 Insert\SpecialChar menuseparator
32241 You will then see the following footnote-box:
32242 \begin_inset Graphics
32243 filename clipart/footnote.png
32245 scaleBeforeRotation
32253 where you can enter the footnote text.
32254 If you want to turn existing text into a footnote, mark it and click on
32280 key when the cursor is in the first position of a
32292 key when the cursor is in the very last position of the
32303 \begin_layout Standard
32304 Here is an example footnote:
32312 \begin_layout Plain Layout
32313 \begin_inset CommandInset label
32315 name "foot:This-is-an"
32319 This is an example footnote.
32332 \begin_layout Plain Layout
32336 newcounter{MyRepeatFoot}
32339 \begin_layout Plain Layout
32343 setcounter{MyRepeatFoot}{
32353 \begin_layout Standard
32354 The footnote will appear in the output as a superscript number at the text
32355 position where the footnote box is placed.
32356 The footnote text is placed at the bottom of the current page.
32357 The footnote number is calculated by \SpecialChar LaTeX
32358 ; the numbers are consecutive.
32359 Whether the footnote number is reset for every chapter depends on your
32363 \begin_layout Standard
32364 Footnotes can be referenced like floats: Insert a label into the footnote
32365 and cross-reference this label in the text as described in section
32366 \begin_inset space ~
32370 \begin_inset CommandInset ref
32372 reference "sec:Referencing-Floats"
32377 \begin_inset Newline newline
32380 This is a cross-reference of Footnote
32381 \begin_inset space ~
32385 \begin_inset CommandInset ref
32387 reference "foot:This-is-an"
32394 \begin_layout Standard
32395 \begin_inset VSpace defskip
32398 Footnotes in title environments are usually not numbered with symbols and
32399 they cannot contain several paragraphs.
32400 See for example the footnote in the titling of this document.
32403 \begin_layout Standard
32404 Footnotes in multi-page tables are described in section
32405 \begin_inset space ~
32409 \begin_inset CommandInset ref
32411 reference "subsec:Footnotes-in-Multi-page"
32418 \begin_layout Standard
32419 \begin_inset VSpace defskip
32425 \begin_layout Standard
32426 Footnotes in minipage boxes are printed, but inside the box and with a different
32427 numbering because a minipage box is like a page inside a page.
32428 (For more about minipages, see section
32429 \begin_inset space ~
32433 \begin_inset CommandInset ref
32435 reference "sec:Minipages"
32439 .) To get a footnote in the minipage that is output at the bottom of the
32440 page like normal footnotes use this method: Instead of the footnote the
32447 is inserted as \SpecialChar TeX
32449 The text of the footnote is entered as an argument of the \SpecialChar TeX
32457 after the minipage.
32458 \begin_inset Newline newline
32461 This was done for the following minipage with the command
32464 \begin_layout Standard
32471 Footnote outside the minipage.
32476 \begin_layout Standard
32477 \begin_inset Box Frameless
32487 height_special "totalheight"
32492 backgroundcolor "none"
32495 \begin_layout Plain Layout
32496 This an example text in a minipage.
32500 \begin_layout Plain Layout
32501 Footnote in the minipage.
32509 \begin_layout Plain Layout
32510 This an example text in a minipage.
32514 \begin_layout Plain Layout
32531 \begin_layout Standard
32535 \begin_layout Plain Layout
32544 Footnote outside the minipage.
32548 \begin_layout Plain Layout
32558 \begin_layout Standard
32559 \begin_inset VSpace defskip
32565 \begin_layout Standard
32566 To refer to the same footnote several times without printing the footnote
32567 text every time, use the command
32571 footnotemark[number]
32573 in \SpecialChar TeX
32575 \begin_inset Newline newline
32578 As you do not know the number of the repeating footnote while you are writing
32579 the text, you have to store its number.
32580 For the following footnote mark example, these commands were inserted in
32582 code after Footnote
32583 \begin_inset space ~
32587 \begin_inset CommandInset ref
32589 reference "foot:This-is-an"
32593 to store the footnote number:
32596 \begin_layout Standard
32601 newcounter{MyRepeatFoot}
32602 \begin_inset Newline newline
32607 setcounter{MyRepeatFoot}{
32612 \begin_layout Standard
32613 The footnote mark was then created with this command:
32616 \begin_layout Standard
32626 \begin_layout Standard
32627 Here is a repeated footnote:
32635 \begin_layout Plain Layout
32649 \begin_layout Standard
32650 If you want to repeat the previous footnote, you can omit the storage of
32651 the footnote number and just use this command instead:
32654 \begin_layout Standard
32664 \begin_layout Standard
32665 Here is another repeated footnote:
32673 \begin_layout Plain Layout
32687 \begin_layout Subsection
32689 \begin_inset CommandInset label
32691 name "subsec:Footnote-Numbering"
32696 \begin_inset Index idx
32699 \begin_layout Plain Layout
32700 Footnotes ! Numbering
32708 \begin_layout Standard
32709 To reset the footnote number back to 1 after each section
32711 , add this command to your document preamble:
32714 \begin_layout Standard
32719 @addtoreset{footnote}{section}
32722 \begin_layout Standard
32723 \begin_inset VSpace bigskip
32726 The following preamble command changes the footnote numbering style to small
32730 \begin_layout Standard
32742 \begin_layout Standard
32746 \begin_layout Plain Layout
32759 This is a footnote with roman numbering:
32763 \begin_layout Plain Layout
32764 This is an example footnote with roman numbering.
32772 \begin_layout Standard
32773 To change the numbering style to capital roman numerals replace in the command
32788 \begin_inset Quotes eld
32792 \begin_inset Quotes erd
32795 footnotes with capital or small Latin letters use
32809 \begin_inset Quotes eld
32813 \begin_inset Quotes erd
32816 footnotes with symbols use
32825 \begin_layout Standard
32826 \begin_inset Note Greyedout
32829 \begin_layout Plain Layout
32834 You can only number 26 footnotes with Latin letters, because this numbering
32835 is limited to single letters.
32841 \begin_inset Newline newline
32845 \begin_inset Note Greyedout
32848 \begin_layout Plain Layout
32853 You can only number 9 footnotes with symbols.
32861 \begin_layout Standard
32862 To return to the default numbering style after you have changed to another
32875 in the command above.
32879 \begin_layout Plain Layout
32895 \begin_layout Standard
32896 \begin_inset VSpace bigskip
32902 \begin_layout Standard
32903 If you want to have footnotes numbered in the scheme
32904 \begin_inset Quotes eld
32908 \begin_inset Quotes erd
32911 , add the following command to your document preamble:
32914 \begin_layout Standard
32919 numberwithin{footnote}{chapter}
32922 \begin_layout Standard
32923 To be able to use the command
32932 \begin_inset space ~
32937 in the document settings the option
32940 \begin_inset space ~
32944 \begin_inset space ~
32948 \begin_inset space ~
32956 \begin_layout Standard
32960 \begin_layout Plain Layout
32964 numberwithin{footnote}{chapter}
32969 This is another example footnote:
32975 \begin_layout Plain Layout
32976 This is a footnote numbered in the scheme
32977 \begin_inset Quotes eld
32981 \begin_inset Quotes erd
32995 \begin_layout Plain Layout
33011 \begin_layout Standard
33012 \begin_inset Note Greyedout
33015 \begin_layout Plain Layout
33026 always prints out the footnote number as arabic number; previous redefinitions
33027 to get non-arabic numbers are overwritten.
33035 \begin_layout Standard
33036 So to get for example the scheme
33037 \begin_inset Quotes eld
33043 \begin_inset Quotes erd
33046 , use this command instead of
33055 \begin_layout Standard
33069 \begin_layout Subsection
33071 \begin_inset Index idx
33074 \begin_layout Plain Layout
33075 Footnotes ! Placement
33083 \begin_layout Standard
33084 If you have several footnotes in one page, they appear without vertical
33085 space between them at the bottom of the page.
33086 To make them more readable you can e.
33087 \begin_inset space \thinspace{}
33091 \begin_inset space \space{}
33095 \begin_inset space \thinspace{}
33098 mm space with the following preamble command:
33101 \begin_layout Standard
33111 \begin_inset Newline newline
33125 \begin_layout Standard
33126 \begin_inset VSpace bigskip
33129 In a two-column document the footnotes appear at the bottom of every column,
33131 \begin_inset space ~
33135 \begin_inset CommandInset ref
33137 reference "fig:Standard-footnote-placement"
33142 If the footnotes should only appear at the bottom of the right column,
33144 \begin_inset space ~
33148 \begin_inset CommandInset ref
33150 reference "fig:Footnote-placement-in"
33154 , use the \SpecialChar LaTeX
33160 \begin_inset Index idx
33163 \begin_layout Plain Layout
33165 -packages ! ftnright
33170 with this command in the document preamble:
33173 \begin_layout Standard
33178 usepackage{ftnright}
33181 \begin_layout Standard
33182 \begin_inset Float figure
33189 \begin_layout Plain Layout
33192 \begin_inset Box Boxed
33202 height_special "totalheight"
33207 backgroundcolor "none"
33210 \begin_layout Plain Layout
33211 \begin_inset Graphics
33212 filename clipart/without_fntright.pdf
33214 scaleBeforeRotation
33226 \begin_layout Plain Layout
33227 \begin_inset Caption Standard
33229 \begin_layout Plain Layout
33230 \begin_inset CommandInset label
33232 name "fig:Standard-footnote-placement"
33236 Standard footnote placement in two-column documents.
33249 \begin_layout Standard
33250 \begin_inset Float figure
33257 \begin_layout Plain Layout
33260 \begin_inset Box Boxed
33270 height_special "totalheight"
33275 backgroundcolor "none"
33278 \begin_layout Plain Layout
33279 \begin_inset Graphics
33280 filename clipart/with_fntright.pdf
33282 scaleBeforeRotation
33294 \begin_layout Plain Layout
33295 \begin_inset Caption Standard
33297 \begin_layout Plain Layout
33298 \begin_inset CommandInset label
33300 name "fig:Footnote-placement-in"
33304 Footnote placement in two-column documents when the \SpecialChar LaTeX
33322 \begin_layout Standard
33323 \begin_inset VSpace bigskip
33326 In some scientific literature it is usual to collect the footnotes and print
33327 them in a separate paragraph at the end of a section, as in Figure
33328 \begin_inset space ~
33332 \begin_inset CommandInset ref
33334 reference "fig:Endnotes"
33339 They are then called
33340 \begin_inset Quotes eld
33344 \begin_inset Quotes erd
33348 \begin_inset Index idx
33351 \begin_layout Plain Layout
33357 To use endnotes instead of footnotes in your document, load in the menu
33360 Document\SpecialChar menuseparator
33361 Settings\SpecialChar menuseparator
33367 \begin_inset space ~
33371 \begin_inset space ~
33377 To insert the collected footnotes, insert the command
33380 \begin_layout Standard
33388 \begin_layout Standard
33389 in \SpecialChar TeX
33390 Code at the end of a section or chapter.
33393 \begin_layout Standard
33394 \begin_inset Float figure
33401 \begin_layout Plain Layout
33404 \begin_inset Box Boxed
33414 height_special "totalheight"
33419 backgroundcolor "none"
33422 \begin_layout Plain Layout
33423 \begin_inset Graphics
33424 filename clipart/endnotes.pdf
33426 scaleBeforeRotation
33438 \begin_layout Plain Layout
33439 \begin_inset Caption Standard
33441 \begin_layout Plain Layout
33442 \begin_inset CommandInset label
33444 name "fig:Endnotes"
33448 Endnotes – footnotes are printed in a separate paragraph at the end of sections
33462 \begin_layout Standard
33463 \begin_inset VSpace medskip
33466 The paragraph heading for the endnotes isn't automatically translated into
33467 the document language, this must be done manually.
33468 The following preamble command translates the default English
33469 \begin_inset Quotes eld
33473 \begin_inset Quotes erd
33477 \begin_inset Quotes eld
33481 \begin_inset Quotes erd
33487 \begin_layout Standard
33494 notesname}{Anmerkungen}
33497 \begin_layout Standard
33498 \begin_inset VSpace medskip
33501 The numbering of endnotes can be changed like the footnote numbering as
33502 described in section
33503 \begin_inset space ~
33507 \begin_inset CommandInset ref
33509 reference "subsec:Footnote-Numbering"
33513 ; just replace the command
33526 To reset the endnote number use the command
33532 as described in section
33533 \begin_inset space ~
33537 \begin_inset CommandInset ref
33539 reference "subsec:Footnote-Numbering"
33543 and replace the command parameter
33554 \begin_layout Standard
33555 For endnotes there is the command
33559 endnotemark[number]
33561 similar to the command
33567 , that is described in section
33568 \begin_inset space ~
33572 \begin_inset CommandInset ref
33574 reference "sec:Footnotes"
33581 \begin_layout Standard
33582 \begin_inset VSpace bigskip
33585 Footnotes can also be placed in the page margin and the footnote text alignment
33586 can be changed, see the \SpecialChar LaTeX
33592 \begin_inset Index idx
33595 \begin_layout Plain Layout
33597 -packages ! footmisc
33603 \begin_inset CommandInset citation
33610 for more information about this.
33613 \begin_layout Standard
33614 For various further footnote formatting issues have a look at \SpecialChar LaTeX
33616 \begin_inset CommandInset citation
33618 key "latexcompanion,latexguide,latexbook"
33629 \begin_inset Index idx
33632 \begin_layout Plain Layout
33634 -packages ! KOMA-Script
33639 document class, you can adjust all footnote settings using class-specific
33641 \begin_inset CommandInset citation
33651 \begin_layout Section
33653 \begin_inset Index idx
33656 \begin_layout Plain Layout
33657 Notes ! Margin Notes
33665 \begin_layout Standard
33666 Margin notes look and behave in \SpecialChar LyX
33668 They are inserted via the menu
33670 Insert\SpecialChar menuseparator
33672 \begin_inset space ~
33677 or the toolbar button
33680 arg "marginalnote-insert"
33694 \begin_inset Quotes eld
33698 \begin_inset Quotes erd
33701 appears where you can enter the text of the margin note.
33704 \begin_layout Standard
33705 At the side is an example margin note.
33710 \begin_inset Marginal
33713 \begin_layout Plain Layout
33714 This is a margin note.
33722 \begin_layout Standard
33723 Margin notes appear at the right side in single-sided documents.
33724 In double-sided documents they appear in the outer margin – left on even
33725 pages, right on odd pages.
33726 The text of margin notes is aligned opposite to the outer margin – right-aligne
33727 d when the note appears in the left margin.
33728 The first line of the margin note is placed at the position of the text
33729 line where it is inserted in the document.
33732 \begin_layout Standard
33733 \begin_inset VSpace bigskip
33736 To place the margin note in the inner margin, add the command
33739 \begin_layout Standard
33747 \begin_layout Standard
33748 in \SpecialChar TeX
33749 Code before a margin note.
33750 The new placement is valid for all subsequent margin notes.
33755 \begin_layout Plain Layout
33765 \begin_inset Marginal
33768 \begin_layout Plain Layout
33769 This is a margin note in the inner margin.
33777 \begin_inset Newline newline
33783 \begin_inset Note Greyedout
33786 \begin_layout Plain Layout
33791 There is often not enough space in the inner margin so that the notes are
33792 not correctly displayed in the output.
33800 \begin_layout Standard
33801 To return to the default placement insert the command
33804 \begin_layout Standard
33812 \begin_layout Standard
33813 in \SpecialChar TeX
33818 \begin_layout Plain Layout
33828 \begin_inset Note Greyedout
33831 \begin_layout Plain Layout
33836 The command is ignored when it is within a paragraph where also the command
33851 \begin_layout Standard
33852 \begin_inset VSpace bigskip
33859 \begin_inset Marginal
33862 \begin_layout Plain Layout
33863 AVeryLongMarginParWord that isn't hyphenated.
33871 Similar to the case described in section
33872 \begin_inset space ~
33876 \begin_inset CommandInset ref
33878 reference "subsec:Multiple-Lines-in"
33882 , long words cannot be hyphenated when they are the first word in a margin
33884 To avoid this, insert 0
33885 \begin_inset space \thinspace{}
33888 pt horizontal space before the word
33893 \begin_inset Marginal
33896 \begin_layout Plain Layout
33897 \begin_inset space \hspace*{}
33901 AVeryLongMarginParWord that is hyphenated.
33909 \begin_layout Standard
33910 \begin_inset VSpace bigskip
33916 \begin_layout Standard
33917 \begin_inset Note Greyedout
33920 \begin_layout Plain Layout
33925 Margin notes can normally not be used inside tables, floats, and footnotes.
33933 \begin_layout Standard
33934 \begin_inset VSpace bigskip
33940 \begin_layout Standard
33944 \begin_layout Plain Layout
33954 \begin_inset Note Note
33957 \begin_layout Plain Layout
33958 The following section will only be displayed when the \SpecialChar LaTeX
33971 \begin_layout Standard
33972 This restriction can be evaded by using the \SpecialChar LaTeX
33978 \begin_inset Index idx
33981 \begin_layout Plain Layout
33983 -packages ! marginnote
33989 By adding these two lines to your document preamble, the command used by
33991 for margin notes is redefined to use the command provided by the
33998 \begin_layout Standard
34003 usepackage{marginnote}
34004 \begin_inset Newline newline
34016 \begin_layout Standard
34017 This is also used in this document because
34021 has another useful feature: You can set a vertical offset for the note.
34022 This is often needed when too many margin notes are too close together
34023 or for a better page layout.
34024 The offset is set in \SpecialChar LyX
34025 as \SpecialChar TeX
34026 Code directly after the margin note in the scheme
34029 \begin_layout Standard
34035 \begin_layout Standard
34036 where the offset is a length with one of the units listed in Table
34037 \begin_inset space ~
34041 \begin_inset CommandInset ref
34043 reference "tab:Units"
34048 A negative value shifts the note up, a positive value shifts it down.
34052 For example the margin note beside this text line is shifted up 1.5
34053 \begin_inset space \thinspace{}
34056 cm with the \SpecialChar TeX
34058 \begin_inset Quotes eld
34068 \begin_inset Quotes erd
34072 \begin_inset Marginal
34075 \begin_layout Plain Layout
34076 This margin note is shifted up 1.5
34077 \begin_inset space \thinspace{}
34080 cm from its original position.
34092 \begin_layout Plain Layout
34102 \begin_layout Standard
34103 \begin_inset VSpace medskip
34110 you can also change the alignment of the text in the margin note.
34111 For example the commands
34114 \begin_layout Standard
34121 raggedleftmarginnote}{
34124 \begin_inset Newline newline
34131 raggedrightmarginnote}{
34136 \begin_layout Standard
34137 set the alignment to centered.
34142 raggedleftmarginnote
34144 denotes margin notes that appear at the left side.
34151 \begin_layout Plain Layout
34157 raggedleftmarginnote}{
34162 \begin_layout Plain Layout
34168 raggedrightmarginnote}{
34176 \begin_inset Marginal
34179 \begin_layout Plain Layout
34180 The text of this margin note is centered.
34191 \begin_layout Standard
34198 raggedleftmarginnote}{
34201 \begin_inset Newline newline
34208 raggedrightmarginnote}{
34217 \begin_layout Plain Layout
34223 raggedleftmarginnote}{
34228 \begin_layout Plain Layout
34234 raggedrightmarginnote}{
34244 \begin_layout Standard
34245 \begin_inset VSpace medskip
34248 For the other features of
34252 refer to its documentation
34253 \begin_inset CommandInset citation
34263 \begin_layout Standard
34264 \begin_inset VSpace bigskip
34267 You can adjust the layout of margin notes by changing its definition.
34268 To create for example a header for all margin notes with the underlined,
34269 sans-serif, and bold header text
34270 \begin_inset Quotes eld
34282 \begin_inset Quotes erd
34285 , add this to your document preamble:
34288 \begin_layout Standard
34298 \begin_inset Newline newline
34308 \begin_inset Newline newline
34312 \begin_inset Phantom HPhantom
34315 \begin_layout Plain Layout
34318 \begin_inset space ~
34334 underbar{Attention!}}}%
34335 \begin_inset Newline newline
34339 \begin_inset Phantom HPhantom
34342 \begin_layout Plain Layout
34345 \begin_inset space ~
34362 \begin_layout Standard
34369 \begin_layout Plain Layout
34380 \begin_layout Plain Layout
34391 \begin_layout Plain Layout
34399 underbar{Attention!}}}%
34402 \begin_layout Plain Layout
34416 \begin_inset Marginal
34419 \begin_layout Plain Layout
34420 This is a margin note with a defined heading.
34432 \begin_layout Plain Layout
34446 \begin_layout Plain Layout
34463 \begin_inset Note Note
34466 \begin_layout Plain Layout
34467 The margin note format is changed only for this example.
34475 \begin_layout Standard
34479 \begin_layout Plain Layout
34489 \begin_inset Note Note
34492 \begin_layout Plain Layout
34493 The following will be displayed when the \SpecialChar LaTeX
34506 \begin_layout Standard
34507 You need to install the \SpecialChar LaTeX
34512 to see the following part of this section in the output.
34515 \begin_layout Standard
34519 \begin_layout Plain Layout
34531 \begin_layout Chapter
34535 \begin_layout Section
34537 \begin_inset Index idx
34540 \begin_layout Plain Layout
34541 Boxes ! Introduction
34549 \begin_layout Standard
34550 Boxes are used to format a block of text.
34551 Boxes can be used to write documents with multiple languages, see section
34552 \begin_inset space ~
34556 \begin_inset CommandInset ref
34558 reference "sec:Minipages"
34562 , to frame texts, see section
34563 \begin_inset space ~
34567 \begin_inset CommandInset ref
34569 reference "sec:Decoration"
34573 , to prevent words from being hyphenated, see section
34574 \begin_inset space ~
34578 \begin_inset CommandInset ref
34580 reference "sec:Prevent-Hyphenation"
34584 , to align text, see section
34585 \begin_inset space ~
34589 \begin_inset CommandInset ref
34591 reference "subsec:Vertical-Alignment"
34595 , or to set the background color of texts, see section
34596 \begin_inset space ~
34600 \begin_inset CommandInset ref
34602 reference "sec:Colored-Boxes"
34609 \begin_layout Standard
34610 Boxes can be inserted with the menu
34612 Insert\SpecialChar menuseparator
34615 or the toolbar button
34618 arg "box-insert Frameless"
34622 A grey box with the label
34627 \begin_inset Graphics
34628 filename clipart/BoxInsetDefault.png
34630 scaleBeforeRotation
34635 The box type can be specified by right-clicking on the box and selecting
34641 The box dialog offers the
34644 \begin_inset space ~
34666 is the default for new boxes and is explained in section
34667 \begin_inset space ~
34671 \begin_inset CommandInset ref
34673 reference "sec:Minipages"
34681 is described in section
34682 \begin_inset space ~
34686 \begin_inset CommandInset ref
34688 reference "sec:Parboxes"
34697 \begin_inset CommandInset ref
34699 reference "sec:Prevent-Hyphenation"
34706 \begin_layout Standard
34707 Boxes are not numbered and can therefore not be referenced like floats or
34711 \begin_layout Standard
34712 \begin_inset Note Greyedout
34715 \begin_layout Plain Layout
34720 Boxes must not be the item in an
34736 \begin_layout Standard
34737 \begin_inset Note Greyedout
34740 \begin_layout Plain Layout
34745 For an unknown reason you can only set the
34748 \begin_inset space ~
34757 when you use a framed box.
34761 \begin_inset space ~
34766 type and without frames are explained in section
34767 \begin_inset space ~
34771 \begin_inset CommandInset ref
34773 reference "sec:Prevent-Hyphenation"
34785 \begin_layout Section
34787 \begin_inset CommandInset label
34789 name "sec:Box-Dialog"
34794 \begin_inset Index idx
34797 \begin_layout Plain Layout
34806 \begin_layout Subsection
34808 \begin_inset Index idx
34811 \begin_layout Plain Layout
34820 \begin_layout Standard
34821 In the box dialog you can adjust the box geometry in the fields
34830 The available units for the geometry are explained in Table
34831 \begin_inset space ~
34835 \begin_inset CommandInset ref
34837 reference "tab:Units"
34846 offers the following additional sizes:
34849 \begin_layout Description
34850 Depth This is the plain text
34851 \begin_inset Quotes eld
34855 \begin_inset Quotes erd
34859 It ignores the total depth when there are multiple text lines in the box:
34860 \begin_inset Newline newline
34864 \begin_inset Newline newline
34868 \begin_inset Newline newline
34872 \begin_inset Box Boxed
34882 height_special "depth"
34887 backgroundcolor "none"
34890 \begin_layout Plain Layout
34892 Box height set to 1
34893 \begin_inset space \thinspace{}
34902 \begin_inset Newline newline
34906 \begin_inset Newline newline
34912 \begin_layout Description
34913 Height This is the height of the text that is inside the box.
34915 \begin_inset space \thinspace{}
34919 \begin_inset space \space{}
34922 2 for this size will set the box height to 2
34923 \begin_inset space ~
34926 times the text height:
34927 \begin_inset Box Boxed
34937 height_special "height"
34942 backgroundcolor "none"
34945 \begin_layout Plain Layout
34947 Box height set to 2
34948 \begin_inset space \thinspace{}
34959 \begin_layout Description
34961 \begin_inset space ~
34964 Height This is the Height
34965 \begin_inset space \thinspace{}
34969 \begin_inset space \thinspace{}
34973 \begin_inset Box Boxed
34983 height_special "totalheight"
34988 backgroundcolor "none"
34991 \begin_layout Plain Layout
34993 Box height set to 1
34994 \begin_inset space \thinspace{}
34998 \begin_inset space ~
35009 \begin_layout Description
35010 Width This sets the width of the box as height:
35011 \begin_inset Box Boxed
35021 height_special "width"
35026 backgroundcolor "none"
35029 \begin_layout Plain Layout
35031 Box height set to 1
35032 \begin_inset space \thinspace{}
35043 \begin_layout Subsection
35045 \begin_inset Index idx
35048 \begin_layout Plain Layout
35057 \begin_layout Standard
35058 When you have chosen an
35061 \begin_inset space ~
35066 , the vertical box alignment can be:
35069 \begin_layout Description
35070 Top This is an example text line.
35072 \begin_inset Box Boxed
35082 height_special "totalheight"
35087 backgroundcolor "none"
35090 \begin_layout Plain Layout
35092 This box is top-aligned.
35097 This is an example text line.
35100 \begin_layout Description
35101 Middle This is an example text line.
35103 \begin_inset Box Boxed
35113 height_special "totalheight"
35118 backgroundcolor "none"
35121 \begin_layout Plain Layout
35123 This box is middle-aligned.
35128 This is an example text line.
35131 \begin_layout Description
35132 Bottom This is an example text line.
35134 \begin_inset Box Boxed
35144 height_special "totalheight"
35149 backgroundcolor "none"
35152 \begin_layout Plain Layout
35154 This box is bottom-aligned.
35159 This is an example text line.
35162 \begin_layout Standard
35163 \begin_inset Note Greyedout
35166 \begin_layout Plain Layout
35171 The vertical box alignment can be lost in the output when you have two
35172 boxes in a line and one has e.
35173 \begin_inset space \thinspace{}
35177 \begin_inset space \space{}
35180 a shadow and the other one not.
35188 \begin_layout Standard
35189 The horizontal box alignment can be set via \SpecialChar LyX
35190 's paragraph dialog when you
35191 set the box into its own paragraph.
35194 \begin_layout Standard
35195 \begin_inset VSpace bigskip
35198 When you have chosen an
35201 \begin_inset space ~
35206 , the box content can be aligned vertically to:
35209 \begin_layout Description
35210 top This is an example text line.
35212 \begin_inset Box Boxed
35222 height_special "totalheight"
35227 backgroundcolor "none"
35230 \begin_layout Plain Layout
35232 This box text is top-aligned.
35237 This is an example text line.
35240 \begin_layout Description
35241 middle This is an example text line.
35243 \begin_inset Box Boxed
35253 height_special "totalheight"
35258 backgroundcolor "none"
35261 \begin_layout Plain Layout
35263 This box text is middle-aligned.
35268 This is an example text line.
35271 \begin_layout Description
35272 bottom This is an example text line.
35274 \begin_inset Box Boxed
35284 height_special "totalheight"
35289 backgroundcolor "none"
35292 \begin_layout Plain Layout
35294 This box text is bottom-aligned.
35299 This is an example text line.
35302 \begin_layout Description
35303 stretch This is an example text line.
35305 \begin_inset Box Boxed
35315 height_special "totalheight"
35320 backgroundcolor "none"
35323 \begin_layout Plain Layout
35328 \begin_layout Plain Layout
35333 \begin_layout Plain Layout
35340 This is an example text line.
35343 \begin_layout Standard
35344 To stretch the box content, it must consist of more than one paragraph.
35345 In the example above every text line is in an own paragraph.
35348 \begin_layout Standard
35349 \begin_inset VSpace bigskip
35352 To align the box content horizontally you can use \SpecialChar LyX
35353 's paragraph dialog when
35357 \begin_inset space ~
35365 \begin_layout Standard
35367 \begin_inset Box Boxed
35377 height_special "totalheight"
35382 backgroundcolor "none"
35385 \begin_layout Plain Layout
35390 \begin_layout Plain Layout
35395 \begin_layout Plain Layout
35405 \begin_layout Standard
35406 If you have not set an
35409 \begin_inset space ~
35414 , you can align the box content horizontally in the box dialog.
35417 \begin_layout Standard
35419 \begin_inset Box Boxed
35429 height_special "totalheight"
35434 backgroundcolor "none"
35437 \begin_layout Plain Layout
35438 This box text is horizontally stretched.
35446 \begin_layout Subsection
35448 \begin_inset CommandInset label
35450 name "sec:Decoration"
35455 \begin_inset Index idx
35458 \begin_layout Plain Layout
35467 \begin_layout Standard
35468 The type of the box can be specified in the box dialog in the drop-down
35474 The following types are possible:
35477 \begin_layout Description
35479 \begin_inset space ~
35482 frame Nothing is drawn.
35485 \begin_layout Description
35487 \begin_inset space ~
35491 \begin_inset space ~
35494 frame This draws a rectangular frame around the box.
35495 The frame line thickness can be specified.
35497 \begin_inset Box Boxed
35507 height_special "totalheight"
35512 backgroundcolor "none"
35515 \begin_layout Plain Layout
35525 \begin_layout Description
35527 \begin_inset space ~
35531 \begin_inset space ~
35534 thin This draws an oval frame around the box.
35535 The frame line thickness has the size 0.4
35536 \begin_inset space \thinspace{}
35541 \begin_inset Box ovalbox
35551 height_special "totalheight"
35556 backgroundcolor "none"
35559 \begin_layout Plain Layout
35569 \begin_layout Description
35571 \begin_inset space ~
35575 \begin_inset space ~
35578 thick This draws an oval frame around the box.
35579 The frame line thickness has the size 0.8
35580 \begin_inset space \thinspace{}
35585 \begin_inset Box Ovalbox
35595 height_special "totalheight"
35600 backgroundcolor "none"
35603 \begin_layout Plain Layout
35613 \begin_layout Description
35615 \begin_inset space ~
35618 shadow This draws a rectangular frame with a shadow around the box.
35619 The frame line thickness and the shadow can be specified.
35621 \begin_inset Box Shadowbox
35631 height_special "totalheight"
35636 backgroundcolor "none"
35639 \begin_layout Plain Layout
35649 \begin_layout Description
35651 \begin_inset space ~
35654 background This draws a box with a red background.
35655 Unlike colored boxes
35659 \begin_layout Plain Layout
35661 \begin_inset space \thinspace{}
35665 \begin_inset CommandInset ref
35667 reference "sec:Colored-Boxes"
35676 , it always uses the whole column width and the box is set as its own paragraph.
35678 \begin_inset Box Shaded
35688 height_special "totalheight"
35693 backgroundcolor "none"
35696 \begin_layout Plain Layout
35697 Shaded background box
35705 \begin_layout Description
35707 \begin_inset space ~
35711 \begin_inset space ~
35714 frame This draws a double-line rectangular frame around the box.
35715 The line thickness of the inner frame is 0.75
35716 \begin_inset space \thinspace{}
35720 \begin_inset space ~
35723 thickness, the thickness of the outer frame is 1.5
35724 \begin_inset space \thinspace{}
35728 \begin_inset space ~
35732 The distance between the lines is 1.5
35733 \begin_inset space \thinspace{}
35737 \begin_inset space ~
35741 \begin_inset space \thinspace{}
35745 \begin_inset space \thinspace{}
35749 \begin_inset space \thinspace{}
35754 \begin_inset Box Doublebox
35764 height_special "totalheight"
35769 backgroundcolor "none"
35772 \begin_layout Plain Layout
35774 Double rectangular box
35782 \begin_layout Standard
35783 \begin_inset VSpace bigskip
35787 's box label will reflect the different frame types.
35788 To be able to use all types, the \SpecialChar LaTeX
35794 \begin_inset Index idx
35797 \begin_layout Plain Layout
35799 -packages ! fancybox
35807 \begin_layout Standard
35808 \begin_inset VSpace bigskip
35811 When you use the decoration
35813 simple rectangular frame
35815 and no inner box, you can allow page breaks within a box.
35816 Note that then, unlike other framed boxes, the frame always uses the whole
35817 column width and the box is set as its own paragraph:
35818 \begin_inset Box Framed
35828 height_special "totalheight"
35833 backgroundcolor "none"
35836 \begin_layout Plain Layout
35837 Allow page break box
35845 \begin_layout Section
35847 \begin_inset Index idx
35850 \begin_layout Plain Layout
35851 Boxes ! Customization
35859 \begin_layout Standard
35860 The diameter of the round corners of the oval boxes can be set with the
35871 \begin_layout Standard
35879 \begin_layout Standard
35880 sets the diameter to 1
35881 \begin_inset space \thinspace{}
35888 \begin_layout Standard
35896 \begin_layout Standard
35897 sets the diameter to
35900 \begin_inset space \thinspace{}
35904 \begin_inset space \thinspace{}
35907 minimum(width and height of box)
35919 \begin_layout Standard
35923 \begin_layout Plain Layout
35933 \begin_inset Box Ovalbox
35943 height_special "totalheight"
35948 backgroundcolor "none"
35951 \begin_layout Plain Layout
35960 \begin_inset space \thinspace{}
35964 \begin_inset space \thinspace{}
35968 \begin_inset space \thinspace{}
35980 \begin_layout Plain Layout
35992 \begin_layout Standard
35993 \begin_inset VSpace bigskip
35999 \begin_layout Standard
36000 The default background color red of
36004 boxes can either be changed locally with the command
36008 definecolor{shadecolor}
36010 or globally with the menu
36012 Tools\SpecialChar menuseparator
36013 Preferences\SpecialChar menuseparator
36014 Colors\SpecialChar menuseparator
36016 \begin_inset space ~
36028 command is explained in section
36029 \begin_inset space ~
36033 \begin_inset CommandInset ref
36035 reference "sec:Colored-Tables"
36043 \begin_layout Plain Layout
36050 requires the \SpecialChar LaTeX
36055 in the preamble, see section
36056 \begin_inset space ~
36060 \begin_inset CommandInset ref
36062 reference "sec:Colored-Boxes"
36071 For example the appearance of the following shaded background box is set
36072 with the \SpecialChar TeX
36076 \begin_layout Standard
36081 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
36084 \begin_layout Standard
36088 \begin_layout Plain Layout
36092 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
36098 \begin_inset Box Shaded
36108 height_special "totalheight"
36113 backgroundcolor "none"
36116 \begin_layout Plain Layout
36119 This is yellow text in a
36129 box with dark green background.
36138 \begin_layout Plain Layout
36142 definecolor{shadecolor}{rgb}{1,0,0}
36150 \begin_layout Standard
36151 \begin_inset VSpace bigskip
36154 Manually changed sizes and colors are valid for all boxes following the
36155 commands that change them.
36158 \begin_layout Section
36160 \begin_inset CommandInset label
36162 name "sec:Minipages"
36167 \begin_inset Index idx
36170 \begin_layout Plain Layout
36179 \begin_layout Standard
36180 Minipages are treated by \SpecialChar LaTeX
36181 as pages within pages and can therefore for example
36182 have their own footnotes.
36185 \begin_layout Standard
36186 Minipages are useful when you write documents with different languages.
36189 \begin_layout Standard
36190 Below are two example minipages side by side.
36191 Their width is set to 45
36192 \begin_inset space \thinspace{}
36195 col% and they are separated by a horizontal fill, that was inserted via
36198 Insert\SpecialChar menuseparator
36200 \begin_inset space ~
36203 Formatting\SpecialChar menuseparator
36205 \begin_inset space ~
36211 \begin_inset Newpage newpage
36217 \begin_layout Standard
36218 \begin_inset Box Frameless
36228 height_special "totalheight"
36233 backgroundcolor "none"
36236 \begin_layout Plain Layout
36239 Dies ist ein deutscher Text.
36240 Dies ist ein deutscher Text.
36241 Dies ist ein deutscher Text.
36242 Dies ist ein deutscher Text.
36243 Dies ist ein deutscher Text.
36244 Dies ist ein deutscher Text.
36245 Dies ist ein deutscher Text.
36246 Dies ist ein deutscher Text.
36247 Dies ist ein deutscher Text.
36248 Dies ist ein deutscher Text.
36249 Dies ist ein deutscher Text.
36250 Dies ist ein deutscher Text.
36251 Dies ist ein deutscher Text
36255 \begin_layout Plain Layout
36258 Dies ist eine deutsche Fußnote.
36264 Dies ist ein deutscher Text.
36265 Dies ist ein deutscher Text.
36271 \begin_inset space \hfill{}
36275 \begin_inset Box Frameless
36285 height_special "totalheight"
36290 backgroundcolor "none"
36293 \begin_layout Plain Layout
36294 This is an English Text.
36295 This is an English Text.
36296 This is an English Text.
36297 This is an English Text.
36298 This is an English Text.
36299 This is an English Text.
36300 This is an English Text.
36301 This is an English Text.
36302 This is an English Text.
36303 This is an English Text.
36304 This is an English Text.
36305 This is an English Text.
36306 This is an English Text.
36307 This is an English Text.
36308 This is an English Text.
36309 This is an English Text.
36313 \begin_layout Plain Layout
36314 This is an English footnote.
36319 This is an English Text.
36327 \begin_layout Standard
36328 \begin_inset VSpace bigskip
36331 The document-wide paragraph settings are ignored within minipages.
36332 That means that there will be no space between paragraphs in minipages
36333 although you set it to e.
36334 \begin_inset space \thinspace{}
36338 \begin_inset space \space{}
36345 in the document settings.
36348 \begin_layout Standard
36349 Minipages can also be used to set a background color for text parts, see
36351 \begin_inset space ~
36355 \begin_inset CommandInset ref
36357 reference "sec:Colored-Boxes"
36364 \begin_layout Standard
36365 \begin_inset Note Greyedout
36368 \begin_layout Plain Layout
36373 You cannot have floats or margin notes inside minipages but minipages can
36374 be used inside tables, floats, and other boxes.
36382 \begin_layout Standard
36383 \begin_inset VSpace bigskip
36389 \begin_layout Standard
36391 has also basic support for minipages whose size is automatically determined
36392 by the width of their contents, via the module
36394 Variable-width Minipages
36397 The \SpecialChar LyX
36400 varwidth-floats-side-by-side
36402 gives examples of variable-width minipages used for placing two floats
36406 \begin_layout Section
36408 \begin_inset CommandInset label
36410 name "sec:Parboxes"
36415 \begin_inset Index idx
36418 \begin_layout Plain Layout
36427 \begin_layout Standard
36428 Parboxes are very similar to minipages with the difference that they cannot
36432 \begin_layout Standard
36434 \begin_inset Box Frameless
36444 height_special "totalheight"
36449 backgroundcolor "none"
36452 \begin_layout Plain Layout
36453 This a text within a parbox.
36454 This a text within a parbox.
36457 \begin_layout Plain Layout
36458 This footnote won't appear:
36462 \begin_layout Plain Layout
36463 This footnote is inside a parbox and will therefore not appear.
36476 \begin_layout Section
36477 Boxes for Words and Characters
36478 \begin_inset Index idx
36481 \begin_layout Plain Layout
36482 Boxes ! for Characters
36490 \begin_layout Subsection
36491 Prevent Hyphenation
36492 \begin_inset CommandInset label
36494 name "sec:Prevent-Hyphenation"
36499 \begin_inset Index idx
36502 \begin_layout Plain Layout
36503 Boxes ! to Prevent Hyphenation
36511 \begin_layout Standard
36512 You can use the box type
36516 to prevent words or text from being hyphenated.
36517 \begin_inset Newline newline
36520 Here is an example text:
36523 \begin_layout Standard
36524 This line is an example to show how you can prevent the hyphenation of
36525 \begin_inset Quotes eld
36529 \begin_inset Quotes erd
36535 \begin_layout Standard
36536 To prevent the hyphenation of the word
36537 \begin_inset Quotes eld
36541 \begin_inset Quotes erd
36544 , put the word into a box, set the
36547 \begin_inset space ~
36556 and use no explicit width.
36559 \begin_layout Standard
36560 This is the result:
36563 \begin_layout Standard
36564 This line is an example to show how you can prevent the hyphenation of
36565 \begin_inset Box Frameless
36575 height_special "totalheight"
36580 backgroundcolor "none"
36583 \begin_layout Plain Layout
36584 \begin_inset Quotes eld
36588 \begin_inset Quotes erd
36599 \begin_layout Standard
36600 You can alternatively set the command
36601 \begin_inset Quotes eld
36611 \begin_inset Quotes grd
36614 as \SpecialChar TeX
36615 Code directly before the word:
36618 \begin_layout Standard
36619 This line is an example to show how you can prevent the hyphenation of
36620 \begin_inset Quotes eld
36627 \begin_layout Plain Layout
36637 \begin_inset Quotes erd
36643 \begin_layout Standard
36644 Of course the word now protrudes over the side margin.
36645 To avoid this, add via the menu
36647 Insert\SpecialChar menuseparator
36648 Formatting\SpecialChar menuseparator
36650 \begin_inset space ~
36654 \begin_inset space ~
36662 arg "newline-insert newline"
36665 ) a line break before the word:
36668 \begin_layout Standard
36669 This line is an example to show how you can prevent the hyphenation of
36670 \begin_inset Newline newline
36674 \begin_inset Box Frameless
36684 height_special "totalheight"
36689 backgroundcolor "none"
36692 \begin_layout Plain Layout
36693 \begin_inset Quotes eld
36697 \begin_inset Quotes erd
36708 \begin_layout Subsection
36710 \begin_inset CommandInset label
36712 name "subsec:Vertical-Alignment"
36717 \begin_inset Index idx
36720 \begin_layout Plain Layout
36721 Boxes ! for Vertical Alignment
36727 \begin_inset Index idx
36730 \begin_layout Plain Layout
36739 \begin_layout Standard
36740 With the help of the command
36746 you can align words, characters or other boxes vertically relative to the
36754 is used with the following scheme:
36757 \begin_layout Standard
36762 raisebox{lift}[height][depth]{box content}
36765 \begin_layout Standard
36766 The lift can be a positive value to raise the box or a negative value to
36770 \begin_layout Standard
36771 To align for example the word
36772 \begin_inset Quotes eld
36776 \begin_inset Quotes erd
36779 so that the bottom of the
36780 \begin_inset Quotes eld
36784 \begin_inset Quotes erd
36788 \begin_inset Quotes eld
36792 \begin_inset Quotes erd
36795 is at the baseline, insert the command
36798 \begin_layout Standard
36808 \begin_layout Standard
36809 in \SpecialChar TeX
36810 Code before the word.
36811 After the word insert a closing brace
36812 \begin_inset Quotes eld
36820 \begin_inset Quotes erd
36823 in \SpecialChar TeX
36825 \begin_inset Newline newline
36828 This is the result:
36831 \begin_layout Standard
36832 This is a text line with the word
36836 \begin_layout Plain Layout
36848 \begin_inset Quotes eld
36852 \begin_inset Quotes erd
36859 \begin_layout Plain Layout
36869 \begin_layout Standard
36870 \begin_inset VSpace bigskip
36873 When you raise or lower characters in a line, the line distance will be
36877 \begin_layout Standard
36878 This is a text line with the word
36882 \begin_layout Plain Layout
36894 \begin_inset Quotes eld
36898 \begin_inset Quotes erd
36905 \begin_layout Plain Layout
36913 \begin_inset Newline newline
36916 This is a text line with the word
36920 \begin_layout Plain Layout
36930 \begin_inset Quotes eld
36934 \begin_inset Quotes erd
36941 \begin_layout Plain Layout
36951 \begin_layout Standard
36952 If you want to prevent this for a certain reason, set the box height to
36957 \begin_layout Standard
36967 \begin_layout Standard
36968 This is a text line with the word
36972 \begin_layout Plain Layout
36984 \begin_inset Quotes eld
36988 \begin_inset Quotes erd
36995 \begin_layout Plain Layout
37003 \begin_inset Newline newline
37007 \begin_inset Newline newline
37010 This is a text line with the word
37014 \begin_layout Plain Layout
37018 raisebox{0.5cm}[0pt]{
37024 \begin_inset Quotes eld
37028 \begin_inset Quotes erd
37035 \begin_layout Plain Layout
37045 \begin_layout Section
37047 \begin_inset CommandInset label
37049 name "sec:Colored-Boxes"
37054 \begin_inset Index idx
37057 \begin_layout Plain Layout
37066 \begin_layout Standard
37067 To color the background of a box just select the color you like in the box
37069 This is for example a box with orange background:
37070 \begin_inset Box Frameless
37080 height_special "totalheight"
37085 backgroundcolor "orange"
37088 \begin_layout Plain Layout
37089 Box with orange background
37097 \begin_layout Standard
37098 If you use the decoration
37101 \begin_inset space ~
37105 \begin_inset space ~
37110 you can set a frame color.
37111 In this case you must also specify a background color (LyX sets white as
37113 Here is an example:
37114 \begin_inset Box Boxed
37124 height_special "totalheight"
37129 backgroundcolor "yellow"
37132 \begin_layout Plain Layout
37133 Box with teal frame color and yellow background color
37141 \begin_layout Standard
37142 \begin_inset VSpace bigskip
37145 Of course you can also have colored text inside a colored box:
37146 \begin_inset Newline newline
37150 \begin_inset Box Boxed
37160 height_special "totalheight"
37165 backgroundcolor "magenta"
37168 \begin_layout Plain Layout
37171 This is colored text within a colored, framed box
37179 \begin_layout Standard
37180 \begin_inset VSpace bigskip
37186 \begin_layout Standard
37187 If you need another color than the predefined ones, you can define your
37188 own color as described in section
37189 \begin_inset space ~
37193 \begin_inset CommandInset ref
37195 reference "sec:Colored-Tables"
37200 To use your own color you must typeset the box by using TeX code:
37203 \begin_layout Standard
37204 Colored boxes without frame are created with the command
37211 It has the following scheme:
37214 \begin_layout Standard
37219 colorbox{color}{box content}
37222 \begin_layout Standard
37223 The box content can also be a box and colored boxes can also be within other
37226 \begin_inset space \thinspace{}
37230 \begin_inset space \space{}
37233 a darkgreen background for a word, insert the command
37236 \begin_layout Standard
37241 colorbox{darkgreen}{
37244 \begin_layout Standard
37245 before the word in \SpecialChar TeX
37247 After the word insert a closing brace
37248 \begin_inset Quotes eld
37256 \begin_inset Quotes erd
37259 in \SpecialChar TeX
37261 \begin_inset Newline newline
37264 This is the result:
37267 \begin_layout Standard
37268 This is a line where the word
37272 \begin_layout Plain Layout
37276 colorbox{darkgreen}{
37282 \begin_inset Quotes eld
37286 \begin_inset Quotes erd
37293 \begin_layout Plain Layout
37300 has a darkgreen background.
37303 \begin_layout Standard
37304 Framed, colored boxes are created with the command
37311 It has the following scheme:
37314 \begin_layout Standard
37319 fcolorbox{frame color}{box color}{box content}
37322 \begin_layout Section
37323 Rotated and Scaled Boxes
37326 \begin_layout Standard
37327 To use the boxes described in this section, the module
37331 must be loaded in the document settings.
37334 \begin_layout Standard
37335 \begin_inset Note Greyedout
37338 \begin_layout Plain Layout
37343 Not all DVI viewers are able to display rotated or scaled material.
37351 \begin_layout Standard
37352 \begin_inset Note Greyedout
37355 \begin_layout Plain Layout
37360 Floats are not allowed inside a rotated or scaled box.
37368 \begin_layout Subsection
37370 \begin_inset Index idx
37373 \begin_layout Plain Layout
37380 \begin_inset Index idx
37383 \begin_layout Plain Layout
37392 \begin_layout Standard
37393 To rotate material, you can put it into a
37398 Such a box is inserted via the menu
37400 Insert\SpecialChar menuseparator
37401 Custom Insets\SpecialChar menuseparator
37407 \begin_layout Standard
37408 The rotation origin can be specified via the inset
37414 Insert\SpecialChar menuseparator
37422 The following positions are possible:
37442 (top), along with meaningful combinations of the four base positions.
37447 means that the rotation origin is at the top left corner of the box.
37448 When no rotation origin is specified, the position
37453 The rotation angle is a number that can be negative that specifies the
37455 The rotation direction is counterclockwise.
37458 \begin_layout Standard
37459 In the following example
37463 was inserted to the
37471 was inserted to the
37478 \begin_layout Standard
37480 \begin_inset Flex Rotatebox
37483 \begin_layout Plain Layout
37484 \begin_inset Argument 1
37487 \begin_layout Plain Layout
37494 \begin_inset Argument 2
37497 \begin_layout Plain Layout
37511 \begin_layout Standard
37512 The box content can also be another box or an inline formula:
37515 \begin_layout Standard
37517 \begin_inset Flex Rotatebox
37520 \begin_layout Plain Layout
37521 \begin_inset Argument 1
37524 \begin_layout Plain Layout
37531 \begin_inset Argument 2
37534 \begin_layout Plain Layout
37541 \begin_inset Box Doublebox
37551 height_special "totalheight"
37556 backgroundcolor "none"
37559 \begin_layout Plain Layout
37571 \begin_inset Flex Rotatebox
37574 \begin_layout Plain Layout
37575 \begin_inset Argument 1
37578 \begin_layout Plain Layout
37585 \begin_inset Argument 2
37588 \begin_layout Plain Layout
37595 \begin_inset Formula $\int A\,\mathrm{d}x=B$
37606 \begin_layout Standard
37607 or an image or table:
37610 \begin_layout Standard
37612 \begin_inset Flex Rotatebox
37615 \begin_layout Plain Layout
37616 \begin_inset Argument 1
37619 \begin_layout Plain Layout
37626 \begin_inset Argument 2
37629 \begin_layout Plain Layout
37636 \begin_inset Graphics
37637 filename clipart/Star-structure.pdf
37648 with a rotated image
37649 \begin_inset Flex Rotatebox
37652 \begin_layout Plain Layout
37653 \begin_inset Argument 2
37656 \begin_layout Plain Layout
37663 \begin_inset Tabular
37664 <lyxtabular version="3" rows="2" columns="2">
37665 <features tabularvalignment="middle">
37666 <column alignment="center" valignment="top">
37667 <column alignment="center" valignment="top">
37669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37672 \begin_layout Plain Layout
37678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37681 \begin_layout Plain Layout
37689 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37692 \begin_layout Plain Layout
37698 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
37701 \begin_layout Plain Layout
37718 \begin_inset Index idx
37721 \begin_layout Plain Layout
37728 \begin_inset Index idx
37731 \begin_layout Plain Layout
37732 Table Customization ! Rotating
37740 \begin_layout Standard
37741 \begin_inset Note Greyedout
37744 \begin_layout Plain Layout
37753 inset is empty or contains other characters than numbers you will get \SpecialChar LaTeX
37755 errors when viewing/exporting the document.
37763 \begin_layout Subsection
37765 \begin_inset Index idx
37768 \begin_layout Plain Layout
37775 \begin_inset Index idx
37778 \begin_layout Plain Layout
37787 \begin_layout Standard
37788 To scale material put it into a
37793 Such a box is inserted via the menu
37795 Insert\SpecialChar menuseparator
37796 Custom Insets\SpecialChar menuseparator
37802 \begin_layout Standard
37807 inset has the mandatory inset
37811 and the optional inset
37815 (inserted via the menu
37817 Insert\SpecialChar menuseparator
37821 Input there the horizontal and vertical scale factor, respectively.
37826 inset is used, the horizontal factor will also be used as the vertical
37830 \begin_layout Standard
37831 To get for example the double text size, compared to the document text size,
37842 \begin_inset Flex Scalebox
37845 \begin_layout Plain Layout
37846 \begin_inset Argument 1
37849 \begin_layout Plain Layout
37863 \begin_layout Standard
37881 \begin_inset Flex Scalebox
37884 \begin_layout Plain Layout
37885 \begin_inset Argument 1
37888 \begin_layout Plain Layout
37895 \begin_inset Argument 2
37898 \begin_layout Plain Layout
37912 \begin_layout Standard
37913 If the scaling factor is negative, the box content will be mirrored.
37930 can be used to create mirror writing:
37931 \begin_inset Flex Scalebox
37934 \begin_layout Plain Layout
37935 \begin_inset Argument 1
37938 \begin_layout Plain Layout
37945 \begin_inset Argument 2
37948 \begin_layout Plain Layout
37962 \begin_layout Standard
37980 \begin_inset Flex Scalebox
37983 \begin_layout Plain Layout
37984 \begin_inset Argument 1
37987 \begin_layout Plain Layout
37994 \begin_inset Argument 2
37997 \begin_layout Plain Layout
38011 \begin_layout Standard
38018 Insert\SpecialChar menuseparator
38019 Custom Insets\SpecialChar menuseparator
38045 \begin_layout Standard
38046 \begin_inset Note Greyedout
38049 \begin_layout Plain Layout
38058 inset is empty or contains other characters than numbers you will get LaTeX
38059 errors when viewing/exporting the document.
38067 \begin_layout Standard
38068 \begin_inset VSpace bigskip
38077 Insert\SpecialChar menuseparator
38078 Custom Insets\SpecialChar menuseparator
38081 ) is used to scale the content to a defined width and height.
38086 inset has the mandatory inset
38090 and the optional inset
38094 (inserted via the menu
38096 Insert\SpecialChar menuseparator
38100 Input there the width and height, respectively, as value with a unit.
38102 \begin_inset CommandInset ref
38104 reference "tab:Units"
38108 lists the possible units.
38109 If there is an exclamation mark
38113 in one of the two insets, the size is set so that the aspect ratio of the
38114 box content is kept.
38119 inset is used an exclamation mark will internally be used for the height.
38122 \begin_layout Standard
38140 \begin_inset Flex Resizebox
38143 \begin_layout Plain Layout
38144 \begin_inset Argument 1
38147 \begin_layout Plain Layout
38154 \begin_inset Argument 2
38157 \begin_layout Plain Layout
38169 \begin_inset Newline newline
38193 \begin_inset Flex Resizebox
38196 \begin_layout Plain Layout
38197 \begin_inset Argument 1
38200 \begin_layout Plain Layout
38207 \begin_inset Argument 2
38210 \begin_layout Plain Layout
38224 \begin_layout Standard
38225 \begin_inset Note Greyedout
38228 \begin_layout Plain Layout
38237 inset is empty or contains an invalid unit you will get LaTeX errors when
38238 viewing/exporting the document.
38246 \begin_layout Standard
38247 \begin_inset VSpace bigskip
38253 \begin_layout Standard
38254 The boxes can be combined in any order.
38263 which is in turn inside a
38270 \begin_layout Standard
38273 \begin_inset Flex Rotatebox
38276 \begin_layout Plain Layout
38277 \begin_inset Argument 1
38280 \begin_layout Plain Layout
38287 \begin_inset Argument 2
38290 \begin_layout Plain Layout
38297 \begin_inset Flex Resizebox
38300 \begin_layout Plain Layout
38301 \begin_inset Argument 1
38304 \begin_layout Plain Layout
38311 \begin_inset Flex Reflectbox
38314 \begin_layout Plain Layout
38333 \begin_layout Standard
38335 Images, tables, and inline formulas are allowed as box content:
38338 \begin_layout Standard
38341 \begin_inset Flex Resizebox
38344 \begin_layout Plain Layout
38345 \begin_inset Argument 1
38348 \begin_layout Plain Layout
38355 \begin_inset Flex Reflectbox
38358 \begin_layout Plain Layout
38359 \begin_inset Graphics
38360 filename clipart/Star-structure.pdf
38377 \begin_inset Flex Resizebox
38380 \begin_layout Plain Layout
38381 \begin_inset Argument 1
38384 \begin_layout Plain Layout
38391 \begin_inset Flex Reflectbox
38394 \begin_layout Plain Layout
38395 \begin_inset Tabular
38396 <lyxtabular version="3" rows="2" columns="2">
38397 <features tabularvalignment="middle">
38398 <column alignment="center" valignment="top">
38399 <column alignment="center" valignment="top">
38401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38404 \begin_layout Plain Layout
38410 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
38413 \begin_layout Plain Layout
38421 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
38424 \begin_layout Plain Layout
38430 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
38433 \begin_layout Plain Layout
38455 \begin_inset Flex Resizebox
38458 \begin_layout Plain Layout
38459 \begin_inset Argument 1
38462 \begin_layout Plain Layout
38469 \begin_inset Flex Reflectbox
38472 \begin_layout Plain Layout
38473 \begin_inset Formula $\int A\,\mathrm{d}x=B$
38487 \begin_inset Index idx
38490 \begin_layout Plain Layout
38497 \begin_inset Index idx
38500 \begin_layout Plain Layout
38501 Table Customization ! Scaling
38509 \begin_layout Standard
38510 When the global formula style
38514 is used in the document
38518 \begin_layout Plain Layout
38520 \begin_inset Quotes eld
38524 \begin_inset Quotes erd
38527 is added to the document class options.
38532 , display style formulas can also be scaled.
38535 \begin_layout Chapter
38536 Objects Surrounded by Text
38537 \begin_inset Index idx
38540 \begin_layout Plain Layout
38549 \begin_layout Section
38551 \begin_inset CommandInset label
38553 name "sec:Wrap-Floats"
38558 \begin_inset Index idx
38561 \begin_layout Plain Layout
38562 Floats ! Wrap Floats
38568 \begin_inset Index idx
38571 \begin_layout Plain Layout
38572 Surrounded by text ! Wrap Floats
38580 \begin_layout Standard
38581 \begin_inset Wrap figure
38588 \begin_layout Plain Layout
38589 \begin_inset Graphics
38590 filename clipart/2D-intensity-plot.pdf
38592 scaleBeforeRotation
38593 rotateOrigin center
38600 \begin_layout Plain Layout
38601 \begin_inset Caption Standard
38603 \begin_layout Plain Layout
38604 \begin_inset CommandInset label
38606 name "fig:This-is-a"
38610 This is a figure wrap float.
38620 This float type is used if you want to wrap text around a figure or table
38621 so that it only occupies some fraction of the column width.
38622 It can be inserted using the menu
38624 Insert\SpecialChar menuseparator
38625 Floats\SpecialChar menuseparator
38627 \begin_inset space ~
38631 \begin_inset space ~
38639 \begin_inset space ~
38643 \begin_inset space ~
38648 if the \SpecialChar LaTeX
38654 \begin_inset Index idx
38657 \begin_layout Plain Layout
38659 -packages ! wrapfig
38668 \begin_layout Plain Layout
38669 Installing a \SpecialChar LaTeX
38670 -package is explained it in the
38674 \begin_inset space ~
38684 The settings of the float can be modified by right-clicking on the float
38686 The mandatory settings are the float
38699 that specifies how much the float is set into the paragraph
38700 \begin_inset space \thinspace{}
38704 \begin_inset space \thinspace{}
38707 page margin, and the
38710 \begin_inset space ~
38715 that specifies how many text lines the float will approximately need.
38716 The line span is often hard to approximate; so it is better only to use
38717 it when you encounter float placement problems.
38718 You can furthermore decide if \SpecialChar LaTeX
38719 is allowed to let the float float within
38720 the paragraph or to surrounding paragraphs.
38722 \begin_inset space ~
38726 \begin_inset CommandInset ref
38728 reference "fig:This-is-a"
38732 is an example text wrap float with a width of 40
38733 \begin_inset space \thinspace{}
38737 \begin_inset space \thinspace{}
38740 cm overhang, set to the left.
38743 \begin_layout Standard
38744 \begin_inset Note Greyedout
38747 \begin_layout Plain Layout
38753 \begin_inset space ~
38756 wrap float floats are fragile! E.
38757 \begin_inset space \thinspace{}
38761 \begin_inset space \space{}
38764 having a figure too close to the bottom of the page can mess things up in
38765 such a way that the float does not appear in the output or that it is placed
38766 over some other text.
38774 \begin_layout Standard
38775 In general, the following applies for wrap floats:
38778 \begin_layout Itemize
38779 They should not be placed in paragraphs that run over a page break.
38780 That means that wrap floats are better inserted in their exact place when
38781 the document is almost finished and you are able to estimate where page
38782 breaks will appear.
38785 \begin_layout Itemize
38786 They should either be placed in their own paragraph before the paragraph
38787 where they should wrap into or within a paragraph.
38790 \begin_layout Itemize
38791 In consecutive paragraphs they may cause troubles, so ensure that there
38792 is a text paragraph between them as separator.
38795 \begin_layout Itemize
38796 They are not allowed in section headings or tables.
38799 \begin_layout Itemize
38800 Their numbering and referencing works as described in chap.
38801 \begin_inset space \thinspace{}
38805 \begin_inset CommandInset ref
38807 reference "chap:Floats"
38814 \begin_layout Section
38815 Surrounded Fixed Objects
38816 \begin_inset Index idx
38819 \begin_layout Plain Layout
38820 Surrounded by text ! Fixed objects
38828 \begin_layout Standard
38829 The wrap floats described in sec.
38830 \begin_inset space \thinspace{}
38834 \begin_inset CommandInset ref
38836 reference "sec:Wrap-Floats"
38840 have these positions in the paragraph:
38843 \begin_layout Standard
38846 \begin_inset Tabular
38847 <lyxtabular version="3" rows="2" columns="2">
38848 <features tabularvalignment="middle">
38849 <column alignment="center" valignment="top">
38850 <column alignment="center" valignment="top">
38852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38855 \begin_layout Plain Layout
38858 arg "dialog-show-new-inset graphics"
38866 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38869 \begin_layout Plain Layout
38877 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38880 \begin_layout Plain Layout
38886 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38889 \begin_layout Plain Layout
38901 \begin_inset Tabular
38902 <lyxtabular version="3" rows="2" columns="2">
38903 <features tabularvalignment="middle">
38904 <column alignment="center" valignment="top">
38905 <column alignment="center" valignment="top">
38907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38910 \begin_layout Plain Layout
38916 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38919 \begin_layout Plain Layout
38922 arg "dialog-show-new-inset graphics"
38932 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38935 \begin_layout Plain Layout
38941 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38944 \begin_layout Plain Layout
38958 \begin_layout Standard
38959 To get an object exactly at the position where it is inserted, for example
38960 to get one of these positions:
38961 \begin_inset VSpace defskip
38967 \begin_layout Standard
38970 \begin_inset Tabular
38971 <lyxtabular version="3" rows="2" columns="2">
38972 <features tabularvalignment="middle">
38973 <column alignment="center" valignment="top">
38974 <column alignment="center" valignment="top">
38976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38979 \begin_layout Plain Layout
38985 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38988 \begin_layout Plain Layout
38996 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38999 \begin_layout Plain Layout
39002 arg "dialog-show-new-inset graphics"
39010 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39013 \begin_layout Plain Layout
39025 \begin_inset Tabular
39026 <lyxtabular version="3" rows="2" columns="2">
39027 <features tabularvalignment="middle">
39028 <column alignment="center" valignment="top">
39029 <column alignment="center" valignment="top">
39031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39034 \begin_layout Plain Layout
39040 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39043 \begin_layout Plain Layout
39051 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39054 \begin_layout Plain Layout
39060 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39063 \begin_layout Plain Layout
39066 arg "dialog-show-new-inset graphics"
39080 \begin_inset Tabular
39081 <lyxtabular version="3" rows="2" columns="3">
39082 <features tabularvalignment="middle">
39083 <column alignment="center" valignment="top">
39084 <column alignment="center" valignment="top">
39085 <column alignment="center" valignment="top">
39087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39090 \begin_layout Plain Layout
39096 <cell alignment="center" valignment="top" topline="true" usebox="none">
39099 \begin_layout Plain Layout
39102 arg "dialog-show-new-inset graphics"
39110 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39113 \begin_layout Plain Layout
39121 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39124 \begin_layout Plain Layout
39130 <cell alignment="center" valignment="top" bottomline="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="2" 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" bottomline="true" leftline="true" usebox="none">
39193 \begin_layout Plain Layout
39199 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
39202 \begin_layout Plain Layout
39205 arg "dialog-show-new-inset graphics"
39213 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39216 \begin_layout Plain Layout
39230 \begin_layout Standard
39233 \begin_inset Tabular
39234 <lyxtabular version="3" rows="3" columns="2">
39235 <features tabularvalignment="middle">
39236 <column alignment="center" valignment="top">
39237 <column alignment="center" valignment="top">
39239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39242 \begin_layout Plain Layout
39248 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39251 \begin_layout Plain Layout
39259 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39262 \begin_layout Plain Layout
39265 arg "dialog-show-new-inset graphics"
39273 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39276 \begin_layout Plain Layout
39284 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39287 \begin_layout Plain Layout
39293 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39296 \begin_layout Plain Layout
39308 \begin_inset Tabular
39309 <lyxtabular version="3" rows="3" columns="3">
39310 <features tabularvalignment="middle">
39311 <column alignment="center" valignment="top">
39312 <column alignment="center" valignment="top">
39313 <column alignment="center" valignment="top">
39315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39318 \begin_layout Plain Layout
39324 <cell alignment="center" valignment="top" topline="true" usebox="none">
39327 \begin_layout Plain Layout
39333 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39336 \begin_layout Plain Layout
39344 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39347 \begin_layout Plain Layout
39353 <cell alignment="center" valignment="top" usebox="none">
39356 \begin_layout Plain Layout
39359 arg "dialog-show-new-inset graphics"
39367 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39370 \begin_layout Plain Layout
39378 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39381 \begin_layout Plain Layout
39387 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
39390 \begin_layout Plain Layout
39396 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39399 \begin_layout Plain Layout
39411 \begin_inset Tabular
39412 <lyxtabular version="3" rows="3" columns="2">
39413 <features tabularvalignment="middle">
39414 <column alignment="center" valignment="top">
39415 <column alignment="center" valignment="top">
39417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
39420 \begin_layout Plain Layout
39426 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
39429 \begin_layout Plain Layout
39437 <cell alignment="center" valignment="top" leftline="true" usebox="none">
39440 \begin_layout Plain Layout
39446 <cell alignment="center" valignment="top" rightline="true" usebox="none">
39449 \begin_layout Plain Layout
39452 arg "dialog-show-new-inset graphics"
39462 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
39465 \begin_layout Plain Layout
39471 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
39474 \begin_layout Plain Layout
39488 \begin_layout Standard
39490 you can use the \SpecialChar LaTeX
39496 \begin_inset Index idx
39499 \begin_layout Plain Layout
39501 -packages ! picinpar
39507 Here is an example:
39510 \begin_layout Standard
39514 \begin_layout Plain Layout
39524 \begin_inset Note Note
39527 \begin_layout Plain Layout
39528 The following section will only be displayed when the \SpecialChar LaTeX
39541 \begin_layout Standard
39545 \begin_layout Plain Layout
39549 begin{window}[2,c,{
39555 \begin_inset Graphics
39556 filename clipart/2D-intensity-plot.pdf
39559 scaleBeforeRotation
39560 rotateOrigin center
39568 \begin_layout Plain Layout
39573 \begin_layout Plain Layout
39582 It was in the spring of the year 1894 that all London was interested, and
39583 the fashionable world dismayed, by the murder of the Honourable Ronald
39584 Adair under most unusual and inexplicable circumstances.
39585 The public has already learned those particulars of the crime which
39591 \begin_layout Plain Layout
39602 came out in the police investigation, but a good deal was suppressed upon
39603 that occasion, since the case for the prosecution was so overwhelmingly
39604 strong that it was not necessary to bring forward all the facts.
39605 Only now, at the end of nearly ten years, am I allowed to supply those
39606 missing links which make up the whole of that remarkable chain.
39612 \begin_layout Plain Layout
39624 \begin_layout Standard
39628 \begin_layout Plain Layout
39637 Footnote of the paragraph with the fixed object.
39641 \begin_layout Plain Layout
39651 \begin_layout Standard
39652 Surrounded fixed objects are used to let text float around them, at which
39653 the object's position in the paragraph can be determined by the number
39655 In contrary to floats is it not possible to have a numbered caption.
39658 \begin_layout Standard
39659 A fixed object is inserted by adding the command
39662 \begin_layout Standard
39667 begin{window}[2,c,{
39670 \begin_layout Standard
39671 as \SpecialChar TeX
39672 Code at the beginning of the paragraph.
39673 The first parameter in the bracket, here '2', defines the number of lines
39674 above the object, the second, here 'c', the position of the object.
39675 The positions 'l', 'c' and 'r' (for left, center, right) are possible.
39676 Behind the command you insert the object.
39677 In this example an image with a width of 40
39678 \begin_inset space \thinspace{}
39681 % of the text column width was inserted.
39682 The object can also be a table, a box or an equation.
39683 Behind the object the command
39686 \begin_layout Standard
39689 },description text]
39690 \begin_inset Newline newline
39696 \begin_layout Standard
39699 \begin_inset Quotes eld
39707 \begin_inset Quotes erd
39710 is in the second line.
39711 The description text is optional.
39712 The text surrounding the object must be in the same paragraph as the object,
39713 so it must begin directly after the
39718 At the end of the paragraph insert the command:
39721 \begin_layout Standard
39729 \begin_layout Standard
39730 Within a paragraph with a fixed object, you cannot insert footnotes in the
39732 You have to use instead the command
39738 inside the paragraph and outside the command
39744 as described in sec.
39745 \begin_inset space \thinspace{}
39749 \begin_inset CommandInset ref
39751 reference "sec:Footnotes"
39758 \begin_layout Standard
39762 \begin_layout Plain Layout
39772 \begin_inset Note Note
39775 \begin_layout Plain Layout
39776 The following will be displayed when the \SpecialChar LaTeX
39789 \begin_layout Standard
39790 You need to install the \SpecialChar LaTeX
39795 to see the following part of this section in the output.
39798 \begin_layout Standard
39802 \begin_layout Plain Layout
39814 \begin_layout Section
39816 \begin_inset Index idx
39819 \begin_layout Plain Layout
39826 \begin_inset Index idx
39829 \begin_layout Plain Layout
39830 Surrounded by text ! Initials
39838 \begin_layout Standard
39839 To use initials, you must have the \SpecialChar LaTeX
39845 \begin_inset Index idx
39848 \begin_layout Plain Layout
39850 -packages ! lettrine
39855 installed and use the module
39859 in your document (menu
39861 Document\SpecialChar menuseparator
39862 Settings\SpecialChar menuseparator
39866 To insert an initial, use the style
39871 This style has a mandatory and two optional arguments.
39872 The arguments are inserted via the
39877 The mandatory argument
39881 contains the letter(s) that is the initial, the argument
39884 \begin_inset space ~
39888 \begin_inset space ~
39893 contains the rest of the word or text of the initial letter(s).
39898 contains parameters to modify the initial.
39899 For more information about the possible parameters see the documentation
39905 \begin_inset CommandInset citation
39913 The style itself contains the text that is surrounding the initial.
39914 The usual style is hereby that the word whose first letter is the initial,
39922 \begin_layout Standard
39923 Here are some examples:
39926 \begin_layout Standard
39930 \begin_layout Plain Layout
39940 \begin_inset Note Note
39943 \begin_layout Plain Layout
39944 The following section will only be displayed when the \SpecialChar LaTeX
39957 \begin_layout Enumerate
39958 No optional argument, the initial is the letter 'I' in the math font
39959 \begin_inset Formula $\mathfrak{Fraktur}$
39966 \begin_layout Initial
39967 \begin_inset Argument 2
39970 \begin_layout Plain Layout
39971 \begin_inset Formula $\mathfrak{I}$
39980 \begin_inset Argument 3
39983 \begin_layout Plain Layout
39989 was in the spring of the year 1894 that all London was interested, and
39990 the fashionable world dismayed, by the murder of the Honourable Ronald
39991 Adair under most unusual and inexplicable circumstances.
39992 The public has already learned those particulars of the crime which came
39993 out in the police investigation, but a good deal was suppressed upon that
39994 occasion, since the case for the prosecution was so overwhelmingly strong
39995 that it was not necessary to bring forward all the facts.
39996 \begin_inset Newpage newpage
40003 \begin_layout Enumerate
40004 Only one line is surrounding the initial, which is formed by two letters
40005 in standard font and no text is printed in small caps:
40009 \begin_layout Initial
40010 \begin_inset Argument 1
40013 \begin_layout Plain Layout
40020 \begin_inset Argument 2
40023 \begin_layout Plain Layout
40029 was in the spring of the year 1894 that all London was interested, and
40030 the fashionable world dismayed, by the murder of the Honourable Ronald
40031 Adair under most unusual and inexplicable circumstances.
40032 The public has already learned those particulars of the crime which came
40033 out in the police investigation, but a good deal was suppressed upon that
40034 occasion, since the case for the prosecution was so overwhelmingly strong
40035 that it was not necessary to bring forward all the facts.
40039 \begin_layout Enumerate
40040 Magenta, hanging initial over 3
40041 \begin_inset space ~
40044 lines in the math font
40045 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
40049 \begin_inset Quotes eld
40052 t was in the spring
40053 \begin_inset Quotes erd
40060 ; to color the initial, you must insert this command before the initial:
40061 \begin_inset Newline newline
40075 \begin_inset Newline newline
40083 \begin_inset Quotes eld
40087 \begin_inset Quotes erd
40091 \begin_inset Quotes eld
40095 \begin_inset Quotes erd
40099 \begin_inset Quotes eld
40103 \begin_inset Quotes erd
40107 \begin_inset Quotes eld
40111 \begin_inset Quotes erd
40115 \begin_inset Quotes eld
40119 \begin_inset Quotes erd
40123 \begin_inset Quotes eld
40127 \begin_inset Quotes erd
40131 \begin_inset Quotes eld
40135 \begin_inset Quotes erd
40139 \begin_inset Quotes eld
40143 \begin_inset Quotes erd
40146 , and add this command to the document preamble:
40147 \begin_inset Newline newline
40154 @ifundefined{textcolor}
40155 \begin_inset Newline newline
40159 \begin_inset space ~
40164 usepackage{color}}{}
40168 \begin_layout Standard
40172 \begin_layout Plain Layout
40186 \begin_inset Note Note
40189 \begin_layout Plain Layout
40190 makes the initial magenta
40198 \begin_layout Initial
40199 \begin_inset Argument 1
40202 \begin_layout Plain Layout
40203 lines=3, lhang=0.33, loversize=0.25
40209 \begin_inset Argument 2
40212 \begin_layout Plain Layout
40213 \begin_inset Formula $\mathcal{I}$
40222 \begin_inset Argument 3
40225 \begin_layout Plain Layout
40226 t was in the spring
40231 of the year 1894 that all London was interested, and the fashionable world
40232 dismayed, by the murder of the Honourable Ronald Adair under most unusual
40233 and inexplicable circumstances.
40234 The public has already learned those particulars of the crime which came
40235 out in the police investigation, but a good deal was suppressed upon that
40236 occasion, since the case for the prosecution was so overwhelmingly strong
40237 that it was not necessary to bring forward all the facts.
40241 \begin_layout Standard
40245 \begin_layout Plain Layout
40255 \begin_inset Note Note
40258 \begin_layout Plain Layout
40259 The following will be displayed when the \SpecialChar LaTeX
40272 \begin_layout Standard
40273 You need to install the \SpecialChar LaTeX
40278 to see the following part of this section in the output.
40281 \begin_layout Standard
40285 \begin_layout Plain Layout
40297 \begin_layout Chapter
40298 External Document Parts
40299 \begin_inset Index idx
40302 \begin_layout Plain Layout
40303 External Document Parts
40311 \begin_layout Standard
40314 Insert\SpecialChar menuseparator
40317 you can insert external material into your document.
40321 \begin_layout Description
40323 \begin_inset space ~
40326 Document Another \SpecialChar LyX
40327 document; its content is directly inserted to your document.
40330 \begin_layout Description
40332 \begin_inset space ~
40335 Text A text document; each line is inserted in your document as a separate
40339 \begin_layout Description
40341 \begin_inset space ~
40345 \begin_inset space ~
40349 \begin_inset space ~
40352 Lines A text document; text lines are inserted in your document continuously
40353 but an empty text line creates a new paragraph.
40356 \begin_layout Description
40358 \begin_inset space ~
40361 Material Files in various formats.
40364 \begin_layout Description
40366 \begin_inset space ~
40369 Document \SpecialChar LyX
40370 or \SpecialChar LaTeX
40374 \begin_layout Section
40376 \begin_inset Index idx
40379 \begin_layout Plain Layout
40380 External Document Parts ! External Material
40388 \begin_layout Standard
40389 The external material feature allows you to insert files into your document
40390 without converting them to a format that can be read by the document output
40393 takes care of the necessary conversions.
40394 This is similar to images that can be inserted in various image formats
40395 in \SpecialChar LyX
40397 When you have enabled Instant Preview in \SpecialChar LyX
40398 's preferences under
40401 \begin_inset space ~
40405 \begin_inset space ~
40408 feel\SpecialChar menuseparator
40411 , the external material types Dia and Xfig are directly shown in \SpecialChar LyX
40415 \begin_layout Standard
40416 External material can be inserted via the
40420 dialog that is accessible with the menu
40422 Insert\SpecialChar menuseparator
40423 File\SpecialChar menuseparator
40425 \begin_inset space ~
40431 Currently the following file types (
40438 \begin_layout Description
40440 \begin_inset space ~
40443 diagram This template supports chess position diagrams made with the program
40447 \begin_inset CommandInset href
40450 target "https://en.wikipedia.org/wiki/XBoard"
40460 \begin_layout Description
40462 \begin_inset space ~
40465 diagram This template supports diagrams created with the program
40468 \begin_inset CommandInset href
40471 target "https://en.wikipedia.org/wiki/Dia_(software)"
40481 \begin_layout Description
40483 \begin_inset space ~
40486 figure This template supports specific scalable images derived from scalable
40487 vector graphics (SVG), in which the contained text is replaced by a version
40488 typeset by \SpecialChar LaTeX
40489 (and hence in the current document font).
40490 It relies on a feature of the program
40493 \begin_inset CommandInset href
40496 target "https://inkscape.org/"
40503 which creates a special PDF or EPS and \SpecialChar LaTeX
40504 file from a given SVG file (in
40509 itself, the feature is available via the option
40511 Omit text in PDF and create LaTeX file
40513 when saving a drawing as PDF or EPS).
40514 The benefit of such files is a uniform text style throughout the whole
40516 \begin_inset Newline newline
40519 The external template reads SVG files and uses a converter program to generate
40520 the respective PDF\SpecialChar breakableslash
40521 EPS and \SpecialChar LaTeX
40530 on the fly, so you don't have to export those files yourself.
40531 If you prefer the latter and want use given
40547 files instead, simply input the respective
40560 \begin_inset space ~
40564 \begin_inset CommandInset ref
40566 reference "sec:Child-Documents"
40570 ) rather than using this template.
40571 \begin_inset Newline newline
40574 You can use \SpecialChar TeX
40575 code commands such as
40588 \begin_inset space \space{}
40591 in the text of the SVG.
40592 The size of the font will be taken from the settings of the \SpecialChar LyX
40595 \begin_inset CommandInset citation
40602 for more information and examples.
40605 \begin_layout Description
40607 \begin_inset space ~
40611 \begin_inset space ~
40614 music This template is used for music notation typeset with the program
40615 \begin_inset Newline linebreak
40621 \begin_inset CommandInset href
40624 target "https://en.wikipedia.org/wiki/LilyPond"
40632 For \SpecialChar LyX
40633 's extended support for LilyPond have a look at \SpecialChar LyX
40641 \begin_layout Description
40643 \begin_inset space ~
40646 pages With this template you can insert PDF documents to your document.
40647 To specify the range of pages that should be included, use the option
40657 LaTeX and LyX options
40660 The argument of this option is a comma separated list, containing page
40661 numbers (insert as option
40665 ), ranges of page numbers (
40669 ) or any combination.
40670 To insert empty pages use {}.
40672 \begin_inset space \thinspace{}
40676 \begin_inset space ~
40681 pages={3,{},8-11,15}
40683 will insert page 3, an empty page, and pages 8, 9, 10, 11 and 15.
40684 Page ranges are specified in the syntax
40693 This selects all pages from
40706 defaults to the first page; omitting
40710 defaults to the last page of the document.
40711 The last page can also be selected with the keyword
40716 (This is only permitted in a page range.) So
40720 will insert all pages of the document and
40724 will insert all pages in reverse order.
40725 If the pages option is not specified, only the first page of the PDF is
40727 \begin_inset Newline newline
40734 inserts the pages with their original size, if this option is not given,
40735 the pages will be resized to fith the width of the page of your document.
40740 you can specify the width and height of the input pages and their rotation.
40741 If another width than 100
40742 \begin_inset space \thinspace{}
40745 Scale% is used, the option
40749 will be overwritten.
40750 For more info and possible options, have a look into the documentation
40751 of the \SpecialChar LaTeX
40757 \begin_inset CommandInset citation
40765 \begin_inset Index idx
40768 \begin_layout Plain Layout
40770 -packages ! pdfpages
40776 \begin_inset Newline newline
40779 To use this template in a
40783 presentation you need to first insert an
40787 environment and in a subsequent paragraph a \SpecialChar TeX
40788 Code box containing the command
40793 setbeamertemplate{background canvas}{}
40796 Then you can insert as many paragraphs containing the PDFPages template
40798 Behind the included PDF pages you can resume the Beamer presentation by
40799 beginning a new frame or by starting a new section.
40800 To avoid stray blank pages prior to the PDF pages, make sure to use the
40805 alignment for the paragraph containing the template.
40806 \begin_inset Newline newline
40809 Here is an included PDF which is rotated by -5°:
40810 \begin_inset External
40812 filename clipart/Abstract.pdf
40813 extra LaTeX "noautoscale, pages=-"
40815 rotateOrigin bottomleft
40822 \begin_layout Description
40824 \begin_inset space ~
40827 image This can be used for bitmap images.
40828 The image can be treated in the
40832 dialog like the images that are usually included via the
40836 dialog as described in section
40837 \begin_inset space ~
40841 \begin_inset CommandInset ref
40843 reference "sec:Graphics-Dialog"
40848 Here is an inserted raster image:
40849 \begin_inset External
40850 template RasterImage
40851 filename clipart/ToolbarEnvBox.png
40858 \begin_layout Description
40859 Spreadsheet With this template you can insert spreadsheets
40860 \begin_inset space \thinspace{}
40864 \begin_inset space \thinspace{}
40867 tables in the format of
40870 \begin_inset CommandInset href
40873 target "https://en.wikipedia.org/wiki/Gnumeric"
40881 \begin_inset CommandInset href
40883 name "OpenDocument"
40884 target "https://en.wikipedia.org/wiki/OpenDocument"
40890 \begin_inset CommandInset href
40892 name "Microsoft Office XML"
40893 target "https://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
40899 \begin_inset CommandInset href
40901 name "Office Open XML"
40902 target "https://en.wikipedia.org/wiki/Office_Open_XML"
40908 For this feature \SpecialChar LyX
40909 must have found the program
40913 during its configuration.
40914 This program is part of Gnumeric, so that you must have Gnumeric installed,
40915 also if you don't have tables in the Gnumeric format.
40916 For examples and possible limitations have a look at \SpecialChar LyX
40924 \begin_layout Description
40926 \begin_inset space ~
40929 graphics This can be used for vector graphics.
40930 The image can be treated in the
40934 dialog like the images that are usually included via the
40938 dialog as described in section
40939 \begin_inset space ~
40943 \begin_inset CommandInset ref
40945 reference "sec:Graphics-Dialog"
40950 Here is an inserted vector graphics:
40951 \begin_inset External
40952 template VectorGraphics
40953 filename clipart/SVG-Drawing.svg
40962 \begin_layout Description
40964 \begin_inset space ~
40967 figure This template supports images created with the program
40968 \begin_inset CommandInset href
40971 target "https://en.wikipedia.org/wiki/Xfig"
40979 \begin_layout Standard
40980 When you use the option
40992 dialog, only the path to the inserted file is shown in the output.
40993 \begin_inset Newline newline
40996 External material is displayed in \SpecialChar LyX
40997 either as a box like this:
40998 \begin_inset Graphics
40999 filename clipart/ExternalMaterial.png
41001 scaleBeforeRotation
41005 or as image, depending on the option
41011 LaTeX and LyX options
41016 \begin_layout Standard
41023 manual explains how you can define your own templates.
41026 \begin_layout Section
41028 \begin_inset CommandInset label
41030 name "sec:Child-Documents"
41035 \begin_inset Index idx
41038 \begin_layout Plain Layout
41039 External Document Parts ! Child Documents
41045 \begin_inset Index idx
41048 \begin_layout Plain Layout
41057 \begin_layout Standard
41058 Child documents are used if you have a long document consisting of several
41059 larger parts or sections.
41060 For maintenance it is often useful and sometimes even required to split
41061 the document into several files that can be revised separately.
41062 The different documents are then the so called
41063 \begin_inset Quotes eld
41067 \begin_inset Quotes erd
41070 , and a master document connects them to print the full document or parts
41072 A child document inherits elements from its master, for example the \SpecialChar LaTeX
41074 the bibliography, and labels for cross-references.
41077 \begin_layout Standard
41078 To be able to work on child documents without the need to open their master,
41079 specify in the child document the master in the menu
41081 Document\SpecialChar menuseparator
41082 Settings\SpecialChar menuseparator
41084 \begin_inset space ~
41090 This master document will then be used in the background by \SpecialChar LyX
41092 the child document.
41095 \begin_layout Standard
41096 Included documents are displayed in \SpecialChar LyX
41097 as a box like this:
41098 \begin_inset Graphics
41099 filename clipart/ChildDocument.png
41101 scaleBeforeRotation
41105 To include child documents in a master document use the menu
41107 Insert\SpecialChar menuseparator
41108 File\SpecialChar menuseparator
41110 \begin_inset space ~
41116 A dialog pops up where you can choose between four include methods:
41119 \begin_layout Description
41120 Include You can include \SpecialChar LyX
41121 and \SpecialChar LaTeX
41131 dialog, the included document will be opened in \SpecialChar LyX
41132 in a new file tab so that
41134 \begin_inset Newline newline
41140 \begin_layout Standard
41141 Here is a child document inserted using
41146 \begin_inset CommandInset include
41147 LatexCommand include
41148 filename "DummyDocument1.lyx"
41156 \begin_layout Standard
41157 The section numbering includes the sections of the included files in the
41158 order they are inserted in the master document.
41159 The included example document has for example a subsection that is numbered
41160 as a subsection of this section.
41161 Labels of included documents can be referenced: Subsection
41162 \begin_inset space ~
41166 \begin_inset CommandInset ref
41168 reference "subsec:External-Subsection-1"
41175 \begin_layout Standard
41176 The preamble of the child document is ignored; only the preamble of the
41177 master document is used.
41178 Branches in child documents will be ignored by the master document when
41179 the master document does not have a branch with the same name.
41180 Included documents are inserted starting on a new page and ending with
41184 \begin_layout Standard
41185 \begin_inset Note Greyedout
41188 \begin_layout Plain Layout
41193 If you have included a \SpecialChar LyX
41194 or \SpecialChar LaTeX
41195 file, you are warned when you export/view the
41196 document in case the child document uses another document class than the
41197 master document as this will lead to unexpected outputs.
41205 \begin_layout Description
41206 Input This method is very similar to the Include method.
41207 The differences are:
41211 \begin_layout Itemize
41212 Input files don't start with a new page and don't end with a page break.
41215 \begin_layout Itemize
41216 Input files can be previewed in \SpecialChar LyX
41220 \begin_inset space ~
41225 is enabled in \SpecialChar LyX
41226 's preferences under
41229 \begin_inset space ~
41233 \begin_inset space ~
41236 feel\SpecialChar menuseparator
41242 \begin_layout Itemize
41243 You cannot exclude Input files via the menu
41245 Document\SpecialChar menuseparator
41246 Settings\SpecialChar menuseparator
41253 \begin_layout Standard
41254 Here is a child document inserted using
41259 \begin_inset CommandInset include
41261 filename "DummyDocument2.lyx"
41269 \begin_layout Description
41270 Verbatim With this method any text file can be included.
41271 The file is shown in the output with its source code; no command used in
41272 the text is invoked.
41273 You can use the option
41275 Mark spaces in output
41277 that displays the character
41278 \begin_inset Quotes eld
41285 \begin_layout Plain Layout
41295 \begin_inset Quotes erd
41298 for every space character in the source code.
41299 The difference from the method via the menu
41301 Insert\SpecialChar menuseparator
41302 File\SpecialChar menuseparator
41304 \begin_inset space ~
41309 is that the document content is not shown in \SpecialChar LyX
41313 \begin_layout Standard
41314 Here is a child document inserted as Verbatim:
41315 \begin_inset CommandInset include
41316 LatexCommand verbatiminput
41317 filename "DummyTextDocument.txt"
41323 \begin_inset VSpace bigskip
41326 Here is a child document inserted as Verbatim using the
41328 Mark spaces in output
41331 \begin_inset CommandInset include
41332 LatexCommand verbatiminput*
41333 filename "DummyTextDocument.txt"
41341 \begin_layout Standard
41342 \begin_inset VSpace bigskip
41348 \begin_layout Standard
41349 \begin_inset Note Greyedout
41352 \begin_layout Plain Layout
41357 As you can see in the examples above, the text of the documents included
41362 is not broken at the end of the document lines.
41370 \begin_layout Description
41371 Listings This type is described in chapter
41372 \begin_inset space ~
41376 \begin_inset CommandInset ref
41378 reference "cha:Program-Code-Listings"
41385 \begin_layout Standard
41386 \begin_inset Note Greyedout
41389 \begin_layout Plain Layout
41394 Including the same document twice in a document using different methods
41395 could cause \SpecialChar LaTeX
41404 \begin_layout Standard
41405 If you want to view/export only selected children of your master document,
41406 either because you want to save compiling time or because you want to distribut
41407 e single chapters of the book you are just writing, you can exclude children
41409 This is done via the menu
41411 Document\SpecialChar menuseparator
41412 Settings\SpecialChar menuseparator
41416 You can exclude\SpecialChar breakableslash
41417 include children by double-clicking on the
41421 column of the respective child document in the list (note that this only
41422 works for documents embedded via
41423 \begin_inset Quotes eld
41427 \begin_inset Quotes erd
41431 \begin_inset Quotes eld
41435 \begin_inset Quotes erd
41440 \change_inserted -712698321 1584102244
41444 \begin_layout Standard
41446 \change_inserted -712698321 1584102427
41449 Global Counters & References
41451 you can set how page numbers, references, section counters etc.
41455 \begin_layout Itemize
41457 \change_inserted -712698321 1584102377
41463 \change_deleted -712698321 1584102385
41466 Maintain counters and references
41471 will assure that all page numbers, references etc.
41472 \begin_inset space ~
41475 are correct as if the whole document was
41476 \change_deleted -712698321 1584108508
41478 \change_inserted -712698321 1584108509
41482 This is useful if you want the selected sub-documents to look exactly as
41483 in the context of the whole document.
41484 However, \SpecialChar LyX
41485 needs to process the whole document in the background for this
41487 \change_inserted -712698321 1584102406
41488 , which can take a long time
41492 \change_deleted -712698321 1584103026
41494 \change_inserted -712698321 1584102447
41498 \begin_layout Itemize
41500 \change_inserted -712698321 1584102489
41509 \change_inserted -712698321 1584103270
41510 only compiles the master and the included documents.
41511 Thus the counters will differ from the complete document, and references
41512 to excluded child documents will not be resolved.
41514 \change_deleted -712698321 1584102517
41516 \change_inserted -712698321 1584102518
41519 f you want to save compile time and if counters and references do not need
41521 \change_deleted -712698321 1584102523
41522 disable this checkbox
41523 \change_inserted -712698321 1584102546
41524 use this option as this is the fastest one
41527 \change_inserted -712698321 1584102550
41531 \begin_layout Itemize
41533 \change_inserted -712698321 1584109486
41538 is somewhat in-between the above two.
41539 If this is selected, \SpecialChar LyX
41540 will compile the whole document at the first output,
41541 which sets up counters and references correctly.
41542 In subsequent outputs, it will compile the whole document only if a change
41543 has been made in an excluded child document.
41544 As long as you only edit the included files, this approach is as fast as
41545 the second one, while giving you more or less correct counters and references.
41546 They are only more or less correct since the change of size of included
41547 documents obviously also changes the pagination of excluded documents,
41548 but this change cannot be tracked with this method.
41553 \begin_layout Standard
41554 Alternatively, you can put each included file into a branch.
41558 \begin_layout Plain Layout
41559 Branches are described in section
41563 of the \SpecialChar LyX
41573 By enabling\SpecialChar breakableslash
41574 disabling branches you can decide which included files will
41575 appear in the output.
41576 This has the advantage that it also works with Input'ed sub-documents.
41577 However, counters and references will not be maintained with this approach.
41580 \begin_layout Chapter
41581 Program Code Listings
41582 \begin_inset CommandInset label
41584 name "cha:Program-Code-Listings"
41589 \begin_inset Index idx
41592 \begin_layout Plain Layout
41599 \begin_inset Index idx
41602 \begin_layout Plain Layout
41609 \begin_inset Index idx
41612 \begin_layout Plain Layout
41621 \begin_layout Standard
41622 To include and typeset program code you can use the
41626 inset that can be inserted via the menu
41628 Insert\SpecialChar menuseparator
41632 The \SpecialChar LaTeX
41638 \begin_inset Index idx
41641 \begin_layout Plain Layout
41643 -packages ! listings
41653 \begin_inset Index idx
41656 \begin_layout Plain Layout
41663 provide a powerful and flexible way to insert program source code into
41665 One can only use one of these packages in a document.
41670 is used by default.
41673 \begin_layout Standard
41674 \begin_inset Note Note
41677 \begin_layout Plain Layout
41683 does NOT want to encourage users to add the
41687 option to converter definitions.
41688 It works, but it is a huge security risk.
41689 There is an active discussion about how to handle this.
41690 Once that's been resolved, this can be updated appropriately.
41693 \begin_layout Plain Layout
41697 \begin_layout Plain Layout
41702 , you need to select it as the syntax highlighting package in the document
41712 requires also additionally the module
41724 \begin_layout Plain Layout
41725 Under \SpecialChar LyX
41730 is already installed.
41739 for the \SpecialChar LaTeX
41741 If you want for example view or export your document as the format
41744 \begin_inset space ~
41749 , go to the \SpecialChar LyX
41750 preferences and there to the section
41753 \begin_inset space ~
41756 Handling\SpecialChar menuseparator
41760 There go to the entry
41763 \begin_inset space ~
41767 \begin_inset space ~
41772 and look at the field
41777 There you see by default the content
41778 \begin_inset Newline newline
41786 \begin_inset Newline newline
41790 \begin_inset Newline newline
41795 pdflatex $$i -shell-escape
41796 \begin_inset Newline newline
41805 button and subsequently
41814 The same can be done for the output formats
41817 \begin_inset space ~
41825 \begin_inset space ~
41838 \begin_layout Standard
41839 Right-clicking on a listings inset opens the context menu containing where
41840 you can set the listings format.
41843 \begin_layout Standard
41844 By default, a listing starts a new paragraph in the output.
41845 The placement option
41848 \begin_inset space ~
41853 prints the listing inline like this:
41854 \begin_inset listings
41855 lstparams "language={C++}"
41859 \begin_layout Plain Layout
41867 \begin_inset Newline newline
41874 creates a listings float where you can specify the placement options
41875 \begin_inset Quotes eld
41883 \begin_inset Quotes erd
41887 \begin_inset Quotes eld
41895 \begin_inset Quotes erd
41899 \begin_inset Quotes eld
41907 \begin_inset Quotes erd
41911 \begin_inset Quotes eld
41919 \begin_inset Quotes erd
41922 corresponding to the float placement options described in section
41923 \begin_inset space ~
41927 \begin_inset CommandInset ref
41929 reference "sec:Float-Settings"
41934 The placement options can be mixed and are inserted without any separation,
41936 \begin_inset space \thinspace{}
41940 \begin_inset space \space{}
41944 \begin_inset Quotes eld
41952 \begin_inset Quotes erd
41957 \begin_inset Quotes eld
41961 \begin_inset Quotes erd
41964 has sometimes no effect, but you don't need to use the
41968 option in this case as also non-float listings can have captions and be
41972 \begin_layout Standard
41973 You can add captions to listings that are not inline with the menu
41975 Insert\SpecialChar menuseparator
41979 Listings can be referenced like floats: Listing
41980 \begin_inset space ~
41984 \begin_inset CommandInset ref
41986 reference "lst:Example-Listing"
41991 A list of listings which contains all listings with captions can be created
41994 Insert\SpecialChar menuseparator
41996 \begin_inset space ~
42000 \begin_inset space ~
42003 TOC\SpecialChar menuseparator
42007 The list entries are the listing caption and the listing number.
42010 \begin_layout Standard
42011 \begin_inset listings
42012 lstparams "language=Python"
42016 \begin_layout Plain Layout
42018 \begin_inset Caption Standard
42020 \begin_layout Plain Layout
42021 \begin_inset CommandInset label
42023 name "lst:Example-Listing"
42027 Example Listing float
42032 # Example listing float
42035 \begin_layout Plain Layout
42040 \begin_layout Plain Layout
42042 'this is a python function'
42045 \begin_layout Plain Layout
42055 \begin_layout Standard
42056 \begin_inset Note Greyedout
42059 \begin_layout Plain Layout
42068 package places captions before the listing by default.
42069 \begin_inset Newline newline
42076 package places them after the listing by default if it is floating.
42077 If it is not floating, caption will be typeset before the listing if it
42078 is inserted to its first line, otherwise it will be typeset after the listing.
42079 If you want to force the placement in every case before the listing, you
42080 have to add the following lines as last thing to the preamble:
42081 \begin_inset Newline newline
42088 @ifundefined{newfloat}
42089 \begin_inset Newline newline
42093 \begin_inset Phantom HPhantom
42096 \begin_layout Plain Layout
42099 \begin_inset space ~
42109 usepackage{float}}{}
42110 \begin_inset Newline newline
42115 floatstyle{plaintop}
42118 \begin_inset Note Note
42121 \begin_layout Plain Layout
42126 will be loaded automatically by \SpecialChar LyX
42127 when you use special document-wide float
42128 placement settings.
42129 To avoid that it is loaded twice the command
42135 is used in the above command.
42148 \begin_layout Standard
42149 When you have set a programming language in the listings dialog, the keywords
42150 of this language will be recognized and specially typeset in the output.
42151 In the example listings the Python keyword
42152 \begin_inset Quotes eld
42156 \begin_inset Quotes erd
42159 is recognized and printed bold in the output.
42162 \begin_layout Standard
42163 \begin_inset Note Greyedout
42166 \begin_layout Plain Layout
42171 If you don't get bold keywords when using typewriter fonts, your
42175 font probably doesn't provide a bold shape.
42176 In this case select a different one in the menu
42178 Document\SpecialChar menuseparator
42179 Settings\SpecialChar menuseparator
42191 provide bold shapes.)
42199 \begin_layout Standard
42203 \begin_inset space ~
42208 of the listings dialog you can specify the line numbering style.
42209 You can insert a number to specify which lines are numbered in the field
42216 \begin_inset space \thinspace{}
42220 \begin_inset space \space{}
42224 \begin_inset Quotes eld
42228 \begin_inset Quotes erd
42231 , only every 3rd line will be numbered.
42234 \begin_layout Standard
42235 You can furthermore specify a range of lines; only these will then appear
42239 Extended character table
42241 is only meaningful for the
42245 package and should be used when you use national characters like the German
42246 umlauts in the listing.
42247 \begin_inset Newline newline
42250 Here is an example listing with left line numbering, step
42251 \begin_inset Quotes eld
42255 \begin_inset Quotes erd
42259 \begin_inset Quotes eld
42263 \begin_inset Quotes erd
42267 \begin_inset Quotes eld
42270 Extended character table
42271 \begin_inset Quotes erd
42275 \begin_inset Quotes eld
42279 \begin_inset space ~
42283 \begin_inset space ~
42287 \begin_inset Quotes erd
42291 \begin_inset space \thinspace{}
42295 \begin_inset space \thinspace{}
42301 \begin_layout Standard
42302 \begin_inset listings
42303 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
42307 \begin_layout Plain Layout
42312 \begin_layout Plain Layout
42314 'this is a python function'
42317 \begin_layout Plain Layout
42322 \begin_layout Plain Layout
42327 \begin_layout Plain Layout
42329 'This is a German word: Tschüß'
42332 \begin_layout Plain Layout
42337 \begin_layout Plain Layout
42342 \begin_layout Plain Layout
42344 'this is a python function'
42347 \begin_layout Plain Layout
42357 \begin_layout Standard
42358 When you have tabulators in your listing, you can specify the number of
42359 characters that are spanned by a tabulator in the field
42362 \begin_inset space ~
42370 \begin_layout Standard
42371 \begin_inset Note Greyedout
42374 \begin_layout Plain Layout
42379 Due to a bug in the
42383 package the line numbering is shifted by a line by every previous listing.
42384 That's the reason why the lines 2 and 5 are numbered in the above listing
42385 and not the lines 3 and 6.
42393 \begin_layout Standard
42394 \begin_inset VSpace bigskip
42400 \begin_layout Standard
42401 It is also possible to print lines from a file as listing.
42402 To do this, use the menu
42404 Insert\SpecialChar menuseparator
42405 File\SpecialChar menuseparator
42408 and choose the type
42416 \begin_layout Plain Layout
42417 The other child document types are described in section
42418 \begin_inset space ~
42422 \begin_inset CommandInset ref
42424 reference "sec:Child-Documents"
42433 In the child document dialog you can specify the listing parameters in
42435 To show a list of all available parameters, type in a question mark
42436 \begin_inset Quotes eld
42440 \begin_inset Quotes erd
42446 \begin_layout Standard
42447 To reference child document listings, write a label text into the corresponding
42448 field of the child document dialog.
42449 The label can then be referenced using the menu
42451 Insert\SpecialChar menuseparator
42457 \begin_layout Standard
42459 \begin_inset space ~
42463 \begin_inset CommandInset ref
42465 reference "lst:file-listing"
42469 is an example for a listing of a file; there the lines 10
42470 \begin_inset space \thinspace{}
42474 \begin_inset space \thinspace{}
42477 15 of this \SpecialChar LyX
42481 \begin_layout Standard
42482 \begin_inset CommandInset include
42483 LatexCommand lstinputlisting
42484 filename "EmbeddedObjects.lyx"
42485 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
42493 \begin_layout Standard
42494 \begin_inset VSpace bigskip
42500 \begin_layout Standard
42501 Inserting a formula into a listing can be done the following way:
42504 \begin_layout Enumerate
42505 Open the listings dialog and add
42506 \begin_inset Newline newline
42514 \begin_inset Newline newline
42517 to the field of the
42524 \begin_layout Enumerate
42525 Create a formula outside the listing
42528 \begin_layout Enumerate
42529 Copy the content of the formula (not the formula inset) to the clipboard
42539 \begin_layout Enumerate
42540 In the listing write
42541 \begin_inset Quotes eld
42549 \begin_inset Quotes erd
42552 and copy from the clipboard between the dollar-signs (shortcut
42561 \begin_layout Standard
42562 \begin_inset listings
42563 lstparams "language=Python,mathescape=true"
42567 \begin_layout Plain Layout
42569 \begin_inset Caption Standard
42571 \begin_layout Plain Layout
42572 Example Listing float containing a formula
42577 # Example listing float
42580 \begin_layout Plain Layout
42585 \begin_layout Plain Layout
42598 \begin_layout Plain Layout
42608 \begin_layout Standard
42609 \begin_inset VSpace bigskip
42615 \begin_layout Standard
42616 Global listings settings can be set in the
42618 Document\SpecialChar menuseparator
42619 Settings\SpecialChar menuseparator
42623 To get there a list of available options, type in a question mark
42624 \begin_inset Quotes eld
42628 \begin_inset Quotes erd
42634 \begin_layout Standard
42635 For more information about the
42643 packages, we refer to their documentation
42644 \begin_inset CommandInset citation
42646 key "listings,minted"
42654 \begin_layout Standard
42655 \begin_inset Newpage newpage
42661 \begin_layout Chapter
42663 Units available in \SpecialChar LyX
42665 \begin_inset Index idx
42668 \begin_layout Plain Layout
42675 \begin_inset CommandInset label
42677 name "cha:Units-available-in"
42684 \begin_layout Standard
42685 To understand the units described in this documentation, Table
42686 \begin_inset space ~
42690 \begin_inset CommandInset ref
42692 reference "tab:Units"
42696 explains all units available in \SpecialChar LyX
42700 \begin_layout Standard
42701 \begin_inset Float table
42708 \begin_layout Plain Layout
42709 \begin_inset Caption Standard
42711 \begin_layout Plain Layout
42712 \begin_inset CommandInset label
42726 \begin_layout Plain Layout
42727 \begin_inset VSpace medskip
42733 \begin_layout Plain Layout
42735 \begin_inset Tabular
42736 <lyxtabular version="3" rows="21" columns="3">
42737 <features tabularvalignment="middle">
42738 <column alignment="center" valignment="top">
42739 <column alignment="center" valignment="middle" width="50col%">
42740 <column alignment="center" valignment="top">
42742 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
42745 \begin_layout Plain Layout
42751 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
42754 \begin_layout Plain Layout
42760 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
42763 \begin_layout Plain Layout
42772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42775 \begin_layout Plain Layout
42781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42784 \begin_layout Plain Layout
42786 \begin_inset space \thinspace{}
42790 \begin_inset space \thinspace{}
42798 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42801 \begin_layout Plain Layout
42809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42812 \begin_layout Plain Layout
42818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42821 \begin_layout Plain Layout
42823 \begin_inset space \thinspace{}
42827 \begin_inset space \thinspace{}
42835 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42838 \begin_layout Plain Layout
42846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42849 \begin_layout Plain Layout
42855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42858 \begin_layout Plain Layout
42864 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42867 \begin_layout Plain Layout
42875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42878 \begin_layout Plain Layout
42884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42887 \begin_layout Plain Layout
42889 \begin_inset space \thinspace{}
42893 \begin_inset Formula $\approx$
42897 \begin_inset space \thinspace{}
42905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42908 \begin_layout Plain Layout
42916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42919 \begin_layout Plain Layout
42925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42928 \begin_layout Plain Layout
42938 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42941 \begin_layout Plain Layout
42949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42952 \begin_layout Plain Layout
42958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42961 \begin_layout Plain Layout
42971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42974 \begin_layout Plain Layout
42982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42985 \begin_layout Plain Layout
42991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42994 \begin_layout Plain Layout
43000 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43003 \begin_layout Plain Layout
43011 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43014 \begin_layout Plain Layout
43020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43023 \begin_layout Plain Layout
43029 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43032 \begin_layout Plain Layout
43040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43043 \begin_layout Plain Layout
43049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43052 \begin_layout Plain Layout
43054 \begin_inset space \thinspace{}
43058 \begin_inset space \thinspace{}
43066 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43069 \begin_layout Plain Layout
43077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43080 \begin_layout Plain Layout
43086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43089 \begin_layout Plain Layout
43091 \begin_inset space \thinspace{}
43095 \begin_inset space \thinspace{}
43103 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43106 \begin_layout Plain Layout
43114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43117 \begin_layout Plain Layout
43123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43126 \begin_layout Plain Layout
43128 \begin_inset space \thinspace{}
43132 \begin_inset space \thinspace{}
43140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43143 \begin_layout Plain Layout
43151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43154 \begin_layout Plain Layout
43160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43163 \begin_layout Plain Layout
43164 scaled point (65536
43165 \begin_inset space \thinspace{}
43169 \begin_inset space \thinspace{}
43177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43180 \begin_layout Plain Layout
43188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43191 \begin_layout Plain Layout
43197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43200 \begin_layout Plain Layout
43206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43209 \begin_layout Plain Layout
43219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43222 \begin_layout Plain Layout
43228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43231 \begin_layout Plain Layout
43232 % of height between baselines of two subsequent text lines
43237 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43240 \begin_layout Plain Layout
43250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43253 \begin_layout Plain Layout
43259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43262 \begin_layout Plain Layout
43268 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43271 \begin_layout Plain Layout
43281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43284 \begin_layout Plain Layout
43290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43293 \begin_layout Plain Layout
43299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43302 \begin_layout Plain Layout
43312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43315 \begin_layout Plain Layout
43321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43324 \begin_layout Plain Layout
43330 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43333 \begin_layout Plain Layout
43343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43346 \begin_layout Plain Layout
43352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43355 \begin_layout Plain Layout
43356 % of original image width
43361 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43364 \begin_layout Plain Layout
43372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43375 \begin_layout Plain Layout
43381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
43384 \begin_layout Plain Layout
43390 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
43393 \begin_layout Plain Layout
43403 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43406 \begin_layout Plain Layout
43412 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
43415 \begin_layout Plain Layout
43421 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
43424 \begin_layout Plain Layout
43445 \begin_layout Chapter
43446 Output File Formats with Graphics
43447 \begin_inset CommandInset label
43449 name "cha:Output-File-Formats"
43456 \begin_layout Section
43458 \begin_inset Index idx
43461 \begin_layout Plain Layout
43468 \begin_inset Index idx
43471 \begin_layout Plain Layout
43476 \begin_layout Plain Layout
43487 \begin_layout Plain Layout
43502 \begin_layout Standard
43503 This file type has the extension
43504 \begin_inset Quotes eld
43512 \begin_inset Quotes erd
43517 \begin_inset Quotes eld
43521 \begin_inset Quotes erd
43524 (DVI), because it is completely portable; you can move them from one machine
43525 to another without needing to do any sort of conversion.
43526 At the time when this file-format was developed, this was no matter of
43528 DVIs are used for quick previews and as pre-stage for other output formats,
43532 \begin_layout Standard
43533 \begin_inset Note Greyedout
43536 \begin_layout Plain Layout
43541 DVI-files do not contain images; they will only be a linked.
43546 So don't forget this, if you move your
43550 file to another computer.
43551 This property can also slow down your computer when you view the DVI, because
43552 the DVI-viewer has to convert the image in the background to make it visible
43553 when you scroll in the DVI.
43554 So it is recommended that you use PDF for files with many images.
43557 \begin_layout Standard
43558 You can export your document to DVI by using the menu
43560 File\SpecialChar menuseparator
43561 Export\SpecialChar menuseparator
43565 You can view your document as DVI via the
43572 \begin_layout Section
43574 \begin_inset Index idx
43577 \begin_layout Plain Layout
43578 File Formats ! PostScript
43584 \begin_inset Index idx
43587 \begin_layout Plain Layout
43592 \begin_layout Plain Layout
43603 \begin_layout Plain Layout
43618 \begin_layout Standard
43619 This file type has the extension
43620 \begin_inset Quotes eld
43628 \begin_inset Quotes erd
43632 PostScript was developed by the company
43636 as a printer language.
43637 The file therefore contains commands that the printer uses to print the
43639 PostScript can be seen as a
43640 \begin_inset Quotes eld
43643 programming language
43644 \begin_inset Quotes erd
43647 ; you can calculate with it and draw diagrams and images.
43651 \begin_layout Plain Layout
43652 If you are interested to learn more about this, have a look at the \SpecialChar LaTeX
43659 \begin_inset CommandInset citation
43671 Due to this ability, the files are often bigger than PDFs.
43674 \begin_layout Standard
43675 PostScript can only contain images in the format
43676 \begin_inset Quotes eld
43679 Encapsulated PostScript
43680 \begin_inset Quotes erd
43683 (EPS, file extension
43684 \begin_inset Quotes eld
43692 \begin_inset Quotes erd
43696 As \SpecialChar LyX
43697 allows you to use any known image format in your document, it has to
43698 convert images in the background to EPS.
43700 \begin_inset space ~
43704 \begin_inset space ~
43707 images in your document, \SpecialChar LyX
43709 \begin_inset space ~
43712 conversions whenever you view or export your document.
43713 This will slow down your work flow with \SpecialChar LyX
43715 So if you plan to use PostScript, you can insert your images directly as
43716 EPS to avoid this problem.
43719 \begin_layout Standard
43720 You can export your document to PostScript using the menu
43722 File\SpecialChar menuseparator
43723 Export\SpecialChar menuseparator
43727 You can view your document as PostScript via the
43734 \begin_layout Section
43736 \begin_inset Index idx
43739 \begin_layout Plain Layout
43746 \begin_inset Index idx
43749 \begin_layout Plain Layout
43758 \begin_layout Standard
43759 This file type has the extension
43760 \begin_inset Quotes eld
43768 \begin_inset Quotes erd
43773 \begin_inset Quotes eld
43776 Portable Document Format
43777 \begin_inset Quotes erd
43780 (PDF) was developed by
43784 as a derivative of PostScript.
43785 It is more compressed and it uses fewer commands than PostScript.
43787 \begin_inset Quotes eld
43791 \begin_inset Quotes erd
43794 implies, it can be processed at any computer system and the printed output
43795 looks exactly the same.
43798 \begin_layout Standard
43799 PDF can contain images in its own PDF format, in the format
43800 \begin_inset Quotes eld
43803 Joint Photographic Experts Group
43804 \begin_inset Quotes erd
43807 (JPG, file extension
43808 \begin_inset Quotes eld
43816 \begin_inset Quotes erd
43820 \begin_inset Quotes eld
43828 \begin_inset Quotes erd
43831 ), and in the format
43832 \begin_inset Quotes eld
43835 Portable Network Graphics
43836 \begin_inset Quotes erd
43839 (PNG, file extension
43840 \begin_inset Quotes eld
43848 \begin_inset Quotes erd
43852 Nevertheless you can use any other image format, because \SpecialChar LyX
43854 in the background to one of these formats.
43855 But as described in the section about PostScript, the image conversion
43856 will slow down your work flow.
43857 So it is recommended that you use images in one of the three mentioned
43861 \begin_layout Standard
43862 You can export your document to PDF via the menu
43864 File\SpecialChar menuseparator
43867 in three different ways:
43870 \begin_layout Description
43872 \begin_inset space ~
43875 (ps2pdf) This uses the program
43879 that creates a PDF from a PostScript-version of your file.
43880 The PostScript-version is produced by the program
43884 which uses a DVI-version as intermediate step.
43885 So this export variant consists of three conversions.
43888 \begin_layout Description
43890 \begin_inset space ~
43893 (dvipdfm) This uses the program
43897 that converts your file in the background to DVI and in a second step to
43901 \begin_layout Description
43903 \begin_inset space ~
43906 (pdflatex) This uses the program
43910 that converts your file directly to PDF.
43913 \begin_layout Standard
43914 It is recommended that you use
43917 \begin_inset space ~
43926 supports all features of actual PDF-versions, is quick and works stable.
43931 is not under development and therefore a bit outdated.
43934 \begin_layout Standard
43935 You can view your document as PDF via the
43939 menu or by using a toolbar button.
43942 \begin_layout Chapter
43943 List of dvips color names
43944 \begin_inset CommandInset label
43946 name "chap:List-of-dvips-colornames"
43953 \begin_layout Standard
43954 \begin_inset Tabular
43955 <lyxtabular version="3" rows="17" columns="4">
43956 <features tabularvalignment="middle">
43957 <column alignment="left" valignment="top" width="0pt">
43958 <column alignment="left" valignment="top" width="0pt">
43959 <column alignment="left" valignment="top" width="0pt">
43960 <column alignment="left" valignment="top" width="0pt">
43962 <cell alignment="left" valignment="top" usebox="none">
43965 \begin_layout Plain Layout
43969 \begin_layout Plain Layout
43982 \begin_layout Plain Layout
43993 \begin_layout Plain Layout
44005 <cell alignment="left" valignment="top" usebox="none">
44008 \begin_layout Plain Layout
44012 \begin_layout Plain Layout
44025 \begin_layout Plain Layout
44036 \begin_layout Plain Layout
44048 <cell alignment="left" valignment="top" usebox="none">
44051 \begin_layout Plain Layout
44055 \begin_layout Plain Layout
44068 \begin_layout Plain Layout
44079 \begin_layout Plain Layout
44091 <cell alignment="left" valignment="top" usebox="none">
44094 \begin_layout Plain Layout
44098 \begin_layout Plain Layout
44111 \begin_layout Plain Layout
44122 \begin_layout Plain Layout
44136 <cell alignment="center" valignment="top" usebox="none">
44139 \begin_layout Plain Layout
44143 \begin_layout Plain Layout
44156 \begin_layout Plain Layout
44164 \begin_inset Phantom Phantom
44167 \begin_layout Plain Layout
44177 \begin_layout Plain Layout
44189 <cell alignment="center" valignment="top" usebox="none">
44192 \begin_layout Plain Layout
44196 \begin_layout Plain Layout
44209 \begin_layout Plain Layout
44217 \begin_inset Phantom Phantom
44220 \begin_layout Plain Layout
44230 \begin_layout Plain Layout
44242 <cell alignment="center" valignment="top" usebox="none">
44245 \begin_layout Plain Layout
44249 \begin_layout Plain Layout
44262 \begin_layout Plain Layout
44270 \begin_inset Phantom Phantom
44273 \begin_layout Plain Layout
44283 \begin_layout Plain Layout
44295 <cell alignment="center" valignment="top" usebox="none">
44298 \begin_layout Plain Layout
44302 \begin_layout Plain Layout
44315 \begin_layout Plain Layout
44323 \begin_inset Phantom Phantom
44326 \begin_layout Plain Layout
44336 \begin_layout Plain Layout
44350 <cell alignment="left" valignment="top" usebox="none">
44353 \begin_layout Plain Layout
44357 \begin_layout Plain Layout
44370 \begin_layout Plain Layout
44378 \begin_inset Phantom Phantom
44381 \begin_layout Plain Layout
44391 \begin_layout Plain Layout
44403 <cell alignment="left" valignment="top" usebox="none">
44406 \begin_layout Plain Layout
44410 \begin_layout Plain Layout
44423 \begin_layout Plain Layout
44431 \begin_inset Phantom Phantom
44434 \begin_layout Plain Layout
44444 \begin_layout Plain Layout
44456 <cell alignment="left" valignment="top" usebox="none">
44459 \begin_layout Plain Layout
44463 \begin_layout Plain Layout
44476 \begin_layout Plain Layout
44484 \begin_inset Phantom Phantom
44487 \begin_layout Plain Layout
44497 \begin_layout Plain Layout
44509 <cell alignment="left" valignment="top" usebox="none">
44512 \begin_layout Plain Layout
44516 \begin_layout Plain Layout
44529 \begin_layout Plain Layout
44537 \begin_inset Phantom Phantom
44540 \begin_layout Plain Layout
44550 \begin_layout Plain Layout
44564 <cell alignment="left" valignment="top" usebox="none">
44567 \begin_layout Plain Layout
44571 \begin_layout Plain Layout
44584 \begin_layout Plain Layout
44592 \begin_inset Phantom Phantom
44595 \begin_layout Plain Layout
44605 \begin_layout Plain Layout
44617 <cell alignment="left" valignment="top" usebox="none">
44620 \begin_layout Plain Layout
44624 \begin_layout Plain Layout
44637 \begin_layout Plain Layout
44645 \begin_inset Phantom Phantom
44648 \begin_layout Plain Layout
44658 \begin_layout Plain Layout
44670 <cell alignment="left" valignment="top" usebox="none">
44673 \begin_layout Plain Layout
44677 \begin_layout Plain Layout
44690 \begin_layout Plain Layout
44698 \begin_inset Phantom Phantom
44701 \begin_layout Plain Layout
44711 \begin_layout Plain Layout
44723 <cell alignment="left" valignment="top" usebox="none">
44726 \begin_layout Plain Layout
44730 \begin_layout Plain Layout
44743 \begin_layout Plain Layout
44751 \begin_inset Phantom Phantom
44754 \begin_layout Plain Layout
44764 \begin_layout Plain Layout
44778 <cell alignment="left" valignment="top" usebox="none">
44781 \begin_layout Plain Layout
44785 \begin_layout Plain Layout
44798 \begin_layout Plain Layout
44806 \begin_inset Phantom Phantom
44809 \begin_layout Plain Layout
44819 \begin_layout Plain Layout
44831 <cell alignment="left" valignment="top" usebox="none">
44834 \begin_layout Plain Layout
44838 \begin_layout Plain Layout
44851 \begin_layout Plain Layout
44859 \begin_inset Phantom Phantom
44862 \begin_layout Plain Layout
44872 \begin_layout Plain Layout
44884 <cell alignment="left" valignment="top" usebox="none">
44887 \begin_layout Plain Layout
44891 \begin_layout Plain Layout
44904 \begin_layout Plain Layout
44912 \begin_inset Phantom Phantom
44915 \begin_layout Plain Layout
44925 \begin_layout Plain Layout
44937 <cell alignment="left" valignment="top" usebox="none">
44940 \begin_layout Plain Layout
44944 \begin_layout Plain Layout
44957 \begin_layout Plain Layout
44965 \begin_inset Phantom Phantom
44968 \begin_layout Plain Layout
44978 \begin_layout Plain Layout
44992 <cell alignment="left" valignment="top" usebox="none">
44995 \begin_layout Plain Layout
44999 \begin_layout Plain Layout
45012 \begin_layout Plain Layout
45020 \begin_inset Phantom Phantom
45023 \begin_layout Plain Layout
45033 \begin_layout Plain Layout
45045 <cell alignment="left" valignment="top" usebox="none">
45048 \begin_layout Plain Layout
45052 \begin_layout Plain Layout
45065 \begin_layout Plain Layout
45073 \begin_inset Phantom Phantom
45076 \begin_layout Plain Layout
45086 \begin_layout Plain Layout
45098 <cell alignment="left" valignment="top" usebox="none">
45101 \begin_layout Plain Layout
45105 \begin_layout Plain Layout
45118 \begin_layout Plain Layout
45126 \begin_inset Phantom Phantom
45129 \begin_layout Plain Layout
45139 \begin_layout Plain Layout
45151 <cell alignment="left" valignment="top" usebox="none">
45154 \begin_layout Plain Layout
45158 \begin_layout Plain Layout
45171 \begin_layout Plain Layout
45179 \begin_inset Phantom Phantom
45182 \begin_layout Plain Layout
45192 \begin_layout Plain Layout
45206 <cell alignment="center" valignment="top" usebox="none">
45209 \begin_layout Plain Layout
45213 \begin_layout Plain Layout
45226 \begin_layout Plain Layout
45234 \begin_inset Phantom Phantom
45237 \begin_layout Plain Layout
45247 \begin_layout Plain Layout
45259 <cell alignment="center" valignment="top" usebox="none">
45262 \begin_layout Plain Layout
45266 \begin_layout Plain Layout
45279 \begin_layout Plain Layout
45287 \begin_inset Phantom Phantom
45290 \begin_layout Plain Layout
45300 \begin_layout Plain Layout
45312 <cell alignment="center" valignment="top" usebox="none">
45315 \begin_layout Plain Layout
45319 \begin_layout Plain Layout
45332 \begin_layout Plain Layout
45340 \begin_inset Phantom Phantom
45343 \begin_layout Plain Layout
45353 \begin_layout Plain Layout
45365 <cell alignment="center" valignment="top" usebox="none">
45368 \begin_layout Plain Layout
45372 \begin_layout Plain Layout
45385 \begin_layout Plain Layout
45393 \begin_inset Phantom Phantom
45396 \begin_layout Plain Layout
45406 \begin_layout Plain Layout
45420 <cell alignment="left" valignment="top" usebox="none">
45423 \begin_layout Plain Layout
45427 \begin_layout Plain Layout
45440 \begin_layout Plain Layout
45448 \begin_inset Phantom Phantom
45451 \begin_layout Plain Layout
45461 \begin_layout Plain Layout
45473 <cell alignment="left" valignment="top" usebox="none">
45476 \begin_layout Plain Layout
45480 \begin_layout Plain Layout
45493 \begin_layout Plain Layout
45501 \begin_inset Phantom Phantom
45504 \begin_layout Plain Layout
45514 \begin_layout Plain Layout
45526 <cell alignment="left" valignment="top" usebox="none">
45529 \begin_layout Plain Layout
45533 \begin_layout Plain Layout
45546 \begin_layout Plain Layout
45554 \begin_inset Phantom Phantom
45557 \begin_layout Plain Layout
45567 \begin_layout Plain Layout
45579 <cell alignment="left" valignment="top" usebox="none">
45582 \begin_layout Plain Layout
45586 \begin_layout Plain Layout
45599 \begin_layout Plain Layout
45607 \begin_inset Phantom Phantom
45610 \begin_layout Plain Layout
45620 \begin_layout Plain Layout
45634 <cell alignment="left" valignment="top" usebox="none">
45637 \begin_layout Plain Layout
45641 \begin_layout Plain Layout
45654 \begin_layout Plain Layout
45662 \begin_inset Phantom Phantom
45665 \begin_layout Plain Layout
45675 \begin_layout Plain Layout
45687 <cell alignment="left" valignment="top" usebox="none">
45690 \begin_layout Plain Layout
45694 \begin_layout Plain Layout
45707 \begin_layout Plain Layout
45715 \begin_inset Phantom Phantom
45718 \begin_layout Plain Layout
45728 \begin_layout Plain Layout
45740 <cell alignment="left" valignment="top" usebox="none">
45743 \begin_layout Plain Layout
45747 \begin_layout Plain Layout
45760 \begin_layout Plain Layout
45768 \begin_inset Phantom Phantom
45771 \begin_layout Plain Layout
45781 \begin_layout Plain Layout
45793 <cell alignment="left" valignment="top" usebox="none">
45796 \begin_layout Plain Layout
45800 \begin_layout Plain Layout
45813 \begin_layout Plain Layout
45821 \begin_inset Phantom Phantom
45824 \begin_layout Plain Layout
45834 \begin_layout Plain Layout
45848 <cell alignment="left" valignment="top" usebox="none">
45851 \begin_layout Plain Layout
45855 \begin_layout Plain Layout
45868 \begin_layout Plain Layout
45876 \begin_inset Phantom Phantom
45879 \begin_layout Plain Layout
45889 \begin_layout Plain Layout
45901 <cell alignment="left" valignment="top" usebox="none">
45904 \begin_layout Plain Layout
45908 \begin_layout Plain Layout
45921 \begin_layout Plain Layout
45929 \begin_inset Phantom Phantom
45932 \begin_layout Plain Layout
45942 \begin_layout Plain Layout
45954 <cell alignment="left" valignment="top" usebox="none">
45957 \begin_layout Plain Layout
45961 \begin_layout Plain Layout
45974 \begin_layout Plain Layout
45982 \begin_inset Phantom Phantom
45985 \begin_layout Plain Layout
45995 \begin_layout Plain Layout
46007 <cell alignment="left" valignment="top" usebox="none">
46010 \begin_layout Plain Layout
46014 \begin_layout Plain Layout
46027 \begin_layout Plain Layout
46035 \begin_inset Phantom Phantom
46038 \begin_layout Plain Layout
46048 \begin_layout Plain Layout
46062 <cell alignment="left" valignment="top" usebox="none">
46065 \begin_layout Plain Layout
46069 \begin_layout Plain Layout
46082 \begin_layout Plain Layout
46090 \begin_inset Phantom Phantom
46093 \begin_layout Plain Layout
46103 \begin_layout Plain Layout
46115 <cell alignment="left" valignment="top" usebox="none">
46118 \begin_layout Plain Layout
46122 \begin_layout Plain Layout
46135 \begin_layout Plain Layout
46143 \begin_inset Phantom Phantom
46146 \begin_layout Plain Layout
46156 \begin_layout Plain Layout
46168 <cell alignment="left" valignment="top" usebox="none">
46171 \begin_layout Plain Layout
46175 \begin_layout Plain Layout
46188 \begin_layout Plain Layout
46196 \begin_inset Phantom Phantom
46199 \begin_layout Plain Layout
46209 \begin_layout Plain Layout
46221 <cell alignment="left" valignment="top" usebox="none">
46224 \begin_layout Plain Layout
46228 \begin_layout Plain Layout
46241 \begin_layout Plain Layout
46249 \begin_inset Phantom Phantom
46252 \begin_layout Plain Layout
46262 \begin_layout Plain Layout
46276 <cell alignment="left" valignment="top" usebox="none">
46279 \begin_layout Plain Layout
46283 \begin_layout Plain Layout
46296 \begin_layout Plain Layout
46304 \begin_inset Phantom Phantom
46307 \begin_layout Plain Layout
46317 \begin_layout Plain Layout
46329 <cell alignment="left" valignment="top" usebox="none">
46332 \begin_layout Plain Layout
46336 \begin_layout Plain Layout
46349 \begin_layout Plain Layout
46357 \begin_inset Phantom Phantom
46360 \begin_layout Plain Layout
46370 \begin_layout Plain Layout
46382 <cell alignment="left" valignment="top" usebox="none">
46385 \begin_layout Plain Layout
46389 \begin_layout Plain Layout
46402 \begin_layout Plain Layout
46410 \begin_inset Phantom Phantom
46413 \begin_layout Plain Layout
46423 \begin_layout Plain Layout
46435 <cell alignment="left" valignment="top" usebox="none">
46438 \begin_layout Plain Layout
46442 \begin_layout Plain Layout
46455 \begin_layout Plain Layout
46463 \begin_inset Phantom Phantom
46466 \begin_layout Plain Layout
46476 \begin_layout Plain Layout
46490 <cell alignment="left" valignment="top" usebox="none">
46493 \begin_layout Plain Layout
46497 \begin_layout Plain Layout
46510 \begin_layout Plain Layout
46518 \begin_inset Phantom Phantom
46521 \begin_layout Plain Layout
46531 \begin_layout Plain Layout
46543 <cell alignment="left" valignment="top" usebox="none">
46546 \begin_layout Plain Layout
46550 \begin_layout Plain Layout
46563 \begin_layout Plain Layout
46571 \begin_inset Phantom Phantom
46574 \begin_layout Plain Layout
46584 \begin_layout Plain Layout
46596 <cell alignment="left" valignment="top" usebox="none">
46599 \begin_layout Plain Layout
46603 \begin_layout Plain Layout
46616 \begin_layout Plain Layout
46624 \begin_inset Phantom Phantom
46627 \begin_layout Plain Layout
46637 \begin_layout Plain Layout
46649 <cell alignment="left" valignment="top" usebox="none">
46652 \begin_layout Plain Layout
46656 \begin_layout Plain Layout
46669 \begin_layout Plain Layout
46677 \begin_inset Phantom Phantom
46680 \begin_layout Plain Layout
46690 \begin_layout Plain Layout
46704 <cell alignment="left" valignment="top" usebox="none">
46707 \begin_layout Plain Layout
46711 \begin_layout Plain Layout
46724 \begin_layout Plain Layout
46732 \begin_inset Phantom Phantom
46735 \begin_layout Plain Layout
46745 \begin_layout Plain Layout
46757 <cell alignment="left" valignment="top" usebox="none">
46760 \begin_layout Plain Layout
46764 \begin_layout Plain Layout
46777 \begin_layout Plain Layout
46785 \begin_inset Phantom Phantom
46788 \begin_layout Plain Layout
46798 \begin_layout Plain Layout
46810 <cell alignment="left" valignment="top" usebox="none">
46813 \begin_layout Plain Layout
46817 \begin_layout Plain Layout
46830 \begin_layout Plain Layout
46838 \begin_inset Phantom Phantom
46841 \begin_layout Plain Layout
46851 \begin_layout Plain Layout
46863 <cell alignment="left" valignment="top" usebox="none">
46866 \begin_layout Plain Layout
46870 \begin_layout Plain Layout
46883 \begin_layout Plain Layout
46891 \begin_inset Phantom Phantom
46894 \begin_layout Plain Layout
46904 \begin_layout Plain Layout
46918 <cell alignment="left" valignment="top" usebox="none">
46921 \begin_layout Plain Layout
46925 \begin_layout Plain Layout
46938 \begin_layout Plain Layout
46946 \begin_inset Phantom Phantom
46949 \begin_layout Plain Layout
46959 \begin_layout Plain Layout
46971 <cell alignment="left" valignment="top" usebox="none">
46974 \begin_layout Plain Layout
46978 \begin_layout Plain Layout
46991 \begin_layout Plain Layout
46999 \begin_inset Phantom Phantom
47002 \begin_layout Plain Layout
47012 \begin_layout Plain Layout
47024 <cell alignment="left" valignment="top" usebox="none">
47027 \begin_layout Plain Layout
47031 \begin_layout Plain Layout
47044 \begin_layout Plain Layout
47052 \begin_inset Phantom Phantom
47055 \begin_layout Plain Layout
47065 \begin_layout Plain Layout
47077 <cell alignment="left" valignment="top" usebox="none">
47080 \begin_layout Plain Layout
47084 \begin_layout Plain Layout
47097 \begin_layout Plain Layout
47105 \begin_inset Phantom Phantom
47108 \begin_layout Plain Layout
47118 \begin_layout Plain Layout
47132 <cell alignment="left" valignment="top" usebox="none">
47135 \begin_layout Plain Layout
47139 \begin_layout Plain Layout
47152 \begin_layout Plain Layout
47160 \begin_inset Phantom Phantom
47163 \begin_layout Plain Layout
47173 \begin_layout Plain Layout
47185 <cell alignment="left" valignment="top" usebox="none">
47188 \begin_layout Plain Layout
47192 \begin_layout Plain Layout
47205 \begin_layout Plain Layout
47213 \begin_inset Phantom Phantom
47216 \begin_layout Plain Layout
47226 \begin_layout Plain Layout
47238 <cell alignment="left" valignment="top" usebox="none">
47241 \begin_layout Plain Layout
47245 \begin_layout Plain Layout
47258 \begin_layout Plain Layout
47266 \begin_inset Phantom Phantom
47269 \begin_layout Plain Layout
47279 \begin_layout Plain Layout
47291 <cell alignment="left" valignment="top" usebox="none">
47294 \begin_layout Plain Layout
47298 \begin_layout Plain Layout
47311 \begin_layout Plain Layout
47319 \begin_inset Phantom Phantom
47322 \begin_layout Plain Layout
47332 \begin_layout Plain Layout
47346 <cell alignment="left" valignment="top" usebox="none">
47349 \begin_layout Plain Layout
47353 \begin_layout Plain Layout
47366 \begin_layout Plain Layout
47374 \begin_inset Phantom Phantom
47377 \begin_layout Plain Layout
47387 \begin_layout Plain Layout
47399 <cell alignment="left" valignment="top" usebox="none">
47402 \begin_layout Plain Layout
47408 <cell alignment="left" valignment="top" usebox="none">
47411 \begin_layout Plain Layout
47417 <cell alignment="left" valignment="top" usebox="none">
47420 \begin_layout Plain Layout
47434 \begin_layout Chapter
47435 Explanation of Equation
47436 \begin_inset space ~
47440 \begin_inset CommandInset ref
47447 \begin_inset CommandInset label
47449 name "cha:Explanation-of-Equation"
47456 \begin_layout Standard
47457 We can calculate the total width of
47462 \begin_inset Formula $W_{\mathrm{tot\,n}}$
47466 \begin_inset Formula
47468 W_{\mathrm{tot}\,n}=n\cdot(W_{g\,n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
47474 \begin_inset Formula $W_{g\,n}$
47477 is the given width of all cells,
47483 is the \SpecialChar LaTeX
47484 -length between the cell text and the cell border (its default value
47486 \begin_inset space \thinspace{}
47496 is the thickness of the cell border line, the default is 0.4
47497 \begin_inset space \thinspace{}
47503 \begin_layout Standard
47505 \begin_inset space ~
47509 \begin_inset CommandInset ref
47511 reference "eq:Wtot_n"
47515 , the total width of a multicolumn
47516 \begin_inset Formula $W_{\mathrm{tot\,mult}}$
47520 \begin_inset Formula
47522 W_{\mathrm{tot\,mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
47530 \begin_layout Standard
47531 By setting equation
47532 \begin_inset space ~
47536 \begin_inset CommandInset ref
47538 reference "eq:Wtot_n"
47543 \begin_inset CommandInset ref
47545 reference "eq:Wtot_mult"
47549 equal we can calculate the needed given width
47550 \begin_inset Formula $W_{g\,n}$
47557 columns are spanned, so that each column has a total width of
47558 \begin_inset Formula $W_{\mathrm{tot\,mult}}/n$
47562 \begin_inset Formula
47564 W_{g\,n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
47572 \begin_layout Bibliography
47573 \begin_inset CommandInset bibitem
47574 LatexCommand bibitem
47575 key "latexcompanion"
47580 Frank Mittelbach and Michel Goossens:
47582 The \SpecialChar LaTeX
47583 Companion Second Edition.
47586 Addison-Wesley, 2004
47589 \begin_layout Bibliography
47590 \begin_inset CommandInset bibitem
47591 LatexCommand bibitem
47597 Helmut Kopka and Patrick W.
47600 A Guide to \SpecialChar LaTeX
47604 Addison-Wesley, 2003
47607 \begin_layout Bibliography
47608 \begin_inset CommandInset bibitem
47609 LatexCommand bibitem
47618 : A Document Preparation System.
47621 Addison-Wesley, second edition, 1994
47624 \begin_layout Bibliography
47625 \begin_inset CommandInset bibitem
47626 LatexCommand bibitem
47632 Documentation of the \SpecialChar LaTeX
47636 \begin_inset CommandInset href
47639 target "https://www.ctan.org/tex-archive/macros/latex/contrib//arydshln/arydshln.pdf"
47647 \begin_inset Index idx
47650 \begin_layout Plain Layout
47652 -packages ! arydshln
47660 \begin_layout Bibliography
47661 \begin_inset CommandInset bibitem
47662 LatexCommand bibitem
47668 Documentation of the \SpecialChar LaTeX
47672 \begin_inset CommandInset href
47675 target "https://www.ctan.org/tex-archive/macros/latex/contrib//booktabs/booktabs.pdf"
47683 \begin_inset Index idx
47686 \begin_layout Plain Layout
47688 -packages ! booktabs
47696 \begin_layout Bibliography
47697 \begin_inset CommandInset bibitem
47698 LatexCommand bibitem
47704 Documentation of the \SpecialChar LaTeX
47708 \begin_inset CommandInset href
47711 target "https://www.ctan.org/tex-archive/macros/latex/contrib/caption/caption-eng.pdf"
47719 \begin_inset Index idx
47722 \begin_layout Plain Layout
47724 -packages ! caption
47732 \begin_layout Bibliography
47733 \begin_inset CommandInset bibitem
47734 LatexCommand bibitem
47740 Documentation of the \SpecialChar LaTeX
47744 \begin_inset CommandInset href
47747 target "https://www.ctan.org/tex-archive/macros/latex/contrib//diagbox/diagbox.pdf"
47755 \begin_inset Index idx
47758 \begin_layout Plain Layout
47760 -packages ! diagbox
47768 \begin_layout Bibliography
47769 \begin_inset CommandInset bibitem
47770 LatexCommand bibitem
47776 Documentation of the \SpecialChar LaTeX
47780 \begin_inset CommandInset href
47783 target "https://www.ctan.org/tex-archive/macros/latex/contrib//endfloat/endfloat.pdf"
47791 \begin_inset Index idx
47794 \begin_layout Plain Layout
47796 -packages ! endfloat
47804 \begin_layout Bibliography
47805 \begin_inset CommandInset bibitem
47806 LatexCommand bibitem
47812 Documentation of the \SpecialChar LaTeX
47816 \begin_inset CommandInset href
47819 target "https://www.ctan.org/tex-archive/macros/latex/contrib//footmisc/footmisc.pdf"
47827 \begin_inset Index idx
47830 \begin_layout Plain Layout
47832 -packages ! footmisc
47840 \begin_layout Bibliography
47841 \begin_inset CommandInset bibitem
47842 LatexCommand bibitem
47848 Documentation of the \SpecialChar LaTeX
47852 \begin_inset CommandInset href
47855 target "https://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
47863 \begin_inset Index idx
47866 \begin_layout Plain Layout
47868 -packages ! hyperref
47876 \begin_layout Bibliography
47877 \begin_inset CommandInset bibitem
47878 LatexCommand bibitem
47884 Documentation of the \SpecialChar LaTeX
47888 \begin_inset CommandInset href
47891 target "https://www.ctan.org/tex-archive/macros/latex/contrib//hyperref/hyperref.pdf"
47899 \begin_inset Index idx
47902 \begin_layout Plain Layout
47904 -packages ! hyperref
47912 \begin_layout Bibliography
47913 \begin_inset CommandInset bibitem
47914 LatexCommand bibitem
47920 Documentation of the \SpecialChar LaTeX
47924 \begin_inset CommandInset href
47927 target "https://www.ctan.org/tex-archive/macros/latex/contrib/koma-script/doc/scrguien.pdf"
47935 \begin_inset Index idx
47938 \begin_layout Plain Layout
47940 -packages ! KOMA-Script
47948 \begin_layout Bibliography
47949 \begin_inset CommandInset bibitem
47950 LatexCommand bibitem
47956 Documentation of the \SpecialChar LaTeX
47960 \begin_inset CommandInset href
47963 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/lettrine.pdf"
47971 \begin_inset CommandInset href
47974 target "https://www.ctan.org/tex-archive/macros/latex/contrib/lettrine/doc/demo.pdf"
47980 \begin_inset Index idx
47983 \begin_layout Plain Layout
47985 -packages ! lettrine
47993 \begin_layout Bibliography
47994 \begin_inset CommandInset bibitem
47995 LatexCommand bibitem
48001 Documentation of the \SpecialChar LaTeX
48005 \begin_inset CommandInset href
48008 target "https://www.ctan.org/tex-archive/macros/latex/contrib//listings/listings.pdf"
48016 \begin_inset Index idx
48019 \begin_layout Plain Layout
48021 -packages ! listings
48029 \begin_layout Bibliography
48030 \begin_inset CommandInset bibitem
48031 LatexCommand bibitem
48037 Documentation of the \SpecialChar LaTeX
48041 \begin_inset CommandInset href
48044 target "https://www.ctan.org/tex-archive/macros/latex/contrib//minted/minted.pdf"
48052 \begin_inset Index idx
48055 \begin_layout Plain Layout
48065 \begin_layout Bibliography
48066 \begin_inset CommandInset bibitem
48067 LatexCommand bibitem
48073 Documentation of the \SpecialChar LaTeX
48077 \begin_inset CommandInset href
48080 target "https://www.ctan.org/tex-archive/macros/latex/contrib//marginnote/marginnote.pdf"
48088 \begin_inset Index idx
48091 \begin_layout Plain Layout
48093 -packages ! marginnote
48101 \begin_layout Bibliography
48102 \begin_inset CommandInset bibitem
48103 LatexCommand bibitem
48109 Documentation of the \SpecialChar LaTeX
48113 \begin_inset CommandInset href
48116 target "https://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
48124 \begin_inset Index idx
48127 \begin_layout Plain Layout
48129 -packages ! pdfpages
48137 \begin_layout Bibliography
48138 \begin_inset CommandInset bibitem
48139 LatexCommand bibitem
48145 Documentation of the \SpecialChar LaTeX
48149 \begin_inset CommandInset href
48152 target "https://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
48160 \begin_inset Index idx
48163 \begin_layout Plain Layout
48165 -packages ! prettyref
48173 \begin_layout Bibliography
48174 \begin_inset CommandInset bibitem
48175 LatexCommand bibitem
48181 Web page of the \SpecialChar LaTeX
48185 \begin_inset CommandInset href
48188 target "http://tug.org/PSTricks/"
48196 \begin_inset Index idx
48199 \begin_layout Plain Layout
48201 -packages ! PSTricks
48209 \begin_layout Bibliography
48210 \begin_inset CommandInset bibitem
48211 LatexCommand bibitem
48217 Documentation of the \SpecialChar LaTeX
48221 \begin_inset CommandInset href
48224 target "https://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
48232 \begin_inset Index idx
48235 \begin_layout Plain Layout
48237 -packages ! refstyle
48245 \begin_layout Bibliography
48246 \begin_inset CommandInset bibitem
48247 LatexCommand bibitem
48253 Documentation of the \SpecialChar LaTeX
48257 \begin_inset CommandInset href
48260 target "https://www.ctan.org/tex-archive/macros/latex/contrib//sidecap/sidecap.pdf"
48268 \begin_inset Index idx
48271 \begin_layout Plain Layout
48273 -packages ! sidecap
48281 \begin_layout Bibliography
48282 \begin_inset CommandInset bibitem
48283 LatexCommand bibitem
48289 Documentation of the option
48290 \begin_inset CommandInset href
48292 name "Omit text in PDF"
48293 target "https://www.ctan.org/tex-archive/info/svg-inkscape/InkscapePDFLaTeX.pdf"
48301 \begin_inset CommandInset href
48304 target "https://inkscape.org"
48312 \begin_layout Standard
48313 \begin_inset CommandInset index_print
48314 LatexCommand printindex